You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/umi.b6627caa.js

1486 lines
2.8 MiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(function(){var __webpack_modules__={93398:function(d,g,e){"use strict";e.r(g),e.d(g,{blue:function(){return le},blueDark:function(){return Fe},cyan:function(){return ae},cyanDark:function(){return je},geekblue:function(){return q},geekblueDark:function(){return Ft},generate:function(){return C},gold:function(){return K},goldDark:function(){return Q},gray:function(){return ne},green:function(){return oe},greenDark:function(){return Ce},grey:function(){return ue},greyDark:function(){return qt},lime:function(){return G},limeDark:function(){return we},magenta:function(){return Y},magentaDark:function(){return Pt},orange:function(){return U},orangeDark:function(){return M},presetDarkPalettes:function(){return er},presetPalettes:function(){return ee},presetPrimaryColors:function(){return D},purple:function(){return J},purpleDark:function(){return _t},red:function(){return B},redDark:function(){return ie},volcano:function(){return $},volcanoDark:function(){return F},yellow:function(){return V},yellowDark:function(){return de}});var r=e(49618);const i=Math.round;function l(Jt,Xe){const It=Jt.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],zt=It.map(st=>parseFloat(st));for(let st=0;st<3;st+=1)zt[st]=Xe(zt[st]||0,It[st]||"",st);return It[3]?zt[3]=It[3].includes("%")?zt[3]/100:zt[3]:zt[3]=1,zt}const c=(Jt,Xe,It)=>It===0?Jt:Jt/100;function f(Jt,Xe){const It=Xe||255;return Jt>It?It:Jt<0?0:Jt}class s{constructor(Xe){(0,r.Z)(this,"isValid",!0),(0,r.Z)(this,"r",0),(0,r.Z)(this,"g",0),(0,r.Z)(this,"b",0),(0,r.Z)(this,"a",1),(0,r.Z)(this,"_h",void 0),(0,r.Z)(this,"_s",void 0),(0,r.Z)(this,"_l",void 0),(0,r.Z)(this,"_v",void 0),(0,r.Z)(this,"_max",void 0),(0,r.Z)(this,"_min",void 0),(0,r.Z)(this,"_brightness",void 0);function It(zt){return zt[0]in Xe&&zt[1]in Xe&&zt[2]in Xe}if(Xe)if(typeof Xe=="string"){let st=function(bt){return zt.startsWith(bt)};const zt=Xe.trim();/^#?[A-F\d]{3,8}$/i.test(zt)?this.fromHexString(zt):st("rgb")?this.fromRgbString(zt):st("hsl")?this.fromHslString(zt):(st("hsv")||st("hsb"))&&this.fromHsvString(zt)}else if(Xe instanceof s)this.r=Xe.r,this.g=Xe.g,this.b=Xe.b,this.a=Xe.a,this._h=Xe._h,this._s=Xe._s,this._l=Xe._l,this._v=Xe._v;else if(It("rgb"))this.r=f(Xe.r),this.g=f(Xe.g),this.b=f(Xe.b),this.a=typeof Xe.a=="number"?f(Xe.a,1):1;else if(It("hsl"))this.fromHsl(Xe);else if(It("hsv"))this.fromHsv(Xe);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(Xe))}setR(Xe){return this._sc("r",Xe)}setG(Xe){return this._sc("g",Xe)}setB(Xe){return this._sc("b",Xe)}setA(Xe){return this._sc("a",Xe,1)}setHue(Xe){const It=this.toHsv();return It.h=Xe,this._c(It)}getLuminance(){function Xe(bt){const ht=bt/255;return ht<=.03928?ht/12.92:Math.pow((ht+.055)/1.055,2.4)}const It=Xe(this.r),zt=Xe(this.g),st=Xe(this.b);return .2126*It+.7152*zt+.0722*st}getHue(){if(typeof this._h=="undefined"){const Xe=this.getMax()-this.getMin();Xe===0?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/Xe+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/Xe+2:(this.r-this.g)/Xe+4))}return this._h}getSaturation(){if(typeof this._s=="undefined"){const Xe=this.getMax()-this.getMin();Xe===0?this._s=0:this._s=Xe/this.getMax()}return this._s}getLightness(){return typeof this._l=="undefined"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v=="undefined"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness=="undefined"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(Xe=10){const It=this.getHue(),zt=this.getSaturation();let st=this.getLightness()-Xe/100;return st<0&&(st=0),this._c({h:It,s:zt,l:st,a:this.a})}lighten(Xe=10){const It=this.getHue(),zt=this.getSaturation();let st=this.getLightness()+Xe/100;return st>1&&(st=1),this._c({h:It,s:zt,l:st,a:this.a})}mix(Xe,It=50){const zt=this._c(Xe),st=It/100,bt=Je=>(zt[Je]-this[Je])*st+this[Je],ht={r:i(bt("r")),g:i(bt("g")),b:i(bt("b")),a:i(bt("a")*100)/100};return this._c(ht)}tint(Xe=10){return this.mix({r:255,g:255,b:255,a:1},Xe)}shade(Xe=10){return this.mix({r:0,g:0,b:0,a:1},Xe)}onBackground(Xe){const It=this._c(Xe),zt=this.a+It.a*(1-this.a),st=bt=>i((this[bt]*this.a+It[bt]*It.a*(1-this.a))/zt);return this._c({r:st("r"),g:st("g"),b:st("b"),a:zt})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(Xe){return this.r===Xe.r&&this.g===Xe.g&&this.b===Xe.b&&this.a===Xe.a}clone(){return this._c(this)}toHexString(){let Xe="#";const It=(this.r||0).toString(16);Xe+=It.length===2?It:"0"+It;const zt=(this.g||0).toString(16);Xe+=zt.length===2?zt:"0"+zt;const st=(this.b||0).toString(16);if(Xe+=st.length===2?st:"0"+st,typeof this.a=="number"&&this.a>=0&&this.a<1){const bt=i(this.a*255).toString(16);Xe+=bt.length===2?bt:"0"+bt}return Xe}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const Xe=this.getHue(),It=i(this.getSaturation()*100),zt=i(this.getLightness()*100);return this.a!==1?`hsla(${Xe},${It}%,${zt}%,${this.a})`:`hsl(${Xe},${It}%,${zt}%)`}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 this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(Xe,It,zt){const st=this.clone();return st[Xe]=f(It,zt),st}_c(Xe){return new this.constructor(Xe)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(Xe){const It=Xe.replace("#","");function zt(st,bt){return parseInt(It[st]+It[bt||st],16)}It.length<6?(this.r=zt(0),this.g=zt(1),this.b=zt(2),this.a=It[3]?zt(3)/255:1):(this.r=zt(0,1),this.g=zt(2,3),this.b=zt(4,5),this.a=It[6]?zt(6,7)/255:1)}fromHsl({h:Xe,s:It,l:zt,a:st}){if(this._h=Xe%360,this._s=It,this._l=zt,this.a=typeof st=="number"?st:1,It<=0){const $e=i(zt*255);this.r=$e,this.g=$e,this.b=$e}let bt=0,ht=0,Je=0;const Ue=Xe/60,ge=(1-Math.abs(2*zt-1))*It,Ae=ge*(1-Math.abs(Ue%2-1));Ue>=0&&Ue<1?(bt=ge,ht=Ae):Ue>=1&&Ue<2?(bt=Ae,ht=ge):Ue>=2&&Ue<3?(ht=ge,Je=Ae):Ue>=3&&Ue<4?(ht=Ae,Je=ge):Ue>=4&&Ue<5?(bt=Ae,Je=ge):Ue>=5&&Ue<6&&(bt=ge,Je=Ae);const Me=zt-ge/2;this.r=i((bt+Me)*255),this.g=i((ht+Me)*255),this.b=i((Je+Me)*255)}fromHsv({h:Xe,s:It,v:zt,a:st}){this._h=Xe%360,this._s=It,this._v=zt,this.a=typeof st=="number"?st:1;const bt=i(zt*255);if(this.r=bt,this.g=bt,this.b=bt,It<=0)return;const ht=Xe/60,Je=Math.floor(ht),Ue=ht-Je,ge=i(zt*(1-It)*255),Ae=i(zt*(1-It*Ue)*255),Me=i(zt*(1-It*(1-Ue))*255);switch(Je){case 0:this.g=Me,this.b=ge;break;case 1:this.r=Ae,this.b=ge;break;case 2:this.r=ge,this.b=Me;break;case 3:this.r=ge,this.g=Ae;break;case 4:this.r=Me,this.g=ge;break;case 5:default:this.g=ge,this.b=Ae;break}}fromHsvString(Xe){const It=l(Xe,c);this.fromHsv({h:It[0],s:It[1],v:It[2],a:It[3]})}fromHslString(Xe){const It=l(Xe,c);this.fromHsl({h:It[0],s:It[1],l:It[2],a:It[3]})}fromRgbString(Xe){const It=l(Xe,(zt,st)=>st.includes("%")?i(zt/100*255):zt);this.r=It[0],this.g=It[1],this.b=It[2],this.a=It[3]}}var h=2,u=.16,a=.05,x=.05,p=.15,y=5,_=4,b=[{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 S(Jt,Xe,It){var zt;return Math.round(Jt.h)>=60&&Math.round(Jt.h)<=240?zt=It?Math.round(Jt.h)-h*Xe:Math.round(Jt.h)+h*Xe:zt=It?Math.round(Jt.h)+h*Xe:Math.round(Jt.h)-h*Xe,zt<0?zt+=360:zt>=360&&(zt-=360),zt}function R(Jt,Xe,It){if(Jt.h===0&&Jt.s===0)return Jt.s;var zt;return It?zt=Jt.s-u*Xe:Xe===_?zt=Jt.s+u:zt=Jt.s+a*Xe,zt>1&&(zt=1),It&&Xe===y&&zt>.1&&(zt=.1),zt<.06&&(zt=.06),Math.round(zt*100)/100}function L(Jt,Xe,It){var zt;return It?zt=Jt.v+x*Xe:zt=Jt.v-p*Xe,zt=Math.max(0,Math.min(1,zt)),Math.round(zt*100)/100}function C(Jt){for(var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},It=[],zt=new s(Jt),st=zt.toHsv(),bt=y;bt>0;bt-=1){var ht=new s({h:S(st,bt,!0),s:R(st,bt,!0),v:L(st,bt,!0)});It.push(ht)}It.push(zt);for(var Je=1;Je<=_;Je+=1){var Ue=new s({h:S(st,Je),s:R(st,Je),v:L(st,Je)});It.push(Ue)}return Xe.theme==="dark"?b.map(function(ge){var Ae=ge.index,Me=ge.amount;return new s(Xe.backgroundColor||"#141414").mix(It[Ae],Me).toHexString()}):It.map(function(ge){return ge.toHexString()})}var D={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},B=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];B.primary=B[5];var $=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];$.primary=$[5];var U=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];U.primary=U[5];var K=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];K.primary=K[5];var V=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];V.primary=V[5];var G=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];G.primary=G[5];var oe=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];oe.primary=oe[5];var ae=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ae.primary=ae[5];var le=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];le.primary=le[5];var q=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];q.primary=q[5];var J=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];J.primary=J[5];var Y=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];Y.primary=Y[5];var ue=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];ue.primary=ue[5];var ne=ue,ee={red:B,volcano:$,orange:U,gold:K,yellow:V,lime:G,green:oe,cyan:ae,blue:le,geekblue:q,purple:J,magenta:Y,grey:ue},ie=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];ie.primary=ie[5];var F=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];F.primary=F[5];var M=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];M.primary=M[5];var Q=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];Q.primary=Q[5];var de=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];de.primary=de[5];var we=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];we.primary=we[5];var Ce=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Ce.primary=Ce[5];var je=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];je.primary=je[5];var Fe=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];Fe.primary=Fe[5];var Ft=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Ft.primary=Ft[5];var _t=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];_t.primary=_t[5];var Pt=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Pt.primary=Pt[5];var qt=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];qt.primary=qt[5];var er={red:ie,volcano:F,orange:M,gold:Q,yellow:de,lime:we,green:Ce,cyan:je,blue:Fe,geekblue:Ft,purple:_t,magenta:Pt,grey:qt}},93083:function(d,g,e){"use strict";e.r(g),e.d(g,{Keyframes:function(){return fs},NaNLinter:function(){return ja},StyleContext:function(){return ae},StyleProvider:function(){return oe},Theme:function(){return Pt},_experimental:function(){return Fo},createCache:function(){return V},createTheme:function(){return er},extractStyle:function(){return _u},genCalc:function(){return Ce},getComputedToken:function(){return _r},legacyLogicalPropertiesTransformer:function(){return jo},legacyNotSelectorLinter:function(){return _s},logicalPropertiesLinter:function(){return Gs},parentSelectorLinter:function(){return ls},px2remTransformer:function(){return mu},token2CSSVar:function(){return De},unit:function(){return Vt},useCSSVarRegister:function(){return Lo},useCacheToken:function(){return sn},useStyleRegister:function(){return Xa}});var r=e(52487),i=e(49618),l=e(80702),c=e(77321);function f(Qt){for(var cr=0,sr,vr=0,wr=Qt.length;wr>=4;++vr,wr-=4)sr=Qt.charCodeAt(vr)&255|(Qt.charCodeAt(++vr)&255)<<8|(Qt.charCodeAt(++vr)&255)<<16|(Qt.charCodeAt(++vr)&255)<<24,sr=(sr&65535)*1540483477+((sr>>>16)*59797<<16),sr^=sr>>>24,cr=(sr&65535)*1540483477+((sr>>>16)*59797<<16)^(cr&65535)*1540483477+((cr>>>16)*59797<<16);switch(wr){case 3:cr^=(Qt.charCodeAt(vr+2)&255)<<16;case 2:cr^=(Qt.charCodeAt(vr+1)&255)<<8;case 1:cr^=Qt.charCodeAt(vr)&255,cr=(cr&65535)*1540483477+((cr>>>16)*59797<<16)}return cr^=cr>>>13,cr=(cr&65535)*1540483477+((cr>>>16)*59797<<16),((cr^cr>>>15)>>>0).toString(36)}var s=f,h=e(810),u=e(59301),a=e.t(u,2),x=e(74416),p=e(80547),y=e(13697),_=e(96949),b=e(55090),S="%";function R(Qt){return Qt.join(S)}var L=function(){function Qt(cr){(0,_.Z)(this,Qt),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),this.instanceId=cr}return(0,b.Z)(Qt,[{key:"get",value:function(sr){return this.opGet(R(sr))}},{key:"opGet",value:function(sr){return this.cache.get(sr)||null}},{key:"update",value:function(sr,vr){return this.opUpdate(R(sr),vr)}},{key:"opUpdate",value:function(sr,vr){var wr=this.cache.get(sr),xn=vr(wr);xn===null?this.cache.delete(sr):this.cache.set(sr,xn)}}]),Qt}(),C=L,D=["children"],B="data-token-hash",$="data-css-hash",U="data-cache-path",K="__cssinjs_instance__";function V(){var Qt=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var cr=document.body.querySelectorAll("style[".concat($,"]"))||[],sr=document.head.firstChild;Array.from(cr).forEach(function(wr){wr[K]=wr[K]||Qt,wr[K]===Qt&&document.head.insertBefore(wr,sr)});var vr={};Array.from(document.querySelectorAll("style[".concat($,"]"))).forEach(function(wr){var xn=wr.getAttribute($);if(vr[xn]){if(wr[K]===Qt){var Sn;(Sn=wr.parentNode)===null||Sn===void 0||Sn.removeChild(wr)}}else vr[xn]=!0})}return new C(Qt)}var G=u.createContext({hashPriority:"low",cache:V(),defaultCache:!0}),oe=function(cr){var sr=cr.children,vr=(0,x.Z)(cr,D),wr=u.useContext(G),xn=(0,p.Z)(function(){var Sn=(0,c.Z)({},wr);Object.keys(vr).forEach(function(Ln){var Gn=vr[Ln];vr[Ln]!==void 0&&(Sn[Ln]=Gn)});var Un=vr.cache;return Sn.cache=Sn.cache||V(),Sn.defaultCache=!Un&&wr.defaultCache,Sn},[wr,vr],function(Sn,Un){return!(0,y.Z)(Sn[0],Un[0],!0)||!(0,y.Z)(Sn[1],Un[1],!0)});return u.createElement(G.Provider,{value:xn},sr)},ae=G,le=e(62853),q=e(47273),J=e(80237),Y=e(77205),ue=e(38793),ne=(0,b.Z)(function Qt(){(0,_.Z)(this,Qt)}),ee=ne,ie="CALC_UNIT",F=new RegExp(ie,"g");function M(Qt){return typeof Qt=="number"?"".concat(Qt).concat(ie):Qt}var Q=function(Qt){(0,Y.Z)(sr,Qt);var cr=(0,ue.Z)(sr);function sr(vr,wr){var xn;(0,_.Z)(this,sr),xn=cr.call(this),(0,i.Z)((0,J.Z)(xn),"result",""),(0,i.Z)((0,J.Z)(xn),"unitlessCssVar",void 0),(0,i.Z)((0,J.Z)(xn),"lowPriority",void 0);var Sn=(0,le.Z)(vr);return xn.unitlessCssVar=wr,vr instanceof sr?xn.result="(".concat(vr.result,")"):Sn==="number"?xn.result=M(vr):Sn==="string"&&(xn.result=vr),xn}return(0,b.Z)(sr,[{key:"add",value:function(wr){return wr instanceof sr?this.result="".concat(this.result," + ").concat(wr.getResult()):(typeof wr=="number"||typeof wr=="string")&&(this.result="".concat(this.result," + ").concat(M(wr))),this.lowPriority=!0,this}},{key:"sub",value:function(wr){return wr instanceof sr?this.result="".concat(this.result," - ").concat(wr.getResult()):(typeof wr=="number"||typeof wr=="string")&&(this.result="".concat(this.result," - ").concat(M(wr))),this.lowPriority=!0,this}},{key:"mul",value:function(wr){return this.lowPriority&&(this.result="(".concat(this.result,")")),wr instanceof sr?this.result="".concat(this.result," * ").concat(wr.getResult(!0)):(typeof wr=="number"||typeof wr=="string")&&(this.result="".concat(this.result," * ").concat(wr)),this.lowPriority=!1,this}},{key:"div",value:function(wr){return this.lowPriority&&(this.result="(".concat(this.result,")")),wr instanceof sr?this.result="".concat(this.result," / ").concat(wr.getResult(!0)):(typeof wr=="number"||typeof wr=="string")&&(this.result="".concat(this.result," / ").concat(wr)),this.lowPriority=!1,this}},{key:"getResult",value:function(wr){return this.lowPriority||wr?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(wr){var xn=this,Sn=wr||{},Un=Sn.unit,Ln=!0;return typeof Un=="boolean"?Ln=Un:Array.from(this.unitlessCssVar).some(function(Gn){return xn.result.includes(Gn)})&&(Ln=!1),this.result=this.result.replace(F,Ln?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),sr}(ee),de=function(Qt){(0,Y.Z)(sr,Qt);var cr=(0,ue.Z)(sr);function sr(vr){var wr;return(0,_.Z)(this,sr),wr=cr.call(this),(0,i.Z)((0,J.Z)(wr),"result",0),vr instanceof sr?wr.result=vr.result:typeof vr=="number"&&(wr.result=vr),wr}return(0,b.Z)(sr,[{key:"add",value:function(wr){return wr instanceof sr?this.result+=wr.result:typeof wr=="number"&&(this.result+=wr),this}},{key:"sub",value:function(wr){return wr instanceof sr?this.result-=wr.result:typeof wr=="number"&&(this.result-=wr),this}},{key:"mul",value:function(wr){return wr instanceof sr?this.result*=wr.result:typeof wr=="number"&&(this.result*=wr),this}},{key:"div",value:function(wr){return wr instanceof sr?this.result/=wr.result:typeof wr=="number"&&(this.result/=wr),this}},{key:"equal",value:function(){return this.result}}]),sr}(ee),we=function(cr,sr){var vr=cr==="css"?Q:de;return function(wr){return new vr(wr,sr)}},Ce=we;function je(Qt,cr){if(Qt.length!==cr.length)return!1;for(var sr=0;sr<Qt.length;sr++)if(Qt[sr]!==cr[sr])return!1;return!0}var Fe=function(){function Qt(){(0,_.Z)(this,Qt),(0,i.Z)(this,"cache",void 0),(0,i.Z)(this,"keys",void 0),(0,i.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,b.Z)(Qt,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(sr){var vr,wr,xn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Sn={map:this.cache};return sr.forEach(function(Un){if(!Sn)Sn=void 0;else{var Ln;Sn=(Ln=Sn)===null||Ln===void 0||(Ln=Ln.map)===null||Ln===void 0?void 0:Ln.get(Un)}}),(vr=Sn)!==null&&vr!==void 0&&vr.value&&xn&&(Sn.value[1]=this.cacheCallTimes++),(wr=Sn)===null||wr===void 0?void 0:wr.value}},{key:"get",value:function(sr){var vr;return(vr=this.internalGet(sr,!0))===null||vr===void 0?void 0:vr[0]}},{key:"has",value:function(sr){return!!this.internalGet(sr)}},{key:"set",value:function(sr,vr){var wr=this;if(!this.has(sr)){if(this.size()+1>Qt.MAX_CACHE_SIZE+Qt.MAX_CACHE_OFFSET){var xn=this.keys.reduce(function(Gn,ur){var Fr=(0,r.Z)(Gn,2),xr=Fr[1];return wr.internalGet(ur)[1]<xr?[ur,wr.internalGet(ur)[1]]:Gn},[this.keys[0],this.cacheCallTimes]),Sn=(0,r.Z)(xn,1),Un=Sn[0];this.delete(Un)}this.keys.push(sr)}var Ln=this.cache;sr.forEach(function(Gn,ur){if(ur===sr.length-1)Ln.set(Gn,{value:[vr,wr.cacheCallTimes++]});else{var Fr=Ln.get(Gn);Fr?Fr.map||(Fr.map=new Map):Ln.set(Gn,{map:new Map}),Ln=Ln.get(Gn).map}})}},{key:"deleteByPath",value:function(sr,vr){var wr=sr.get(vr[0]);if(vr.length===1){var xn;return wr.map?sr.set(vr[0],{map:wr.map}):sr.delete(vr[0]),(xn=wr.value)===null||xn===void 0?void 0:xn[0]}var Sn=this.deleteByPath(wr.map,vr.slice(1));return(!wr.map||wr.map.size===0)&&!wr.value&&sr.delete(vr[0]),Sn}},{key:"delete",value:function(sr){if(this.has(sr))return this.keys=this.keys.filter(function(vr){return!je(vr,sr)}),this.deleteByPath(this.cache,sr)}}]),Qt}();(0,i.Z)(Fe,"MAX_CACHE_SIZE",20),(0,i.Z)(Fe,"MAX_CACHE_OFFSET",5);var Ft=e(48736),_t=0,Pt=function(){function Qt(cr){(0,_.Z)(this,Qt),(0,i.Z)(this,"derivatives",void 0),(0,i.Z)(this,"id",void 0),this.derivatives=Array.isArray(cr)?cr:[cr],this.id=_t,cr.length===0&&(0,Ft.Kp)(cr.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),_t+=1}return(0,b.Z)(Qt,[{key:"getDerivativeToken",value:function(sr){return this.derivatives.reduce(function(vr,wr){return wr(sr,vr)},void 0)}}]),Qt}(),qt=new Fe;function er(Qt){var cr=Array.isArray(Qt)?Qt:[Qt];return qt.has(cr)||qt.set(cr,new Pt(cr)),qt.get(cr)}var Jt=new WeakMap,Xe={};function It(Qt,cr){for(var sr=Jt,vr=0;vr<cr.length;vr+=1){var wr=cr[vr];sr.has(wr)||sr.set(wr,new WeakMap),sr=sr.get(wr)}return sr.has(Xe)||sr.set(Xe,Qt()),sr.get(Xe)}var zt=new WeakMap;function st(Qt){var cr=zt.get(Qt)||"";return cr||(Object.keys(Qt).forEach(function(sr){var vr=Qt[sr];cr+=sr,vr instanceof Pt?cr+=vr.id:vr&&(0,le.Z)(vr)==="object"?cr+=st(vr):cr+=vr}),cr=s(cr),zt.set(Qt,cr)),cr}function bt(Qt,cr){return s("".concat(cr,"_").concat(st(Qt)))}var ht="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Je="_bAmBoO_";function Ue(Qt,cr,sr){if((0,q.Z)()){var vr,wr;(0,h.hq)(Qt,ht);var xn=document.createElement("div");xn.style.position="fixed",xn.style.left="0",xn.style.top="0",cr==null||cr(xn),document.body.appendChild(xn);var Sn=sr?sr(xn):(vr=getComputedStyle(xn).content)===null||vr===void 0?void 0:vr.includes(Je);return(wr=xn.parentNode)===null||wr===void 0||wr.removeChild(xn),(0,h.jL)(ht),Sn}return!1}var ge=null;function Ae(){return ge===void 0&&(ge=Ue("@layer ".concat(ht," { .").concat(ht,' { content: "').concat(Je,'"!important; } }'),function(Qt){Qt.className=ht})),ge}var Me=void 0;function $e(){return Me===void 0&&(Me=Ue(":where(.".concat(ht,') { content: "').concat(Je,'"!important; }'),function(Qt){Qt.className=ht})),Me}var He=void 0;function nt(){return He===void 0&&(He=Ue(".".concat(ht," { inset-block: 93px !important; }"),function(Qt){Qt.className=ht},function(Qt){return getComputedStyle(Qt).bottom==="93px"})),He}var ct=(0,q.Z)();function Vt(Qt){return typeof Qt=="number"?"".concat(Qt,"px"):Qt}function Wt(Qt,cr,sr){var vr,wr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},xn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(xn)return Qt;var Sn=(0,c.Z)((0,c.Z)({},wr),{},(vr={},(0,i.Z)(vr,B,cr),(0,i.Z)(vr,$,sr),vr)),Un=Object.keys(Sn).map(function(Ln){var Gn=Sn[Ln];return Gn?"".concat(Ln,'="').concat(Gn,'"'):null}).filter(function(Ln){return Ln}).join(" ");return"<style ".concat(Un,">").concat(Qt,"</style>")}var De=function(cr){var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(sr?"".concat(sr,"-"):"").concat(cr).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()},qe=function(cr,sr,vr){return Object.keys(cr).length?".".concat(sr).concat(vr!=null&&vr.scope?".".concat(vr.scope):"","{").concat(Object.entries(cr).map(function(wr){var xn=(0,r.Z)(wr,2),Sn=xn[0],Un=xn[1];return"".concat(Sn,":").concat(Un,";")}).join(""),"}"):""},Gt=function(cr,sr,vr){var wr={},xn={};return Object.entries(cr).forEach(function(Sn){var Un,Ln,Gn=(0,r.Z)(Sn,2),ur=Gn[0],Fr=Gn[1];if(vr!=null&&(Un=vr.preserve)!==null&&Un!==void 0&&Un[ur])xn[ur]=Fr;else if((typeof Fr=="string"||typeof Fr=="number")&&!(vr!=null&&(Ln=vr.ignore)!==null&&Ln!==void 0&&Ln[ur])){var xr,mn=De(ur,vr==null?void 0:vr.prefix);wr[mn]=typeof Fr=="number"&&!(vr!=null&&(xr=vr.unitless)!==null&&xr!==void 0&&xr[ur])?"".concat(Fr,"px"):String(Fr),xn[ur]="var(".concat(mn,")")}}),[xn,qe(wr,sr,{scope:vr==null?void 0:vr.scope})]},kt=e(34280),Ht=(0,c.Z)({},a),$t=Ht.useInsertionEffect,Ct=function(cr,sr,vr){u.useMemo(cr,vr),(0,kt.Z)(function(){return sr(!0)},vr)},Yt=$t?function(Qt,cr,sr){return $t(function(){return Qt(),cr()},sr)}:Ct,We=Yt,fe=(0,c.Z)({},a),_e=fe.useInsertionEffect,Ot=function(cr){var sr=[],vr=!1;function wr(xn){vr||sr.push(xn)}return u.useEffect(function(){return vr=!1,function(){vr=!0,sr.length&&sr.forEach(function(xn){return xn()})}},cr),wr},Pe=function(){return function(cr){cr()}},dt=typeof _e!="undefined"?Ot:Pe,Zt=dt;function Tt(){return!1}var ke=!1;function St(){return ke}var be=Tt;if(0)var Ke,gt;function Rt(Qt,cr,sr,vr,wr){var xn=u.useContext(ae),Sn=xn.cache,Un=[Qt].concat((0,l.Z)(cr)),Ln=R(Un),Gn=Zt([Ln]),ur=be(),Fr=function(ft){Sn.opUpdate(Ln,function(Pn){var Vn=Pn||[void 0,void 0],li=(0,r.Z)(Vn,2),Qi=li[0],Nr=Qi===void 0?0:Qi,Li=li[1],ba=Li,zr=ba||sr(),na=[Nr,zr];return ft?ft(na):na})};u.useMemo(function(){Fr()},[Ln]);var xr=Sn.opGet(Ln),mn=xr[1];return We(function(){wr==null||wr(mn)},function(Hn){return Fr(function(ft){var Pn=(0,r.Z)(ft,2),Vn=Pn[0],li=Pn[1];return Hn&&Vn===0&&(wr==null||wr(mn)),[Vn+1,li]}),function(){Sn.opUpdate(Ln,function(ft){var Pn=ft||[],Vn=(0,r.Z)(Pn,2),li=Vn[0],Qi=li===void 0?0:li,Nr=Vn[1],Li=Qi-1;return Li===0?(Gn(function(){(Hn||!Sn.opGet(Ln))&&(vr==null||vr(Nr,!1))}),null):[Qi-1,Nr]})}},[Ln]),mn}var Be={},kr="css",At=new Map;function Kr(Qt){At.set(Qt,(At.get(Qt)||0)+1)}function qr(Qt,cr){if(typeof document!="undefined"){var sr=document.querySelectorAll("style[".concat(B,'="').concat(Qt,'"]'));sr.forEach(function(vr){if(vr[K]===cr){var wr;(wr=vr.parentNode)===null||wr===void 0||wr.removeChild(vr)}})}}var Ar=0;function Br(Qt,cr){At.set(Qt,(At.get(Qt)||0)-1);var sr=Array.from(At.keys()),vr=sr.filter(function(wr){var xn=At.get(wr)||0;return xn<=0});sr.length-vr.length>Ar&&vr.forEach(function(wr){qr(wr,cr),At.delete(wr)})}var _r=function(cr,sr,vr,wr){var xn=vr.getDerivativeToken(cr),Sn=(0,c.Z)((0,c.Z)({},xn),sr);return wr&&(Sn=wr(Sn)),Sn},Ur="token";function sn(Qt,cr){var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},vr=(0,u.useContext)(ae),wr=vr.cache.instanceId,xn=vr.container,Sn=sr.salt,Un=Sn===void 0?"":Sn,Ln=sr.override,Gn=Ln===void 0?Be:Ln,ur=sr.formatToken,Fr=sr.getComputedToken,xr=sr.cssVar,mn=It(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(cr)))},cr),Hn=st(mn),ft=st(Gn),Pn=xr?st(xr):"",Vn=Rt(Ur,[Un,Qt.id,Hn,ft,Pn],function(){var li,Qi=Fr?Fr(mn,Gn,Qt):_r(mn,Gn,Qt,ur),Nr=(0,c.Z)({},Qi),Li="";if(xr){var ba=Gt(Qi,xr.key,{prefix:xr.prefix,ignore:xr.ignore,unitless:xr.unitless,preserve:xr.preserve}),zr=(0,r.Z)(ba,2);Qi=zr[0],Li=zr[1]}var na=bt(Qi,Un);Qi._tokenKey=na,Nr._tokenKey=bt(Nr,Un);var Ss=(li=xr==null?void 0:xr.key)!==null&&li!==void 0?li:na;Qi._themeKey=Ss,Kr(Ss);var ci="".concat(kr,"-").concat(s(na));return Qi._hashId=ci,[Qi,ci,Nr,Li,(xr==null?void 0:xr.key)||""]},function(li){Br(li[0]._themeKey,wr)},function(li){var Qi=(0,r.Z)(li,4),Nr=Qi[0],Li=Qi[3];if(xr&&Li){var ba=(0,h.hq)(Li,s("css-variables-".concat(Nr._themeKey)),{mark:$,prepend:"queue",attachTo:xn,priority:-999});ba[K]=wr,ba.setAttribute(B,Nr._themeKey)}});return Vn}var cn=function(cr,sr,vr){var wr=(0,r.Z)(cr,5),xn=wr[2],Sn=wr[3],Un=wr[4],Ln=vr||{},Gn=Ln.plain;if(!Sn)return null;var ur=xn._tokenKey,Fr=-999,xr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Fr)},mn=Wt(Sn,Un,ur,xr,Gn);return[Fr,ur,mn]},or=e(72308),Lt={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},vt=Lt,yt="-ms-",jt="-moz-",Cr="-webkit-",gr="comm",ot="rule",Mr="decl",yn="@page",Zn="@media",mr="@import",tn="@charset",hn="@viewport",Fn="@supports",ti="@document",jn="@namespace",Zi="@keyframes",xi="@font-face",Si="@counter-style",Ei="@font-feature-values",mi="@layer",Xi="@scope",qn=Math.abs,Yi=String.fromCharCode,wt=Object.assign;function ut(Qt,cr){return vi(Qt,0)^45?(((cr<<2^vi(Qt,0))<<2^vi(Qt,1))<<2^vi(Qt,2))<<2^vi(Qt,3):0}function Jn(Qt){return Qt.trim()}function Ai(Qt,cr){return(Qt=cr.exec(Qt))?Qt[0]:Qt}function ei(Qt,cr,sr){return Qt.replace(cr,sr)}function Gi(Qt,cr,sr){return Qt.indexOf(cr,sr)}function vi(Qt,cr){return Qt.charCodeAt(cr)|0}function si(Qt,cr,sr){return Qt.slice(cr,sr)}function En(Qt){return Qt.length}function tr(Qt){return Qt.length}function mt(Qt,cr){return cr.push(Qt),Qt}function rt(Qt,cr){return Qt.map(cr).join("")}function Dt(Qt,cr){return Qt.filter(function(sr){return!Ai(sr,cr)})}function pt(Qt,cr){for(var sr="",vr=0;vr<Qt.length;vr++)sr+=cr(Qt[vr],vr,Qt,cr)||"";return sr}function lr(Qt,cr,sr,vr){switch(Qt.type){case mi:if(Qt.children.length)break;case mr:case jn:case Mr:return Qt.return=Qt.return||Qt.value;case gr:return"";case Zi:return Qt.return=Qt.value+"{"+pt(Qt.children,vr)+"}";case ot:if(!En(Qt.value=Qt.props.join(",")))return""}return En(sr=pt(Qt.children,vr))?Qt.return=Qt.value+"{"+sr+"}":""}var fr=1,Ir=1,Hr=0,Ze=0,et=0,Ee="";function it(Qt,cr,sr,vr,wr,xn,Sn,Un){return{value:Qt,root:cr,parent:sr,type:vr,props:wr,children:xn,line:fr,column:Ir,length:Sn,return:"",siblings:Un}}function ir(Qt,cr){return assign(it("",null,null,"",null,null,0,Qt.siblings),Qt,{length:-Qt.length},cr)}function Dr(Qt){for(;Qt.root;)Qt=ir(Qt.root,{children:[Qt]});append(Qt,Qt.siblings)}function Er(){return et}function Or(){return et=Ze>0?vi(Ee,--Ze):0,Ir--,et===10&&(Ir=1,fr--),et}function $r(){return et=Ze<Hr?vi(Ee,Ze++):0,Ir++,et===10&&(Ir=1,fr++),et}function bn(){return vi(Ee,Ze)}function Pr(){return Ze}function un(Qt,cr){return si(Ee,Qt,cr)}function rn(Qt){switch(Qt){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 ln(Qt){return fr=Ir=1,Hr=En(Ee=Qt),Ze=0,[]}function An(Qt){return Ee="",Qt}function pa(Qt){return Jn(un(Ze-1,Ni(Qt===91?Qt+2:Qt===40?Qt+1:Qt)))}function Pi(Qt){return An(pn(ln(Qt)))}function gi(Qt){for(;(et=bn())&&et<33;)$r();return rn(Qt)>2||rn(et)>3?"":" "}function pn(Qt){for(;$r();)switch(rn(et)){case 0:append(xs(Ze-1),Qt);break;case 2:append(pa(et),Qt);break;default:append(from(et),Qt)}return Qt}function ui(Qt,cr){for(;--cr&&$r()&&!(et<48||et>102||et>57&&et<65||et>70&&et<97););return un(Qt,Pr()+(cr<6&&bn()==32&&$r()==32))}function Ni(Qt){for(;$r();)switch(et){case Qt:return Ze;case 34:case 39:Qt!==34&&Qt!==39&&Ni(et);break;case 40:Qt===41&&Ni(Qt);break;case 92:$r();break}return Ze}function la(Qt,cr){for(;$r()&&Qt+et!==57;)if(Qt+et===84&&bn()===47)break;return"/*"+un(cr,Ze-1)+"*"+Yi(Qt===47?Qt:$r())}function xs(Qt){for(;!rn(bn());)$r();return un(Qt,Ze)}function Pa(Qt){return An(Na("",null,null,null,[""],Qt=ln(Qt),0,[0],Qt))}function Na(Qt,cr,sr,vr,wr,xn,Sn,Un,Ln){for(var Gn=0,ur=0,Fr=Sn,xr=0,mn=0,Hn=0,ft=1,Pn=1,Vn=1,li=0,Qi="",Nr=wr,Li=xn,ba=vr,zr=Qi;Pn;)switch(Hn=li,li=$r()){case 40:if(Hn!=108&&vi(zr,Fr-1)==58){Gi(zr+=ei(pa(li),"&","&\f"),"&\f",qn(Gn?Un[Gn-1]:0))!=-1&&(Vn=-1);break}case 34:case 39:case 91:zr+=pa(li);break;case 9:case 10:case 13:case 32:zr+=gi(Hn);break;case 92:zr+=ui(Pr()-1,7);continue;case 47:switch(bn()){case 42:case 47:mt($a(la($r(),Pr()),cr,sr,Ln),Ln),(rn(Hn||1)==5||rn(bn()||1)==5)&&En(zr)&&si(zr,-1,void 0)!==" "&&(zr+=" ");break;default:zr+="/"}break;case 123*ft:Un[Gn++]=En(zr)*Vn;case 125*ft:case 59:case 0:switch(li){case 0:case 125:Pn=0;case 59+ur:Vn==-1&&(zr=ei(zr,/\f/g,"")),mn>0&&(En(zr)-Fr||ft===0&&Hn===47)&&mt(mn>32?hs(zr+";",vr,sr,Fr-1,Ln):hs(ei(zr," ","")+";",vr,sr,Fr-2,Ln),Ln);break;case 59:zr+=";";default:if(mt(ba=Is(zr,cr,sr,Gn,ur,wr,Un,Qi,Nr=[],Li=[],Fr,xn),xn),li===123)if(ur===0)Na(zr,cr,ba,ba,Nr,xn,Fr,Un,Li);else{switch(xr){case 99:if(vi(zr,3)===110)break;case 108:if(vi(zr,2)===97)break;default:ur=0;case 100:case 109:case 115:}ur?Na(Qt,ba,ba,vr&&mt(Is(Qt,ba,ba,0,0,wr,Un,Qi,wr,Nr=[],Fr,Li),Li),wr,Li,Fr,Un,vr?Nr:Li):Na(zr,ba,ba,ba,[""],Li,0,Un,Li)}}Gn=ur=mn=0,ft=Vn=1,Qi=zr="",Fr=Sn;break;case 58:Fr=1+En(zr),mn=Hn;default:if(ft<1){if(li==123)--ft;else if(li==125&&ft++==0&&Or()==125)continue}switch(zr+=Yi(li),li*ft){case 38:Vn=ur>0?1:(zr+="\f",-1);break;case 44:Un[Gn++]=(En(zr)-1)*Vn,Vn=1;break;case 64:bn()===45&&(zr+=pa($r())),xr=bn(),ur=Fr=En(Qi=zr+=xs(Pr())),li++;break;case 45:Hn===45&&En(zr)==2&&(ft=0)}}return xn}function Is(Qt,cr,sr,vr,wr,xn,Sn,Un,Ln,Gn,ur,Fr){for(var xr=wr-1,mn=wr===0?xn:[""],Hn=tr(mn),ft=0,Pn=0,Vn=0;ft<vr;++ft)for(var li=0,Qi=si(Qt,xr+1,xr=qn(Pn=Sn[ft])),Nr=Qt;li<Hn;++li)(Nr=Jn(Pn>0?mn[li]+" "+Qi:ei(Qi,/&\f/g,mn[li])))&&(Ln[Vn++]=Nr);return it(Qt,cr,sr,wr===0?ot:Un,Ln,Gn,ur,Fr)}function $a(Qt,cr,sr,vr){return it(Qt,cr,sr,gr,Yi(Er()),si(Qt,2,-2),0,vr)}function hs(Qt,cr,sr,vr,wr){return it(Qt,cr,sr,Mr,si(Qt,0,vr),si(Qt,vr+1,-1),vr,wr)}function oa(Qt,cr){var sr=cr.path,vr=cr.parentSelectors;(0,Ft.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(sr?"Error in ".concat(sr,": "):"").concat(Qt).concat(vr.length?" Selector: ".concat(vr.join(" | ")):""))}var yi=function(cr,sr,vr){if(cr==="content"){var wr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,xn=["normal","none","initial","inherit","unset"];(typeof sr!="string"||xn.indexOf(sr)===-1&&!wr.test(sr)&&(sr.charAt(0)!==sr.charAt(sr.length-1)||sr.charAt(0)!=='"'&&sr.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(sr,"\"'`."),vr)}},Ga=null,Ds=function(cr,sr,vr){cr==="animation"&&vr.hashId&&sr!=="none"&&lintWarning("You seem to be using hashed animation '".concat(sr,"', in which case 'animationName' with Keyframe as value is recommended."),vr)},$i=null;function ps(Qt){var cr,sr=((cr=Qt.match(/:not\(([^)]*)\)/))===null||cr===void 0?void 0:cr[1])||"",vr=sr.split(/(\[[^[]*])|(?=[.#])/).filter(function(wr){return wr});return vr.length>1}function Co(Qt){return Qt.parentSelectors.reduce(function(cr,sr){return cr?sr.includes("&")?sr.replace(/&/g,cr):"".concat(cr," ").concat(sr):sr},"")}var La=function(cr,sr,vr){var wr=Co(vr),xn=wr.match(/:not\([^)]*\)/g)||[];xn.length>0&&xn.some(ps)&&oa("Concat ':not' selector not support in legacy browsers.",vr)},_s=La,ji=function(cr,sr,vr){switch(cr){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":oa("You seem to be using non-logical property '".concat(cr,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof sr=="string"){var wr=sr.split(" ").map(function(Un){return Un.trim()});wr.length===4&&wr[1]!==wr[3]&&oa("You seem to be using '".concat(cr,"' property with different left ").concat(cr," and right ").concat(cr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr)}return;case"clear":case"textAlign":(sr==="left"||sr==="right")&&oa("You seem to be using non-logical value '".concat(sr,"' of ").concat(cr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr);return;case"borderRadius":if(typeof sr=="string"){var xn=sr.split("/").map(function(Un){return Un.trim()}),Sn=xn.reduce(function(Un,Ln){if(Un)return Un;var Gn=Ln.split(" ").map(function(ur){return ur.trim()});return Gn.length>=2&&Gn[0]!==Gn[1]||Gn.length===3&&Gn[1]!==Gn[2]||Gn.length===4&&Gn[2]!==Gn[3]?!0:Un},!1);Sn&&oa("You seem to be using non-logical value '".concat(sr,"' of ").concat(cr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr)}return;default:}},Gs=ji,Rn=function(cr,sr,vr){(typeof sr=="string"&&/NaN/g.test(sr)||Number.isNaN(sr))&&oa("Unexpected 'NaN' in property '".concat(cr,": ").concat(sr,"'."),vr)},ja=Rn,ns=function(cr,sr,vr){vr.parentSelectors.some(function(wr){var xn=wr.split(",");return xn.some(function(Sn){return Sn.split("&").length>2})})&&oa("Should not use more than one `&` in a selector.",vr)},ls=ns,Vi="data-ant-cssinjs-cache-path",Ia="_FILE_STYLE__";function Da(Qt){return Object.keys(Qt).map(function(cr){var sr=Qt[cr];return"".concat(cr,":").concat(sr)}).join(";")}var ms,Bs=!0;function _o(Qt){var cr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;ms=Qt,Bs=cr}function To(){if(!ms&&(ms={},(0,q.Z)())){var Qt=document.createElement("div");Qt.className=Vi,Qt.style.position="fixed",Qt.style.visibility="hidden",Qt.style.top="-9999px",document.body.appendChild(Qt);var cr=getComputedStyle(Qt).content||"";cr=cr.replace(/^"/,"").replace(/"$/,""),cr.split(";").forEach(function(wr){var xn=wr.split(":"),Sn=(0,r.Z)(xn,2),Un=Sn[0],Ln=Sn[1];ms[Un]=Ln});var sr=document.querySelector("style[".concat(Vi,"]"));if(sr){var vr;Bs=!1,(vr=sr.parentNode)===null||vr===void 0||vr.removeChild(sr)}document.body.removeChild(Qt)}}function Vo(Qt){return To(),!!ms[Qt]}function uo(Qt){var cr=ms[Qt],sr=null;if(cr&&(0,q.Z)())if(Bs)sr=Ia;else{var vr=document.querySelector("style[".concat($,'="').concat(ms[Qt],'"]'));vr?sr=vr.innerHTML:delete ms[Qt]}return[sr,cr]}var ca="_skip_check_",cs="_multi_value_";function mo(Qt){var cr=pt(Pa(Qt),lr);return cr.replace(/\{%%%\:[^;];}/g,";")}function vo(Qt){return(0,le.Z)(Qt)==="object"&&Qt&&(ca in Qt||cs in Qt)}function go(Qt,cr,sr){if(!cr)return Qt;var vr=".".concat(cr),wr=sr==="low"?":where(".concat(vr,")"):vr,xn=Qt.split(",").map(function(Sn){var Un,Ln=Sn.trim().split(/\s+/),Gn=Ln[0]||"",ur=((Un=Gn.match(/^\w+/))===null||Un===void 0?void 0:Un[0])||"";return Gn="".concat(ur).concat(wr).concat(Gn.slice(ur.length)),[Gn].concat((0,l.Z)(Ln.slice(1))).join(" ")});return xn.join(",")}var hi=function Qt(cr){var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},vr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},wr=vr.root,xn=vr.injectHash,Sn=vr.parentSelectors,Un=sr.hashId,Ln=sr.layer,Gn=sr.path,ur=sr.hashPriority,Fr=sr.transformers,xr=Fr===void 0?[]:Fr,mn=sr.linters,Hn=mn===void 0?[]:mn,ft="",Pn={};function Vn(Nr){var Li=Nr.getName(Un);if(!Pn[Li]){var ba=Qt(Nr.style,sr,{root:!1,parentSelectors:Sn}),zr=(0,r.Z)(ba,1),na=zr[0];Pn[Li]="@keyframes ".concat(Nr.getName(Un)).concat(na)}}function li(Nr){var Li=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Nr.forEach(function(ba){Array.isArray(ba)?li(ba,Li):ba&&Li.push(ba)}),Li}var Qi=li(Array.isArray(cr)?cr:[cr]);return Qi.forEach(function(Nr){var Li=typeof Nr=="string"&&!wr?{}:Nr;if(typeof Li=="string")ft+="".concat(Li,`
`);else if(Li._keyframe)Vn(Li);else{var ba=xr.reduce(function(zr,na){var Ss;return(na==null||(Ss=na.visit)===null||Ss===void 0?void 0:Ss.call(na,zr))||zr},Li);Object.keys(ba).forEach(function(zr){var na=ba[zr];if((0,le.Z)(na)==="object"&&na&&(zr!=="animationName"||!na._keyframe)&&!vo(na)){var Ss=!1,ci=zr.trim(),Vs=!1;(wr||xn)&&Un?ci.startsWith("@")?Ss=!0:ci==="&"?ci=go("",Un,ur):ci=go(zr,Un,ur):wr&&!Un&&(ci==="&"||ci==="")&&(ci="",Vs=!0);var xo=Qt(na,sr,{root:Vs,injectHash:Ss,parentSelectors:[].concat((0,l.Z)(Sn),[ci])}),Os=(0,r.Z)(xo,2),xa=Os[0],ds=Os[1];Pn=(0,c.Z)((0,c.Z)({},Pn),ds),ft+="".concat(ci).concat(xa)}else{let gs=function(Ns,Ye){var Qe=Ns.replace(/[A-Z]/g,function(Kt){return"-".concat(Kt.toLowerCase())}),Mt=Ye;!vt[Ns]&&typeof Mt=="number"&&Mt!==0&&(Mt="".concat(Mt,"px")),Ns==="animationName"&&Ye!==null&&Ye!==void 0&&Ye._keyframe&&(Vn(Ye),Mt=Ye.getName(Un)),ft+="".concat(Qe,":").concat(Mt,";")};var ks,In=(ks=na==null?void 0:na.value)!==null&&ks!==void 0?ks:na;(0,le.Z)(na)==="object"&&na!==null&&na!==void 0&&na[cs]&&Array.isArray(In)?In.forEach(function(Ns){gs(zr,Ns)}):gs(zr,In)}})}}),wr?Ln&&(ft&&(ft="@layer ".concat(Ln.name," {").concat(ft,"}")),Ln.dependencies&&(Pn["@layer ".concat(Ln.name)]=Ln.dependencies.map(function(Nr){return"@layer ".concat(Nr,", ").concat(Ln.name,";")}).join(`
`))):ft="{".concat(ft,"}"),[ft,Pn]};function oi(Qt,cr){return s("".concat(Qt.join("%")).concat(cr))}function Fa(){return null}var Va="style";function Xa(Qt,cr){var sr=Qt.token,vr=Qt.path,wr=Qt.hashId,xn=Qt.layer,Sn=Qt.nonce,Un=Qt.clientOnly,Ln=Qt.order,Gn=Ln===void 0?0:Ln,ur=u.useContext(ae),Fr=ur.autoClear,xr=ur.mock,mn=ur.defaultCache,Hn=ur.hashPriority,ft=ur.container,Pn=ur.ssrInline,Vn=ur.transformers,li=ur.linters,Qi=ur.cache,Nr=ur.layer,Li=sr._tokenKey,ba=[Li];Nr&&ba.push("layer"),ba.push.apply(ba,(0,l.Z)(vr));var zr=ct,na=Rt(Va,ba,function(){var Os=ba.join("|");if(Vo(Os)){var xa=uo(Os),ds=(0,r.Z)(xa,2),ks=ds[0],In=ds[1];if(ks)return[ks,Li,In,{},Un,Gn]}var gs=cr(),Ns=hi(gs,{hashId:wr,hashPriority:Hn,layer:Nr?xn:void 0,path:vr.join("-"),transformers:Vn,linters:li}),Ye=(0,r.Z)(Ns,2),Qe=Ye[0],Mt=Ye[1],Kt=mo(Qe),hr=oi(ba,Kt);return[Kt,Li,hr,Mt,Un,Gn]},function(Os,xa){var ds=(0,r.Z)(Os,3),ks=ds[2];(xa||Fr)&&ct&&(0,h.jL)(ks,{mark:$})},function(Os){var xa=(0,r.Z)(Os,4),ds=xa[0],ks=xa[1],In=xa[2],gs=xa[3];if(zr&&ds!==Ia){var Ns={mark:$,prepend:Nr?!1:"queue",attachTo:ft,priority:Gn},Ye=typeof Sn=="function"?Sn():Sn;Ye&&(Ns.csp={nonce:Ye});var Qe=[],Mt=[];Object.keys(gs).forEach(function(hr){hr.startsWith("@layer")?Qe.push(hr):Mt.push(hr)}),Qe.forEach(function(hr){(0,h.hq)(mo(gs[hr]),"_layer-".concat(hr),(0,c.Z)((0,c.Z)({},Ns),{},{prepend:!0}))});var Kt=(0,h.hq)(ds,In,Ns);Kt[K]=Qi.instanceId,Kt.setAttribute(B,Li),Mt.forEach(function(hr){(0,h.hq)(mo(gs[hr]),"_effect-".concat(hr),Ns)})}}),Ss=(0,r.Z)(na,3),ci=Ss[0],Vs=Ss[1],xo=Ss[2];return function(Os){var xa;if(!Pn||zr||!mn)xa=u.createElement(Fa,null);else{var ds;xa=u.createElement("style",(0,or.Z)({},(ds={},(0,i.Z)(ds,B,Vs),(0,i.Z)(ds,$,xo),ds),{dangerouslySetInnerHTML:{__html:ci}}))}return u.createElement(u.Fragment,null,xa,Os)}}var lo=function(cr,sr,vr){var wr=(0,r.Z)(cr,6),xn=wr[0],Sn=wr[1],Un=wr[2],Ln=wr[3],Gn=wr[4],ur=wr[5],Fr=vr||{},xr=Fr.plain;if(Gn)return null;var mn=xn,Hn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(ur)};return mn=Wt(xn,Sn,Un,Hn,xr),Ln&&Object.keys(Ln).forEach(function(ft){if(!sr[ft]){sr[ft]=!0;var Pn=mo(Ln[ft]),Vn=Wt(Pn,Sn,"_effect-".concat(ft),Hn,xr);ft.startsWith("@layer")?mn=Vn+mn:mn+=Vn}}),[ur,Un,mn]},co="cssVar",Po=function(cr,sr){var vr=cr.key,wr=cr.prefix,xn=cr.unitless,Sn=cr.ignore,Un=cr.token,Ln=cr.scope,Gn=Ln===void 0?"":Ln,ur=(0,u.useContext)(ae),Fr=ur.cache.instanceId,xr=ur.container,mn=Un._tokenKey,Hn=[].concat((0,l.Z)(cr.path),[vr,Gn,mn]),ft=Rt(co,Hn,function(){var Pn=sr(),Vn=Gt(Pn,vr,{prefix:wr,unitless:xn,ignore:Sn,scope:Gn}),li=(0,r.Z)(Vn,2),Qi=li[0],Nr=li[1],Li=oi(Hn,Nr);return[Qi,Nr,Li,vr]},function(Pn){var Vn=(0,r.Z)(Pn,3),li=Vn[2];ct&&(0,h.jL)(li,{mark:$})},function(Pn){var Vn=(0,r.Z)(Pn,3),li=Vn[1],Qi=Vn[2];if(li){var Nr=(0,h.hq)(li,Qi,{mark:$,prepend:"queue",attachTo:xr,priority:-999});Nr[K]=Fr,Nr.setAttribute(B,vr)}});return ft},Qa=function(cr,sr,vr){var wr=(0,r.Z)(cr,4),xn=wr[1],Sn=wr[2],Un=wr[3],Ln=vr||{},Gn=Ln.plain;if(!xn)return null;var ur=-999,Fr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(ur)},xr=Wt(xn,Un,Sn,Fr,Gn);return[ur,Sn,xr]},Lo=Po,yo,Ko=(yo={},(0,i.Z)(yo,Va,lo),(0,i.Z)(yo,Ur,cn),(0,i.Z)(yo,co,Qa),yo);function Tu(Qt){return Qt!==null}function _u(Qt,cr){var sr=typeof cr=="boolean"?{plain:cr}:cr||{},vr=sr.plain,wr=vr===void 0?!1:vr,xn=sr.types,Sn=xn===void 0?["style","token","cssVar"]:xn,Un=new RegExp("^(".concat((typeof Sn=="string"?[Sn]:Sn).join("|"),")%")),Ln=Array.from(Qt.cache.keys()).filter(function(xr){return Un.test(xr)}),Gn={},ur={},Fr="";return Ln.map(function(xr){var mn=xr.replace(Un,"").replace(/%/g,"|"),Hn=xr.split("%"),ft=(0,r.Z)(Hn,1),Pn=ft[0],Vn=Ko[Pn],li=Vn(Qt.cache.get(xr)[1],Gn,{plain:wr});if(!li)return null;var Qi=(0,r.Z)(li,3),Nr=Qi[0],Li=Qi[1],ba=Qi[2];return xr.startsWith("style")&&(ur[mn]=Li),[Nr,ba]}).filter(Tu).sort(function(xr,mn){var Hn=(0,r.Z)(xr,1),ft=Hn[0],Pn=(0,r.Z)(mn,1),Vn=Pn[0];return ft-Vn}).forEach(function(xr){var mn=(0,r.Z)(xr,2),Hn=mn[1];Fr+=Hn}),Fr+=Wt(".".concat(Vi,'{content:"').concat(Da(ur),'";}'),void 0,void 0,(0,i.Z)({},Vi,Vi),wr),Fr}var fo=function(){function Qt(cr,sr){(0,_.Z)(this,Qt),(0,i.Z)(this,"name",void 0),(0,i.Z)(this,"style",void 0),(0,i.Z)(this,"_keyframe",!0),this.name=cr,this.style=sr}return(0,b.Z)(Qt,[{key:"getName",value:function(){var sr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return sr?"".concat(sr,"-").concat(this.name):this.name}}]),Qt}(),fs=fo;function zu(Qt){if(typeof Qt=="number")return[[Qt],!1];var cr=String(Qt).trim(),sr=cr.match(/(.*)(!important)/),vr=(sr?sr[1]:cr).trim().split(/\s+/),wr=[],xn=0;return[vr.reduce(function(Sn,Un){if(Un.includes("(")||Un.includes(")")){var Ln=Un.split("(").length-1,Gn=Un.split(")").length-1;xn+=Ln-Gn}return xn>=0&&wr.push(Un),xn===0&&(Sn.push(wr.join(" ")),wr=[]),Sn},[]),!!sr]}function Mo(Qt){return Qt.notSplit=!0,Qt}var Io={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Mo(["borderTop","borderBottom"]),borderBlockStart:Mo(["borderTop"]),borderBlockEnd:Mo(["borderBottom"]),borderInline:Mo(["borderLeft","borderRight"]),borderInlineStart:Mo(["borderLeft"]),borderInlineEnd:Mo(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function Us(Qt,cr){var sr=Qt;return cr&&(sr="".concat(sr," !important")),{_skip_check_:!0,value:sr}}var ou={visit:function(cr){var sr={};return Object.keys(cr).forEach(function(vr){var wr=cr[vr],xn=Io[vr];if(xn&&(typeof wr=="number"||typeof wr=="string")){var Sn=zu(wr),Un=(0,r.Z)(Sn,2),Ln=Un[0],Gn=Un[1];xn.length&&xn.notSplit?xn.forEach(function(ur){sr[ur]=Us(wr,Gn)}):xn.length===1?sr[xn[0]]=Us(Ln[0],Gn):xn.length===2?xn.forEach(function(ur,Fr){var xr;sr[ur]=Us((xr=Ln[Fr])!==null&&xr!==void 0?xr:Ln[0],Gn)}):xn.length===4?xn.forEach(function(ur,Fr){var xr,mn;sr[ur]=Us((xr=(mn=Ln[Fr])!==null&&mn!==void 0?mn:Ln[Fr-2])!==null&&xr!==void 0?xr:Ln[0],Gn)}):sr[vr]=wr}else sr[vr]=wr}),sr}},jo=ou,Do=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Ls(Qt,cr){var sr=Math.pow(10,cr+1),vr=Math.floor(Qt*sr);return Math.round(vr/10)*10/sr}var bo=function(){var cr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},sr=cr.rootValue,vr=sr===void 0?16:sr,wr=cr.precision,xn=wr===void 0?5:wr,Sn=cr.mediaQuery,Un=Sn===void 0?!1:Sn,Ln=function(Fr,xr){if(!xr)return Fr;var mn=parseFloat(xr);if(mn<=1)return Fr;var Hn=Ls(mn/vr,xn);return"".concat(Hn,"rem")},Gn=function(Fr){var xr=(0,c.Z)({},Fr);return Object.entries(Fr).forEach(function(mn){var Hn=(0,r.Z)(mn,2),ft=Hn[0],Pn=Hn[1];if(typeof Pn=="string"&&Pn.includes("px")){var Vn=Pn.replace(Do,Ln);xr[ft]=Vn}!vt[ft]&&typeof Pn=="number"&&Pn!==0&&(xr[ft]="".concat(Pn,"px").replace(Do,Ln));var li=ft.trim();if(li.startsWith("@")&&li.includes("px")&&Un){var Qi=ft.replace(Do,Ln);xr[Qi]=xr[ft],delete xr[ft]}}),xr};return{visit:Gn}},mu=bo,Fo={supportModernCSS:function(){return $e()&&nt()}}},7657:function(d,g,e){"use strict";e.d(g,{Z:function(){return ie}});var r=e(72308),i=e(52487),l=e(49618),c=e(74416),f=e(59301),s=e(92310),h=e.n(s),u=e(93398),a=e(18418),x=e(77321),p=e(62853),y=e(810),_=e(96452),b=e(48736);function S(F){return F.replace(/-(.)/g,function(M,Q){return Q.toUpperCase()})}function R(F,M){(0,b.ZP)(F,"[@ant-design/icons] ".concat(M))}function L(F){return(0,p.Z)(F)==="object"&&typeof F.name=="string"&&typeof F.theme=="string"&&((0,p.Z)(F.icon)==="object"||typeof F.icon=="function")}function C(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(F).reduce(function(M,Q){var de=F[Q];switch(Q){case"class":M.className=de,delete M.class;break;default:delete M[Q],M[S(Q)]=de}return M},{})}function D(F,M,Q){return Q?f.createElement(F.tag,(0,x.Z)((0,x.Z)({key:M},C(F.attrs)),Q),(F.children||[]).map(function(de,we){return D(de,"".concat(M,"-").concat(F.tag,"-").concat(we))})):f.createElement(F.tag,(0,x.Z)({key:M},C(F.attrs)),(F.children||[]).map(function(de,we){return D(de,"".concat(M,"-").concat(F.tag,"-").concat(we))}))}function B(F){return(0,u.generate)(F)[0]}function $(F){return F?Array.isArray(F)?F:[F]:[]}var U={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},K=`
.anticon {
display: inline-flex;
align-items: center;
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.anticon > * {
line-height: 1;
}
.anticon svg {
display: inline-block;
}
.anticon::before {
display: none;
}
.anticon .anticon-icon {
display: block;
}
.anticon[tabindex] {
cursor: pointer;
}
.anticon-spin::before,
.anticon-spin {
display: inline-block;
-webkit-animation: loadingCircle 1s infinite linear;
animation: loadingCircle 1s infinite linear;
}
@-webkit-keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
`,V=function(M){var Q=(0,f.useContext)(a.Z),de=Q.csp,we=Q.prefixCls,Ce=Q.layer,je=K;we&&(je=je.replace(/anticon/g,we)),Ce&&(je="@layer ".concat(Ce,` {
`).concat(je,`
}`)),(0,f.useEffect)(function(){var Fe=M.current,Ft=(0,_.A)(Fe);(0,y.hq)(je,"@ant-design-icons",{prepend:!Ce,csp:de,attachTo:Ft})},[])},G=["icon","className","onClick","style","primaryColor","secondaryColor"],oe={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ae(F){var M=F.primaryColor,Q=F.secondaryColor;oe.primaryColor=M,oe.secondaryColor=Q||B(M),oe.calculated=!!Q}function le(){return(0,x.Z)({},oe)}var q=function(M){var Q=M.icon,de=M.className,we=M.onClick,Ce=M.style,je=M.primaryColor,Fe=M.secondaryColor,Ft=(0,c.Z)(M,G),_t=f.useRef(),Pt=oe;if(je&&(Pt={primaryColor:je,secondaryColor:Fe||B(je)}),V(_t),R(L(Q),"icon should be icon definiton, but got ".concat(Q)),!L(Q))return null;var qt=Q;return qt&&typeof qt.icon=="function"&&(qt=(0,x.Z)((0,x.Z)({},qt),{},{icon:qt.icon(Pt.primaryColor,Pt.secondaryColor)})),D(qt.icon,"svg-".concat(qt.name),(0,x.Z)((0,x.Z)({className:de,onClick:we,style:Ce,"data-icon":qt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Ft),{},{ref:_t}))};q.displayName="IconReact",q.getTwoToneColors=le,q.setTwoToneColors=ae;var J=q;function Y(F){var M=$(F),Q=(0,i.Z)(M,2),de=Q[0],we=Q[1];return J.setTwoToneColors({primaryColor:de,secondaryColor:we})}function ue(){var F=J.getTwoToneColors();return F.calculated?[F.primaryColor,F.secondaryColor]:F.primaryColor}var ne=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Y(u.blue.primary);var ee=f.forwardRef(function(F,M){var Q=F.className,de=F.icon,we=F.spin,Ce=F.rotate,je=F.tabIndex,Fe=F.onClick,Ft=F.twoToneColor,_t=(0,c.Z)(F,ne),Pt=f.useContext(a.Z),qt=Pt.prefixCls,er=qt===void 0?"anticon":qt,Jt=Pt.rootClassName,Xe=h()(Jt,er,(0,l.Z)((0,l.Z)({},"".concat(er,"-").concat(de.name),!!de.name),"".concat(er,"-spin"),!!we||de.name==="loading"),Q),It=je;It===void 0&&Fe&&(It=-1);var zt=Ce?{msTransform:"rotate(".concat(Ce,"deg)"),transform:"rotate(".concat(Ce,"deg)")}:void 0,st=$(Ft),bt=(0,i.Z)(st,2),ht=bt[0],Je=bt[1];return f.createElement("span",(0,r.Z)({role:"img","aria-label":de.name},_t,{ref:M,tabIndex:It,onClick:Fe,className:Xe}),f.createElement(J,{icon:de,primaryColor:ht,secondaryColor:Je,style:zt}))});ee.displayName="AntdIcon",ee.getTwoToneColor=ue,ee.setTwoToneColor=Y;var ie=ee},18418:function(d,g,e){"use strict";var r=e(59301),i=(0,r.createContext)({});g.Z=i},29679:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},19248:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),i=e(59301),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},99267:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),i=e(59301),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},96512:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},78987:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},58617:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},12722:function(d,g,e){"use strict";e.d(g,{GC:function(){return x},T6:function(){return y},VD:function(){return _},WE:function(){return h},Wl:function(){return p},Yt:function(){return b},lC:function(){return l},py:function(){return s},rW:function(){return i},s:function(){return a},ve:function(){return f},vq:function(){return u}});var r=e(12187);function i(S,R,L){return{r:(0,r.sh)(S,255)*255,g:(0,r.sh)(R,255)*255,b:(0,r.sh)(L,255)*255}}function l(S,R,L){S=(0,r.sh)(S,255),R=(0,r.sh)(R,255),L=(0,r.sh)(L,255);var C=Math.max(S,R,L),D=Math.min(S,R,L),B=0,$=0,U=(C+D)/2;if(C===D)$=0,B=0;else{var K=C-D;switch($=U>.5?K/(2-C-D):K/(C+D),C){case S:B=(R-L)/K+(R<L?6:0);break;case R:B=(L-S)/K+2;break;case L:B=(S-R)/K+4;break;default:break}B/=6}return{h:B,s:$,l:U}}function c(S,R,L){return L<0&&(L+=1),L>1&&(L-=1),L<.16666666666666666?S+(R-S)*(6*L):L<.5?R:L<.6666666666666666?S+(R-S)*(.6666666666666666-L)*6:S}function f(S,R,L){var C,D,B;if(S=(0,r.sh)(S,360),R=(0,r.sh)(R,100),L=(0,r.sh)(L,100),R===0)D=L,B=L,C=L;else{var $=L<.5?L*(1+R):L+R-L*R,U=2*L-$;C=c(U,$,S+.3333333333333333),D=c(U,$,S),B=c(U,$,S-.3333333333333333)}return{r:C*255,g:D*255,b:B*255}}function s(S,R,L){S=(0,r.sh)(S,255),R=(0,r.sh)(R,255),L=(0,r.sh)(L,255);var C=Math.max(S,R,L),D=Math.min(S,R,L),B=0,$=C,U=C-D,K=C===0?0:U/C;if(C===D)B=0;else{switch(C){case S:B=(R-L)/U+(R<L?6:0);break;case R:B=(L-S)/U+2;break;case L:B=(S-R)/U+4;break;default:break}B/=6}return{h:B,s:K,v:$}}function h(S,R,L){S=(0,r.sh)(S,360)*6,R=(0,r.sh)(R,100),L=(0,r.sh)(L,100);var C=Math.floor(S),D=S-C,B=L*(1-R),$=L*(1-D*R),U=L*(1-(1-D)*R),K=C%6,V=[L,$,B,B,U,L][K],G=[U,L,L,$,B,B][K],oe=[B,B,U,L,L,$][K];return{r:V*255,g:G*255,b:oe*255}}function u(S,R,L,C){var D=[(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(Math.round(L).toString(16))];return C&&D[0].startsWith(D[0].charAt(1))&&D[1].startsWith(D[1].charAt(1))&&D[2].startsWith(D[2].charAt(1))?D[0].charAt(0)+D[1].charAt(0)+D[2].charAt(0):D.join("")}function a(S,R,L,C,D){var B=[(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(Math.round(L).toString(16)),(0,r.FZ)(p(C))];return D&&B[0].startsWith(B[0].charAt(1))&&B[1].startsWith(B[1].charAt(1))&&B[2].startsWith(B[2].charAt(1))&&B[3].startsWith(B[3].charAt(1))?B[0].charAt(0)+B[1].charAt(0)+B[2].charAt(0)+B[3].charAt(0):B.join("")}function x(S,R,L,C){var D=[(0,r.FZ)(p(C)),(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(Math.round(L).toString(16))];return D.join("")}function p(S){return Math.round(parseFloat(S)*255).toString(16)}function y(S){return _(S)/255}function _(S){return parseInt(S,16)}function b(S){return{r:S>>16,g:(S&65280)>>8,b:S&255}}},93796:function(d,g,e){"use strict";e.d(g,{R:function(){return r}});var r={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"}},9915:function(d,g,e){"use strict";e.d(g,{ky:function(){return y},uA:function(){return c},uz:function(){return p}});var r=e(12722),i=e(93796),l=e(12187);function c(_){var b={r:0,g:0,b:0},S=1,R=null,L=null,C=null,D=!1,B=!1;return typeof _=="string"&&(_=p(_)),typeof _=="object"&&(y(_.r)&&y(_.g)&&y(_.b)?(b=(0,r.rW)(_.r,_.g,_.b),D=!0,B=String(_.r).substr(-1)==="%"?"prgb":"rgb"):y(_.h)&&y(_.s)&&y(_.v)?(R=(0,l.JX)(_.s),L=(0,l.JX)(_.v),b=(0,r.WE)(_.h,R,L),D=!0,B="hsv"):y(_.h)&&y(_.s)&&y(_.l)&&(R=(0,l.JX)(_.s),C=(0,l.JX)(_.l),b=(0,r.ve)(_.h,R,C),D=!0,B="hsl"),Object.prototype.hasOwnProperty.call(_,"a")&&(S=_.a)),S=(0,l.Yq)(S),{ok:D,format:_.format||B,r:Math.min(255,Math.max(b.r,0)),g:Math.min(255,Math.max(b.g,0)),b:Math.min(255,Math.max(b.b,0)),a:S}}var f="[-\\+]?\\d+%?",s="[-\\+]?\\d*\\.\\d+%?",h="(?:".concat(s,")|(?:").concat(f,")"),u="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),a="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),x={CSS_UNIT:new RegExp(h),rgb:new RegExp("rgb"+u),rgba:new RegExp("rgba"+a),hsl:new RegExp("hsl"+u),hsla:new RegExp("hsla"+a),hsv:new RegExp("hsv"+u),hsva:new RegExp("hsva"+a),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 p(_){if(_=_.trim().toLowerCase(),_.length===0)return!1;var b=!1;if(i.R[_])_=i.R[_],b=!0;else if(_==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var S=x.rgb.exec(_);return S?{r:S[1],g:S[2],b:S[3]}:(S=x.rgba.exec(_),S?{r:S[1],g:S[2],b:S[3],a:S[4]}:(S=x.hsl.exec(_),S?{h:S[1],s:S[2],l:S[3]}:(S=x.hsla.exec(_),S?{h:S[1],s:S[2],l:S[3],a:S[4]}:(S=x.hsv.exec(_),S?{h:S[1],s:S[2],v:S[3]}:(S=x.hsva.exec(_),S?{h:S[1],s:S[2],v:S[3],a:S[4]}:(S=x.hex8.exec(_),S?{r:(0,r.VD)(S[1]),g:(0,r.VD)(S[2]),b:(0,r.VD)(S[3]),a:(0,r.T6)(S[4]),format:b?"name":"hex8"}:(S=x.hex6.exec(_),S?{r:(0,r.VD)(S[1]),g:(0,r.VD)(S[2]),b:(0,r.VD)(S[3]),format:b?"name":"hex"}:(S=x.hex4.exec(_),S?{r:(0,r.VD)(S[1]+S[1]),g:(0,r.VD)(S[2]+S[2]),b:(0,r.VD)(S[3]+S[3]),a:(0,r.T6)(S[4]+S[4]),format:b?"name":"hex8"}:(S=x.hex3.exec(_),S?{r:(0,r.VD)(S[1]+S[1]),g:(0,r.VD)(S[2]+S[2]),b:(0,r.VD)(S[3]+S[3]),format:b?"name":"hex"}:!1)))))))))}function y(_){return!!x.CSS_UNIT.exec(String(_))}},64993:function(d,g,e){"use strict";e.d(g,{C:function(){return f},H:function(){return s}});var r=e(12722),i=e(93796),l=e(9915),c=e(12187),f=function(){function h(u,a){u===void 0&&(u=""),a===void 0&&(a={});var x;if(u instanceof h)return u;typeof u=="number"&&(u=(0,r.Yt)(u)),this.originalInput=u;var p=(0,l.uA)(u);this.originalInput=u,this.r=p.r,this.g=p.g,this.b=p.b,this.a=p.a,this.roundA=Math.round(100*this.a)/100,this.format=(x=a.format)!==null&&x!==void 0?x:p.format,this.gradientType=a.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=p.ok}return h.prototype.isDark=function(){return this.getBrightness()<128},h.prototype.isLight=function(){return!this.isDark()},h.prototype.getBrightness=function(){var u=this.toRgb();return(u.r*299+u.g*587+u.b*114)/1e3},h.prototype.getLuminance=function(){var u=this.toRgb(),a,x,p,y=u.r/255,_=u.g/255,b=u.b/255;return y<=.03928?a=y/12.92:a=Math.pow((y+.055)/1.055,2.4),_<=.03928?x=_/12.92:x=Math.pow((_+.055)/1.055,2.4),b<=.03928?p=b/12.92:p=Math.pow((b+.055)/1.055,2.4),.2126*a+.7152*x+.0722*p},h.prototype.getAlpha=function(){return this.a},h.prototype.setAlpha=function(u){return this.a=(0,c.Yq)(u),this.roundA=Math.round(100*this.a)/100,this},h.prototype.isMonochrome=function(){var u=this.toHsl().s;return u===0},h.prototype.toHsv=function(){var u=(0,r.py)(this.r,this.g,this.b);return{h:u.h*360,s:u.s,v:u.v,a:this.a}},h.prototype.toHsvString=function(){var u=(0,r.py)(this.r,this.g,this.b),a=Math.round(u.h*360),x=Math.round(u.s*100),p=Math.round(u.v*100);return this.a===1?"hsv(".concat(a,", ").concat(x,"%, ").concat(p,"%)"):"hsva(".concat(a,", ").concat(x,"%, ").concat(p,"%, ").concat(this.roundA,")")},h.prototype.toHsl=function(){var u=(0,r.lC)(this.r,this.g,this.b);return{h:u.h*360,s:u.s,l:u.l,a:this.a}},h.prototype.toHslString=function(){var u=(0,r.lC)(this.r,this.g,this.b),a=Math.round(u.h*360),x=Math.round(u.s*100),p=Math.round(u.l*100);return this.a===1?"hsl(".concat(a,", ").concat(x,"%, ").concat(p,"%)"):"hsla(".concat(a,", ").concat(x,"%, ").concat(p,"%, ").concat(this.roundA,")")},h.prototype.toHex=function(u){return u===void 0&&(u=!1),(0,r.vq)(this.r,this.g,this.b,u)},h.prototype.toHexString=function(u){return u===void 0&&(u=!1),"#"+this.toHex(u)},h.prototype.toHex8=function(u){return u===void 0&&(u=!1),(0,r.s)(this.r,this.g,this.b,this.a,u)},h.prototype.toHex8String=function(u){return u===void 0&&(u=!1),"#"+this.toHex8(u)},h.prototype.toHexShortString=function(u){return u===void 0&&(u=!1),this.a===1?this.toHexString(u):this.toHex8String(u)},h.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},h.prototype.toRgbString=function(){var u=Math.round(this.r),a=Math.round(this.g),x=Math.round(this.b);return this.a===1?"rgb(".concat(u,", ").concat(a,", ").concat(x,")"):"rgba(".concat(u,", ").concat(a,", ").concat(x,", ").concat(this.roundA,")")},h.prototype.toPercentageRgb=function(){var u=function(a){return"".concat(Math.round((0,c.sh)(a,255)*100),"%")};return{r:u(this.r),g:u(this.g),b:u(this.b),a:this.a}},h.prototype.toPercentageRgbString=function(){var u=function(a){return Math.round((0,c.sh)(a,255)*100)};return this.a===1?"rgb(".concat(u(this.r),"%, ").concat(u(this.g),"%, ").concat(u(this.b),"%)"):"rgba(".concat(u(this.r),"%, ").concat(u(this.g),"%, ").concat(u(this.b),"%, ").concat(this.roundA,")")},h.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var u="#"+(0,r.vq)(this.r,this.g,this.b,!1),a=0,x=Object.entries(i.R);a<x.length;a++){var p=x[a],y=p[0],_=p[1];if(u===_)return y}return!1},h.prototype.toString=function(u){var a=!!u;u=u!=null?u:this.format;var x=!1,p=this.a<1&&this.a>=0,y=!a&&p&&(u.startsWith("hex")||u==="name");return y?u==="name"&&this.a===0?this.toName():this.toRgbString():(u==="rgb"&&(x=this.toRgbString()),u==="prgb"&&(x=this.toPercentageRgbString()),(u==="hex"||u==="hex6")&&(x=this.toHexString()),u==="hex3"&&(x=this.toHexString(!0)),u==="hex4"&&(x=this.toHex8String(!0)),u==="hex8"&&(x=this.toHex8String()),u==="name"&&(x=this.toName()),u==="hsl"&&(x=this.toHslString()),u==="hsv"&&(x=this.toHsvString()),x||this.toHexString())},h.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},h.prototype.clone=function(){return new h(this.toString())},h.prototype.lighten=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.l+=u/100,a.l=(0,c.V2)(a.l),new h(a)},h.prototype.brighten=function(u){u===void 0&&(u=10);var a=this.toRgb();return a.r=Math.max(0,Math.min(255,a.r-Math.round(255*-(u/100)))),a.g=Math.max(0,Math.min(255,a.g-Math.round(255*-(u/100)))),a.b=Math.max(0,Math.min(255,a.b-Math.round(255*-(u/100)))),new h(a)},h.prototype.darken=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.l-=u/100,a.l=(0,c.V2)(a.l),new h(a)},h.prototype.tint=function(u){return u===void 0&&(u=10),this.mix("white",u)},h.prototype.shade=function(u){return u===void 0&&(u=10),this.mix("black",u)},h.prototype.desaturate=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.s-=u/100,a.s=(0,c.V2)(a.s),new h(a)},h.prototype.saturate=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.s+=u/100,a.s=(0,c.V2)(a.s),new h(a)},h.prototype.greyscale=function(){return this.desaturate(100)},h.prototype.spin=function(u){var a=this.toHsl(),x=(a.h+u)%360;return a.h=x<0?360+x:x,new h(a)},h.prototype.mix=function(u,a){a===void 0&&(a=50);var x=this.toRgb(),p=new h(u).toRgb(),y=a/100,_={r:(p.r-x.r)*y+x.r,g:(p.g-x.g)*y+x.g,b:(p.b-x.b)*y+x.b,a:(p.a-x.a)*y+x.a};return new h(_)},h.prototype.analogous=function(u,a){u===void 0&&(u=6),a===void 0&&(a=30);var x=this.toHsl(),p=360/a,y=[this];for(x.h=(x.h-(p*u>>1)+720)%360;--u;)x.h=(x.h+p)%360,y.push(new h(x));return y},h.prototype.complement=function(){var u=this.toHsl();return u.h=(u.h+180)%360,new h(u)},h.prototype.monochromatic=function(u){u===void 0&&(u=6);for(var a=this.toHsv(),x=a.h,p=a.s,y=a.v,_=[],b=1/u;u--;)_.push(new h({h:x,s:p,v:y})),y=(y+b)%1;return _},h.prototype.splitcomplement=function(){var u=this.toHsl(),a=u.h;return[this,new h({h:(a+72)%360,s:u.s,l:u.l}),new h({h:(a+216)%360,s:u.s,l:u.l})]},h.prototype.onBackground=function(u){var a=this.toRgb(),x=new h(u).toRgb(),p=a.a+x.a*(1-a.a);return new h({r:(a.r*a.a+x.r*x.a*(1-a.a))/p,g:(a.g*a.a+x.g*x.a*(1-a.a))/p,b:(a.b*a.a+x.b*x.a*(1-a.a))/p,a:p})},h.prototype.triad=function(){return this.polyad(3)},h.prototype.tetrad=function(){return this.polyad(4)},h.prototype.polyad=function(u){for(var a=this.toHsl(),x=a.h,p=[this],y=360/u,_=1;_<u;_++)p.push(new h({h:(x+_*y)%360,s:a.s,l:a.l}));return p},h.prototype.equals=function(u){return this.toRgbString()===new h(u).toRgbString()},h}();function s(h,u){return h===void 0&&(h=""),u===void 0&&(u={}),new f(h,u)}},12187:function(d,g,e){"use strict";e.d(g,{FZ:function(){return h},JX:function(){return s},V2:function(){return i},Yq:function(){return f},sh:function(){return r}});function r(u,a){l(u)&&(u="100%");var x=c(u);return u=a===360?u:Math.min(a,Math.max(0,parseFloat(u))),x&&(u=parseInt(String(u*a),10)/100),Math.abs(u-a)<1e-6?1:(a===360?u=(u<0?u%a+a:u%a)/parseFloat(String(a)):u=u%a/parseFloat(String(a)),u)}function i(u){return Math.min(1,Math.max(0,u))}function l(u){return typeof u=="string"&&u.indexOf(".")!==-1&&parseFloat(u)===1}function c(u){return typeof u=="string"&&u.indexOf("%")!==-1}function f(u){return u=parseFloat(u),(isNaN(u)||u<0||u>1)&&(u=1),u}function s(u){return u<=1?"".concat(Number(u)*100,"%"):u}function h(u){return u.length===1?"0"+u:String(u)}},43403:function(d,g,e){"use strict";e.d(g,{Z:function(){return V}});var r=e(52487),i=e(59301),l=e(4676),c=e(47273),f=e(48736),s=e(8654),h=i.createContext(null),u=h,a=e(80702),x=e(34280),p=[];function y(G,oe){var ae=i.useState(function(){if(!(0,c.Z)())return null;var de=document.createElement("div");return de}),le=(0,r.Z)(ae,1),q=le[0],J=i.useRef(!1),Y=i.useContext(u),ue=i.useState(p),ne=(0,r.Z)(ue,2),ee=ne[0],ie=ne[1],F=Y||(J.current?void 0:function(de){ie(function(we){var Ce=[de].concat((0,a.Z)(we));return Ce})});function M(){q.parentElement||document.body.appendChild(q),J.current=!0}function Q(){var de;(de=q.parentElement)===null||de===void 0||de.removeChild(q),J.current=!1}return(0,x.Z)(function(){return G?Y?Y(M):M():Q(),Q},[G]),(0,x.Z)(function(){ee.length&&(ee.forEach(function(de){return de()}),ie(p))},[ee]),[q,F]}var _=e(810),b=e(75152);function S(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var R="rc-util-locker-".concat(Date.now()),L=0;function C(G){var oe=!!G,ae=i.useState(function(){return L+=1,"".concat(R,"_").concat(L)}),le=(0,r.Z)(ae,1),q=le[0];(0,x.Z)(function(){if(oe){var J=(0,b.o)(document.body).width,Y=S();(0,_.hq)(`
html body {
overflow-y: hidden;
`.concat(Y?"width: calc(100% - ".concat(J,"px);"):"",`
}`),q)}else(0,_.jL)(q);return function(){(0,_.jL)(q)}},[oe,q])}var D=!1;function B(G){return typeof G=="boolean"&&(D=G),D}var $=function(oe){return oe===!1?!1:!(0,c.Z)()||!oe?null:typeof oe=="string"?document.querySelector(oe):typeof oe=="function"?oe():oe},U=i.forwardRef(function(G,oe){var ae=G.open,le=G.autoLock,q=G.getContainer,J=G.debug,Y=G.autoDestroy,ue=Y===void 0?!0:Y,ne=G.children,ee=i.useState(ae),ie=(0,r.Z)(ee,2),F=ie[0],M=ie[1],Q=F||ae;i.useEffect(function(){(ue||ae)&&M(ae)},[ae,ue]);var de=i.useState(function(){return $(q)}),we=(0,r.Z)(de,2),Ce=we[0],je=we[1];i.useEffect(function(){var st=$(q);je(st!=null?st:null)});var Fe=y(Q&&!Ce,J),Ft=(0,r.Z)(Fe,2),_t=Ft[0],Pt=Ft[1],qt=Ce!=null?Ce:_t;C(le&&ae&&(0,c.Z)()&&(qt===_t||qt===document.body));var er=null;if(ne&&(0,s.Yr)(ne)&&oe){var Jt=ne;er=Jt.ref}var Xe=(0,s.x1)(er,oe);if(!Q||!(0,c.Z)()||Ce===void 0)return null;var It=qt===!1||B(),zt=ne;return oe&&(zt=i.cloneElement(ne,{ref:Xe})),i.createElement(u.Provider,{value:Pt},It?zt:(0,l.createPortal)(zt,qt))}),K=U,V=K},35593:function(d,g,e){"use strict";e.d(g,{Z:function(){return zt}});var r=e(77321),i=e(52487),l=e(74416),c=e(43403),f=e(92310),s=e.n(f),h=e(29301),u=e(76846),a=e(96452),x=e(6089),p=e(80402),y=e(34280),_=e(49658),b=e(59301),S=e(72308),R=e(77900),L=e(8654);function C(st){var bt=st.prefixCls,ht=st.align,Je=st.arrow,Ue=st.arrowPos,ge=Je||{},Ae=ge.className,Me=ge.content,$e=Ue.x,He=$e===void 0?0:$e,nt=Ue.y,ct=nt===void 0?0:nt,Vt=b.useRef();if(!ht||!ht.points)return null;var Wt={position:"absolute"};if(ht.autoArrow!==!1){var De=ht.points[0],qe=ht.points[1],Gt=De[0],kt=De[1],Ht=qe[0],$t=qe[1];Gt===Ht||!["t","b"].includes(Gt)?Wt.top=ct:Gt==="t"?Wt.top=0:Wt.bottom=0,kt===$t||!["l","r"].includes(kt)?Wt.left=He:kt==="l"?Wt.left=0:Wt.right=0}return b.createElement("div",{ref:Vt,className:s()("".concat(bt,"-arrow"),Ae),style:Wt},Me)}function D(st){var bt=st.prefixCls,ht=st.open,Je=st.zIndex,Ue=st.mask,ge=st.motion;return Ue?b.createElement(R.default,(0,S.Z)({},ge,{motionAppear:!0,visible:ht,removeOnLeave:!0}),function(Ae){var Me=Ae.className;return b.createElement("div",{style:{zIndex:Je},className:s()("".concat(bt,"-mask"),Me)})}):null}var B=b.memo(function(st){var bt=st.children;return bt},function(st,bt){return bt.cache}),$=B,U=b.forwardRef(function(st,bt){var ht=st.popup,Je=st.className,Ue=st.prefixCls,ge=st.style,Ae=st.target,Me=st.onVisibleChanged,$e=st.open,He=st.keepDom,nt=st.fresh,ct=st.onClick,Vt=st.mask,Wt=st.arrow,De=st.arrowPos,qe=st.align,Gt=st.motion,kt=st.maskMotion,Ht=st.forceRender,$t=st.getPopupContainer,Ct=st.autoDestroy,Yt=st.portal,We=st.zIndex,fe=st.onMouseEnter,_e=st.onMouseLeave,Ot=st.onPointerEnter,Pe=st.ready,dt=st.offsetX,Zt=st.offsetY,Tt=st.offsetR,ke=st.offsetB,St=st.onAlign,be=st.onPrepare,Ke=st.stretch,gt=st.targetWidth,Rt=st.targetHeight,Be=typeof ht=="function"?ht():ht,kr=$e||He,At=($t==null?void 0:$t.length)>0,Kr=b.useState(!$t||!At),qr=(0,i.Z)(Kr,2),Ar=qr[0],Br=qr[1];if((0,y.Z)(function(){!Ar&&At&&Ae&&Br(!0)},[Ar,At,Ae]),!Ar)return null;var _r="auto",Ur={left:"-1000vw",top:"-1000vh",right:_r,bottom:_r};if(Pe||!$e){var sn,cn=qe.points,or=qe.dynamicInset||((sn=qe._experimental)===null||sn===void 0?void 0:sn.dynamicInset),Lt=or&&cn[0][1]==="r",vt=or&&cn[0][0]==="b";Lt?(Ur.right=Tt,Ur.left=_r):(Ur.left=dt,Ur.right=_r),vt?(Ur.bottom=ke,Ur.top=_r):(Ur.top=Zt,Ur.bottom=_r)}var yt={};return Ke&&(Ke.includes("height")&&Rt?yt.height=Rt:Ke.includes("minHeight")&&Rt&&(yt.minHeight=Rt),Ke.includes("width")&&gt?yt.width=gt:Ke.includes("minWidth")&&gt&&(yt.minWidth=gt)),$e||(yt.pointerEvents="none"),b.createElement(Yt,{open:Ht||kr,getContainer:$t&&function(){return $t(Ae)},autoDestroy:Ct},b.createElement(D,{prefixCls:Ue,open:$e,zIndex:We,mask:Vt,motion:kt}),b.createElement(h.Z,{onResize:St,disabled:!$e},function(jt){return b.createElement(R.default,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ht,leavedClassName:"".concat(Ue,"-hidden")},Gt,{onAppearPrepare:be,onEnterPrepare:be,visible:$e,onVisibleChanged:function(gr){var ot;Gt==null||(ot=Gt.onVisibleChanged)===null||ot===void 0||ot.call(Gt,gr),Me(gr)}}),function(Cr,gr){var ot=Cr.className,Mr=Cr.style,yn=s()(Ue,ot,Je);return b.createElement("div",{ref:(0,L.sQ)(jt,bt,gr),className:yn,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(De.x||0,"px"),"--arrow-y":"".concat(De.y||0,"px")},Ur),yt),Mr),{},{boxSizing:"border-box",zIndex:We},ge),onMouseEnter:fe,onMouseLeave:_e,onPointerEnter:Ot,onClick:ct},Wt&&b.createElement(C,{prefixCls:Ue,arrow:Wt,arrowPos:De,align:qe}),b.createElement($,{cache:!$e&&!nt},Be))})}))}),K=U,V=b.forwardRef(function(st,bt){var ht=st.children,Je=st.getTriggerDOMNode,Ue=(0,L.Yr)(ht),ge=b.useCallback(function(Me){(0,L.mH)(bt,Je?Je(Me):Me)},[Je]),Ae=(0,L.x1)(ge,ht.ref);return Ue?b.cloneElement(ht,{ref:Ae}):ht}),G=V,oe=b.createContext(null),ae=oe;function le(st){return st?Array.isArray(st)?st:[st]:[]}function q(st,bt,ht,Je){return b.useMemo(function(){var Ue=le(ht!=null?ht:bt),ge=le(Je!=null?Je:bt),Ae=new Set(Ue),Me=new Set(ge);return st&&(Ae.has("hover")&&(Ae.delete("hover"),Ae.add("click")),Me.has("hover")&&(Me.delete("hover"),Me.add("click"))),[Ae,Me]},[st,bt,ht,Je])}var J=e(29194);function Y(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ht=arguments.length>2?arguments[2]:void 0;return ht?st[0]===bt[0]:st[0]===bt[0]&&st[1]===bt[1]}function ue(st,bt,ht,Je){for(var Ue=ht.points,ge=Object.keys(st),Ae=0;Ae<ge.length;Ae+=1){var Me,$e=ge[Ae];if(Y((Me=st[$e])===null||Me===void 0?void 0:Me.points,Ue,Je))return"".concat(bt,"-placement-").concat($e)}return""}function ne(st,bt,ht,Je){return bt||(ht?{motionName:"".concat(st,"-").concat(ht)}:Je?{motionName:Je}:null)}function ee(st){return st.ownerDocument.defaultView}function ie(st){for(var bt=[],ht=st==null?void 0:st.parentElement,Je=["hidden","scroll","clip","auto"];ht;){var Ue=ee(ht).getComputedStyle(ht),ge=Ue.overflowX,Ae=Ue.overflowY,Me=Ue.overflow;[ge,Ae,Me].some(function($e){return Je.includes($e)})&&bt.push(ht),ht=ht.parentElement}return bt}function F(st){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(st)?bt:st}function M(st){return F(parseFloat(st),0)}function Q(st,bt){var ht=(0,r.Z)({},st);return(bt||[]).forEach(function(Je){if(!(Je instanceof HTMLBodyElement||Je instanceof HTMLHtmlElement)){var Ue=ee(Je).getComputedStyle(Je),ge=Ue.overflow,Ae=Ue.overflowClipMargin,Me=Ue.borderTopWidth,$e=Ue.borderBottomWidth,He=Ue.borderLeftWidth,nt=Ue.borderRightWidth,ct=Je.getBoundingClientRect(),Vt=Je.offsetHeight,Wt=Je.clientHeight,De=Je.offsetWidth,qe=Je.clientWidth,Gt=M(Me),kt=M($e),Ht=M(He),$t=M(nt),Ct=F(Math.round(ct.width/De*1e3)/1e3),Yt=F(Math.round(ct.height/Vt*1e3)/1e3),We=(De-qe-Ht-$t)*Ct,fe=(Vt-Wt-Gt-kt)*Yt,_e=Gt*Yt,Ot=kt*Yt,Pe=Ht*Ct,dt=$t*Ct,Zt=0,Tt=0;if(ge==="clip"){var ke=M(Ae);Zt=ke*Ct,Tt=ke*Yt}var St=ct.x+Pe-Zt,be=ct.y+_e-Tt,Ke=St+ct.width+2*Zt-Pe-dt-We,gt=be+ct.height+2*Tt-_e-Ot-fe;ht.left=Math.max(ht.left,St),ht.top=Math.max(ht.top,be),ht.right=Math.min(ht.right,Ke),ht.bottom=Math.min(ht.bottom,gt)}}),ht}function de(st){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ht="".concat(bt),Je=ht.match(/^(.*)\%$/);return Je?st*(parseFloat(Je[1])/100):parseFloat(ht)}function we(st,bt){var ht=bt||[],Je=(0,i.Z)(ht,2),Ue=Je[0],ge=Je[1];return[de(st.width,Ue),de(st.height,ge)]}function Ce(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[st[0],st[1]]}function je(st,bt){var ht=bt[0],Je=bt[1],Ue,ge;return ht==="t"?ge=st.y:ht==="b"?ge=st.y+st.height:ge=st.y+st.height/2,Je==="l"?Ue=st.x:Je==="r"?Ue=st.x+st.width:Ue=st.x+st.width/2,{x:Ue,y:ge}}function Fe(st,bt){var ht={t:"b",b:"t",l:"r",r:"l"};return st.map(function(Je,Ue){return Ue===bt?ht[Je]||"c":Je}).join("")}function Ft(st,bt,ht,Je,Ue,ge,Ae){var Me=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ue[Je]||{}}),$e=(0,i.Z)(Me,2),He=$e[0],nt=$e[1],ct=b.useRef(0),Vt=b.useMemo(function(){return bt?ie(bt):[]},[bt]),Wt=b.useRef({}),De=function(){Wt.current={}};st||De();var qe=(0,x.Z)(function(){if(bt&&ht&&st){let Ia=function(ms,Bs){var _o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:yn,To=Be.x+ms,Vo=Be.y+Bs,uo=To+sn,ca=Vo+Ur,cs=Math.max(To,_o.left),mo=Math.max(Vo,_o.top),vo=Math.min(uo,_o.right),go=Math.min(ca,_o.bottom);return Math.max(0,(vo-cs)*(go-mo))},Da=function(){ir=Be.y+tr,Dr=ir+Ur,Er=Be.x+En,Or=Er+sn};var Ht,$t,Ct=bt,Yt=Ct.ownerDocument,We=ee(Ct),fe=We.getComputedStyle(Ct),_e=fe.width,Ot=fe.height,Pe=fe.position,dt=Ct.style.left,Zt=Ct.style.top,Tt=Ct.style.right,ke=Ct.style.bottom,St=Ct.style.overflow,be=(0,r.Z)((0,r.Z)({},Ue[Je]),ge),Ke=Yt.createElement("div");(Ht=Ct.parentElement)===null||Ht===void 0||Ht.appendChild(Ke),Ke.style.left="".concat(Ct.offsetLeft,"px"),Ke.style.top="".concat(Ct.offsetTop,"px"),Ke.style.position=Pe,Ke.style.height="".concat(Ct.offsetHeight,"px"),Ke.style.width="".concat(Ct.offsetWidth,"px"),Ct.style.left="0",Ct.style.top="0",Ct.style.right="auto",Ct.style.bottom="auto",Ct.style.overflow="hidden";var gt;if(Array.isArray(ht))gt={x:ht[0],y:ht[1],width:0,height:0};else{var Rt=ht.getBoundingClientRect();gt={x:Rt.x,y:Rt.y,width:Rt.width,height:Rt.height}}var Be=Ct.getBoundingClientRect(),kr=Yt.documentElement,At=kr.clientWidth,Kr=kr.clientHeight,qr=kr.scrollWidth,Ar=kr.scrollHeight,Br=kr.scrollTop,_r=kr.scrollLeft,Ur=Be.height,sn=Be.width,cn=gt.height,or=gt.width,Lt={left:0,top:0,right:At,bottom:Kr},vt={left:-_r,top:-Br,right:qr-_r,bottom:Ar-Br},yt=be.htmlRegion,jt="visible",Cr="visibleFirst";yt!=="scroll"&&yt!==Cr&&(yt=jt);var gr=yt===Cr,ot=Q(vt,Vt),Mr=Q(Lt,Vt),yn=yt===jt?Mr:ot,Zn=gr?Mr:yn;Ct.style.left="auto",Ct.style.top="auto",Ct.style.right="0",Ct.style.bottom="0";var mr=Ct.getBoundingClientRect();Ct.style.left=dt,Ct.style.top=Zt,Ct.style.right=Tt,Ct.style.bottom=ke,Ct.style.overflow=St,($t=Ct.parentElement)===null||$t===void 0||$t.removeChild(Ke);var tn=F(Math.round(sn/parseFloat(_e)*1e3)/1e3),hn=F(Math.round(Ur/parseFloat(Ot)*1e3)/1e3);if(tn===0||hn===0||(0,u.Sh)(ht)&&!(0,J.Z)(ht))return;var Fn=be.offset,ti=be.targetOffset,jn=we(Be,Fn),Zi=(0,i.Z)(jn,2),xi=Zi[0],Si=Zi[1],Ei=we(gt,ti),mi=(0,i.Z)(Ei,2),Xi=mi[0],qn=mi[1];gt.x-=Xi,gt.y-=qn;var Yi=be.points||[],wt=(0,i.Z)(Yi,2),ut=wt[0],Jn=wt[1],Ai=Ce(Jn),ei=Ce(ut),Gi=je(gt,Ai),vi=je(Be,ei),si=(0,r.Z)({},be),En=Gi.x-vi.x+xi,tr=Gi.y-vi.y+Si,mt=Ia(En,tr),rt=Ia(En,tr,Mr),Dt=je(gt,["t","l"]),pt=je(Be,["t","l"]),lr=je(gt,["b","r"]),fr=je(Be,["b","r"]),Ir=be.overflow||{},Hr=Ir.adjustX,Ze=Ir.adjustY,et=Ir.shiftX,Ee=Ir.shiftY,it=function(Bs){return typeof Bs=="boolean"?Bs:Bs>=0},ir,Dr,Er,Or;Da();var $r=it(Ze),bn=ei[0]===Ai[0];if($r&&ei[0]==="t"&&(Dr>Zn.bottom||Wt.current.bt)){var Pr=tr;bn?Pr-=Ur-cn:Pr=Dt.y-fr.y-Si;var un=Ia(En,Pr),rn=Ia(En,Pr,Mr);un>mt||un===mt&&(!gr||rn>=rt)?(Wt.current.bt=!0,tr=Pr,Si=-Si,si.points=[Fe(ei,0),Fe(Ai,0)]):Wt.current.bt=!1}if($r&&ei[0]==="b"&&(ir<Zn.top||Wt.current.tb)){var ln=tr;bn?ln+=Ur-cn:ln=lr.y-pt.y-Si;var An=Ia(En,ln),pa=Ia(En,ln,Mr);An>mt||An===mt&&(!gr||pa>=rt)?(Wt.current.tb=!0,tr=ln,Si=-Si,si.points=[Fe(ei,0),Fe(Ai,0)]):Wt.current.tb=!1}var Pi=it(Hr),gi=ei[1]===Ai[1];if(Pi&&ei[1]==="l"&&(Or>Zn.right||Wt.current.rl)){var pn=En;gi?pn-=sn-or:pn=Dt.x-fr.x-xi;var ui=Ia(pn,tr),Ni=Ia(pn,tr,Mr);ui>mt||ui===mt&&(!gr||Ni>=rt)?(Wt.current.rl=!0,En=pn,xi=-xi,si.points=[Fe(ei,1),Fe(Ai,1)]):Wt.current.rl=!1}if(Pi&&ei[1]==="r"&&(Er<Zn.left||Wt.current.lr)){var la=En;gi?la+=sn-or:la=lr.x-pt.x-xi;var xs=Ia(la,tr),Pa=Ia(la,tr,Mr);xs>mt||xs===mt&&(!gr||Pa>=rt)?(Wt.current.lr=!0,En=la,xi=-xi,si.points=[Fe(ei,1),Fe(Ai,1)]):Wt.current.lr=!1}Da();var Na=et===!0?0:et;typeof Na=="number"&&(Er<Mr.left&&(En-=Er-Mr.left-xi,gt.x+or<Mr.left+Na&&(En+=gt.x-Mr.left+or-Na)),Or>Mr.right&&(En-=Or-Mr.right-xi,gt.x>Mr.right-Na&&(En+=gt.x-Mr.right+Na)));var Is=Ee===!0?0:Ee;typeof Is=="number"&&(ir<Mr.top&&(tr-=ir-Mr.top-Si,gt.y+cn<Mr.top+Is&&(tr+=gt.y-Mr.top+cn-Is)),Dr>Mr.bottom&&(tr-=Dr-Mr.bottom-Si,gt.y>Mr.bottom-Is&&(tr+=gt.y-Mr.bottom+Is)));var $a=Be.x+En,hs=$a+sn,oa=Be.y+tr,yi=oa+Ur,Ga=gt.x,Ds=Ga+or,$i=gt.y,ps=$i+cn,Co=Math.max($a,Ga),La=Math.min(hs,Ds),_s=(Co+La)/2,ji=_s-$a,Gs=Math.max(oa,$i),Rn=Math.min(yi,ps),ja=(Gs+Rn)/2,ns=ja-oa;Ae==null||Ae(bt,si);var ls=mr.right-Be.x-(En+Be.width),Vi=mr.bottom-Be.y-(tr+Be.height);nt({ready:!0,offsetX:En/tn,offsetY:tr/hn,offsetR:ls/tn,offsetB:Vi/hn,arrowX:ji/tn,arrowY:ns/hn,scaleX:tn,scaleY:hn,align:si})}}),Gt=function(){ct.current+=1;var $t=ct.current;Promise.resolve().then(function(){ct.current===$t&&qe()})},kt=function(){nt(function($t){return(0,r.Z)((0,r.Z)({},$t),{},{ready:!1})})};return(0,y.Z)(kt,[Je]),(0,y.Z)(function(){st||kt()},[st]),[He.ready,He.offsetX,He.offsetY,He.offsetR,He.offsetB,He.arrowX,He.arrowY,He.scaleX,He.scaleY,He.align,Gt]}var _t=e(80702);function Pt(st,bt,ht,Je,Ue){(0,y.Z)(function(){if(st&&bt&&ht){let ct=function(){Je(),Ue()};var ge=bt,Ae=ht,Me=ie(ge),$e=ie(Ae),He=ee(Ae),nt=new Set([He].concat((0,_t.Z)(Me),(0,_t.Z)($e)));return nt.forEach(function(Vt){Vt.addEventListener("scroll",ct,{passive:!0})}),He.addEventListener("resize",ct,{passive:!0}),Je(),function(){nt.forEach(function(Vt){Vt.removeEventListener("scroll",ct),He.removeEventListener("resize",ct)})}}},[st,bt,ht])}var qt=e(48736),er=e(16089);function Jt(st,bt,ht,Je,Ue,ge,Ae,Me){var $e=b.useRef(st),He=b.useRef(!1);$e.current!==st&&(He.current=!0,$e.current=st),b.useEffect(function(){var nt=(0,er.Z)(function(){He.current=!1});return function(){er.Z.cancel(nt)}},[st]),b.useEffect(function(){if(bt&&Je&&(!Ue||ge)){var nt=function(){var Pe=!1,dt=function(ke){var St=ke.target;Pe=Ae(St)},Zt=function(ke){var St=ke.target;!He.current&&$e.current&&!Pe&&!Ae(St)&&Me(!1)};return[dt,Zt]},ct=nt(),Vt=(0,i.Z)(ct,2),Wt=Vt[0],De=Vt[1],qe=nt(),Gt=(0,i.Z)(qe,2),kt=Gt[0],Ht=Gt[1],$t=ee(Je);$t.addEventListener("mousedown",Wt,!0),$t.addEventListener("click",De,!0),$t.addEventListener("contextmenu",De,!0);var Ct=(0,a.A)(ht);if(Ct&&(Ct.addEventListener("mousedown",kt,!0),Ct.addEventListener("click",Ht,!0),Ct.addEventListener("contextmenu",Ht,!0)),0)var Yt,We,fe,_e;return function(){$t.removeEventListener("mousedown",Wt,!0),$t.removeEventListener("click",De,!0),$t.removeEventListener("contextmenu",De,!0),Ct&&(Ct.removeEventListener("mousedown",kt,!0),Ct.removeEventListener("click",Ht,!0),Ct.removeEventListener("contextmenu",Ht,!0))}}},[bt,ht,Je,Ue,ge])}var Xe=["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"];function It(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,bt=b.forwardRef(function(ht,Je){var Ue=ht.prefixCls,ge=Ue===void 0?"rc-trigger-popup":Ue,Ae=ht.children,Me=ht.action,$e=Me===void 0?"hover":Me,He=ht.showAction,nt=ht.hideAction,ct=ht.popupVisible,Vt=ht.defaultPopupVisible,Wt=ht.onPopupVisibleChange,De=ht.afterPopupVisibleChange,qe=ht.mouseEnterDelay,Gt=ht.mouseLeaveDelay,kt=Gt===void 0?.1:Gt,Ht=ht.focusDelay,$t=ht.blurDelay,Ct=ht.mask,Yt=ht.maskClosable,We=Yt===void 0?!0:Yt,fe=ht.getPopupContainer,_e=ht.forceRender,Ot=ht.autoDestroy,Pe=ht.destroyPopupOnHide,dt=ht.popup,Zt=ht.popupClassName,Tt=ht.popupStyle,ke=ht.popupPlacement,St=ht.builtinPlacements,be=St===void 0?{}:St,Ke=ht.popupAlign,gt=ht.zIndex,Rt=ht.stretch,Be=ht.getPopupClassNameFromAlign,kr=ht.fresh,At=ht.alignPoint,Kr=ht.onPopupClick,qr=ht.onPopupAlign,Ar=ht.arrow,Br=ht.popupMotion,_r=ht.maskMotion,Ur=ht.popupTransitionName,sn=ht.popupAnimation,cn=ht.maskTransitionName,or=ht.maskAnimation,Lt=ht.className,vt=ht.getTriggerDOMNode,yt=(0,l.Z)(ht,Xe),jt=Ot||Pe||!1,Cr=b.useState(!1),gr=(0,i.Z)(Cr,2),ot=gr[0],Mr=gr[1];(0,y.Z)(function(){Mr((0,_.Z)())},[]);var yn=b.useRef({}),Zn=b.useContext(ae),mr=b.useMemo(function(){return{registerSubPopup:function(oi,Fa){yn.current[oi]=Fa,Zn==null||Zn.registerSubPopup(oi,Fa)}}},[Zn]),tn=(0,p.Z)(),hn=b.useState(null),Fn=(0,i.Z)(hn,2),ti=Fn[0],jn=Fn[1],Zi=(0,x.Z)(function(hi){(0,u.Sh)(hi)&&ti!==hi&&jn(hi),Zn==null||Zn.registerSubPopup(tn,hi)}),xi=b.useState(null),Si=(0,i.Z)(xi,2),Ei=Si[0],mi=Si[1],Xi=b.useRef(null),qn=(0,x.Z)(function(hi){(0,u.Sh)(hi)&&Ei!==hi&&(mi(hi),Xi.current=hi)}),Yi=b.Children.only(Ae),wt=(Yi==null?void 0:Yi.props)||{},ut={},Jn=(0,x.Z)(function(hi){var oi,Fa,Va=Ei;return(Va==null?void 0:Va.contains(hi))||((oi=(0,a.A)(Va))===null||oi===void 0?void 0:oi.host)===hi||hi===Va||(ti==null?void 0:ti.contains(hi))||((Fa=(0,a.A)(ti))===null||Fa===void 0?void 0:Fa.host)===hi||hi===ti||Object.values(yn.current).some(function(Xa){return(Xa==null?void 0:Xa.contains(hi))||hi===Xa})}),Ai=ne(ge,Br,sn,Ur),ei=ne(ge,_r,or,cn),Gi=b.useState(Vt||!1),vi=(0,i.Z)(Gi,2),si=vi[0],En=vi[1],tr=ct!=null?ct:si,mt=(0,x.Z)(function(hi){ct===void 0&&En(hi)});(0,y.Z)(function(){En(ct||!1)},[ct]);var rt=b.useRef(tr);rt.current=tr;var Dt=b.useRef([]);Dt.current=[];var pt=(0,x.Z)(function(hi){var oi;mt(hi),((oi=Dt.current[Dt.current.length-1])!==null&&oi!==void 0?oi:tr)!==hi&&(Dt.current.push(hi),Wt==null||Wt(hi))}),lr=b.useRef(),fr=function(){clearTimeout(lr.current)},Ir=function(oi){var Fa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;fr(),Fa===0?pt(oi):lr.current=setTimeout(function(){pt(oi)},Fa*1e3)};b.useEffect(function(){return fr},[]);var Hr=b.useState(!1),Ze=(0,i.Z)(Hr,2),et=Ze[0],Ee=Ze[1];(0,y.Z)(function(hi){(!hi||tr)&&Ee(!0)},[tr]);var it=b.useState(null),ir=(0,i.Z)(it,2),Dr=ir[0],Er=ir[1],Or=b.useState([0,0]),$r=(0,i.Z)(Or,2),bn=$r[0],Pr=$r[1],un=function(oi){Pr([oi.clientX,oi.clientY])},rn=Ft(tr,ti,At?bn:Ei,ke,be,Ke,qr),ln=(0,i.Z)(rn,11),An=ln[0],pa=ln[1],Pi=ln[2],gi=ln[3],pn=ln[4],ui=ln[5],Ni=ln[6],la=ln[7],xs=ln[8],Pa=ln[9],Na=ln[10],Is=q(ot,$e,He,nt),$a=(0,i.Z)(Is,2),hs=$a[0],oa=$a[1],yi=hs.has("click"),Ga=oa.has("click")||oa.has("contextMenu"),Ds=(0,x.Z)(function(){et||Na()}),$i=function(){rt.current&&At&&Ga&&Ir(!1)};Pt(tr,Ei,ti,Ds,$i),(0,y.Z)(function(){Ds()},[bn,ke]),(0,y.Z)(function(){tr&&!(be!=null&&be[ke])&&Ds()},[JSON.stringify(Ke)]);var ps=b.useMemo(function(){var hi=ue(be,ge,Pa,At);return s()(hi,Be==null?void 0:Be(Pa))},[Pa,Be,be,ge,At]);b.useImperativeHandle(Je,function(){return{nativeElement:Xi.current,forceAlign:Ds}});var Co=b.useState(0),La=(0,i.Z)(Co,2),_s=La[0],ji=La[1],Gs=b.useState(0),Rn=(0,i.Z)(Gs,2),ja=Rn[0],ns=Rn[1],ls=function(){if(Rt&&Ei){var oi=Ei.getBoundingClientRect();ji(oi.width),ns(oi.height)}},Vi=function(){ls(),Ds()},Ia=function(oi){Ee(!1),Na(),De==null||De(oi)},Da=function(){return new Promise(function(oi){ls(),Er(function(){return oi})})};(0,y.Z)(function(){Dr&&(Na(),Dr(),Er(null))},[Dr]);function ms(hi,oi,Fa,Va){ut[hi]=function(Xa){var lo;Va==null||Va(Xa),Ir(oi,Fa);for(var co=arguments.length,Po=new Array(co>1?co-1:0),Qa=1;Qa<co;Qa++)Po[Qa-1]=arguments[Qa];(lo=wt[hi])===null||lo===void 0||lo.call.apply(lo,[wt,Xa].concat(Po))}}(yi||Ga)&&(ut.onClick=function(hi){var oi;rt.current&&Ga?Ir(!1):!rt.current&&yi&&(un(hi),Ir(!0));for(var Fa=arguments.length,Va=new Array(Fa>1?Fa-1:0),Xa=1;Xa<Fa;Xa++)Va[Xa-1]=arguments[Xa];(oi=wt.onClick)===null||oi===void 0||oi.call.apply(oi,[wt,hi].concat(Va))}),Jt(tr,Ga,Ei,ti,Ct,We,Jn,Ir);var Bs=hs.has("hover"),_o=oa.has("hover"),To,Vo;Bs&&(ms("onMouseEnter",!0,qe,function(hi){un(hi)}),ms("onPointerEnter",!0,qe,function(hi){un(hi)}),To=function(oi){(tr||et)&&ti!==null&&ti!==void 0&&ti.contains(oi.target)&&Ir(!0,qe)},At&&(ut.onMouseMove=function(hi){var oi;(oi=wt.onMouseMove)===null||oi===void 0||oi.call(wt,hi)})),_o&&(ms("onMouseLeave",!1,kt),ms("onPointerLeave",!1,kt),Vo=function(){Ir(!1,kt)}),hs.has("focus")&&ms("onFocus",!0,Ht),oa.has("focus")&&ms("onBlur",!1,$t),hs.has("contextMenu")&&(ut.onContextMenu=function(hi){var oi;rt.current&&oa.has("contextMenu")?Ir(!1):(un(hi),Ir(!0)),hi.preventDefault();for(var Fa=arguments.length,Va=new Array(Fa>1?Fa-1:0),Xa=1;Xa<Fa;Xa++)Va[Xa-1]=arguments[Xa];(oi=wt.onContextMenu)===null||oi===void 0||oi.call.apply(oi,[wt,hi].concat(Va))}),Lt&&(ut.className=s()(wt.className,Lt));var uo=(0,r.Z)((0,r.Z)({},wt),ut),ca={},cs=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];cs.forEach(function(hi){yt[hi]&&(ca[hi]=function(){for(var oi,Fa=arguments.length,Va=new Array(Fa),Xa=0;Xa<Fa;Xa++)Va[Xa]=arguments[Xa];(oi=uo[hi])===null||oi===void 0||oi.call.apply(oi,[uo].concat(Va)),yt[hi].apply(yt,Va)})});var mo=b.cloneElement(Yi,(0,r.Z)((0,r.Z)({},uo),ca)),vo={x:ui,y:Ni},go=Ar?(0,r.Z)({},Ar!==!0?Ar:{}):null;return b.createElement(b.Fragment,null,b.createElement(h.Z,{disabled:!tr,ref:qn,onResize:Vi},b.createElement(G,{getTriggerDOMNode:vt},mo)),b.createElement(ae.Provider,{value:mr},b.createElement(K,{portal:st,ref:Zi,prefixCls:ge,popup:dt,className:s()(Zt,ps),style:Tt,target:Ei,onMouseEnter:To,onMouseLeave:Vo,onPointerEnter:To,zIndex:gt,open:tr,keepDom:et,fresh:kr,onClick:Kr,mask:Ct,motion:Ai,maskMotion:ei,onVisibleChanged:Ia,onPrepare:Da,forceRender:_e,autoDestroy:jt,getPopupContainer:fe,align:Pa,arrow:go,arrowPos:vo,ready:An,offsetX:pa,offsetY:Pi,offsetR:gi,offsetB:pn,onAlign:Ds,stretch:Rt,targetWidth:_s/la,targetHeight:ja/xs})))});return bt}var zt=It(c.Z)},50304:function(){"use strict"},26278:function(d,g){"use strict";g.Z={loading:"loading___hdeS1",layoutMainClass:"layoutMainClass___t8btz"}},34604:function(d,g){"use strict";function e(i){const l={},c={channels:l,subscribe:function(f,s){return l[f]||(l[f]=[]),l[f].push(s),this.unsubscribe.bind(null,f,s)},unsubscribe:function(f,s){console.log(f,"channel");let h=l[f],u=-1;if(h){for(let a=0;a<h.length;a++)if(h[a].name===s.name){u=a;break}if(u>=0)return l[f].splice(u,1),!0}return!1},publish:function(f){if(!l[f])return!1;const s=Array.prototype.slice.call(arguments,1);return l[f].forEach(h=>{h.apply(null,s)}),this}};return i?Object.assign(i,c):c}const r=new e;g.Z=r},29413:function(d,g,e){"use strict";e.d(g,{zt:function(){return na},$j:function(){return ba},Ue:function(){return Bs},I0:function(){return xo},v9:function(){return yo}});var r={};e.r(r),e.d(r,{actionChannel:function(){return or},all:function(){return Be},apply:function(){return qr},call:function(){return Kr},cancel:function(){return sn},cancelled:function(){return Lt},cps:function(){return Ar},flush:function(){return vt},fork:function(){return Br},getContext:function(){return yt},join:function(){return Ur},put:function(){return Rt},race:function(){return kr},select:function(){return cn},setContext:function(){return jt},spawn:function(){return _r},take:function(){return Ke},takeEvery:function(){return mt},takeLatest:function(){return rt},takem:function(){return gt},throttle:function(){return Dt}});var i=e(59301),l=e(39564),c=e(59781),f=Object.assign||function(Ye){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Kt in Mt)Object.prototype.hasOwnProperty.call(Mt,Kt)&&(Ye[Kt]=Mt[Kt])}return Ye},s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ye){return typeof Ye}:function(Ye){return Ye&&typeof Symbol=="function"&&Ye.constructor===Symbol&&Ye!==Symbol.prototype?"symbol":typeof Ye},h=function(Qe){return"@@redux-saga/"+Qe},u=h("TASK"),a=h("HELPER"),x=h("MATCH"),p=h("CANCEL_PROMISE"),y=h("SAGA_ACTION"),_=h("SELF_CANCELLATION"),b=function(Qe){return function(){return Qe}},S=b(!0),R=null,L=function(){},C=function(Qe){return Qe};function D(Ye,Qe,Mt){if(!Qe(Ye))throw ie("error","uncaught at check",Mt),new Error(Mt)}var B=Object.prototype.hasOwnProperty;function $(Ye,Qe){return U.notUndef(Ye)&&B.call(Ye,Qe)}var U={undef:function(Qe){return Qe==null},notUndef:function(Qe){return Qe!=null},func:function(Qe){return typeof Qe=="function"},number:function(Qe){return typeof Qe=="number"},string:function(Qe){return typeof Qe=="string"},array:Array.isArray,object:function(Qe){return Qe&&!U.array(Qe)&&(typeof Qe=="undefined"?"undefined":s(Qe))==="object"},promise:function(Qe){return Qe&&U.func(Qe.then)},iterator:function(Qe){return Qe&&U.func(Qe.next)&&U.func(Qe.throw)},iterable:function(Qe){return Qe&&U.func(Symbol)?U.func(Qe[Symbol.iterator]):U.array(Qe)},task:function(Qe){return Qe&&Qe[u]},observable:function(Qe){return Qe&&U.func(Qe.subscribe)},buffer:function(Qe){return Qe&&U.func(Qe.isEmpty)&&U.func(Qe.take)&&U.func(Qe.put)},pattern:function(Qe){return Qe&&(U.string(Qe)||(typeof Qe=="undefined"?"undefined":s(Qe))==="symbol"||U.func(Qe)||U.array(Qe))},channel:function(Qe){return Qe&&U.func(Qe.take)&&U.func(Qe.close)},helper:function(Qe){return Qe&&Qe[a]},stringableFunc:function(Qe){return U.func(Qe)&&$(Qe,"toString")}},K={assign:function(Qe,Mt){for(var Kt in Mt)$(Mt,Kt)&&(Qe[Kt]=Mt[Kt])}};function V(Ye,Qe){var Mt=Ye.indexOf(Qe);Mt>=0&&Ye.splice(Mt,1)}var G={from:function(Qe){var Mt=Array(Qe.length);for(var Kt in Qe)$(Qe,Kt)&&(Mt[Kt]=Qe[Kt]);return Mt}};function oe(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=f({},Ye),Mt=new Promise(function(Kt,hr){Qe.resolve=Kt,Qe.reject=hr});return Qe.promise=Mt,Qe}function ae(Ye){for(var Qe=[],Mt=0;Mt<Ye;Mt++)Qe.push(oe());return Qe}function le(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Mt=void 0,Kt=new Promise(function(hr){Mt=setTimeout(function(){return hr(Qe)},Ye)});return Kt[p]=function(){return clearTimeout(Mt)},Kt}function q(){var Ye,Qe=!0,Mt=void 0,Kt=void 0;return Ye={},Ye[u]=!0,Ye.isRunning=function(){return Qe},Ye.result=function(){return Mt},Ye.error=function(){return Kt},Ye.setRunning=function(Rr){return Qe=Rr},Ye.setResult=function(Rr){return Mt=Rr},Ye.setError=function(Rr){return Kt=Rr},Ye}function J(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Ye}}var Y=J(),ue=function(Qe){throw Qe},ne=function(Qe){return{value:Qe,done:!0}};function ee(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ue,Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Kt=arguments[3],hr={name:Mt,next:Ye,throw:Qe,return:ne};return Kt&&(hr[a]=!0),typeof Symbol!="undefined"&&(hr[Symbol.iterator]=function(){return hr}),hr}function ie(Ye,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Ye+": "+Qe+`
`+(Mt&&Mt.stack||Mt)):console[Ye](Qe,Mt)}function F(Ye,Qe){return function(){return Ye.apply(void 0,arguments)}}var M=function(Qe,Mt){return Qe+" has been deprecated in favor of "+Mt+", please update your code"},Q=function(Qe){return new Error(`
redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug
in redux-saga code and not yours. Thanks for reporting this in the project's github repo.
Error: `+Qe+`
`)},de=function(Qe,Mt){return(Qe?Qe+".":"")+"setContext(props): argument "+Mt+" is not a plain object"},we=function(Qe){return function(Mt){return Qe(Object.defineProperty(Mt,y,{value:!0}))}},Ce=function Ye(Qe){return function(){for(var Mt=arguments.length,Kt=Array(Mt),hr=0;hr<Mt;hr++)Kt[hr]=arguments[hr];var Rr=[],jr=Qe.apply(void 0,Kt);return{next:function(nn){return Rr.push(nn),jr.next(nn)},clone:function(){var nn=Ye(Qe).apply(void 0,Kt);return Rr.forEach(function(gn){return nn.next(gn)}),nn},return:function(nn){return jr.return(nn)},throw:function(nn){return jr.throw(nn)}}}},je="Channel's Buffer overflow!",Fe=1,Ft=2,_t=3,Pt=4,qt={isEmpty:S,put:L,take:L};function er(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Qe=arguments[1],Mt=new Array(Ye),Kt=0,hr=0,Rr=0,jr=function(Qn){Mt[hr]=Qn,hr=(hr+1)%Ye,Kt++},vn=function(){if(Kt!=0){var Qn=Mt[Rr];return Mt[Rr]=null,Kt--,Rr=(Rr+1)%Ye,Qn}},nn=function(){for(var Qn=[];Kt;)Qn.push(vn());return Qn};return{isEmpty:function(){return Kt==0},put:function(Qn){if(Kt<Ye)jr(Qn);else{var ni=void 0;switch(Qe){case Fe:throw new Error(je);case _t:Mt[hr]=Qn,hr=(hr+1)%Ye,Rr=hr;break;case Pt:ni=2*Ye,Mt=nn(),Kt=Mt.length,hr=Mt.length,Rr=0,Mt.length=ni,Ye=ni,jr(Qn);break;default:}}},take:vn,flush:nn}}var Jt={none:function(){return qt},fixed:function(Qe){return er(Qe,Fe)},dropping:function(Qe){return er(Qe,Ft)},sliding:function(Qe){return er(Qe,_t)},expanding:function(Qe){return er(Qe,Pt)}},Xe=[],It=0;function zt(Ye){try{bt(),Ye()}finally{ht()}}function st(Ye){Xe.push(Ye),It||(bt(),Je())}function bt(){It++}function ht(){It--}function Je(){ht();for(var Ye=void 0;!It&&(Ye=Xe.shift())!==void 0;)zt(Ye)}var Ue=Object.assign||function(Ye){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Kt in Mt)Object.prototype.hasOwnProperty.call(Mt,Kt)&&(Ye[Kt]=Mt[Kt])}return Ye},ge="@@redux-saga/CHANNEL_END",Ae={type:ge},Me=function(Qe){return Qe&&Qe.type===ge};function $e(){var Ye=[];function Qe(Kt){return Ye.push(Kt),function(){return V(Ye,Kt)}}function Mt(Kt){for(var hr=Ye.slice(),Rr=0,jr=hr.length;Rr<jr;Rr++)hr[Rr](Kt)}return{subscribe:Qe,emit:Mt}}var He="invalid buffer passed to channel factory function",nt="Saga was provided with an undefined action";function ct(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Jt.fixed(),Qe=!1,Mt=[];D(Ye,U.buffer,He);function Kt(){if(Qe&&Mt.length)throw Q("Cannot have a closed channel with pending takers");if(Mt.length&&!Ye.isEmpty())throw Q("Cannot have pending takers with non empty buffer")}function hr(nn){if(Kt(),D(nn,U.notUndef,nt),!Qe){if(!Mt.length)return Ye.put(nn);for(var gn=0;gn<Mt.length;gn++){var Qn=Mt[gn];if(!Qn[x]||Qn[x](nn))return Mt.splice(gn,1),Qn(nn)}}}function Rr(nn){Kt(),D(nn,U.func,"channel.take's callback must be a function"),Qe&&Ye.isEmpty()?nn(Ae):Ye.isEmpty()?(Mt.push(nn),nn.cancel=function(){return V(Mt,nn)}):nn(Ye.take())}function jr(nn){if(Kt(),D(nn,U.func,"channel.flush' callback must be a function"),Qe&&Ye.isEmpty()){nn(Ae);return}nn(Ye.flush())}function vn(){if(Kt(),!Qe&&(Qe=!0,Mt.length)){var nn=Mt;Mt=[];for(var gn=0,Qn=nn.length;gn<Qn;gn++)nn[gn](Ae)}}return{take:Rr,put:hr,flush:jr,close:vn,get __takers__(){return Mt},get __closed__(){return Qe}}}function Vt(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Jt.none(),Mt=arguments[2];arguments.length>2&&D(Mt,U.func,"Invalid match function passed to eventChannel");var Kt=ct(Qe),hr=function(){Kt.__closed__||(Rr&&Rr(),Kt.close())},Rr=Ye(function(jr){if(Me(jr)){hr();return}Mt&&!Mt(jr)||Kt.put(jr)});if(Kt.__closed__&&Rr(),!U.func(Rr))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:Kt.take,flush:Kt.flush,close:hr}}function Wt(Ye){var Qe=Vt(function(Mt){return Ye(function(Kt){if(Kt[y]){Mt(Kt);return}st(function(){return Mt(Kt)})})});return Ue({},Qe,{take:function(Kt,hr){arguments.length>1&&(D(hr,U.func,"channel.take's matcher argument must be a function"),Kt[x]=hr),Qe.take(Kt)}})}var De=h("IO"),qe="TAKE",Gt="PUT",kt="ALL",Ht="RACE",$t="CALL",Ct="CPS",Yt="FORK",We="JOIN",fe="CANCEL",_e="SELECT",Ot="ACTION_CHANNEL",Pe="CANCELLED",dt="FLUSH",Zt="GET_CONTEXT",Tt="SET_CONTEXT",ke=`
(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,St=function(Qe,Mt){var Kt;return Kt={},Kt[De]=!0,Kt[Qe]=Mt,Kt},be=function(Qe){return D(gr.fork(Qe),U.object,"detach(eff): argument must be a fork effect"),Qe[Yt].detached=!0,Qe};function Ke(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&D(arguments[0],U.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),U.pattern(Ye))return St(qe,{pattern:Ye});if(U.channel(Ye))return St(qe,{channel:Ye});throw new Error("take(patternOrChannel): argument "+String(Ye)+" is not valid channel or a valid pattern")}Ke.maybe=function(){var Ye=Ke.apply(void 0,arguments);return Ye[qe].maybe=!0,Ye};var gt=F(Ke.maybe,M("takem","take.maybe"));function Rt(Ye,Qe){return arguments.length>1?(D(Ye,U.notUndef,"put(channel, action): argument channel is undefined"),D(Ye,U.channel,"put(channel, action): argument "+Ye+" is not a valid channel"),D(Qe,U.notUndef,"put(channel, action): argument action is undefined")):(D(Ye,U.notUndef,"put(action): argument action is undefined"),Qe=Ye,Ye=null),St(Gt,{channel:Ye,action:Qe})}Rt.resolve=function(){var Ye=Rt.apply(void 0,arguments);return Ye[Gt].resolve=!0,Ye},Rt.sync=F(Rt.resolve,M("put.sync","put.resolve"));function Be(Ye){return St(kt,Ye)}function kr(Ye){return St(Ht,Ye)}function At(Ye,Qe,Mt){D(Qe,U.notUndef,Ye+": argument fn is undefined");var Kt=null;if(U.array(Qe)){var hr=Qe;Kt=hr[0],Qe=hr[1]}else if(Qe.fn){var Rr=Qe;Kt=Rr.context,Qe=Rr.fn}return Kt&&U.string(Qe)&&U.func(Kt[Qe])&&(Qe=Kt[Qe]),D(Qe,U.func,Ye+": argument "+Qe+" is not a function"),{context:Kt,fn:Qe,args:Mt}}function Kr(Ye){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Mt[Kt-1]=arguments[Kt];return St($t,At("call",Ye,Mt))}function qr(Ye,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return St($t,At("apply",{context:Ye,fn:Qe},Mt))}function Ar(Ye){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Mt[Kt-1]=arguments[Kt];return St(Ct,At("cps",Ye,Mt))}function Br(Ye){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Mt[Kt-1]=arguments[Kt];return St(Yt,At("fork",Ye,Mt))}function _r(Ye){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Mt[Kt-1]=arguments[Kt];return be(Br.apply(void 0,[Ye].concat(Mt)))}function Ur(){for(var Ye=arguments.length,Qe=Array(Ye),Mt=0;Mt<Ye;Mt++)Qe[Mt]=arguments[Mt];if(Qe.length>1)return Be(Qe.map(function(hr){return Ur(hr)}));var Kt=Qe[0];return D(Kt,U.notUndef,"join(task): argument task is undefined"),D(Kt,U.task,"join(task): argument "+Kt+" is not a valid Task object "+ke),St(We,Kt)}function sn(){for(var Ye=arguments.length,Qe=Array(Ye),Mt=0;Mt<Ye;Mt++)Qe[Mt]=arguments[Mt];if(Qe.length>1)return Be(Qe.map(function(hr){return sn(hr)}));var Kt=Qe[0];return Qe.length===1&&(D(Kt,U.notUndef,"cancel(task): argument task is undefined"),D(Kt,U.task,"cancel(task): argument "+Kt+" is not a valid Task object "+ke)),St(fe,Kt||_)}function cn(Ye){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Mt[Kt-1]=arguments[Kt];return arguments.length===0?Ye=C:(D(Ye,U.notUndef,"select(selector,[...]): argument selector is undefined"),D(Ye,U.func,"select(selector,[...]): argument "+Ye+" is not a function")),St(_e,{selector:Ye,args:Mt})}function or(Ye,Qe){return D(Ye,U.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&(D(Qe,U.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),D(Qe,U.buffer,"actionChannel(pattern, buffer): argument "+Qe+" is not a valid buffer")),St(Ot,{pattern:Ye,buffer:Qe})}function Lt(){return St(Pe,{})}function vt(Ye){return D(Ye,U.channel,"flush(channel): argument "+Ye+" is not valid channel"),St(dt,Ye)}function yt(Ye){return D(Ye,U.string,"getContext(prop): argument "+Ye+" is not a string"),St(Zt,Ye)}function jt(Ye){return D(Ye,U.object,de(null,Ye)),St(Tt,Ye)}var Cr=function(Qe){return function(Mt){return Mt&&Mt[De]&&Mt[Qe]}},gr={take:Cr(qe),put:Cr(Gt),all:Cr(kt),race:Cr(Ht),call:Cr($t),cps:Cr(Ct),fork:Cr(Yt),join:Cr(We),cancel:Cr(fe),select:Cr(_e),actionChannel:Cr(Ot),cancelled:Cr(Pe),flush:Cr(dt),getContext:Cr(Zt),setContext:Cr(Tt)},ot=Object.assign||function(Ye){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Kt in Mt)Object.prototype.hasOwnProperty.call(Mt,Kt)&&(Ye[Kt]=Mt[Kt])}return Ye},Mr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ye){return typeof Ye}:function(Ye){return Ye&&typeof Symbol=="function"&&Ye.constructor===Symbol&&Ye!==Symbol.prototype?"symbol":typeof Ye};function yn(Ye,Qe){for(var Mt in Qe){var Kt=Qe[Mt];Kt.configurable=Kt.enumerable=!0,"value"in Kt&&(Kt.writable=!0),Object.defineProperty(Ye,Mt,Kt)}return Ye}var Zn="proc first argument (Saga function result) must be an iterator",mr={toString:function(){return"@@redux-saga/CHANNEL_END"}},tn={toString:function(){return"@@redux-saga/TASK_CANCEL"}},hn={wildcard:function(){return S},default:function(Qe){return(typeof Qe=="undefined"?"undefined":Mr(Qe))==="symbol"?function(Mt){return Mt.type===Qe}:function(Mt){return Mt.type===String(Qe)}},array:function(Qe){return function(Mt){return Qe.some(function(Kt){return Fn(Kt)(Mt)})}},predicate:function(Qe){return function(Mt){return Qe(Mt)}}};function Fn(Ye){return(Ye==="*"?hn.wildcard:U.array(Ye)?hn.array:U.stringableFunc(Ye)?hn.default:U.func(Ye)?hn.predicate:hn.default)(Ye)}function ti(Ye,Qe,Mt){var Kt=[],hr=void 0,Rr=!1;vn(Qe);function jr(gn){nn(),Mt(gn,!0)}function vn(gn){Kt.push(gn),gn.cont=function(Qn,ni){Rr||(V(Kt,gn),gn.cont=L,ni?jr(Qn):(gn===Qe&&(hr=Qn),Kt.length||(Rr=!0,Mt(hr))))}}function nn(){Rr||(Rr=!0,Kt.forEach(function(gn){gn.cont=L,gn.cancel()}),Kt=[])}return{addTask:vn,cancelAll:nn,abort:jr,getTasks:function(){return Kt},taskNames:function(){return Kt.map(function(Qn){return Qn.name})}}}function jn(Ye){var Qe=Ye.context,Mt=Ye.fn,Kt=Ye.args;if(U.iterator(Mt))return Mt;var hr=void 0,Rr=void 0;try{hr=Mt.apply(Qe,Kt)}catch(jr){Rr=jr}return U.iterator(hr)?hr:ee(Rr?function(){throw Rr}:function(){var jr=void 0,vn={done:!1,value:hr},nn=function(Qn){return{done:!0,value:Qn}};return function(gn){return jr?nn(gn):(jr=!0,vn)}}())}var Zi=function(Qe){return{fn:Qe}};function xi(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){return L},Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:L,Kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:L,hr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Rr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},jr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,vn=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",nn=arguments[8];D(Ye,U.iterator,Zn);var gn="[...effects]",Qn=F(Ms,M(gn,"all("+gn+")")),ni=Rr.sagaMonitor,_i=Rr.logger,Ii=Rr.onError,Hi=_i||ie,Mi=function(Qr){var Cn=Qr.sagaStack;!Cn&&Qr.stack&&(Cn=Qr.stack.split(`
`)[0].indexOf(Qr.message)!==-1?Qr.stack:"Error: "+Qr.message+`
`+Qr.stack),Hi("error","uncaught at "+vn,Cn||Qr.message||Qr)},wi=Wt(Qe),ma=Object.create(hr);Wi.cancel=L;var Ci=Jr(jr,vn,Ye,nn),bi={name:vn,cancel:Ks,isRunning:!0},fa=ti(vn,bi,ka);function Ks(){bi.isRunning&&!bi.isCancelled&&(bi.isCancelled=!0,Wi(tn))}function Es(){Ye._isRunning&&!Ye._isCancelled&&(Ye._isCancelled=!0,fa.cancelAll(),ka(tn))}return nn&&(nn.cancel=Es),Ye._isRunning=!0,Wi(),Ci;function Wi(br,Qr){if(!bi.isRunning)throw new Error("Trying to resume an already finished generator");try{var Cn=void 0;Qr?Cn=Ye.throw(br):br===tn?(bi.isCancelled=!0,Wi.cancel(),Cn=U.func(Ye.return)?Ye.return(tn):{done:!0,value:tn}):br===mr?Cn=U.func(Ye.return)?Ye.return():{done:!0}:Cn=Ye.next(br),Cn.done?(bi.isMainRunning=!1,bi.cont&&bi.cont(Cn.value)):ea(Cn.value,jr,"",Wi)}catch(ri){bi.isCancelled&&Mi(ri),bi.isMainRunning=!1,bi.cont(ri,!0)}}function ka(br,Qr){Ye._isRunning=!1,wi.close(),Qr?(br instanceof Error&&Object.defineProperty(br,"sagaStack",{value:"at "+vn+`
`+(br.sagaStack||br.stack),configurable:!0}),Ci.cont||(br instanceof Error&&Ii?Ii(br):Mi(br)),Ye._error=br,Ye._isAborted=!0,Ye._deferredEnd&&Ye._deferredEnd.reject(br)):(Ye._result=br,Ye._deferredEnd&&Ye._deferredEnd.resolve(br)),Ci.cont&&Ci.cont(br,Qr),Ci.joiners.forEach(function(Cn){return Cn.cb(br,Qr)}),Ci.joiners=null}function ea(br,Qr){var Cn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",ri=arguments[3],Fi=Y();ni&&ni.effectTriggered({effectId:Fi,parentEffectId:Qr,label:Cn,effect:br});var Mn=void 0;function Dn(ia,Ui){Mn||(Mn=!0,ri.cancel=L,ni&&(Ui?ni.effectRejected(Fi,ia):ni.effectResolved(Fi,ia)),ri(ia,Ui))}Dn.cancel=L,ri.cancel=function(){if(!Mn){Mn=!0;try{Dn.cancel()}catch(ia){Mi(ia)}Dn.cancel=L,ni&&ni.effectCancelled(Fi)}};var Bn=void 0;return U.promise(br)?ki(br,Dn):U.helper(br)?so(Zi(br),Fi,Dn):U.iterator(br)?va(br,Fi,vn,Dn):U.array(br)?Qn(br,Fi,Dn):(Bn=gr.take(br))?Ba(Bn,Dn):(Bn=gr.put(br))?Ka(Bn,Dn):(Bn=gr.all(br))?Ms(Bn,Fi,Dn):(Bn=gr.race(br))?da(Bn,Fi,Dn):(Bn=gr.call(br))?eo(Bn,Fi,Dn):(Bn=gr.cps(br))?qa(Bn,Dn):(Bn=gr.fork(br))?so(Bn,Fi,Dn):(Bn=gr.join(br))?Ya(Bn,Dn):(Bn=gr.cancel(br))?Ys(Bn,Dn):(Bn=gr.select(br))?Ua(Bn,Dn):(Bn=gr.actionChannel(br))?As(Bn,Dn):(Bn=gr.flush(br))?ye(Bn,Dn):(Bn=gr.cancelled(br))?ga(Bn,Dn):(Bn=gr.getContext(br))?Se(Bn,Dn):(Bn=gr.setContext(br))?yr(Bn,Dn):Dn(br)}function ki(br,Qr){var Cn=br[p];U.func(Cn)?Qr.cancel=Cn:U.func(br.abort)&&(Qr.cancel=function(){return br.abort()}),br.then(Qr,function(ri){return Qr(ri,!0)})}function va(br,Qr,Cn,ri){xi(br,Qe,Mt,Kt,ma,Rr,Qr,Cn,ri)}function Ba(br,Qr){var Cn=br.channel,ri=br.pattern,Fi=br.maybe;Cn=Cn||wi;var Mn=function(Bn){return Bn instanceof Error?Qr(Bn,!0):Me(Bn)&&!Fi?Qr(mr):Qr(Bn)};try{Cn.take(Mn,Fn(ri))}catch(Dn){return Qr(Dn,!0)}Qr.cancel=Mn.cancel}function Ka(br,Qr){var Cn=br.channel,ri=br.action,Fi=br.resolve;st(function(){var Mn=void 0;try{Mn=(Cn?Cn.put:Mt)(ri)}catch(Dn){if(Cn||Fi)return Qr(Dn,!0);Mi(Dn)}if(Fi&&U.promise(Mn))ki(Mn,Qr);else return Qr(Mn)})}function eo(br,Qr,Cn){var ri=br.context,Fi=br.fn,Mn=br.args,Dn=void 0;try{Dn=Fi.apply(ri,Mn)}catch(Bn){return Cn(Bn,!0)}return U.promise(Dn)?ki(Dn,Cn):U.iterator(Dn)?va(Dn,Qr,Fi.name,Cn):Cn(Dn)}function qa(br,Qr){var Cn=br.context,ri=br.fn,Fi=br.args;try{var Mn=function(Bn,ia){return U.undef(Bn)?Qr(ia):Qr(Bn,!0)};ri.apply(Cn,Fi.concat(Mn)),Mn.cancel&&(Qr.cancel=function(){return Mn.cancel()})}catch(Dn){return Qr(Dn,!0)}}function so(br,Qr,Cn){var ri=br.context,Fi=br.fn,Mn=br.args,Dn=br.detached,Bn=jn({context:ri,fn:Fi,args:Mn});try{bt();var ia=xi(Bn,Qe,Mt,Kt,ma,Rr,Qr,Fi.name,Dn?null:L);Dn?Cn(ia):Bn._isRunning?(fa.addTask(ia),Cn(ia)):Bn._error?fa.abort(Bn._error):Cn(ia)}finally{Je()}}function Ya(br,Qr){if(br.isRunning()){var Cn={task:Ci,cb:Qr};Qr.cancel=function(){return V(br.joiners,Cn)},br.joiners.push(Cn)}else br.isAborted()?Qr(br.error(),!0):Qr(br.result())}function Ys(br,Qr){br===_&&(br=Ci),br.isRunning()&&br.cancel(),Qr()}function Ms(br,Qr,Cn){var ri=Object.keys(br);if(!ri.length)return Cn(U.array(br)?[]:{});var Fi=0,Mn=void 0,Dn={},Bn={};function ia(){Fi===ri.length&&(Mn=!0,Cn(U.array(br)?G.from(ot({},Dn,{length:ri.length})):Dn))}ri.forEach(function(Ui){var ho=function(eu,hl){Mn||(hl||Me(eu)||eu===mr||eu===tn?(Cn.cancel(),Cn(eu,hl)):(Dn[Ui]=eu,Fi++,ia()))};ho.cancel=L,Bn[Ui]=ho}),Cn.cancel=function(){Mn||(Mn=!0,ri.forEach(function(Ui){return Bn[Ui].cancel()}))},ri.forEach(function(Ui){return ea(br[Ui],Qr,Ui,Bn[Ui])})}function da(br,Qr,Cn){var ri=void 0,Fi=Object.keys(br),Mn={};Fi.forEach(function(Dn){var Bn=function(Ui,ho){if(!ri){if(ho)Cn.cancel(),Cn(Ui,!0);else if(!Me(Ui)&&Ui!==mr&&Ui!==tn){var Xs;Cn.cancel(),ri=!0;var eu=(Xs={},Xs[Dn]=Ui,Xs);Cn(U.array(br)?[].slice.call(ot({},eu,{length:Fi.length})):eu)}}};Bn.cancel=L,Mn[Dn]=Bn}),Cn.cancel=function(){ri||(ri=!0,Fi.forEach(function(Dn){return Mn[Dn].cancel()}))},Fi.forEach(function(Dn){ri||ea(br[Dn],Qr,Dn,Mn[Dn])})}function Ua(br,Qr){var Cn=br.selector,ri=br.args;try{var Fi=Cn.apply(void 0,[Kt()].concat(ri));Qr(Fi)}catch(Mn){Qr(Mn,!0)}}function As(br,Qr){var Cn=br.pattern,ri=br.buffer,Fi=Fn(Cn);Fi.pattern=Cn,Qr(Vt(Qe,ri||Jt.fixed(),Fi))}function ga(br,Qr){Qr(!!bi.isCancelled)}function ye(br,Qr){br.flush(Qr)}function Se(br,Qr){Qr(ma[br])}function yr(br,Qr){K.assign(ma,br),Qr()}function Jr(br,Qr,Cn,ri){var Fi,Mn,Dn;return Cn._deferredEnd=null,Mn={},Mn[u]=!0,Mn.id=br,Mn.name=Qr,Fi="done",Dn={},Dn[Fi]=Dn[Fi]||{},Dn[Fi].get=function(){if(Cn._deferredEnd)return Cn._deferredEnd.promise;var Bn=oe();return Cn._deferredEnd=Bn,Cn._isRunning||(Cn._error?Bn.reject(Cn._error):Bn.resolve(Cn._result)),Bn.promise},Mn.cont=ri,Mn.joiners=[],Mn.cancel=Es,Mn.isRunning=function(){return Cn._isRunning},Mn.isCancelled=function(){return Cn._isCancelled},Mn.isAborted=function(){return Cn._isAborted},Mn.result=function(){return Cn._result},Mn.error=function(){return Cn._error},Mn.setContext=function(ia){D(ia,U.object,de("task",ia)),K.assign(ma,ia)},yn(Mn,Dn),Mn}}var Si="runSaga(storeInterface, saga, ...args)",Ei=Si+": saga argument must be a Generator function!";function mi(Ye,Qe){for(var Mt=arguments.length,Kt=Array(Mt>2?Mt-2:0),hr=2;hr<Mt;hr++)Kt[hr-2]=arguments[hr];var Rr=void 0;U.iterator(Ye)?(Rr=Ye,Ye=Qe):(D(Qe,U.func,Ei),Rr=Qe.apply(void 0,Kt),D(Rr,U.iterator,Ei));var jr=Ye,vn=jr.subscribe,nn=jr.dispatch,gn=jr.getState,Qn=jr.context,ni=jr.sagaMonitor,_i=jr.logger,Ii=jr.onError,Hi=Y();ni&&(ni.effectTriggered=ni.effectTriggered||L,ni.effectResolved=ni.effectResolved||L,ni.effectRejected=ni.effectRejected||L,ni.effectCancelled=ni.effectCancelled||L,ni.actionDispatched=ni.actionDispatched||L,ni.effectTriggered({effectId:Hi,root:!0,parentEffectId:0,effect:{root:!0,saga:Qe,args:Kt}}));var Mi=xi(Rr,vn,we(nn),gn,Qn,{sagaMonitor:ni,logger:_i,onError:Ii},Hi,Qe.name);return ni&&ni.effectResolved(Hi,Mi),Mi}function Xi(Ye,Qe){var Mt={};for(var Kt in Ye)Qe.indexOf(Kt)>=0||Object.prototype.hasOwnProperty.call(Ye,Kt)&&(Mt[Kt]=Ye[Kt]);return Mt}function qn(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=Ye.context,Mt=Qe===void 0?{}:Qe,Kt=Xi(Ye,["context"]),hr=Kt.sagaMonitor,Rr=Kt.logger,jr=Kt.onError;if(U.func(Kt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Rr&&!U.func(Rr))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(jr&&!U.func(jr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(Kt.emitter&&!U.func(Kt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function vn(nn){var gn=nn.getState,Qn=nn.dispatch,ni=$e();return ni.emit=(Kt.emitter||C)(ni.emit),vn.run=mi.bind(null,{context:Mt,subscribe:ni.subscribe,dispatch:Qn,getState:gn,sagaMonitor:hr,logger:Rr,onError:jr}),function(_i){return function(Ii){hr&&hr.actionDispatched&&hr.actionDispatched(Ii);var Hi=_i(Ii);return ni.emit(Ii),Hi}}}return vn.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},vn.setContext=function(nn){D(nn,U.object,de("sagaMiddleware",nn)),K.assign(Mt,nn)},vn}var Yi={done:!0,value:void 0},wt={};function ut(Ye){return U.channel(Ye)?"channel":Array.isArray(Ye)?String(Ye.map(function(Qe){return String(Qe)})):String(Ye)}function Jn(Ye,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",Kt=void 0,hr=Qe;function Rr(jr,vn){if(hr===wt)return Yi;if(vn)throw hr=wt,vn;Kt&&Kt(jr);var nn=Ye[hr](),gn=nn[0],Qn=nn[1],ni=nn[2];return hr=gn,Kt=ni,hr===wt?Yi:Qn}return ee(Rr,function(jr){return Rr(null,jr)},Mt,!0)}function Ai(Ye,Qe){for(var Mt=arguments.length,Kt=Array(Mt>2?Mt-2:0),hr=2;hr<Mt;hr++)Kt[hr-2]=arguments[hr];var Rr={done:!1,value:Ke(Ye)},jr=function(Qn){return{done:!1,value:Br.apply(void 0,[Qe].concat(Kt,[Qn]))}},vn=void 0,nn=function(Qn){return vn=Qn};return Jn({q1:function(){return["q2",Rr,nn]},q2:function(){return vn===Ae?[wt]:["q1",jr(vn)]}},"q1","takeEvery("+ut(Ye)+", "+Qe.name+")")}function ei(Ye,Qe){for(var Mt=arguments.length,Kt=Array(Mt>2?Mt-2:0),hr=2;hr<Mt;hr++)Kt[hr-2]=arguments[hr];var Rr={done:!1,value:Ke(Ye)},jr=function(Ii){return{done:!1,value:Br.apply(void 0,[Qe].concat(Kt,[Ii]))}},vn=function(Ii){return{done:!1,value:sn(Ii)}},nn=void 0,gn=void 0,Qn=function(Ii){return nn=Ii},ni=function(Ii){return gn=Ii};return Jn({q1:function(){return["q2",Rr,ni]},q2:function(){return gn===Ae?[wt]:nn?["q3",vn(nn)]:["q1",jr(gn),Qn]},q3:function(){return["q1",jr(gn),Qn]}},"q1","takeLatest("+ut(Ye)+", "+Qe.name+")")}function Gi(Ye,Qe,Mt){for(var Kt=arguments.length,hr=Array(Kt>3?Kt-3:0),Rr=3;Rr<Kt;Rr++)hr[Rr-3]=arguments[Rr];var jr=void 0,vn=void 0,nn={done:!1,value:or(Qe,Jt.sliding(1))},gn=function(){return{done:!1,value:Ke(vn)}},Qn=function(Mi){return{done:!1,value:Br.apply(void 0,[Mt].concat(hr,[Mi]))}},ni={done:!1,value:Kr(le,Ye)},_i=function(Mi){return jr=Mi},Ii=function(Mi){return vn=Mi};return Jn({q1:function(){return["q2",nn,Ii]},q2:function(){return["q3",gn(),_i]},q3:function(){return jr===Ae?[wt]:["q4",Qn(jr)]},q4:function(){return["q2",ni]}},"q1","throttle("+ut(Qe)+", "+Mt.name+")")}var vi=function(Qe){return"import { "+Qe+" } from 'redux-saga' has been deprecated in favor of import { "+Qe+` } from 'redux-saga/effects'.
The latter will not work with yield*, as helper effects are wrapped automatically for you in fork effect.
Therefore yield `+Qe+" will return task descriptor to your saga and execute next lines of code."},si=null,En=null,tr=null;function mt(Ye,Qe){for(var Mt=arguments.length,Kt=Array(Mt>2?Mt-2:0),hr=2;hr<Mt;hr++)Kt[hr-2]=arguments[hr];return Br.apply(void 0,[Ai,Ye,Qe].concat(Kt))}function rt(Ye,Qe){for(var Mt=arguments.length,Kt=Array(Mt>2?Mt-2:0),hr=2;hr<Mt;hr++)Kt[hr-2]=arguments[hr];return Br.apply(void 0,[ei,Ye,Qe].concat(Kt))}function Dt(Ye,Qe,Mt){for(var Kt=arguments.length,hr=Array(Kt>3?Kt-3:0),Rr=3;Rr<Kt;Rr++)hr[Rr-3]=arguments[Rr];return Br.apply(void 0,[Gi,Ye,Qe,Mt].concat(hr))}var pt=qn,lr=e(44520),fr=e.n(lr),Ir=e(62853),Hr=e(78639),Ze=e.n(Hr),et=e(80702),Ee=e(68413),it=e(56754),ir=e.n(it),Dr=e(96949),Er=e(55090),Or=e(89381),$r=e.n(Or),bn=e(60288),Pr=e(52487),un=e(14759),rn=e.n(un),ln=Array.isArray.bind(Array),An=function(Qe){return typeof Qe=="function"},pa=function(Qe){return Qe},Pi=function(){},gi=function(Qe,Mt){for(var Kt=0,hr=Qe.length;Kt<hr;Kt+=1)if(Mt(Qe[Kt],Kt))return Kt;return-1},pn=Object.freeze({isPlainObject:Ze(),isArray:ln,isFunction:An,returnSelf:pa,noop:Pi,findIndex:gi});function ui(Ye,Qe){var Mt=Ye.namespace,Kt=Ye.reducers,hr=Ye.effects,Rr=Ye.subscriptions;invariant(Mt,"[app.model] namespace should be defined"),invariant(typeof Mt=="string","[app.model] namespace should be string, but got ".concat(_typeof(Mt))),invariant(!Qe.some(function(jr){return jr.namespace===Mt}),"[app.model] namespace should be unique"),Kt&&(invariant(isPlainObject(Kt)||ln(Kt),"[app.model] reducers should be plain object or array, but got ".concat(_typeof(Kt))),invariant(!ln(Kt)||isPlainObject(Kt[0])&&An(Kt[1]),"[app.model] reducers with array should be [Object, Function]")),hr&&invariant(isPlainObject(hr),"[app.model] effects should be plain object, but got ".concat(_typeof(hr))),Rr&&(invariant(isPlainObject(Rr),"[app.model] subscriptions should be plain object, but got ".concat(_typeof(Rr))),invariant(Ni(Rr),"[app.model] subscription should be function"))}function Ni(Ye){return Object.keys(Ye).every(function(Qe){return An(Ye[Qe])})}var la="/";function xs(Ye,Qe,Mt){return Object.keys(Ye).reduce(function(Kt,hr){ir()(hr.indexOf("".concat(Qe).concat(la))!==0,"[prefixNamespace]: ".concat(Mt," ").concat(hr," should not be prefixed with namespace ").concat(Qe));var Rr="".concat(Qe).concat(la).concat(hr);return Kt[Rr]=Ye[hr],Kt},{})}function Pa(Ye){var Qe=Ye.namespace,Mt=Ye.reducers,Kt=Ye.effects;if(Mt)if(ln(Mt)){var hr=(0,Ee.Z)(Mt),Rr=hr[0],jr=hr.slice(1);Ye.reducers=[xs(Rr,Qe,"reducer")].concat((0,et.Z)(jr))}else Ye.reducers=xs(Mt,Qe,"reducer");return Kt&&(Ye.effects=xs(Kt,Qe,"effect")),Ye}var Na=["onError","onStateChange","onAction","onHmr","onReducer","onEffect","extraReducers","extraEnhancers","_handleActions"];function Is(Ye){return Object.keys(Ye).reduce(function(Qe,Mt){return Na.indexOf(Mt)>-1&&(Qe[Mt]=Ye[Mt]),Qe},{})}var $a=function(){function Ye(){(0,Dr.Z)(this,Ye),this._handleActions=null,this.hooks=Na.reduce(function(Qe,Mt){return Qe[Mt]=[],Qe},{})}return(0,Er.Z)(Ye,[{key:"use",value:function(Mt){fr()(Ze()(Mt),"plugin.use: plugin should be plain object");var Kt=this.hooks;for(var hr in Mt)Object.prototype.hasOwnProperty.call(Mt,hr)&&(fr()(Kt[hr],"plugin.use: unknown plugin property: ".concat(hr)),hr==="_handleActions"?this._handleActions=Mt[hr]:hr==="extraEnhancers"?Kt[hr]=Mt[hr]:Kt[hr].push(Mt[hr]))}},{key:"apply",value:function(Mt,Kt){var hr=this.hooks,Rr=["onError","onHmr"];fr()(Rr.indexOf(Mt)>-1,"plugin.apply: hook ".concat(Mt," cannot be applied"));var jr=hr[Mt];return function(){if(jr.length){var vn=!0,nn=!1,gn=void 0;try{for(var Qn=jr[Symbol.iterator](),ni;!(vn=(ni=Qn.next()).done);vn=!0){var _i=ni.value;_i.apply(void 0,arguments)}}catch(Ii){nn=!0,gn=Ii}finally{try{!vn&&Qn.return!=null&&Qn.return()}finally{if(nn)throw gn}}}else Kt&&Kt.apply(void 0,arguments)}}},{key:"get",value:function(Mt){var Kt=this.hooks;return fr()(Mt in Kt,"plugin.get: hook ".concat(Mt," cannot be got")),Mt==="extraReducers"?hs(Kt[Mt]):Mt==="onReducer"?oa(Kt[Mt]):Kt[Mt]}}]),Ye}();function hs(Ye){var Qe={},Mt=!0,Kt=!1,hr=void 0;try{for(var Rr=Ye[Symbol.iterator](),jr;!(Mt=(jr=Rr.next()).done);Mt=!0){var vn=jr.value;Qe=(0,l.Z)({},Qe,vn)}}catch(nn){Kt=!0,hr=nn}finally{try{!Mt&&Rr.return!=null&&Rr.return()}finally{if(Kt)throw hr}}return Qe}function oa(Ye){return function(Qe){var Mt=!0,Kt=!1,hr=void 0;try{for(var Rr=Ye[Symbol.iterator](),jr;!(Mt=(jr=Rr.next()).done);Mt=!0){var vn=jr.value;Qe=vn(Qe)}}catch(nn){Kt=!0,hr=nn}finally{try{!Mt&&Rr.return!=null&&Rr.return()}finally{if(Kt)throw hr}}return Qe}}function yi(Ye){var Qe=Ye.reducers,Mt=Ye.initialState,Kt=Ye.plugin,hr=Ye.sagaMiddleware,Rr=Ye.promiseMiddleware,jr=Ye.createOpts.setupMiddlewares,vn=jr===void 0?pa:jr,nn=Kt.get("extraEnhancers");fr()(ln(nn),"[app.start] extraEnhancers should be array, but got ".concat((0,Ir.Z)(nn)));var gn=Kt.get("onAction"),Qn=vn([Rr,hr].concat((0,et.Z)($r()(gn)))),ni=c.qC,_i=[c.md.apply(void 0,(0,et.Z)(Qn))].concat((0,et.Z)(nn));return(0,c.MT)(Qe,Mt,ni.apply(void 0,(0,et.Z)(_i)))}function Ga(Ye,Qe){var Mt="".concat(Qe.namespace).concat(la).concat(Ye),Kt=Mt.replace(/\/@@[^/]+?$/,""),hr=Array.isArray(Qe.reducers)?Qe.reducers[0][Kt]:Qe.reducers&&Qe.reducers[Kt];return hr||Qe.effects&&Qe.effects[Kt]?Mt:Ye}function Ds(Ye,Qe,Mt,Kt){var hr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return rn().mark(function Rr(){var jr;return rn().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:nn.t0=rn().keys(Ye);case 1:if((nn.t1=nn.t0()).done){nn.next=7;break}if(jr=nn.t1.value,!Object.prototype.hasOwnProperty.call(Ye,jr)){nn.next=5;break}return nn.delegateYield(rn().mark(function gn(){var Qn,ni;return rn().wrap(function(Ii){for(;;)switch(Ii.prev=Ii.next){case 0:return Qn=$i(jr,Ye[jr],Qe,Mt,Kt,hr),Ii.next=3,Br(Qn);case 3:return ni=Ii.sent,Ii.next=6,Br(rn().mark(function Hi(){return rn().wrap(function(wi){for(;;)switch(wi.prev=wi.next){case 0:return wi.next=2,Ke("".concat(Qe.namespace,"/@@CANCEL_EFFECTS"));case 2:return wi.next=4,sn(ni);case 4:case"end":return wi.stop()}},Hi)}));case 6:case"end":return Ii.stop()}},gn)})(),"t2",5);case 5:nn.next=1;break;case 7:case"end":return nn.stop()}},Rr)})}function $i(Ye,Qe,Mt,Kt,hr,Rr){var jr=rn().mark(Hi),vn=Qe,nn="takeEvery",gn,Qn;if(Array.isArray(Qe)){var ni=(0,Pr.Z)(Qe,1);vn=ni[0];var _i=Qe[1];_i&&_i.type&&(nn=_i.type,nn==="throttle"&&(fr()(_i.ms,"app.start: opts.ms should be defined if type is throttle"),gn=_i.ms),nn==="poll"&&(fr()(_i.delay,"app.start: opts.delay should be defined if type is poll"),Qn=_i.delay)),fr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(nn)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function Ii(){}function Hi(){var wi,ma,Ci,bi,fa,Ks,Es,Wi,ka,ea=arguments;return rn().wrap(function(va){for(;;)switch(va.prev=va.next){case 0:for(wi=ea.length,ma=new Array(wi),Ci=0;Ci<wi;Ci++)ma[Ci]=ea[Ci];return bi=ma.length>0?ma[0]:{},fa=bi.__dva_resolve,Ks=fa===void 0?Ii:fa,Es=bi.__dva_reject,Wi=Es===void 0?Ii:Es,va.prev=2,va.next=5,Rt({type:"".concat(Ye).concat(la,"@@start")});case 5:return va.next=7,vn.apply(void 0,(0,et.Z)(ma.concat(ps(Mt,Rr))));case 7:return ka=va.sent,va.next=10,Rt({type:"".concat(Ye).concat(la,"@@end")});case 10:Ks(ka),va.next=17;break;case 13:va.prev=13,va.t0=va.catch(2),Kt(va.t0,{key:Ye,effectArgs:ma}),va.t0._dontReject||Wi(va.t0);case 17:case"end":return va.stop()}},jr,null,[[2,13]])}var Mi=Co(hr,Hi,Mt,Ye);switch(nn){case"watcher":return Hi;case"takeLatest":return rn().mark(function wi(){return rn().wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:return Ci.next=2,rt(Ye,Mi);case 2:case"end":return Ci.stop()}},wi)});case"throttle":return rn().mark(function wi(){return rn().wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:return Ci.next=2,Dt(gn,Ye,Mi);case 2:case"end":return Ci.stop()}},wi)});case"poll":return rn().mark(function wi(){var ma,Ci,bi,fa,Ks,Es,Wi;return rn().wrap(function(ea){for(;;)switch(ea.prev=ea.next){case 0:bi=function(va,Ba){var Ka;return rn().wrap(function(qa){for(;;)switch(qa.prev=qa.next){case 0:Ka=va.call;case 1:return qa.next=4,Ka(Mi,Ba);case 4:return qa.next=6,Ka(Ci,Qn);case 6:qa.next=1;break;case 8:case"end":return qa.stop()}},ma)},Ci=function(va){return new Promise(function(Ba){return setTimeout(Ba,va)})},ma=rn().mark(bi),fa=Kr,Ks=Ke,Es=kr;case 4:return ea.next=7,Ks("".concat(Ye,"-start"));case 7:return Wi=ea.sent,ea.next=10,Es([fa(bi,r,Wi),Ks("".concat(Ye,"-stop"))]);case 10:ea.next=4;break;case 12:case"end":return ea.stop()}},wi)});default:return rn().mark(function wi(){return rn().wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:return Ci.next=2,mt(Ye,Mi);case 2:case"end":return Ci.stop()}},wi)})}}function ps(Ye,Qe){function Mt(jr,vn){fr()(jr,"dispatch: action should be a plain Object with type");var nn=Qe.namespacePrefixWarning,gn=nn===void 0?!0:nn;gn&&ir()(jr.indexOf("".concat(Ye.namespace).concat(la))!==0,"[".concat(vn,"] ").concat(jr," should not be prefixed with namespace ").concat(Ye.namespace))}function Kt(jr){var vn=jr.type;return Mt(vn,"sagaEffects.put"),Rt((0,l.Z)({},jr,{type:Ga(vn,Ye)}))}function hr(jr){var vn=jr.type;return Mt(vn,"sagaEffects.put.resolve"),Rt.resolve((0,l.Z)({},jr,{type:Ga(vn,Ye)}))}Kt.resolve=hr;function Rr(jr){return typeof jr=="string"?(Mt(jr,"sagaEffects.take"),Ke(Ga(jr,Ye))):Array.isArray(jr)?Ke(jr.map(function(vn){return typeof vn=="string"?(Mt(vn,"sagaEffects.take"),Ga(vn,Ye)):vn})):Ke(jr)}return(0,l.Z)({},r,{put:Kt,take:Rr})}function Co(Ye,Qe,Mt,Kt){var hr=!0,Rr=!1,jr=void 0;try{for(var vn=Ye[Symbol.iterator](),nn;!(hr=(nn=vn.next()).done);hr=!0){var gn=nn.value;Qe=gn(Qe,r,Mt,Kt)}}catch(Qn){Rr=!0,jr=Qn}finally{try{!hr&&vn.return!=null&&vn.return()}finally{if(Rr)throw jr}}return Qe}function La(Ye){return Ye}function _s(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:La;return function(Mt,Kt){var hr=Kt.type;return fr()(hr,"dispatch: action should be a plain Object with type"),Ye===hr?Qe(Mt,Kt):Mt}}function ji(){for(var Ye=arguments.length,Qe=new Array(Ye),Mt=0;Mt<Ye;Mt++)Qe[Mt]=arguments[Mt];return function(Kt,hr){return Qe.reduce(function(Rr,jr){return jr(Rr,hr)},Kt)}}function Gs(Ye,Qe){var Mt=Object.keys(Ye).map(function(hr){return _s(hr,Ye[hr])}),Kt=ji.apply(void 0,(0,et.Z)(Mt));return function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qe,Rr=arguments.length>1?arguments[1]:void 0;return Kt(hr,Rr)}}function Rn(Ye,Qe,Mt){return Array.isArray(Ye)?Ye[1]((Mt||Gs)(Ye[0],Qe)):(Mt||Gs)(Ye||{},Qe)}function ja(Ye){return function(){return function(Mt){return function(Kt){var hr=Kt.type;return Qe(hr)?new Promise(function(Rr,jr){Mt((0,l.Z)({__dva_resolve:Rr,__dva_reject:jr},Kt))}):Mt(Kt)}}};function Qe(Mt){if(!Mt||typeof Mt!="string")return!1;var Kt=Mt.split(la),hr=(0,Pr.Z)(Kt,1),Rr=hr[0],jr=Ye._models.filter(function(vn){return vn.namespace===Rr})[0];return!!(jr&&jr.effects&&jr.effects[Mt])}}function ns(Ye,Qe){return function(Mt){var Kt=Mt.type;return fr()(Kt,"dispatch: action should be a plain Object with type"),ir()(Kt.indexOf("".concat(Qe.namespace).concat(la))!==0,"dispatch: ".concat(Kt," should not be prefixed with namespace ").concat(Qe.namespace)),Ye((0,l.Z)({},Mt,{type:Ga(Kt,Qe)}))}}function ls(Ye,Qe,Mt,Kt){var hr=[],Rr=[];for(var jr in Ye)if(Object.prototype.hasOwnProperty.call(Ye,jr)){var vn=Ye[jr],nn=vn({dispatch:ns(Mt._store.dispatch,Qe),history:Mt._history},Kt);An(nn)?hr.push(nn):Rr.push(jr)}return{funcs:hr,nonFuncs:Rr}}function Vi(Ye,Qe){if(Ye[Qe]){var Mt=Ye[Qe],Kt=Mt.funcs,hr=Mt.nonFuncs;ir()(hr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(hr.join(", ")));var Rr=!0,jr=!1,vn=void 0;try{for(var nn=Kt[Symbol.iterator](),gn;!(Rr=(gn=nn.next()).done);Rr=!0){var Qn=gn.value;Qn()}}catch(ni){jr=!0,vn=ni}finally{try{!Rr&&nn.return!=null&&nn.return()}finally{if(jr)throw vn}}delete Ye[Qe]}}var Ia=Pi,Da=gi,ms={namespace:"@@dva",state:0,reducers:{UPDATE:function(Qe){return Qe+1}}};function Bs(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Mt=Qe.initialReducer,Kt=Qe.setupApp,hr=Kt===void 0?Ia:Kt,Rr=new $a;Rr.use(Is(Ye));var jr={_models:[Pa((0,l.Z)({},ms))],_store:null,_plugin:Rr,use:Rr.use.bind(Rr),model:vn,start:ni};return jr;function vn(_i){var Ii=Pa((0,l.Z)({},_i));return jr._models.push(Ii),Ii}function nn(_i,Ii,Hi,Mi){Mi=vn(Mi);var wi=jr._store;wi.asyncReducers[Mi.namespace]=Rn(Mi.reducers,Mi.state,Rr._handleActions),wi.replaceReducer(_i()),Mi.effects&&wi.runSaga(jr._getSaga(Mi.effects,Mi,Ii,Rr.get("onEffect"),Ye)),Mi.subscriptions&&(Hi[Mi.namespace]=ls(Mi.subscriptions,Mi,jr,Ii))}function gn(_i,Ii,Hi,Mi){var wi=jr._store;delete wi.asyncReducers[Mi],delete Ii[Mi],wi.replaceReducer(_i()),wi.dispatch({type:"@@dva/UPDATE"}),wi.dispatch({type:"".concat(Mi,"/@@CANCEL_EFFECTS")}),Vi(Hi,Mi),jr._models=jr._models.filter(function(ma){return ma.namespace!==Mi})}function Qn(_i,Ii,Hi,Mi,wi){var ma=jr._store,Ci=wi.namespace,bi=Da(jr._models,function(fa){return fa.namespace===Ci});~bi&&(ma.dispatch({type:"".concat(Ci,"/@@CANCEL_EFFECTS")}),delete ma.asyncReducers[Ci],delete Ii[Ci],Vi(Hi,Ci),jr._models.splice(bi,1)),jr.model(wi),ma.dispatch({type:"@@dva/UPDATE"})}function ni(){var _i=function(yr,Jr){yr&&(typeof yr=="string"&&(yr=new Error(yr)),yr.preventDefault=function(){yr._dontReject=!0},Rr.apply("onError",function(br){throw new Error(br.stack||br)})(yr,jr._store.dispatch,Jr))},Ii=pt(),Hi=ja(jr);jr._getSaga=Ds.bind(null);var Mi=[],wi=(0,l.Z)({},Mt),ma=!0,Ci=!1,bi=void 0;try{for(var fa=jr._models[Symbol.iterator](),Ks;!(ma=(Ks=fa.next()).done);ma=!0){var Es=Ks.value;wi[Es.namespace]=Rn(Es.reducers,Es.state,Rr._handleActions),Es.effects&&Mi.push(jr._getSaga(Es.effects,Es,_i,Rr.get("onEffect"),Ye))}}catch(Se){Ci=!0,bi=Se}finally{try{!ma&&fa.return!=null&&fa.return()}finally{if(Ci)throw bi}}var Wi=Rr.get("onReducer"),ka=Rr.get("extraReducers");fr()(Object.keys(ka).every(function(Se){return!(Se in wi)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(wi).join(", "))),jr._store=yi({reducers:ye(),initialState:Ye.initialState||{},plugin:Rr,createOpts:Qe,sagaMiddleware:Ii,promiseMiddleware:Hi});var ea=jr._store;ea.runSaga=Ii.run,ea.asyncReducers={};var ki=Rr.get("onStateChange"),va=!0,Ba=!1,Ka=void 0;try{for(var eo=function(){var yr=so.value;ea.subscribe(function(){yr(ea.getState())})},qa=ki[Symbol.iterator](),so;!(va=(so=qa.next()).done);va=!0)eo()}catch(Se){Ba=!0,Ka=Se}finally{try{!va&&qa.return!=null&&qa.return()}finally{if(Ba)throw Ka}}Mi.forEach(Ii.run),hr(jr);var Ya={},Ys=!0,Ms=!1,da=void 0;try{for(var Ua=this._models[Symbol.iterator](),As;!(Ys=(As=Ua.next()).done);Ys=!0){var ga=As.value;ga.subscriptions&&(Ya[ga.namespace]=ls(ga.subscriptions,ga,jr,_i))}}catch(Se){Ms=!0,da=Se}finally{try{!Ys&&Ua.return!=null&&Ua.return()}finally{if(Ms)throw da}}jr.model=nn.bind(jr,ye,_i,Ya),jr.unmodel=gn.bind(jr,ye,wi,Ya),jr.replaceModel=Qn.bind(jr,ye,wi,Ya,_i);function ye(){return Wi((0,c.UY)((0,l.Z)({},wi,ka,jr._store?jr._store.asyncReducers:{})))}}}var _o=e(37573),To=e(45097),Vo=e(4676);function uo(Ye){Ye()}let ca=uo;const cs=Ye=>ca=Ye,mo=()=>ca,vo=Symbol.for("react-redux-context"),go=typeof globalThis!="undefined"?globalThis:{};function hi(){var Ye;if(!i.createContext)return{};const Qe=(Ye=go[vo])!=null?Ye:go[vo]=new Map;let Mt=Qe.get(i.createContext);return Mt||(Mt=i.createContext(null),Qe.set(i.createContext,Mt)),Mt}const oi=hi();var Fa=null;function Va(Ye=oi){return function(){return(0,i.useContext)(Ye)}}const Xa=Va(),lo=()=>{throw new Error("uSES not initialized!")};let co=lo;const Po=Ye=>{co=Ye},Qa=(Ye,Qe)=>Ye===Qe;function Lo(Ye=oi){const Qe=Ye===oi?Xa:Va(Ye);return function(Kt,hr={}){const{equalityFn:Rr=Qa,stabilityCheck:jr=void 0,noopCheck:vn=void 0}=typeof hr=="function"?{equalityFn:hr}:hr,{store:nn,subscription:gn,getServerState:Qn,stabilityCheck:ni,noopCheck:_i}=Qe(),Ii=(0,i.useRef)(!0),Hi=(0,i.useCallback)({[Kt.name](wi){return Kt(wi)}}[Kt.name],[Kt,ni,jr]),Mi=co(gn.addNestedSub,nn.getState,Qn||nn.getState,Hi,Rr);return(0,i.useDebugValue)(Mi),Mi}}const yo=Lo();var Ko=e(72308),Tu=e(87488),_u=e(94266),fo=e.n(_u),fs=e(23265);const zu=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Mo(Ye,Qe,Mt,Kt,{areStatesEqual:hr,areOwnPropsEqual:Rr,areStatePropsEqual:jr}){let vn=!1,nn,gn,Qn,ni,_i;function Ii(Ci,bi){return nn=Ci,gn=bi,Qn=Ye(nn,gn),ni=Qe(Kt,gn),_i=Mt(Qn,ni,gn),vn=!0,_i}function Hi(){return Qn=Ye(nn,gn),Qe.dependsOnOwnProps&&(ni=Qe(Kt,gn)),_i=Mt(Qn,ni,gn),_i}function Mi(){return Ye.dependsOnOwnProps&&(Qn=Ye(nn,gn)),Qe.dependsOnOwnProps&&(ni=Qe(Kt,gn)),_i=Mt(Qn,ni,gn),_i}function wi(){const Ci=Ye(nn,gn),bi=!jr(Ci,Qn);return Qn=Ci,bi&&(_i=Mt(Qn,ni,gn)),_i}function ma(Ci,bi){const fa=!Rr(bi,gn),Ks=!hr(Ci,nn,bi,gn);return nn=Ci,gn=bi,fa&&Ks?Hi():fa?Mi():Ks?wi():_i}return function(bi,fa){return vn?ma(bi,fa):Ii(bi,fa)}}function Io(Ye,Qe){let{initMapStateToProps:Mt,initMapDispatchToProps:Kt,initMergeProps:hr}=Qe,Rr=(0,Tu.Z)(Qe,zu);const jr=Mt(Ye,Rr),vn=Kt(Ye,Rr),nn=hr(Ye,Rr);return Mo(jr,vn,nn,Ye,Rr)}function Us(Ye,Qe){const Mt={};for(const Kt in Ye){const hr=Ye[Kt];typeof hr=="function"&&(Mt[Kt]=(...Rr)=>Qe(hr(...Rr)))}return Mt}function ou(Ye){return function(Mt){const Kt=Ye(Mt);function hr(){return Kt}return hr.dependsOnOwnProps=!1,hr}}function jo(Ye){return Ye.dependsOnOwnProps?!!Ye.dependsOnOwnProps:Ye.length!==1}function Do(Ye,Qe){return function(Kt,{displayName:hr}){const Rr=function(vn,nn){return Rr.dependsOnOwnProps?Rr.mapToProps(vn,nn):Rr.mapToProps(vn,void 0)};return Rr.dependsOnOwnProps=!0,Rr.mapToProps=function(vn,nn){Rr.mapToProps=Ye,Rr.dependsOnOwnProps=jo(Ye);let gn=Rr(vn,nn);return typeof gn=="function"&&(Rr.mapToProps=gn,Rr.dependsOnOwnProps=jo(gn),gn=Rr(vn,nn)),gn},Rr}}function Ls(Ye,Qe){return(Mt,Kt)=>{throw new Error(`Invalid value of type ${typeof Ye} for ${Qe} argument when connecting component ${Kt.wrappedComponentName}.`)}}function bo(Ye){return Ye&&typeof Ye=="object"?ou(Qe=>Us(Ye,Qe)):Ye?typeof Ye=="function"?Do(Ye,"mapDispatchToProps"):Ls(Ye,"mapDispatchToProps"):ou(Qe=>({dispatch:Qe}))}function mu(Ye){return Ye?typeof Ye=="function"?Do(Ye,"mapStateToProps"):Ls(Ye,"mapStateToProps"):ou(()=>({}))}function Fo(Ye,Qe,Mt){return(0,Ko.Z)({},Mt,Ye,Qe)}function Qt(Ye){return function(Mt,{displayName:Kt,areMergedPropsEqual:hr}){let Rr=!1,jr;return function(nn,gn,Qn){const ni=Ye(nn,gn,Qn);return Rr?hr(ni,jr)||(jr=ni):(Rr=!0,jr=ni),jr}}}function cr(Ye){return Ye?typeof Ye=="function"?Qt(Ye):Ls(Ye,"mergeProps"):()=>Fo}function sr(){const Ye=mo();let Qe=null,Mt=null;return{clear(){Qe=null,Mt=null},notify(){Ye(()=>{let Kt=Qe;for(;Kt;)Kt.callback(),Kt=Kt.next})},get(){let Kt=[],hr=Qe;for(;hr;)Kt.push(hr),hr=hr.next;return Kt},subscribe(Kt){let hr=!0,Rr=Mt={callback:Kt,next:null,prev:Mt};return Rr.prev?Rr.prev.next=Rr:Qe=Rr,function(){!hr||Qe===null||(hr=!1,Rr.next?Rr.next.prev=Rr.prev:Mt=Rr.prev,Rr.prev?Rr.prev.next=Rr.next:Qe=Rr.next)}}}}const vr={notify(){},get:()=>[]};function wr(Ye,Qe){let Mt,Kt=vr,hr=0,Rr=!1;function jr(Mi){Qn();const wi=Kt.subscribe(Mi);let ma=!1;return()=>{ma||(ma=!0,wi(),ni())}}function vn(){Kt.notify()}function nn(){Hi.onStateChange&&Hi.onStateChange()}function gn(){return Rr}function Qn(){hr++,Mt||(Mt=Qe?Qe.addNestedSub(nn):Ye.subscribe(nn),Kt=sr())}function ni(){hr--,Mt&&hr===0&&(Mt(),Mt=void 0,Kt.clear(),Kt=vr)}function _i(){Rr||(Rr=!0,Qn())}function Ii(){Rr&&(Rr=!1,ni())}const Hi={addNestedSub:jr,notifyNestedSubs:vn,handleChangeWrapper:nn,isSubscribed:gn,trySubscribe:_i,tryUnsubscribe:Ii,getListeners:()=>Kt};return Hi}const Sn=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?i.useLayoutEffect:i.useEffect;function Un(Ye,Qe){return Ye===Qe?Ye!==0||Qe!==0||1/Ye===1/Qe:Ye!==Ye&&Qe!==Qe}function Ln(Ye,Qe){if(Un(Ye,Qe))return!0;if(typeof Ye!="object"||Ye===null||typeof Qe!="object"||Qe===null)return!1;const Mt=Object.keys(Ye),Kt=Object.keys(Qe);if(Mt.length!==Kt.length)return!1;for(let hr=0;hr<Mt.length;hr++)if(!Object.prototype.hasOwnProperty.call(Qe,Mt[hr])||!Un(Ye[Mt[hr]],Qe[Mt[hr]]))return!1;return!0}const Gn=["reactReduxForwardedRef"];let ur=lo;const Fr=Ye=>{ur=Ye},xr=null,mn=[null,null],Hn=Ye=>{try{return JSON.stringify(Ye)}catch(Qe){return String(Ye)}};function ft(Ye,Qe,Mt){Sn(()=>Ye(...Qe),Mt)}function Pn(Ye,Qe,Mt,Kt,hr,Rr){Ye.current=Kt,Mt.current=!1,hr.current&&(hr.current=null,Rr())}function Vn(Ye,Qe,Mt,Kt,hr,Rr,jr,vn,nn,gn,Qn){if(!Ye)return()=>{};let ni=!1,_i=null;const Ii=()=>{if(ni||!vn.current)return;const Mi=Qe.getState();let wi,ma;try{wi=Kt(Mi,hr.current)}catch(Ci){ma=Ci,_i=Ci}ma||(_i=null),wi===Rr.current?jr.current||gn():(Rr.current=wi,nn.current=wi,jr.current=!0,Qn())};return Mt.onStateChange=Ii,Mt.trySubscribe(),Ii(),()=>{if(ni=!0,Mt.tryUnsubscribe(),Mt.onStateChange=null,_i)throw _i}}const li=()=>xr;function Qi(Ye,Qe){return Ye===Qe}let Nr=!1;function Li(Ye,Qe,Mt,{pure:Kt,areStatesEqual:hr=Qi,areOwnPropsEqual:Rr=Ln,areStatePropsEqual:jr=Ln,areMergedPropsEqual:vn=Ln,forwardRef:nn=!1,context:gn=oi}={}){const Qn=gn,ni=mu(Ye),_i=bo(Qe),Ii=cr(Mt),Hi=!!Ye;return wi=>{const ma=wi.displayName||wi.name||"Component",Ci=`Connect(${ma})`,bi={shouldHandleStateChanges:Hi,displayName:Ci,wrappedComponentName:ma,WrappedComponent:wi,initMapStateToProps:ni,initMapDispatchToProps:_i,initMergeProps:Ii,areStatesEqual:hr,areStatePropsEqual:jr,areOwnPropsEqual:Rr,areMergedPropsEqual:vn};function fa(Wi){const[ka,ea,ki]=i.useMemo(()=>{const{reactReduxForwardedRef:Mn}=Wi,Dn=(0,Tu.Z)(Wi,Gn);return[Wi.context,Mn,Dn]},[Wi]),va=i.useMemo(()=>ka&&ka.Consumer&&(0,fs.isContextConsumer)(i.createElement(ka.Consumer,null))?ka:Qn,[ka,Qn]),Ba=i.useContext(va),Ka=!!Wi.store&&!!Wi.store.getState&&!!Wi.store.dispatch,eo=!!Ba&&!!Ba.store,qa=Ka?Wi.store:Ba.store,so=eo?Ba.getServerState:qa.getState,Ya=i.useMemo(()=>Io(qa.dispatch,bi),[qa]),[Ys,Ms]=i.useMemo(()=>{if(!Hi)return mn;const Mn=wr(qa,Ka?void 0:Ba.subscription),Dn=Mn.notifyNestedSubs.bind(Mn);return[Mn,Dn]},[qa,Ka,Ba]),da=i.useMemo(()=>Ka?Ba:(0,Ko.Z)({},Ba,{subscription:Ys}),[Ka,Ba,Ys]),Ua=i.useRef(),As=i.useRef(ki),ga=i.useRef(),ye=i.useRef(!1),Se=i.useRef(!1),yr=i.useRef(!1),Jr=i.useRef();Sn(()=>(yr.current=!0,()=>{yr.current=!1}),[]);const br=i.useMemo(()=>()=>ga.current&&ki===As.current?ga.current:Ya(qa.getState(),ki),[qa,ki]),Qr=i.useMemo(()=>Dn=>Ys?Vn(Hi,qa,Ys,Ya,As,Ua,ye,yr,ga,Ms,Dn):()=>{},[Ys]);ft(Pn,[As,Ua,ye,ki,ga,Ms]);let Cn;try{Cn=ur(Qr,br,so?()=>Ya(so(),ki):br)}catch(Mn){throw Jr.current&&(Mn.message+=`
The error may be correlated with this previous error:
${Jr.current.stack}
`),Mn}Sn(()=>{Jr.current=void 0,ga.current=void 0,Ua.current=Cn});const ri=i.useMemo(()=>i.createElement(wi,(0,Ko.Z)({},Cn,{ref:ea})),[ea,wi,Cn]);return i.useMemo(()=>Hi?i.createElement(va.Provider,{value:da},ri):ri,[va,ri,da])}const Es=i.memo(fa);if(Es.WrappedComponent=wi,Es.displayName=fa.displayName=Ci,nn){const ka=i.forwardRef(function(ki,va){return i.createElement(Es,(0,Ko.Z)({},ki,{reactReduxForwardedRef:va}))});return ka.displayName=Ci,ka.WrappedComponent=wi,fo()(ka,wi)}return fo()(Es,wi)}}var ba=Li;function zr({store:Ye,context:Qe,children:Mt,serverState:Kt,stabilityCheck:hr="once",noopCheck:Rr="once"}){const jr=i.useMemo(()=>{const gn=wr(Ye);return{store:Ye,subscription:gn,getServerState:Kt?()=>Kt:void 0,stabilityCheck:hr,noopCheck:Rr}},[Ye,Kt,hr,Rr]),vn=i.useMemo(()=>Ye.getState(),[Ye]);Sn(()=>{const{subscription:gn}=jr;return gn.onStateChange=gn.notifyNestedSubs,gn.trySubscribe(),vn!==Ye.getState()&&gn.notifyNestedSubs(),()=>{gn.tryUnsubscribe(),gn.onStateChange=void 0}},[jr,vn]);const nn=Qe||oi;return i.createElement(nn.Provider,{value:jr},Mt)}var na=zr;function Ss(Ye=oi){const Qe=Ye===oi?Xa:Va(Ye);return function(){const{store:Kt}=Qe();return Kt}}const ci=Ss();function Vs(Ye=oi){const Qe=Ye===oi?ci:Ss(Ye);return function(){return Qe().dispatch}}const xo=Vs();Po(To.useSyncExternalStoreWithSelector),Fr(_o.useSyncExternalStore),cs(Vo.unstable_batchedUpdates);var Os=Object.defineProperty,xa=Object.getOwnPropertySymbols,ds=Object.prototype.hasOwnProperty,ks=Object.prototype.propertyIsEnumerable,In=(Ye,Qe,Mt)=>Qe in Ye?Os(Ye,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Ye[Qe]=Mt,gs=(Ye,Qe)=>{for(var Mt in Qe||(Qe={}))ds.call(Qe,Mt)&&In(Ye,Mt,Qe[Mt]);if(xa)for(var Mt of xa(Qe))ks.call(Qe,Mt)&&In(Ye,Mt,Qe[Mt]);return Ye};function Ns(Ye){const Qe=create(Ye,{initialReducer:{},setupApp(){}}),Mt=Qe.start;return Qe.router=Kt,Qe.start=hr,Qe;function Kt(Rr){Qe._router=Rr}function hr(Rr){if(typeof Rr!="undefined")throw new Error("dva.start() should not be called with any arguments.");Qe._store||Mt.call(Qe);const jr=Qe._store,vn=Qe._router;return nn=>React.createElement(Provider,{store:jr},vn(gs({app:Qe},nn)))}}},37989:function(d,g,e){"use strict";e.d(g,{fi:function(){return _},m8:function(){return p}});var r=e(19340),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(L,C,D)=>C in L?i(L,C,{enumerable:!0,configurable:!0,writable:!0,value:D}):L[C]=D,a=(L,C)=>{for(var D in C||(C={}))s.call(C,D)&&u(L,D,C[D]);if(f)for(var D of f(C))h.call(C,D)&&u(L,D,C[D]);return L},x=(L,C)=>l(L,c(C));let p,y="/";function _(L){let C;return L.type==="hash"?C=(0,r.q_)():L.type==="memory"?C=(0,r.PP)(L):C=(0,r.lX)(),L.basename&&(y=L.basename),p=x(a({},C),{push(D,B){C.push(S(D,C),B)},replace(D,B){C.replace(S(D,C),B)},get location(){return C.location},get action(){return C.action}}),C}function b(L){L&&(p=L)}function S(L,C){if(typeof L=="string")return`${R(y)}${L}`;if(typeof L=="object"){const D=C.location.pathname;return x(a({},L),{pathname:L.pathname?`${R(y)}${L.pathname}`:D})}else throw new Error(`Unexpected to: ${L}`)}function R(L){return L.slice(-1)==="/"?L.slice(0,-1):L}},5085:function(d,g,e){"use strict";e.d(g,{gD:function(){return cn},We:function(){return or}});var r={};e.r(r),e.d(r,{dva:function(){return a}});var i={};e.r(i),e.d(i,{innerProvider:function(){return He}});var l={};e.r(l),e.d(l,{rootContainer:function(){return Pe}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return Zt}});var f={};e.r(f),e.d(f,{i18nProvider:function(){return Ar}});var s=e(8591),h=e(61186),u=e.n(h);u().locale("ZH-cn");const a={config:{onError(Lt){s.ZP.error(Lt.message,3)}}};var x=e(59301),p=e(12708),y=e.n(p),_=e(12373),b=e.n(_),S=e(44520),R=e.n(S),L=e(19747),C=e.n(L);function D(){return D=Object.assign||function(Lt){for(var vt=1;vt<arguments.length;vt++){var yt=arguments[vt];for(var jt in yt)Object.prototype.hasOwnProperty.call(yt,jt)&&(Lt[jt]=yt[jt])}return Lt},D.apply(this,arguments)}function B(Lt,vt){Lt.prototype=Object.create(vt.prototype),Lt.prototype.constructor=Lt,$(Lt,vt)}function $(Lt,vt){return $=Object.setPrototypeOf||function(yt,jt){return yt.__proto__=jt,yt},$(Lt,vt)}function U(Lt,vt){if(Lt==null)return{};var yt,jt,Cr={},gr=Object.keys(Lt);for(jt=0;jt<gr.length;jt++)vt.indexOf(yt=gr[jt])>=0||(Cr[yt]=Lt[yt]);return Cr}var K={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},V={rel:["amphtml","canonical","alternate"]},G={type:["application/ld+json"]},oe={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},ae=Object.keys(K).map(function(Lt){return K[Lt]}),le={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},q=Object.keys(le).reduce(function(Lt,vt){return Lt[le[vt]]=vt,Lt},{}),J=function(Lt,vt){for(var yt=Lt.length-1;yt>=0;yt-=1){var jt=Lt[yt];if(Object.prototype.hasOwnProperty.call(jt,vt))return jt[vt]}return null},Y=function(Lt){var vt=J(Lt,K.TITLE),yt=J(Lt,"titleTemplate");if(Array.isArray(vt)&&(vt=vt.join("")),yt&&vt)return yt.replace(/%s/g,function(){return vt});var jt=J(Lt,"defaultTitle");return vt||jt||void 0},ue=function(Lt){return J(Lt,"onChangeClientState")||function(){}},ne=function(Lt,vt){return vt.filter(function(yt){return yt[Lt]!==void 0}).map(function(yt){return yt[Lt]}).reduce(function(yt,jt){return D({},yt,jt)},{})},ee=function(Lt,vt){return vt.filter(function(yt){return yt[K.BASE]!==void 0}).map(function(yt){return yt[K.BASE]}).reverse().reduce(function(yt,jt){if(!yt.length)for(var Cr=Object.keys(jt),gr=0;gr<Cr.length;gr+=1){var ot=Cr[gr].toLowerCase();if(Lt.indexOf(ot)!==-1&&jt[ot])return yt.concat(jt)}return yt},[])},ie=function(Lt,vt,yt){var jt={};return yt.filter(function(Cr){return!!Array.isArray(Cr[Lt])||(Cr[Lt]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+Lt+' should be of type "Array". Instead found type "'+typeof Cr[Lt]+'"'),!1)}).map(function(Cr){return Cr[Lt]}).reverse().reduce(function(Cr,gr){var ot={};gr.filter(function(tn){for(var hn,Fn=Object.keys(tn),ti=0;ti<Fn.length;ti+=1){var jn=Fn[ti],Zi=jn.toLowerCase();vt.indexOf(Zi)===-1||hn==="rel"&&tn[hn].toLowerCase()==="canonical"||Zi==="rel"&&tn[Zi].toLowerCase()==="stylesheet"||(hn=Zi),vt.indexOf(jn)===-1||jn!=="innerHTML"&&jn!=="cssText"&&jn!=="itemprop"||(hn=jn)}if(!hn||!tn[hn])return!1;var xi=tn[hn].toLowerCase();return jt[hn]||(jt[hn]={}),ot[hn]||(ot[hn]={}),!jt[hn][xi]&&(ot[hn][xi]=!0,!0)}).reverse().forEach(function(tn){return Cr.push(tn)});for(var Mr=Object.keys(ot),yn=0;yn<Mr.length;yn+=1){var Zn=Mr[yn],mr=D({},jt[Zn],ot[Zn]);jt[Zn]=mr}return Cr},[]).reverse()},F=function(Lt,vt){if(Array.isArray(Lt)&&Lt.length){for(var yt=0;yt<Lt.length;yt+=1)if(Lt[yt][vt])return!0}return!1},M=function(Lt){return Array.isArray(Lt)?Lt.join(""):Lt},Q=function(Lt,vt){return Array.isArray(Lt)?Lt.reduce(function(yt,jt){return function(Cr,gr){for(var ot=Object.keys(Cr),Mr=0;Mr<ot.length;Mr+=1)if(gr[ot[Mr]]&&gr[ot[Mr]].includes(Cr[ot[Mr]]))return!0;return!1}(jt,vt)?yt.priority.push(jt):yt.default.push(jt),yt},{priority:[],default:[]}):{default:Lt}},de=function(Lt,vt){var yt;return D({},Lt,((yt={})[vt]=void 0,yt))},we=[K.NOSCRIPT,K.SCRIPT,K.STYLE],Ce=function(Lt,vt){return vt===void 0&&(vt=!0),vt===!1?String(Lt):String(Lt).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},je=function(Lt){return Object.keys(Lt).reduce(function(vt,yt){var jt=Lt[yt]!==void 0?yt+'="'+Lt[yt]+'"':""+yt;return vt?vt+" "+jt:jt},"")},Fe=function(Lt,vt){return vt===void 0&&(vt={}),Object.keys(Lt).reduce(function(yt,jt){return yt[le[jt]||jt]=Lt[jt],yt},vt)},Ft=function(Lt,vt){return vt.map(function(yt,jt){var Cr,gr=((Cr={key:jt})["data-rh"]=!0,Cr);return Object.keys(yt).forEach(function(ot){var Mr=le[ot]||ot;Mr==="innerHTML"||Mr==="cssText"?gr.dangerouslySetInnerHTML={__html:yt.innerHTML||yt.cssText}:gr[Mr]=yt[ot]}),x.createElement(Lt,gr)})},_t=function(Lt,vt,yt){switch(Lt){case K.TITLE:return{toComponent:function(){return Cr=vt.titleAttributes,(gr={key:jt=vt.title})["data-rh"]=!0,ot=Fe(Cr,gr),[x.createElement(K.TITLE,ot,jt)];var jt,Cr,gr,ot},toString:function(){return function(jt,Cr,gr,ot){var Mr=je(gr),yn=M(Cr);return Mr?"<"+jt+' data-rh="true" '+Mr+">"+Ce(yn,ot)+"</"+jt+">":"<"+jt+' data-rh="true">'+Ce(yn,ot)+"</"+jt+">"}(Lt,vt.title,vt.titleAttributes,yt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Fe(vt)},toString:function(){return je(vt)}};default:return{toComponent:function(){return Ft(Lt,vt)},toString:function(){return function(jt,Cr,gr){return Cr.reduce(function(ot,Mr){var yn=Object.keys(Mr).filter(function(tn){return!(tn==="innerHTML"||tn==="cssText")}).reduce(function(tn,hn){var Fn=Mr[hn]===void 0?hn:hn+'="'+Ce(Mr[hn],gr)+'"';return tn?tn+" "+Fn:Fn},""),Zn=Mr.innerHTML||Mr.cssText||"",mr=we.indexOf(jt)===-1;return ot+"<"+jt+' data-rh="true" '+yn+(mr?"/>":">"+Zn+"</"+jt+">")},"")}(Lt,vt,yt)}}}},Pt=function(Lt){var vt=Lt.baseTag,yt=Lt.bodyAttributes,jt=Lt.encode,Cr=Lt.htmlAttributes,gr=Lt.noscriptTags,ot=Lt.styleTags,Mr=Lt.title,yn=Mr===void 0?"":Mr,Zn=Lt.titleAttributes,mr=Lt.linkTags,tn=Lt.metaTags,hn=Lt.scriptTags,Fn={toComponent:function(){},toString:function(){return""}};if(Lt.prioritizeSeoTags){var ti=function(jn){var Zi=jn.linkTags,xi=jn.scriptTags,Si=jn.encode,Ei=Q(jn.metaTags,oe),mi=Q(Zi,V),Xi=Q(xi,G);return{priorityMethods:{toComponent:function(){return[].concat(Ft(K.META,Ei.priority),Ft(K.LINK,mi.priority),Ft(K.SCRIPT,Xi.priority))},toString:function(){return _t(K.META,Ei.priority,Si)+" "+_t(K.LINK,mi.priority,Si)+" "+_t(K.SCRIPT,Xi.priority,Si)}},metaTags:Ei.default,linkTags:mi.default,scriptTags:Xi.default}}(Lt);Fn=ti.priorityMethods,mr=ti.linkTags,tn=ti.metaTags,hn=ti.scriptTags}return{priority:Fn,base:_t(K.BASE,vt,jt),bodyAttributes:_t("bodyAttributes",yt,jt),htmlAttributes:_t("htmlAttributes",Cr,jt),link:_t(K.LINK,mr,jt),meta:_t(K.META,tn,jt),noscript:_t(K.NOSCRIPT,gr,jt),script:_t(K.SCRIPT,hn,jt),style:_t(K.STYLE,ot,jt),title:_t(K.TITLE,{title:yn,titleAttributes:Zn},jt)}},qt=[],er=function(Lt,vt){var yt=this;vt===void 0&&(vt=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(jt){yt.context.helmet=jt},helmetInstances:{get:function(){return yt.canUseDOM?qt:yt.instances},add:function(jt){(yt.canUseDOM?qt:yt.instances).push(jt)},remove:function(jt){var Cr=(yt.canUseDOM?qt:yt.instances).indexOf(jt);(yt.canUseDOM?qt:yt.instances).splice(Cr,1)}}},this.context=Lt,this.canUseDOM=vt,vt||(Lt.helmet=Pt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},Jt=x.createContext({}),Xe=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),It=typeof document!="undefined",zt=function(Lt){function vt(yt){var jt;return(jt=Lt.call(this,yt)||this).helmetData=new er(jt.props.context,vt.canUseDOM),jt}return B(vt,Lt),vt.prototype.render=function(){return x.createElement(Jt.Provider,{value:this.helmetData.value},this.props.children)},vt}(x.Component);zt.canUseDOM=It,zt.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},zt.defaultProps={context:{}},zt.displayName="HelmetProvider";var st=function(Lt,vt){var yt,jt=document.head||document.querySelector(K.HEAD),Cr=jt.querySelectorAll(Lt+"[data-rh]"),gr=[].slice.call(Cr),ot=[];return vt&&vt.length&&vt.forEach(function(Mr){var yn=document.createElement(Lt);for(var Zn in Mr)Object.prototype.hasOwnProperty.call(Mr,Zn)&&(Zn==="innerHTML"?yn.innerHTML=Mr.innerHTML:Zn==="cssText"?yn.styleSheet?yn.styleSheet.cssText=Mr.cssText:yn.appendChild(document.createTextNode(Mr.cssText)):yn.setAttribute(Zn,Mr[Zn]===void 0?"":Mr[Zn]));yn.setAttribute("data-rh","true"),gr.some(function(mr,tn){return yt=tn,yn.isEqualNode(mr)})?gr.splice(yt,1):ot.push(yn)}),gr.forEach(function(Mr){return Mr.parentNode.removeChild(Mr)}),ot.forEach(function(Mr){return jt.appendChild(Mr)}),{oldTags:gr,newTags:ot}},bt=function(Lt,vt){var yt=document.getElementsByTagName(Lt)[0];if(yt){for(var jt=yt.getAttribute("data-rh"),Cr=jt?jt.split(","):[],gr=[].concat(Cr),ot=Object.keys(vt),Mr=0;Mr<ot.length;Mr+=1){var yn=ot[Mr],Zn=vt[yn]||"";yt.getAttribute(yn)!==Zn&&yt.setAttribute(yn,Zn),Cr.indexOf(yn)===-1&&Cr.push(yn);var mr=gr.indexOf(yn);mr!==-1&&gr.splice(mr,1)}for(var tn=gr.length-1;tn>=0;tn-=1)yt.removeAttribute(gr[tn]);Cr.length===gr.length?yt.removeAttribute("data-rh"):yt.getAttribute("data-rh")!==ot.join(",")&&yt.setAttribute("data-rh",ot.join(","))}},ht=function(Lt,vt){var yt=Lt.baseTag,jt=Lt.htmlAttributes,Cr=Lt.linkTags,gr=Lt.metaTags,ot=Lt.noscriptTags,Mr=Lt.onChangeClientState,yn=Lt.scriptTags,Zn=Lt.styleTags,mr=Lt.title,tn=Lt.titleAttributes;bt(K.BODY,Lt.bodyAttributes),bt(K.HTML,jt),function(jn,Zi){jn!==void 0&&document.title!==jn&&(document.title=M(jn)),bt(K.TITLE,Zi)}(mr,tn);var hn={baseTag:st(K.BASE,yt),linkTags:st(K.LINK,Cr),metaTags:st(K.META,gr),noscriptTags:st(K.NOSCRIPT,ot),scriptTags:st(K.SCRIPT,yn),styleTags:st(K.STYLE,Zn)},Fn={},ti={};Object.keys(hn).forEach(function(jn){var Zi=hn[jn],xi=Zi.newTags,Si=Zi.oldTags;xi.length&&(Fn[jn]=xi),Si.length&&(ti[jn]=hn[jn].oldTags)}),vt&&vt(),Mr(Lt,Fn,ti)},Je=null,Ue=function(Lt){function vt(){for(var jt,Cr=arguments.length,gr=new Array(Cr),ot=0;ot<Cr;ot++)gr[ot]=arguments[ot];return(jt=Lt.call.apply(Lt,[this].concat(gr))||this).rendered=!1,jt}B(vt,Lt);var yt=vt.prototype;return yt.shouldComponentUpdate=function(jt){return!C()(jt,this.props)},yt.componentDidUpdate=function(){this.emitChange()},yt.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},yt.emitChange=function(){var jt,Cr,gr=this.props.context,ot=gr.setHelmet,Mr=null,yn=(jt=gr.helmetInstances.get().map(function(Zn){var mr=D({},Zn.props);return delete mr.context,mr}),{baseTag:ee(["href"],jt),bodyAttributes:ne("bodyAttributes",jt),defer:J(jt,"defer"),encode:J(jt,"encodeSpecialCharacters"),htmlAttributes:ne("htmlAttributes",jt),linkTags:ie(K.LINK,["rel","href"],jt),metaTags:ie(K.META,["name","charset","http-equiv","property","itemprop"],jt),noscriptTags:ie(K.NOSCRIPT,["innerHTML"],jt),onChangeClientState:ue(jt),scriptTags:ie(K.SCRIPT,["src","innerHTML"],jt),styleTags:ie(K.STYLE,["cssText"],jt),title:Y(jt),titleAttributes:ne("titleAttributes",jt),prioritizeSeoTags:F(jt,"prioritizeSeoTags")});zt.canUseDOM?(Cr=yn,Je&&cancelAnimationFrame(Je),Cr.defer?Je=requestAnimationFrame(function(){ht(Cr,function(){Je=null})}):(ht(Cr),Je=null)):Pt&&(Mr=Pt(yn)),ot(Mr)},yt.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},yt.render=function(){return this.init(),null},vt}(x.Component);Ue.propTypes={context:Xe.isRequired},Ue.displayName="HelmetDispatcher";var ge=["children"],Ae=["children"],Me=function(Lt){function vt(){return Lt.apply(this,arguments)||this}B(vt,Lt);var yt=vt.prototype;return yt.shouldComponentUpdate=function(jt){return!b()(de(this.props,"helmetData"),de(jt,"helmetData"))},yt.mapNestedChildrenToProps=function(jt,Cr){if(!Cr)return null;switch(jt.type){case K.SCRIPT:case K.NOSCRIPT:return{innerHTML:Cr};case K.STYLE:return{cssText:Cr};default:throw new Error("<"+jt.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},yt.flattenArrayTypeChildren=function(jt){var Cr,gr=jt.child,ot=jt.arrayTypeChildren;return D({},ot,((Cr={})[gr.type]=[].concat(ot[gr.type]||[],[D({},jt.newChildProps,this.mapNestedChildrenToProps(gr,jt.nestedChildren))]),Cr))},yt.mapObjectTypeChildren=function(jt){var Cr,gr,ot=jt.child,Mr=jt.newProps,yn=jt.newChildProps,Zn=jt.nestedChildren;switch(ot.type){case K.TITLE:return D({},Mr,((Cr={})[ot.type]=Zn,Cr.titleAttributes=D({},yn),Cr));case K.BODY:return D({},Mr,{bodyAttributes:D({},yn)});case K.HTML:return D({},Mr,{htmlAttributes:D({},yn)});default:return D({},Mr,((gr={})[ot.type]=D({},yn),gr))}},yt.mapArrayTypeChildrenToProps=function(jt,Cr){var gr=D({},Cr);return Object.keys(jt).forEach(function(ot){var Mr;gr=D({},gr,((Mr={})[ot]=jt[ot],Mr))}),gr},yt.warnOnInvalidChildren=function(jt,Cr){return R()(ae.some(function(gr){return jt.type===gr}),typeof jt.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ae.join(", ")+" are allowed. Helmet does not support rendering <"+jt.type+"> elements. Refer to our API for more information."),R()(!Cr||typeof Cr=="string"||Array.isArray(Cr)&&!Cr.some(function(gr){return typeof gr!="string"}),"Helmet expects a string as a child of <"+jt.type+">. Did you forget to wrap your children in braces? ( <"+jt.type+">{``}</"+jt.type+"> ) Refer to our API for more information."),!0},yt.mapChildrenToProps=function(jt,Cr){var gr=this,ot={};return x.Children.forEach(jt,function(Mr){if(Mr&&Mr.props){var yn=Mr.props,Zn=yn.children,mr=U(yn,ge),tn=Object.keys(mr).reduce(function(Fn,ti){return Fn[q[ti]||ti]=mr[ti],Fn},{}),hn=Mr.type;switch(typeof hn=="symbol"?hn=hn.toString():gr.warnOnInvalidChildren(Mr,Zn),hn){case K.FRAGMENT:Cr=gr.mapChildrenToProps(Zn,Cr);break;case K.LINK:case K.META:case K.NOSCRIPT:case K.SCRIPT:case K.STYLE:ot=gr.flattenArrayTypeChildren({child:Mr,arrayTypeChildren:ot,newChildProps:tn,nestedChildren:Zn});break;default:Cr=gr.mapObjectTypeChildren({child:Mr,newProps:Cr,newChildProps:tn,nestedChildren:Zn})}}}),this.mapArrayTypeChildrenToProps(ot,Cr)},yt.render=function(){var jt=this.props,Cr=jt.children,gr=U(jt,Ae),ot=D({},gr),Mr=gr.helmetData;return Cr&&(ot=this.mapChildrenToProps(Cr,ot)),!Mr||Mr instanceof er||(Mr=new er(Mr.context,Mr.instances)),Mr?x.createElement(Ue,D({},ot,{context:Mr.value,helmetData:void 0})):x.createElement(Jt.Consumer,null,function(yn){return x.createElement(Ue,D({},ot,{context:yn}))})},vt}(x.Component);Me.propTypes={base:y().object,bodyAttributes:y().object,children:y().oneOfType([y().arrayOf(y().node),y().node]),defaultTitle:y().string,defer:y().bool,encodeSpecialCharacters:y().bool,htmlAttributes:y().object,link:y().arrayOf(y().object),meta:y().arrayOf(y().object),noscript:y().arrayOf(y().object),onChangeClientState:y().func,script:y().arrayOf(y().object),style:y().arrayOf(y().object),title:y().string,titleAttributes:y().object,titleTemplate:y().string,prioritizeSeoTags:y().bool,helmetData:y().object},Me.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Me.displayName="Helmet";const $e={},He=Lt=>x.createElement(zt,{context:$e},Lt);var nt=e(92736),ct=e(89070),Vt=e(93083),Wt=e(33143),De=e(28440),qe=e.n(De),Gt=Object.defineProperty,kt=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,Ct=(Lt,vt,yt)=>vt in Lt?Gt(Lt,vt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):Lt[vt]=yt,Yt=(Lt,vt)=>{for(var yt in vt||(vt={}))Ht.call(vt,yt)&&Ct(Lt,yt,vt[yt]);if(kt)for(var yt of kt(vt))$t.call(vt,yt)&&Ct(Lt,yt,vt[yt]);return Lt},We=(Lt,vt)=>{var yt={};for(var jt in Lt)Ht.call(Lt,jt)&&vt.indexOf(jt)<0&&(yt[jt]=Lt[jt]);if(Lt!=null&&kt)for(var jt of kt(Lt))vt.indexOf(jt)<0&&$t.call(Lt,jt)&&(yt[jt]=Lt[jt]);return yt};let fe=null;const _e=()=>(fe||(fe=or().applyPlugins({key:"antd",type:ct.ApplyPluginsType.modify,initialValue:Yt({},{componentSize:"middle"})})),fe);function Ot({children:Lt}){let vt=Lt;const[yt,jt]=x.useState(()=>{const gr=_e(),{appConfig:ot}=gr;return We(gr,["appConfig"])}),Cr=gr=>{jt(ot=>qe()({},ot,typeof gr=="function"?gr(ot):gr))};return yt.prefixCls&&nt.ZP.config({prefixCls:yt.prefixCls}),yt.iconPrefixCls&&nt.ZP.config({iconPrefixCls:yt.iconPrefixCls}),yt.theme&&nt.ZP.config({theme:yt.theme}),vt=x.createElement(nt.ZP,Yt({},yt),vt),vt=x.createElement(Vt.StyleProvider,{hashPriority:"high"},vt),vt=x.createElement(Wt.C.Provider,{value:Cr},x.createElement(Wt.S.Provider,{value:yt},vt)),vt}function Pe(Lt){return x.createElement(Ot,null,Lt)}var dt=e(17474);function Zt(Lt,vt){return x.createElement(dt.j,vt,Lt)}var Tt=e(65517),ke=e(57013),St=e(81863),be=Object.defineProperty,Ke=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Be=(Lt,vt,yt)=>vt in Lt?be(Lt,vt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):Lt[vt]=yt,kr=(Lt,vt)=>{for(var yt in vt||(vt={}))gt.call(vt,yt)&&Be(Lt,yt,vt[yt]);if(Ke)for(var yt of Ke(vt))Rt.call(vt,yt)&&Be(Lt,yt,vt[yt]);return Lt};function At(){var Lt,vt;const yt=getLocale();(Lt=moment)!=null&&Lt.locale&&moment.locale(((vt=localeInfo[yt])==null?void 0:vt.momentLocale)||"zh-cn"),setIntl(yt)}const Kr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,qr=Lt=>{var vt;const yt=(0,ke.Kd)(),[jt,Cr]=x.useState(yt),[gr,ot]=x.useState(()=>(0,ke.lw)(jt,!0)),Mr=mr=>{var tn,hn;(tn=u())!=null&&tn.locale&&u().locale(((hn=ke.H8[mr])==null?void 0:hn.momentLocale)||"en"),Cr(mr),ot((0,ke.lw)(mr))};Kr(()=>(ke.B.on(ke.PZ,Mr),()=>{ke.B.off(ke.PZ,Mr)}),[]);const yn=kr({},St.Z),Zn=(0,ke.Mg)();return x.createElement(nt.ZP,{direction:Zn,locale:((vt=ke.H8[jt])==null?void 0:vt.antd)||yn},x.createElement(ke.eU,{value:gr},Lt.children))};function Ar(Lt){return x.createElement(qr,null,Lt)}function Br(Lt){return Lt.default?typeof Lt.default=="function"?Lt.default():Lt.default:Lt}function _r(){return[{apply:Br(r),path:void 0},{apply:i,path:void 0},{apply:l,path:void 0},{apply:c,path:void 0},{apply:f,path:void 0}]}function Ur(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let sn=null;function cn(){return sn=ct.PluginManager.create({plugins:_r(),validKeys:Ur()}),sn}function or(){return sn}},89070:function(d,g,e){"use strict";e.d(g,{ApplyPluginsType:function(){return It},Link:function(){return J},Outlet:function(){return Y.j3},PluginManager:function(){return zt},connect:function(){return f.$j},getDvaApp:function(){return s.Q},history:function(){return st.m8},useAppData:function(){return G.Ov},useDispatch:function(){return f.I0},useLocation:function(){return Y.TH},useOutletContext:function(){return Y.bx},useParams:function(){return Y.UO},useSearchParams:function(){return V.lr},useSelector:function(){return f.v9}});var r=e(59301),i=e(33143);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(29413),s=e(17474),h=e(57013),u=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,b=(He,nt,ct)=>nt in He?u(He,nt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):He[nt]=ct,S=(He,nt)=>{for(var ct in nt||(nt={}))y.call(nt,ct)&&b(He,ct,nt[ct]);if(p)for(var ct of p(nt))_.call(nt,ct)&&b(He,ct,nt[ct]);return He},R=(He,nt)=>a(He,x(nt)),L=(He,nt)=>{var ct={};for(var Vt in He)y.call(He,Vt)&&nt.indexOf(Vt)<0&&(ct[Vt]=He[Vt]);if(He!=null&&p)for(var Vt of p(He))nt.indexOf(Vt)<0&&_.call(He,Vt)&&(ct[Vt]=He[Vt]);return ct};const C=He=>{var nt=He,{overlayClassName:ct}=nt,Vt=L(nt,["overlayClassName"]);return React.createElement(Dropdown,S({overlayClassName:ct},Vt))},D=He=>He.reduce((nt,ct)=>ct.lang?R(S({},nt),{[ct.lang]:ct}):nt,{}),B={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Nederlands",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},$=He=>React.createElement(React.Fragment,null);var U=e(38329),K=e(38127),V=e(32451),G=e(95254),oe=e(87296);function ae(He,nt){var ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var Wt=r.useRef(typeof IntersectionObserver=="function"),De=r.useRef(null);return r.useEffect(function(){if(!(!He.current||!Wt.current||Vt.disabled))return De.current=new IntersectionObserver(function(qe){var Gt=(0,oe.Z)(qe,1),kt=Gt[0];nt(kt)},ct),De.current.observe(He.current),function(){var qe;(qe=De.current)===null||qe===void 0||qe.disconnect()}},[nt,ct,Vt.disabled,He]),De.current}var le=["prefetch"];function q(He){var nt=r.useRef(null);return r.useEffect(function(){He&&(typeof He=="function"?He(nt.current):He.current=nt.current)}),nt}var J=r.forwardRef(function(He,nt){var ct,Vt=He.prefetch,Wt=(0,K.Z)(He,le),De=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},qe=De.defaultPrefetch,Gt=De.defaultPrefetchTimeout,kt=(Vt===!0?"intent":Vt===!1?"none":Vt)||qe;if(!["intent","render","viewport","none"].includes(kt))throw new Error("Invalid prefetch value ".concat(kt," found in Link component"));var Ht=(0,G.Ov)(),$t=typeof He.to=="string"?He.to:(ct=He.to)===null||ct===void 0?void 0:ct.pathname,Ct=r.useRef(!1),Yt=q(nt),We=function(Ot){if(kt==="intent"){var Pe=Ot.target||{};Pe.preloadTimeout||(Pe.preloadTimeout=setTimeout(function(){var dt;Pe.preloadTimeout=null,(dt=Ht.preloadRoute)===null||dt===void 0||dt.call(Ht,$t)},He.prefetchTimeout||Gt))}},fe=function(Ot){if(kt==="intent"){var Pe=Ot.target||{};Pe.preloadTimeout&&(clearTimeout(Pe.preloadTimeout),Pe.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(kt==="render"&&!Ct.current){var _e;(_e=Ht.preloadRoute)===null||_e===void 0||_e.call(Ht,$t),Ct.current=!0}},[kt,$t]),ae(Yt,function(_e){if(_e!=null&&_e.isIntersecting){var Ot;(Ot=Ht.preloadRoute)===null||Ot===void 0||Ot.call(Ht,$t)}},{rootMargin:"100px"},{disabled:kt!=="viewport"}),$t?r.createElement(V.rU,(0,U.Z)({onMouseEnter:We,onMouseLeave:fe,ref:Yt},Wt),He.children):null}),Y=e(35338),ue=e(8616);function ne(){"use strict";ne=function(){return nt};var He,nt={},ct=Object.prototype,Vt=ct.hasOwnProperty,Wt=Object.defineProperty||function(Ar,Br,_r){Ar[Br]=_r.value},De=typeof Symbol=="function"?Symbol:{},qe=De.iterator||"@@iterator",Gt=De.asyncIterator||"@@asyncIterator",kt=De.toStringTag||"@@toStringTag";function Ht(Ar,Br,_r){return Object.defineProperty(Ar,Br,{value:_r,enumerable:!0,configurable:!0,writable:!0}),Ar[Br]}try{Ht({},"")}catch(Ar){Ht=function(_r,Ur,sn){return _r[Ur]=sn}}function $t(Ar,Br,_r,Ur){var sn=Br&&Br.prototype instanceof Pe?Br:Pe,cn=Object.create(sn.prototype),or=new Kr(Ur||[]);return Wt(cn,"_invoke",{value:Rt(Ar,_r,or)}),cn}function Ct(Ar,Br,_r){try{return{type:"normal",arg:Ar.call(Br,_r)}}catch(Ur){return{type:"throw",arg:Ur}}}nt.wrap=$t;var Yt="suspendedStart",We="suspendedYield",fe="executing",_e="completed",Ot={};function Pe(){}function dt(){}function Zt(){}var Tt={};Ht(Tt,qe,function(){return this});var ke=Object.getPrototypeOf,St=ke&&ke(ke(qr([])));St&&St!==ct&&Vt.call(St,qe)&&(Tt=St);var be=Zt.prototype=Pe.prototype=Object.create(Tt);function Ke(Ar){["next","throw","return"].forEach(function(Br){Ht(Ar,Br,function(_r){return this._invoke(Br,_r)})})}function gt(Ar,Br){function _r(sn,cn,or,Lt){var vt=Ct(Ar[sn],Ar,cn);if(vt.type!=="throw"){var yt=vt.arg,jt=yt.value;return jt&&(0,ue.Z)(jt)=="object"&&Vt.call(jt,"__await")?Br.resolve(jt.__await).then(function(Cr){_r("next",Cr,or,Lt)},function(Cr){_r("throw",Cr,or,Lt)}):Br.resolve(jt).then(function(Cr){yt.value=Cr,or(yt)},function(Cr){return _r("throw",Cr,or,Lt)})}Lt(vt.arg)}var Ur;Wt(this,"_invoke",{value:function(cn,or){function Lt(){return new Br(function(vt,yt){_r(cn,or,vt,yt)})}return Ur=Ur?Ur.then(Lt,Lt):Lt()}})}function Rt(Ar,Br,_r){var Ur=Yt;return function(sn,cn){if(Ur===fe)throw new Error("Generator is already running");if(Ur===_e){if(sn==="throw")throw cn;return{value:He,done:!0}}for(_r.method=sn,_r.arg=cn;;){var or=_r.delegate;if(or){var Lt=Be(or,_r);if(Lt){if(Lt===Ot)continue;return Lt}}if(_r.method==="next")_r.sent=_r._sent=_r.arg;else if(_r.method==="throw"){if(Ur===Yt)throw Ur=_e,_r.arg;_r.dispatchException(_r.arg)}else _r.method==="return"&&_r.abrupt("return",_r.arg);Ur=fe;var vt=Ct(Ar,Br,_r);if(vt.type==="normal"){if(Ur=_r.done?_e:We,vt.arg===Ot)continue;return{value:vt.arg,done:_r.done}}vt.type==="throw"&&(Ur=_e,_r.method="throw",_r.arg=vt.arg)}}}function Be(Ar,Br){var _r=Br.method,Ur=Ar.iterator[_r];if(Ur===He)return Br.delegate=null,_r==="throw"&&Ar.iterator.return&&(Br.method="return",Br.arg=He,Be(Ar,Br),Br.method==="throw")||_r!=="return"&&(Br.method="throw",Br.arg=new TypeError("The iterator does not provide a '"+_r+"' method")),Ot;var sn=Ct(Ur,Ar.iterator,Br.arg);if(sn.type==="throw")return Br.method="throw",Br.arg=sn.arg,Br.delegate=null,Ot;var cn=sn.arg;return cn?cn.done?(Br[Ar.resultName]=cn.value,Br.next=Ar.nextLoc,Br.method!=="return"&&(Br.method="next",Br.arg=He),Br.delegate=null,Ot):cn:(Br.method="throw",Br.arg=new TypeError("iterator result is not an object"),Br.delegate=null,Ot)}function kr(Ar){var Br={tryLoc:Ar[0]};1 in Ar&&(Br.catchLoc=Ar[1]),2 in Ar&&(Br.finallyLoc=Ar[2],Br.afterLoc=Ar[3]),this.tryEntries.push(Br)}function At(Ar){var Br=Ar.completion||{};Br.type="normal",delete Br.arg,Ar.completion=Br}function Kr(Ar){this.tryEntries=[{tryLoc:"root"}],Ar.forEach(kr,this),this.reset(!0)}function qr(Ar){if(Ar||Ar===""){var Br=Ar[qe];if(Br)return Br.call(Ar);if(typeof Ar.next=="function")return Ar;if(!isNaN(Ar.length)){var _r=-1,Ur=function sn(){for(;++_r<Ar.length;)if(Vt.call(Ar,_r))return sn.value=Ar[_r],sn.done=!1,sn;return sn.value=He,sn.done=!0,sn};return Ur.next=Ur}}throw new TypeError((0,ue.Z)(Ar)+" is not iterable")}return dt.prototype=Zt,Wt(be,"constructor",{value:Zt,configurable:!0}),Wt(Zt,"constructor",{value:dt,configurable:!0}),dt.displayName=Ht(Zt,kt,"GeneratorFunction"),nt.isGeneratorFunction=function(Ar){var Br=typeof Ar=="function"&&Ar.constructor;return!!Br&&(Br===dt||(Br.displayName||Br.name)==="GeneratorFunction")},nt.mark=function(Ar){return Object.setPrototypeOf?Object.setPrototypeOf(Ar,Zt):(Ar.__proto__=Zt,Ht(Ar,kt,"GeneratorFunction")),Ar.prototype=Object.create(be),Ar},nt.awrap=function(Ar){return{__await:Ar}},Ke(gt.prototype),Ht(gt.prototype,Gt,function(){return this}),nt.AsyncIterator=gt,nt.async=function(Ar,Br,_r,Ur,sn){sn===void 0&&(sn=Promise);var cn=new gt($t(Ar,Br,_r,Ur),sn);return nt.isGeneratorFunction(Br)?cn:cn.next().then(function(or){return or.done?or.value:cn.next()})},Ke(be),Ht(be,kt,"Generator"),Ht(be,qe,function(){return this}),Ht(be,"toString",function(){return"[object Generator]"}),nt.keys=function(Ar){var Br=Object(Ar),_r=[];for(var Ur in Br)_r.push(Ur);return _r.reverse(),function sn(){for(;_r.length;){var cn=_r.pop();if(cn in Br)return sn.value=cn,sn.done=!1,sn}return sn.done=!0,sn}},nt.values=qr,Kr.prototype={constructor:Kr,reset:function(Br){if(this.prev=0,this.next=0,this.sent=this._sent=He,this.done=!1,this.delegate=null,this.method="next",this.arg=He,this.tryEntries.forEach(At),!Br)for(var _r in this)_r.charAt(0)==="t"&&Vt.call(this,_r)&&!isNaN(+_r.slice(1))&&(this[_r]=He)},stop:function(){this.done=!0;var Br=this.tryEntries[0].completion;if(Br.type==="throw")throw Br.arg;return this.rval},dispatchException:function(Br){if(this.done)throw Br;var _r=this;function Ur(yt,jt){return or.type="throw",or.arg=Br,_r.next=yt,jt&&(_r.method="next",_r.arg=He),!!jt}for(var sn=this.tryEntries.length-1;sn>=0;--sn){var cn=this.tryEntries[sn],or=cn.completion;if(cn.tryLoc==="root")return Ur("end");if(cn.tryLoc<=this.prev){var Lt=Vt.call(cn,"catchLoc"),vt=Vt.call(cn,"finallyLoc");if(Lt&&vt){if(this.prev<cn.catchLoc)return Ur(cn.catchLoc,!0);if(this.prev<cn.finallyLoc)return Ur(cn.finallyLoc)}else if(Lt){if(this.prev<cn.catchLoc)return Ur(cn.catchLoc,!0)}else{if(!vt)throw new Error("try statement without catch or finally");if(this.prev<cn.finallyLoc)return Ur(cn.finallyLoc)}}}},abrupt:function(Br,_r){for(var Ur=this.tryEntries.length-1;Ur>=0;--Ur){var sn=this.tryEntries[Ur];if(sn.tryLoc<=this.prev&&Vt.call(sn,"finallyLoc")&&this.prev<sn.finallyLoc){var cn=sn;break}}cn&&(Br==="break"||Br==="continue")&&cn.tryLoc<=_r&&_r<=cn.finallyLoc&&(cn=null);var or=cn?cn.completion:{};return or.type=Br,or.arg=_r,cn?(this.method="next",this.next=cn.finallyLoc,Ot):this.complete(or)},complete:function(Br,_r){if(Br.type==="throw")throw Br.arg;return Br.type==="break"||Br.type==="continue"?this.next=Br.arg:Br.type==="return"?(this.rval=this.arg=Br.arg,this.method="return",this.next="end"):Br.type==="normal"&&_r&&(this.next=_r),Ot},finish:function(Br){for(var _r=this.tryEntries.length-1;_r>=0;--_r){var Ur=this.tryEntries[_r];if(Ur.finallyLoc===Br)return this.complete(Ur.completion,Ur.afterLoc),At(Ur),Ot}},catch:function(Br){for(var _r=this.tryEntries.length-1;_r>=0;--_r){var Ur=this.tryEntries[_r];if(Ur.tryLoc===Br){var sn=Ur.completion;if(sn.type==="throw"){var cn=sn.arg;At(Ur)}return cn}}throw new Error("illegal catch attempt")},delegateYield:function(Br,_r,Ur){return this.delegate={iterator:qr(Br),resultName:_r,nextLoc:Ur},this.method==="next"&&(this.arg=He),Ot}},nt}var ee=e(63579);function ie(He,nt,ct,Vt,Wt,De,qe){try{var Gt=He[De](qe),kt=Gt.value}catch(Ht){ct(Ht);return}Gt.done?nt(kt):Promise.resolve(kt).then(Vt,Wt)}function F(He){return function(){var nt=this,ct=arguments;return new Promise(function(Vt,Wt){var De=He.apply(nt,ct);function qe(kt){ie(De,Vt,Wt,qe,Gt,"next",kt)}function Gt(kt){ie(De,Vt,Wt,qe,Gt,"throw",kt)}qe(void 0)})}}var M=e(99227);function Q(He,nt){var ct=typeof Symbol!="undefined"&&He[Symbol.iterator]||He["@@iterator"];if(!ct){if(Array.isArray(He)||(ct=(0,M.Z)(He))||nt&&He&&typeof He.length=="number"){ct&&(He=ct);var Vt=0,Wt=function(){};return{s:Wt,n:function(){return Vt>=He.length?{done:!0}:{done:!1,value:He[Vt++]}},e:function(Ht){throw Ht},f:Wt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var De=!0,qe=!1,Gt;return{s:function(){ct=ct.call(He)},n:function(){var Ht=ct.next();return De=Ht.done,Ht},e:function(Ht){qe=!0,Gt=Ht},f:function(){try{!De&&ct.return!=null&&ct.return()}finally{if(qe)throw Gt}}}}var de=e(73825);function we(He){if(typeof Symbol!="undefined"&&He[Symbol.iterator]!=null||He["@@iterator"]!=null)return Array.from(He)}var Ce=e(66160);function je(He){return(0,de.Z)(He)||we(He)||(0,M.Z)(He)||(0,Ce.Z)()}function Fe(He,nt){if(!(He instanceof nt))throw new TypeError("Cannot call a class as a function")}var Ft=e(89878);function _t(He,nt){for(var ct=0;ct<nt.length;ct++){var Vt=nt[ct];Vt.enumerable=Vt.enumerable||!1,Vt.configurable=!0,"value"in Vt&&(Vt.writable=!0),Object.defineProperty(He,(0,Ft.Z)(Vt.key),Vt)}}function Pt(He,nt,ct){return nt&&_t(He.prototype,nt),ct&&_t(He,ct),Object.defineProperty(He,"prototype",{writable:!1}),He}var qt=e(65873);function er(He,nt){if(!He)throw new Error(nt)}function Jt(He){var nt=He.fns,ct=He.args;if(nt.length===1)return nt[0];var Vt=nt.pop();return nt.reduce(function(Wt,De){return function(){return De(Wt,ct)}},Vt)}function Xe(He){return!!He&&(0,ue.Z)(He)==="object"&&typeof He.then=="function"}var It=function(He){return He.compose="compose",He.modify="modify",He.event="event",He}({}),zt=function(){function He(nt){Fe(this,He),(0,qt.Z)(this,"opts",void 0),(0,qt.Z)(this,"hooks",{}),this.opts=nt}return Pt(He,[{key:"register",value:function(ct){var Vt=this;er(ct.apply,"plugin register failed, apply must supplied"),Object.keys(ct.apply).forEach(function(Wt){er(Vt.opts.validKeys.indexOf(Wt)>-1,"register failed, invalid key ".concat(Wt," ").concat(ct.path?"from plugin ".concat(ct.path):"",".")),Vt.hooks[Wt]=(Vt.hooks[Wt]||[]).concat(ct.apply[Wt])})}},{key:"getHooks",value:function(ct){var Vt=ct.split("."),Wt=je(Vt),De=Wt[0],qe=Wt.slice(1),Gt=this.hooks[De]||[];return qe.length&&(Gt=Gt.map(function(kt){try{var Ht=kt,$t=Q(qe),Ct;try{for($t.s();!(Ct=$t.n()).done;){var Yt=Ct.value;Ht=Ht[Yt]}}catch(We){$t.e(We)}finally{$t.f()}return Ht}catch(We){return null}}).filter(Boolean)),Gt}},{key:"applyPlugins",value:function(ct){var Vt=ct.key,Wt=ct.type,De=ct.initialValue,qe=ct.args,Gt=ct.async,kt=this.getHooks(Vt)||[];switch(qe&&er((0,ue.Z)(qe)==="object","applyPlugins failed, args must be plain object."),Gt&&er(Wt===It.modify||Wt===It.event,"async only works with modify and event type."),Wt){case It.modify:return Gt?kt.reduce(function(){var Ht=F(ne().mark(function $t(Ct,Yt){var We;return ne().wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(er(typeof Yt=="function"||(0,ue.Z)(Yt)==="object"||Xe(Yt),"applyPlugins failed, all hooks for key ".concat(Vt," must be function, plain object or Promise.")),!Xe(Ct)){_e.next=5;break}return _e.next=4,Ct;case 4:Ct=_e.sent;case 5:if(typeof Yt!="function"){_e.next=16;break}if(We=Yt(Ct,qe),!Xe(We)){_e.next=13;break}return _e.next=10,We;case 10:return _e.abrupt("return",_e.sent);case 13:return _e.abrupt("return",We);case 14:_e.next=21;break;case 16:if(!Xe(Yt)){_e.next=20;break}return _e.next=19,Yt;case 19:Yt=_e.sent;case 20:return _e.abrupt("return",(0,ee.Z)((0,ee.Z)({},Ct),Yt));case 21:case"end":return _e.stop()}},$t)}));return function($t,Ct){return Ht.apply(this,arguments)}}(),Xe(De)?De:Promise.resolve(De)):kt.reduce(function(Ht,$t){return er(typeof $t=="function"||(0,ue.Z)($t)==="object","applyPlugins failed, all hooks for key ".concat(Vt," must be function or plain object.")),typeof $t=="function"?$t(Ht,qe):(0,ee.Z)((0,ee.Z)({},Ht),$t)},De);case It.event:return F(ne().mark(function Ht(){var $t,Ct,Yt,We;return ne().wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:$t=Q(kt),_e.prev=1,$t.s();case 3:if((Ct=$t.n()).done){_e.next=12;break}if(Yt=Ct.value,er(typeof Yt=="function","applyPlugins failed, all hooks for key ".concat(Vt," must be function.")),We=Yt(qe),!(Gt&&Xe(We))){_e.next=10;break}return _e.next=10,We;case 10:_e.next=3;break;case 12:_e.next=17;break;case 14:_e.prev=14,_e.t0=_e.catch(1),$t.e(_e.t0);case 17:return _e.prev=17,$t.f(),_e.finish(17);case 20:case"end":return _e.stop()}},Ht,null,[[1,14,17,20]])}))();case It.compose:return function(){return Jt({fns:kt.concat(De),args:qe})()}}}}],[{key:"create",value:function(ct){var Vt=new He({validKeys:ct.validKeys});return ct.plugins.forEach(function(Wt){Vt.register(Wt)}),Vt}}]),He}(),st=e(37989);let bt=0,ht=0;function Je(He,nt){}function Ue(He){return JSON.stringify(He,null,2)}function ge(He){const nt=He.length>1?He.map(Ae).join(" "):He[0];return typeof nt=="object"?`${Ue(nt)}`:nt.toString()}function Ae(He){return typeof He=="object"?`${JSON.stringify(He)}`:He.toString()}const Me={log(...He){ge(He)},info(...He){ge(He)},warn(...He){ge(He)},error(...He){ge(He)},group(){ht++},groupCollapsed(){ht++},groupEnd(){ht&&--ht},clear(){},trace(...He){console.trace(...He)},profile(...He){console.profile(...He)},profileEnd(...He){console.profileEnd(...He)}},$e=()=>{}},33143:function(d,g,e){"use strict";e.d(g,{C:function(){return l},S:function(){return i}});var r=e(59301);const i=r.createContext(null),l=r.createContext(()=>{console.error("The 'useAntdConfigSetter()' method depends on the antd 'ConfigProvider', requires one of 'antd.configProvider' / 'antd.dark' / 'antd.compact' to be enabled.")})},17474:function(d,g,e){"use strict";e.d(g,{j:function(){return yc},Q:function(){return Oc}});var r=e(29413),i=e(89880),l=e.n(i),c=e(59301),f=e(89070),s=e(35390),h=Object.defineProperty,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,p=(I,O,k)=>O in I?h(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,y=(I,O)=>{for(var k in O||(O={}))a.call(O,k)&&p(I,k,O[k]);if(u)for(var k of u(O))x.call(O,k)&&p(I,k,O[k]);return I},b={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:I},{call:O,put:k}){return yield O(s.n1,I)},*appplySchool({payload:I},{call:O,put:k}){return yield O(s.bz,I)},*getSchoolOption({payload:I},{call:O,put:k}){return yield O(s.GY,I)},*getDepartmentOption({payload:I},{call:O,put:k}){return yield O(s.Ql,I)},*appplyDepartment({payload:I},{call:O,put:k}){return yield O(s.Zm,I)},*updateAccount({payload:I},{call:O,put:k}){return yield O(s.sG,I)},*cancelRealNameAuth({payload:I},{call:O,put:k}){return yield O(s.P,I)},*cancelProfessionalAuth({payload:I},{call:O,put:k}){return yield O(s.$f,I)},*applyProfessionalAuth({payload:I},{call:O,put:k}){return yield O(s.Ow,I)},*applyRealNameAuth({payload:I},{call:O,put:k}){return yield O(s.ht,I)},*getCode({payload:I},{call:O,put:k}){return yield O(s.Cq,I)},*bindPhone({payload:I},{call:O,put:k}){return yield O(s.eF,I)},*bindEmail({payload:I},{call:O,put:k}){return yield O(s.I8,I)},*updatePassword({payload:I},{call:O,put:k}){return yield O(s.gQ,I)},*unbindAccount({payload:I},{call:O,put:k}){return yield O(s.wi,I)},*getBasicInfo({payload:I},{call:O,put:k}){const me=yield O(s.o9,I);return yield k({type:"save",payload:{basicInfo:y({},me)}}),me},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:y({},I)}})}},reducers:{save(I,O){return y(y({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},S=e(13112),R=Object.defineProperty,L=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,B=(I,O,k)=>O in I?R(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,$=(I,O)=>{for(var k in O||(O={}))C.call(O,k)&&B(I,k,O[k]);if(L)for(var k of L(O))D.call(O,k)&&B(I,k,O[k]);return I},K={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:I,callback:O},{call:k,put:me}){return yield k(S.nZ,I)},*informUp({payload:I,callback:O},{call:k,put:me}){return yield k(S.TO,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:$({},I)}})}},reducers:{save(I,O){return $($({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},V=e(19381),G=Object.defineProperty,oe=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,q=(I,O,k)=>O in I?G(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,J=(I,O)=>{for(var k in O||(O={}))ae.call(O,k)&&q(I,k,O[k]);if(oe)for(var k of oe(O))le.call(O,k)&&q(I,k,O[k]);return I},ue={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:I,callback:O},{call:k,put:me}){const Re=yield k(V.SV,I);return yield me({type:"save",payload:{allList:J({},Re)}}),Re},*mineAttachment({payload:I,callback:O},{call:k,put:me}){const Re=yield k(V.zI,I);return yield me({type:"save",payload:{mineList:J({},Re)}}),Re},*fileImport({payload:I,callback:O},{call:k,put:me}){return yield k(V.tO,I)},*getDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k(V.Nm,I);return yield me({type:"save",payload:{detail:J({},Re)}}),Re},*updateVisits({payload:I,callback:O},{call:k,put:me}){return yield k(V.H,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:J({},I)}})}},reducers:{save(I,O){return J(J({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},ne=e(10813),ee=Object.defineProperty,ie=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,Q=(I,O,k)=>O in I?ee(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,de=(I,O)=>{for(var k in O||(O={}))F.call(O,k)&&Q(I,k,O[k]);if(ie)for(var k of ie(O))M.call(O,k)&&Q(I,k,O[k]);return I},Ce={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(ne.yq,I);return yield me({type:"save",payload:{boardsCategoryList:de({},Re.data)}}),Re.data},*getBoardsDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k(ne.dI,I);return yield me({type:"save",payload:{boardsDetail:de({},Re.data)}}),Re.data},*setTopping({payload:I,callback:O},{call:k,put:me}){return yield k(ne.cc,I)},*escTopping({payload:I,callback:O},{call:k,put:me}){return yield k(ne.CJ,I)},*getReplyList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(ne.PC,I);yield me({type:"save",payload:{replyList:de({},Re.data)}})},*createReply({payload:I,callback:O},{call:k,put:me}){return yield k(ne.PP,I)},*replyLike({payload:I,callback:O},{call:k,put:me}){return yield k(ne.NA,I)},*replyUnLike({payload:I,callback:O},{call:k,put:me}){return yield k(ne.YQ,I)},*deleteReply({payload:I,callback:O},{call:k,put:me}){return yield k(ne.Mf,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:de({},I)}})}},reducers:{save(I,O){return de(de({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},je=e(94941),Fe=Object.defineProperty,Ft=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,qt=(I,O,k)=>O in I?Fe(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,er=(I,O)=>{for(var k in O||(O={}))_t.call(O,k)&&qt(I,k,O[k]);if(Ft)for(var k of Ft(O))Pt.call(O,k)&&qt(I,k,O[k]);return I},Xe={namespace:"exercise",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,exerciseList:{},userExerciseList:{},statisticsList:{},exerciseCoursesList:{},brankList:{},editData:{},endGroups:{},actionTabs:{removeEventListenerExitScreen:!1},publishGroups:{},commonHeader:{},reviewExercise:{},reviewGroupExercise:{},workSetting:{},editRandomExercises:{},redoModal:{},exerciseUserInfo:{},examinationIntelligentSettings:{},exerciseExportHeadData:{},codeReviewDetail:{},exerciseIdentityPhotos:{},checkDomain:window.document.domain==="kepukehuan.educoder.net"||window.document.domain==="test-kepukehuan.educoder.net",order_type:"",order:"",updateIndex:null,saveExerciseDownUsers:null,NormalResult:{},course_groups:[],SumupDetail:{},ScoreRangesData:{}},effects:{*getScoreRangesData({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.$Q,I);return yield me({type:"save",payload:{ScoreRangesData:Re==null?void 0:Re.data}}),Re},*getQuestionResult({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je._U,I);return yield me({type:"save",payload:{NormalResult:Re}}),Re},*getUserExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.xA,I);return yield me({type:"save",payload:{userExerciseList:er({},(Re==null?void 0:Re.data)||{})}}),console.log("getUserExercise-res:",Re),Re==null?void 0:Re.data},*getExerciseIdentityPhotos({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.J,I);return yield me({type:"save",payload:{exerciseIdentityPhotos:er({},(Re==null?void 0:Re.data)||{})}}),Re==null?void 0:Re.data},*getExerciseExportHeadData({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.iw,I);return yield me({type:"save",payload:{exerciseExportHeadData:er({},Re)}}),Re},*getExerciseUserInfo({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.Ty,I);return(Re==null?void 0:Re.status)===0&&(yield me({type:"save",payload:er({},{exerciseUserInfo:er({},Re.data)})})),Re},*getExaminationIntelligentSettings({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.sA,I);return yield me({type:"save",payload:{examinationIntelligentSettings:er({},Re)}}),Re},*getRandomEditExercises({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.yu,I);return yield me({type:"save",payload:{editRandomExercises:er({},Re)}}),Re},*getExerciseList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.G$,I);if(Re!=null&&Re.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(Re.total_exercise_users)}catch(en){}return yield me({type:"save",payload:{exerciseList:er({},Re)}}),yield me({type:"save",payload:{order_type:I.order_type,order:I.order}}),Re},*getExerciseStatistics({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je._u,I);return yield me({type:"save",payload:{statisticsList:er({},Re)}}),Re},*getBrankList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.n$,I);return yield me({type:"save",payload:{brankList:er({},Re)}}),Re},*saveBanks({payload:I,callback:O},{call:k,put:me}){return yield k(je.lf,I)},*getExerciseCourses({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.N3,I);return yield me({type:"save",payload:{exerciseCoursesList:er({},Re)}}),Re},*addExercise({payload:I,callback:O},{call:k,put:me}){return yield k(je.uR,I)},*editExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.qf,I);return yield me({type:"save",payload:{editData:er({},Re)}}),Re},*getTagDiscipline({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.YY,I);return yield me({type:"save",payload:{tagDisciplineData:er({},Re)}}),Re},*editExerciseQuestion({payload:I,callback:O},{call:k,put:me}){return yield k(je.Di,I)},*addExerciseQuestion({payload:I,callback:O},{call:k,put:me}){return yield k(je.MK,I)},*exeriseMoveUpDown({payload:I,callback:O},{call:k,put:me}){return yield k(je.GK,I)},*getEndGroups({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.KE,I);return yield me({type:"save",payload:{endGroups:er({},Re)}}),Re},*getPublishGroups({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.ux,I);return yield me({type:"save",payload:{publishGroups:er({},Re)}}),Re},*getCommonHeader({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.UK,I);return yield me({type:"save",payload:{commonHeader:er({},Re)}}),Re},*getReviewExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.BJ,I);return yield me({type:"save",payload:{reviewExercise:er({},Re)}}),Re},*postReviewExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.pu,I);return yield me({type:"save",payload:{reviewExercise:er({},Re)}}),Re},*getCentralizeReviewExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.X4,I);return yield me({type:"save",payload:{reviewExercise:er({},Re)}}),Re},*clearData({payload:I,callback:O},{call:k,put:me}){yield me({type:"save",payload:{[I.key]:{}}})},*getReviewGroupExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.W4,I);return yield me({type:"save",payload:{reviewGroupExercise:er({},Re)}}),Re},*getWorkSetting({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.Ul,I);return yield me({type:"save",payload:{workSetting:er({},Re)}}),Re},*getRedoModal({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.tX,I);return yield me({type:"save",payload:{redoModal:er({},Re)}}),Re},*getRedoListModal({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.s,I);return yield me({type:"save",payload:{redoModal:er({},Re)}}),Re},*getCodeReviewDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.Xn,I);return yield me({type:"save",payload:{codeReviewDetail:er({},Re)}}),Re},*changeScore({payload:I,callback:O},{call:k,put:me}){return yield k(je.gG,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:er({},I)}})},*setUpdateIndex({payload:I},{call:O,put:k}){yield k({type:"save",payload:{updateIndex:I==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:I},{call:O,put:k}){yield k({type:"save",payload:{saveExerciseDownUsers:I}})}},reducers:{save(I,O){return er(er({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},It=e(89887),zt=Object.defineProperty,st=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,Je=(I,O,k)=>O in I?zt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ue=(I,O)=>{for(var k in O||(O={}))bt.call(O,k)&&Je(I,k,O[k]);if(st)for(var k of st(O))ht.call(O,k)&&Je(I,k,O[k]);return I},Ae={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(It.x_,I);return yield me({type:"save",payload:{detailList:Ue({},Re)}}),Re},*getTasksListDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k(It.QA,I);return yield me({type:"save",payload:{detailTaskList:Ue({},Re)}}),Re},*getTopisDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k(It.B6,I);return yield me({type:"save",payload:{detail:Ue({},Re)}}),Re},*getTasksDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k(It.y3,I);return yield me({type:"save",payload:{tasksDetail:Ue({},Re)}}),Re},*refuseTopic({payload:I,callback:O},{call:k,put:me}){return yield k(It.mM,I)},*agreeTopic({payload:I,callback:O},{call:k,put:me}){return yield k(It.je,I)},*getReplyList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(It.PC,I);yield me({type:"save",payload:{replyList:Ue({},Re)}})},*createReply({payload:I,callback:O},{call:k,put:me}){return yield k(It.PP,I)},*replyLike({payload:I,callback:O},{call:k,put:me}){return yield k(It.NA,I)},*replyUnLike({payload:I,callback:O},{call:k,put:me}){return yield k(It.YQ,I)},*deleteReply({payload:I,callback:O},{call:k,put:me}){return yield k(It.Mf,I)},*addTopicDefaultData({payload:I,callback:O},{call:k,put:me}){const Re=yield k(It.y0,I);yield me({type:"save",payload:{addTopicData:Ue({},Re)}})},*editTopicDefaultData({payload:I,callback:O},{call:k,put:me}){const Re=yield k(It.hL,I);return yield me({type:"save",payload:{editTopicData:Ue({},Re)}}),Re},*editTasksDefaultData({payload:I,callback:O},{call:k,put:me}){const Re=yield k(It._n,I);return yield me({type:"save",payload:{editTasksData:Ue({},Re)}}),Re},*addTopic({payload:I,callback:O},{call:k,put:me}){return yield k(It.Gr,I)},*editTopic({payload:I,callback:O},{call:k,put:me}){return yield k(It.wA,I)},*addTasks({payload:I,callback:O},{call:k,put:me}){return yield k(It.Sv,I)},*editTasks({payload:I,callback:O},{call:k,put:me}){return yield k(It.RP,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Ue({},I)}})}},reducers:{save(I,O){return Ue(Ue({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Me=e(89392),$e=e(36708),He=Object.defineProperty,nt=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,Wt=(I,O,k)=>O in I?He(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,De=(I,O)=>{for(var k in O||(O={}))ct.call(O,k)&&Wt(I,k,O[k]);if(nt)for(var k of nt(O))Vt.call(O,k)&&Wt(I,k,O[k]);return I},Gt={namespace:"shixunHomeworks",state:{name:"",loading:!0,workList:{},shixunWorkList:{},headerInfo:{},shixunWorkReport:{},codeReview:{},codeReviewDetail:{},workSetting:{},changeData:{},codeReviewCourse:{},referenceAnswer:{},publishGroups:{},endGroups:{},brankList:{},replyList:{},workDetail:{},commonHomeWorkAddDefaultData:{},studentWorkAddDefaultData:{},studentWorkEditDefaultData:{},commonHomeWorkEditDefaultData:{},studentWorkDetail:{},studentWorkSupplyDetail:{},studentWorkCommon:{},allStudentWorks:{},searchMemberList:{},searchProjectList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},homeworkAssistantPermissions:{},shixunAssistantPermission:{},courseAssistantPermission:{}},effects:{*getWorkList({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.h$,I);try{sessionStorage.all_student_works=JSON.stringify(Re.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(I),localStorage.setItem("all_student_works_param",JSON.stringify(I))}catch(en){}return yield me({type:"save",payload:{workList:De({},Re)}}),Re},*getShixunWorkHeadInfo({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.fK,I);try{}catch(en){}return yield me({type:"save",payload:{headerInfo:Re==null?void 0:Re.data}}),Re},*getShixunWorkList({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Z8,I);try{sessionStorage.all_student_works=JSON.stringify(Re.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(I),localStorage.setItem("all_student_works_param",JSON.stringify(I))}catch(en){}return yield me({type:"save",payload:{shixunWorkList:Re==null?void 0:Re.data,homeworkAssistantPermissions:Re.homework_assistant_permissions,shixunAssistantPermission:Re.shixun_assistant_permission,courseAssistantPermission:Re.course_assistant_permission}}),Re},*getCodeReview({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.RP,I);return yield me({type:"save",payload:{codeReview:De({},Re)}}),Re},*getCodeReviewDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Xn,I);return yield me({type:"save",payload:{codeReviewDetail:De({},Re)}}),Re},*getWorkDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.to,I);return yield me({type:"save",payload:{workDetail:De({},Re)}}),Re},*updateWork({payload:I,callback:O},{call:k,put:me}){return yield k($e.H,I)},*getShixunWorkReport({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.sw,I);try{Re.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(en){}return yield me({type:"save",payload:{shixunWorkReport:De({},Re)}}),Re},*getShixunWorkReports({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.cz,I);try{Re.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(en){}return yield me({type:"save",payload:{shixunWorkReport:De({},Re)}}),Re},*getWorkSetting({payload:I,callback:O},{call:k,put:me}){var Re,en;const $n=yield k($e.Ul,I);(Re=$n==null?void 0:$n.group_settings)==null||Re.map(Di=>{Di.value=Di.group_name,Di.id=Di.group_id,Di.group_id=[Di.group_id]}),(en=$n==null?void 0:$n.allow_late_settings)==null||en.map(Di=>{Di.value=Di.group_name,Di.id=Di.group_id,Di.group_id=[Di.group_id]});const dn={shixun_evaluation:$n.shixun_evaluation,challenge_settings:$n.challenge_settings};return yield me({type:"save",payload:{workSetting:De({},$n),changeData:(0,Me.cloneDeep)(dn)}}),$n},*updateSetting({payload:I,callback:O},{call:k,put:me}){return yield k($e.m7,I)},*getCodeReviewCourse({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.JG,I);return yield me({type:"save",payload:{codeReviewCourse:De({},Re)}}),Re},*exportShixunWorks({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Dx,I)},*getReferenceAnswer({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Q3,I);return yield me({type:"save",payload:{referenceAnswer:De({},Re)}}),Re},*getPublishGroups({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.ux,I);return yield me({type:"save",payload:{publishGroups:De({},Re)}}),Re},*getEndGroups({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.KE,I);return yield me({type:"save",payload:{endGroups:De({},Re)}}),Re},*getBrankList({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.n$,I);return yield me({type:"save",payload:{brankList:De({},Re)}}),Re},*changeScore({payload:I,callback:O},{call:k,put:me}){return yield k($e.gG,I)},*saveBanks({payload:I,callback:O},{call:k,put:me}){return yield k($e.lf,I)},*addCommonHomeWorkDefaultData({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Qt,I);return yield me({type:"save",payload:{commonHomeWorkAddDefaultData:De({},Re)}}),Re},*getSearchMemberList({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Lz,I);return yield me({type:"save",payload:{searchMemberList:De({},Re)}}),Re},*getProjectList({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.ku,I);return yield me({type:"save",payload:{searchProjectList:De({},Re)}}),Re},*addStudentWorkDefaultData({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.ak,I);return yield me({type:"save",payload:{studentWorkAddDefaultData:De({},Re)}}),Re},*editStudentWorkDefaultData({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.PW,I);return yield me({type:"save",payload:{studentWorkEditDefaultData:De({},Re)}}),Re},*editCommonHomeWorkDefaultData({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.BD,I);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:De({},Re)}}),Re},*editCommonHomeWorkDefaultBankData({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.pH,I);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:De({},Re)}}),Re},*getReplyList({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.PC,I);yield me({type:"save",payload:{replyList:De({},Re)}})},*getStudentWorkDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Hj,I);yield me({type:"save",payload:{studentWorkDetail:De({},Re)}})},*getStudentWorkSupplyDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.ub,I);yield me({type:"save",payload:{studentWorkSupplyDetail:De({},Re)}})},*getStudentWorkCommon({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.JA,I);yield me({type:"save",payload:{studentWorkCommon:De({},Re)}})},*getAllStudentWorks({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.ql,I);return yield me({type:"save",payload:{allStudentWorks:De({},Re)}}),Re},*getFileRepeatResult({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.oN,I);return yield me({type:"save",payload:{codeReview:De({},Re)}}),Re},*getFileRepeatDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k($e.Ti,I);return yield me({type:"save",payload:{codeReviewDetail:De({},Re)}}),Re},*createReply({payload:I,callback:O},{call:k,put:me}){return yield k($e.PP,I)},*replyLike({payload:I,callback:O},{call:k,put:me}){return yield k($e.NA,I)},*replyUnLike({payload:I,callback:O},{call:k,put:me}){return yield k($e.YQ,I)},*deleteReply({payload:I,callback:O},{call:k,put:me}){return yield k($e.Mf,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:De({},I)}})}},reducers:{save(I,O){return De(De({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},kt=e(92365),Ht=e(24065),$t=Object.defineProperty,Ct=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,fe=(I,O,k)=>O in I?$t(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,_e=(I,O)=>{for(var k in O||(O={}))Yt.call(O,k)&&fe(I,k,O[k]);if(Ct)for(var k of Ct(O))We.call(O,k)&&fe(I,k,O[k]);return I},Pe={namespace:"classroomList",state:{name:"",loading:!0,detailTopBanner:{copy_completed:!0},detailLeftMenus:{},detailLeftMenusNames:{},detailShixunsList:{},detailGraduationTopicsList:{},detailGraduationTaskList:{},detailExerciseList:{},detailPollsList:{},detailCommonHomeworksList:{},detailAttendancesList:{},detailAttendancesDetail:{},detailAnnouncementList:{},detailAttachmentList:{},detailCourseware:{},courseMine:{},detailVideoList:{},detailLiveVideoList:{},detailBoardList:{},courseGroups:{},allCourseGroups:{},detailCourseGroupsList:{},detailCoursStudentsList:{},detailCourseStatisticsList:{},detailAttendancesStatistic:{},detailCourseWorkscore:{},detailCourseActscore:{},coursesLists:{},shixunLists:{},schoolList:{},taskList:[],searchMemberList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},shareStatus:!1,AssistantObject:{},updateData:""},effects:{*setAssistantPermissions({payload:I},{call:O,put:k}){yield O(kt.gq,I)},*getAssistantPermissions({payload:I},{call:O,put:k}){if(!(0,Ht.eB)())return;const me=yield O(kt.rS,I);yield k({type:"save",payload:{AssistantObject:me.permissions}})},*getAiStatusQuery({payload:I},{call:O,put:k}){const me=yield O(kt.LH,I);return yield k({type:"save",payload:{cal_finish_if:me.cal_finish_if}}),me},*updateCoursePortraitData({payload:I},{call:O,put:k}){return yield O(kt.Z_,I)},*getUserPortraitConfig({payload:I},{call:O,put:k}){const me=yield O(kt._0,I);return yield k({type:"save",payload:{userPortraitConfig:me.data}}),me},*updateUserPortraitConfig({payload:I},{call:O,put:k}){return yield O(kt.r2,I)},*getClassroom({payload:I},{call:O,put:k}){const me=I,Re=yield O(kt.V8,I);return yield k({type:"save",payload:_e({listParams:me},Re)}),Re},*getClassroomTopBanner({payload:I},{call:O,put:k}){const me=yield O(kt.U_,I);return yield k({type:"save",payload:{detailTopBanner:me.status?{copy_completed:!0}:_e({},me)}}),me.status?{copy_completed:!0}:me},*getClassroomLeftMenus({payload:I},{call:O,put:k}){const me=yield O(kt.w9,I);let Re=[...(me==null?void 0:me.course_modules)||[],...(me==null?void 0:me.hidden_modules)||[]],en={};return Re==null||Re.forEach($n=>{en[$n.type]=$n.name}),yield k({type:"save",payload:{detailLeftMenus:_e({},me),detailLeftMenusNames:en}}),me},*getClassroomShixunsList({payload:I},{call:O,put:k}){const me=yield O(kt.Nd,I);yield k({type:"save",payload:{detailShixunsList:_e({},me)}})},*getClassroomTeacherShixunsList({payload:I},{call:O,put:k}){const me=yield O(kt.Gk,I);return yield k({type:"save",payload:{detailShixunsList:_e({},me)}}),me},*getClassroomCommonList({payload:I},{call:O,put:k}){const me=yield O(kt.Nd,I);yield k({type:"save",payload:{detailCommonHomeworksList:_e({},me)}})},*getClassroomTeacherCommonList({payload:I},{call:O,put:k}){const me=yield O(kt.Gk,I);return yield k({type:"save",payload:{detailCommonHomeworksList:_e({},me)}}),me},*getClassroomGraduationTopicsList({payload:I},{call:O,put:k}){const me=yield O(kt.yV,I);yield k({type:"save",payload:{detailGraduationTopicsList:_e({},me)}})},*getClassroomGraduationTaskList({payload:I},{call:O,put:k}){const me=yield O(kt.R2,I);yield k({type:"save",payload:{detailGraduationTaskList:_e({},me)}})},*getClassroomExercisesList({payload:I},{call:O,put:k}){const me=yield O(kt.N7,I);yield k({type:"save",payload:{detailExerciseList:_e({},me)}})},*getClassroomPollsList({payload:I},{call:O,put:k}){const me=yield O(kt.BR,I);yield k({type:"save",payload:{detailPollsList:_e({},me)}})},*getCourseGroups({payload:I},{call:O,put:k}){const me=yield O(kt.qB,I);yield k({type:"save",payload:{courseGroups:_e({},me)}})},*getAllCourseGroup({payload:I},{call:O,put:k}){const me=yield O(kt.c_,I);return yield k({type:"save",payload:{allCourseGroups:_e({},me)}}),me},*getClassroomCommonHomeworksList({payload:I},{call:O,put:k}){const me=yield O(kt.Al,I);yield k({type:"save",payload:{detailCommonHomeworksList:_e({},me)}})},*getClassroomAttendancesList({payload:I},{call:O,put:k}){const me=yield O(kt.Vw,I);yield k({type:"save",payload:{detailAttendancesList:_e({},me)}})},*getClassroomAttendancesStatistic({payload:I},{call:O,put:k}){const me=yield O(kt.Ls,I);yield k({type:"save",payload:{detailAttendancesStatistic:_e({},me)}})},*getAttendanceDetail({payload:I},{call:O,put:k}){const me=yield O(kt.zg,I);return yield k({type:"save",payload:{detailAttendancesDetail:_e({},me)}}),me},*getAnnouncementList({payload:I},{call:O,put:k}){const me=yield O(kt.QZ,I);yield k({type:"save",payload:{detailAnnouncementList:_e({},me)}})},*getAttachmentList({payload:I},{call:O,put:k}){const me=yield O(kt.KT,I);yield k({type:"save",payload:{detailAttachmentList:_e({},me.data)}})},*getCourseware({payload:I},{call:O,put:k}){const me=yield O(kt.ZT,I);yield k({type:"save",payload:{detailCourseware:_e({},me.data)}})},*getVideoList({payload:I},{call:O,put:k}){const me=yield O(kt.O3,I);yield k({type:"save",payload:{detailVideoList:_e({},me)}})},*getLiveVideoList({payload:I},{call:O,put:k}){const me=yield O(kt.DJ,I);yield k({type:"save",payload:{detailLiveVideoList:_e({},me)}})},*getCoursesMine({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.Ed,I);return yield me({type:"save",payload:{courseMine:_e({},Re)}}),Re.data},*getBoardList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.KP,I);return yield me({type:"save",payload:{detailBoardList:_e({},Re.data)}}),Re.data},*getCourseGroupsList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.kW,I);return yield me({type:"save",payload:{detailCourseGroupsList:_e({},Re)}}),Re},*getCourseStudentsList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.J2,I);return yield me({type:"save",payload:{detailCoursStudentsList:_e({},Re)}}),Re.data},*getCourseStatistics({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.g4,I);return yield me({type:"save",payload:{detailCourseStatisticsList:_e({},Re)}}),Re},*getCourseActscore({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.t1,I);return yield me({type:"save",payload:{detailCourseActscore:_e({},Re)}}),Re},*getCourseWorkscore({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.GV,I);return yield me({type:"save",payload:{detailCourseWorkscore:_e({},Re)}}),Re},*getShixunLists({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.Pj,I);return yield me({type:"save",payload:{shixunLists:_e({},Re)}}),Re},*getExperimentLists({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt._9,I);return yield me({type:"save",payload:{shixunLists:_e({},Re)}}),Re},*getShixunAiRecommendLists({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.Hn,I);return yield me({type:"save",payload:{shixunAiRecommendLists:_e({},Re)}}),Re},*getCoursesLists({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.W7,I);return yield me({type:"save",payload:{coursesLists:_e({},Re)}}),Re},*createCoursesHomework({payload:I,callback:O},{call:k,put:me}){return yield k(kt.Ds,I)},*createShixunHomework({payload:I,callback:O},{call:k,put:me}){return yield k(kt.aQ,I)},*createExperiment({payload:I,callback:O},{call:k,put:me}){return yield k(kt.BQ,I)},*getSchoolList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.K$,I);return yield me({type:"save",payload:{schoolList:_e({},Re.school_names)}}),Re.school_names},*searchSchoolTeacherList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.nQ,I);return yield me({type:"save",payload:{searchMemberList:_e({},Re)}}),Re},*getAllTaskList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.km,I);return yield me({type:"save",payload:{taskList:[...Re.tasks]}}),Re},*updateTaskPosition({payload:I,callback:O},{call:k,put:me}){const Re=yield k(kt.U8,I);return yield me({type:"save",payload:{actionTabs:{key:""}}}),Re},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:_e({},I)}})},*setUpdateData({payload:I},{call:O,put:k}){yield k({type:"save",payload:{updateData:I}})}},reducers:{save(I,O){return _e(_e({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},dt=Object.defineProperty,Zt=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,St=(I,O,k)=>O in I?dt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,be=(I,O)=>{for(var k in O||(O={}))Tt.call(O,k)&&St(I,k,O[k]);if(Zt)for(var k of Zt(O))ke.call(O,k)&&St(I,k,O[k]);return I},gt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:I},{call:O,put:k}){const me=yield O(kt.K$,I);yield k({type:"save",payload:{schoolList:(me==null?void 0:me.school_names)||[]}})},*getSearchCourseList({payload:I},{call:O,put:k}){const me=yield O(kt.oM,I);yield k({type:"save",payload:{searchCourseList:(me==null?void 0:me.course_lists)||[]}})},*submitCourses({payload:I},{call:O,put:k}){return yield O(kt.Bn,I)},*appplySchool({payload:I},{call:O,put:k}){return yield O(kt.bz,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:be({},I)}})},*joincoursegroup({payload:I},{call:O,put:k}){return yield O(kt.WK,I)}},reducers:{save(I,O){return be(be({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Rt=Object.defineProperty,Be=Object.getOwnPropertySymbols,kr=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Kr=(I,O,k)=>O in I?Rt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,qr=(I,O)=>{for(var k in O||(O={}))kr.call(O,k)&&Kr(I,k,O[k]);if(Be)for(var k of Be(O))At.call(O,k)&&Kr(I,k,O[k]);return I},Br={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:I},{call:O,put:k}){const me=yield O(kt.Dd,I);yield k({type:"save",payload:{CourseUseInfos:me}})},*getRankList({payload:I},{call:O,put:k}){const me=yield O(kt.Fg,I);yield k({type:"save",payload:{RankList:{teacher_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",course_num:"\u7BA1\u7406\u8BFE",homework_num:"\u53D1\u5E03\u4F5C\u4E1A\u6570",exercise_num:"\u53D1\u5E03\u8003\u8BD5\u6570",resource_num:"\u4E0A\u4F20\u8D44\u6E90\u6570"},...(me==null?void 0:me.teacher_list)||[]],student_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",student_id:"\u5B66\u53F7/\u5DE5\u53F7",finish_num:"\u5B8C\u6210\u4F5C\u4E1A\u6570",total_score:"\u603B\u6210\u7EE9"},...(me==null?void 0:me.student_list)||[]],learn_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(me==null?void 0:me.learn_course_list)||[]],interact_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u4E92\u52A8\u8BA8\u8BBA\u6570"},...(me==null?void 0:me.interact_course_list)||[]],finish_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u603B\u5B8C\u6210\u6570"},...(me==null?void 0:me.finish_course_list)||[]]}}})},*getStatisticsBody({payload:I},{call:O,put:k}){const me=yield O(kt.Gz,I);yield k({type:"save",payload:{SBody:me}})},*getStatisticsHeader({payload:I},{call:O,put:k}){const me=yield O(kt.Hl,I);yield k({type:"save",payload:{SHeader:me}})}},reducers:{save(I,O){return qr(qr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},_r=e(31417),Ur=Object.defineProperty,sn=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,Lt=(I,O,k)=>O in I?Ur(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,vt=(I,O)=>{for(var k in O||(O={}))cn.call(O,k)&&Lt(I,k,O[k]);if(sn)for(var k of sn(O))or.call(O,k)&&Lt(I,k,O[k]);return I},jt={namespace:"polls",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{*getPollsList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(_r.s3,I);return yield me({type:"save",payload:{pollsList:vt({},Re)}}),Re},*getCommonHeader({payload:I,callback:O},{call:k,put:me}){const Re=yield k(_r.UK,I);return yield me({type:"save",payload:{commonHeader:vt({},Re)}}),Re},*getPollsStatistics({payload:I,callback:O},{call:k,put:me}){const Re=yield k(_r.Qn,I);return yield me({type:"save",payload:{statisticsList:vt({},Re)}}),Re},*getBrankList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(_r.n$,I);return yield me({type:"save",payload:{brankList:vt({},Re)}}),Re},*saveBanks({payload:I,callback:O},{call:k,put:me}){return yield k(_r.lf,I)},*getPollsCourses({payload:I,callback:O},{call:k,put:me}){const Re=yield k(_r.Q9,I);return yield me({type:"save",payload:{pollsCoursesList:vt({},Re)}}),Re},*getPollsSetting({payload:I,callback:O},{call:k,put:me}){const Re=yield k(_r.Hi,I);return yield me({type:"save",payload:{pollSetting:vt({},Re)}}),Re},*editPolls({payload:I,callback:O},{call:k,put:me}){const Re=yield k(_r.Ye,I);return yield me({type:"save",payload:{editData:vt({},JSON.parse(JSON.stringify(Re)))}}),Re},*getEndGroups({payload:I,callback:O},{call:k,put:me}){const Re=yield k(_r.KE,I);return yield me({type:"save",payload:{endGroups:vt({},Re)}}),Re},*getPublishGroups({payload:I,callback:O},{call:k,put:me}){const Re=yield k(_r.ux,I);return yield me({type:"save",payload:{publishGroups:vt({},Re)}}),Re},*getExerciseBanks({payload:I,callback:O},{call:k,put:me}){const Re=yield k(_r.kp,I);return yield me({type:"save",payload:{exerciseBanks:vt({},Re)}}),Re},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:vt({},I)}})}},reducers:{save(I,O){return vt(vt({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Cr=e(43859),gr=Object.defineProperty,ot=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,yn=Object.prototype.propertyIsEnumerable,Zn=(I,O,k)=>O in I?gr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,mr=(I,O)=>{for(var k in O||(O={}))Mr.call(O,k)&&Zn(I,k,O[k]);if(ot)for(var k of ot(O))yn.call(O,k)&&Zn(I,k,O[k]);return I},hn={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:I},{call:O,put:k}){var me;const Re=yield O(Cr.gp,I);return(me=Re==null?void 0:Re.teacher_list)==null||me.map(en=>(en.key=en.course_member_id,en)),yield k({type:"save",payload:{list:Re}}),Re},*getStudentsList({payload:I},{call:O,put:k}){var me;const Re=yield O(Cr.ur,I);return(me=Re==null?void 0:Re.students)==null||me.map(en=>(en.key=en.user_id,en)),yield k({type:"save",payload:{studentsList:Re}}),Re},*getApplyList({payload:I},{call:O,put:k}){const me=yield O(Cr.s,I);return yield k({type:"save",payload:{applyList:me}}),me},*getAllCourseGroups({payload:I},{call:O,put:k}){const me=yield O(Cr.xV,I);return yield k({type:"save",payload:{allCourseGroups:me}}),me},*getGraduationGroupList({payload:I},{call:O,put:k}){const me=yield O(Cr.Bg,I);return yield k({type:"save",payload:{graduationGroupList:me}}),me},*setAllCourseGroups({payload:I},{call:O,put:k}){const me=yield O(Cr.oZ,I);return yield k({type:"save",payload:{setAllCourseGroups:me}}),me},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:mr({},I)}})},*setUpdateIndex({payload:I},{call:O,put:k}){yield k({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(I,O){return mr(mr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Fn=e(75730),ti=Object.defineProperty,jn=Object.getOwnPropertySymbols,Zi=Object.prototype.hasOwnProperty,xi=Object.prototype.propertyIsEnumerable,Si=(I,O,k)=>O in I?ti(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ei=(I,O)=>{for(var k in O||(O={}))Zi.call(O,k)&&Si(I,k,O[k]);if(jn)for(var k of jn(O))xi.call(O,k)&&Si(I,k,O[k]);return I},Xi={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Fn.BQ,I);return yield me({type:"save",payload:{videoStatisticsList:Ei({},Re)}}),Re},*getNewVideoStatisticsList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Fn.cU,I);return yield me({type:"save",payload:{newVideoStatisticsList:Ei({},Re)}}),Re},*getVideoPeopleStatics({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Fn.Zx,I);return yield me({type:"save",payload:{videoPeopleStatics:Ei({},Re)}}),Re},*getVideoDurationStatics({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Fn.Mz,I);return yield me({type:"save",payload:{videoDurationStatics:Ei({},Re)}}),Re},*getVideoStatistics({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Fn.ZY,I);return yield me({type:"save",payload:{videoStatistics:Ei({},Re)}}),Re},*getOneVideoStatisticsList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Fn.cU,I);return yield me({type:"save",payload:{oneVideoStatisticsList:Ei({},Re)}}),Re},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Ei({},I)}})},*getStudentVideoStatisticsList({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Fn.Vg,I);return yield me({type:"save",payload:{StudentvideoStatistics:Ei({},Re)}}),Re}},reducers:{save(I,O){return Ei(Ei({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},qn=e(52721),Yi=Object.defineProperty,wt=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Jn=Object.prototype.propertyIsEnumerable,Ai=(I,O,k)=>O in I?Yi(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,ei=(I,O)=>{for(var k in O||(O={}))ut.call(O,k)&&Ai(I,k,O[k]);if(wt)for(var k of wt(O))Jn.call(O,k)&&Ai(I,k,O[k]);return I},vi={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},Staff:{},Header:{},competition_title:"",banner:"",competitions:[],count:"",RightItems:{},Prizes:{},Account:{},TabResultList:{},competition_team:{},all_team_member:{},actionTabs:{key:"",params:{}},GuidesData:{}},effects:{*postGuides({payload:I,callback:O},{call:k,put:me}){return yield k(qn.cC,I)},*getGuides({payload:I,callback:O},{call:k,put:me}){const Re=yield k(qn.Ax,I);return yield me({type:"save",payload:{GuidesData:Re}}),Re},*getWorkSubmitUpdateRes({payload:I,callback:O},{call:k,put:me}){return yield k(qn.zF,I)},*getList({payload:I},{call:O,put:k}){const me=I,Re=yield O(qn.bQ,I);return yield k({type:"save",payload:ei({listParams:me},Re)}),Re},*getMemberWorks({payload:I},{call:O,put:k}){const me=yield O(qn.xx,I);return yield k({type:"save",payload:{MemberWorks:me||{}}}),me},*addApplytojoincourse({payload:I,callback:O},{call:k,put:me}){return yield k(qn.qS,I)},*competitionTeams({payload:I,callback:O},{call:k,put:me}){return yield k(qn.Pt,I)},*getStaff({payload:I,callback:O},{call:k,put:me}){const Re=yield k(qn.Dh,I);return yield me({type:"save",payload:{Staff:Re}}),Re},*getHeader({payload:I,callback:O},{call:k,put:me}){const Re=yield k(qn.Pg,I);return yield me({type:"save",payload:{Header:Re}}),Re},*getItem({payload:I,callback:O},{call:k,put:me}){const Re=yield k(qn.rV,I);return yield me({type:"save",payload:{RightItems:Re}}),Re},*updateMdContent({payload:I,callback:O},{call:k,put:me}){return yield k(qn.zj,I)},*getTeamList({payload:I,callback:O},{call:k,put:me}){return yield k(qn.aq,I)},*getTeamDetail({payload:I,callback:O},{call:k,put:me}){return yield k(qn.Ze,I)},*UpTeam({payload:I,callback:O},{call:k,put:me}){return yield k(qn.yS,I)},*DeleteTeam({payload:I,callback:O},{call:k,put:me}){return yield k(qn.ps,I)},*ExitTeam({payload:I,callback:O},{call:k,put:me}){return yield k(qn.vV,I)},*AddTeam({payload:I,callback:O},{call:k,put:me}){return yield k(qn.FU,I)},*AddPersonnel({payload:I,callback:O},{call:k,put:me}){return yield k(qn.R9,I)},*JoinTeam({payload:I,callback:O},{call:k,put:me}){return yield k(qn.zc,I)},*getTeacher({payload:I,callback:O},{call:k,put:me}){return yield k(qn.jS,I)},*getStudents({payload:I,callback:O},{call:k,put:me}){return yield k(qn.sK,I)},*SubmitTeam({payload:I,callback:O},{call:k,put:me}){return yield k(qn.rm,I)},*Reward({payload:I,callback:O},{call:k,put:me}){return yield k(qn.Qp,I)},*ChartRules({payload:I,callback:O},{call:k,put:me}){return yield k(qn.Ux,I)},*Charts({payload:I,callback:O},{call:k,put:me}){return yield k(qn.GQ,I)},*TabResults({payload:I,callback:O},{call:k,put:me}){const Re=yield k(qn.ml,I);return yield me({type:"save",payload:{TabResultList:Re}}),Re},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:ei({},I)}})},*Results({payload:I,callback:O},{call:k,put:me}){return yield k(qn.u9,I)},*Prize({payload:I,callback:O},{call:k,put:me}){const Re=yield k(qn.pU,I);return yield me({type:"save",payload:{Prizes:Re}}),Re},*Accounts({payload:I,callback:O},{call:k,put:me}){const Re=yield k(qn.XJ,I);return yield me({type:"save",payload:{Account:Re}}),Re},*getVerification({payload:I,callback:O},{call:k,put:me}){return yield k(qn.Ni,I)},*PhoneBind({payload:I,callback:O},{call:k,put:me}){return yield k(qn.uZ,I)},*EmailBind({payload:I,callback:O},{call:k,put:me}){return yield k(qn.rk,I)},*Authentication({payload:I,callback:O},{call:k,put:me}){return yield k(qn.Vy,I)},*Professional({payload:I,callback:O},{call:k,put:me}){return yield k(qn.tC,I)},*setleader({payload:I,callback:O},{call:k,put:me}){return yield k(qn.tO,I)},*getShixun({payload:I,callback:O},{call:k,put:me}){return yield k(qn.qj,I)},*getCourse({payload:I,callback:O},{call:k,put:me}){return yield k(qn.XR,I)},*competition_teams({payload:I,callback:O},{call:k,put:me}){const Re=yield k(qn.zz,I);return yield me({type:"save",payload:{competition_team:Re}}),Re},*all_team_members({payload:I,callback:O},{call:k,put:me}){const Re=yield k(qn.$P,I);return yield me({type:"save",payload:{all_team_member:Re}}),Re}},reducers:{save(I,O){return ei(ei({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},si=e(38650),En=e(52743),tr=Object.defineProperty,mt=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable,fr=(I,O,k)=>O in I?tr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ir=(I,O)=>{for(var k in O||(O={}))pt.call(O,k)&&fr(I,k,O[k]);if(Dt)for(var k of Dt(O))lr.call(O,k)&&fr(I,k,O[k]);return I},Hr=(I,O)=>mt(I,rt(O)),et={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[En.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${En.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[En.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${En.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Ir({},I)}})},*getMajorList({payload:I},{call:O,put:k,select:me}){const{userInfo:Re}=yield me(en=>en.user);if(Re!=null&&Re.school_id){const en=yield O(si.BA,Re.school_id);en&&en.data&&(yield k({type:"setMajorOrYearDataSource",payload:{key:En.k[0],value:en.data.map($n=>({label:$n.name,value:$n.ec_major_school_id}))}}))}},*getYearList({payload:I},{call:O,put:k}){const me=yield O(si.Nx,I);me&&me.data&&(yield k({type:"setMajorOrYearDataSource",payload:{key:En.k[1],value:me.data.map(Re=>({label:Re.year,value:Re.ec_year_id}))}}))},*getCourseResultDetail({payload:I},{call:O,put:k}){console.log(I,"payload");const me=yield O(si.p1,I);me&&me.ec_course_target&&(yield k({type:"setEchartsData",payload:me}))},*getCourseResultDetailClass({payload:I},{call:O,put:k}){const me=yield O(si.ff,I);me&&me.class_name&&(yield k({type:"save",payload:{classDataSource:{active:null,dataList:[...me.class_name]}}}))},*setClassActive({payload:I},{call:O,put:k}){yield k({type:"save",payload:{classDataSource:Ir({},I)}})}},reducers:{save(I,O){return Ir(Ir({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){return Hr(Ir({},I),{headerData:Hr(Ir({},I.headerData),{dataSource:Hr(Ir({},I.headerData.dataSource),{[O.key]:Hr(Ir({},I.headerData.dataSource[O.key]),{dataList:O.value})})})})},setMajorOrYearActive(I,{payload:O}){return Hr(Ir({},I),{headerData:Hr(Ir({},I.headerData),{active:Hr(Ir({},I.headerData.active),{[O.key]:O.value})})})},setEchartsData(I,{payload:O}){let k={name:O.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},me={name:O.course_name||"",xData:[],seriesData:[]},Re={};return O.ec_course_target.forEach((en,$n)=>{en.position=$n+1,k=Hr(Ir({},k),{dataSource:{xData:[...k.dataSource.xData,$n+1],yBarData:[...k.dataSource.yBarData,en.actual_grade],yLineData:[...k.dataSource.yLineData,en.standard_grade]}});let dn=[],Di={min:[],max:[]},Ha=[],Oa=[],Ao=[];en.student_data.detail.forEach((Ma,io)=>{let ys=Ma.score;dn.push(io+1),Di.max.push(ys>=en.student_data.goal_score?ys:null),Di.min.push(ys>=en.student_data.goal_score?null:ys),Ha.push(Ma.name),Oa.push(Ma.student_id),Ao.push(Ma.clazz)}),Re[$n+1]={name:$n+1,average_score:en.student_data.average_score,goal_score:en.student_data.goal_score,xData:dn,yData:Di,name_data:Ha,student_ids:Oa,class_data:Ao,goal_scoreData:new Array(en.student_data.detail.length).fill(en.student_data.goal_score),average_scoreData:new Array(en.student_data.detail.length).fill(en.student_data.average_score)}}),O.history.forEach(en=>{me=Hr(Ir({},me),{xData:[...me.xData,en.year],seriesData:[...me.seriesData,en.total_score]})}),Hr(Ir({},I),{name:O.course_name||"",tabListData:O.ec_course_target,echartsData:{barData:k,lineData:me,scatterData:Re}})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Ee=Object.defineProperty,it=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,Dr=Object.prototype.propertyIsEnumerable,Er=(I,O,k)=>O in I?Ee(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Or=(I,O)=>{for(var k in O||(O={}))ir.call(O,k)&&Er(I,k,O[k]);if(it)for(var k of it(O))Dr.call(O,k)&&Er(I,k,O[k]);return I},bn={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Or({},I)}})},*setShowMenu({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showMenu:I}})},*setMatrixVerify({payload:I},{call:O,put:k}){yield k({type:"save",payload:{matrixVerify:Or({},I)}})}},reducers:{save(I,O){return Or(Or({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Pr=e(99309),un=Object.defineProperty,rn=Object.defineProperties,ln=Object.getOwnPropertyDescriptors,An=Object.getOwnPropertySymbols,pa=Object.prototype.hasOwnProperty,Pi=Object.prototype.propertyIsEnumerable,gi=(I,O,k)=>O in I?un(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,pn=(I,O)=>{for(var k in O||(O={}))pa.call(O,k)&&gi(I,k,O[k]);if(An)for(var k of An(O))Pi.call(O,k)&&gi(I,k,O[k]);return I},ui=(I,O)=>rn(I,ln(O)),la={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[En.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${En.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[En.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${En.k[1]}`,loading:"engineeringNavigtion/getYearList",dataList:[]}},active:{},name:"",tabBarContent:{user_name:"",user_school:"",user_type:""}},cardListData:{appraiseData:{norm:{title:"\u6307\u6807\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-biyezhibiao",label:"\u6BD5\u4E1A\u6307\u6807",value:"/engineering/graduated/index"},{icon:"icon-biyejuzhen",label:"\u6BD5\u4E1A\u77E9\u9635",value:"/engineering/graduated/matrix"}],listData:[{key:"graduation_count",icon:"icon-biyeyaoqiu1",backgroundColor:"#F2EBFB",textColor:"#713BDB",label:"\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_subitem_count",icon:"icon-zhibiaodian",backgroundColor:"#FEF3EF",textColor:"#FF8B58",label:"\u6307\u6807\u70B9",value:"-",unit:"\u9879"},{key:"graduation_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"}]},course:{title:"\u8BFE\u7A0B\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-kechengliebiao",label:"\u8BFE\u7A0B\u5217\u8868",value:"/engineering/course/list"},{icon:"icon-kechengjuzhen",label:"\u8BFE\u7A0B\u77E9\u9635",value:"/engineering/course/matrix"}],listData:[{key:"course_count",icon:"icon-kechengshuliang",backgroundColor:"#E2F5FF",textColor:"#007AFF",label:"\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_target_count",icon:"icon-mubiao",backgroundColor:"#FEF8EF",textColor:"#FEB315",label:"\u8BFE\u7A0B\u76EE\u6807",value:"-",unit:"\u9879"},{key:"course_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"}]}},teamData:{teach:{title:"\u6388\u8BFE\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]},work:{title:"\u5DE5\u4F5C\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]}}},totalListData:[{key:"student_count",title:"\u5F53\u524D\u5B66\u751F\u603B\u6570",value:0,icon:"icon-xuesheng1",backgroundColor:"rgba(201,236,255,0.51)",textColor:"#007AFF"},{key:"student_in_count",title:"\u8F6C\u5165\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanru",backgroundColor:"rgba(119,241,174,0.4)",textColor:"#1FA363"},{key:"student_out_count",title:"\u8F6C\u51FA\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanchu",backgroundColor:"rgba(255,197,147,0.44)",textColor:"#FA6400"}]},effects:{*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:pn({},I)}})},*getMajorList({},{call:I,put:O,select:k}){const{userInfo:me}=yield k(Re=>Re.user);if(me!=null&&me.school_id){const Re=yield I(si.BA,me.school_id);if(Re&&Re.data){const en=Pr.U.getItem(me==null?void 0:me.login);yield O({type:"setMajorOrYearDataSource",payload:{key:En.k[0],value:Re.data.map($n=>({label:$n.name,value:$n.ec_major_school_id})),active:Re.data.length>0?en[0]||Re.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:I},{call:O,put:k,select:me}){const Re=yield O(si.Nx,I.id),{userInfo:en}=yield me($n=>$n.user);if(Re&&Re.data){const $n=Pr.U.getItem(en==null?void 0:en.login);yield k({type:"setMajorOrYearDataSource",payload:{key:En.k[1],value:Re.data.map(dn=>({label:dn.year,value:dn.ec_year_id})),active:Re.data.length>0?I.firstEnter?$n[1]:Re.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:I,put:O,select:k}){const{headerData:me}=yield k($n=>$n.engineeringNavigtion),{userInfo:Re}=yield k($n=>$n.user);let en={};if(me.active[En.k[1]]&&Re.school_id){const $n=[me.active[En.k[0]],me.active[En.k[1]]];Pr.U.setItem(Re==null?void 0:Re.login,$n);const dn=yield I(si.bA,{ec_year_id:me.active[En.k[1]],school_id:Re.school_id});dn&&dn.data&&(en=dn.data),yield O({type:"setTopPage",payload:en})}},*putTopPageName({payload:I,callback:O},{call:k,put:me}){try{const Re=yield k(si.ay,I);O(Re)}catch(Re){let en="";Re&&(en=JSON.stringify(Re),Re.message&&(en=Re.message)),O({message:en,status:999})}}},reducers:{save(I,O){return pn(pn({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){let k=I.headerData.active;return O.active&&(k=ui(pn({},k),{[O.key]:O.active})),ui(pn({},I),{headerData:ui(pn({},I.headerData),{dataSource:ui(pn({},I.headerData.dataSource),{[O.key]:ui(pn({},I.headerData.dataSource[O.key]),{dataList:O.value})}),active:k})})},setMajorOrYearActive(I,{payload:O}){return ui(pn({},I),{headerData:ui(pn({},I.headerData),{active:ui(pn({},I.headerData.active),{[O.key]:O.value})})})},setTopPage(I,{payload:O}){return ui(pn({},I),{headerData:ui(pn({},I.headerData),{name:O.name,tabBarContent:{user_name:O.user_name,user_school:O.user_school,user_type:O.user_type}}),cardListData:ui(pn({},I.cardListData),{appraiseData:ui(pn({},I.cardListData.appraiseData),{norm:ui(pn({},I.cardListData.appraiseData.norm),{result:O.graduaiton_result,listData:I.cardListData.appraiseData.norm.listData.map(k=>ui(pn({},k),{value:O[k.key]||0}))}),course:ui(pn({},I.cardListData.appraiseData.course),{result:O.course_result,listData:I.cardListData.appraiseData.course.listData.map(k=>ui(pn({},k),{value:O[k.key]||0}))})}),teamData:{teach:ui(pn({},I.cardListData.teamData.teach),{tabBarContent:`${O.course_teachers?O.course_teachers.length:0}\u4EBA`,listData:O.course_teachers||[]}),work:ui(pn({},I.cardListData.teamData.work),{tabBarContent:`${O.work_teachers?O.work_teachers.length:0}\u4EBA`,listData:O.work_teachers||[]})}}),totalListData:I.totalListData.map(k=>ui(pn({},k),{value:O[k.key]||0}))})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},xs=Object.defineProperty,Pa=Object.defineProperties,Na=Object.getOwnPropertyDescriptors,Is=Object.getOwnPropertySymbols,$a=Object.prototype.hasOwnProperty,hs=Object.prototype.propertyIsEnumerable,oa=(I,O,k)=>O in I?xs(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,yi=(I,O)=>{for(var k in O||(O={}))$a.call(O,k)&&oa(I,k,O[k]);if(Is)for(var k of Is(O))hs.call(O,k)&&oa(I,k,O[k]);return I},Ga=(I,O)=>Pa(I,Na(O)),$i={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:yi({},I)}})},*getGraduationResultDetail({payload:I},{call:O,put:k}){const me=yield O(si.gq,I);yield k({type:"save",payload:{dataSource:me}})}},reducers:{save(I,O){return yi(yi({},I),O.payload)},setDataSource(I,{payload:O}){let k=O;return Ga(yi({},I),{dataSource:k})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},ps=e(8591),Co=Object.defineProperty,La=Object.defineProperties,_s=Object.getOwnPropertyDescriptors,ji=Object.getOwnPropertySymbols,Gs=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,ja=(I,O,k)=>O in I?Co(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,ns=(I,O)=>{for(var k in O||(O={}))Gs.call(O,k)&&ja(I,k,O[k]);if(ji)for(var k of ji(O))Rn.call(O,k)&&ja(I,k,O[k]);return I},ls=(I,O)=>La(I,_s(O)),Vi=(I,O)=>{var k={};for(var me in I)Gs.call(I,me)&&O.indexOf(me)<0&&(k[me]=I[me]);if(I!=null&&ji)for(var me of ji(I))O.indexOf(me)<0&&Rn.call(I,me)&&(k[me]=I[me]);return k},Da={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[En.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${En.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[En.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${En.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:ns({},I)}})},*getMajorList({},{call:I,put:O,select:k}){const{userInfo:me}=yield k(Re=>Re.user);if(me!=null&&me.school_id){const Re=yield I(si.BA,me.school_id);if(Re&&Re.data){const en=Pr.U.getItem(me==null?void 0:me.login);yield O({type:"setMajorOrYearDataSource",payload:{key:En.k[0],value:Re.data.map($n=>({label:$n.name,value:$n.ec_major_school_id})),active:Re.data.length>0?en[0]||Re.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:I},{call:O,put:k,select:me}){const Re=yield O(si.Nx,I.id),{userInfo:en}=yield me($n=>$n.user);if(Re&&Re.data){const $n=Pr.U.getItem(en==null?void 0:en.login);yield k({type:"setMajorOrYearDataSource",payload:{key:En.k[1],value:Re.data.map(dn=>({label:dn.year,value:dn.ec_year_id})),active:Re.data.length>0?I.firstEnter?$n[1]:Re.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:I,put:O,select:k}){const{headerData:me}=yield k(Ha=>Ha.engineeringNormList),{userInfo:Re}=yield k(Ha=>Ha.user);let en=[],$n=[],dn="";const Di=me.active[En.k[1]];if(Di){const Ha=[me.active[En.k[0]],me.active[En.k[1]]];Pr.U.setItem(Re==null?void 0:Re.login,Ha);const Oa=yield I(si.eM,Di);Oa&&Oa.graduation_requirements&&(dn=Oa.all_goal_value||"",en=Oa.graduation_requirements.map(Ao=>{var Ma=Ao,{subitems:io}=Ma,ys=Vi(Ma,["subitems"]);return $n.push(ys.id),ls(ns({},ys),{children:io})}))}yield O({type:"save",payload:{tabListData:en,all_goal_value:dn,expandedRowKeys:$n}})},*exportGraduation({},{call:I,select:O}){const{headerData:k}=yield O(me=>me.engineeringNormList);k.active[En.k[1]]&&(yield I(si.OE,k.active[En.k[1]]))},*compute({payload:I},{call:O,put:k}){const me=I,{all:Re}=me,en=Vi(me,["all"]),$n=yield O(Re?si.Qx:si.Xl,en);$n&&$n.status===0?(ps.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield k({type:"getGraduationResults"})):ps.ZP.error($n.message)},*getFormulas({callback:I},{call:O,select:k}){const{headerData:me}=yield k(Re=>Re.engineeringNormList);if(me.active[En.k[1]]){const Re=yield O(si.mK,me.active[En.k[1]]);I(Re)}},*setFormulas({payload:I,callback:O},{call:k}){const me=yield k(si.y9,I);O(me)},*putGoalValue({payload:I},{call:O,put:k}){const me=yield O(si.No,I);if(me&&me.status===0)ps.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield k({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield k({type:"getGraduationResults"});else{let Re="\u4FDD\u5B58\u5931\u8D25";me&&me.message&&(Re=me.message),ps.ZP.error(Re)}}},reducers:{save(I,O){return ns(ns({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){let k=I.headerData.active;return O.active&&(k=ls(ns({},k),{[O.key]:O.active})),ls(ns({},I),{headerData:ls(ns({},I.headerData),{dataSource:ls(ns({},I.headerData.dataSource),{[O.key]:ls(ns({},I.headerData.dataSource[O.key]),{dataList:O.value})}),active:k})})},setMajorOrYearActive(I,{payload:O}){return ls(ns({},I),{headerData:ls(ns({},I.headerData),{active:ls(ns({},I.headerData.active),{[O.key]:O.value})})})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},ms=e(67508),Bs=Object.defineProperty,_o=Object.getOwnPropertySymbols,To=Object.prototype.hasOwnProperty,Vo=Object.prototype.propertyIsEnumerable,uo=(I,O,k)=>O in I?Bs(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,ca=(I,O)=>{for(var k in O||(O={}))To.call(O,k)&&uo(I,k,O[k]);if(_o)for(var k of _o(O))Vo.call(O,k)&&uo(I,k,O[k]);return I},mo={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:I},{call:O,put:k}){const me=yield O(ms.Si,I);return yield k({type:"save",payload:{forumsDetailData:ca({},me)}}),me},*setForumsDetailData({payload:I},{call:O,put:k}){yield k({type:"save",payload:{forumsDetailData:ca({},I)}})}},reducers:{save(I,O){return ca(ca({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},vo=Object.defineProperty,go=Object.getOwnPropertySymbols,hi=Object.prototype.hasOwnProperty,oi=Object.prototype.propertyIsEnumerable,Fa=(I,O,k)=>O in I?vo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Va=(I,O)=>{for(var k in O||(O={}))hi.call(O,k)&&Fa(I,k,O[k]);if(go)for(var k of go(O))oi.call(O,k)&&Fa(I,k,O[k]);return I},lo={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:I},{call:O,put:k}){const me=yield O(I.memoType==="shixun_discuss"?ms.kd:ms.bc,I);return delete I.memoType,yield k({type:"save",payload:{listParams:I,forumsData:Va({},me)}}),me}},reducers:{save(I,O){return Va(Va({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},co=e(30534),Po=e(3294),Qa=e(28209),Lo=e.n(Qa),yo=Object.defineProperty,Ko=Object.getOwnPropertySymbols,Tu=Object.prototype.hasOwnProperty,_u=Object.prototype.propertyIsEnumerable,fo=(I,O,k)=>O in I?yo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,fs=(I,O)=>{for(var k in O||(O={}))Tu.call(O,k)&&fo(I,k,O[k]);if(Ko)for(var k of Ko(O))_u.call(O,k)&&fo(I,k,O[k]);return I},Mo={namespace:"globalSetting",state:{name:"\u5168\u5C40\u914D\u7F6E",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,showFooter:!0,showHeader:!0,showTip:!1,showHeaderFooter:!0,showHeaderFixed:!1,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"defaults",shareData:{title:document.title,imgUrl:"https://ali-cdn.educoder.net/images/avatars/LaboratorySetting/1tab?t=1610677202",desc:""},globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1},infoData:{name:"",phone:""},isSaiaDomain:window.location.host=="saia.educoder.net",actionTabs:{key:"",params:{}}},effects:{*query({payload:I},{call:O,put:k}){var me,Re;const en=yield O(co.D2,I);Po.Z.ONLYOFFICE=(me=en==null?void 0:en.setting)==null?void 0:me.office_server_url,Io(en);try{const Di="5183666c72eec9e4",Ha="5183666c72eec9e4";var $n=Lo().enc.Utf8.parse(Di);let Oa=Lo().enc.Utf8.parse(Ha);var dn=Lo().AES.decrypt(((Re=en==null?void 0:en.setting)==null?void 0:Re.user_default_password)||"",$n,{iv:Oa,mode:Lo().mode.CBC});en.setting.user_default_password=dn.toString(Lo().enc.Utf8)}catch(Di){}yield k({type:"save",payload:fs({},en)})},*getSystemUpdate({payload:I},{call:O,put:k}){const me=yield O(co.n0,I);yield k({type:"save",payload:{updateData:fs({},me)}})},*setTheme({payload:I},{call:O,put:k}){const me=yield O(co.n0,I);yield k({type:"save",payload:{theme:I||"default"}})},*setShareData({payload:I},{call:O,put:k}){yield k({type:"save",payload:{shareData:I}})},*setGlobalLoading({payload:I},{call:O,put:k}){yield k({type:"save",payload:{globalLoading:fs({},I)}})},*delayTipToggle({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showTip:I}})},*headerToggle({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showHeader:I}})},*footerToggle({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showFooter:I}})},*headerFooterToggle({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showHeaderFooter:I}})},*delayTipToggle({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showTip:I}})},*headerFixedToggle({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showHeaderFixed:I}})},*onlyShowBackTopToggle({payload:I},{call:O,put:k}){yield k({type:"save",payload:{onlyShowBackTop:I}})},*onlyShowBackTopIconToggle({payload:I},{call:O,put:k}){yield k({type:"save",payload:{onlyShowBackTopIcons:I}})},*setOperateModel({payload:I},{call:O,put:k}){yield k({type:"save",payload:{operateModel:I}})},*setOperateModelPath({payload:I},{call:O,put:k}){yield k({type:"save",payload:{operateModelPath:I}})},*setShowQuestionBackTop({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showQuestionBackTop:I}})},*setInfoData({payload:I},{call:O,put:k}){yield k({type:"save",payload:{infoData:fs({},I)}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:fs({},I)}})}},reducers:{save(I,O){return fs(fs({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{})}}};const Io=(I={})=>{var O,k,me,Re,en;if(window.self!==window.top||!((O=I.setting)!=null&&O.tab_logo_url))return;const $n=document.createElement("link"),dn=document.getElementById("dynamic-favicon");$n.id="dynamic-favicon",$n.rel="shortcut icon",$n.href=(k=I.setting)!=null&&k.tab_logo_url?`${Po.Z.IMG_SERVER}/${(me=I.setting)==null?void 0:me.tab_logo_url}`:"",dn&&document.head.removeChild(dn),document.head.appendChild($n);try{(Re=I.setting)!=null&&Re.main_site||(document.querySelector('meta[name="keywords"]').content=(en=I.setting)==null?void 0:en.name,document.querySelector('meta[name="description"]').remove())}catch(Di){}};var Us=e(2742),ou=Object.defineProperty,jo=Object.getOwnPropertySymbols,Do=Object.prototype.hasOwnProperty,Ls=Object.prototype.propertyIsEnumerable,bo=(I,O,k)=>O in I?ou(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,mu=(I,O)=>{for(var k in O||(O={}))Do.call(O,k)&&bo(I,k,O[k]);if(jo)for(var k of jo(O))Ls.call(O,k)&&bo(I,k,O[k]);return I},Qt={namespace:"graduations",state:{actionTabs:{key:"",params:{}},details:{},menus:[],forTask:[],ownedList:[],students:{},years:[],graduation:{teachers_count:0,students_count:0,graduation_tasks_count:0},teachers:{},graduation_stages:[],Notices:{total_count:0,no_deal_count:0},Tasks:{data:[],count:0},updateIndex:1},effects:{*getGraduationsStageDetails({payload:I},{call:O,put:k}){return yield O(Us.Xh,I)},*getGraduationsFinalScore({payload:I},{call:O,put:k}){return yield O(Us.H3,I)},*getDelGraduationsTasks({payload:I},{call:O,put:k}){return yield O(Us.km,I)},*getGraduationsTasks({payload:I},{call:O,put:k}){const me=yield O(Us.Xw,I);yield k({type:"save",payload:{Tasks:me}})},*getGraduationsTeachers({payload:I},{call:O,put:k}){var me;const Re=yield O(Us.AA,I);return(me=Re==null?void 0:Re.data)==null||me.map(en=>(en.key=en.id,en)),yield k({type:"save",payload:{teachers:Re}}),Re},*getGraduationsStudents({payload:I},{call:O,put:k}){var me;const Re=yield O(Us.eh,I);(me=Re==null?void 0:Re.data)==null||me.map(en=>(en.key=en.id,en)),yield k({type:"save",payload:{students:Re}})},*getGraduationsNotices({payload:I},{call:O,put:k}){const me=yield O(Us.Rk,I);yield k({type:"save",payload:{Notices:me}})},*getGraduationsInfo({payload:I},{call:O,put:k}){const me=yield O(Us.F7,I);yield k({type:"save",payload:{graduation:me.graduation}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:mu({},I)}})},*setUpdateIndex({payload:I},{call:O,put:k}){yield k({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:I},{call:O,put:k}){const me=yield O(Us.Ou,I);yield k({type:"save",payload:{details:(me==null?void 0:me.graduation)||{},menus:(me==null?void 0:me.data)||[],forTask:(me==null?void 0:me.for_task)||[]}})}},reducers:{save(I,O){return mu(mu({},I),O.payload)}}},cr=e(1),sr=Object.defineProperty,vr=Object.defineProperties,wr=Object.getOwnPropertyDescriptors,xn=Object.getOwnPropertySymbols,Sn=Object.prototype.hasOwnProperty,Un=Object.prototype.propertyIsEnumerable,Ln=(I,O,k)=>O in I?sr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Gn=(I,O)=>{for(var k in O||(O={}))Sn.call(O,k)&&Ln(I,k,O[k]);if(xn)for(var k of xn(O))Un.call(O,k)&&Ln(I,k,O[k]);return I},ur=(I,O)=>vr(I,wr(O)),xr={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:I},{call:O,put:k}){const me=yield O(cr.Tt,{payload:I});yield k({type:"save",payload:ur(Gn({},me),{isloading:!0})})},*query({payload:I},{call:O,put:k}){yield k({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:I,callback:O},{call:k,put:me}){return yield k(cr.LA,I)},*UploadNotice({payload:I,callback:O},{call:k,put:me}){return yield k(cr.S_,I)}},reducers:{save(I,O){return Gn(Gn({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},mn=Object.defineProperty,Hn=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,Pn=Object.getOwnPropertySymbols,Vn=Object.prototype.hasOwnProperty,li=Object.prototype.propertyIsEnumerable,Qi=(I,O,k)=>O in I?mn(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Nr=(I,O)=>{for(var k in O||(O={}))Vn.call(O,k)&&Qi(I,k,O[k]);if(Pn)for(var k of Pn(O))li.call(O,k)&&Qi(I,k,O[k]);return I},Li=(I,O)=>Hn(I,ft(O)),zr={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(I,O){return Nr(Nr({},I),O.payload)},openModal(I,O){return Li(Nr({},I),{visibleModalName:O.payload})},closeModal(I){return Li(Nr({},I),{visibleModalName:""})},openSimpleModal(I,O){return Li(Nr({},I),{simpleModalProps:Nr({visible:!0},O.payload)})},closeSimpleModal(I){return Li(Nr({},I),{simpleModalProps:{visible:!1}})}}},na=e(99064),Ss=Object.defineProperty,ci=Object.getOwnPropertySymbols,Vs=Object.prototype.hasOwnProperty,xo=Object.prototype.propertyIsEnumerable,Os=(I,O,k)=>O in I?Ss(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,xa=(I,O)=>{for(var k in O||(O={}))Vs.call(O,k)&&Os(I,k,O[k]);if(ci)for(var k of ci(O))xo.call(O,k)&&Os(I,k,O[k]);return I},ds=(I,O,k)=>new Promise((me,Re)=>{var en=Di=>{try{dn(k.next(Di))}catch(Ha){Re(Ha)}},$n=Di=>{try{dn(k.throw(Di))}catch(Ha){Re(Ha)}},dn=Di=>Di.done?me(Di.value):Promise.resolve(Di.value).then(en,$n);dn((k=k.apply(I,O)).next())});const ks=I=>ds(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/banner.json",{method:"get",params:xa({},I)})}),In=I=>ds(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:xa({},I)})}),gs=I=>ds(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:xa({},I)})}),Ns=I=>ds(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:xa({},I)})}),Ye=I=>ds(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects.json",{method:"post",body:xa({},I)})}),Qe=I=>ds(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:xa({},I)})}),Mt=I=>ds(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:xa({},I)})}),Kt=I=>ds(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:xa({},I)})});var hr=Object.defineProperty,Rr=Object.getOwnPropertySymbols,jr=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,nn=(I,O,k)=>O in I?hr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,gn=(I,O)=>{for(var k in O||(O={}))jr.call(O,k)&&nn(I,k,O[k]);if(Rr)for(var k of Rr(O))vn.call(O,k)&&nn(I,k,O[k]);return I},ni={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:I},{call:O,put:k}){const{data:{adv:me,top_banner:Re}}=yield O(ks,I);yield k({type:"save",payload:{BannerList:Re,Adv:me}})},*getTopCategoryList({payload:I},{call:O,put:k}){const{data:{top_category_list:me}}=yield O(In,I);yield k({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},...me]}})},*getHotList({payload:I},{call:O,put:k}){const{data:{hot_list:me}}=yield O(gs,I);yield k({type:"save",payload:{HotList:me}})},*getDiscountList({payload:I},{call:O,put:k}){const{data:{discount_list:me}}=yield O(Ns,I);yield k({type:"save",payload:{DiscountList:me}})},*getPaidSubjects({payload:I},{call:O,put:k}){const{data:me}=yield O(Ye,I);yield k({type:"save",payload:{SubjectList:me}})},*getTags({payload:I},{call:O,put:k}){const{data:{list:me}}=yield O(Qe,I);yield k({type:"save",payload:{Tags:me}})},*getUserComments({payload:I},{call:O,put:k}){const{data:{list:me}}=yield O(Mt,I);yield k({type:"save",payload:{UserComments:me}})},*getInfoShow({payload:I},{call:O,put:k}){const{data:me}=yield O(Kt,I);yield k({type:"save",payload:{InfoShow:me}})}},reducers:{save(I,O){return gn(gn({},I),O.payload)}}},Ii={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},Hi=e(10656),Mi=Object.defineProperty,wi=Object.getOwnPropertySymbols,ma=Object.prototype.hasOwnProperty,Ci=Object.prototype.propertyIsEnumerable,bi=(I,O,k)=>O in I?Mi(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,fa=(I,O)=>{for(var k in O||(O={}))ma.call(O,k)&&bi(I,k,O[k]);if(wi)for(var k of wi(O))Ci.call(O,k)&&bi(I,k,O[k]);return I},Es={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:I},{call:O,put:k}){const me=yield O(Hi.Ub,I);return yield k({type:"save",payload:{privateMessageDetails:me||[]}}),me},*getTidings({payload:I},{call:O,put:k}){const me=yield O(Hi.AD,I);yield k({type:"save",payload:{tidingsList:me||[]}})},*getPrivateMessages({payload:I},{call:O,put:k}){const me=yield O(Hi.V8,I);return yield k({type:"save",payload:{privateMessage:me||[]}}),me},*getUsersForPrivateMessages({payload:I},{call:O,put:k}){const me=yield O(Hi.QJ,I);return yield k({type:"save",payload:{userPrivateMessage:me||[]}}),me},*unreadMessageInfo({payload:I},{call:O,put:k}){const me=yield O(Hi.Ig,I);yield k({type:"save",payload:{unreadInfo:me||[]}})},*getRecentContacts({payload:I},{call:O,put:k}){const me=yield O(Hi.Ko,I);return yield k({type:"save",payload:{recentContacts:me||[]}}),me},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:fa({},I)}})}},reducers:{save(I,O){return fa(fa({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Wi=e(80401),ka=e(955),ea=e(14165),ki=Object.defineProperty,va=Object.defineProperties,Ba=Object.getOwnPropertyDescriptors,Ka=Object.getOwnPropertySymbols,eo=Object.prototype.hasOwnProperty,qa=Object.prototype.propertyIsEnumerable,so=(I,O,k)=>O in I?ki(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ya=(I,O)=>{for(var k in O||(O={}))eo.call(O,k)&&so(I,k,O[k]);if(Ka)for(var k of Ka(O))qa.call(O,k)&&so(I,k,O[k]);return I},Ys=(I,O)=>va(I,Ba(O));const Ms=(I,O)=>{var k,me,Re,en,$n,dn,Di,Ha,Oa;if(!I)return;const{exam:Ao,single_questions:Ma,multiple_questions:io,judgement_questions:ys,program_questions:kc,completion_questions:Jl,subjective_questions:ec,practical_questions:bc,combination_questions:Nu,bprogram_questions:Oi}=I||{},tc=[Ya({type:"SINGLE",question_type:0,name:((k=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[0].nameType))==null?void 0:k.name)||ea.fw[0].name},Ma),Ya({type:"MULTIPLE",question_type:1,name:((me=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[1].nameType))==null?void 0:me.name)||ea.fw[1].name},io),Ya({type:"JUDGMENT",question_type:2,name:((Re=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[2].nameType))==null?void 0:Re.name)||ea.fw[2].name},ys),Ya({type:"PROGRAM",question_type:6,name:((en=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[6].nameType))==null?void 0:en.name)||ea.fw[6].name},kc),Ya({type:"COMPLETION",question_type:3,name:(($n=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[3].nameType))==null?void 0:$n.name)||ea.fw[3].name},Jl),Ya({type:"SUBJECTIVE",question_type:4,name:((dn=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[4].nameType))==null?void 0:dn.name)||ea.fw[4].name},ec),Ya({type:"PRACTICAL",question_type:5,name:((Di=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[5].nameType))==null?void 0:Di.name)||ea.fw[5].name},bc),Ya({type:"COMBINATION",question_type:7,name:((Ha=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[7].nameType))==null?void 0:Ha.name)||ea.fw[7].name},Nu),Ya({type:"BPROGRAM",question_type:8,name:((Oa=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[8].nameType))==null?void 0:Oa.name)||ea.fw[8].name},Oi)],Rl=[];if(I.sort_by_qustion_type)for(const Ja of I.qustion_type_order_name_en)Rl.push(tc.find(al=>al.type===Ja));const Ws=(I.sort_by_qustion_type?Rl:tc).filter(Ja=>(Ja==null?void 0:Ja.questions_count)>0).map((Ja,al)=>{var sl;return Ya(Ya({},Ja),{number:(0,ka.EM)(al+1),questions:(sl=Ja==null?void 0:Ja.questions)==null?void 0:sl.map(bl=>Ys(Ya({},bl),{shixun:bl.examination_bank_shixun_challenges,question_type:Ja.question_type}))})});return{exam:Ao,questionList:Ws}};var da=e(26422),Ua=Object.defineProperty,As=Object.getOwnPropertySymbols,ga=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Se=(I,O,k)=>O in I?Ua(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,yr=(I,O)=>{for(var k in O||(O={}))ga.call(O,k)&&Se(I,k,O[k]);if(As)for(var k of As(O))ye.call(O,k)&&Se(I,k,O[k]);return I},br={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:I},{call:O,put:k}){return yield O(Wi.a2,I)},*postCheckExaminationBanks({payload:I},{call:O,put:k}){return yield O(Wi.q$,I)},*postPaperlibraryCopy({payload:I},{call:O,put:k}){return yield O(Wi.ID,I)},*getDisciplines({payload:I},{call:O,put:k}){const me=yield O(Wi.d1,I);return yield k({type:"save",payload:{disciplinesData:yr({},me)}}),me},*getCustomDisciplines({payload:I},{call:O,put:k}){const me=yield O(Wi.ar,I);return yield k({type:"save",payload:{disciplinesData:yr({},me)}}),me},*getEditDisciplines({payload:I},{call:O,put:k}){const me=yield O(Wi.d1,I),Re=me==null?void 0:me.disciplines,en=(0,da.L)(Re);return yield k({type:"save",payload:{courseOptions:en,disciplinesData:yr({},me)}}),me},*getTeachGroupData({payload:I},{call:O,put:k}){const me=yield O(Wi.Dm,I);return yield k({type:"save",payload:{teachGroupData:yr({},me)}}),me},*getPaperData({payload:I},{call:O,put:k}){const me=yield O(Wi.iT,I),Re=yield O(Wi.cV,I),en=Ms(me,Re.data);return yield k({type:"save",payload:{paperData:en}}),me},*getPaperlibraryList({payload:I},{call:O,put:k}){return yield O(Wi.Gd,I)},*setPublic({payload:I},{call:O,put:k}){return yield O(Wi.DF,I)},*handleDelete({payload:I},{call:O,put:k}){return yield O(Wi.fn,I)},*getCourseList({payload:I},{call:O,put:k}){return yield O(Wi.tS,I)},*postBatchSendToCourse({payload:I},{call:O,put:k}){return yield O(Wi.lc,I)},*sendToClass({payload:I},{call:O,put:k}){return yield O(Wi.kp,I)},*adjustPosition({payload:I},{call:O,put:k}){return yield O(Wi.qN,I)},*setScore({payload:I},{call:O,put:k}){return yield O(Wi.ts,I)},*handleDeleteEditQuestion({payload:I},{call:O,put:k}){return yield O(Wi.NC,I)},*batchSetScore({payload:I},{call:O,put:k}){return yield O(Wi.YP,I)},*batchDelete({payload:I},{call:O,put:k}){return yield O(Wi.Hm,I)},*updatePaper({payload:I},{call:O,put:k}){return yield O(Wi.jK,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:yr({},I)}})}},reducers:{save(I,O){return yr(yr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Qr=Object.defineProperty,Cn=Object.getOwnPropertySymbols,ri=Object.prototype.hasOwnProperty,Fi=Object.prototype.propertyIsEnumerable,Mn=(I,O,k)=>O in I?Qr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Dn=(I,O)=>{for(var k in O||(O={}))ri.call(O,k)&&Mn(I,k,O[k]);if(Cn)for(var k of Cn(O))Fi.call(O,k)&&Mn(I,k,O[k]);return I},ia={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Wi.Dq,I);return yield me({type:"save",payload:{exerciseExportHeadData:Dn({},Re)}}),Re},*editExercise({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Wi.Di,I);return yield me({type:"save",payload:{editData:Dn({},Re)}}),Re},*getTagDiscipline({payload:I,callback:O},{call:k,put:me}){const Re=yield k(je.YY,I);return yield me({type:"save",payload:{tagDisciplineData:Dn({},Re)}}),Re},*editExerciseQuestion({payload:I,callback:O},{call:k,put:me}){return yield k(Wi.oF,I)},*addExerciseQuestion({payload:I,callback:O},{call:k,put:me}){return yield k(Wi.oF,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Dn({},I)}})}},reducers:{save(I,O){return Dn(Dn({},I),O.payload)},modifyTitle(I,O){const k=(0,Me.cloneDeep)(I);return k.editData.exercise.exercise_name=O.payload,k}},subscriptions:{setup({dispatch:I,history:O}){}}},Ui=e(86248),ho=Object.defineProperty,Xs=Object.getOwnPropertySymbols,eu=Object.prototype.hasOwnProperty,hl=Object.prototype.propertyIsEnumerable,qu=(I,O,k)=>O in I?ho(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,vu=(I,O)=>{for(var k in O||(O={}))eu.call(O,k)&&qu(I,k,O[k]);if(Xs)for(var k of Xs(O))hl.call(O,k)&&qu(I,k,O[k]);return I},Pu={namespace:"pathsDetail",state:{detail:{},rightData:{},Courses:{},stageData:[],StageChildrenData:{},discusses:{},actionTabs:{key:"",params:{}},isShowSchedule:!1,keywords:"",stage_id:null,visibleType:"All",editKey:-1},effects:{*getDiscusses({payload:I},{call:O,put:k}){const me=yield O(Ui.Ax,I);yield k({type:"save",payload:{discusses:vu({},me)}})},*getPathsDetail({payload:I},{call:O,put:k}){const me=yield O(Ui.lk,I);return yield k({type:"save",payload:{detail:vu({},me)}}),me},*getCourseDetail({payload:I},{call:O,put:k}){const me=yield O(Ui.Sp,I);return yield k({type:"save",payload:{detail:vu({},me)}}),me},*getRightData({payload:I},{call:O,put:k}){const me=yield O(Ui.AQ,I);yield k({type:"save",payload:{rightData:vu({},me)}})},*getCoureses({payload:I},{call:O,put:k}){const me=yield O(Ui.ue,I);yield k({type:"save",payload:{Courses:vu({},me)}})},*getStageChildrenData({payload:I},{call:O,put:k}){const me=yield O(Ui.w4,I);return yield k({type:"save",payload:{StageChildrenData:me}}),me},*getStageData({payload:I},{call:O,put:k}){var me,Re;let en=null;I!=null&&I.show_course_section?en=yield O(Ui.yN,I):en=yield O(Ui.p,I),yield k({type:"save",payload:{stageData:((me=en==null?void 0:en.data)==null?void 0:me.stages)||(en==null?void 0:en.stages)||[],isShowSchedule:((Re=en==null?void 0:en.data)==null?void 0:Re.is_show_schedule)||(en==null?void 0:en.is_show_schedule)||!1}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:vu({},I)}})}},reducers:{save(I,O){return vu(vu({},I),O.payload)}}},Ve=Object.defineProperty,W=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,pe=(I,O,k)=>O in I?Ve(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Te=(I,O)=>{for(var k in O||(O={}))X.call(O,k)&&pe(I,k,O[k]);if(W)for(var k of W(O))te.call(O,k)&&pe(I,k,O[k]);return I},xt={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:I},{call:O,put:k}){const me=I,Re=yield O(Ui.tS,I);return yield k({type:"save",payload:Te({listParams:me},Re)}),Re},*getMenus({payload:I},{call:O,put:k}){const me=yield O(Ui.fh,I);yield k({type:"save",payload:{menus:me}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Te({},I)}})},*clearListParams({payload:I},{call:O,put:k}){yield k({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(I,O){return Te(Te({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Bt=Object.defineProperty,nr=Object.getOwnPropertySymbols,Tr=Object.prototype.hasOwnProperty,Wr=Object.prototype.propertyIsEnumerable,an=(I,O,k)=>O in I?Bt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,wn=(I,O)=>{for(var k in O||(O={}))Tr.call(O,k)&&an(I,k,O[k]);if(nr)for(var k of nr(O))Wr.call(O,k)&&an(I,k,O[k]);return I},Wn={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:I},{call:O,put:k}){return yield O(Ui.tu,I)},*submitCourse({payload:I},{call:O,put:k}){return yield O(Ui.pU,I)},*getEditCourseData({payload:I},{call:O,put:k}){return yield O(Ui.mQ,I)},*getSchoolOption({payload:I},{call:O,put:k}){return yield O(Ui.GY,I)},*appplySchool({payload:I},{call:O,put:k}){return yield O(Ui.bz,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:wn({},I)}})}},reducers:{save(I,O){return wn(wn({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},pi=Object.defineProperty,Sr=Object.defineProperties,aa=Object.getOwnPropertyDescriptors,sa=Object.getOwnPropertySymbols,is=Object.prototype.hasOwnProperty,Za=Object.prototype.propertyIsEnumerable,ws=(I,O,k)=>O in I?pi(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,as=(I,O)=>{for(var k in O||(O={}))is.call(O,k)&&ws(I,k,O[k]);if(sa)for(var k of sa(O))Za.call(O,k)&&ws(I,k,O[k]);return I},Aa=(I,O)=>Sr(I,aa(O)),Rs={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:I},{call:O,put:k}){const me=yield O(Ui.nq,I);yield k({type:"save",payload:{SubjectUseInfos:me}})},*getRankList({payload:I},{call:O,put:k}){const me=yield O(Ui.Fg,I);yield k({type:"save",payload:{RankList:Aa(as({},me),{learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0",data:"\u5B66\u4E60\u4EBA\u6570"},...(me==null?void 0:me.learn_list)||[]]})}})},*getStatisticsBody({payload:I},{call:O,put:k}){const me=yield O(Ui.Gz,I);yield k({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:I},{call:O,put:k}){const me=yield O(Ui.hS,I);yield k({type:"save",payload:{OnlineCount:me==null?void 0:me.data}})},*getStatisticsHeader({payload:I},{call:O,put:k}){const me=yield O(Ui.Hl,I);yield k({type:"save",payload:{SHeader:me}})}},reducers:{save(I,O){return as(as({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},fi=e(16149),Qs=Object.defineProperty,po=Object.getOwnPropertySymbols,Oo=Object.prototype.hasOwnProperty,za=Object.prototype.propertyIsEnumerable,Eo=(I,O,k)=>O in I?Qs(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,zs=(I,O)=>{for(var k in O||(O={}))Oo.call(O,k)&&Eo(I,k,O[k]);if(po)for(var k of po(O))za.call(O,k)&&Eo(I,k,O[k]);return I},Ju={namespace:"problemset",state:{disciplinesData:void 0,courseOptions:[],basketData:void 0,editData:void 0,groupData:void 0,teachGroupData:void 0,actionTabs:{key:"",params:{}},itemBanks:{},groupfolderList:{}},effects:{*getGroup({payload:I},{call:O,put:k}){const me=yield O(fi.ex,I);return yield k({type:"save",payload:{groupfolderList:me}}),me},*getDisciplines({payload:I},{call:O,put:k}){const me=yield O(fi.d1,I);return yield k({type:"save",payload:{disciplinesData:zs({},me)}}),me},*getEditDisciplines({payload:I},{call:O,put:k}){const me=yield O(fi.d1,I),Re=me==null?void 0:me.disciplines,en=(0,da.L)(Re);return yield k({type:"save",payload:{courseOptions:en,disciplinesData:zs({},me)}}),me},*getBasketList({payload:I},{call:O,put:k}){const me=yield O(fi.Qj,I);return yield k({type:"save",payload:{basketData:zs({},me)}}),me},*getTeachGroupData({payload:I},{call:O,put:k}){const me=yield O(fi.Dm,I);return yield k({type:"save",payload:{teachGroupData:zs({},me)}}),me},*getEditData({payload:I},{call:O,put:k}){const me=yield O(fi.FG,I);return yield k({type:"save",payload:{editData:zs({},me)}}),me},*getEditDataBprogram({payload:I},{call:O,put:k}){const me=yield O(fi.Bo,I);return yield k({type:"save",payload:{editData:zs({},me)}}),me},*getGroupData({payload:I},{call:O,put:k}){const me=yield O(fi.hI,I);return yield k({type:"save",payload:{groupData:zs({},me)}}),me},*getItemBanks({payload:I},{call:O,put:k}){const me=yield O(fi.Of,I);return yield k({type:"save",payload:{itemBanks:zs({},me)}}),me},*setPrivate({payload:I},{call:O,put:k}){return yield O(fi.Pl,I)},*revokePublish({payload:I},{call:O,put:k}){return yield O(fi.IJ,I)},*setPublic({payload:I},{call:O,put:k}){return yield O(fi.DF,I)},*handleDelete({payload:I},{call:O,put:k}){return yield O(fi.fn,I)},*startExperience({payload:I},{call:O,put:k}){return yield O(fi.Bd,I)},*cancel({payload:I},{call:O,put:k}){return yield O(fi.al,I)},*select({payload:I},{call:O,put:k}){return yield O(fi.Ys,I)},*examUnselectAll({payload:I},{call:O,put:k}){return yield O(fi.rV,I)},*basketDelete({payload:I},{call:O,put:k}){return yield O(fi.x5,I)},*unselectAll({payload:I},{call:O,put:k}){return yield O(fi.HF,I)},*addKnowledge({payload:I},{call:O,put:k}){return yield O(fi.U6,I)},*editProblemset({payload:I},{call:O,put:k}){return yield O(fi.Wk,I)},*addProblemset({payload:I},{call:O,put:k}){return yield O(fi.Mr,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:zs({},I)}})}},reducers:{save(I,O){return zs(zs({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},el=Object.defineProperty,gu=Object.getOwnPropertySymbols,ss=Object.prototype.hasOwnProperty,uu=Object.prototype.propertyIsEnumerable,yu=(I,O,k)=>O in I?el(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,wo=(I,O)=>{for(var k in O||(O={}))ss.call(O,k)&&yu(I,k,O[k]);if(gu)for(var k of gu(O))uu.call(O,k)&&yu(I,k,O[k]);return I},Iu={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:I},{call:O,put:k}){const me=yield O(fi.iT,I),Re=(0,da.r)(me);return yield k({type:"save",payload:{paperData:Re}}),me},*getEditDisciplines({payload:I},{call:O,put:k}){const me=yield O(fi.d1,I),Re=me==null?void 0:me.disciplines,en=(0,da.L)(Re);return yield k({type:"save",payload:{courseOptions:en,disciplinesData:wo({},me)}}),me},*setScore({payload:I},{call:O,put:k}){return yield O(fi.ts,I)},*handleDelete({payload:I},{call:O,put:k}){return yield O(fi.Cn,I)},*batchSetScore({payload:I},{call:O,put:k}){return yield O(fi.YP,I)},*batchDelete({payload:I},{call:O,put:k}){return yield O(fi.Hm,I)},*adjustPosition({payload:I},{call:O,put:k}){return yield O(fi.qN,I)},*newPreviewProblemset({payload:I},{call:O,put:k}){return yield O(fi.et,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:wo({},I)}})}},reducers:{save(I,O){return wo(wo({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Yo=e(52403),zl=Object.defineProperty,Zs=Object.getOwnPropertySymbols,Uo=Object.prototype.hasOwnProperty,Du=Object.prototype.propertyIsEnumerable,Zl=(I,O,k)=>O in I?zl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,lu=(I,O)=>{for(var k in O||(O={}))Uo.call(O,k)&&Zl(I,k,O[k]);if(Zs)for(var k of Zs(O))Du.call(O,k)&&Zl(I,k,O[k]);return I},Zu={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:I},{call:O,put:k}){const me=yield O(Yo.Go,I);return yield k({type:"save",payload:{restful:lu({},me)}}),me},*getRestfulDetail({payload:I},{call:O,put:k}){const me=yield O(Yo.H5,I);return yield k({type:"save",payload:{restfulDetail:lu({},(me==null?void 0:me.data)||{})}}),(me==null?void 0:me.data)||{}},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:lu({},I)}})}},reducers:{save(I,O){return lu(lu({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},ai=e(49692);const Sc=(I={})=>{var O,k,me,Re,en,$n;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(O=I==null?void 0:I.content_info)==null?void 0:O.status,username:(k=I==null?void 0:I.content_info)==null?void 0:k.username,time:(me=I==null?void 0:I.content_info)==null?void 0:me.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(Re=I==null?void 0:I.perference_info)==null?void 0:Re.status,username:(en=I==null?void 0:I.perference_info)==null?void 0:en.username,time:($n=I==null?void 0:I.perference_info)==null?void 0:$n.time}]};var to=Object.defineProperty,uc=Object.defineProperties,tu=Object.getOwnPropertyDescriptors,rl=Object.getOwnPropertySymbols,Hu=Object.prototype.hasOwnProperty,lc=Object.prototype.propertyIsEnumerable,Ac=(I,O,k)=>O in I?to(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,qs=(I,O)=>{for(var k in O||(O={}))Hu.call(O,k)&&Ac(I,k,O[k]);if(rl)for(var k of rl(O))lc.call(O,k)&&Ac(I,k,O[k]);return I},cc=(I,O)=>uc(I,tu(O)),Bo={namespace:"shixunsDetail",state:{detail:void 0,rightData:void 0,challenges:{is_jupyter:!0,is_jupyter_lab:!0},auditSituationData:void 0,setting:void 0,challengesNew:{},challengesEdit:{},editChallengesQuestion:{},fileContent:{},hasStartedEnv:!1,repository:{},mirrorApplies:{},infoWithJupyterLab:{},actionTabs:{key:"",params:{}}},effects:{*getShixunsDetail({payload:I},{call:O,put:k}){const me=yield O(ai.Po,I);return yield k({type:"save",payload:{detail:qs({},me)}}),me},*getMirrorApplies({payload:I},{call:O,put:k}){const me=yield O(ai.tX,I);return yield k({type:"save",payload:{mirrorApplies:qs({},(me==null?void 0:me.data)||{})}}),me},*getRightData({payload:I},{call:O,put:k}){const me=yield O(ai.AQ,I);yield k({type:"save",payload:{rightData:qs({},me)}})},*getChallengesData({payload:I},{call:O,put:k}){const me=yield O(ai.n5,I);yield k({type:"save",payload:{challenges:qs({},me)}})},*saveCopyForExercise({payload:I},{call:O,put:k}){return yield O(ai.FB,I)},*execJupyter({payload:I},{call:O,put:k}){return yield O(ai.BK,I)},*execShixun({payload:I},{call:O,put:k}){const me=yield O(ai.Ir,I);return(me==null?void 0:me.status)===-3&&(0,ka.eF)(),me},*openChallenge({payload:I},{call:O,put:k}){return yield O(ai.dK,I)},*challengeMoveUp({payload:I},{call:O,put:k}){return yield O(ai.zD,I)},*challengeMoveDown({payload:I},{call:O,put:k}){return yield O(ai.hn,I)},*cancelCollect({payload:I},{call:O,put:k}){return yield O(ai.rs,I)},*collect({payload:I},{call:O,put:k}){return yield O(ai.KM,I)},*searchUserCourses({payload:I},{call:O,put:k}){return yield O(ai._7,I)},*sendToCourse({payload:I},{call:O,put:k}){return yield O(ai.Q,I)},*cancelRelease({payload:I},{call:O,put:k}){return yield O(ai.Ne,I)},*cancelPublic({payload:I},{call:O,put:k}){return yield O(ai.Er,I)},*applyPublic({payload:I},{call:O,put:k}){return yield O(ai.WO,I)},*release({payload:I},{call:O,put:k}){return yield O(ai.Ar,I)},*updateAuditSituation({payload:I},{call:O,put:k}){return yield O(ai.LP,I)},*getCollaboratorsData({payload:I},{call:O,put:k}){return yield O(ai.j8,I)},*addCollaborator({payload:I},{call:O,put:k}){return yield O(ai.OV,I)},*addTeachGroupMember({payload:I},{call:O,put:k}){return yield O(ai.l3,I)},*getChangeManager({payload:I},{call:O,put:k}){return yield O(ai.P2,I)},*changeManager({payload:I},{call:O,put:k}){return yield O(ai.X$,I)},*deleteCollaborators({payload:I},{call:O,put:k}){return yield O(ai.xk,I)},*getRankingList({payload:I},{call:O,put:k}){return yield O(ai.E4,I)},*getMirrorScript({payload:I},{call:O,put:k}){return yield O(ai.Z2,I)},*getScriptContent({payload:I},{call:O,put:k}){return yield O(ai.Bj,I)},*getCustomScript({payload:I},{call:O,put:k}){return yield O(ai.Wi,I)},*updateSettingBasicInfo({payload:I},{call:O,put:k}){return yield O(ai.ZO,I)},*getShixunQuote({payload:I},{call:O,put:k}){return yield O(ai.Gr,I)},*deleteShixun({payload:I},{call:O,put:k}){return yield O(ai.Ps,I)},*permanentClose({payload:I},{call:O,put:k}){return yield O(ai.U9,I)},*getDepartments({payload:I},{call:O,put:k}){return yield O(ai.Ql,I)},*updatePermissionSetting({payload:I},{call:O,put:k}){return yield O(ai.aH,I)},*updateLearnSetting({payload:I},{call:O,put:k}){return yield O(ai.yE,I)},*updateSetting({payload:I},{call:O,put:k}){return yield O(ai.m7,I)},*getSetData({payload:I},{call:O,put:k}){return yield O(ai.U0,I)},*deleteDataSet({payload:I},{call:O,put:k}){return yield O(ai.uo,I)},*deleteGitFile({payload:I},{call:O,put:k}){return yield O(ai.sr,I)},*deleteGitFiles({payload:I},{call:O,put:k}){return yield O(ai.p0,I)},*moveGitFile({payload:I},{call:O,put:k}){return yield O(ai.IT,I)},*moveGitFiles({payload:I},{call:O,put:k}){return yield O(ai.t2,I)},*getRepository({payload:I},{call:O,put:k}){const me=yield O(ai.Ag,I);return yield k({type:"save",payload:{repository:qs({},me)}}),qs({},me)},*getRepositorys({payload:I},{call:O,put:k}){const me=yield O(ai.Wl,I);return yield k({type:"save",payload:{repository:qs({},me)}}),qs({},me)},*getRepositorys({payload:I},{call:O,put:k}){const me=yield O(ai.Wl,I);return yield k({type:"save",payload:{repository:qs({},me)}}),qs({},me)},*getSecretRepository({payload:I},{call:O,put:k}){const me=yield O(ai.w,I);return yield k({type:"save",payload:{secretRepository:qs({},me)}}),me},*addRepositoryFile({payload:I},{call:O,put:k}){return yield O(ai.v3,I)},*addRepositoryFiles({payload:I},{call:O,put:k}){return yield O(ai.fL,I)},*getRepositoryCommit({payload:I},{call:O,put:k}){return yield O(ai.Je,I)},*getFileContent({payload:I},{call:O,put:k}){const me=yield O(ai.LK,I);return yield k({type:"save",payload:{fileContent:cc(qs({},me),{params:I})}}),me},*getFileContents({payload:I},{call:O,put:k}){const me=yield O(ai.nu,I);return yield k({type:"save",payload:{fileContent:cc(qs({},me),{params:I})}}),me},*updateRepositoryFile({payload:I},{call:O,put:k}){return yield O(ai.kF,I)},*updateRepositoryFiles({payload:I},{call:O,put:k}){return yield O(ai.jq,I)},*uploadGitFolder({payload:I},{call:O,put:k}){return yield O(ai.Op,I)},*updateCollaboratorEditable({payload:I},{call:O,put:k}){return yield O(ai.Dz,I)},*getSettingsData({payload:I},{call:O,put:k}){const me=yield O(ai.DC,I);yield k({type:"save",payload:{setting:qs({},me)}})},*getChallengesNew({payload:I},{call:O,put:k}){const me=yield O(ai.km,I);yield k({type:"save",payload:{challengesNew:qs({},me)}})},*getChallengesEdit({payload:I},{call:O,put:k}){const me=yield O(ai.q0,I);return yield k({type:"save",payload:{challengesEdit:qs({},me)}}),me},*getAuditSituationData({payload:I},{call:O,put:k}){const me=yield O(ai.GI,I),Re=Sc(me);yield k({type:"save",payload:{auditSituationData:Re}})},*getEditChallengesQuestion({payload:I},{call:O,put:k}){const me=yield O(ai.UQ,I);return yield k({type:"save",payload:{editChallengesQuestion:me}}),me},*getInfoWithJupyterLab({payload:I},{call:O,put:k}){const me=yield O(ai.mI,I);return yield k({type:"save",payload:{infoWithJupyterLab:me}}),me},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:qs({},I)}})}},reducers:{save(I,O){return console.log("reducers:",I,O),qs(qs({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Cl=Object.defineProperty,Cc=Object.getOwnPropertySymbols,Hl=Object.prototype.hasOwnProperty,bu=Object.prototype.propertyIsEnumerable,Wl=(I,O,k)=>O in I?Cl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Hs=(I,O)=>{for(var k in O||(O={}))Hl.call(O,k)&&Wl(I,k,O[k]);if(Cc)for(var k of Cc(O))bu.call(O,k)&&Wl(I,k,O[k]);return I},No={namespace:"shixunsList",state:{name:"",loading:!0,listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}},effects:{*getShixuns({payload:I},{call:O,put:k}){const me=yield O(ai.he,I),Re=Hs({},I);return yield k({type:"save",payload:Hs({listParams:Re},me)}),me},*getMenus({payload:I},{call:O,put:k}){var me;const Re=yield O(ai.I_,I);(me=Re==null?void 0:Re.disciplines)==null||me.map(en=>(en.sub_repertoires=en.sub_disciplines,en)),yield k({type:"save",payload:{menus:[...(Re==null?void 0:Re.disciplines)||[]]}})},*clearListParams({payload:I},{call:O,put:k}){yield k({type:"save",payload:{listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}}})}},reducers:{save(I,O){return Hs(Hs({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Wu=Object.defineProperty,Tl=Object.getOwnPropertySymbols,ru=Object.prototype.hasOwnProperty,Tc=Object.prototype.propertyIsEnumerable,cu=(I,O,k)=>O in I?Wu(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Xo=(I,O)=>{for(var k in O||(O={}))ru.call(O,k)&&cu(I,k,O[k]);if(Tl)for(var k of Tl(O))Tc.call(O,k)&&cu(I,k,O[k]);return I},xu={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:I},{call:O,put:k}){const me=yield O(ai.b8,I);return yield k({type:"save",payload:{newData:Xo({},me)}}),me},*deleteAttachment({payload:I},{call:O,put:k}){return yield O(ai.OW,I)},*applyShixunMirror({payload:I},{call:O,put:k}){return yield O(ai.EH,I)},*submitShixuns({payload:I},{call:O,put:k}){return yield O(ai.eX,I)},*getShixunsJupyterLab({payload:I},{call:O,put:k}){const me=yield O(ai.Gu,I);return yield k({type:"save",payload:{newData:Xo({},me)}}),me},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Xo({},I)}})},*getEnvironmentData({payload:I},{call:O,put:k}){const me=yield O(ai.K,I);return console.log(me,"response"),yield k({type:"save",payload:{environmentData:Xo({},me.data)}}),me}},reducers:{save(I,O){return Xo(Xo({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},fc=Object.defineProperty,_l=Object.getOwnPropertySymbols,Ra=Object.prototype.hasOwnProperty,lf=Object.prototype.propertyIsEnumerable,zc=(I,O,k)=>O in I?fc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ou=(I,O)=>{for(var k in O||(O={}))Ra.call(O,k)&&zc(I,k,O[k]);if(_l)for(var k of _l(O))lf.call(O,k)&&zc(I,k,O[k]);return I},cf={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:I},{call:O,put:k}){const me=yield O(ai.e,I);yield k({type:"save",payload:{ShixunUseInfos:me}})},*getRankList({payload:I},{call:O,put:k}){const me=yield O(ai.Fg,I);yield k({type:"save",payload:{RankList:{user_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",role:"\u89D2\u8272",student_id:"\u5B66\u53F7/\u5DE5\u53F7",num:"\u901A\u8FC7\u5173\u5361\u6570"},...(me==null?void 0:me.user_list)||[]],learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(me==null?void 0:me.learn_list)||[]],clearance_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u901A\u5173\u6570"},...(me==null?void 0:me.clearance_list)||[]],quote_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5F15\u7528\u6B21\u6570"},...(me==null?void 0:me.quote_list)||[]]}}})},*getStatisticsBody({payload:I},{call:O,put:k}){const me=yield O(ai.Gz,I);yield k({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:I},{call:O,put:k}){const me=yield O(ai.hS,I);yield k({type:"save",payload:{OnlineCount:me==null?void 0:me.data}})},*getStatisticsHeader({payload:I},{call:O,put:k}){const me=yield O(ai.Hl,I);yield k({type:"save",payload:{SHeader:me}})}},reducers:{save(I,O){return Ou(Ou({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},dc=(I,O,k)=>new Promise((me,Re)=>{var en=Di=>{try{dn(k.next(Di))}catch(Ha){Re(Ha)}},$n=Di=>{try{dn(k.throw(Di))}catch(Ha){Re(Ha)}},dn=Di=>Di.done?me(Di.value):Promise.resolve(Di.value).then(en,$n);dn((k=k.apply(I,O)).next())});function nu(I){return dc(this,null,function*(){return(0,na.ZP)("/api/shixuns/new.json",{method:"Get",params:I})})}function Zc(I){return dc(this,null,function*(){return(0,na.ZP)(`/api/shixuns/${I.id}/required_status.json`,{method:"Get",params:{}})})}var hc=Object.defineProperty,Gl=Object.defineProperties,Hc=Object.getOwnPropertyDescriptors,pc=Object.getOwnPropertySymbols,zo=Object.prototype.hasOwnProperty,Gu=Object.prototype.propertyIsEnumerable,Pl=(I,O,k)=>O in I?hc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Eu=(I,O)=>{for(var k in O||(O={}))zo.call(O,k)&&Pl(I,k,O[k]);if(pc)for(var k of pc(O))Gu.call(O,k)&&Pl(I,k,O[k]);return I},_c=(I,O)=>Gl(I,Hc(O)),Vl={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{*setParams({payload:I},{call:O,put:k}){yield k({type:"save",payload:Eu({},I)})},*getTestData({payload:I},{call:O,put:k}){const me=yield O(nu,I);yield k({type:"save",payload:{data:me}})},*setUpdateIndex({payload:I},{call:O,put:k}){yield k({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:I},{call:O,put:k}){const me=yield O(Zc,I);yield k({type:"save",payload:Eu({},me.data)})},*setSideBarTabs({payload:I},{call:O,put:k}){yield k({type:"sideBar",payload:Eu({},I)})}},reducers:{save(I,O){return Eu(Eu({},I),O.payload)},sideBar(I,O){return _c(Eu({},I),{sideBar:Eu(Eu({},I.sideBar),O.payload)})}},subscriptions:{setup({dispatch:I,history:O}){}}},no=e(24780),Gc=Object.defineProperty,Ic=Object.getOwnPropertySymbols,ku=Object.prototype.hasOwnProperty,Ru=Object.prototype.propertyIsEnumerable,$s=(I,O,k)=>O in I?Gc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,ml=(I,O)=>{for(var k in O||(O={}))ku.call(O,k)&&$s(I,k,O[k]);if(Ic)for(var k of Ic(O))Ru.call(O,k)&&$s(I,k,O[k]);return I},mc={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:I},{call:O,put:k}){const me=yield O(no.JJ,I);return yield k({type:"save",payload:{homeworkBanksDetail:ml({},me)}}),me},*getSystemUpdate({payload:I},{call:O,put:k}){const me=yield O(no.n0,I);return yield k({type:"save",payload:{systemUpdate:ml({},me)}}),me},*getHomepageInfo({payload:I},{call:O,put:k}){const me=yield O(no.DA,I);return yield k({type:"save",payload:{homepageInfo:ml({},me)}}),me},*signed({payload:I},{call:O,put:k}){return yield O(no.qN,I)},*getCourses({payload:I},{call:O,put:k}){return yield O(no.Ho,I)},*getShixuns({payload:I},{call:O,put:k}){return yield O(no.rV,I)},*getPaths({payload:I},{call:O,put:k}){return yield O(no.w3,I)},*getProjects({payload:I},{call:O,put:k}){return yield O(no.mW,I)},*getVideos({payload:I},{call:O,put:k}){return yield O(no.WY,I)},*getReviewVideos({payload:I},{call:O,put:k}){return yield O(no.Qx,I)},*deleteVideo({payload:I},{call:O,put:k}){return yield O(no.FM,I)},*getQuestionBanks({payload:I},{call:O,put:k}){return yield O(no.ai,I)},*topicsSetPublic({payload:I},{call:O,put:k}){return yield O(no.Cx,I)},*topicsDelete({payload:I},{call:O,put:k}){return yield O(no.WS,I)},*topicGetCourseList({payload:I},{call:O,put:k}){return yield O(no.gI,I)},*topicSendToClass({payload:I},{call:O,put:k}){return I.object_type==="videos"?yield O(no.Fn,I):yield O(no.Ef,I)},*logWatchHistory({payload:I},{call:O,put:k}){const me=yield O(no.lO,I);return me==null?void 0:me.log_id},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:ml({},I)}})}},reducers:{save(I,O){return ml(ml({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Vc=Object.defineProperty,vl=Object.getOwnPropertySymbols,ko=Object.prototype.hasOwnProperty,Il=Object.prototype.propertyIsEnumerable,ze=(I,O,k)=>O in I?Vc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,wu=(I,O)=>{for(var k in O||(O={}))ko.call(O,k)&&ze(I,k,O[k]);if(vl)for(var k of vl(O))Il.call(O,k)&&ze(I,k,O[k]);return I},Qo=(I,O)=>{var k={};for(var me in I)ko.call(I,me)&&O.indexOf(me)<0&&(k[me]=I[me]);if(I!=null&&vl)for(var me of vl(I))O.indexOf(me)<0&&Il.call(I,me)&&(k[me]=I[me]);return k},$o={namespace:"user",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",showPopLogin:!1,showClosable:!1,bindAccountModalVisible:!1,userInfoForBindAccountModal:{},loginInfo:{login:"",password:""},userInfo:{},navigationInfo:{},loading:!0,actionTabs:{key:"",params:{},phone:""}},effects:{*login({payload:I},{call:O,put:k}){const me=I,{to:Re}=me,en=Qo(me,["to"]);if(!(yield O(no.Es,en)).status)try{Re?f.history.replace(Re):location.reload()}catch(dn){}},*showPopLogin({payload:I},{put:O}){yield O({type:"save",payload:{showPopLogin:I.showPopLogin,showClosable:I.showClosable}})},*setBindAccountModal({payload:I},{put:O}){yield O({type:"save",payload:{bindAccountModalVisible:I.bindAccountModalVisible,userInfoForBindAccountModal:I.userInfoForBindAccountModal,loginInfo:I.loginInfo}})},*getUserInfo({payload:I},{call:O,put:k}){const me=yield O(no.bG,wu({},I));return localStorage.userInfo=JSON.stringify(me),yield k({type:"save",payload:{userInfo:wu({},me)}}),me},*getNavigationInfo({payload:I},{call:O,put:k}){const me=yield O(no.x4,wu({},I));yield k({type:"save",payload:{navigationInfo:wu({},me)}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:wu({},I)}})}},reducers:{save(I,O){return wu(wu({},I),O.payload)}}},fu=e(34640),Yl=Object.defineProperty,Lu=Object.defineProperties,So=Object.getOwnPropertyDescriptors,nl=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,vc=Object.prototype.propertyIsEnumerable,Mu=(I,O,k)=>O in I?Yl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Zo=(I,O)=>{for(var k in O||(O={}))Su.call(O,k)&&Mu(I,k,O[k]);if(nl)for(var k of nl(O))vc.call(O,k)&&Mu(I,k,O[k]);return I},il=(I,O)=>Lu(I,So(O));const Au=()=>{var I,O,k,me,Re,en,$n;let dn=window.location.href.split("/");if(!dn.includes("video"))return;let Di=(I=dn[dn.length-1])==null?void 0:I.split("?")[0];Di=Number(Di);const Ha=(k=(O=dn[dn.length-1])==null?void 0:O.split("?")[1])==null?void 0:k.split("=")[1];return((Re=(me=dn[dn.length-1])==null?void 0:me.split("?")[1])==null?void 0:Re.split("=")[0])==="subject_id"?{videoId:Di,subject_id:Ha}:(($n=(en=dn[dn.length-1])==null?void 0:en.split("?")[1])==null?void 0:$n.split("=")[0])==="new_video_id"?{videoId:Di,new_video_id:Ha}:{videoId:Di,course_id:Ha}};var Kc={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:Au(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:I,callback:O},{call:k,put:me}){const Re=yield k(Fn.O2,I);return O?O(Re):yield me({type:"save",payload:{detail:Zo({},Re)}}),Re},*setVideoValue({payload:I},{call:O,put:k}){yield k({type:"save",payload:{detail:Zo({},I)}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Zo({},I)}})},*setVideoTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{videoTabs:Zo({},I)}})},*setSelectValue({payload:I},{call:O,put:k}){yield k({type:"save",payload:{selectParams:Zo({},I)}})},*getStageData({payload:I},{call:O,put:k,select:me}){const Re=yield O(Fn.yN,I),en=yield O(Ui.lk,{id:I.subject_id}),{queryParams:$n}=yield me(Ma=>Ma.videoDetail),{stages:dn=[]}=Re,Di=[];let Ha=[],Oa={};const Ao=Ma=>{Ma.forEach(io=>{String(io.id)===String($n.videoId)&&(Oa=io),io.item_type==="VideoItem"?Di.push(io):io.item_type==="Attachment"&&Ha.push(io),io.children&&io.children.length&&Ao(io.children)})};dn==null||dn.forEach(Ma=>{Ao(Ma.items)}),window.filterVideoSign=[...Di],yield k({type:"save",payload:{stages:dn,active:Oa,cust_seq:en.cust_seq,videoList:Di,attachmentList:Ha}})},*getVideoData({payload:I},{call:O,put:k,select:me}){const Re=yield O(Fn.fn,I),{categories:en=[],coruse_videos:$n=[]}=Re;yield k({type:"save",payload:{stages:(en==null?void 0:en.length)>0?en:[{coruse_videos:$n,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:I},{call:O,put:k,select:me}){const Re=yield O(fu.R7,I),{queryParams:en}=yield me(Ao=>Ao.videoDetail),{stages:$n}=Re;let dn=[],Di=[],Ha={};const Oa=Ao=>{Ao.forEach(Ma=>{String(Ma.id)===String(en.videoId)&&(Ha=Ma),Ma.item_type==="VideoItem"?dn.push(Ma):Ma.item_type==="Attachment"&&Di.push(Ma),Ma.children&&Ma.children.length&&Oa(Ma.children)})};$n==null||$n.forEach(Ao=>{Oa(Ao.items)}),window.filterVideoSign=[...dn],yield k({type:"save",payload:{active:Ha,stages:$n,cust_seq:!0,videoList:dn,attachmentList:Di}})}},reducers:{save(I,O){return Zo(Zo({},I),O.payload)},handleListItemClick(I,O){const{videoList:k,attachmentList:me}=I,Re=O.payload.videoId||O.payload.attachmentId,en=[...k,...me].find($n=>`${$n.id}`==`${Re}`);return il(Zo({},I),{active:en,queryParams:Zo(Zo({},Au()),O.payload)})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},oo=e(62406),du=Object.defineProperty,Dl=Object.getOwnPropertySymbols,Xl=Object.prototype.hasOwnProperty,Ql=Object.prototype.propertyIsEnumerable,gl=(I,O,k)=>O in I?du(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ol=(I,O)=>{for(var k in O||(O={}))Xl.call(O,k)&&gl(I,k,O[k]);if(Dl)for(var k of Dl(O))Ql.call(O,k)&&gl(I,k,O[k]);return I},kl={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:I},{call:O,put:k}){const me=yield O(oo.y2,I);return yield k({type:"save",payload:{Workplace:{BaseData:me.data}}}),me},*putEditDiscussion({payload:I},{call:O,put:k}){return yield O(oo.CH,I)},*getDiscussionDetail({payload:I},{call:O,put:k}){const me=yield O(oo.XQ,I);return yield k({type:"save",payload:{DiscussionDetail:me}}),me},*postDiscussionList({payload:I},{call:O,put:k}){return yield O(oo.Ll,I)},*getDiscussionList({payload:I},{call:O,put:k}){const me=yield O(oo.EA,I);return yield k({type:"save",payload:{DiscussionList:me}}),me},*postAddLessonRes({payload:I},{call:O,put:k}){return yield O(oo.cZ,I)},*getLessonResourcesList({payload:I},{call:O,put:k}){const me=yield O(oo.b,I);return yield k({type:"save",payload:{LessonResList:me}}),me},*putGoodLessonsDetail({payload:I},{call:O,put:k}){return yield O(oo.To,I)},*getGoodLessonsDetail({payload:I},{call:O,put:k}){const me=yield O(oo.FU,I);return yield k({type:"save",payload:{LessonDetail:me}}),me},*postGoodLessonsList({payload:I},{call:O,put:k}){return yield O(oo.Vf,I)},*getGoodLessonsList({payload:I},{call:O,put:k}){const me=yield O(oo.G_,I);return yield k({type:"save",payload:{LessonsList:me}}),me},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Ol({},I)}})},*setShowMenu({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showMenu:I}})},*getVirtualSpacesDetails({payload:I},{call:O,put:k}){const me=yield O(oo.sT,I);yield k({type:"save",payload:{virtualSpacesDetails:Ol({},me)}})},*setVirtualSpacesLoading({payload:I},{call:O,put:k}){yield k({type:"save",payload:{loading:I}})},*getVirtualSpacesMenus({payload:I},{call:O,put:k}){const me=yield O(oo.Sl,I);return yield k({type:"save",payload:{menus:me}}),me}},reducers:{save(I,O){return Ol(Ol({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}};const ql={model_1:{namespace:"account.index",model:b},model_2:{namespace:"classrooms.announcement",model:K},model_3:{namespace:"classrooms.attachment",model:ue},model_4:{namespace:"classrooms.boards",model:Ce},model_5:{namespace:"classrooms.exercise",model:Xe},model_6:{namespace:"classrooms.graduation",model:Ae},model_7:{namespace:"classrooms.homeworks",model:Gt},model_8:{namespace:"classrooms.index",model:Pe},model_9:{namespace:"classrooms.new",model:gt},model_10:{namespace:"classrooms.overview",model:Br},model_11:{namespace:"classrooms.polls",model:jt},model_12:{namespace:"classrooms.teacher",model:hn},model_13:{namespace:"classrooms.video",model:Xi},model_14:{namespace:"competitions.index",model:vi},model_15:{namespace:"engineering.evaluateDetail",model:et},model_16:{namespace:"engineering.evaluateList",model:En.Z},model_17:{namespace:"engineering.index",model:bn},model_18:{namespace:"engineering.navigation",model:la},model_19:{namespace:"engineering.normDetail",model:$i},model_20:{namespace:"engineering.normList",model:Da},model_21:{namespace:"forums.detail",model:mo},model_22:{namespace:"forums.index",model:lo},model_23:{namespace:"globalSetting",model:Mo},model_24:{namespace:"graduations.index",model:Qt},model_25:{namespace:"homePage",model:xr},model_26:{namespace:"innovation.index",model:zr},model_27:{namespace:"intraincourse.index",model:ni},model_28:{namespace:"loading",model:Ii},model_29:{namespace:"messages.index",model:Es},model_30:{namespace:"paperlibrary.index",model:br},model_31:{namespace:"paperlibrary.newPaper",model:ia},model_32:{namespace:"paths.detail",model:Pu},model_33:{namespace:"paths.index",model:xt},model_34:{namespace:"paths.new",model:Wn},model_35:{namespace:"paths.overview",model:Rs},model_36:{namespace:"problemset.index",model:Ju},model_37:{namespace:"problemset.preview",model:Iu},model_38:{namespace:"resetFul.index",model:Zu},model_39:{namespace:"shixuns.detail",model:Bo},model_40:{namespace:"shixuns.index",model:No},model_41:{namespace:"shixuns.new",model:xu},model_42:{namespace:"shixuns.overview",model:cf},model_43:{namespace:"shixuns.practiceSetting",model:Vl},model_44:{namespace:"user.detail",model:mc},model_45:{namespace:"user.index",model:$o},model_46:{namespace:"video.detail",model:Kc},model_47:{namespace:"virtualSpaces.index",model:kl}};var yl=Object.defineProperty,Yc=Object.getOwnPropertySymbols,Fu=Object.prototype.hasOwnProperty,Bu=Object.prototype.propertyIsEnumerable,iu=(I,O,k)=>O in I?yl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,qo=(I,O)=>{for(var k in O||(O={}))Fu.call(O,k)&&iu(I,k,O[k]);if(Yc)for(var k of Yc(O))Bu.call(O,k)&&iu(I,k,O[k]);return I};let gc;function yc(I){const{pluginManager:O}=(0,f.useAppData)(),k=(0,c.useRef)(),me=O.applyPlugins({key:"dva",type:f.ApplyPluginsType.modify,initialValue:{}});if(!k.current){k.current=(0,r.Ue)(qo({history:f.history},me.config||{}),{initialReducer:{},setupMiddlewares(Re){return[...Re]},setupApp(Re){Re._history=f.history}}),gc=k.current,k.current.use(l()()),(me.plugins||[]).forEach(Re=>{k.current.use(Re)});for(const Re of Object.keys(ql))k.current.model(qo({namespace:ql[Re].namespace},ql[Re].model));k.current.start()}return c.createElement(r.zt,{store:k.current._store},I.children)}function Oc(){return gc}},57013:function(d,g,e){"use strict";e.d(g,{PZ:function(){return ei},eU:function(){return a},B:function(){return Ai},Mg:function(){return pt},lw:function(){return mt},Kd:function(){return Dt},H8:function(){return vi}});var r=e(59301),i=e(94266),l=e.n(i);const c=l()||i;function f(Ze){return Ze.displayName||Ze.name||"Component"}const s=r.createContext(null),{Consumer:h,Provider:u}=s,a=u,x=null;function p(Ze,et){const{intlPropName:Ee="intl",forwardRef:it=!1,enforceContext:ir=!0}=et||{},Dr=Er=>React.createElement(h,null,Or=>(ir&&invariantIntlContext(Or),React.createElement(Ze,Object.assign({},Er,{[Ee]:Or},{ref:it?Er.forwardedRef:null}))));return Dr.displayName=`injectIntl(${f(Ze)})`,Dr.WrappedComponent=Ze,c(it?React.forwardRef((Er,Or)=>React.createElement(Dr,Object.assign({},Er,{forwardedRef:Or}))):Dr,Ze)}var y;(function(Ze){Ze[Ze.literal=0]="literal",Ze[Ze.argument=1]="argument",Ze[Ze.number=2]="number",Ze[Ze.date=3]="date",Ze[Ze.time=4]="time",Ze[Ze.select=5]="select",Ze[Ze.plural=6]="plural",Ze[Ze.pound=7]="pound"})(y||(y={}));function _(Ze){return Ze.type===y.literal}function b(Ze){return Ze.type===y.argument}function S(Ze){return Ze.type===y.number}function R(Ze){return Ze.type===y.date}function L(Ze){return Ze.type===y.time}function C(Ze){return Ze.type===y.select}function D(Ze){return Ze.type===y.plural}function B(Ze){return Ze.type===y.pound}function $(Ze){return!!(Ze&&typeof Ze=="object"&&Ze.type===0)}function U(Ze){return!!(Ze&&typeof Ze=="object"&&Ze.type===1)}function K(Ze){return{type:y.literal,value:Ze}}function V(Ze,et){return{type:y.number,value:Ze,style:et}}var G=function(){var Ze=function(et,Ee){return Ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(it,ir){it.__proto__=ir}||function(it,ir){for(var Dr in ir)ir.hasOwnProperty(Dr)&&(it[Dr]=ir[Dr])},Ze(et,Ee)};return function(et,Ee){Ze(et,Ee);function it(){this.constructor=et}et.prototype=Ee===null?Object.create(Ee):(it.prototype=Ee.prototype,new it)}}(),oe=function(){return oe=Object.assign||function(Ze){for(var et,Ee=1,it=arguments.length;Ee<it;Ee++){et=arguments[Ee];for(var ir in et)Object.prototype.hasOwnProperty.call(et,ir)&&(Ze[ir]=et[ir])}return Ze},oe.apply(this,arguments)},ae=function(Ze){G(et,Ze);function et(Ee,it,ir,Dr){var Er=Ze.call(this)||this;return Er.message=Ee,Er.expected=it,Er.found=ir,Er.location=Dr,Er.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(Er,et),Er}return et.buildMessage=function(Ee,it){function ir(Pr){return Pr.charCodeAt(0).toString(16).toUpperCase()}function Dr(Pr){return Pr.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(un){return"\\x0"+ir(un)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(un){return"\\x"+ir(un)})}function Er(Pr){return Pr.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(un){return"\\x0"+ir(un)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(un){return"\\x"+ir(un)})}function Or(Pr){switch(Pr.type){case"literal":return'"'+Dr(Pr.text)+'"';case"class":var un=Pr.parts.map(function(rn){return Array.isArray(rn)?Er(rn[0])+"-"+Er(rn[1]):Er(rn)});return"["+(Pr.inverted?"^":"")+un+"]";case"any":return"any character";case"end":return"end of input";case"other":return Pr.description}}function $r(Pr){var un=Pr.map(Or),rn,ln;if(un.sort(),un.length>0){for(rn=1,ln=1;rn<un.length;rn++)un[rn-1]!==un[rn]&&(un[ln]=un[rn],ln++);un.length=ln}switch(un.length){case 1:return un[0];case 2:return un[0]+" or "+un[1];default:return un.slice(0,-1).join(", ")+", or "+un[un.length-1]}}function bn(Pr){return Pr?'"'+Dr(Pr)+'"':"end of input"}return"Expected "+$r(Ee)+" but "+bn(it)+" found."},et}(Error);function le(Ze,et){et=et!==void 0?et:{};var Ee={},it={start:Ye},ir=Ye,Dr=function(ye){return ye.join("")},Er=function(ye){return oe({type:y.literal,value:ye},ga())},Or="#",$r=ci("#",!1),bn=function(){return oe({type:y.pound},ga())},Pr=xa("argumentElement"),un="{",rn=ci("{",!1),ln="}",An=ci("}",!1),pa=function(ye){return oe({type:y.argument,value:ye},ga())},Pi=xa("numberSkeletonId"),gi=/^['\/{}]/,pn=Vs(["'","/","{","}"],!1,!1),ui=xo(),Ni=xa("numberSkeletonTokenOption"),la="/",xs=ci("/",!1),Pa=function(ye){return ye},Na=xa("numberSkeletonToken"),Is=function(ye,Se){return{stem:ye,options:Se}},$a=function(ye){return oe({type:0,tokens:ye},ga())},hs="::",oa=ci("::",!1),yi=function(ye){return ye},Ga=function(){return da.push("numberArgStyle"),!0},Ds=function(ye){return da.pop(),ye.replace(/\s*$/,"")},$i=",",ps=ci(",",!1),Co="number",La=ci("number",!1),_s=function(ye,Se,yr){return oe({type:Se==="number"?y.number:Se==="date"?y.date:y.time,style:yr&&yr[2],value:ye},ga())},ji="'",Gs=ci("'",!1),Rn=/^[^']/,ja=Vs(["'"],!0,!1),ns=/^[^a-zA-Z'{}]/,ls=Vs([["a","z"],["A","Z"],"'","{","}"],!0,!1),Vi=/^[a-zA-Z]/,Ia=Vs([["a","z"],["A","Z"]],!1,!1),Da=function(ye){return oe({type:1,pattern:ye},ga())},ms=function(){return da.push("dateOrTimeArgStyle"),!0},Bs="date",_o=ci("date",!1),To="time",Vo=ci("time",!1),uo="plural",ca=ci("plural",!1),cs="selectordinal",mo=ci("selectordinal",!1),vo="offset:",go=ci("offset:",!1),hi=function(ye,Se,yr,Jr){return oe({type:y.plural,pluralType:Se==="plural"?"cardinal":"ordinal",value:ye,offset:yr?yr[2]:0,options:Jr.reduce(function(br,Qr){var Cn=Qr.id,ri=Qr.value,Fi=Qr.location;return Cn in br&&Ss('Duplicate option "'+Cn+'" in plural element: "'+ba()+'"',zr()),br[Cn]={value:ri,location:Fi},br},{})},ga())},oi="select",Fa=ci("select",!1),Va=function(ye,Se){return oe({type:y.select,value:ye,options:Se.reduce(function(yr,Jr){var br=Jr.id,Qr=Jr.value,Cn=Jr.location;return br in yr&&Ss('Duplicate option "'+br+'" in select element: "'+ba()+'"',zr()),yr[br]={value:Qr,location:Cn},yr},{})},ga())},Xa="=",lo=ci("=",!1),co=function(ye){return da.push("select"),!0},Po=function(ye,Se){return da.pop(),oe({id:ye,value:Se},ga())},Qa=function(ye){return da.push("plural"),!0},Lo=function(ye,Se){return da.pop(),oe({id:ye,value:Se},ga())},yo=xa("whitespace"),Ko=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Tu=Vs([[" ","\r"]," ","\x85","\xA0","\u1680",["\u2000","\u200A"],"\u2028","\u2029","\u202F","\u205F","\u3000"],!1,!1),_u=xa("syntax pattern"),fo=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,fs=Vs([["!","/"],[":","@"],["[","^"],"`",["{","~"],["\xA1","\xA7"],"\xA9","\xAB","\xAC","\xAE","\xB0","\xB1","\xB6","\xBB","\xBF","\xD7","\xF7",["\u2010","\u2027"],["\u2030","\u203E"],["\u2041","\u2053"],["\u2055","\u205E"],["\u2190","\u245F"],["\u2500","\u2775"],["\u2794","\u2BFF"],["\u2E00","\u2E7F"],["\u3001","\u3003"],["\u3008","\u3020"],"\u3030","\uFD3E","\uFD3F","\uFE45","\uFE46"],!1,!1),zu=xa("optional whitespace"),Mo=xa("number"),Io="-",Us=ci("-",!1),ou=function(ye,Se){return Se?ye?-Se:Se:0},jo=xa("apostrophe"),Do=xa("double apostrophes"),Ls="''",bo=ci("''",!1),mu=function(){return"'"},Fo=function(ye,Se){return ye+Se.replace("''","'")},Qt=function(ye){return ye!=="{"&&!(As()&&ye==="#")&&!(Ua()&&ye==="}")},cr=`
`,sr=ci(`
`,!1),vr=function(ye){return ye==="{"||ye==="}"||As()&&ye==="#"},wr=xa("argNameOrNumber"),xn=xa("argNumber"),Sn="0",Un=ci("0",!1),Ln=function(){return 0},Gn=/^[1-9]/,ur=Vs([["1","9"]],!1,!1),Fr=/^[0-9]/,xr=Vs([["0","9"]],!1,!1),mn=function(ye){return parseInt(ye.join(""),10)},Hn=xa("argName"),ft=0,Pn=0,Vn=[{line:1,column:1}],li=0,Qi=[],Nr=0,Li;if(et.startRule!==void 0){if(!(et.startRule in it))throw new Error(`Can't start parsing from rule "`+et.startRule+'".');ir=it[et.startRule]}function ba(){return Ze.substring(Pn,ft)}function zr(){return ks(Pn,ft)}function na(ye,Se){throw Se=Se!==void 0?Se:ks(Pn,ft),Ns([xa(ye)],Ze.substring(Pn,ft),Se)}function Ss(ye,Se){throw Se=Se!==void 0?Se:ks(Pn,ft),gs(ye,Se)}function ci(ye,Se){return{type:"literal",text:ye,ignoreCase:Se}}function Vs(ye,Se,yr){return{type:"class",parts:ye,inverted:Se,ignoreCase:yr}}function xo(){return{type:"any"}}function Os(){return{type:"end"}}function xa(ye){return{type:"other",description:ye}}function ds(ye){var Se=Vn[ye],yr;if(Se)return Se;for(yr=ye-1;!Vn[yr];)yr--;for(Se=Vn[yr],Se={line:Se.line,column:Se.column};yr<ye;)Ze.charCodeAt(yr)===10?(Se.line++,Se.column=1):Se.column++,yr++;return Vn[ye]=Se,Se}function ks(ye,Se){var yr=ds(ye),Jr=ds(Se);return{start:{offset:ye,line:yr.line,column:yr.column},end:{offset:Se,line:Jr.line,column:Jr.column}}}function In(ye){ft<li||(ft>li&&(li=ft,Qi=[]),Qi.push(ye))}function gs(ye,Se){return new ae(ye,[],"",Se)}function Ns(ye,Se,yr){return new ae(ae.buildMessage(ye,Se),ye,Se,yr)}function Ye(){var ye;return ye=Qe(),ye}function Qe(){var ye,Se;for(ye=[],Se=Mt();Se!==Ee;)ye.push(Se),Se=Mt();return ye}function Mt(){var ye;return ye=hr(),ye===Ee&&(ye=jr(),ye===Ee&&(ye=Ci(),ye===Ee&&(ye=bi(),ye===Ee&&(ye=fa(),ye===Ee&&(ye=Rr()))))),ye}function Kt(){var ye,Se,yr;if(ye=ft,Se=[],yr=Ka(),yr===Ee&&(yr=eo(),yr===Ee&&(yr=qa())),yr!==Ee)for(;yr!==Ee;)Se.push(yr),yr=Ka(),yr===Ee&&(yr=eo(),yr===Ee&&(yr=qa()));else Se=Ee;return Se!==Ee&&(Pn=ye,Se=Dr(Se)),ye=Se,ye}function hr(){var ye,Se;return ye=ft,Se=Kt(),Se!==Ee&&(Pn=ye,Se=Er(Se)),ye=Se,ye}function Rr(){var ye,Se;return ye=ft,Ze.charCodeAt(ft)===35?(Se=Or,ft++):(Se=Ee,Nr===0&&In($r)),Se!==Ee&&(Pn=ye,Se=bn()),ye=Se,ye}function jr(){var ye,Se,yr,Jr,br,Qr;return Nr++,ye=ft,Ze.charCodeAt(ft)===123?(Se=un,ft++):(Se=Ee,Nr===0&&In(rn)),Se!==Ee?(yr=ki(),yr!==Ee?(Jr=Ya(),Jr!==Ee?(br=ki(),br!==Ee?(Ze.charCodeAt(ft)===125?(Qr=ln,ft++):(Qr=Ee,Nr===0&&In(An)),Qr!==Ee?(Pn=ye,Se=pa(Jr),ye=Se):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),Nr--,ye===Ee&&(Se=Ee,Nr===0&&In(Pr)),ye}function vn(){var ye,Se,yr,Jr,br;if(Nr++,ye=ft,Se=[],yr=ft,Jr=ft,Nr++,br=ka(),br===Ee&&(gi.test(Ze.charAt(ft))?(br=Ze.charAt(ft),ft++):(br=Ee,Nr===0&&In(pn))),Nr--,br===Ee?Jr=void 0:(ft=Jr,Jr=Ee),Jr!==Ee?(Ze.length>ft?(br=Ze.charAt(ft),ft++):(br=Ee,Nr===0&&In(ui)),br!==Ee?(Jr=[Jr,br],yr=Jr):(ft=yr,yr=Ee)):(ft=yr,yr=Ee),yr!==Ee)for(;yr!==Ee;)Se.push(yr),yr=ft,Jr=ft,Nr++,br=ka(),br===Ee&&(gi.test(Ze.charAt(ft))?(br=Ze.charAt(ft),ft++):(br=Ee,Nr===0&&In(pn))),Nr--,br===Ee?Jr=void 0:(ft=Jr,Jr=Ee),Jr!==Ee?(Ze.length>ft?(br=Ze.charAt(ft),ft++):(br=Ee,Nr===0&&In(ui)),br!==Ee?(Jr=[Jr,br],yr=Jr):(ft=yr,yr=Ee)):(ft=yr,yr=Ee);else Se=Ee;return Se!==Ee?ye=Ze.substring(ye,ft):ye=Se,Nr--,ye===Ee&&(Se=Ee,Nr===0&&In(Pi)),ye}function nn(){var ye,Se,yr;return Nr++,ye=ft,Ze.charCodeAt(ft)===47?(Se=la,ft++):(Se=Ee,Nr===0&&In(xs)),Se!==Ee?(yr=vn(),yr!==Ee?(Pn=ye,Se=Pa(yr),ye=Se):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),Nr--,ye===Ee&&(Se=Ee,Nr===0&&In(Ni)),ye}function gn(){var ye,Se,yr,Jr,br;if(Nr++,ye=ft,Se=ki(),Se!==Ee)if(yr=vn(),yr!==Ee){for(Jr=[],br=nn();br!==Ee;)Jr.push(br),br=nn();Jr!==Ee?(Pn=ye,Se=Is(yr,Jr),ye=Se):(ft=ye,ye=Ee)}else ft=ye,ye=Ee;else ft=ye,ye=Ee;return Nr--,ye===Ee&&(Se=Ee,Nr===0&&In(Na)),ye}function Qn(){var ye,Se,yr;if(ye=ft,Se=[],yr=gn(),yr!==Ee)for(;yr!==Ee;)Se.push(yr),yr=gn();else Se=Ee;return Se!==Ee&&(Pn=ye,Se=$a(Se)),ye=Se,ye}function ni(){var ye,Se,yr;return ye=ft,Ze.substr(ft,2)===hs?(Se=hs,ft+=2):(Se=Ee,Nr===0&&In(oa)),Se!==Ee?(yr=Qn(),yr!==Ee?(Pn=ye,Se=yi(yr),ye=Se):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye===Ee&&(ye=ft,Pn=ft,Se=Ga(),Se?Se=void 0:Se=Ee,Se!==Ee?(yr=Kt(),yr!==Ee?(Pn=ye,Se=Ds(yr),ye=Se):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)),ye}function _i(){var ye,Se,yr,Jr,br,Qr,Cn,ri,Fi,Mn,Dn,Bn,ia;return ye=ft,Ze.charCodeAt(ft)===123?(Se=un,ft++):(Se=Ee,Nr===0&&In(rn)),Se!==Ee?(yr=ki(),yr!==Ee?(Jr=Ya(),Jr!==Ee?(br=ki(),br!==Ee?(Ze.charCodeAt(ft)===44?(Qr=$i,ft++):(Qr=Ee,Nr===0&&In(ps)),Qr!==Ee?(Cn=ki(),Cn!==Ee?(Ze.substr(ft,6)===Co?(ri=Co,ft+=6):(ri=Ee,Nr===0&&In(La)),ri!==Ee?(Fi=ki(),Fi!==Ee?(Mn=ft,Ze.charCodeAt(ft)===44?(Dn=$i,ft++):(Dn=Ee,Nr===0&&In(ps)),Dn!==Ee?(Bn=ki(),Bn!==Ee?(ia=ni(),ia!==Ee?(Dn=[Dn,Bn,ia],Mn=Dn):(ft=Mn,Mn=Ee)):(ft=Mn,Mn=Ee)):(ft=Mn,Mn=Ee),Mn===Ee&&(Mn=null),Mn!==Ee?(Dn=ki(),Dn!==Ee?(Ze.charCodeAt(ft)===125?(Bn=ln,ft++):(Bn=Ee,Nr===0&&In(An)),Bn!==Ee?(Pn=ye,Se=_s(Jr,ri,Mn),ye=Se):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye}function Ii(){var ye,Se,yr,Jr;if(ye=ft,Ze.charCodeAt(ft)===39?(Se=ji,ft++):(Se=Ee,Nr===0&&In(Gs)),Se!==Ee){if(yr=[],Jr=Ka(),Jr===Ee&&(Rn.test(Ze.charAt(ft))?(Jr=Ze.charAt(ft),ft++):(Jr=Ee,Nr===0&&In(ja))),Jr!==Ee)for(;Jr!==Ee;)yr.push(Jr),Jr=Ka(),Jr===Ee&&(Rn.test(Ze.charAt(ft))?(Jr=Ze.charAt(ft),ft++):(Jr=Ee,Nr===0&&In(ja)));else yr=Ee;yr!==Ee?(Ze.charCodeAt(ft)===39?(Jr=ji,ft++):(Jr=Ee,Nr===0&&In(Gs)),Jr!==Ee?(Se=[Se,yr,Jr],ye=Se):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)}else ft=ye,ye=Ee;if(ye===Ee)if(ye=[],Se=Ka(),Se===Ee&&(ns.test(Ze.charAt(ft))?(Se=Ze.charAt(ft),ft++):(Se=Ee,Nr===0&&In(ls))),Se!==Ee)for(;Se!==Ee;)ye.push(Se),Se=Ka(),Se===Ee&&(ns.test(Ze.charAt(ft))?(Se=Ze.charAt(ft),ft++):(Se=Ee,Nr===0&&In(ls)));else ye=Ee;return ye}function Hi(){var ye,Se;if(ye=[],Vi.test(Ze.charAt(ft))?(Se=Ze.charAt(ft),ft++):(Se=Ee,Nr===0&&In(Ia)),Se!==Ee)for(;Se!==Ee;)ye.push(Se),Vi.test(Ze.charAt(ft))?(Se=Ze.charAt(ft),ft++):(Se=Ee,Nr===0&&In(Ia));else ye=Ee;return ye}function Mi(){var ye,Se,yr,Jr;if(ye=ft,Se=ft,yr=[],Jr=Ii(),Jr===Ee&&(Jr=Hi()),Jr!==Ee)for(;Jr!==Ee;)yr.push(Jr),Jr=Ii(),Jr===Ee&&(Jr=Hi());else yr=Ee;return yr!==Ee?Se=Ze.substring(Se,ft):Se=yr,Se!==Ee&&(Pn=ye,Se=Da(Se)),ye=Se,ye}function wi(){var ye,Se,yr;return ye=ft,Ze.substr(ft,2)===hs?(Se=hs,ft+=2):(Se=Ee,Nr===0&&In(oa)),Se!==Ee?(yr=Mi(),yr!==Ee?(Pn=ye,Se=yi(yr),ye=Se):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye===Ee&&(ye=ft,Pn=ft,Se=ms(),Se?Se=void 0:Se=Ee,Se!==Ee?(yr=Kt(),yr!==Ee?(Pn=ye,Se=Ds(yr),ye=Se):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)),ye}function ma(){var ye,Se,yr,Jr,br,Qr,Cn,ri,Fi,Mn,Dn,Bn,ia;return ye=ft,Ze.charCodeAt(ft)===123?(Se=un,ft++):(Se=Ee,Nr===0&&In(rn)),Se!==Ee?(yr=ki(),yr!==Ee?(Jr=Ya(),Jr!==Ee?(br=ki(),br!==Ee?(Ze.charCodeAt(ft)===44?(Qr=$i,ft++):(Qr=Ee,Nr===0&&In(ps)),Qr!==Ee?(Cn=ki(),Cn!==Ee?(Ze.substr(ft,4)===Bs?(ri=Bs,ft+=4):(ri=Ee,Nr===0&&In(_o)),ri===Ee&&(Ze.substr(ft,4)===To?(ri=To,ft+=4):(ri=Ee,Nr===0&&In(Vo))),ri!==Ee?(Fi=ki(),Fi!==Ee?(Mn=ft,Ze.charCodeAt(ft)===44?(Dn=$i,ft++):(Dn=Ee,Nr===0&&In(ps)),Dn!==Ee?(Bn=ki(),Bn!==Ee?(ia=wi(),ia!==Ee?(Dn=[Dn,Bn,ia],Mn=Dn):(ft=Mn,Mn=Ee)):(ft=Mn,Mn=Ee)):(ft=Mn,Mn=Ee),Mn===Ee&&(Mn=null),Mn!==Ee?(Dn=ki(),Dn!==Ee?(Ze.charCodeAt(ft)===125?(Bn=ln,ft++):(Bn=Ee,Nr===0&&In(An)),Bn!==Ee?(Pn=ye,Se=_s(Jr,ri,Mn),ye=Se):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye}function Ci(){var ye;return ye=_i(),ye===Ee&&(ye=ma()),ye}function bi(){var ye,Se,yr,Jr,br,Qr,Cn,ri,Fi,Mn,Dn,Bn,ia,Ui,ho,Xs;if(ye=ft,Ze.charCodeAt(ft)===123?(Se=un,ft++):(Se=Ee,Nr===0&&In(rn)),Se!==Ee)if(yr=ki(),yr!==Ee)if(Jr=Ya(),Jr!==Ee)if(br=ki(),br!==Ee)if(Ze.charCodeAt(ft)===44?(Qr=$i,ft++):(Qr=Ee,Nr===0&&In(ps)),Qr!==Ee)if(Cn=ki(),Cn!==Ee)if(Ze.substr(ft,6)===uo?(ri=uo,ft+=6):(ri=Ee,Nr===0&&In(ca)),ri===Ee&&(Ze.substr(ft,13)===cs?(ri=cs,ft+=13):(ri=Ee,Nr===0&&In(mo))),ri!==Ee)if(Fi=ki(),Fi!==Ee)if(Ze.charCodeAt(ft)===44?(Mn=$i,ft++):(Mn=Ee,Nr===0&&In(ps)),Mn!==Ee)if(Dn=ki(),Dn!==Ee)if(Bn=ft,Ze.substr(ft,7)===vo?(ia=vo,ft+=7):(ia=Ee,Nr===0&&In(go)),ia!==Ee?(Ui=ki(),Ui!==Ee?(ho=va(),ho!==Ee?(ia=[ia,Ui,ho],Bn=ia):(ft=Bn,Bn=Ee)):(ft=Bn,Bn=Ee)):(ft=Bn,Bn=Ee),Bn===Ee&&(Bn=null),Bn!==Ee)if(ia=ki(),ia!==Ee){if(Ui=[],ho=Wi(),ho!==Ee)for(;ho!==Ee;)Ui.push(ho),ho=Wi();else Ui=Ee;Ui!==Ee?(ho=ki(),ho!==Ee?(Ze.charCodeAt(ft)===125?(Xs=ln,ft++):(Xs=Ee,Nr===0&&In(An)),Xs!==Ee?(Pn=ye,Se=hi(Jr,ri,Bn,Ui),ye=Se):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)}else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;return ye}function fa(){var ye,Se,yr,Jr,br,Qr,Cn,ri,Fi,Mn,Dn,Bn,ia,Ui;if(ye=ft,Ze.charCodeAt(ft)===123?(Se=un,ft++):(Se=Ee,Nr===0&&In(rn)),Se!==Ee)if(yr=ki(),yr!==Ee)if(Jr=Ya(),Jr!==Ee)if(br=ki(),br!==Ee)if(Ze.charCodeAt(ft)===44?(Qr=$i,ft++):(Qr=Ee,Nr===0&&In(ps)),Qr!==Ee)if(Cn=ki(),Cn!==Ee)if(Ze.substr(ft,6)===oi?(ri=oi,ft+=6):(ri=Ee,Nr===0&&In(Fa)),ri!==Ee)if(Fi=ki(),Fi!==Ee)if(Ze.charCodeAt(ft)===44?(Mn=$i,ft++):(Mn=Ee,Nr===0&&In(ps)),Mn!==Ee)if(Dn=ki(),Dn!==Ee){if(Bn=[],ia=Es(),ia!==Ee)for(;ia!==Ee;)Bn.push(ia),ia=Es();else Bn=Ee;Bn!==Ee?(ia=ki(),ia!==Ee?(Ze.charCodeAt(ft)===125?(Ui=ln,ft++):(Ui=Ee,Nr===0&&In(An)),Ui!==Ee?(Pn=ye,Se=Va(Jr,Bn),ye=Se):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)}else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;return ye}function Ks(){var ye,Se,yr,Jr;return ye=ft,Se=ft,Ze.charCodeAt(ft)===61?(yr=Xa,ft++):(yr=Ee,Nr===0&&In(lo)),yr!==Ee?(Jr=va(),Jr!==Ee?(yr=[yr,Jr],Se=yr):(ft=Se,Se=Ee)):(ft=Se,Se=Ee),Se!==Ee?ye=Ze.substring(ye,ft):ye=Se,ye===Ee&&(ye=Ms()),ye}function Es(){var ye,Se,yr,Jr,br,Qr,Cn,ri;return ye=ft,Se=ki(),Se!==Ee?(yr=Ms(),yr!==Ee?(Jr=ki(),Jr!==Ee?(Ze.charCodeAt(ft)===123?(br=un,ft++):(br=Ee,Nr===0&&In(rn)),br!==Ee?(Pn=ft,Qr=co(yr),Qr?Qr=void 0:Qr=Ee,Qr!==Ee?(Cn=Qe(),Cn!==Ee?(Ze.charCodeAt(ft)===125?(ri=ln,ft++):(ri=Ee,Nr===0&&In(An)),ri!==Ee?(Pn=ye,Se=Po(yr,Cn),ye=Se):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye}function Wi(){var ye,Se,yr,Jr,br,Qr,Cn,ri;return ye=ft,Se=ki(),Se!==Ee?(yr=Ks(),yr!==Ee?(Jr=ki(),Jr!==Ee?(Ze.charCodeAt(ft)===123?(br=un,ft++):(br=Ee,Nr===0&&In(rn)),br!==Ee?(Pn=ft,Qr=Qa(yr),Qr?Qr=void 0:Qr=Ee,Qr!==Ee?(Cn=Qe(),Cn!==Ee?(Ze.charCodeAt(ft)===125?(ri=ln,ft++):(ri=Ee,Nr===0&&In(An)),ri!==Ee?(Pn=ye,Se=Lo(yr,Cn),ye=Se):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye}function ka(){var ye,Se;return Nr++,Ko.test(Ze.charAt(ft))?(ye=Ze.charAt(ft),ft++):(ye=Ee,Nr===0&&In(Tu)),Nr--,ye===Ee&&(Se=Ee,Nr===0&&In(yo)),ye}function ea(){var ye,Se;return Nr++,fo.test(Ze.charAt(ft))?(ye=Ze.charAt(ft),ft++):(ye=Ee,Nr===0&&In(fs)),Nr--,ye===Ee&&(Se=Ee,Nr===0&&In(_u)),ye}function ki(){var ye,Se,yr;for(Nr++,ye=ft,Se=[],yr=ka();yr!==Ee;)Se.push(yr),yr=ka();return Se!==Ee?ye=Ze.substring(ye,ft):ye=Se,Nr--,ye===Ee&&(Se=Ee,Nr===0&&In(zu)),ye}function va(){var ye,Se,yr;return Nr++,ye=ft,Ze.charCodeAt(ft)===45?(Se=Io,ft++):(Se=Ee,Nr===0&&In(Us)),Se===Ee&&(Se=null),Se!==Ee?(yr=Ys(),yr!==Ee?(Pn=ye,Se=ou(Se,yr),ye=Se):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),Nr--,ye===Ee&&(Se=Ee,Nr===0&&In(Mo)),ye}function Ba(){var ye,Se;return Nr++,Ze.charCodeAt(ft)===39?(ye=ji,ft++):(ye=Ee,Nr===0&&In(Gs)),Nr--,ye===Ee&&(Se=Ee,Nr===0&&In(jo)),ye}function Ka(){var ye,Se;return Nr++,ye=ft,Ze.substr(ft,2)===Ls?(Se=Ls,ft+=2):(Se=Ee,Nr===0&&In(bo)),Se!==Ee&&(Pn=ye,Se=mu()),ye=Se,Nr--,ye===Ee&&(Se=Ee,Nr===0&&In(Do)),ye}function eo(){var ye,Se,yr,Jr,br,Qr;if(ye=ft,Ze.charCodeAt(ft)===39?(Se=ji,ft++):(Se=Ee,Nr===0&&In(Gs)),Se!==Ee)if(yr=so(),yr!==Ee){for(Jr=ft,br=[],Ze.substr(ft,2)===Ls?(Qr=Ls,ft+=2):(Qr=Ee,Nr===0&&In(bo)),Qr===Ee&&(Rn.test(Ze.charAt(ft))?(Qr=Ze.charAt(ft),ft++):(Qr=Ee,Nr===0&&In(ja)));Qr!==Ee;)br.push(Qr),Ze.substr(ft,2)===Ls?(Qr=Ls,ft+=2):(Qr=Ee,Nr===0&&In(bo)),Qr===Ee&&(Rn.test(Ze.charAt(ft))?(Qr=Ze.charAt(ft),ft++):(Qr=Ee,Nr===0&&In(ja)));br!==Ee?Jr=Ze.substring(Jr,ft):Jr=br,Jr!==Ee?(Ze.charCodeAt(ft)===39?(br=ji,ft++):(br=Ee,Nr===0&&In(Gs)),br===Ee&&(br=null),br!==Ee?(Pn=ye,Se=Fo(yr,Jr),ye=Se):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)}else ft=ye,ye=Ee;else ft=ye,ye=Ee;return ye}function qa(){var ye,Se,yr,Jr;return ye=ft,Se=ft,Ze.length>ft?(yr=Ze.charAt(ft),ft++):(yr=Ee,Nr===0&&In(ui)),yr!==Ee?(Pn=ft,Jr=Qt(yr),Jr?Jr=void 0:Jr=Ee,Jr!==Ee?(yr=[yr,Jr],Se=yr):(ft=Se,Se=Ee)):(ft=Se,Se=Ee),Se===Ee&&(Ze.charCodeAt(ft)===10?(Se=cr,ft++):(Se=Ee,Nr===0&&In(sr))),Se!==Ee?ye=Ze.substring(ye,ft):ye=Se,ye}function so(){var ye,Se,yr,Jr;return ye=ft,Se=ft,Ze.length>ft?(yr=Ze.charAt(ft),ft++):(yr=Ee,Nr===0&&In(ui)),yr!==Ee?(Pn=ft,Jr=vr(yr),Jr?Jr=void 0:Jr=Ee,Jr!==Ee?(yr=[yr,Jr],Se=yr):(ft=Se,Se=Ee)):(ft=Se,Se=Ee),Se!==Ee?ye=Ze.substring(ye,ft):ye=Se,ye}function Ya(){var ye,Se;return Nr++,ye=ft,Se=Ys(),Se===Ee&&(Se=Ms()),Se!==Ee?ye=Ze.substring(ye,ft):ye=Se,Nr--,ye===Ee&&(Se=Ee,Nr===0&&In(wr)),ye}function Ys(){var ye,Se,yr,Jr,br;if(Nr++,ye=ft,Ze.charCodeAt(ft)===48?(Se=Sn,ft++):(Se=Ee,Nr===0&&In(Un)),Se!==Ee&&(Pn=ye,Se=Ln()),ye=Se,ye===Ee){if(ye=ft,Se=ft,Gn.test(Ze.charAt(ft))?(yr=Ze.charAt(ft),ft++):(yr=Ee,Nr===0&&In(ur)),yr!==Ee){for(Jr=[],Fr.test(Ze.charAt(ft))?(br=Ze.charAt(ft),ft++):(br=Ee,Nr===0&&In(xr));br!==Ee;)Jr.push(br),Fr.test(Ze.charAt(ft))?(br=Ze.charAt(ft),ft++):(br=Ee,Nr===0&&In(xr));Jr!==Ee?(yr=[yr,Jr],Se=yr):(ft=Se,Se=Ee)}else ft=Se,Se=Ee;Se!==Ee&&(Pn=ye,Se=mn(Se)),ye=Se}return Nr--,ye===Ee&&(Se=Ee,Nr===0&&In(xn)),ye}function Ms(){var ye,Se,yr,Jr,br;if(Nr++,ye=ft,Se=[],yr=ft,Jr=ft,Nr++,br=ka(),br===Ee&&(br=ea()),Nr--,br===Ee?Jr=void 0:(ft=Jr,Jr=Ee),Jr!==Ee?(Ze.length>ft?(br=Ze.charAt(ft),ft++):(br=Ee,Nr===0&&In(ui)),br!==Ee?(Jr=[Jr,br],yr=Jr):(ft=yr,yr=Ee)):(ft=yr,yr=Ee),yr!==Ee)for(;yr!==Ee;)Se.push(yr),yr=ft,Jr=ft,Nr++,br=ka(),br===Ee&&(br=ea()),Nr--,br===Ee?Jr=void 0:(ft=Jr,Jr=Ee),Jr!==Ee?(Ze.length>ft?(br=Ze.charAt(ft),ft++):(br=Ee,Nr===0&&In(ui)),br!==Ee?(Jr=[Jr,br],yr=Jr):(ft=yr,yr=Ee)):(ft=yr,yr=Ee);else Se=Ee;return Se!==Ee?ye=Ze.substring(ye,ft):ye=Se,Nr--,ye===Ee&&(Se=Ee,Nr===0&&In(Hn)),ye}var da=["root"];function Ua(){return da.length>1}function As(){return da[da.length-1]==="plural"}function ga(){return et&&et.captureLocation?{location:zr()}:{}}if(Li=ir(),Li!==Ee&&ft===Ze.length)return Li;throw Li!==Ee&&ft<Ze.length&&In(Os()),Ns(Qi,li<Ze.length?Ze.charAt(li):null,li<Ze.length?ks(li,li+1):ks(li,li))}var q=le,J=function(){for(var Ze=0,et=0,Ee=arguments.length;et<Ee;et++)Ze+=arguments[et].length;for(var it=Array(Ze),ir=0,et=0;et<Ee;et++)for(var Dr=arguments[et],Er=0,Or=Dr.length;Er<Or;Er++,ir++)it[ir]=Dr[Er];return it},Y=/(^|[^\\])#/g;function ue(Ze){Ze.forEach(function(et){!D(et)&&!C(et)||Object.keys(et.options).forEach(function(Ee){for(var it,ir=et.options[Ee],Dr=-1,Er=void 0,Or=0;Or<ir.value.length;Or++){var $r=ir.value[Or];if(_($r)&&Y.test($r.value)){Dr=Or,Er=$r;break}}if(Er){var bn=Er.value.replace(Y,"$1{"+et.value+", number}"),Pr=q(bn);(it=ir.value).splice.apply(it,J([Dr,1],Pr))}ue(ir.value)})})}function ne(Ze,et){var Ee=q(Ze,et);return(!et||et.normalizeHashtagInPlural!==!1)&&ue(Ee),Ee}var ee=function(){for(var Ze=0,et=0,Ee=arguments.length;et<Ee;et++)Ze+=arguments[et].length;for(var it=Array(Ze),ir=0,et=0;et<Ee;et++)for(var Dr=arguments[et],Er=0,Or=Dr.length;Er<Or;Er++,ir++)it[ir]=Dr[Er];return it};function ie(Ze){return JSON.stringify(Ze.map(function(et){return et&&typeof et=="object"?F(et):et}))}function F(Ze){return Object.keys(Ze).sort().map(function(et){var Ee;return Ee={},Ee[et]=Ze[et],Ee})}var M=function(Ze,et){return et===void 0&&(et={}),function(){for(var Ee,it=[],ir=0;ir<arguments.length;ir++)it[ir]=arguments[ir];var Dr=ie(it),Er=Dr&&et[Dr];return Er||(Er=new((Ee=Ze).bind.apply(Ee,ee([void 0],it))),Dr&&(et[Dr]=Er)),Er}},Q=M,de=function(){return de=Object.assign||function(Ze){for(var et,Ee=1,it=arguments.length;Ee<it;Ee++){et=arguments[Ee];for(var ir in et)Object.prototype.hasOwnProperty.call(et,ir)&&(Ze[ir]=et[ir])}return Ze},de.apply(this,arguments)},we=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Ce(Ze){var et={};return Ze.replace(we,function(Ee){var it=Ee.length;switch(Ee[0]){case"G":et.era=it===4?"long":it===5?"narrow":"short";break;case"y":et.year=it===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":et.month=["numeric","2-digit","short","long","narrow"][it-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":et.day=["numeric","2-digit"][it-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":et.weekday=it===4?"short":it===5?"narrow":"short";break;case"e":if(it<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");et.weekday=["short","long","narrow","short"][it-4];break;case"c":if(it<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");et.weekday=["short","long","narrow","short"][it-4];break;case"a":et.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":et.hourCycle="h12",et.hour=["numeric","2-digit"][it-1];break;case"H":et.hourCycle="h23",et.hour=["numeric","2-digit"][it-1];break;case"K":et.hourCycle="h11",et.hour=["numeric","2-digit"][it-1];break;case"k":et.hourCycle="h24",et.hour=["numeric","2-digit"][it-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":et.minute=["numeric","2-digit"][it-1];break;case"s":et.second=["numeric","2-digit"][it-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":et.timeZoneName=it<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) pattenrs are not supported, use `z` instead")}return""}),et}function je(Ze){return Ze.replace(/^(.*?)-/,"")}var Fe=/^\.(?:(0+)(\+|#+)?)?$/g,Ft=/^(@+)?(\+|#+)?$/g;function _t(Ze){var et={};return Ze.replace(Ft,function(Ee,it,ir){return typeof ir!="string"?(et.minimumSignificantDigits=it.length,et.maximumSignificantDigits=it.length):ir==="+"?et.minimumSignificantDigits=it.length:it[0]==="#"?et.maximumSignificantDigits=it.length:(et.minimumSignificantDigits=it.length,et.maximumSignificantDigits=it.length+(typeof ir=="string"?ir.length:0)),""}),et}function Pt(Ze){switch(Ze){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function qt(Ze){var et={},Ee=Pt(Ze);return Ee||et}function er(Ze){for(var et={},Ee=0,it=Ze;Ee<it.length;Ee++){var ir=it[Ee];switch(ir.stem){case"percent":et.style="percent";continue;case"currency":et.style="currency",et.currency=ir.options[0];continue;case"group-off":et.useGrouping=!1;continue;case"precision-integer":et.maximumFractionDigits=0;continue;case"measure-unit":et.style="unit",et.unit=je(ir.options[0]);continue;case"compact-short":et.notation="compact",et.compactDisplay="short";continue;case"compact-long":et.notation="compact",et.compactDisplay="long";continue;case"scientific":et=de(de(de({},et),{notation:"scientific"}),ir.options.reduce(function(Er,Or){return de(de({},Er),qt(Or))},{}));continue;case"engineering":et=de(de(de({},et),{notation:"engineering"}),ir.options.reduce(function(Er,Or){return de(de({},Er),qt(Or))},{}));continue;case"notation-simple":et.notation="standard";continue;case"unit-width-narrow":et.currencyDisplay="narrowSymbol",et.unitDisplay="narrow";continue;case"unit-width-short":et.currencyDisplay="code",et.unitDisplay="short";continue;case"unit-width-full-name":et.currencyDisplay="name",et.unitDisplay="long";continue;case"unit-width-iso-code":et.currencyDisplay="symbol";continue}if(Fe.test(ir.stem)){if(ir.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");ir.stem.replace(Fe,function(Er,Or,$r){return Er==="."?et.maximumFractionDigits=0:$r==="+"?et.minimumFractionDigits=$r.length:Or[0]==="#"?et.maximumFractionDigits=Or.length:(et.minimumFractionDigits=Or.length,et.maximumFractionDigits=Or.length+(typeof $r=="string"?$r.length:0)),""}),ir.options.length&&(et=de(de({},et),_t(ir.options[0])));continue}if(Ft.test(ir.stem)){et=de(de({},et),_t(ir.stem));continue}var Dr=Pt(ir.stem);Dr&&(et=de(de({},et),Dr))}return et}var Jt=function(){var Ze=function(et,Ee){return Ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(it,ir){it.__proto__=ir}||function(it,ir){for(var Dr in ir)ir.hasOwnProperty(Dr)&&(it[Dr]=ir[Dr])},Ze(et,Ee)};return function(et,Ee){Ze(et,Ee);function it(){this.constructor=et}et.prototype=Ee===null?Object.create(Ee):(it.prototype=Ee.prototype,new it)}}(),Xe=function(){for(var Ze=0,et=0,Ee=arguments.length;et<Ee;et++)Ze+=arguments[et].length;for(var it=Array(Ze),ir=0,et=0;et<Ee;et++)for(var Dr=arguments[et],Er=0,Or=Dr.length;Er<Or;Er++,ir++)it[ir]=Dr[Er];return it},It=function(Ze){Jt(et,Ze);function et(Ee,it){var ir=Ze.call(this,Ee)||this;return ir.variableId=it,ir}return et}(Error);function zt(Ze){return Ze.length<2?Ze:Ze.reduce(function(et,Ee){var it=et[et.length-1];return!it||it.type!==0||Ee.type!==0?et.push(Ee):it.value+=Ee.value,et},[])}function st(Ze,et,Ee,it,ir,Dr,Er){if(Ze.length===1&&_(Ze[0]))return[{type:0,value:Ze[0].value}];for(var Or=[],$r=0,bn=Ze;$r<bn.length;$r++){var Pr=bn[$r];if(_(Pr)){Or.push({type:0,value:Pr.value});continue}if(B(Pr)){typeof Dr=="number"&&Or.push({type:0,value:Ee.getNumberFormat(et).format(Dr)});continue}var un=Pr.value;if(!(ir&&un in ir))throw new It('The intl string context variable "'+un+'" was not provided to the string "'+Er+'"');var rn=ir[un];if(b(Pr)){(!rn||typeof rn=="string"||typeof rn=="number")&&(rn=typeof rn=="string"||typeof rn=="number"?String(rn):""),Or.push({type:1,value:rn});continue}if(R(Pr)){var ln=typeof Pr.style=="string"?it.date[Pr.style]:void 0;Or.push({type:0,value:Ee.getDateTimeFormat(et,ln).format(rn)});continue}if(L(Pr)){var ln=typeof Pr.style=="string"?it.time[Pr.style]:U(Pr.style)?Ce(Pr.style.pattern):void 0;Or.push({type:0,value:Ee.getDateTimeFormat(et,ln).format(rn)});continue}if(S(Pr)){var ln=typeof Pr.style=="string"?it.number[Pr.style]:$(Pr.style)?er(Pr.style.tokens):void 0;Or.push({type:0,value:Ee.getNumberFormat(et,ln).format(rn)});continue}if(C(Pr)){var An=Pr.options[rn]||Pr.options.other;if(!An)throw new RangeError('Invalid values for "'+Pr.value+'": "'+rn+'". Options are "'+Object.keys(Pr.options).join('", "')+'"');Or.push.apply(Or,st(An.value,et,Ee,it,ir));continue}if(D(Pr)){var An=Pr.options["="+rn];if(!An){if(!Intl.PluralRules)throw new It(`Intl.PluralRules is not available in this environment.
Try polyfilling it using "@formatjs/intl-pluralrules"
`);var pa=Ee.getPluralRules(et,{type:Pr.pluralType}).select(rn-(Pr.offset||0));An=Pr.options[pa]||Pr.options.other}if(!An)throw new RangeError('Invalid values for "'+Pr.value+'": "'+rn+'". Options are "'+Object.keys(Pr.options).join('", "')+'"');Or.push.apply(Or,st(An.value,et,Ee,it,ir,rn-(Pr.offset||0)));continue}}return zt(Or)}function bt(Ze,et,Ee,it,ir,Dr){var Er=st(Ze,et,Ee,it,ir,void 0,Dr);return Er.length===1?Er[0].value:Er.reduce(function(Or,$r){return Or+=$r.value},"")}var ht,Je="@@",Ue=/@@(\d+_\d+)@@/g,ge=0;function Ae(){return Date.now()+"_"+ ++ge}function Me(Ze,et){return Ze.split(Ue).filter(Boolean).map(function(Ee){return et[Ee]!=null?et[Ee]:Ee}).reduce(function(Ee,it){return Ee.length&&typeof it=="string"&&typeof Ee[Ee.length-1]=="string"?Ee[Ee.length-1]+=it:Ee.push(it),Ee},[])}var $e=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,He=Date.now()+"@@",nt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function ct(Ze,et,Ee){var it=Ze.tagName,ir=Ze.outerHTML,Dr=Ze.textContent,Er=Ze.childNodes;if(!it)return Me(Dr||"",et);it=it.toLowerCase();var Or=~nt.indexOf(it),$r=Ee[it];if($r&&Or)throw new It(it+" is a self-closing tag and can not be used, please use another tag name.");if(!Er.length)return[ir];var bn=Array.prototype.slice.call(Er).reduce(function(Pr,un){return Pr.concat(ct(un,et,Ee))},[]);return $r?typeof $r=="function"?[$r.apply(void 0,bn)]:[$r]:Xe(["<"+it+">"],bn,["</"+it+">"])}function Vt(Ze,et,Ee,it,ir,Dr){var Er=st(Ze,et,Ee,it,ir,void 0,Dr),Or={},$r=Er.reduce(function(rn,ln){if(ln.type===0)return rn+=ln.value;var An=Ae();return Or[An]=ln.value,rn+=""+Je+An+Je},"");if(!$e.test($r))return Me($r,Or);if(!ir)throw new It("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new It("Cannot format XML message without DOMParser");ht||(ht=new DOMParser);var bn=ht.parseFromString('<formatted-message id="'+He+'">'+$r+"</formatted-message>","text/html").getElementById(He);if(!bn)throw new It("Malformed HTML message "+$r);var Pr=Object.keys(ir).filter(function(rn){return!!bn.getElementsByTagName(rn).length});if(!Pr.length)return Me($r,Or);var un=Pr.filter(function(rn){return rn!==rn.toLowerCase()});if(un.length)throw new It("HTML tag must be lowercased but the following tags are not: "+un.join(", "));return Array.prototype.slice.call(bn.childNodes).reduce(function(rn,ln){return rn.concat(ct(ln,Or,ir))},[])}var Wt=function(){return Wt=Object.assign||function(Ze){for(var et,Ee=1,it=arguments.length;Ee<it;Ee++){et=arguments[Ee];for(var ir in et)Object.prototype.hasOwnProperty.call(et,ir)&&(Ze[ir]=et[ir])}return Ze},Wt.apply(this,arguments)};function De(Ze,et){return et?Wt(Wt(Wt({},Ze||{}),et||{}),Object.keys(Ze).reduce(function(Ee,it){return Ee[it]=Wt(Wt({},Ze[it]),et[it]||{}),Ee},{})):Ze}function qe(Ze,et){return et?Object.keys(Ze).reduce(function(Ee,it){return Ee[it]=De(Ze[it],et[it]),Ee},Wt({},Ze)):Ze}function Gt(Ze){return Ze===void 0&&(Ze={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Q(Intl.NumberFormat,Ze.number),getDateTimeFormat:Q(Intl.DateTimeFormat,Ze.dateTime),getPluralRules:Q(Intl.PluralRules,Ze.pluralRules)}}var kt=function(){function Ze(et,Ee,it,ir){var Dr=this;if(Ee===void 0&&(Ee=Ze.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(Er){return bt(Dr.ast,Dr.locales,Dr.formatters,Dr.formats,Er,Dr.message)},this.formatToParts=function(Er){return st(Dr.ast,Dr.locales,Dr.formatters,Dr.formats,Er,void 0,Dr.message)},this.formatHTMLMessage=function(Er){return Vt(Dr.ast,Dr.locales,Dr.formatters,Dr.formats,Er,Dr.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(Dr.locales)[0]}},this.getAst=function(){return Dr.ast},typeof et=="string"){if(this.message=et,!Ze.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Ze.__parse(et,{normalizeHashtagInPlural:!1})}else this.ast=et;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=qe(Ze.formats,it),this.locales=Ee,this.formatters=ir&&ir.formatters||Gt(this.formatterCache)}return Ze.defaultLocale=new Intl.NumberFormat().resolvedOptions().locale,Ze.__parse=ne,Ze.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},Ze}(),Ht=kt,$t=Ht;function Ct(Ze,et,Ee){if(Ee===void 0&&(Ee=Error),!Ze)throw new Ee(et)}const Yt={38:"&amp;",62:"&gt;",60:"&lt;",34:"&quot;",39:"&#x27;"},We=/[&><"']/g;function fe(Ze){return(""+Ze).replace(We,et=>Yt[et.charCodeAt(0)])}function _e(Ze,et,Ee={}){return et.reduce((it,ir)=>(ir in Ze?it[ir]=Ze[ir]:ir in Ee&&(it[ir]=Ee[ir]),it),{})}function Ot(Ze){Ct(Ze,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Pe(Ze,et){const Ee=et?`
${et.stack}`:"";return`[React Intl] ${Ze}${Ee}`}function dt(Ze){}const Zt={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:dt};function Tt(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function ke(Ze=Tt()){const et=Intl.RelativeTimeFormat,Ee=Intl.ListFormat,it=Intl.DisplayNames;return{getDateTimeFormat:Q(Intl.DateTimeFormat,Ze.dateTime),getNumberFormat:Q(Intl.NumberFormat,Ze.number),getMessageFormat:Q($t,Ze.message),getRelativeTimeFormat:Q(et,Ze.relativeTime),getPluralRules:Q(Intl.PluralRules,Ze.pluralRules),getListFormat:Q(Ee,Ze.list),getDisplayNames:Q(it,Ze.displayNames)}}function St(Ze,et,Ee,it){const ir=Ze&&Ze[et];let Dr;if(ir&&(Dr=ir[Ee]),Dr)return Dr;it(Pe(`No ${et} format named: ${Ee}`))}const be=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Ke({locale:Ze,formats:et,onError:Ee},it,ir={}){const{format:Dr}=ir,Er=Dr&&St(et,"number",Dr,Ee)||{},Or=_e(ir,be,Er);return it(Ze,Or)}function gt(Ze,et,Ee,it={}){try{return Ke(Ze,et,it).format(Ee)}catch(ir){Ze.onError(Pe("Error formatting number.",ir))}return String(Ee)}function Rt(Ze,et,Ee,it={}){try{return Ke(Ze,et,it).formatToParts(Ee)}catch(ir){Ze.onError(Pe("Error formatting number.",ir))}return[]}const Be=["numeric","style"];function kr({locale:Ze,formats:et,onError:Ee},it,ir={}){const{format:Dr}=ir,Er=!!Dr&&St(et,"relative",Dr,Ee)||{},Or=_e(ir,Be,Er);return it(Ze,Or)}function At(Ze,et,Ee,it,ir={}){it||(it="second"),Intl.RelativeTimeFormat||Ze.onError(Pe(`Intl.RelativeTimeFormat is not available in this environment.
Try polyfilling it using "@formatjs/intl-relativetimeformat"
`));try{return kr(Ze,et,ir).format(Ee,it)}catch(Er){Ze.onError(Pe("Error formatting relative time.",Er))}return String(Ee)}const Kr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function qr({locale:Ze,formats:et,onError:Ee,timeZone:it},ir,Dr,Er={}){const{format:Or}=Er,$r=Object.assign(Object.assign({},it&&{timeZone:it}),Or&&St(et,ir,Or,Ee));let bn=_e(Er,Kr,$r);return ir==="time"&&!bn.hour&&!bn.minute&&!bn.second&&(bn=Object.assign(Object.assign({},bn),{hour:"numeric",minute:"numeric"})),Dr(Ze,bn)}function Ar(Ze,et,Ee,it={}){const ir=typeof Ee=="string"?new Date(Ee||0):Ee;try{return qr(Ze,"date",et,it).format(ir)}catch(Dr){Ze.onError(Pe("Error formatting date.",Dr))}return String(ir)}function Br(Ze,et,Ee,it={}){const ir=typeof Ee=="string"?new Date(Ee||0):Ee;try{return qr(Ze,"time",et,it).format(ir)}catch(Dr){Ze.onError(Pe("Error formatting time.",Dr))}return String(ir)}function _r(Ze,et,Ee,it={}){const ir=typeof Ee=="string"?new Date(Ee||0):Ee;try{return qr(Ze,"date",et,it).formatToParts(ir)}catch(Dr){Ze.onError(Pe("Error formatting date.",Dr))}return[]}function Ur(Ze,et,Ee,it={}){const ir=typeof Ee=="string"?new Date(Ee||0):Ee;try{return qr(Ze,"time",et,it).formatToParts(ir)}catch(Dr){Ze.onError(Pe("Error formatting time.",Dr))}return[]}const sn=["localeMatcher","type"];function cn({locale:Ze,onError:et},Ee,it,ir={}){Intl.PluralRules||et(Pe(`Intl.PluralRules is not available in this environment.
Try polyfilling it using "@formatjs/intl-pluralrules"
`));const Dr=_e(ir,sn);try{return Ee(Ze,Dr).select(it)}catch(Er){et(Pe("Error formatting plural.",Er))}return"other"}function or(Ze,et){return Object.keys(Ze).reduce((Ee,it)=>(Ee[it]=Object.assign({timeZone:et},Ze[it]),Ee),{})}function Lt(Ze,et){return Object.keys(Object.assign(Object.assign({},Ze),et)).reduce((it,ir)=>(it[ir]=Object.assign(Object.assign({},Ze[ir]||{}),et[ir]||{}),it),{})}function vt(Ze,et){if(!et)return Ze;const Ee=$t.formats;return Object.assign(Object.assign(Object.assign({},Ee),Ze),{date:Lt(or(Ee.date,et),or(Ze.date||{},et)),time:Lt(or(Ee.time,et),or(Ze.time||{},et))})}const yt=Ze=>r.createElement(r.Fragment,null,...Ze);function jt({locale:Ze,formats:et,messages:Ee,defaultLocale:it,defaultFormats:ir,onError:Dr,timeZone:Er},Or,$r={id:""},bn={}){const{id:Pr,defaultMessage:un}=$r;Ct(!!Pr,"[React Intl] An `id` must be provided to format a message.");const rn=Ee&&Ee[String(Pr)];et=vt(et,Er),ir=vt(ir,Er);let ln=[];if(rn)try{ln=Or.getMessageFormat(rn,Ze,et,{formatters:Or}).formatHTMLMessage(bn)}catch(An){Dr(Pe(`Error formatting message: "${Pr}" for locale: "${Ze}"`+(un?", using default message as fallback.":""),An))}else(!un||Ze&&Ze.toLowerCase()!==it.toLowerCase())&&Dr(Pe(`Missing message: "${Pr}" for locale: "${Ze}"`+(un?", using default message as fallback.":"")));if(!ln.length&&un)try{ln=Or.getMessageFormat(un,it,ir).formatHTMLMessage(bn)}catch(An){Dr(Pe(`Error formatting the default message for: "${Pr}"`,An))}return ln.length?ln.length===1&&typeof ln[0]=="string"?ln[0]||un||String(Pr):yt(ln):(Dr(Pe(`Cannot format message: "${Pr}", using message ${rn||un?"source":"id"} as fallback.`)),typeof rn=="string"?rn||un||String(Pr):un||String(Pr))}function Cr(Ze,et,Ee={id:""},it={}){const ir=Object.keys(it).reduce((Dr,Er)=>{const Or=it[Er];return Dr[Er]=typeof Or=="string"?fe(Or):Or,Dr},{});return jt(Ze,et,Ee,ir)}var gr=e(18947),ot=e.n(gr);const Mr=["localeMatcher","type","style"],yn=Date.now();function Zn(Ze){return`${yn}_${Ze}_${yn}`}function mr({locale:Ze,onError:et},Ee,it,ir={}){Intl.ListFormat||et(Pe(`Intl.ListFormat is not available in this environment.
Try polyfilling it using "@formatjs/intl-listformat"
`));const Er=_e(ir,Mr);try{const Or={},$r=it.map((Pr,un)=>{if(typeof Pr=="object"){const rn=Zn(un);return Or[rn]=Pr,rn}return String(Pr)});return Object.keys(Or).length?Ee(Ze,Er).formatToParts($r).reduce((Pr,un)=>{const rn=un.value;return Or[rn]?Pr.push(Or[rn]):typeof Pr[Pr.length-1]=="string"?Pr[Pr.length-1]+=rn:Pr.push(rn),Pr},[]):Ee(Ze,Er).format($r)}catch(Or){et(Pe("Error formatting list.",Or))}return it}const tn=["localeMatcher","style","type","fallback"];function hn({locale:Ze,onError:et},Ee,it,ir={}){Intl.DisplayNames||et(Pe(`Intl.DisplayNames is not available in this environment.
Try polyfilling it using "@formatjs/intl-displaynames"
`));const Er=_e(ir,tn);try{return Ee(Ze,Er).of(it)}catch(Or){et(Pe("Error formatting display name.",Or))}}const Fn=ot()||gr;function ti(Ze){return{locale:Ze.locale,timeZone:Ze.timeZone,formats:Ze.formats,textComponent:Ze.textComponent,messages:Ze.messages,defaultLocale:Ze.defaultLocale,defaultFormats:Ze.defaultFormats,onError:Ze.onError}}function jn(Ze,et){const Ee=ke(et),it=Object.assign(Object.assign({},Zt),Ze),{locale:ir,defaultLocale:Dr,onError:Er}=it;return ir?!Intl.NumberFormat.supportedLocalesOf(ir).length&&Er?Er(Pe(`Missing locale data for locale: "${ir}" in Intl.NumberFormat. Using default locale: "${Dr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(ir).length&&Er&&Er(Pe(`Missing locale data for locale: "${ir}" in Intl.DateTimeFormat. Using default locale: "${Dr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(Er&&Er(Pe(`"locale" was not configured, using "${Dr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),it.locale=it.defaultLocale||"en"),Object.assign(Object.assign({},it),{formatters:Ee,formatNumber:gt.bind(null,it,Ee.getNumberFormat),formatNumberToParts:Rt.bind(null,it,Ee.getNumberFormat),formatRelativeTime:At.bind(null,it,Ee.getRelativeTimeFormat),formatDate:Ar.bind(null,it,Ee.getDateTimeFormat),formatDateToParts:_r.bind(null,it,Ee.getDateTimeFormat),formatTime:Br.bind(null,it,Ee.getDateTimeFormat),formatTimeToParts:Ur.bind(null,it,Ee.getDateTimeFormat),formatPlural:cn.bind(null,it,Ee.getPluralRules),formatMessage:jt.bind(null,it,Ee),formatHTMLMessage:Cr.bind(null,it,Ee),formatList:mr.bind(null,it,Ee.getListFormat),formatDisplayName:hn.bind(null,it,Ee.getDisplayNames)})}class Zi extends r.PureComponent{constructor(){super(...arguments),this.cache=Tt(),this.state={cache:this.cache,intl:jn(ti(this.props),this.cache),prevConfig:ti(this.props)}}static getDerivedStateFromProps(et,{prevConfig:Ee,cache:it}){const ir=ti(et);return Fn(Ee,ir)?null:{intl:jn(ir,it),prevConfig:ir}}render(){return Ot(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}Zi.displayName="IntlProvider",Zi.defaultProps=Zt;var xi=e(5085),Si=e(3424),Ei=e.n(Si),mi=e(85239),Xi=Object.getOwnPropertySymbols,qn=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable,wt=(Ze,et)=>{var Ee={};for(var it in Ze)qn.call(Ze,it)&&et.indexOf(it)<0&&(Ee[it]=Ze[it]);if(Ze!=null&&Xi)for(var it of Xi(Ze))et.indexOf(it)<0&&Yi.call(Ze,it)&&(Ee[it]=Ze[it]);return Ee};let ut;const Jn=!0,Ai=new(Ei()),ei=Symbol("LANG_CHANGE"),Gi=(Ze,et="")=>Object.keys(Ze).reduce((Ee,it)=>{const ir=Ze[it],Dr=et?`${et}.${it}`:it;return typeof ir=="string"?Ee[Dr]=ir:Object.assign(Ee,Gi(ir,Dr)),Ee},{}),vi={},si=(Ze,et,Ee)=>{var it,ir,Dr,Er;if(!Ze)return;const Or=(it=vi[Ze])!=null&&it.messages?Object.assign({},vi[Ze].messages,et):et,{momentLocale:$r=(ir=vi[Ze])==null?void 0:ir.momentLocale,antd:bn=(Dr=vi[Ze])==null?void 0:Dr.antd}=Ee||{},Pr=(Er=Ze.split("-"))==null?void 0:Er.join("-");vi[Ze]={messages:Or,locale:Pr,momentLocale:$r,antd:bn},Pr===Dt()&&Ai.emit(ei,Pr)},En=Ze=>(0,xi.We)().applyPlugins({key:"locale",type:"modify",initialValue:Ze}),tr=Ze=>{const Ee=En(vi[Ze]),{cache:it}=Ee,ir=wt(Ee,["cache"]);return jn(ir,it)},mt=(Ze,et)=>ut&&!et&&!Ze?ut:(Ze||(Ze=Dt()),Ze&&vi[Ze]?tr(Ze):vi["zh-CN"]?tr("zh-CN"):jn({locale:"zh-CN",messages:{}})),rt=Ze=>{ut=mt(Ze,!0)},Dt=()=>{const Ze=En({});return typeof(Ze==null?void 0:Ze.getLocale)=="function"?Ze.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&Jn?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},pt=()=>{const Ze=Dt();return["he","ar","fa","ku"].filter(it=>Ze.startsWith(it)).length?"rtl":"ltr"},lr=(Ze,et=!0)=>{(()=>{if(Dt()!==Ze){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&Jn&&window.localStorage.setItem("umi_locale",Ze||""),rt(Ze),et)window.location.reload();else if(Ai.emit(ei,Ze),window.dispatchEvent){const it=new Event("languagechange");window.dispatchEvent(it)}}})()};let fr=!0;const Ir=(Ze,et)=>(fr&&(warning(!1,`Using this API will cause automatic refresh when switching languages, please use useIntl or injectIntl.
\u4F7F\u7528\u6B64 api \u4F1A\u9020\u6210\u5207\u6362\u8BED\u8A00\u7684\u65F6\u5019\u65E0\u6CD5\u81EA\u52A8\u5237\u65B0\uFF0C\u8BF7\u4F7F\u7528 useIntl \u6216 injectIntl\u3002
http://j.mp/37Fkd5Q
`),fr=!1),ut||rt(Dt()),ut.formatMessage(Ze,et)),Hr=()=>Object.keys(vi)},16209:function(d,g,e){"use strict";e.d(g,{y:function(){return s}});var r=e(43418),i=e(95237),l=e(43604),c=e(58539),f=e(59301);const s=h=>new Promise((u,a)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return a("WebRTC not supported by browser");let x=new RTCPeerConnection,p=[];x.createDataChannel(""),x.createOffer().then(y=>x.setLocalDescription(y)).catch(y=>a(y)),x.onicecandidate=y=>{console.log("event:",y);const _=[];if(!y||!y.candidate){if(console.log("ips",p),p.length==0||!(0,c.t)(p[0])){const G=r.default.info({title:f.createElement(i.Z,null,f.createElement(l.Z,{flex:"1"},"\u63D0\u793A"),f.createElement(l.Z,null,f.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>G.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:f.createElement(i.Z,null,f.createElement(l.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(h.ip_limit==="inner"||h.ip_bind)&&f.createElement(f.Fragment,null,f.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),f.createElement("br",null),f.createElement(Button,{onClick:showInstallWebRtcDoc,type:"link"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return a("WebRTC disabled or restricted by browser")}const V=p.filter(G=>(0,c.t)(G));return!V||!V.length?a("IP\u83B7\u53D6\u5931\u8D25"):u(V.join(""))}let b=y.candidate.candidate.split(" "),[S,R,L,C,D,B,,$,...U]=b,K=["rtp","rtpc"];if(console.log("event:",y),p.some(V=>V==D)||p.push(D),console.log(" candidate: "+S.split(":")[1]),console.log(" component: "+K[R-1]),console.log(" protocol: "+L),console.log(" priority: "+C),console.log(" ip: "+D),console.log(" port: "+B),console.log(" type: "+$),U.length){console.log("attributes: ");for(let V=0;V<U.length;V+=2)console.log("> "+U[V]+": "+U[V+1])}}})},8797:function(d,g,e){"use strict";var r=e(59301),i=e(4977),l=e(3113),c=Object.defineProperty,f=Object.defineProperties,s=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(b,S,R)=>S in b?c(b,S,{enumerable:!0,configurable:!0,writable:!0,value:R}):b[S]=R,p=(b,S)=>{for(var R in S||(S={}))u.call(S,R)&&x(b,R,S[R]);if(h)for(var R of h(S))a.call(S,R)&&x(b,R,S[R]);return b},y=(b,S)=>f(b,s(S));const _=({img:b,buttonProps:S={},styles:R={},customText:L,ButtonText:C,ButtonClick:D,Buttonclass:B,ButtonTwo:$,imgStyles:U,loading:K=!1})=>r.createElement("section",{className:"tc animated fadeIn",style:p(p({},{color:"#999",margin:"100px auto",visibility:K?"hidden":"visible"}),R)},r.createElement("img",{src:b||i,style:y(p({},U),{pointerEvents:"none",userSelect:"none"})}),r.createElement("p",{className:"mt20 font14"},L||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),C&&r.createElement(l.ZP,p({className:B,onClick:D},S),C),$&&$);g.Z=_},39298:function(d,g,e){"use strict";e.d(g,{Z:function(){return oe}});var r=e(59301),i={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},l=e(3113),c=e(72308),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},s=f,h=e(7657),u=function(le,q){return r.createElement(h.Z,(0,c.Z)({},le,{ref:q,icon:s}))},a=r.forwardRef(u),x=a,p=e(23954),y=e(6848),_=e(955),b=e(94941),S=e(8797),R=e(3294),L=e(19381),C=e(59301),D=Object.defineProperty,B=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,K=(ae,le,q)=>le in ae?D(ae,le,{enumerable:!0,configurable:!0,writable:!0,value:q}):ae[le]=q,V=(ae,le)=>{for(var q in le||(le={}))$.call(le,q)&&K(ae,q,le[q]);if(B)for(var q of B(le))U.call(le,q)&&K(ae,q,le[q]);return ae},G=(ae,le,q)=>new Promise((J,Y)=>{var ue=ie=>{try{ee(q.next(ie))}catch(F){Y(F)}},ne=ie=>{try{ee(q.throw(ie))}catch(F){Y(F)}},ee=ie=>ie.done?J(ie.value):Promise.resolve(ie.value).then(ue,ne);ee((q=q.apply(ae,le)).next())}),oe=({editOffice:ae="view",data:le,theme:q,type:J,filename:Y,monacoEditor:ue,className:ne,style:ee,close:ie,onClose:F,hasMask:M,disabledDownload:Q,onImgDimensions:de,showNodata:we,recordInfo:Ce})=>{const[je,Fe]=(0,r.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Ft,_t]=(0,r.useState)(""),[Pt,qt]=(0,r.useState)(),er=window.ENV==="build"?"/react/build":"",Jt=location.host.startsWith("localhost")?R.Z.PROXY_SERVER:R.Z.API_SERVER,It=10*(1024*1024),zt=(0,r.useRef)();le!=null&&le.startsWith("/api")&&J!=="txt"&&(le=R.Z.API_SERVER+le);const st=Ue=>Ue.substring(Ue.lastIndexOf("/")+1).split(".").pop();Y&&ue&&(ue.filename=Y),(0,r.useEffect)(()=>{var Ue,ge;const Ae=(ge=(Ue=document.cookie)==null?void 0:Ue.replace(/\s/g,""))==null?void 0:ge.split(";");Ae==null||Ae.map(Me=>{let $e=Me.split("=");$e[0]==="_educoder_session"&&_t($e[1])})},[]),(0,r.useEffect)(()=>{J==="office"&&(le.indexOf("bigfilescdn.")>-1||le.indexOf("bigfiles1")>-1?qt({url:le,fileType:st(le),model:le.indexOf("model=edit")?"edit":"view"}):bt())},[J,le]);const bt=()=>G(void 0,null,function*(){console.log("data:",le);let Ue=le;le.startsWith("http")||(Ue=location.origin+Ue);let ge=new URL(Ue).pathname.split("/").pop();const Ae=yield(0,b.gJ)({attachment_id:ge});Ae.url=Jt+Ae.url,qt(Ae)}),ht=()=>{if(le.startsWith("http")||le.startsWith("blob:")){Je();return}(0,_.Nd)(Y||"educoder",decodeURIComponent(le))},Je=()=>{Ce&&(0,L.fc)({id:Ce==null?void 0:Ce.id,watch_type:1,course_id:Ce==null?void 0:Ce.course_id}),(0,_.Nd)(Y||"educoder",decodeURIComponent(le))};return console.log(le,"data"),C.createElement("div",{style:V({},ee||{}),className:`${M&&i.bgBlack} ${J?i.wrp:"hide"}`},ie&&C.createElement("div",{className:i.close,ref:zt},!!de&&C.createElement(y.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>zt.current},C.createElement("span",{onClick:()=>{F(),de()}},C.createElement("i",{className:"icon-yulanpizhu"}))),!Q&&C.createElement(y.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>zt.current},C.createElement("span",{onClick:Je},C.createElement("i",{className:"icon-quxiaozhiding"}))),C.createElement(y.Z,{title:"\u5173\u95ED",getPopupContainer:()=>zt.current},C.createElement("span",{className:"",onClick:F},C.createElement("i",{className:"icon-guanbi1"})))),C.createElement("div",{className:`${i[ne]} ${ne} ${i.monaco} ${J==="txt"?"show":"hide"}`},J==="txt"&&C.createElement(C.Fragment,null,C.createElement(p.ZP,V({},ue)))),J==="audio"&&C.createElement("audio",{src:(le==null?void 0:le.indexOf("http"))>-1||le!=null&&le.startsWith("/api")?le:`data:image/png;base64,${le}`,autoPlay:!0}),J==="video"&&C.createElement(C.Fragment,null,(le==null?void 0:le.indexOf("http"))>-1||le!=null&&le.startsWith("/api")?C.createElement("video",{controls:!0,src:`${le}`,autoPlay:!0}):C.createElement("video",{controls:!0,src:`data:video/mp4;base64,${le}`,autoPlay:!0})),J==="office"&&Pt&&C.createElement("iframe",{src:`${er}/office.html?key=${Pt.key}&url=${btoa(Pt.url)}&callbackUrl=${Jt+(Pt.callbackUrl||"")}&fileType=${Pt.fileType}&title=${Pt.title||""}&model=${ae}&officeServer=${R.Z.ONLYOFFICE}&disabledDownload=${!!Q}`}),J==="html"&&C.createElement("iframe",{src:le+"&disposition=inline"}),J==="pdf"&&C.createElement("iframe",{src:`${er}/js/pdfview/index.html?filename=${Y||"educoder.pdf"}&url=${encodeURIComponent(le)}&disabledDownload=${!!Q}`}),J==="image"&&C.createElement("img",{src:(le==null?void 0:le.indexOf("http"))>-1||le!=null&&le.startsWith("/api")?le:`data:image/png;base64,${le}`}),(J==="other"||J==="download")&&C.createElement(C.Fragment,null,we?C.createElement(S.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:C.createElement(l.ZP,{icon:C.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ht,disabled:Q},"\u4E0B\u8F7D")}):C.createElement(l.ZP,{type:"primary",size:"middle",onClick:ht,disabled:Q},C.createElement(x,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},85149:function(d,g,e){"use strict";e.d(g,{z:function(){return V},Z:function(){return G}});var r=e(59301),i=e(50304),l=e(24768),c=e(64018),f=e(79710),s=e(3294),h=e(955),u=e(15342),a=e(1012),x=e(39298),p=e(59301),_=({html:oe})=>{const ae=(0,r.useRef)(null),le=(0,r.useRef)(null),q=`.markdown-body p {
margin: 0 0 16px 0 !important;
line-height: 28px;
white-space: pre-wrap;
}
ol,
ul,
li {
list-style-type: none
}
ol,
ul,
dl {
margin-bottom: 0px;
}
.markdown-body {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
color: #333;
overflow: hidden;
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
word-break: break-word;
font-size: 16px;
line-height: 1.6;
white-space: normal;
word-wrap: break-word;
position: relative;
}
.markdown-body ul>li {
list-style-type: disc;
}
.markdown-body ol>li {
list-style-type: decimal;
}
.markdown-body a {
background: transparent;
}
.markdown-body a:active,
.markdown-body a:hover {
outline: 0;
}
.markdown-body strong {
font-weight: bold;
}
.markdown-body h1 {
font-size: 2em;
margin: 0.67em 0;
}
.markdown-body img {
border: 0;
}
.markdown-body hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
.markdown-body pre {
overflow: auto;
}
.markdown-body code,
.markdown-body kbd,
.markdown-body pre {
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
font-size: 1em;
}
.markdown-body input {
color: inherit;
font: inherit;
margin: 0;
}
.markdown-body html input[disabled] {
cursor: default;
}
.markdown-body input {
line-height: normal;
}
.markdown-body input[type="checkbox"] {
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
}
.markdown-body table {
border-collapse: collapse;
border-spacing: 0;
}
.markdown-body td,
.markdown-body th {
padding: 0;
}
.markdown-body * {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body input {
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}
.markdown-body a {
color: #4183c4;
text-decoration: none;
}
.markdown-body a:hover,
.markdown-body a:active {
text-decoration: underline;
}
.markdown-body hr {
height: 0;
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid #ddd;
}
.markdown-body hr:before {
display: table;
content: "";
}
.markdown-body hr:after {
display: table;
clear: both;
content: "";
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
margin-top: 15px;
margin-bottom: 15px;
line-height: 1.1;
}
.markdown-body h1 {
font-size: 30px;
}
.markdown-body h2 {
font-size: 21px;
}
.markdown-body h3 {
font-size: 16px;
}
.markdown-body h4 {
font-size: 14px;
}
.markdown-body h5 {
font-size: 12px;
}
.markdown-body h6 {
font-size: 11px;
}
.markdown-body blockquote {
margin: 0;
}
.markdown-body ul,
.markdown-body ol {
padding: 0;
margin-top: 0;
margin-bottom: 0;
}
ul.linenums,
ol.linenums {
padding: 16px 0 0 36px !important;
}
.markdown-body ul,
.markdown-body ol {
padding-left: 2em;
}
.markdown-body ol ol,
.markdown-body ul ol {
list-style-type: lower-roman;
}
.markdown-body ul ul ol,
.markdown-body ul ol ol,
.markdown-body ol ul ol,
.markdown-body ol ol ol {
list-style-type: lower-alpha;
}
.markdown-body dd {
margin-left: 0;
}
.markdown-body code {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 12px;
}
.markdown-body pre {
margin-top: 0;
margin-bottom: 0;
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
.markdown-body .octicon {
font: normal normal 16px octicons-anchor;
line-height: 1;
display: inline-block;
text-decoration: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.markdown-body .octicon-link:before {
content: '\f05c';
}
.markdown-body>*:first-child {
margin-top: 0 !important;
}
.markdown-body>*:last-child {
margin-bottom: 0 !important;
}
.markdown-body .anchor {
position: absolute;
top: 0;
left: 0;
display: block;
padding-right: 6px;
padding-left: 30px;
margin-left: -30px;
}
.markdown-body .anchor:focus {
outline: none;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
position: relative;
margin-top: 1em;
margin-bottom: 16px;
font-weight: bold;
line-height: 1.4;
}
.markdown-body h1 .octicon-link,
.markdown-body h2 .octicon-link,
.markdown-body h3 .octicon-link,
.markdown-body h4 .octicon-link,
.markdown-body h5 .octicon-link,
.markdown-body h6 .octicon-link {
display: none;
color: #000;
vertical-align: middle;
}
.markdown-body h1:hover .anchor,
.markdown-body h2:hover .anchor,
.markdown-body h3:hover .anchor,
.markdown-body h4:hover .anchor,
.markdown-body h5:hover .anchor,
.markdown-body h6:hover .anchor {
padding-left: 8px;
margin-left: -30px;
text-decoration: none;
}
.markdown-body h1:hover .anchor .octicon-link,
.markdown-body h2:hover .anchor .octicon-link,
.markdown-body h3:hover .anchor .octicon-link,
.markdown-body h4:hover .anchor .octicon-link,
.markdown-body h5:hover .anchor .octicon-link,
.markdown-body h6:hover .anchor .octicon-link {
display: inline-block;
}
.markdown-body h1 {
padding-bottom: 0.3em;
font-size: 2.25em;
line-height: 1.2;
border-bottom: 1px solid #eee;
}
.markdown-body h1 .anchor {
line-height: 1;
}
.markdown-body h2 {
padding-bottom: 0.3em;
font-size: 1.75em;
line-height: 1.225;
border-bottom: 1px solid #eee;
}
.markdown-body h2 .anchor {
line-height: 1;
}
.markdown-body h3 {
font-size: 1.5em;
line-height: 1.43;
}
.markdown-body h3 .anchor {
line-height: 1.2;
}
.markdown-body h4 {
font-size: 1.25em;
}
.markdown-body h4 .anchor {
line-height: 1.2;
}
.markdown-body h5 {
font-size: 1em;
}
.markdown-body h5 .anchor {
line-height: 1.1;
}
.markdown-body h6 {
font-size: 1em;
color: #777;
}
.markdown-body h6 .anchor {
line-height: 1.1;
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}
.markdown-body ul ul,
.markdown-body ul ol,
.markdown-body ol ol,
.markdown-body ol ul {
margin-top: 0;
margin-bottom: 0;
}
.markdown-body li>p {
margin-top: 16px;
}
.markdown-body dl {
padding: 0;
}
.markdown-body dl dt {
padding: 0;
margin-top: 16px;
font-size: 1em;
font-style: italic;
font-weight: bold;
}
.markdown-body dl dd {
padding: 0 16px;
margin-bottom: 16px;
}
.markdown-body blockquote {
padding: 0 15px;
color: #777;
border-left: 4px solid #ddd;
}
.markdown-body blockquote> :first-child {
margin-top: 0;
}
.markdown-body blockquote> :last-child {
margin-bottom: 0;
}
.markdown-body table {
display: block;
width: 100%;
overflow: auto;
word-break: normal;
word-break: keep-all;
}
.markdown-body table th {
font-weight: bold;
text-align: revert;
}
.markdown-body table th,
.markdown-body table td {
padding: 6px 13px;
border: 1px solid #ddd;
}
.markdown-body table tr {
background-color: #fff;
border-top: 1px solid #ccc;
}
.markdown-body table tr:nth-child(2n) {
background-color: #f8f8f8;
}
.markdown-body img {
max-width: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body code {
padding: 0;
padding-top: 0.2em;
padding-bottom: 0.2em;
margin: 0;
font-size: 85%;
background-color: rgba(0, 0, 0, 0.04);
border-radius: 3px;
}
.markdown-body code:has(.katex) {
background-color: transparent;
}
.markdown-body code:before,
.markdown-body code:after {
letter-spacing: -0.2em;
content: "\\00a0";
}
.markdown-body pre>code {
padding: 0;
margin: 0;
font-size: 100%;
word-break: normal;
white-space: pre;
background: transparent;
border: 0;
}
.markdown-body .highlight {
margin-bottom: 16px;
}
.markdown-body .highlight pre,
.markdown-body pre {
padding: 16px;
overflow: auto;
font-size: 85%;
line-height: 1.45;
background-color: #f7f7f7;
border-radius: 3px;
}
.markdown-body .highlight pre {
margin-bottom: 0;
word-break: normal;
}
.markdown-body pre {
word-wrap: normal;
}
.markdown-body pre code {
display: inline;
max-width: initial;
padding: 0;
margin: 0;
overflow: initial;
line-height: inherit;
word-wrap: normal;
background-color: transparent;
border: 0;
}
.markdown-body pre code:before,
.markdown-body pre code:after {
content: normal;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font-size: 11px;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .pl-c {
color: #969896;
}
.markdown-body .pl-c1,
.markdown-body .pl-mdh,
.markdown-body .pl-mm,
.markdown-body .pl-mp,
.markdown-body .pl-mr,
.markdown-body .pl-s1 .pl-v,
.markdown-body .pl-s3,
.markdown-body .pl-sc,
.markdown-body .pl-sv {
color: #0086b3;
}
.markdown-body .pl-e,
.markdown-body .pl-en {
color: #795da3;
}
.markdown-body .pl-s1 .pl-s2,
.markdown-body .pl-smi,
.markdown-body .pl-smp,
.markdown-body .pl-stj,
.markdown-body .pl-vo,
.markdown-body .pl-vpf {
color: #333;
}
.markdown-body .pl-ent {
color: #63a35c;
}
.markdown-body .pl-k,
.markdown-body .pl-s,
.markdown-body .pl-st {
color: #a71d5d;
}
.markdown-body .pl-pds,
.markdown-body .pl-s1,
.markdown-body .pl-s1 .pl-pse .pl-s2,
.markdown-body .pl-sr,
.markdown-body .pl-sr .pl-cce,
.markdown-body .pl-sr .pl-sra,
.markdown-body .pl-sr .pl-sre,
.markdown-body .pl-src {
color: #df5000;
}
.markdown-body .pl-mo,
.markdown-body .pl-v {
color: #1d3e81;
}
.markdown-body .pl-id {
color: #b52a1d;
}
.markdown-body .pl-ii {
background-color: #b52a1d;
color: #f8f8f8;
}
.markdown-body .pl-sr .pl-cce {
color: #63a35c;
font-weight: bold;
}
.markdown-body .pl-ml {
color: #693a17;
}
.markdown-body .pl-mh,
.markdown-body .pl-mh .pl-en,
.markdown-body .pl-ms {
color: #1d3e81;
font-weight: bold;
}
.markdown-body .pl-mq {
color: #008080;
}
.markdown-body .pl-mi {
color: #333;
font-style: italic;
}
.markdown-body .pl-mb {
color: #333;
font-weight: bold;
}
.markdown-body .pl-md,
.markdown-body .pl-mdhf {
background-color: #ffecec;
color: #bd2c00;
}
.markdown-body .pl-mdht,
.markdown-body .pl-mi1 {
background-color: #eaffea;
color: #55a532;
}
.markdown-body .pl-mdr {
color: #795da3;
font-weight: bold;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .task-list-item {
list-style-type: none;
}
.markdown-body .task-list-item+.task-list-item {
margin-top: 3px;
}
.markdown-body .task-list-item input {
float: left;
margin: 0.3em 0 0.25em -1.6em;
vertical-align: middle;
}
.markdown-body :checked+.radio-label {
z-index: 1;
position: relative;
border-color: #4183c4;
}
/*! Pretty printing styles. Used with prettify.js. */
/* SPAN elements with the classes below are added by prettyprint. */
.pln {
color: #000
}
/* plain text */
@media screen {
.str {
color: #080
}
/* string content */
.kwd {
color: #008
}
/* a keyword */
.com {
color: #800
}
/* a comment */
.typ {
color: #606
}
/* a type name */
.lit {
color: #066
}
/* a literal value */
/* punctuation, lisp open bracket, lisp close bracket */
.pun,
.opn,
.clo {
color: #660
}
.tag {
color: #008
}
/* a markup tag name */
.atn {
color: #606
}
/* a markup attribute name */
.atv {
color: #080
}
/* a markup attribute value */
.dec,
.var {
color: #606
}
/* a declaration; a variable name */
.fun {
color: red
}
/* a function name */
}
/* Use higher contrast and text-weight for printable form. */
@media print,
projection {
.str {
color: #060
}
.kwd {
color: #006;
font-weight: bold
}
.com {
color: #600;
font-style: italic
}
.typ {
color: #404;
font-weight: bold
}
.lit {
color: #044
}
.pun,
.opn,
.clo {
color: #440
}
.tag {
color: #006;
font-weight: bold
}
.atn {
color: #404
}
.atv {
color: #060
}
}
/* Put a border around prettyprinted code snippets. */
pre.prettyprint {
padding: 2px;
/* border: 1px solid #888 */
}
/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
margin-top: 0;
margin-bottom: 0
}
/* IE indents via margin-left */
li.L0,
li.L1,
li.L2,
li.L3,
li.L5,
li.L6,
li.L7,
li.L8 {
list-style-type: none
}
/* Alternate shading for lines */
li.L1,
li.L3,
li.L5,
li.L7,
li.L9 {
background: #eee
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}`;return(0,r.useEffect)(()=>{const J=ae.current.attachShadow({mode:"open"});le.current=document.createElement("div"),le.current.className="markdown-body",le.current.innerHTML=oe,J.appendChild(le.current);const Y=document.createElement("style");return Y.textContent=q,J.appendChild(Y),()=>{J.innerHTML=""}},[]),(0,r.useEffect)(()=>{le.current&&(le.current.innerHTML=oe)},[oe]),p.createElement("div",{ref:ae})},b=Object.defineProperty,S=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,C=(oe,ae,le)=>ae in oe?b(oe,ae,{enumerable:!0,configurable:!0,writable:!0,value:le}):oe[ae]=le,D=(oe,ae)=>{for(var le in ae||(ae={}))R.call(ae,le)&&C(oe,le,ae[le]);if(S)for(var le of S(ae))L.call(ae,le)&&C(oe,le,ae[le]);return oe};const B="@\u2581\u2581@",$="@\u2581@",U=/<pre[^>]*>/g;function K(oe){let ae=document.createElement("div");return ae.innerHTML=oe,ae.childNodes.length===0?"":ae.childNodes[0].nodeValue}const V=(oe,ae)=>{oe=oe||"";const le=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,q=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,J=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Y=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ae?oe.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(le,(ue,ne,ee,ie,F,M,Q)=>{const de=ne||ie||M,we=ee||F||Q||"?";return s.Z.API_SERVER+"/api/attachments/"+de+we+"&t="+(0,h.Jn)(de,Date.now())+(ue.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(oe=oe.replace(Y,(ue,ne,ee,ie,F,M,Q)=>{const de=ne||ie||M,we=ee||F||Q||"?";return s.Z.API_SERVER+"/attachments/download/"+de+we+"&t="+(0,h.Jn)(de,Date.now())+(ue.indexOf(")")>-1?")":"&")}).replace(le,(ue,ne,ee,ie,F,M,Q)=>{const de=ne||ie||M,we=ee||F||Q||"?";return s.Z.API_SERVER+"/api/attachments/"+de+we+"&t="+(0,h.Jn)(de,Date.now())+(ue.indexOf(")")>-1?")":"&")}).replace(q,(ue,ne,ee,ie,F)=>{const M=ne||ie,Q=ee||F||"";return'"'+s.Z.API_SERVER+"/api/attachments/"+M+Q+M+Q+"&t="+(0,h.Jn)(M,Date.now())}).replace(J,(ue,ne,ee,ie,F)=>{const M=ne||ie,Q=ee||F||"";return"("+s.Z.API_SERVER+"/files/uploads/"+M+Q+M+Q+"&t="+(0,h.Jn)(M,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`),oe)};var G=({value:oe="",className:ae,showTextOnly:le,showLines:q,style:J={},stylesPrev:Y={},highlightKeywords:ue,showProgramFill:ne,isProgramFill:ee,disabledFill:ie=!1,programFillValue:F,onFillChange:M=we=>{},onFillBlur:Q=()=>{},onFillFocus:de=()=>{}})=>{let we=String(oe);const[Ce,je]=(0,r.useState)(""),[Fe,Ft]=(0,r.useState)("office"),[_t,Pt]=(0,r.useState)([]),qt=(0,r.useRef)("a"+(0,a.Z)()),er={},Jt=($e,He,nt)=>{const ct=document.createElement($e===$?"input":"textarea");ct.style.width="100%",ct.style.height=$e===$?"40px":"151px",ct.rows=5,ct.spellcheck=!1,ct.name="edu-program-fill",ct.placeholder="\u8BF7\u8F93\u5165",ct.dataset.id=He;const Vt=Object.keys(er).length;return er[Vt]=ct,`<span class="edu-program-fill-wrap ${$e===$?"":"show"}" style="width:${$e===$?"400px":"100%"}" title=${nt||""}><span>${ct.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Xe($e){return $e=$e.replace(/!\[.*?\]\(.*?\)/g,""),$e=$e.replace(/\[.*?\]\(.*?\)/g,""),$e=$e.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),$e=$e.replace(/<embed.*?>/g,""),$e=$e.replace(/<img.*?>/g,""),$e=$e.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),$e=$e.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),$e=$e.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),$e=$e.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),$e}const It=$e=>$e.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(He,nt){let ct=nt.replace(/(\n|\r)/g,"").split("}"),Vt=[];return ct.map(Wt=>{Wt!=""&&Vt.push(`.${qt.current} ${Wt}`)}),`<style>${Vt.join("}")}</style>`}),zt=(0,r.useMemo)(()=>{try{const ct=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Vt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Wt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,De=/\(\/attachments\/download\//g;we=we.replace(De,"("+s.Z.API_SERVER+"/attachments/download/").replace(ct,"("+s.Z.API_SERVER+"/api/attachments/").replace(Vt,'"'+s.Z.API_SERVER+"/api/attachments/").replace(Wt,'"'+s.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`)}catch(ct){}if(ne){let ct=-1;return we=we.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(Vt,Wt,De){var qe;return++ct,Jt(Vt,ct,(qe=F==null?void 0:F[ct])==null?void 0:qe.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${It(we||"")}</pre>`}let $e=It(we);$e=(0,l.ZP)($e);const He=(0,l.ez)();we.match(/\[TOC\]/)&&($e=$e.replace("<p>[TOC]</p>",(0,l.Qv)()),(0,l.Iy)()),$e=$e.replace(/(__special_katext_id_\d+__)/g,(ct,Vt)=>{const{type:Wt,expression:De}=He[Vt];return(0,u.renderToString)(K(De)||"",{displayMode:Wt==="block",throwOnError:!1,output:"html"})}),$e=$e.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,l.AL)();const nt=document.createElement("div");if(nt.innerHTML=$e,le)return nt.innerText;if(ue){const ct=ue.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Je(nt,ct),nt.innerHTML}return setTimeout(()=>Ae(),500),nt.innerHTML},[we,ue]);(0,r.useEffect)(()=>{Ue.current&&Ue.current.querySelectorAll(["input","textarea"]).forEach(He=>{He.oninput=st,He.onblur=bt,He.onfocus=ht})},[_t]),(0,r.useEffect)(()=>{var $e,He,nt,ct,Vt;if(F!=null&&F.length)try{const Wt=Ue.current.querySelectorAll(".edu-program-fill-score"),De=Ue.current.querySelectorAll('[name="edu-program-fill"]');for(const[qe,Gt]of De.entries())Gt.value=(($e=F==null?void 0:F[qe])==null?void 0:$e.value)||"",((He=F==null?void 0:F[qe])==null?void 0:He.type)==="warning"?Gt.className="program-fill-warning":((nt=F==null?void 0:F[qe])==null?void 0:nt.type)==="success"?Gt.className="program-fill-success":Gt.className="";for(const[qe,Gt]of Wt.entries())Gt.innerHTML=(ct=F==null?void 0:F[qe])!=null&&ct.score?`${(Vt=F==null?void 0:F[qe])==null?void 0:Vt.score}\u5206`:"";Pt(F)}catch(Wt){console.log(Wt,"error")}},[F]);const st=$e=>{_t[$e.target.dataset.id]=_t[$e.target.dataset.id]||{},_t[$e.target.dataset.id].value=$e.target.value,Pt([..._t]),M(_t,$e.target.dataset.id)},bt=$e=>{_t[$e.target.dataset.id]=_t[$e.target.dataset.id]||{},_t[$e.target.dataset.id].value=$e.target.value,Pt([..._t]),Q(_t,$e.target.dataset.id)},ht=$e=>{_t[$e.target.dataset.id]=_t[$e.target.dataset.id]||{},_t[$e.target.dataset.id].value=$e.target.value,Pt([..._t]),de(_t,$e.target.dataset.id)};function Je($e,He){return $e.childNodes.forEach(nt=>{var ct;if(nt.childNodes.length>0)Je(nt,He);else if(nt.nodeName!=="IMG")if(nt.innerHTML)nt.innerHTML=(ct=nt.innerHTML)==null?void 0:ct.replace(new RegExp(He,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Vt=document.createElement("span");Vt.innerHTML=nt.textContent.replace(new RegExp(He,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),nt.replaceWith(Vt)}})}const Ue=(0,r.useRef)();l.jb.WebkitLineClamp=q,q&&(J=D(D({},J),l.jb));function ge($e){let He=$e.target;if(He.tagName.toUpperCase()==="A"){let nt=He.getAttribute("href");if(nt.indexOf("office")>-1)$e.preventDefault(),je(nt),Ft("office");else if(nt.indexOf("application/pdf")>-1)$e.preventDefault(),je(nt),Ft("pdf");else if(nt.indexOf("text/html")>-1)$e.preventDefault(),je(nt),Ft("html");else if(nt.startsWith("#")){$e.preventDefault();let ct=document.getElementById(nt.replace("#",""));ct&&ct.scrollIntoView(!0)}}}const Ae=()=>{var $e;const He=($e=Ue.current)==null?void 0:$e.querySelectorAll("video");He==null||He.forEach(nt=>{if(nt.oncontextmenu=()=>!1,nt.src.indexOf(".m3u8")>-1&&!nt.canPlayType("application/vnd.apple.mpegurl")){if(f.ZP.isSupported()){var ct=new f.ZP;ct.loadSource(nt.src),ct.attachMedia(nt)}}})};(0,r.useEffect)(()=>{if(Ue.current&&zt&&zt.match(U)&&window.PR.prettyPrint(),Ue.current)return Ue.current.addEventListener("click",ge),()=>{var $e;($e=Ue.current)==null||$e.removeEventListener("click",ge),(0,l.AL)(),(0,l.Iy)()}},[zt,Ue.current,ge]),(0,r.useEffect)(()=>{var $e;const He=nt=>{nt.preventDefault(),nt.clipboardData.setData("text",window.getSelection().toString())};return($e=Ue.current)==null||$e.addEventListener("copy",He),()=>{var nt;(nt=Ue.current)==null||nt.removeEventListener("copy",He)}},[Ue.current]);const Me=$e=>/<style[\s\S]*?>/i.test($e||"");return r.createElement(r.Fragment,null,le&&r.createElement("div",{ref:Ue},zt),!le&&!Me(zt)&&r.createElement("div",{ref:Ue,style:D({},J),className:`${ae||""} ${ie?"disabled-fill":""} markdown-body ${qt.current}`,dangerouslySetInnerHTML:{__html:zt}}),!le&&Me(zt)&&r.createElement(_,{html:zt}),r.createElement(x.Z,{close:!0,data:Ce,type:Ce!=null&&Ce.length?Fe:"",style:D({},Y),onClose:()=>je("")}))}},23954:function(d,g,e){"use strict";e.d(g,{SV:function(){return Ue},ZP:function(){return Je}});var r=e(59301),i=e(76374);const l={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},c={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},f={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
`)},{label:"if",content:["if () {"," $0","}"].join(`
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
`)}]},s={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},h={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
`)}]};var u=e(53184),a=e.n(u),x=Object.defineProperty,p=Object.defineProperties,y=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,R=(ge,Ae,Me)=>Ae in ge?x(ge,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Ae]=Me,L=(ge,Ae)=>{for(var Me in Ae||(Ae={}))b.call(Ae,Me)&&R(ge,Me,Ae[Me]);if(_)for(var Me of _(Ae))S.call(Ae,Me)&&R(ge,Me,Ae[Me]);return ge},C=(ge,Ae)=>p(ge,y(Ae)),D=(ge,Ae,Me)=>new Promise(($e,He)=>{var nt=Wt=>{try{Vt(Me.next(Wt))}catch(De){He(De)}},ct=Wt=>{try{Vt(Me.throw(Wt))}catch(De){He(De)}},Vt=Wt=>Wt.done?$e(Wt.value):Promise.resolve(Wt.value).then(nt,ct);Vt((Me=Me.apply(ge,Ae)).next())});const B={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},$=(ge,Ae)=>Ae.map(Me=>({label:Me,kind:ge.languages.CompletionItemKind.Keyword,insertText:Me})),U=ge=>Object.keys(B.tables).map(Ae=>({label:Ae,kind:ge.languages.CompletionItemKind.Variable,insertText:Ae})),K=(ge,Ae)=>{const Me=B.tables[ge];return Me?Me.map($e=>({label:$e,kind:Ae.languages.CompletionItemKind.Field,insertText:$e})):[]};function V(ge,Ae,Me,$e,He){let nt=Ae.getWordUntilPosition(Me),ct={startLineNumber:Me.lineNumber,endLineNumber:Me.lineNumber,startColumn:nt.startColumn,endColumn:nt.endColumn},Vt=$e.map(Wt=>({label:Wt,kind:ge.languages.CompletionItemKind.Keyword,insertText:Wt,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ct}));return He.map(Wt=>{Vt.push(C(L({},Wt),{range:ct}))}),Vt}var G=ge=>{B.languages.map(He=>(ge.languages.registerDocumentFormattingEditProvider(He,{provideDocumentFormattingEdits(nt,ct,Vt){return D(this,null,function*(){const Wt=a()(nt.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:nt.getFullModelRange(),text:Wt}]})}}),He));const Ae=f.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Me=s.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),$e=c.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet}));ge.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...f.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...f.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Wt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn};return{suggestions:[...l.keywords.map(Wt=>({label:Wt,kind:ge.languages.CompletionItemKind.Function,documentation:Wt,insertText:Wt,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...c.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...c.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Wt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...h.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...h.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Wt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...s.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...s.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Wt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}})};const oe="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ae=Object.defineProperty,le=(ge,Ae,Me)=>Ae in ge?ae(ge,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Ae]=Me,q=(ge,Ae,Me)=>le(ge,typeof Ae!="symbol"?Ae+"":Ae,Me);const J=class Rd{constructor(Ae,Me,$e){this.placeholder=Ae,this.editor=Me,this.monaco=$e,Me.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Rd.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};q(J,"ID","editor.widget.placeholderHint");var ue=J,ne=e(96236),ee=e(8591),ie=e(6848),F=e(89392),M=e(34604),Q=e(56102),de=Object.defineProperty,we=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,_t=(ge,Ae,Me)=>Ae in ge?de(ge,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Ae]=Me,Pt=(ge,Ae)=>{for(var Me in Ae||(Ae={}))Fe.call(Ae,Me)&&_t(ge,Me,Ae[Me]);if(je)for(var Me of je(Ae))Ft.call(Ae,Me)&&_t(ge,Me,Ae[Me]);return ge},qt=(ge,Ae)=>we(ge,Ce(Ae)),er=(ge,Ae)=>{var Me={};for(var $e in ge)Fe.call(ge,$e)&&Ae.indexOf($e)<0&&(Me[$e]=ge[$e]);if(ge!=null&&je)for(var $e of je(ge))Ae.indexOf($e)<0&&Ft.call(ge,$e)&&(Me[$e]=ge[$e]);return Me},Jt=(ge,Ae,Me)=>new Promise(($e,He)=>{var nt=Wt=>{try{Vt(Me.next(Wt))}catch(De){He(De)}},ct=Wt=>{try{Vt(Me.throw(Wt))}catch(De){He(De)}},Vt=Wt=>Wt.done?$e(Wt.value):Promise.resolve(Wt.value).then(nt,ct);Vt((Me=Me.apply(ge,Ae)).next())});function Xe(ge){return/^\d+$/.test(ge)?`${ge}px`:ge}function It(){}let zt=!1;const st={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function bt(ge=[]){let Ae=ge;if(Array.isArray(ge)){for(let Me=0;Me<ge.length;Me++){let $e=st[ge[Me]];if($e)return $e}return Ae[0]}return st[Ae]||Ae}let ht=null;var Je=ge=>{var Ae=ge,{width:Me="100%",height:$e="100%",value:He,language:nt="javascript",style:ct={},options:Vt={},overrideServices:Wt={},theme:De="vs-dark",onEditBlur:qe,isCopy:Gt=!1,onSave:kt,autoHeight:Ht=!1,forbidCopy:$t=!1,onChange:Ct=It,editorDidMount:Yt=It,onFocus:We=It,onBreakPoint:fe=It,breakPointValue:_e=[],filename:Ot="educoder.txt",errorLine:Pe,errorContent:dt="",highlightLine:Zt,openBreakPoint:Tt=!1,placeholder:ke=""}=Ae,St=er(Ae,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const be=(0,r.useRef)(),Ke=(0,r.useRef)({}),gt=(0,r.useRef)(),Rt=(0,r.useRef)(),Be=(0,r.useRef)([]),kr=(0,r.useRef)(!1),At=(0,r.useRef)(),Kr=(0,r.useRef)(),qr=(0,r.useRef)(!1),[Ar,Br]=(0,r.useState)(!1);function _r(){let mr;return be.current&&(mr=new i.Z(tn=>{for(let hn of tn)(hn.target.offsetHeight>0||hn.target.offsetWidth>0)&&Ke.current.instance.layout()}),mr.observe(be.current)),mr}function Ur(){ee.ZP.warning({content:decodeURIComponent(oe),key:"monaco-editor-tip"})}const sn=()=>{let mr=Ke.current.instance;if(He!=null&&mr&&Ar){const tn=mr.getModel();tn&&He!==tn.getValue()&&(zt=!0,tn.setValue(He),mr.layout(),zt=!1)}};(0,r.useEffect)(()=>{const mr=M.Z.subscribe("formatDocument",tn=>{var hn;let Fn=Ke.current.instance;(hn=Fn==null?void 0:Fn.getAction)==null||hn.call(Fn,"editor.action.formatDocument").run()});return window.updateMonacoValue=tn=>{Ct(tn)},mr},[]),(0,r.useEffect)(()=>{var mr;let tn=Ke.current.instance;Rt.current&&clearTimeout(Rt.current),Rt.current=setTimeout(()=>{sn()},500),He&&(He!=null&&He.length)&&((mr=tn==null?void 0:tn.updateOptions)==null||mr.call(tn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(He.split(/\r\n|\r|\n/g).length))+3,5)}))},[He,Ar,Ke.current]),(0,r.useEffect)(()=>{if(Pe&&Ke.current&&Ke.current.instance){let tn=Ke.current.instance;tn.changeViewZones(function(hn){var Fn=document.createElement("div");Fn.style.padding="10px 20px",Fn.style.width="calc(100% - 20px)",Fn.className="my-error-line-wrp",Fn.innerHTML=dt,hn.addZone({afterLineNumber:Pe||11,heightInLines:3,domNode:Fn})});var mr={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};tn.addOverlayWidget(mr),tn.revealPositionInCenter({lineNumber:20,column:1})}},[Pe,Ke.current,Ar]);const cn=(mr="",tn)=>{if(!mr||mr.trim()==="")return!0;const Fn=Ke.current.instance.getModel().getLineTokens(tn);let ti=!1;for(let jn=0;jn<2;jn++)Fn.getStandardTokenType(jn)===1&&(ti=!0);return ti};(0,r.useEffect)(()=>{var mr;const tn=(mr=Ke.current)==null?void 0:mr.instance;if(tn&&Ar&&$t){const hn=tn.onDidBlurEditorWidget(()=>{qr.current=!1}),Fn=tn.onDidFocusEditorText(()=>{qr.current=!0});return()=>{hn.dispose(),Fn.dispose()}}},[Ke.current,Ar,$t]),(0,r.useEffect)(()=>{var mr;if((mr=Ke.current)!=null&&mr.instance&&Ar&&Tt){let tn=Ke.current.instance,hn=tn.getModel();if(!hn)return;(()=>{var wt;let ut=[],Jn=[];const Ai=hn.getAllDecorations();for(let Gi of Ai)Gi.options.className==="highlighted-line"&&(ut.push((wt=Gi==null?void 0:Gi.range)==null?void 0:wt.startLineNumber),Jn.push(Gi==null?void 0:Gi.id));if(Zt===ut[0])return;hn.deltaDecorations(Jn,[]);const ei=hn.getLineCount();Zt&&Zt<=ei&&(tn.deltaDecorations([],[{range:new ht.Range(Zt,1,Zt,hn.getLineMaxColumn(Zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),tn.revealLineInCenter(Zt))})();const ti=(wt=!1)=>{var ut;let Jn=[],Ai=[];const ei=hn.getAllDecorations();for(let Gi of ei)Gi.options.linesDecorationsClassName==="breakpoints-select"&&(Jn.push((ut=Gi==null?void 0:Gi.range)==null?void 0:ut.startLineNumber),Ai.push(Gi==null?void 0:Gi.id));if(wt)return{lines:Jn,ids:Ai};fe(Jn)},jn=wt=>Jt(void 0,null,function*(){let ut={range:new ht.Range(wt,1,wt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield hn.deltaDecorations([],[ut]),ti()}),Zi=wt=>Jt(void 0,null,function*(){let ut=[];const Jn=tn.getLineDecorations(wt);for(let Ai of Jn)Ai.options.linesDecorationsClassName==="breakpoints-select"&&ut.push(Ai.id);yield hn.deltaDecorations(ut,[]),ti()}),xi=wt=>{let ut=tn.getLineDecorations(wt);for(let Jn of ut)if(Jn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,F.isEqual)(_e,ti(!0).lines)){hn.deltaDecorations(ti(!0).ids,[]);const wt=_e.map(ut=>({range:new ht.Range(ut,1,ut,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));hn.deltaDecorations([],wt)}const Si=tn.onDidChangeModelContent(wt=>{let ut=tn.getPosition();if(ut){let Jn=ut.lineNumber;clearTimeout(Kr.current),Kr.current=setTimeout(()=>{cn(hn.getLineContent(Jn),Jn)?Zi(Jn):xi(Jn)?(Zi(Jn),jn(Jn)):ti()},100)}}),Ei=tn.onMouseDown(wt=>{var ut,Jn,Ai;if(wt.target.detail&&((Ai=(Jn=(ut=wt.target)==null?void 0:ut.element)==null?void 0:Jn.className)!=null&&Ai.includes("line-numbers"))){let ei=wt.target.position.lineNumber;if(cn(hn.getLineContent(ei),ei))return;xi(ei)?Zi(ei):jn(ei)}}),mi=wt=>{let ut={range:new ht.Range(wt,1,wt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Be.current=tn.deltaDecorations(Be.current,[ut])},Xi=()=>{Be.current=tn.deltaDecorations(Be.current,[])},qn=tn.onMouseMove(wt=>{var ut,Jn,Ai;if(Xi(),wt.target.detail&&((Ai=(Jn=(ut=wt.target)==null?void 0:ut.element)==null?void 0:Jn.className)!=null&&Ai.includes("line-numbers"))){let ei=wt.target.position.lineNumber;if(cn(hn.getLineContent(ei),ei))return;mi(ei)}}),Yi=tn.onMouseLeave(()=>{Xi()});return()=>{Si.dispose(),Ei.dispose(),qn.dispose(),Yi.dispose()}}},[Ke.current,Ar,_e,Zt,Tt,nt]),(0,r.useEffect)(()=>{var mr;(mr=Ke.current)!=null&&mr.instance&&Tt&&Ke.current.instance.setPosition({lineNumber:0,column:0})},[Zt]);function or(){let mr=Ke.current.instance;if(mr){const tn=mr.getSelection(),hn=Ke.current.pastePos||{},Fn=new ht.Range(hn.startLineNumber||tn.endLineNumber,hn.startColumn||tn.endColumn,hn.endLineNumber||tn.endLineNumber,hn.endColumn||tn.endColumn);setTimeout(()=>{mr.executeEdits("",[{range:Fn,text:""}])},300)}}function Lt(mr){(window.navigator.platform.match("Mac")?mr.metaKey:mr.ctrlKey)&&mr.keyCode==83&&(mr.preventDefault(),kt())}const vt=()=>{if(Ht&&Ke.current.instance){const mr=Ke.current.instance.getContentHeight();yn(mr<$e?$e:mr)}else yn($e)};function yt(mr){var tn=document.createEvent("MouseEvents");tn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),mr.dispatchEvent(tn)}const jt=mr=>{if(!qr.current)return;const{keyCode:tn,ctrlKey:hn,metaKey:Fn,target:ti,type:jn}=mr;return(jn==="paste"||(tn===67||tn===86)&&(Fn||hn))&&ti.nodeName==="TEXTAREA"&&(Ur(),mr.preventDefault()),!1};function Cr(mr,tn){var hn=window.URL||window.webkitURL||window,Fn=new Blob([tn]),ti=document.createElementNS("http://www.w3.org/1999/xhtml","a");ti.href=hn.createObjectURL(Fn),ti.download=mr,yt(ti)}(0,r.useEffect)(()=>{vt()},[vt]),(0,r.useEffect)(()=>{be.current&&!Ar&&Promise.all([e.e(8909),e.e(3267)]).then(e.bind(e,71448)).then(mr=>{try{ht=mr,Ke.current.instance=ht.editor.create(be.current,{value:He,language:bt(nt),theme:De,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Wt);const tn=Ke.current.instance;let ti=[...ne.BH._menuItems].find(Si=>Si[0]._debugName=="EditorContext")[1],jn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Zi=(Si,Ei)=>{var mi,Xi;let qn=Si._first;do Ei.includes((Xi=(mi=qn.element)==null?void 0:mi.command)==null?void 0:Xi.id)&&Si._remove(qn);while(qn=qn.next)};if(Yt(tn,ht),setTimeout(()=>{vt(),Ke.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Cr(Ot||"educoder.txt",tn.getValue())}})},500),Ke.current.subscription=tn.onDidChangeModelContent(Si=>{kr.current?clearTimeout(At.current):(vt(),Ct(tn.getValue(),Si)),At.current=setTimeout(()=>{kr.current=!1},500)}),window.Monaco||G(ht,bt(nt)),$t&&(Zi(ti,jn),be.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",jt),window.removeEventListener("paste",jt),window.addEventListener("keydown",jt),window.addEventListener("paste",jt)),window.Monaco=ht,qe&&tn.onDidBlurEditorWidget(()=>{qe(tn.getValue())}),We&&tn.onDidFocusEditorText(()=>{We(tn.getValue())}),$t)try{tn.onDidPaste(Si=>{const Ei=tn.getSelection(),mi=Ke.current.pastePos||{},Xi=new ht.Range(mi.startLineNumber||Ei.endLineNumber,mi.startColumn||Ei.endColumn,mi.endLineNumber||Ei.endLineNumber,mi.endColumn||Ei.endColumn);tn.executeEdits("",[{range:Si.range,text:""}])})}catch(Si){}let xi=_r();return ke&&typeof ke=="string"&&new ue(ke,tn,ht),Br(!0),()=>{const Si=Ke.current.instance;Si.dispose();const Ei=Si.getModel();Ei&&Ei.dispose(),Ke.current.subscription&&Ke.current.subscription.dispose(),xi.unobserve(be.current)}}catch(tn){}})},[]),(0,r.useEffect)(()=>{if(Ke.current.instance&&Ar)return document.addEventListener("keydown",Lt,!1),()=>{document.removeEventListener("keydown",Lt)}},[kt,Ar]),(0,r.useEffect)(()=>{let mr=Ke.current.instance;if(mr&&Ar){let tn=bt(nt);ht.editor.setModelLanguage(mr.getModel(),tn)}},[nt,Ar]),(0,r.useEffect)(()=>{Ke.current.instance&&Ar&&ht.editor.setTheme(De)},[De,Ar]),(0,r.useEffect)(()=>{let mr=Ke.current.instance;gt.current=Vt,mr&&Ar&&(mr.updateOptions(Pt({},Vt)),setTimeout(()=>{mr.getModel().updateOptions(Pt({},Vt))},200))},[JSON.stringify(Vt),Ar]),(0,r.useEffect)(()=>{let mr=Ke.current.instance;mr&&Ar&&mr.layout()},[Me,$e,Ar]);const[gr,ot]=(0,r.useState)(Xe(Me)),[Mr,yn]=(0,r.useState)(Xe($e)),Zn=qt(Pt({},ct),{width:gr,height:Mr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:be,style:Zn},Gt&&r.createElement(Q.CopyToClipboard,{text:He,onCopy:()=>ee.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(ie.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ue({width:ge="100%",height:Ae="100%",original:Me,modified:$e,language:He,options:nt={}}){const ct=(0,r.useRef)(),[Vt,Wt]=(0,r.useState)(null);function De(Ht){let $t;return ct.current&&($t=new i.Z(Ct=>{for(let Yt of Ct)(Yt.target.offsetHeight>0||Yt.target.offsetWidth>0)&&Ht.layout()}),$t.observe(ct.current)),$t}(0,r.useEffect)(()=>(ct.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Ht=>{ht=Ht;const $t=ht.editor.createDiffEditor(ct.current,qt(Pt({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},nt),{wordWrap:!0}));Wt($t);let Ct=De($t);return()=>{$t.dispose();const Yt=$t.getModel();Yt&&Yt.dispose(),Ct.unobserve(ct.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{Vt&&Vt.setModel({original:ht.editor.createModel(Me,He),modified:ht.editor.createModel($e,He)})},[Me,$e,He,Vt]);const qe=Xe(ge),Gt=Xe(Ae),kt={width:qe,height:Gt};return r.createElement("div",{className:"my-diff-editor",ref:ct,style:kt})}},52743:function(d,g,e){"use strict";e.d(g,{k:function(){return b}});var r=e(38650),i=e(8591),l=e(99309),c=Object.defineProperty,f=Object.defineProperties,s=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(R,L,C)=>L in R?c(R,L,{enumerable:!0,configurable:!0,writable:!0,value:C}):R[L]=C,p=(R,L)=>{for(var C in L||(L={}))u.call(L,C)&&x(R,C,L[C]);if(h)for(var C of h(L))a.call(L,C)&&x(R,C,L[C]);return R},y=(R,L)=>f(R,s(L)),_=(R,L)=>{var C={};for(var D in R)u.call(R,D)&&L.indexOf(D)<0&&(C[D]=R[D]);if(R!=null&&h)for(var D of h(R))L.indexOf(D)<0&&a.call(R,D)&&(C[D]=R[D]);return C};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],S={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:R},{call:L,put:C}){yield C({type:"save",payload:{actionTabs:p({},R)}})},*getMajorList({payload:R},{call:L,put:C,select:D}){const{userInfo:B}=yield D($=>$.user);if(B!=null&&B.school_id){const $=yield L(r.BA,B.school_id);if($&&$.data){const U=l.U.getItem(B==null?void 0:B.login);yield C({type:"setMajorOrYearDataSource",payload:{key:b[0],value:$.data.map(K=>({label:K.name,value:K.ec_major_school_id})),active:$.data.length>0?U[0]||$.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:R},{call:L,put:C,select:D}){const B=yield L(r.Nx,R.id),{userInfo:$}=yield D(U=>U.user);if(B&&B.data){const U=l.U.getItem($==null?void 0:$.login);yield C({type:"setMajorOrYearDataSource",payload:{key:b[1],value:B.data.map(K=>({label:K.year,value:K.ec_year_id})),active:B.data.length>0?R.firstEnter?U[1]:B.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:R={}},{call:L,put:C,select:D}){const{calc:B,page:$,per_page:U}=R,{headerData:K,tabListData:V}=yield D(ae=>ae.engineeringEvaluteList),{userInfo:G}=yield D(ae=>ae.user);let oe=K.active[b[1]];if(oe){let ae={id:oe,page:$||1,per_page:U||V.pageSize};B&&(ae=y(p({},ae),{page:V.pageNo}));const le=yield L(r._y,ae),q=[K.active[b[0]],K.active[b[1]]];l.U.setItem(G==null?void 0:G.login,q),le&&le.ec_courses&&(yield C({type:"setCourseResults",payload:y(p({},V),{pageNo:ae.page,total:le.count,pageSize:ae.per_page||V.pageSize,dataSource:le.ec_courses.map((J,Y)=>y(p({},J),{key:ae.page>1?(ae.page-1)*ae.per_page+Y+1:Y+1}))})}))}else yield C({type:"setCourseResults",payload:y(p({},V),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:R},{call:L,select:C}){const{headerData:D}=yield C(B=>B.engineeringEvaluteList);D.active[b[1]]&&(yield L(r.F,D.active[b[1]]))},*compute({payload:R},{call:L,put:C}){const D=R,{all:B}=D,$=_(D,["all"]),U=yield L(B?r.At:r.PX,$);U&&U.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield C({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(U.message)}},reducers:{save(R,L){return p(p({},R),L.payload)},setMajorOrYearDataSource(R,{payload:L}){let C=R.headerData.active;return L.active&&(C=y(p({},C),{[L.key]:L.active})),y(p({},R),{headerData:y(p({},R.headerData),{dataSource:y(p({},R.headerData.dataSource),{[L.key]:y(p({},R.headerData.dataSource[L.key]),{dataList:L.value})}),active:C})})},setMajorOrYearActive(R,{payload:L}){return y(p({},R),{headerData:y(p({},R.headerData),{active:y(p({},R.headerData.active),{[L.key]:L.value})})})},setCourseResults(R,{payload:L}){return y(p({},R),{tabListData:p(p({},R.tabListData),L)})}},subscriptions:{setup({dispatch:R,history:L}){return L.listen(({pathname:C})=>{C==="/"&&R({type:"query"})})}}};g.Z=S},26422:function(d,g,e){"use strict";e.d(g,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,s=(x,p)=>{for(var y in p||(p={}))l.call(p,y)&&f(x,y,p[y]);if(i)for(var y of i(p))c.call(p,y)&&f(x,y,p[y]);return x};const h=x=>x==null?void 0:x.map(p=>{const y=(p.sub_disciplines||[]).map(_=>({value:_.id,label:_.name}));return{value:p.id,label:p.name,children:y}}),u={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},a=x=>{if(!x)return;const{all_questions_count:p,all_score:y,single_questions:_,multiple_questions:b,judgement_questions:S,program_questions:R,completion_questions:L,subjective_questions:C,practical_questions:D,combination_questions:B}=x||{},U=[s({type:"SINGLE",name:"\u5355\u9009\u9898"},_),s({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),s({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},L),s({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},S),s({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},C),s({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},R),s({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},D),s({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},B)].filter(K=>K.questions_count>0).map((K,V)=>s(s({},K),{number:u[V+1]}));return{all_questions_count:p,all_score:y,questionList:U}}},99309:function(d,g,e){"use strict";e.d(g,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(24065);const l=(f,s="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:s,onOk:f})},c={setItem:(f,s)=>{var h;const u=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(s);localStorage.setItem(u,a)},getItem:f=>{var s;const h=f+"-engineering"+((s=(0,i.eY)())==null?void 0:s.school_id),u=localStorage.getItem(h);return u!==null&&u!=="[object Object]"?JSON.parse(u):[]},clear:f=>{var s;const h=f+"-engineering"+((s=(0,i.eY)())==null?void 0:s.school_id);localStorage.removeItem(h)}}},35390:function(d,g,e){"use strict";e.d(g,{$f:function(){return p},Cq:function(){return b},GY:function(){return s},I8:function(){return R},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return D},Zm:function(){return u},bz:function(){return f},eF:function(){return S},gQ:function(){return L},ht:function(){return _},kN:function(){return B},n1:function(){return l},nI:function(){return $},o9:function(){return c},sG:function(){return a},wi:function(){return C}});var r=e(99064),i=(U,K,V)=>new Promise((G,oe)=>{var ae=J=>{try{q(V.next(J))}catch(Y){oe(Y)}},le=J=>{try{q(V.throw(J))}catch(Y){oe(Y)}},q=J=>J.done?G(J.value):Promise.resolve(J.value).then(ae,le);q((V=V.apply(U,K)).next())});function l(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.login}/avatar.json`,{method:"put",body:U})})}function c(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.login}.json`,{method:"get"})})}function f(U){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:U})})}function s(U){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:U})})}function h(U){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${U.id}/departments/for_option.json`,{method:"get",params:U})})}function u(U){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:U})})}function a(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.id}.json`,{method:"put",body:U})})}function x(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.login}/authentication_apply.json`,{method:"delete"})})}function p(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.login}/professional_auth_apply.json`,{method:"delete"})})}function y(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.id}/professional_auth_apply.json`,{method:"post",body:U})})}function _(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.id}/authentication_apply.json`,{method:"post",body:U})})}function b(U){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:U})})}function S(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.login}/phone_bind.json`,{method:"post",body:U})})}function R(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.login}/email_bind.json`,{method:"post",body:U})})}function L(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.login}/password.json`,{method:"put",body:U})})}function C(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.basicInfoId}/open_users/${U.id}.json`,{method:"delete"})})}function D(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${U.login}/cancel_authentication.json`,{method:"post",body:U})})}function B(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${U.login}/cancel_professional_certification.json`,{method:"post",body:U})})}function $(U,K){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${U.login}/videos/${U.id}/create_subject_video.json`,{method:"post",body:K})})}},13112:function(d,g,e){"use strict";e.d(g,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(_,b,S)=>b in _?i(_,b,{enumerable:!0,configurable:!0,writable:!0,value:S}):_[b]=S,h=(_,b)=>{for(var S in b||(b={}))c.call(b,S)&&s(_,S,b[S]);if(l)for(var S of l(b))f.call(b,S)&&s(_,S,b[S]);return _},u=(_,b,S)=>new Promise((R,L)=>{var C=$=>{try{B(S.next($))}catch(U){L(U)}},D=$=>{try{B(S.throw($))}catch(U){L(U)}},B=$=>$.done?R($.value):Promise.resolve($.value).then(C,D);B((S=S.apply(_,b)).next())});function a(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_up.json`,{method:"post",body:h({},_)})})}function x(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_down.json`,{method:"post",body:h({},_)})})}function p(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/update_informs.json`,{method:"post",body:h({},_)})})}function y(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/new_informs.json`,{method:"post",body:h({},_)})})}},19381:function(d,g,e){"use strict";e.d(g,{$n:function(){return S},H:function(){return b},Nm:function(){return y},Ot:function(){return _},SV:function(){return a},fc:function(){return L},mn:function(){return R},tO:function(){return p},zI:function(){return x}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(C,D,B)=>D in C?i(C,D,{enumerable:!0,configurable:!0,writable:!0,value:B}):C[D]=B,h=(C,D)=>{for(var B in D||(D={}))c.call(D,B)&&s(C,B,D[B]);if(l)for(var B of l(D))f.call(D,B)&&s(C,B,D[B]);return C},u=(C,D,B)=>new Promise(($,U)=>{var K=oe=>{try{G(B.next(oe))}catch(ae){U(ae)}},V=oe=>{try{G(B.throw(oe))}catch(ae){U(ae)}},G=oe=>oe.done?$(oe.value):Promise.resolve(oe.value).then(K,V);G((B=B.apply(C,D)).next())});function a(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},C)})})}function x(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},C)})})}function p(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},C)})})}function y(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C.id}.json`,{method:"get",params:h({},C)})})}function _(C){return u(this,null,function*(){const{id:D}=C;return delete C.id,(0,r.ZP)(`/api/files/${D}.json`,{method:"put",body:h({},C)})})}function b(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C.id}/update_visits.json`,{method:"post"})})}function S(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C==null?void 0:C.id}/watch_list.json`,{method:"get",params:h({},C)})})}function R(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},C)})})}function L(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C==null?void 0:C.id}/add_file_quantity.json`,{method:"post",body:h({},C)})})}},10813:function(d,g,e){"use strict";e.d(g,{CJ:function(){return y},Mf:function(){return L},NA:function(){return S},PC:function(){return _},PP:function(){return b},YQ:function(){return R},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(C,D,B)=>D in C?i(C,D,{enumerable:!0,configurable:!0,writable:!0,value:B}):C[D]=B,h=(C,D)=>{for(var B in D||(D={}))c.call(D,B)&&s(C,B,D[B]);if(l)for(var B of l(D))f.call(D,B)&&s(C,B,D[B]);return C},u=(C,D,B)=>new Promise(($,U)=>{var K=oe=>{try{G(B.next(oe))}catch(ae){U(ae)}},V=oe=>{try{G(B.throw(oe))}catch(ae){U(ae)}},G=oe=>oe.done?$(oe.value):Promise.resolve(oe.value).then(K,V);G((B=B.apply(C,D)).next())});function a(C){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},C)})})}function x(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}.json`,{method:"get",params:h({},C)})})}function p(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function y(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function _(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}/reply_list.json`,{method:"get",params:h({},C)})})}function b(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}/reply.json`,{method:"post",body:h({},C)})})}function S(C){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},C)})})}function R(C){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},C)})})}function L(C){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},C)})})}},92365:function(d,g,e){"use strict";e.d(g,{$T:function(){return gr},A:function(){return $t},Ab:function(){return xi},Al:function(){return ee},BQ:function(){return ht},BR:function(){return ne},Bn:function(){return Me},Cq:function(){return jt},DJ:function(){return Fe},Dd:function(){return _},Ds:function(){return Ue},EO:function(){return Ct},Ed:function(){return Ft},F9:function(){return nt},FU:function(){return Vt},Fg:function(){return b},GV:function(){return Jt},Gk:function(){return q},Gm:function(){return zt},Gz:function(){return S},Hl:function(){return R},Hn:function(){return V},ID:function(){return sn},IU:function(){return Pe},J2:function(){return qt},K$:function(){return ge},KP:function(){return _t},KT:function(){return Ce},L$:function(){return Gt},LH:function(){return D},Lk:function(){return Yi},Ls:function(){return Q},MA:function(){return Zn},Mc:function(){return qn},N7:function(){return ue},Nd:function(){return le},Nl:function(){return Ot},Ns:function(){return cn},O3:function(){return je},Pj:function(){return It},QX:function(){return _e},QZ:function(){return we},R2:function(){return Y},Rk:function(){return Cr},S9:function(){return kt},U8:function(){return Lt},UD:function(){return Ar},U_:function(){return oe},Uy:function(){return _r},V8:function(){return K},Vw:function(){return M},W0:function(){return Zt},W7:function(){return Je},WK:function(){return mr},Wr:function(){return Zi},YR:function(){return We},Z0:function(){return gt},ZL:function(){return St},ZT:function(){return Si},ZX:function(){return hn},Z_:function(){return B},_0:function(){return $},_9:function(){return st},_B:function(){return mi},aP:function(){return Tt},aQ:function(){return bt},aZ:function(){return De},al:function(){return Ht},bm:function(){return qr},bz:function(){return $e},c_:function(){return yt},ds:function(){return Kr},fN:function(){return tn},fr:function(){return Yt},g4:function(){return er},gq:function(){return L},hf:function(){return F},i:function(){return Rt},i6:function(){return Mr},i7:function(){return Ur},iE:function(){return a},ih:function(){return Fn},kW:function(){return Pt},km:function(){return or},nP:function(){return p},nQ:function(){return He},nX:function(){return kr},oM:function(){return Ae},oR:function(){return Xi},o_:function(){return ke},pf:function(){return At},pr:function(){return Ei},pv:function(){return ot},qB:function(){return ie},r2:function(){return U},rS:function(){return C},s:function(){return ti},sb:function(){return qe},sm:function(){return y},t1:function(){return Xe},tB:function(){return jn},tR:function(){return ct},td:function(){return dt},uh:function(){return Wt},up:function(){return vt},v2:function(){return x},vV:function(){return be},w9:function(){return ae},wR:function(){return yn},yS:function(){return fe},yV:function(){return J},yd:function(){return Be},zg:function(){return de}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(wt,ut,Jn)=>ut in wt?i(wt,ut,{enumerable:!0,configurable:!0,writable:!0,value:Jn}):wt[ut]=Jn,h=(wt,ut)=>{for(var Jn in ut||(ut={}))c.call(ut,Jn)&&s(wt,Jn,ut[Jn]);if(l)for(var Jn of l(ut))f.call(ut,Jn)&&s(wt,Jn,ut[Jn]);return wt},u=(wt,ut,Jn)=>new Promise((Ai,ei)=>{var Gi=En=>{try{si(Jn.next(En))}catch(tr){ei(tr)}},vi=En=>{try{si(Jn.throw(En))}catch(tr){ei(tr)}},si=En=>En.done?Ai(En.value):Promise.resolve(En.value).then(Gi,vi);si((Jn=Jn.apply(wt,ut)).next())});const a=wt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/course_videos/configs.json`,{method:"put",body:wt})}),x=wt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/course_videos/list_for_config.json`,{method:"Get",params:wt})}),p=wt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:wt})}),y=wt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/homework_commons/batch_late_setting`,{method:"post",body:wt})}),_=wt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:wt})}),b=wt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:wt})}),S=wt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:wt})}),R=wt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:wt})});function L(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},wt.permissions)})})}function C(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.course_id}/assistant_permissions.json`,{method:"Get",params:h({},wt)})})}function D(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/ai_status_query.json`,{method:"Get",params:wt})})}function B(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},wt)})})}function $(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/get_user_portrait_config.json`,{method:"Get",params:wt})})}function U(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/update_user_portrait_config.json?id=${wt.coursesId}`,{method:"put",body:h({},wt)})})}function K(wt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},wt)})})}function V(wt){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},wt)})})}function G(wt){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},wt)})})}function oe(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/top_banner.json`,{method:"get",params:h({},wt)})})}function ae(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id||wt.coursesId}/left_banner.json`,{method:"get",params:h({},wt)})})}function le(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/homework_commons.json`,{method:"get",params:h({},wt)})})}function q(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/homework_commons/list.json`,{method:"get",params:h({},wt)})})}function J(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/graduation_topics.json`,{method:"get",params:h({},wt)})})}function Y(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/graduation_tasks.json`,{method:"get",params:h({},wt)})})}function ue(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${wt.id}/exercises.json`,{method:"get",params:h({},wt)})})}function ne(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/polls.json`,{method:"get",params:h({},wt)})})}function ee(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/homework_commons.json`,{method:"get",params:h({},wt)})})}function ie(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/course_groups.json`,{method:"get",params:h({},wt)})})}function F(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/all_course_groups.json`,{method:"get",params:h({},wt)})})}function M(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/attendances.json`,{method:"get",params:h({},wt)})})}function Q(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${wt.coursesId}/attendances.json`,{method:"get",params:h({},wt)})})}function de(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${wt.id}/edit.json`,{method:"get",params:h({},wt)})})}function we(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/informs.json`,{method:"get",params:h({},wt)})})}function Ce(wt){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},wt)})})}function je(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/course_videos.json`,{method:"get",params:h({},wt)})})}function Fe(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/live_links.json`,{method:"get",params:h({},wt)})})}function Ft(wt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},wt)})})}function _t(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${wt.categoryId}/messages.json`,{method:"get",params:h({},wt)})})}function Pt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/course_groups.json`,{method:"get",params:h({},wt)})})}function qt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/students.json`,{method:"get",params:h({},wt)})})}function er(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/statistics.json`,{method:"get",params:h({},wt)})})}function Jt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/work_score.json`,{method:"get",params:h({},wt)})})}function Xe(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/act_score.json`,{method:"get",params:h({},wt)})})}function It(wt){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},wt)})})}function zt(wt){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},wt)})})}function st(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},wt)})})}function bt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},wt)})})}function ht(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},wt)})})}function Je(wt){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},wt)})})}function Ue(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},wt)})})}function ge(wt){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:wt})})}function Ae(wt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:wt})})}function Me(wt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:wt})})}function $e(wt){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:wt})})}function He(wt){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:wt})})}function nt(wt){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},wt)})})}function ct(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.identifier}/add_student_groups.json`,{method:"post",body:wt})})}function Vt(wt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:wt})})}function Wt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/add_teacher.json`,{method:"post",body:wt})})}function De(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/add_students_by_search.json`,{method:"post",body:wt})})}function qe(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/set_public_or_private.json`,{method:"post",body:wt})})}function Gt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/set_invite_code_halt.json`,{method:"post",body:wt})})}function kt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/duplicate_course.json`,{method:"post",body:wt})})}function Ht(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/update_end_date.json`,{method:"put",body:wt})})}function $t(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}.json`,{method:"delete",body:wt})})}function Ct(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/settings.json`,{method:"get",params:h({},wt)})})}function Yt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}.json`,{method:"put",body:wt})})}function We(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function fe(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},wt)})})}function _e(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},wt)})})}function Ot(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},wt)})})}function Pe(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},wt)})})}function dt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},wt)})})}function Zt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},wt)})})}function Tt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${wt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},wt)})})}function ke(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${wt.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},wt)})})}function St(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${wt.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},wt)})})}function be(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${wt.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},wt)})})}function Ke(wt){return u(this,null,function*(){return Fetch(`/api/homework_commons/${wt.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},wt)})})}function gt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${wt.id}.json`,{method:"delete",params:{export:!0}})})}function Rt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${wt.id}.json`,{method:"delete",params:{export:!0}})})}function Be(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${wt.id}/sticky_module.json`,{method:"get"})})}function kr(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${wt.id}/hidden_module.json`,{method:"get"})})}function At(wt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:wt})})}function Kr(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${wt.id}.json`,{method:"get",params:wt})})}function qr(wt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:wt})})}function Ar(wt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:wt})})}function Br(wt){return u(this,null,function*(){return Fetch(`/api/polls/${wt.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},wt)})})}function _r(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${wt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},wt)})})}function Ur(wt){return(0,r.ZP)(`/api/polls/${wt.categoryId}/start_answer.json`,{method:"get",params:h({},wt)})}function sn(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${wt.questionId}/poll_votes.json`,{method:"post",body:wt})})}function cn(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${wt.categoryId}/commit_poll.json`,{method:"post",body:wt})})}function or(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.courseId}/tasks_list.json`,{method:"get",params:wt})})}function Lt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.courseId}/update_task_position.json`,{method:"post",body:wt})})}function vt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:wt})})}function yt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/all_course_groups.json`,{method:"get",params:wt})})}function jt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/polls/all_course_groups.json`,{method:"get",params:wt})})}function Cr(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/students.json`,{method:"get",params:wt})})}function gr(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${wt.categoryId}/rename_group.json`,{method:"POST",body:wt})})}function ot(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${wt.categoryId}.json`,{method:"delete",body:wt})})}function Mr(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/join_course_group.json`,{method:"POST",body:wt})})}function yn(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/transfer_to_course_group.json`,{method:"post",body:wt})})}function Zn(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/delete_from_course.json`,{method:"post",body:wt})})}function mr(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/join_course_group.json`,{method:"post",body:wt})})}function tn(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/exit_course.json`,{method:"post"})})}function hn(wt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},wt)})})}function Fn(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/mooc_users/${wt.user_id}/edit.json`,{method:"get",params:wt})})}function ti(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/mooc_users.json`,{method:"post",body:wt})})}function jn(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/mooc_users/${wt.user_id}.json`,{method:"put",body:wt})})}function Zi(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${wt.id}/move_category.json`,{method:"post",body:wt})})}function xi(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${wt.id}/move_category.json`,{method:"post",body:wt})})}function Si(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/courseware.json`,{method:"get",params:wt})})}function Ei(wt,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${wt}/mark_wrong_topic.json`,{method:"get",params:ut})})}function mi(wt,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${wt}/cancel_wrong_topic.json`,{method:"get",params:ut})})}function Xi(wt,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${wt}/allow_end_group.json`,{method:"get",params:ut})})}function qn(wt,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:ut})})}function Yi(wt,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${wt}/get_content_for_commit_id.json`,{method:"get",params:ut})})}},52721:function(d,g,e){"use strict";e.d(g,{$M:function(){return er},$P:function(){return Vt},Ax:function(){return x},Dh:function(){return R},FU:function(){return G},GQ:function(){return ne},IN:function(){return Ue},JM:function(){return $e},Ju:function(){return qt},Mn:function(){return Je},Ni:function(){return Q},Pg:function(){return L},Pt:function(){return S},Qp:function(){return Y},R9:function(){return oe},Ux:function(){return ue},Vy:function(){return je},XJ:function(){return M},XR:function(){return _t},Ze:function(){return $},aq:function(){return B},bQ:function(){return _},bu:function(){return p},cC:function(){return a},jS:function(){return le},lm:function(){return ge},ml:function(){return ie},o3:function(){return Xe},pA:function(){return zt},pS:function(){return Me},pU:function(){return F},ps:function(){return V},q0:function(){return bt},qN:function(){return ht},qS:function(){return b},qj:function(){return Ft},qt:function(){return nt},rV:function(){return C},rZ:function(){return He},rk:function(){return we},rm:function(){return J},sK:function(){return q},sL:function(){return st},su:function(){return Ae},tC:function(){return Ce},tO:function(){return Fe},u9:function(){return ee},uZ:function(){return de},vV:function(){return K},xx:function(){return Wt},y8:function(){return Pt},yS:function(){return U},zF:function(){return y},zc:function(){return ae},zj:function(){return D},zz:function(){return ct}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(De,qe,Gt)=>qe in De?i(De,qe,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):De[qe]=Gt,h=(De,qe)=>{for(var Gt in qe||(qe={}))c.call(qe,Gt)&&s(De,Gt,qe[Gt]);if(l)for(var Gt of l(qe))f.call(qe,Gt)&&s(De,Gt,qe[Gt]);return De},u=(De,qe,Gt)=>new Promise((kt,Ht)=>{var $t=We=>{try{Yt(Gt.next(We))}catch(fe){Ht(fe)}},Ct=We=>{try{Yt(Gt.throw(We))}catch(fe){Ht(fe)}},Yt=We=>We.done?kt(We.value):Promise.resolve(We.value).then($t,Ct);Yt((Gt=Gt.apply(De,qe)).next())});const a=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/create_guide.json`,{method:"post",body:De}),x=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/guides.json`,{method:"get",params:De}),p=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.competition_team_id}/edit_info.json`,{method:"put",body:De});function y(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/update_result.json`,{method:"post",body:De})})}function _(De){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},De)})})}function b(De){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:De})})}function S(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"post"})})}function R(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_staff.json`,{method:"get"})})}function L(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/common_header.json`,{method:"get"})})}function C(De){return u(this,null,function*(){return(0,r.ZP)(`/api/${De.url}`,{method:"get",params:h({},De)})})}function D(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/update_md_content.json`,{method:"post",body:De})})}function B(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"get",params:De})})}function $(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.Teannameid}/edit.json`,{method:"get",params:De})})}function U(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.Teannameid}.json`,{method:"put",body:De})})}function K(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.id}/leave.json`,{method:"post",body:De})})}function V(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.id}.json`,{method:"delete"})})}function G(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"post",body:De})})}function oe(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/add_managers.json`,{method:"post",body:De})})}function ae(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/join.json`,{method:"post",body:De})})}function le(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/teachers.json`,{method:"get",params:De})})}function q(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/students.json`,{method:"get",params:De})})}function J(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/crud_team_members.json`,{method:"post",body:De})})}function Y(De){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:De})})}function ue(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/chart_rules.json`,{method:"get"})})}function ne(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/charts.json`,{method:"get",params:De})})}function ee(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/results.json`,{method:"get",params:De})})}function ie(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/md_tab_rules.json`,{method:"get",params:De})})}function F(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/prize.json`,{method:"get",params:De})})}function M(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.id}.json`,{method:"get",params:De})})}function Q(De){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:De})})}function de(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/phone_bind.json`,{method:"post",body:De})})}function we(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/email_bind.json`,{method:"post",body:De})})}function Ce(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/professional_auth_apply.json`,{method:"delete"})})}function je(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/authentication_apply.json`,{method:"delete"})})}function Fe(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/prize_leader_account.json`,{method:"put",body:De})})}function Ft(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/shixun_detail.json`,{method:"get"})})}function _t(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/course_detail.json`,{method:"get"})})}function Pt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${De.id}.json`,{method:"delete"})})}function qt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/get_certificate_info.json`,{method:"get",params:De})})}function er(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/basic_setting.json`,{method:"post",body:De})})}function Jt(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Xe(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/common_header.json`,{method:"get"})})}function It(De){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:De})})}function zt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/search_managers.json`,{method:"get",params:De})})}function st(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_managers.json`,{method:"get"})})}function bt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/add_managers.json`,{method:"post",body:De})})}function ht(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/delete_managers.json`,{method:"delete",body:De})})}function Je(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_picture.json`,{method:"get"})})}function Ue(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/identifier_exist.json`,{method:"post",body:De})})}function ge(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_shixun_settings.json`,{method:"get"})})}function Ae(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_add.json`,{method:"post",body:De})})}function Me(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_delete.json`,{method:"delete",body:De})})}function $e(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_select.json`,{method:"post",body:De})})}function He(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/info_finish.json`,{method:"get"})})}function nt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/competition_review.json`,{method:"post",body:h({},De)})})}function ct(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"get",params:De})})}function Vt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/all_team_members.json`,{method:"get",params:De})})}function Wt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_commit_records/member_works.json`,{method:"get",params:De})})}},38650:function(d,g,e){"use strict";e.d(g,{F:function(){return b},OE:function(){return D},ff:function(){return S},p1:function(){return R},_y:function(){return _},mK:function(){return K},gq:function(){return G},eM:function(){return U},BA:function(){return le},bA:function(){return J},Nx:function(){return q},Qx:function(){return B},At:function(){return L},PX:function(){return C},Xl:function(){return $},y9:function(){return V},No:function(){return oe},ay:function(){return Y}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ue,ne,ee)=>ne in ue?i(ue,ne,{enumerable:!0,configurable:!0,writable:!0,value:ee}):ue[ne]=ee,a=(ue,ne)=>{for(var ee in ne||(ne={}))s.call(ne,ee)&&u(ue,ee,ne[ee]);if(f)for(var ee of f(ne))h.call(ne,ee)&&u(ue,ee,ne[ee]);return ue},x=(ue,ne)=>l(ue,c(ne)),p=(ue,ne)=>{var ee={};for(var ie in ue)s.call(ue,ie)&&ne.indexOf(ie)<0&&(ee[ie]=ue[ie]);if(ue!=null&&f)for(var ie of f(ue))ne.indexOf(ie)<0&&h.call(ue,ie)&&(ee[ie]=ue[ie]);return ee},y=(ue,ne,ee)=>new Promise((ie,F)=>{var M=we=>{try{de(ee.next(we))}catch(Ce){F(Ce)}},Q=we=>{try{de(ee.throw(we))}catch(Ce){F(Ce)}},de=we=>we.done?ie(we.value):Promise.resolve(we.value).then(M,Q);de((ee=ee.apply(ue,ne)).next())});const _=ue=>y(void 0,null,function*(){var ne=ue,{id:ee}=ne,ie=p(ne,["id"]);return(0,r.ZP)(`/api/ec_years/${ee}/course_results.json`,{method:"get",params:ie})}),b=ue=>{let ne=document.createElement("iframe");ne.src=`/api/ec_years/${ue}/course_results.xlsx`,ne.style.display="none",document.body.appendChild(ne)},S=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/get_class.json`,{method:"get"}),R=({ec_year_id:ue,id:ne,class_name:ee=null})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/${ne}.json`,{method:"get",params:{class_name:ee}}),L=({ec_year_id:ue})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:ue}}),C=({ec_course_id:ue})=>(0,r.ZP)(`/api/ec_courses/${ue}/evaluations/evaluation_data`,{method:"POST"}),D=ue=>{let ne=document.createElement("iframe");ne.src=`/api/ec_years/${ue}/ec_graduation_results.xlsx`,ne.style.display="none",document.body.appendChild(ne)},B=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_all`,{method:"post"}),$=({ec_year_id:ue,id:ne})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_single?id=${ne}`,{method:"POST"}),U=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results.json`,{method:"get"}),K=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/get_formulas.json`,{method:"get"}),V=({ec_year_id:ue,formula_one:ne,formula_two:ee,formula_three:ie})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ne,formula_two_id:ee,formula_three_id:ie}}),G=({ec_year_id:ue,id:ne})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/${ne}.json`,{method:"get"}),oe=ue=>{var ne=ue,{ec_year_id:ee,type:ie,goal_value:F}=ne,M=p(ne,["ec_year_id","type","goal_value"]);let Q=`?type=${ie}`,de={method:"PUT"};return ie==="all"&&(Q+=`&goal_value=${F}`),ie==="each"&&(de=x(a({},de),{body:M})),(0,r.ZP)(`/api/ec_years/${ee}/ec_graduation_results/set_goal_value${Q}`,de)};var ae=(ue,ne,ee)=>new Promise((ie,F)=>{var M=we=>{try{de(ee.next(we))}catch(Ce){F(Ce)}},Q=we=>{try{de(ee.throw(we))}catch(Ce){F(Ce)}},de=we=>we.done?ie(we.value):Promise.resolve(we.value).then(M,Q);de((ee=ee.apply(ue,ne)).next())});const le=ue=>ae(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${ue}/ec_majors/get_major_list.json`,{method:"get"})}),q=ue=>ae(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${ue}/ec_years/get_year_list.json`,{method:"get"})}),J=({ec_year_id:ue,school_id:ne})=>(0,r.ZP)(`/api/ec_years/${ue}/top_pages.json`,{method:"get",params:{school_id:ne}}),Y=({id:ue,name:ne})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${ue}?name=${ne}`,{method:"PUT"})},94941:function(d,g,e){"use strict";e.d(g,{$Q:function(){return D},$l:function(){return gr},BJ:function(){return ht},CD:function(){return qe},Cd:function(){return nt},Cl:function(){return Be},Di:function(){return Jt},Fl:function(){return zt},G$:function(){return ie},GK:function(){return It},Ip:function(){return ge},J:function(){return F},KE:function(){return st},L8:function(){return Yt},LP:function(){return Ae},MK:function(){return Xe},Mb:function(){return Ar},N0:function(){return V},N3:function(){return Fe},OO:function(){return L},P8:function(){return cn},PJ:function(){return Q},PT:function(){return _r},Qc:function(){return oe},RK:function(){return ee},Ty:function(){return Ke},UH:function(){return dt},UK:function(){return Ft},Uj:function(){return Wt},Ul:function(){return He},VL:function(){return Ht},Vj:function(){return fe},W4:function(){return Vt},WL:function(){return _e},Wj:function(){return ne},X4:function(){return Ue},Xn:function(){return Kr},Xo:function(){return le},YY:function(){return er},Ym:function(){return U},Yu:function(){return or},ZD:function(){return sn},Zg:function(){return kr},_B:function(){return De},_F:function(){return Br},_U:function(){return J},_u:function(){return de},aU:function(){return K},ab:function(){return Rt},cC:function(){return be},cV:function(){return Y},ck:function(){return Ur},dp:function(){return G},eA:function(){return jt},fG:function(){return S},gA:function(){return ue},gG:function(){return qr},gJ:function(){return Lt},hk:function(){return y},hv:function(){return _},iB:function(){return b},iU:function(){return R},iw:function(){return St},kp:function(){return $t},lL:function(){return C},lf:function(){return je},n$:function(){return Ce},n7:function(){return q},nF:function(){return We},o3:function(){return vt},oS:function(){return Me},oX:function(){return kt},oy:function(){return gt},p7:function(){return $},pL:function(){return Gt},pu:function(){return Je},q6:function(){return Ct},qf:function(){return qt},qz:function(){return $e},s:function(){return Tt},sA:function(){return Ot},sS:function(){return yt},tX:function(){return Zt},uR:function(){return _t},ux:function(){return bt},wy:function(){return Pt},xA:function(){return ke},yE:function(){return ae},yu:function(){return Pe},zP:function(){return B},zR:function(){return Cr}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ot,Mr,yn)=>Mr in ot?i(ot,Mr,{enumerable:!0,configurable:!0,writable:!0,value:yn}):ot[Mr]=yn,a=(ot,Mr)=>{for(var yn in Mr||(Mr={}))s.call(Mr,yn)&&u(ot,yn,Mr[yn]);if(f)for(var yn of f(Mr))h.call(Mr,yn)&&u(ot,yn,Mr[yn]);return ot},x=(ot,Mr)=>l(ot,c(Mr)),p=(ot,Mr,yn)=>new Promise((Zn,mr)=>{var tn=ti=>{try{Fn(yn.next(ti))}catch(jn){mr(jn)}},hn=ti=>{try{Fn(yn.throw(ti))}catch(jn){mr(jn)}},Fn=ti=>ti.done?Zn(ti.value):Promise.resolve(ti.value).then(tn,hn);Fn((yn=yn.apply(ot,Mr)).next())});const y=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:ot}),_=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:ot}),b=ot=>(0,r.ZP)(`/api/exercises/${ot.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:ot}),S=ot=>(0,r.ZP)(`/api/exercises/${ot.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:ot}),R=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:ot}),L=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/list_student_score.json`,{method:"get",params:ot}),C=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:ot}),D=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/score_ranges.json`,{method:"get",params:ot}),B=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/sava_exam_summary.json`,{method:"post",body:ot}),$=ot=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:ot}),U=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/generate_exam_summary.json`,{method:"post",body:ot}),K=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/exam_summary_settings.json`,{method:"post",body:ot}),V=ot=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/review_exercise_user.json`,{method:"post",body:ot})}),G=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/code_check.json`,{method:"get",params:ot}),oe=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/reset_pwd.json`,{method:"post",body:ot}),ae=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/encrypt_or_decrypt.json`,{method:"post",body:ot}),le=ot=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/delayed_time_or_force.json`,{method:"post",body:ot})}),q=ot=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/exercise_time.json`,{method:"Get",params:ot})}),J=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/exercise_question_result.json`,{method:"get",params:ot}),Y=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/get_question_type_alias.json`,{method:"get",params:ot});function ue(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot==null?void 0:ot.id}/teacher_update.json`,{method:"post",body:a({},ot)})})}function ne(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot==null?void 0:ot.id}/adjust_comment.json`,{method:"post",body:a({},ot)})})}function ee(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/edit_question_type_alias.json`,{method:"POST",body:ot})})}function ie(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_lists.json`,{method:"get",params:a({},ot)})})}function F(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},ot)})})}function M(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/video_push_url.json`,{method:"get",params:a({},ot)})})}function Q(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},ot)})})}function de(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_result.json`,{method:"get",params:a({},ot)})})}function we(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},ot)})})}function Ce(ot){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},ot)})})}function je(ot){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},ot)})})}function Fe(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},ot)})})}function Ft(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/common_header.json`,{method:"get",params:a({},ot)})})}function _t(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises.json`,{method:"post",body:a({},ot)})})}function Pt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}.json`,{method:"put",body:a({},ot)})})}function qt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}.json`,{method:"get",params:a({},ot)})})}function er(ot){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},ot)})})}function Jt(ot){return p(this,null,function*(){const{id:Mr}=ot;return delete ot.id,(0,r.ZP)(`/api/exercise_questions/${Mr}.json`,{method:"put",body:a({},ot)})})}function Xe(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_questions.json`,{method:"post",body:a({},ot)})})}function It(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/up_down.json`,{method:"post",body:a({},ot)})})}function zt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}.json`,{method:"delete"})})}function st(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},ot)})})}function bt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/publish_groups.json`,{method:"get",params:a({},ot)})})}function ht(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},ot)})})}function Je(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/consult_exercise.json`,{method:"post",body:a({},ot)})})}function Ue(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},ot)})})}function ge(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function Ae(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/batch_adjust_score.json`,{method:"post",body:a({},ot)})})}function Me(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function $e(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/delayed_time.json`,{method:"post",body:a({},ot)})})}function He(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_setting.json`,{method:"get",params:a({},ot)})})}function nt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${ot.categoryId}/exercise_setting.json`,{method:"get",params:a({},ot)})})}function ct(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/commit_setting.json`,{method:"post",body:a({},ot)})})}function Vt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},ot)})})}function Wt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},ot),{export:!0})})})}function De(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},ot),{login:null})})}function qe(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/start.json`,{method:"get",params:a({},ot)})}function Gt(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/start_unlock.json`,{method:"post",body:a({},ot)})}function kt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.questionId}/exercise_answers.json`,{method:"post",body:ot})})}function Ht(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/commit_exercise.json`,{method:"post",body:ot})})}function $t(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/simulate_commit_exercise.json`,{method:"post",body:ot})})}function Ct(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/redo_exercise.json`,{method:"post",body:ot})})}function Yt(ot){return(0,r.ZP)(`/api/${ot.url}`,{method:"get",params:a({},ot)})}function We(ot){return(0,r.ZP)(`/api/problems/${ot.id}/start.json`,{method:"get",params:a({},ot)})}function fe(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/begin_commit.json`,{method:"get",params:a({},ot)})}function _e(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/simulate_begin_commit.json`,{method:"get",params:a({},ot)})}function Ot(ot){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},ot)})}function Pe(ot){return console.log("params:",ot),(0,r.ZP)(`/api/exercises/${ot.categoryId}/edit.json`,{method:"get",params:a({},ot)})}function dt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/get_objective_scores.json`,{method:"get",params:a({},ot)})}function Zt(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/redo_modal.json`,{method:"get",params:a({},ot)})}function Tt(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/student_redo_lists.json`,{method:"get",params:a({},ot)})}function ke(ot){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:ot})}function St(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/exercise_header.json`,{method:"get",params:a({},ot)})}function be(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/allow_close_camera.json`,{method:"post",body:a({},ot)})}function Ke(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},ot)})}function gt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/record_screen`,{method:"post",params:a({},ot)})}function Rt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/unbind_ip.json`,{method:"post",body:a({},ot)})}function Be(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/check_ip.json`,{method:"get",params:a({},ot)})}function kr(ot){return(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/check_user_exercise.json`,{method:"get",params:a({},ot)})}function At(ot){return Fetch(`/api/exercises/${ot.id}/make_up_students.json`,{method:"get",params:a({},ot)})}function Kr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},ot)})})}function qr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.question_id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function Ar(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${ot.categoryId}/simulate_exercise.json`,{method:"post",body:a({},ot)})})}function Br(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},ot)})})}function _r(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_time.json`,{method:"get",params:a({},ot)})})}function Ur(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/commit_screen_at.json`,{method:"post",body:a({},ot)})})}function sn(ot,Mr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/unlock_user`,{method:"post",body:Mr})})}function cn(ot,Mr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/save_screen_record.json`,{method:"post",body:Mr})})}function or(ot,Mr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/screen_record_list.json`,{method:"get",params:Mr})})}function Lt(ot){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},ot)})})}function vt(ot){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:ot})})}function yt(ot,Mr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/mark.json`,{method:"post",body:Mr})})}function jt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${ot}/exit_delete_pod.json`,{method:"post",body:ot})})}function Cr(ot){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:ot})})}function gr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot==null?void 0:ot.id}/send_to_item_bank.json`,{method:"post",body:a({},ot)})})}},67508:function(d,g,e){"use strict";e.d(g,{B0:function(){return p},Si:function(){return L},Sr:function(){return D},YP:function(){return C},b4:function(){return R},bc:function(){return a},dX:function(){return S},eh:function(){return B},iI:function(){return _},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return U},vL:function(){return $},z5:function(){return K}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(V,G,oe)=>G in V?i(V,G,{enumerable:!0,configurable:!0,writable:!0,value:oe}):V[G]=oe,h=(V,G)=>{for(var oe in G||(G={}))c.call(G,oe)&&s(V,oe,G[oe]);if(l)for(var oe of l(G))f.call(G,oe)&&s(V,oe,G[oe]);return V},u=(V,G,oe)=>new Promise((ae,le)=>{var q=ue=>{try{Y(oe.next(ue))}catch(ne){le(ne)}},J=ue=>{try{Y(oe.throw(ue))}catch(ne){le(ne)}},Y=ue=>ue.done?ae(ue.value):Promise.resolve(ue.value).then(q,J);Y((oe=oe.apply(V,G)).next())});function a(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:V})})}function x(V){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:V})})}function p(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}/sticky_or_cancel.json`,{method:"post",body:V})})}function y(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"delete",body:V})})}function _(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:V})})}function b(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}/edit.json`,{method:"get",params:V})})}function S(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},V)})})}function R(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"put",body:h({},V)})})}function L(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"get",params:V})})}function C(V){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${V.user_id}/watch.json`,{method:"post",body:V})})}function D(V){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${V.user_id}/watch.json`,{method:"delete",body:h({},V)})})}function B(V){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${V.id}/reward_code.json`,{method:"post",body:V})})}function $(V){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${V.id}/plus.json`,{method:"post",body:V})})}function U(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:V})})}function K(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}/more_reply.json`,{method:"get",params:V})})}},30534:function(d,g,e){"use strict";e.d(g,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(y,_,b)=>_ in y?i(y,_,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[_]=b,h=(y,_)=>{for(var b in _||(_={}))c.call(_,b)&&s(y,b,_[b]);if(l)for(var b of l(_))f.call(_,b)&&s(y,b,_[b]);return y},u=(y,_,b)=>new Promise((S,R)=>{var L=B=>{try{D(b.next(B))}catch($){R($)}},C=B=>{try{D(b.throw(B))}catch($){R($)}},D=B=>B.done?S(B.value):Promise.resolve(B.value).then(L,C);D((b=b.apply(y,_)).next())});function a(y){return u(this,null,function*(){return(0,r.ZP)("/api/setting.json",{method:"Get",params:h({},y)})})}function x(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(y){return u(this,null,function*(){return(0,r.ZP)("/api/search_records",{method:"post",body:y})})}},89887:function(d,g,e){"use strict";e.d(g,{B6:function(){return p},Gr:function(){return U},Mf:function(){return D},NA:function(){return L},PC:function(){return S},PP:function(){return R},QA:function(){return x},RP:function(){return G},Sv:function(){return V},YQ:function(){return C},_n:function(){return oe},hL:function(){return $},je:function(){return b},mM:function(){return _},wA:function(){return K},x_:function(){return y},y0:function(){return B},y3:function(){return a}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(ae,le,q)=>le in ae?i(ae,le,{enumerable:!0,configurable:!0,writable:!0,value:q}):ae[le]=q,h=(ae,le)=>{for(var q in le||(le={}))c.call(le,q)&&s(ae,q,le[q]);if(l)for(var q of l(le))f.call(le,q)&&s(ae,q,le[q]);return ae},u=(ae,le,q)=>new Promise((J,Y)=>{var ue=ie=>{try{ee(q.next(ie))}catch(F){Y(F)}},ne=ie=>{try{ee(q.throw(ie))}catch(F){Y(F)}},ee=ie=>ie.done?J(ie.value):Promise.resolve(ie.value).then(ue,ne);ee((q=q.apply(ae,le)).next())});function a(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ae.categoryId}.json`,{method:"get",params:h({},ae)})})}function x(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ae.categoryId}/tasks_list.json`,{method:"get",params:h({},ae)})})}function p(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}/show_detail.json`,{method:"get",params:h({},ae)})})}function y(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}.json`,{method:"get",params:h({},ae)})})}function _(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ae)})})}function b(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ae)})})}function S(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ae.categoryId}/show_comment.json`,{method:"get",params:h({},ae)})})}function R(ae){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ae)})})}function L(ae){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ae)})})}function C(ae){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ae)})})}function D(ae){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ae)})})}function B(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ae)})})}function $(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}/edit.json`,{method:"get",params:h({},ae)})})}function U(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics`,{method:"post",body:h({},ae)})})}function K(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}`,{method:"put",body:h({},ae)})})}function V(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_tasks`,{method:"post",body:h({},ae)})})}function G(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ae.categoryId}.json`,{method:"put",body:h({},ae)})})}function oe(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ae.categoryId}/edit.json`,{method:"get",params:h({},ae)})})}},2742:function(d,g,e){"use strict";e.d(g,{AA:function(){return K},Db:function(){return x},Dd:function(){return b},F7:function(){return q},Fi:function(){return ie},H3:function(){return _},HF:function(){return R},HH:function(){return y},Ib:function(){return ue},J3:function(){return s},NT:function(){return l},NX:function(){return C},Ot:function(){return L},Ou:function(){return J},Ps:function(){return c},Rk:function(){return le},Tz:function(){return a},V1:function(){return ne},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ae},YS:function(){return G},Zd:function(){return ee},bS:function(){return D},ck:function(){return S},eh:function(){return U},il:function(){return h},j7:function(){return u},jW:function(){return V},km:function(){return oe},l5:function(){return $},rU:function(){return F},xF:function(){return B},zC:function(){return Y},zT:function(){return M}});var r=e(99064),i=(Q,de,we)=>new Promise((Ce,je)=>{var Fe=Pt=>{try{_t(we.next(Pt))}catch(qt){je(qt)}},Ft=Pt=>{try{_t(we.throw(Pt))}catch(qt){je(qt)}},_t=Pt=>Pt.done?Ce(Pt.value):Promise.resolve(Pt.value).then(Fe,Ft);_t((we=we.apply(Q,de)).next())});function l(Q){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:Q})}function c(Q){return(0,r.ZP)(`/api/schools/${Q.id}/departments/for_option.json`,{method:"get",params:Q})}function f(Q){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:Q})}function s(Q){return(0,r.ZP)("/api/graduations.json",{method:"get",params:Q})}function h(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.identifier}/graduation_stages/${Q.stageid}/authorized_redelivery.json`,{method:"POST",body:Q})})}function u(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.identifier}/graduation_stages/${Q.stageid}/submit.json`,{method:"POST",body:Q})})}function a(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/student_tasks/export_status.json`,{method:"get",params:Q})})}function x(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/student_tasks/export_all_attachments.json`,{method:"get",params:Q})})}function p(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.identifier}/graduation_stages/${Q.id}.json`,{method:"get",params:Q})})}function y(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/student_tasks/set_final_score.json`,{method:"POST",body:Q})})}function _(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/student_tasks/final_score.json`,{method:"get",params:Q})})}function b(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/set_novice_guide.json`,{method:"POST",body:Q})})}function S(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_notices/${Q.doid}/set_do.json`,{method:"POST",body:Q})})}function R(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_teachers.json`,{method:"POST",body:Q})})}function L(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.identifier}/graduation_students/${Q.id}/update_major.json`,{method:"PUT",body:Q})})}function C(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_students.json`,{method:"POST",body:Q})})}function D(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_teachers/search.json`,{method:"get",params:Q})})}function B(Q){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:Q})})}function $(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_students/search.json`,{method:"get",params:Q})})}function U(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_students.json`,{method:"get",params:Q})})}function K(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_teachers.json`,{method:"get",params:Q})})}function V(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.graduation_id}/graduation_tasks.json`,{method:"POST",body:Q})})}function G(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.graduation_id}/graduation_tasks/${Q.id}.json`,{method:"PUT",body:Q})})}function oe(Q){return i(this,null,function*(){var de;return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_tasks/${(de=Q.ids)==null?void 0:de[0]}`,{method:"DELETE",body:{ids:Q.ids}})})}function ae(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_tasks.json`,{method:"get",params:Q})})}function le(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_notices.json`,{method:"get",params:Q})})}function q(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}.json`,{method:"get"})})}function J(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q==null?void 0:Q.id}/common_header.json`,{method:"get"})})}function Y(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/preview.json`,{method:"get"})})}function ue(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_teachers/not_pass.json`,{method:"post",body:de})})}function ne(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_teachers/pass.json`,{method:"post",body:de})})}function ee(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_students/not_pass.json`,{method:"post",body:de})})}function ie(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_students/pass.json`,{method:"post",body:de})})}function F(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_students/batch_delete`,{method:"delete",body:de})})}function M(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_teachers/batch_delete`,{method:"delete",body:de})})}},1:function(d,g,e){"use strict";e.d(g,{LA:function(){return a},Rm:function(){return c},S_:function(){return x},Tt:function(){return s},cR:function(){return h},eX:function(){return l},h$:function(){return f},vm:function(){return u}});var r=e(99064),i=(p,y,_)=>new Promise((b,S)=>{var R=D=>{try{C(_.next(D))}catch(B){S(B)}},L=D=>{try{C(_.throw(D))}catch(B){S(B)}},C=D=>D.done?b(D.value):Promise.resolve(D.value).then(R,L);C((_=_.apply(p,y)).next())});const l=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_detail.json",{method:"Get",params:p})}),c=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_list.json",{method:"Get",params:p})}),f=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/online_list.json",{method:"Get",params:p})});function s(){return i(this,null,function*(){return(0,r.ZP)("/api/home/index.json",{method:"Get"})})}function h(p){return i(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:p})})}function u(p){return i(this,null,function*(){return(0,r.ZP)("/api/project_applies.json",{method:"post",body:p})})}function a(p){return i(this,null,function*(){return(0,r.ZP)("/api/users/home_notice.json",{method:"Get"})})}function x(p){return i(this,null,function*(){return(0,r.ZP)("/api/users/view_notice.json",{method:"post",body:p})})}},10656:function(d,g,e){"use strict";e.d(g,{AD:function(){return a},Ig:function(){return x},Ko:function(){return _},QJ:function(){return b},Ub:function(){return S},V8:function(){return p},dl:function(){return R},w0:function(){return y}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(L,C,D)=>C in L?i(L,C,{enumerable:!0,configurable:!0,writable:!0,value:D}):L[C]=D,h=(L,C)=>{for(var D in C||(C={}))c.call(C,D)&&s(L,D,C[D]);if(l)for(var D of l(C))f.call(C,D)&&s(L,D,C[D]);return L},u=(L,C,D)=>new Promise((B,$)=>{var U=G=>{try{V(D.next(G))}catch(oe){$(oe)}},K=G=>{try{V(D.throw(G))}catch(oe){$(oe)}},V=G=>G.done?B(G.value):Promise.resolve(G.value).then(U,K);V((D=D.apply(L,C)).next())});function a(L){return u(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},L)})})}function x(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/unread_message_info.json`,{method:"get",params:h({},L)})})}function p(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_messages.json`,{method:"get",params:h({},L)})})}function y(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_messages.json`,{method:"post",body:h({},L)})})}function _(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.id}/recent_contacts.json`,{method:"get",params:h({},L)})})}function b(L){return u(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},L)})})}function S(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_message_details.json`,{method:"get",params:h({},L)})})}function R(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_messages/${L.id}.json`,{method:"delete"})})}},34640:function(d,g,e){"use strict";e.d(g,{A2:function(){return b},CI:function(){return p},Ep:function(){return _},Ex:function(){return B},R7:function(){return a},WW:function(){return $},_V:function(){return D},ms:function(){return L},s0:function(){return S},vf:function(){return y},xn:function(){return x},yy:function(){return C}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(U,K,V)=>K in U?i(U,K,{enumerable:!0,configurable:!0,writable:!0,value:V}):U[K]=V,h=(U,K)=>{for(var V in K||(K={}))c.call(K,V)&&s(U,V,K[V]);if(l)for(var V of l(K))f.call(K,V)&&s(U,V,K[V]);return U},u=(U,K,V)=>new Promise((G,oe)=>{var ae=J=>{try{q(V.next(J))}catch(Y){oe(Y)}},le=J=>{try{q(V.throw(J))}catch(Y){oe(Y)}},q=J=>J.done?G(J.value):Promise.resolve(J.value).then(ae,le);q((V=V.apply(U,K)).next())});function a(U){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${U.coursesId}/online_learning.json`,{method:"get"})})}function x(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.id}.json`,{method:"put",body:U})})}function p(U){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${U.coursesId}/course_stages.json`,{method:"post",body:U})})}function y(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.id}/add_shixun_to_stage.json`,{method:"post",body:U})})}function _(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.id}/select_shixun_to_stage.json`,{method:"post",body:U})})}function b(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.id}/add_video_to_stage.json`,{method:"post",body:U})})}function S(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.id}/add_attachment_to_stage.json`,{method:"post",body:U})})}function R(U){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:U})})}function L(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.id}/up_position.json`,{method:"post"})})}function C(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.id}/down_position.json`,{method:"post"})})}function D(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.id}.json`,{method:"delete"})})}function B(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.stage_id}/items/move_position.json`,{method:"post",body:h({},U)})})}function $(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.stage_id}/items/${U.id}`,{method:"delete"})})}},80401:function(d,g,e){"use strict";e.d(g,{DF:function(){return b},Di:function(){return ne},Dm:function(){return le},Dq:function(){return we},Gd:function(){return _},Hb:function(){return Ce},Hm:function(){return G},ID:function(){return u},JP:function(){return de},NC:function(){return K},Pl:function(){return S},Qc:function(){return c},Qp:function(){return q},RK:function(){return x},YP:function(){return V},a2:function(){return s},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return R},iT:function(){return B},jK:function(){return ae},kF:function(){return je},kp:function(){return D},lc:function(){return C},oF:function(){return ie},q$:function(){return h},qN:function(){return oe},tS:function(){return L},ts:function(){return $},un:function(){return Y},w0:function(){return ue},wX:function(){return J},yE:function(){return f}});var r=e(99064),i=(Fe,Ft,_t)=>new Promise((Pt,qt)=>{var er=It=>{try{Xe(_t.next(It))}catch(zt){qt(zt)}},Jt=It=>{try{Xe(_t.throw(It))}catch(zt){qt(zt)}},Xe=It=>It.done?Pt(It.value):Promise.resolve(It.value).then(er,Jt);Xe((_t=_t.apply(Fe,Ft)).next())});const l=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe==null?void 0:Fe.id}/code_check.json`,{method:"get",params:Fe}),c=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/reset_pwd.json`,{method:"post",body:Fe}),f=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/encrypt_or_decrypt.json`,{method:"post",body:Fe}),s=Fe=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:Fe}),h=Fe=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:Fe}),u=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/copy.json`,{method:"post",body:Fe}),a=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/get_question_type_alias.json`,{method:"get",params:Fe});function x(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/edit_question_type_alias.json`,{method:"POST",body:Fe})})}function p(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:Fe})})}function y(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:Fe})})}function _(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:Fe})})}function b(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/set_public.json`,{method:"post"})})}function S(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/set_private.json`,{method:"post"})})}function R(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}.json`,{method:"delete"})})}function L(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Fe})})}const C=Fe=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:Fe});function D(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/send_to_course.json`,{method:"post",body:Fe})})}function B(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}.json`,{method:"get",params:Fe})})}function $(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}/set_score`,{method:"post",body:Fe})})}function U(Fe){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}/set_shixun_score.json`,{method:"post",body:Fe})})}function K(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}.json`,{method:"delete"})})}function V(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:Fe})})}function G(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:Fe})})}function oe(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}/adjust_position.json`,{method:"post",body:Fe})})}function ae(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}.json`,{method:"put",body:Fe})})}function le(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Fe})})}function q(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:Fe})})}function J(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe==null?void 0:Fe.id}/set_public.json`,{method:"post",body:Fe})})}function Y(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:Fe})})}function ue(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/update_exam.json`,{method:"put",body:Fe})})}function ne(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/edit_exam.json`,{method:"get"})})}function ee(Fe,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe}/examination_banks_item_banks.json`,{method:"post",body:Ft})})}function ie(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:Fe})})}function F(Fe,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe}/sort_question_type.json`,{method:"post",body:Ft})})}function M(Fe){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe.exam_id}/examination_banks_item_banks/${Fe.question_id}.json`,{method:"delete"})})}function Q(Fe,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe}/batch_set_score.json`,{method:"post",body:Ft})})}function de(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe}/simulate_exercise.json`,{method:"post"})})}function we(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe}/exercise_header.json`,{method:"get"})})}function Ce(Fe,Ft,_t){return i(this,null,function*(){const Pt=new FormData;return Pt.append("file",Ft),Pt.append("sub_discipline_id",_t),(0,r.ZP)(`/api/examination_banks/${Fe}/import_item_banks.json`,{method:"post",body:Pt},!0)})}function je(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:Fe})})}},86248:function(d,g,e){"use strict";e.d(g,{$D:function(){return q},A2:function(){return ge},A7:function(){return Zt},AQ:function(){return U},Ax:function(){return De},Bn:function(){return St},CI:function(){return He},DQ:function(){return _e},DU:function(){return zt},EP:function(){return le},Ep:function(){return Ue},Er:function(){return Q},Ex:function(){return kt},FD:function(){return Ot},F_:function(){return It},Fg:function(){return x},GY:function(){return Yt},Go:function(){return ie},Gz:function(){return p},Hl:function(){return y},JS:function(){return _t},KM:function(){return ue},M2:function(){return Me},MO:function(){return de},Mt:function(){return $e},Mu:function(){return qe},NV:function(){return ke},Q:function(){return we},Sp:function(){return $},VO:function(){return Pe},WD:function(){return Ct},WO:function(){return M},WW:function(){return Ht},_C:function(){return Tt},_V:function(){return Wt},bw:function(){return ae},bz:function(){return fe},c3:function(){return Ft},eJ:function(){return ee},ef:function(){return Xe},fh:function(){return R},fj:function(){return F},hS:function(){return _},jT:function(){return dt},ke:function(){return $t},lk:function(){return B},mQ:function(){return D},ms:function(){return ct},mx:function(){return je},nq:function(){return a},ol:function(){return We},p:function(){return V},p4:function(){return Ce},pU:function(){return C},rS:function(){return Pt},rs:function(){return ne},s0:function(){return Ae},sm:function(){return Fe},tS:function(){return b},tu:function(){return L},ue:function(){return K},vf:function(){return ht},w4:function(){return G},xG:function(){return Je},xn:function(){return bt},yN:function(){return oe},yy:function(){return Vt}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(be,Ke,gt)=>Ke in be?i(be,Ke,{enumerable:!0,configurable:!0,writable:!0,value:gt}):be[Ke]=gt,h=(be,Ke)=>{for(var gt in Ke||(Ke={}))c.call(Ke,gt)&&s(be,gt,Ke[gt]);if(l)for(var gt of l(Ke))f.call(Ke,gt)&&s(be,gt,Ke[gt]);return be},u=(be,Ke,gt)=>new Promise((Rt,Be)=>{var kr=qr=>{try{Kr(gt.next(qr))}catch(Ar){Be(Ar)}},At=qr=>{try{Kr(gt.throw(qr))}catch(Ar){Be(Ar)}},Kr=qr=>qr.done?Rt(qr.value):Promise.resolve(qr.value).then(kr,At);Kr((gt=gt.apply(be,Ke)).next())});const a=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:be})}),x=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:be})}),p=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:be})}),y=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:be})}),_=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:be})});function b(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},be)})})}function S(be){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},be)})})}function R(be){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},be)})})}function L(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"PUT",body:be})})}function C(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:be})})}function D(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/edit.json`,{method:"get"})})}function B(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"get",params:h({identifier:be.id},be)})})}function $(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}.json`,{method:"get",params:h({identifier:be.id},be)})})}function U(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/right_banner.json`,{method:"get",params:be})})}function K(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"get",params:be})})}const V=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:be})}),G=be=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${be.id}/children.json`,{method:"Get",params:be})});function oe(be){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:be})})}function ae(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/update_team_title.json`,{method:"post",body:be})})}function le(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/delete_member.json`,{method:"Delete",body:be})})}function q(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses/${be==null?void 0:be.courseid}.json`,{method:"Delete"})})}function J(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/up_member_position.json`,{method:"post",body:be})})}function Y(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/down_member_position.json`,{method:"post",body:be})})}function ue(be){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:be})})}function ne(be){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:be})})}function ee(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"Delete",body:be})})}function ie(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/publish.json`,{method:"post",body:be})})}function F(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_publish.json`,{method:"post",body:be})})}function M(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/apply_public.json`,{method:"post",body:be})})}function Q(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_public.json`,{method:"post",body:be})})}function de(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/choose_course.json`,{method:"get",params:be})})}function we(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/send_to_course.json`,{method:"post",body:be})})}function Ce(be){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${be.id}/send_to_course.json`,{method:"post",body:be})})}function je(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/add_subject_members.json`,{method:"post",body:be})})}function Fe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"post",body:be})})}function Ft(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/appointment.json`,{method:"post",body:be})})}function _t(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}/join_excellent_course.json`,{method:"post",body:be})})}function Pt(be){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:be})})}function qt(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/statistics_info.json`,{method:"get",params:be})})}function er(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/shixun_analyze.json`,{method:"get",params:be})})}function Jt(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/learning_analyze.json`,{method:"get",params:be})})}function Xe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/learning_statistics.json`,{method:"get",params:be})})}function It(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/shixun_statistics.json`,{method:"get",params:be})})}function zt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/study_analyze/${be.type}.json`,{method:"get",params:be})})}function st(be){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:be})})}function bt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"put",body:be})})}function ht(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_shixun_to_stage.json`,{method:"post",body:be})})}const Je=be=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.stage_id}/select_challenge_to_stage.json`,{method:"post",body:be})});function Ue(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/select_shixun_to_stage.json`,{method:"post",body:be})})}function ge(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_video_to_stage.json`,{method:"post",body:be})})}function Ae(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_attachment_to_stage.json`,{method:"post",body:be})})}function Me(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be.id}.json`,{method:"put",body:be})})}function $e(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_blank_to_stage.json`,{method:"post",body:be})})}function He(be){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:be})})}function nt(be){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:be})})}function ct(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/up_position.json`,{method:"get"})})}function Vt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/down_position.json`,{method:"get"})})}function Wt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"delete"})})}function De(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.pathId}/discusses.json`,{method:"get",params:h({},be)})})}function qe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.coursesId}/excellent_discusses.json`,{method:"get",params:h({},be)})})}function Gt(be){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},be)})})}function kt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.stage_id}/items/move_position`,{method:"post",body:h({},be)})})}function Ht(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.stage_id}/items/${be.id}`,{method:"delete"})})}function $t(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}/excellent_discuss`,{method:"post",body:h({},be)})})}function Ct(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/post_discuss`,{method:"post",body:h({},be)})})}function Yt(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:be})})}function We(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:be})})}function fe(be){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:be})})}function _e(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.id}/add_homework_to_stage.json`,{method:"post",body:be})})}function Ot(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be==null?void 0:be.id}/edit.json`,{method:"get",params:be})})}function Pe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be==null?void 0:be.id}.json`,{method:"put",body:be})})}function dt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_id}/subjects/subject_homework.json`,{method:"get",params:be})})}function Zt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_id}/courses/course_homework.json`,{method:"get",params:be})})}function Tt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.id}/batch_add_homework_to_stage.json`,{method:"post",body:be})})}function ke(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:be})})}function St(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_login}/subjects/cancel.json`,{method:"get",params:be})})}},31417:function(d,g,e){"use strict";e.d(g,{Fd:function(){return ue},Hi:function(){return y},IU:function(){return K},KE:function(){return b},Kc:function(){return ee},MK:function(){return V},Q9:function(){return D},Qg:function(){return U},Qn:function(){return R},UK:function(){return p},W:function(){return F},Ye:function(){return $},_c:function(){return a},hO:function(){return le},iV:function(){return ie},jy:function(){return G},kp:function(){return ae},lf:function(){return C},m7:function(){return _},n$:function(){return L},rJ:function(){return B},s3:function(){return x},ux:function(){return S},vf:function(){return Y},wh:function(){return oe},wo:function(){return ne},x$:function(){return J}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(M,Q,de)=>Q in M?i(M,Q,{enumerable:!0,configurable:!0,writable:!0,value:de}):M[Q]=de,h=(M,Q)=>{for(var de in Q||(Q={}))c.call(Q,de)&&s(M,de,Q[de]);if(l)for(var de of l(Q))f.call(Q,de)&&s(M,de,Q[de]);return M},u=(M,Q,de)=>new Promise((we,Ce)=>{var je=_t=>{try{Ft(de.next(_t))}catch(Pt){Ce(Pt)}},Fe=_t=>{try{Ft(de.throw(_t))}catch(Pt){Ce(Pt)}},Ft=_t=>_t.done?we(_t.value):Promise.resolve(_t.value).then(je,Fe);Ft((de=de.apply(M,Q)).next())});const a=M=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M==null?void 0:M.id}/commit_word_cloud.json`,{method:"Get",params:M})});function x(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/poll_lists.json`,{method:"get",params:h({},M)})})}function p(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/common_header.json`,{method:"get"})})}function y(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/poll_setting.json`,{method:"get"})})}function _(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/commit_setting.json`,{method:"post",body:h({},M)})})}function b(M){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${M.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},M)})})}function S(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/publish_groups.json`,{method:"get",params:h({},M)})})}function R(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/commit_result.json`,{method:"get",params:h({},M)})})}function L(M){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},M)})})}function C(M){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},M)})})}function D(M){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${M.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},M)})})}function B(M){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${M.coursesId}/polls.json`,{method:"POST",body:h({},M)})})}function $(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/edit.json`,{method:"get"})})}function U(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.pollsId}.json`,{method:"put",body:h({},M)})})}function K(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}.json`,{method:"put",body:h({},M)})})}function V(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.pollsId}/poll_questions.json`,{method:"post",body:h({},M)})})}function G(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}.json`,{method:"delete",body:h({},M)})})}function oe(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}/up_down.json`,{method:"post",body:h({},M)})})}function ae(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${M.topicId}.json`,{method:"get"})})}function le(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${M.topicId}.json`,{method:"put",body:h({},M)})})}function q(M){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${M.topicId}.json`,{method:"put",body:h({},M)})})}function J(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${M.pollsId}.json`,{method:"delete",body:h({},M)})})}function Y(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}/up_down.json`,{method:"post",body:h({},M)})})}function ue(M){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},M)})})}function ne(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${M.pollsId}.json`,{method:"put",body:h({},M)})})}function ee(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${M.id}.json`,{method:"put",body:h({},M)})})}function ie(M){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},M)})})}function F(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${M.exerciseId}/up_down.json`,{method:"post",body:h({},M)})})}},16149:function(d,g,e){"use strict";e.d(g,{$c:function(){return nt},A1:function(){return $e},Bd:function(){return D},Bo:function(){return q},Cc:function(){return ue},Cn:function(){return ie},DF:function(){return L},Dm:function(){return Xe},FG:function(){return le},GW:function(){return It},HF:function(){return V},Hm:function(){return M},IJ:function(){return Me},L5:function(){return Jt},LS:function(){return st},MZ:function(){return ge},Mr:function(){return ae},NZ:function(){return Ft},Of:function(){return S},Pl:function(){return R},Qj:function(){return _},Qp:function(){return ht},RT:function(){return De},Rp:function(){return bt},U6:function(){return G},Vl:function(){return ne},Wk:function(){return oe},YP:function(){return F},Ys:function(){return $},al:function(){return B},bF:function(){return ct},d1:function(){return y},dt:function(){return Vt},et:function(){return de},ex:function(){return b},fY:function(){return we},fn:function(){return C},hI:function(){return _t},hg:function(){return Ue},iT:function(){return J},lS:function(){return Fe},nD:function(){return zt},qN:function(){return Q},rV:function(){return U},s:function(){return je},sD:function(){return Ae},sS:function(){return er},ts:function(){return Y},vi:function(){return He},wX:function(){return Je},x5:function(){return K},zh:function(){return Ce}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(qe,Gt,kt)=>Gt in qe?i(qe,Gt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):qe[Gt]=kt,a=(qe,Gt)=>{for(var kt in Gt||(Gt={}))s.call(Gt,kt)&&u(qe,kt,Gt[kt]);if(f)for(var kt of f(Gt))h.call(Gt,kt)&&u(qe,kt,Gt[kt]);return qe},x=(qe,Gt)=>l(qe,c(Gt)),p=(qe,Gt,kt)=>new Promise((Ht,$t)=>{var Ct=fe=>{try{We(kt.next(fe))}catch(_e){$t(_e)}},Yt=fe=>{try{We(kt.throw(fe))}catch(_e){$t(_e)}},We=fe=>fe.done?Ht(fe.value):Promise.resolve(fe.value).then(Ct,Yt);We((kt=kt.apply(qe,Gt)).next())});function y(qe){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},qe),{clazz:"ItemBanksGroup"})})})}function _(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:qe})})}function b(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:qe})})}function S(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:qe})})}function R(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/set_private.json`,{method:"post"})})}function L(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/set_public.json`,{method:"post"})})}function C(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}.json`,{method:"delete"})})}function D(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${qe.id}/start.json`,{method:"get"})})}function B(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}.json`,{method:"delete",body:a({},qe)})})}function $(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:qe})})}function U(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:qe})})}function K(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:qe.type}})})}function V(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:qe})})}function G(qe){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:qe})})}function oe(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}.json`,{method:"put",body:qe})})}function ae(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:qe})})}function le(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/edit.json`,{method:"get"})})}function q(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${qe.id}/edit.json`,{method:"get"})})}function J(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:qe})})}function Y(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/set_score.json`,{method:"post",body:qe})})}function ue(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/set_challenge_score.json`,{method:"post",body:qe})})}function ne(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/combination_set_score.json`,{method:"post",body:qe})})}function ee(qe){return p(this,null,function*(){return Fetch(`/api/examination_banks//${qe.exerid}/examination_banks_item_banks/${qe.id}/combination_set_score.json`,{method:"post",body:qe})})}function ie(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}.json`,{method:"delete"})})}function F(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:qe})})}function M(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:qe})})}function Q(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/adjust_position.json`,{method:"post",body:qe})})}function de(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:qe})})}function we(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${qe.id}/revoke_item.json`,{method:"delete",body:qe})})}function Ce(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${qe.exam_id}/examination_banks_item_banks.json`,{method:"post",body:qe})})}function je(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/join_to_collection.json`,{method:"post",params:qe})})}function Fe(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/cancel_collection.json`,{method:"post",params:qe})})}function Ft(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:qe})})}function _t(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:qe})})}function Pt(qe){return p(this,null,function*(){return Fetch(`/api/item_banks/${qe.id}/join_to_group.json`,{method:"post",body:qe})})}function qt(qe){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${qe.id}.json`,{method:"put",body:qe})})}function er(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:qe})})}function Jt(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/feedback.json`,{method:"post",body:qe})})}function Xe(qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:qe})})}function It(qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:qe})})}function zt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:qe})})}function st(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:qe})})}function bt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:qe})})}function ht(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:qe})})}function Je(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe==null?void 0:qe.id}/set_public.json`,{method:"post",body:qe})})}function Ue(qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:qe})})}function ge(qe){return(0,r.ZP)(`/api/problems/${qe.identifier}/publish.json`,{method:"post",body:qe})}function Ae(qe){return(0,r.ZP)(`/api/problems/${qe.identifier}/cancel_publish.json`,{method:"post",body:qe})}function Me(qe){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...qe.id]}})}function $e(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${qe.id}/up_position.json`,{method:"get",params:qe})})}function He(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${qe.id}/down_position.json`,{method:"get",params:qe})})}function nt(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${qe.id}/edit_hack.json`,{method:"get",params:qe})})}function ct(qe){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:qe})})}function Vt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:qe})})}function Wt(qe){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:qe})})}function De(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},52403:function(d,g,e){"use strict";e.d(g,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(99064),i=(s,h,u)=>new Promise((a,x)=>{var p=b=>{try{_(u.next(b))}catch(S){x(S)}},y=b=>{try{_(u.throw(b))}catch(S){x(S)}},_=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);_((u=u.apply(s,h)).next())});function l(s){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:s})})}function c(s){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${s.id}.json`,{method:"get",params:s})})}function f(s){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${s.id}.json`,{method:"delete",params:s})})}},36708:function(d,g,e){"use strict";e.d(g,{Am:function(){return _},Ar:function(){return Xe},BD:function(){return He},Be:function(){return Je},Dx:function(){return ne},Fr:function(){return _e},G$:function(){return R},GS:function(){return G},Gw:function(){return S},H:function(){return er},H1:function(){return Jt},Hj:function(){return ct},JA:function(){return Wt},JG:function(){return ue},KE:function(){return F},Lz:function(){return Me},Mf:function(){return qt},NA:function(){return _t},PC:function(){return Fe},PP:function(){return Ft},PW:function(){return st},Q3:function(){return ee},QC:function(){return De},Qt:function(){return $e},Qz:function(){return D},R$:function(){return We},RP:function(){return le},Ti:function(){return Tt},Uc:function(){return Ht},Ul:function(){return J},VB:function(){return dt},Vs:function(){return $t},Wr:function(){return L},Xn:function(){return q},YQ:function(){return Pt},Yn:function(){return b},Z8:function(){return K},ak:function(){return zt},cN:function(){return $},co:function(){return Ue},cz:function(){return Ce},fK:function(){return V},gG:function(){return je},gZ:function(){return kt},h$:function(){return U},ku:function(){return Ae},lf:function(){return Q},m7:function(){return Y},mQ:function(){return B},mz:function(){return ht},n$:function(){return M},oK:function(){return y},oN:function(){return Zt},pH:function(){return nt},pb:function(){return Pe},qP:function(){return qe},ql:function(){return Gt},rN:function(){return ge},sw:function(){return de},t1:function(){return we},to:function(){return ae},ub:function(){return Vt},ux:function(){return ie},wS:function(){return Ot},wT:function(){return C},yT:function(){return It},yy:function(){return Ct},z2:function(){return bt}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ke,St,be)=>St in ke?i(ke,St,{enumerable:!0,configurable:!0,writable:!0,value:be}):ke[St]=be,a=(ke,St)=>{for(var be in St||(St={}))s.call(St,be)&&u(ke,be,St[be]);if(f)for(var be of f(St))h.call(St,be)&&u(ke,be,St[be]);return ke},x=(ke,St)=>l(ke,c(St)),p=(ke,St,be)=>new Promise((Ke,gt)=>{var Rt=At=>{try{kr(be.next(At))}catch(Kr){gt(Kr)}},Be=At=>{try{kr(be.throw(At))}catch(Kr){gt(Kr)}},kr=At=>At.done?Ke(At.value):Promise.resolve(At.value).then(Rt,Be);kr((be=be.apply(ke,St)).next())});const y=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.id}/update_journals.json`,{method:"post",body:ke})}),_=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke==null?void 0:ke.homeworkId}/change_score.json`,{method:"post",body:ke})}),b=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke==null?void 0:ke.homeworkId}/history_comment`,{method:"Get",params:ke})}),S=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke==null?void 0:ke.homeworkId}/feedback_know`,{method:"Get",params:ke})}),R=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke==null?void 0:ke.userId}/student_work_feedbacks.json`,{method:"POST",body:ke})}),L=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke==null?void 0:ke.userId}/feedback_list.json`,{method:"Get",params:ke})}),C=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke==null?void 0:ke.userId}/histories.json`,{method:"Get",params:ke})}),D=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke==null?void 0:ke.homeworkId}/feedback_list`,{method:"Get",params:ke})}),B=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke==null?void 0:ke.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:ke})}),$=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke==null?void 0:ke.homeworkId}/appeal_list`,{method:"Get",params:ke})});function U(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/works_list.json`,{method:"post",body:a({},ke)})})}function K(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${ke.categoryId}/student_works.json`,{method:"get",params:a({},ke)})})}function V(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${ke.categoryId}/header_info.json`,{method:"get",params:a({},ke)})})}function G(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke}/query_game_url.json`,{method:"get"})})}function oe(ke){return p(this,null,function*(){return Fetch(`/api/student_works/${ke}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ae(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}.json`,{method:"get"})})}function le(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/code_review_results.json`,{method:"get",params:a({},ke)})})}function q(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/code_review_detail.json`,{method:"get",params:a({},ke)})})}function J(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/settings.json`,{method:"get",params:a({},ke)})})}function Y(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/update_settings.json`,{method:"post",body:a({},ke)})})}function ue(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/group_list.json`,{method:"get",params:a({},ke)})})}function ne(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/works_list.xlsx`,{method:"get",params:a({},ke)})})}function ee(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.coursesId}/reference_answer.json`,{method:"get",params:a({},ke)})})}function ie(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/publish_groups.json`,{method:"get",params:a({},ke)})})}function F(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/end_groups.json`,{method:"get",params:a({},ke)})})}function M(ke){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},ke)})})}function Q(ke){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},ke)})})}function de(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/shixun_work_report.json`,{method:"get",params:ke})})}function we(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:ke})})}function Ce(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},ke),{id:ke.categoryId})})})}function je(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.categoryId}/adjust_review_score.json`,{method:"post",body:a({},ke)})})}function Fe(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/show_comment.json`,{method:"get",params:a({},ke)})})}function Ft(ke){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},ke)})})}function _t(ke){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},ke)})})}function Pt(ke){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},ke)})})}function qt(ke){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},ke)})})}function er(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/update_explanation.json`,{method:"post",body:a({},ke)})})}function Jt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.coursesId}/homework_commons.json`,{method:"post",body:a({},ke)})})}function Xe(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}.json`,{method:"put",body:a({},ke)})})}function It(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${ke.id}.json`,{method:"put",body:a({},ke)})})}function zt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},ke)})})}function st(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/edit.json`,{method:"get",params:a({},ke)})})}function bt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}.json`,{method:"put",body:a({},ke)})})}function ht(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/revise_attachment.json`,{method:"post",body:a({},ke)})})}function Je(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.commonHomeworkId}/student_works.json`,{method:"post",body:a({},ke)})})}function Ue(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},ke)})})}function ge(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Ae(ke){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},ke)})})}function Me(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},ke)})})}function $e(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.coursesId}/homework_commons/new.json`,{method:"get",params:a({},ke)})})}function He(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/edit.json`,{method:"get",params:a({},ke)})})}function nt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${ke.id}.json`,{method:"get",params:a({},ke)})})}function ct(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}.json`,{method:"get",params:a({},ke)})})}function Vt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/supply_attachments.json`,{method:"get",params:a({},ke)})})}function Wt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/comment_list.json`,{method:"get",params:a({},ke)})})}function De(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/destroy_score.json`,{method:"delete",body:a({},ke)})})}function qe(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/add_score_reply.json`,{method:"post",body:a({},ke)})})}function Gt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/all_student_works.json`,{method:"get",params:a({},ke)})})}function kt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},ke)})})}function Ht(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/score_status.json`,{method:"get",params:a({},ke)})})}function $t(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/update_score.json`,{method:"get",params:a({},ke)})})}function Ct(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/add_score.json`,{method:"post",body:a({},ke)})})}function Yt(ke){return p(this,null,function*(){return Fetch(`/api/student_works/${ke.userId}/cancel_appeal.json`,{method:"post",body:a({},ke)})})}function We(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},ke)})})}function fe(ke){return p(this,null,function*(){return Fetch(`/api/student_works/${ke.userId}/deal_appeal_score.json`,{method:"post",body:a({},ke)})})}function _e(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${ke.id}/reset_my_game.json`,{method:"get",params:a({},ke)})})}function Ot(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/commit_des.json`,{method:"get",params:a({},ke)})})}function Pe(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/update_des.json`,{method:"post",body:a({},ke)})})}function dt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},ke)})})}function Zt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},ke)})})}function Tt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},ke)})})}},49692:function(d,g,e){"use strict";e.d(g,{$Q:function(){return Br},AE:function(){return $t},AQ:function(){return B},Ag:function(){return St},Ar:function(){return ie},At:function(){return Lt},BK:function(){return K},Bj:function(){return zt},DC:function(){return Xe},Dz:function(){return vt},E4:function(){return Jt},EH:function(){return Q},Ee:function(){return yn},Er:function(){return ne},FB:function(){return U},Fg:function(){return S},GI:function(){return Ce},Gr:function(){return ht},Gu:function(){return we},Gz:function(){return b},HS:function(){return wt},Hl:function(){return y},IT:function(){return Tt},I_:function(){return C},Ir:function(){return V},Je:function(){return Be},K:function(){return jt},K0:function(){return Mr},KM:function(){return q},K_:function(){return Ur},LK:function(){return kr},LP:function(){return je},Ne:function(){return ue},OV:function(){return Ft},OW:function(){return M},Op:function(){return Ar},P2:function(){return Pt},Po:function(){return D},Ps:function(){return Je},Q:function(){return Y},Q1:function(){return Cr},QA:function(){return Ei},Ql:function(){return ge},Rs:function(){return De},SG:function(){return Yi},Tn:function(){return Yt},Tr:function(){return mi},U0:function(){return He},U9:function(){return Ue},UQ:function(){return Pe},Ui:function(){return _r},Vx:function(){return ot},WO:function(){return ee},WT:function(){return Xi},Wi:function(){return st},Wl:function(){return be},X$:function(){return qt},Yn:function(){return fe},Z2:function(){return It},ZO:function(){return bt},Zt:function(){return yt},_7:function(){return J},_9:function(){return _e},aH:function(){return Ae},al:function(){return Vt},b8:function(){return F},bq:function(){return We},dK:function(){return G},e:function(){return R},eX:function(){return de},eb:function(){return qe},fL:function(){return Rt},h4:function(){return gr},hS:function(){return _},he:function(){return L},hn:function(){return ae},ii:function(){return Wt},im:function(){return Ot},j8:function(){return Fe},jq:function(){return qr},kF:function(){return Kr},km:function(){return ct},l3:function(){return _t},m7:function(){return $e},mI:function(){return Si},n5:function(){return $},nu:function(){return At},p0:function(){return Zt},q0:function(){return Ht},q9:function(){return or},qA:function(){return cn},rO:function(){return kt},rs:function(){return le},sr:function(){return dt},t2:function(){return ke},tX:function(){return Zn},uo:function(){return nt},v3:function(){return gt},w:function(){return Ke},xK:function(){return Ct},xg:function(){return Gt},xk:function(){return er},yE:function(){return Me},yx:function(){return xi},zD:function(){return oe},zH:function(){return sn}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ut,Jn,Ai)=>Jn in ut?i(ut,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Ai}):ut[Jn]=Ai,a=(ut,Jn)=>{for(var Ai in Jn||(Jn={}))s.call(Jn,Ai)&&u(ut,Ai,Jn[Ai]);if(f)for(var Ai of f(Jn))h.call(Jn,Ai)&&u(ut,Ai,Jn[Ai]);return ut},x=(ut,Jn)=>l(ut,c(Jn)),p=(ut,Jn,Ai)=>new Promise((ei,Gi)=>{var vi=tr=>{try{En(Ai.next(tr))}catch(mt){Gi(mt)}},si=tr=>{try{En(Ai.throw(tr))}catch(mt){Gi(mt)}},En=tr=>tr.done?ei(tr.value):Promise.resolve(tr.value).then(vi,si);En((Ai=Ai.apply(ut,Jn)).next())});const y=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:ut})}),_=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:ut})}),b=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:ut})}),S=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:ut})}),R=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:ut})});function L(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},ut)})})}function C(ut){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},ut||{})})})}function D(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}.json`,{method:"Get",params:ut})})}function B(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/show_right.json`,{method:"Get"})})}function $(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges.json`,{method:"Get"})})}function U(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:ut.save_type}})})}function K(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/jupyter_exec.json${ut.reset?`?reset=${ut.reset}`:""}`,{method:"Get",params:ut})})}function V(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_exec.json${ut.reset?`?reset=${ut.reset}`:""}`,{method:"Get",params:ut})})}function G(ut){return p(this,null,function*(){return(0,r.ZP)(ut.url,{method:"Get"})})}function oe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.shixun_identifier}/challenges/${ut.challenge_id}/index_up.json`,{method:"Get"})})}function ae(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.shixun_identifier}/challenges/${ut.challenge_id}/index_down.json`,{method:"Get"})})}function le(ut){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:ut.container_id,container_type:ut.container_type}})})}function q(ut){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:ut.container_id,container_type:ut.container_type}})})}function J(ut){return p(this,null,function*(){const{id:Jn}=ut||{};return(0,r.ZP)(`/api/shixuns/${Jn}/search_user_courses.json`,{method:"Get",params:ut})})}function Y(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut==null?void 0:ut.id}/send_to_course.json`,{method:"Post",body:a({},ut)})})}function ue(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/cancel_publish.json`,{method:"Get"})})}function ne(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/cancel_apply_public.json`,{method:"Get"})})}function ee(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/apply_public.json`,{method:"post",body:a({},ut)})})}function ie(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/publish.json`,{method:"Get"})})}function F(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function M(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${ut.id}.json`,{method:"delete"})})}function Q(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:ut})})}function de(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:ut})})}function we(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:ut})})}function Ce(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/review_newest_record.json`,{method:"Get"})})}function je(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/review_shixun.json`,{method:"post",body:ut})})}function Fe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/collaborators.json`,{method:"Get",params:ut})})}function Ft(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_members_added.json`,{method:"post",body:ut})})}function _t(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/add_members_group.json`,{method:"post",body:ut})})}function Pt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/change_manager.json`,{method:"Get",params:ut})})}function qt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/change_manager.json`,{method:"post",body:ut})})}function er(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/collaborators_delete.json`,{method:"delete",body:{user_id:ut.userId}})})}function Jt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/ranking_list.json`,{method:"Get"})})}function Xe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/settings.json`,{method:"Get"})})}function It(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:ut.mirror_id}})})}function zt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_script_contents.json`,{method:"Get",params:ut})})}function st(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_custom_script.json`,{method:"Get",params:ut})})}function bt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_for_jupyter.json`,{method:"put",body:ut})})}function ht(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_quotes.json`,{method:"Get"})})}function Je(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}.json`,{method:"delete"})})}function Ue(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/close.json`,{method:"post",body:ut})})}function ge(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:ut})})}function Ae(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_permission_setting.json`,{method:"post",body:ut})})}function Me(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_learn_setting.json`,{method:"post",body:ut})})}function $e(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_setting`,{method:"post",body:ut})})}function He(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_data_sets.json`,{method:"Get",params:ut})})}function nt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/destroy_data_sets.json`,{method:"Delete",body:{id:ut.deleteId}})})}function ct(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/new.json`,{method:"get"})})}function Vt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/challenges.json`,{method:"post",body:a({},ut)})})}function Wt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/edit.json`,{method:"get",params:{tab:ut.tab}})})}function De(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}.json`,{method:"put",body:a({},ut)})})}function qe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_questions.json`,{method:"get"})})}function Gt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/move_position.json`,{method:"post",body:a({},ut)})})}function kt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}.json`,{method:"delete",body:a({},ut)})})}function Ht(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/edit.json`,{method:"get",params:a({},ut)})})}function $t(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/answer.json`,{method:"get",params:a({},ut)})})}function Ct(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/crud_answer.json`,{method:"post",body:a({},ut)})})}function Yt(ut){return p(this,null,function*(){if(ut.type===1)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_choose_question.json`,{method:"post",body:a({},ut)});if(ut.type===2)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_blank_question.json`,{method:"post",body:a({},ut)});if(ut.type===3)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_judge_question.json`,{method:"post",body:a({},ut)})})}function We(ut){return p(this,null,function*(){if(ut.type===1)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},ut),{choose_id:ut.questionId})});if(ut.type===2)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},ut),{choose_id:ut.questionId})});if(ut.type===3)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},ut),{choose_id:ut.questionId})})})}function fe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:ut.questionId}})})}function _e(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:ut.questionId}})})}function Ot(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:ut.questionId}})})}function Pe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},ut),{choose_id:ut.questionId})})})}function dt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/delete_git_file.json`,{method:"Delete",body:ut})})}function Zt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/delete_git_file.json`,{method:"Delete",body:ut})})}function Tt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/mv_file.json`,{method:"post",body:ut})})}function ke(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/mv_file.json`,{method:"post",body:ut})})}function St(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/repository.json`,{method:"post",body:ut})})}function be(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/repository.json`,{method:"post",body:ut})})}function Ke(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/secret_repository.json`,{method:"post",body:ut})})}function gt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/add_file.json`,{method:"post",body:ut})})}function Rt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/add_file.json`,{method:"post",body:ut})})}function Be(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/commits.json`,{method:"post",body:ut})})}function kr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/file_content.json`,{method:"post",body:ut})})}function At(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/file_content.json`,{method:"post",body:ut})})}function Kr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_file.json`,{method:"post",body:ut})})}function qr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/update_file.json`,{method:"post",body:ut})})}function Ar(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/upload_git_folder.json`,{method:"post",body:{path:ut.path,secret_repository:ut.secret_repository}})})}function Br(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/${ut.url}`,{method:"Get"})})}function _r(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:ut})})}function Ur(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:ut})})}function sn(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:ut})})}function cn(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:ut})})}function or(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:ut})})}function Lt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/fork_list.json`,{method:"Get",params:ut})})}function vt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/change_editable.json`,{method:"put",body:a({},ut)})})}function yt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/set_secret_dir.json`,{method:"post",body:a({},ut)})})}function jt(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:ut})})}function Cr(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:ut})})}function gr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/init_repository.json`,{method:"post",body:a({},ut)})})}function ot(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/init_repository.json`,{method:"post",body:a({},ut)})})}function Mr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_secret_repository.json`,{method:"post",body:a({},ut)})})}function yn(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/exist_exercise.json`,{method:"get",params:a({},ut)})})}function Zn(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${ut.id}.json`,{method:"get",params:a({},ut)})})}function mr(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/publish.json`,{method:"post",body:a({},ut)})})}function tn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/open_vnc.json`,{method:"post",params:a({},ut)})})}function hn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/open_webssh.json`,{method:"post",params:a({},ut)})})}function Fn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/save_image.json`,{method:"post",body:a({},ut)})})}function ti(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/delete_image.json`,{method:"post",body:a({},ut)})})}function jn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/extend_vnc.json`,{method:"post",body:a({},ut)})})}function Zi(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/reset_vnc_link.json`,{method:"post",body:a({},ut)})})}function xi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},ut)})})}function Si(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},ut)})})}function Ei(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},ut)})})}function mi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:ut})})}function Xi(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${ut}`,{method:"get",params:{is_initiative_study:1}})})}function qn(ut){return p(this,null,function*(){return Fetch(`/api/shixuns/${ut.id}/update_shixun_study_num.json`,{method:"post",body:a({},ut)})})}function Yi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:ut})})}function wt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut}/recommend_config.json`,{method:"get"})})}},43859:function(d,g,e){"use strict";e.d(g,{Bg:function(){return p},FO:function(){return B},eJ:function(){return b},eZ:function(){return S},fd:function(){return V},gp:function(){return a},iU:function(){return U},l3:function(){return L},mw:function(){return C},oZ:function(){return _},rM:function(){return D},r_:function(){return K},s:function(){return x},ur:function(){return $},xV:function(){return y},yb:function(){return R}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(G,oe,ae)=>oe in G?i(G,oe,{enumerable:!0,configurable:!0,writable:!0,value:ae}):G[oe]=ae,h=(G,oe)=>{for(var ae in oe||(oe={}))c.call(oe,ae)&&s(G,ae,oe[ae]);if(l)for(var ae of l(oe))f.call(oe,ae)&&s(G,ae,oe[ae]);return G},u=(G,oe,ae)=>new Promise((le,q)=>{var J=ne=>{try{ue(ae.next(ne))}catch(ee){q(ee)}},Y=ne=>{try{ue(ae.throw(ne))}catch(ee){q(ee)}},ue=ne=>ne.done?le(ne.value):Promise.resolve(ne.value).then(J,Y);ue((ae=ae.apply(G,oe)).next())});function a(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/teachers.json`,{method:"get",params:h({},G)})})}function x(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/apply_teachers.json`,{method:"get",params:h({},G)})})}function p(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/graduation_group_list.json`,{method:"get",params:h({},G)})})}function y(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/all_course_groups.json`,{method:"get",params:h({},G)})})}function _(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/set_course_group.json`,{method:"post",body:h({},G)})})}function b(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/join_graduation_group.json`,{method:"post",body:h({},G)})})}function S(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/create_graduation_group.json`,{method:"post",body:h({},G)})})}function R(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},G)})})}function L(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/delete_from_course.json`,{method:"post",body:h({},G)})})}function C(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/change_member_role.json`,{method:"post",body:h({},G)})})}function D(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/change_course_admin.json`,{method:"post",body:h({},G)})})}function B(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/teacher_application_review.json`,{method:"post",body:h({},G)})})}function $(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/students.json`,{method:"get",params:h({},G)})})}function U(G,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G}/apply_students.json`,{method:"get",params:oe})})}function K(G,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G}/join_student_checkout.json`,{method:"get",params:oe})})}function V(G,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G}/student_application_review.json`,{method:"post",body:oe})})}},24780:function(d,g,e){"use strict";e.d(g,{B$:function(){return y},Cx:function(){return J},DA:function(){return D},DH:function(){return p},Ef:function(){return ne},Es:function(){return b},Ex:function(){return qt},FM:function(){return ae},Fn:function(){return ee},Gq:function(){return Jt},Ho:function(){return $},IU:function(){return de},JJ:function(){return ie},Ol:function(){return Fe},Qx:function(){return oe},Tv:function(){return F},V8:function(){return x},WS:function(){return Y},WY:function(){return G},ai:function(){return q},bG:function(){return R},bJ:function(){return a},c0:function(){return er},dE:function(){return Q},dt:function(){return M},gI:function(){return ue},lO:function(){return le},mW:function(){return V},n0:function(){return C},nV:function(){return je},o1:function(){return Ft},qE:function(){return _},qN:function(){return B},rV:function(){return U},sh:function(){return Ce},vR:function(){return S},w3:function(){return K},x4:function(){return L},z2:function(){return _t}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(Xe,It,zt)=>It in Xe?i(Xe,It,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Xe[It]=zt,h=(Xe,It)=>{for(var zt in It||(It={}))c.call(It,zt)&&s(Xe,zt,It[zt]);if(l)for(var zt of l(It))f.call(It,zt)&&s(Xe,zt,It[zt]);return Xe},u=(Xe,It,zt)=>new Promise((st,bt)=>{var ht=ge=>{try{Ue(zt.next(ge))}catch(Ae){bt(Ae)}},Je=ge=>{try{Ue(zt.throw(ge))}catch(Ae){bt(Ae)}},Ue=ge=>ge.done?st(ge.value):Promise.resolve(ge.value).then(ht,Je);Ue((zt=zt.apply(Xe,It)).next())});const a=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}/move.json`,{method:"post",body:Xe})}),x=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}.json`,{method:"delete",body:Xe})}),p=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}.json`,{method:"put",body:Xe})}),y=Xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:Xe})}),_=Xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:Xe})});function b(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},Xe)})})}function S(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function R(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},Xe)})})}function L(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},Xe)})})}function C(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function D(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/homepage_info.json`,{method:"get"})})}function B(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function $(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/courses.json`,{method:"get",params:Xe})})}function U(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/shixuns.json`,{method:"get",params:Xe})})}function K(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/subjects.json`,{method:"get",params:Xe})})}function V(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/projects.json`,{method:"get",params:Xe})})}function G(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos.json`,{method:"get",params:Xe})})}function oe(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/review.json`,{method:"get",params:Xe})})}function ae(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/${Xe.id}.json`,{method:"delete"})})}function le(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Xe})})}function q(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:Xe})})}function J(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Xe})})}function Y(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Xe})})}function ue(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Xe})})}function ne(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Xe})})}function ee(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/${Xe.object_id}/create_course_video.json`,{method:"post",body:Xe})})}function ie(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Xe.topicId}.json`,{method:"get",params:Xe})})}function F(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Xe)})})}function M(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/batch_publish.json`,{method:"post",body:Xe})})}function Q(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Xe.identifier}/cancel.json`,{method:"delete",body:h({},Xe)})})}function de(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Xe)})})}function we(Xe){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Xe)})})}function Ce(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function je(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function Fe(Xe){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Xe})}function Ft(Xe){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Xe})}function _t(Xe){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Xe)})}function Pt(Xe){return Fetch("/api/weapps/register.json",{method:"post",body:h({},Xe)})}function qt(Xe){return(0,r.ZP)(`/api/users/accounts/${Xe.login}/password.json`,{method:"put",body:h({},Xe)})}function er(Xe){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Xe)})}function Jt(Xe){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Xe)})}},75730:function(d,g,e){"use strict";e.d(g,{BQ:function(){return a},DH:function(){return $},Db:function(){return le},Ju:function(){return ae},Mz:function(){return V},O2:function(){return _},TJ:function(){return R},Vg:function(){return y},ZY:function(){return x},Zx:function(){return K},cU:function(){return p},fn:function(){return oe},jK:function(){return L},yN:function(){return G}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(q,J,Y)=>J in q?i(q,J,{enumerable:!0,configurable:!0,writable:!0,value:Y}):q[J]=Y,h=(q,J)=>{for(var Y in J||(J={}))c.call(J,Y)&&s(q,Y,J[Y]);if(l)for(var Y of l(J))f.call(J,Y)&&s(q,Y,J[Y]);return q},u=(q,J,Y)=>new Promise((ue,ne)=>{var ee=M=>{try{F(Y.next(M))}catch(Q){ne(Q)}},ie=M=>{try{F(Y.throw(M))}catch(Q){ne(Q)}},F=M=>M.done?ue(M.value):Promise.resolve(M.value).then(ee,ie);F((Y=Y.apply(q,J)).next())});function a(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},q)})})}function x(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/watch_statics.json`,{method:"Get",params:h({},q)})})}function p(q){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${q.videoId}/watch_histories.json`,{method:"Get",params:h({},q)})})}function y(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},q)})})}function _(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}.json`,{method:"Get",params:h({},q)})})}function b(q){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:q})})}function S(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/edit.json`,{method:"Get",params:h({},q)})})}function R(q){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${q.id}/edit.json`,{method:"Get",params:h({},q)})})}function L(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}/star.json`,{method:"post",body:q})})}function C(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}.json`,{method:"put",body:q})})}function D(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/send_to_course.json`,{method:"post",body:q})})}function B(q){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},q)})})}function $(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}/view_video.json`,{method:"post",body:q})})}function U(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/add_school.json`,{method:"post",body:q})})}function K(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_people_statics.json`,{method:"get",params:q})})}function V(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_duration_statics.json`,{method:"get",params:q})})}function G(q){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:q})})}function oe(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q==null?void 0:q.id}/course_videos_tree.json`,{method:"get",params:q})})}function ae(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:q})})}function le(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:q})})}},62406:function(d,g,e){"use strict";e.d(g,{A:function(){return V},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return _},LY:function(){return B},Ll:function(){return s},MM:function(){return L},Ps:function(){return $},Sl:function(){return S},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return K},cZ:function(){return u},rV:function(){return D},sT:function(){return b},tS:function(){return U},xt:function(){return C},y2:function(){return l}});var r=e(99064),i=(G,oe,ae)=>new Promise((le,q)=>{var J=ne=>{try{ue(ae.next(ne))}catch(ee){q(ee)}},Y=ne=>{try{ue(ae.throw(ne))}catch(ee){q(ee)}},ue=ne=>ne.done?le(ne.value):Promise.resolve(ne.value).then(J,Y);ue((ae=ae.apply(G,oe)).next())});const l=G=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:G})});function c(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/discussions/${G.id}.json`,{method:"put",body:G})})}function f(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/discussions/${G.id}.json`,{method:"get",params:G})})}function s(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/discussions.json`,{method:"post",body:G})})}function h(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/discussions.json`,{method:"get",params:G})})}function u(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons/${G.id}/add_resources.json`,{method:"post",body:G})})}function a(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons/${G.id}/lesson_resources_list.json`,{method:"get",params:G})})}function x(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons/${G.id}.json`,{method:"get",params:G})})}function p(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons/${G.id}.json`,{method:"put",body:G})})}function y(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons.json`,{method:"post",body:G})})}function _(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons.json`,{method:"get",params:G})})}function b(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G==null?void 0:G.id}.json`,{method:"get"})})}function S(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G==null?void 0:G.id}/modules.json`,{method:"get"})})}function R(G){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${G.id}/videos/batch_publish.json`,{method:"post",body:G})})}function L(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/members.json`,{method:"post",body:G})})}function C(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/members/${G.id}/change_creator.json`,{method:"post",body:G})})}function D(G,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G}/shixuns.json`,{method:"get",params:oe})})}function B(G,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G}/shixuns`,{method:"post",body:oe})})}function $(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_classroom_id}/shixuns/${G.shixun_id}.json`,{method:"delete"})})}function U(G,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G}/subjects.json`,{method:"get",params:oe})})}function K(G,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G}/subjects.json`,{method:"post",body:oe})})}function V(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_classroom_id}/subjects/${G.subject_id}.json`,{method:"delete"})})}},24065:function(d,g,e){"use strict";e.d(g,{$O:function(){return J},EO:function(){return nt},G5:function(){return K},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return G},JA:function(){return He},JL:function(){return C},Jd:function(){return q},Ny:function(){return R},RV:function(){return ae},Rb:function(){return U},Rm:function(){return V},V9:function(){return M},Yh:function(){return ee},aN:function(){return b},aQ:function(){return u},ag:function(){return $e},bg:function(){return Vt},d8:function(){return $},dE:function(){return oe},eB:function(){return le},eY:function(){return Wt},fn:function(){return Me},h:function(){return $t},j5:function(){return _},m$:function(){return De},oF:function(){return y},qz:function(){return h},t_:function(){return S},tu:function(){return Gt},y8:function(){return ct}});var r=e(89070),i=(Ct=>(Ct[Ct.SuperAdmin=1]="SuperAdmin",Ct[Ct.Operation=2]="Operation",Ct[Ct.CertifiedTeacher=5]="CertifiedTeacher",Ct[Ct.TrainingProduction=8]="TrainingProduction",Ct[Ct.UncertifiedTeacher=12]="UncertifiedTeacher",Ct[Ct.Student=15]="Student",Ct))(i||{}),l=(Ct=>(Ct[Ct.SuperAdmin=1]="SuperAdmin",Ct[Ct.Operation=2]="Operation",Ct[Ct.Admin=5]="Admin",Ct[Ct.Teacher=8]="Teacher",Ct[Ct.Assistant=12]="Assistant",Ct[Ct.Student=15]="Student",Ct))(l||{}),c=(Ct=>(Ct[Ct.SuperAdmin=0]="SuperAdmin",Ct[Ct.Teacher=1]="Teacher",Ct[Ct.Student=2]="Student",Ct))(c||{});const f=Ct=>{const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:We}=Yt;return Ct.some(fe=>fe==(We==null?void 0:We.role))},s=Ct=>{const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:We}=Yt;return We!=null&&We.own?!0:Ct.some(fe=>{var _e;return fe==((_e=We==null?void 0:We.course)==null?void 0:_e.course_role)})},h=()=>{const{user:Ct}=(0,r.getDvaApp)()._store.getState(),{userInfo:Yt}=Ct;return Yt.main_site},u=()=>{var Ct;const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:We}=Yt;return(Ct=We==null?void 0:We.course)==null?void 0:Ct.course_is_end},a=()=>{const{user:Ct}=getDvaApp()._store.getState(),{userInfo:Yt}=Ct;return Yt.authentication},x=()=>s([1,2,5,8,12]),p=()=>s([1,8,5,12,2]),y=()=>s([1,8,5]),_=()=>s([1]),b=()=>s([1,2,5]),S=()=>s([1,2]),R=()=>f([1,2]),L=()=>f([1]),C=()=>f([1,2,5]),D=()=>s([1,5]),B=()=>s([5,8]),$=()=>s([5]),U=()=>s([1,5,2]),K=()=>s([1,2,5,8]),V=()=>s([12]),G=()=>s([8]),oe=()=>s([15]),ae=()=>s([1,2,5,8,12,15]),le=()=>s([1,2,5,8,12]),q=()=>{var Ct;const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:We}=Yt;return((Ct=We==null?void 0:We.course)==null?void 0:Ct.course_role)===null},J=()=>{var Ct;const{user:Yt,globalSetting:We}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Yt,_e=((Ct=We==null?void 0:We.setting)==null?void 0:Ct.big_model_users)||[];return _e==null?void 0:_e.includes(fe==null?void 0:fe.login)},Y=(Ct=!0,Yt=!1)=>f([1,2,5,8,12,15]),ue=(Ct=!0,Yt=!1)=>Yt||!Yt&&f([1]),ne=(Ct=!0,Yt=!1)=>Yt||!Yt&&f([1,2]),ee=()=>f([15]),ie=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),F=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),M=(Ct=!0,Yt=!1)=>{const{user:We}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=We;return fe!=null&&fe.is_shixun_marker?!0:f([1,2,5,8])},Q=(Ct=!0,Yt=!1)=>Ct?f([1]):Yt||!Yt&&f([1]),de=(Ct=!0,Yt=!1)=>Ct?f([1,2]):Yt||!Yt&&f([1,2]),we=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),Ce=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),je=(Ct=!0,Yt=!1)=>Ct?f([1,2,5]):Yt||!Yt&&f([1,2]),Fe=(Ct=!0,Yt=!1)=>Ct?f([1]):!1,Ft=(Ct=!0,Yt=!1)=>f([1,2,5,8,12,15]),_t=(Ct=!0,Yt=!1)=>Ct?f([1]):Yt||!Yt&&f([1]),Pt=(Ct=!0,Yt=!1)=>Ct?f([1,2]):Yt||!Yt&&f([1,2]),qt=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),er=(Ct=!0,Yt=!1)=>Ct?!1:Yt||!Yt&&f([1,2]),Jt=(Ct=!0,Yt=!1)=>Ct?Yt||!Yt&&f([1,2]):!1,Xe=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12]):!1,It=(Ct=!0,Yt=!1)=>Ct?!Yt&&f([1,2,5,8,12]):!1,zt=(Ct=!0,Yt=!1)=>Ct?f([1,2,5]):Yt||!Yt&&f([1,2]),st=(Ct=!0,Yt=!1)=>f([1,2,5,8,12]),bt=(Ct=!0,Yt=!1)=>Ct?f([1]):Yt||!Yt&&f([1]),ht=(Ct=!0,Yt=!1)=>Ct?f([1,2]):Yt||!Yt&&f([1,2]),Je=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),Ue=(Ct=!0,Yt=!1)=>Ct?Yt||!Yt&&f([1,2]):!1,ge=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),Ae=(Ct=!0,Yt=!1)=>s([8]),Me=()=>f([1]),$e=()=>f([1,2]),He=()=>f([15]),nt=()=>f([1,2,5]),ct=()=>f([1,2,5,12]),Vt=()=>{var Ct;const{user:Yt}=(0,r.getDvaApp)()._store.getState();return!!((Ct=Yt.userInfo)!=null&&Ct.login)},Wt=()=>{const{user:Ct}=(0,r.getDvaApp)()._store.getState();return Ct.userInfo},De=()=>{var Ct,Yt;const{user:We}=(0,r.getDvaApp)()._store.getState();return!!((Yt=(Ct=We.userInfo)==null?void 0:Ct.path)!=null&&Yt.own)},qe=Ct=>{const{graduations:Yt}=(0,r.getDvaApp)()._store.getState(),{details:We}=Yt;return Ct.some(fe=>fe===(We==null?void 0:We.user_identity))},Gt=()=>qe([0,1]),kt=()=>qe([0]),Ht=()=>qe([1]),$t=()=>qe([2])},14165:function(d,g,e){"use strict";e.d(g,{a2:function(){return c},fw:function(){return r},gW:function(){return l},k:function(){return f},k4:function(){return i}});const r=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],i=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var l=(s=>(s.PROBLEM="problem",s.PAPER="paper",s.OTHER="other",s))(l||{}),c=(s=>(s.SINGLE="single",s.MULTIPLEFLOW="multiple_flow",s.MULTIPLEFIXED="multiple_fixed",s.OTHER="other",s))(c||{}),f=(s=>(s[s.BISHI=1]="BISHI",s[s.JISHI=2]="JISHI",s[s.KOUSHI=3]="KOUSHI",s[s.OTHER=4]="OTHER",s))(f||{})},33466:function(d,g,e){"use strict";e.d(g,{F:function(){return r}});const r={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},3294:function(d,g,e){"use strict";e.d(g,{Z:function(){return c}});const r={PROXY_SERVER:"http://172.16.100.111",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.111",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const s=location.host;return s==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),s==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},99064:function(d,g,e){"use strict";e.d(g,{IV:function(){return F},U2:function(){return ue},ZP:function(){return le},d4:function(){return ne},gz:function(){return ie},rz:function(){return ae},v_:function(){return ee}});var r=e(3294),i=e(28909),l=e(43418),c=e(8591),f=e(85582),s=e.n(f),h=e(59301),u=e(89070),a=e(955),x=e(89392),p=e.n(x),y=Object.defineProperty,_=Object.defineProperties,b=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,C=(M,Q,de)=>Q in M?y(M,Q,{enumerable:!0,configurable:!0,writable:!0,value:de}):M[Q]=de,D=(M,Q)=>{for(var de in Q||(Q={}))R.call(Q,de)&&C(M,de,Q[de]);if(S)for(var de of S(Q))L.call(Q,de)&&C(M,de,Q[de]);return M},B=(M,Q)=>_(M,b(Q)),$=(M,Q,de)=>new Promise((we,Ce)=>{var je=_t=>{try{Ft(de.next(_t))}catch(Pt){Ce(Pt)}},Fe=_t=>{try{Ft(de.throw(_t))}catch(Pt){Ce(Pt)}},Ft=_t=>_t.done?we(_t.value):Promise.resolve(_t.value).then(je,Fe);Ft((de=de.apply(M,Q)).next())});let U;const K={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},V=(M,Q)=>$(void 0,null,function*(){if(M.status>=200&&M.status<300)return M;const de=K[M.status]||M.statusText;let we;var Ce=M.json();yield Ce.then((Fe,Ft)=>{setTimeout(()=>{let _t=(0,u.getDvaApp)()},400),we=Fe.message,window.showNetworkErrorTip(Fe.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`),i.Z.error({style:{wordBreak:"break-all"},message:Fe.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`,description:Fe.message?"":de})});const je=new Error(de);throw je.name=M.status,je.response=M,{data:M,code:M.status,message:we||de}}),G=(M,Q)=>{const de=M.headers.get("Content-Type");return de&&de.match(/application\/json/i)&&M.clone().text().then(()=>{}),M};function oe(M){try{return decodeURIComponent(M),decodeURIComponent(encodeURIComponent(M))===M}catch(Q){return!1}}const ae=M=>{M=M||{};let Q="";for(let de in M)typeof M[de]=="object"?Array.isArray(M[de])&&M[de].forEach((we,Ce)=>{Q+="&"+de+"[]="+we}):M[de]!==void 0&&(Q+="&"+de+"="+(oe(M[de])?M[de]:encodeURIComponent(M[de])));return Q.substr(1)};function le(M,Q,de,we){Q.method||(Q.method="get"),Q.method=Q.method.toUpperCase(),Q.mode="cors";const Ce=D({},Q),{user:je}=(0,u.getDvaApp)()._store.getState(),{userInfo:Fe}=je,Ft=M+(Ce.body?JSON.stringify(Ce.body):""),_t=s().sha256().update(Ft).digest("hex"),Pt={credentials:"include",withCredentials:!0},qt={};Fe!=null&&Fe.login&&(qt.zzud=Fe==null?void 0:Fe.login,Fe!=null&&Fe.school_id&&(qt.zzsud=Fe==null?void 0:Fe.school_id),Ce.params=D(D({},Ce.params||{}),qt));let er=D(D({},Pt),(0,x.cloneDeep)(Ce));(er.method==="POST"||er.method==="PUT"||er.method==="PATCH"||er.method==="DELETE")&&(de?(er.headers=B(D({_method:Q.method.toUpperCase()},er.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),er.body=Ce.body):(er.headers=D({Accept:"application/json",_method:Q.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},er.headers),er.body=JSON.stringify(Ce.body))),er.method=="GET"?(er.headers=B(D({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:Q.method.toUpperCase()},er.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Ce.params&&ae(Ce.params)&&(M+="?"+ae(Ce.params))):qt.zzud&&(M+="?"+ae(D({},qt)));const Jt=Ce.expirys&&60;let Xe;(bt=>{bt.json="application/json;charset=UTF-8",bt.form="application/x-www-form-urlencoded; charset=UTF-8"})(Xe||(Xe={}));let It;(bt=>{bt.get="GET",bt.post="POST"})(It||(It={}));const zt=bt=>$(this,null,function*(){const ht=yield bt.arrayBuffer();let Je;const Ue=new Blob([ht]);try{Je=bt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\,\,\“,\”,\<,\>,\《,\》]/g,"")}catch($e){Je="userfiles.zip"}const ge=document.createElement("a"),Ae=window.URL.createObjectURL(Ue),Me=Je;return ge.href=Ae,ge.download=Me,ge.click(),window.URL.revokeObjectURL(Ae),ht});let st=r.Z.API_SERVER;return(window.ENV==="dev"||M.startsWith("http"))&&(st=""),er.method=="GET"&&er.params&&Object.keys(er.params).map(bt=>{if(er.params[bt]&&!Array.isArray(er.params[bt]))try{er.params[bt]=encodeURIComponent(decodeURIComponent(er.params[bt]))}catch(ht){er.params[bt]=encodeURIComponent(er.params[bt])}}),(0,a.Ec)(er,M),we&&(st=""),er.headers._method=er.method,er.headers["X-HTTP-Method-Override"]=er.method,er.method!=="GET"&&(er.method="POST"),fetch(st+M,er).then(bt=>V(bt,D({url:r.Z.API_SERVER+M},er))).then(bt=>G(bt,_t)).then(bt=>$(this,null,function*(){var ht,Je,Ue,ge;try{const Me=bt.headers.get("cs");Me&&(0,a.d8)("_educoder_session",Me,1)}catch(Me){}if(bt.status===204)return bt.text();let Ae;if(bt.headers.get("content-type").indexOf("application/json")>-1){Ae=yield bt.json();try{const Me=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,$e=/\"\/api\/attachments\/(\d+)\//g,He=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,nt=/\/api\/attachments\/(\d+)/g,ct=/\/attachments\/download\/(\d+)/g;let Vt=JSON.stringify(Ae).replace(nt,(Wt,De,qe,Gt)=>{const kt=De||qe||Gt;return"/api/attachments/"+(0,a.Jn)(kt)}).replace(ct,(Wt,De,qe)=>{const Gt=De||qe;return"/attachments/download/"+(0,a.Jn)(Gt)}).replace(Me,(Wt,De,qe,Gt)=>{const kt=De||qe||Gt;return"(/api/attachments/"+(0,a.Jn)(kt)}).replace($e,(Wt,De,qe)=>{const Gt=De||qe;return'"/api/attachments/'+(0,a.Jn)(Gt)}).replace(He,(Wt,De,qe)=>{const Gt=De||qe;return"(/files/uploads/"+(0,a.Jn)(Gt)}).replace(/\r\n/g,`
`);Ae=JSON.parse(Vt)}catch(Me){}}else er.headers["Content-Type"]==="application/xml"?Ae=yield bt.text():(ht=Ce.body)!=null&&ht.autoDownload||(Je=Ce.params)!=null&&Je.autoDownload?Ae=yield zt(bt):Ae=yield bt.arrayBuffer();try{Ae.status===401&&(!((Ue=er.params)!=null&&Ue.hidePopLogin)||!((ge=er.body)!=null&&ge.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Ae.status===402&&(localStorage.getItem("addinfo")==="2"?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(U=U||l.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),U.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{u.history.push("/account/profile/edit")}})))}catch(Me){console.log("fetcherr",Me)}return Y(Ae,M),Ae})).catch(bt=>{try{const ht=bt.code;if(bt instanceof TypeError&&window.showNetworkErrorTip(`${M}<span class="ml10">${bt.message}</span>`),ht){if(ht===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}Y(bt,M)}else M.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:er.body}}):bt.message!=="403"&&window.showNetworkErrorTip(`${M}<span class="ml10">${bt.message}</span>`);return bt}catch(ht){}})}let q=!1,J=!1;const Y=(M,Q)=>{var de,we,Ce;if(M.status==-6&&!J){J=!0,(0,a.d8)("_educoder_session","logout",1),(0,a.m5)(),setTimeout(()=>J=!1,500),l.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:M.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(M.status==-7){J=!0,setTimeout(()=>J=!1,500);let Fe="";(de=M==null?void 0:M.data)!=null&&de.exercise_list&&((Ce=(we=M==null?void 0:M.data)==null?void 0:we.exercise_list)==null||Ce.map(Ft=>{Fe+=`<a target="_blank" href="/classrooms/${Ft.identifier}/exercise">\u300A${Ft.exercise_name}\u300B</a>`})),l.default.info({title:"\u63D0\u793A",content:h.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`<div>\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${Fe} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762</div>`},500);return}if((M.status==-1||M.status==-2||M.status==-102||M.status>400)&&M.status!=403&&!J){J=!0,setTimeout(()=>J=!1,500),c.ZP.warning({content:M.message,key:"message-key"});return}const je={403:"/403",404:"/404",500:"/500"};if(je[M.status]&&!q){const{user:Fe}=(0,u.getDvaApp)()._store.getState(),{userInfo:Ft}=Fe;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(q=!0),setTimeout(()=>q=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(M)),Object.values(je).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(je[M.status]),new Error("403")}};function ue(M,Q){return le(`/api/${M}`,{method:"Get",params:Q||{}})}function ne(M,Q){return le(`/${M}`,{method:"Get",params:Q})}function ee(M,Q){return le(`/api/${M}`,{method:"Post",body:D({},Q)})}function ie(M,Q){return le(`/api/${M}`,{method:"Put",body:D({},Q)})}function F(M,Q){return le(`/api/${M}`,{method:"delete",body:D({},Q||{})})}},64892:function(d,g,e){"use strict";e.d(g,{Bn:function(){return l},hw:function(){return i},mi:function(){return r}});const r="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",i="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",l="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},24768:function(d,g,e){"use strict";e.d(g,{AL:function(){return $},Iy:function(){return p},Qv:function(){return b},ez:function(){return B},jb:function(){return y}});var r=e(32834),i=e.n(r),l=e(11690),c=e.n(l);let f=1;function s(oe,ae){const le=oe.match(/^(\s+)(?:```)/);if(le===null)return ae;const q=le[1];return ae.split(`
`).map(J=>{const Y=J.match(/^\s+/);if(Y===null)return J;const[ue]=Y;return ue.length>=q.length?J.slice(q.length):J}).join(`
`)}let h=[],u=["<ul>"];const a=new(i()).Renderer,x=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function p(){h.length=0,u=["<ul>"]}const y={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function _(oe,ae,le,q){if(ae>=oe.length||oe[ae].level<=le)return ae;var J=oe[ae];q.push("<li><a href='#"+f+J.anchor+"'>"+J.text+"</a>"),ae++;var Y=[];return ae=_(oe,ae,J.level,Y),Y.length>0&&(q.push("<ul>"),Y.forEach(function(ue){q.push(ue)}),q.push("</ul>")),q.push("</li>"),ae=_(oe,ae,le,q),ae}function b(){return _(h,0,0,u),u.push("</ul>"),u.join("")}const S={heading(oe){const ae=x.exec(oe);if(f+=1,ae)return{type:"heading",raw:ae[0],depth:ae[1].length,text:ae[2]}},fences(oe){const ae=this.rules.block.fences.exec(oe);if(ae){const le=ae[0];let q=s(le,ae[3]||"");const J=ae[2]?ae[2].trim():ae[2];if(["latex","katex","math"].indexOf(J)>=0){const Y=C(),ue=q;q=Y,D[Y]={type:"block",expression:ue}}return{type:"code",raw:le,lang:J,text:q}}}},R=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let L=0;const C=()=>`__special_katext_id_${L++}__`;let D={};function B(){return D}function $(){L=0,D={}}function U(oe){return oe=oe.replace(R,(ae,le)=>{const q=C();return D[q]={type:"inline",expression:le},q}),oe}const K=a.listitem;a.listitem=function(oe){return K(U(oe))};const V=a.paragraph;a.paragraph=function(oe){return V(U(oe))};const G=a.tablecell;a.tablecell=function(oe,ae){return G(U(oe),ae)},a.code=function(oe,ae,le){const q=(ae||"").match(/\S*/)[0];return q?["latex","katex","math"].indexOf(q)>=0?`<p class='editormd-tex'>${oe}</p>`:`<pre class="prettyprint linenums"><code class="language-${ae}">${le?oe:(0,l.escape)(oe,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(le?oe:(0,l.escape)(oe,!0))+"</code></pre>"},a.heading=function(oe,ae,le){let q=this.options.headerPrefix+le.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return h.push({anchor:q,level:ae,text:oe}),"<h"+ae+' id="'+f+q+'">'+oe+"</h"+ae+">"},i().setOptions({silent:!0,gfm:!0,pedantic:!1}),i().use({tokenizer:S,renderer:a}),g.ZP=i()},955:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AS:function(){return vtrsKey},BO:function(){return NewAntdDisabledDate},Br:function(){return getBlob},DH:function(){return timego},Dk:function(){return setDocumentTitle},Dw:function(){return onPreviewImage},EJ:function(){return HighLightedContent},EM:function(){return toChineseNumber},EN:function(){return preciseCalculation},Ec:function(){return setHeader},FH:function(){return downLoadFile},G5:function(){return sendAppStatus},G7:function(){return handleValidatorNickName},HJ:function(){return handleValidatorName},I9:function(){return RomanNumber},IS:function(){return isWechatBrowser},Il:function(){return setThreeComponent},JL:function(){return formatHomeWorkStatusToName},Jn:function(){return getImageUrl},L4:function(){return PollsStatus},L9:function(){return trackEvent},LR:function(){return download},Ll:function(){return checkIsClientExam},M:function(){return setmiyah},M2:function(){return randomArray},NY:function(){return setUrlQuery},Nd:function(){return downLoadLink},Oo:function(){return getCategoryName},Or:function(){return toWechatLogin},PF:function(){return formatRandomPaperDatas},Pq:function(){return cutName},Q8:function(){return disabledDate},QB:function(){return timeContrast},QE:function(){return releaseRuleDataAdjust},QH:function(){return downLoadFileIframe},Qq:function(){return JudgeSort},RD:function(){return bytesToSize},RG:function(){return copyTextFuc},Sp:function(){return rangeNumber},Tv:function(){return ImgSrcConvert},U6:function(){return HalfPastOne},UQ:function(){return HomeWorkDetailStatus},Uw:function(){return CommonWorkStatus},VV:function(){return StatusClassroomsTags},Vf:function(){return domScrollToTop},W:function(){return isUnOrNull},WX:function(){return isLocalApp},Y:function(){return HomeWorkCommonDetailStatus},YA:function(){return getHiddenName},ZJ:function(){return toDataUrl},_g:function(){return getMessagesUrl},_m:function(){return isKepuKehuan},ad:function(){return formatRandomPaperData},b9:function(){return isPc},cX:function(){return localSort},d0:function(){return disabledTime},d8:function(){return setCookie},db:function(){return getFileContentAndUrl},eF:function(){return bindPhone},eR:function(){return validateLength},ej:function(){return getCookie},en:function(){return parseUrl},fX:function(){return buildTree},hi:function(){return getExamRestrictionInfo},hv:function(){return NewAntdDisabledTime},i7:function(){return isChrome},j1:function(){return StatusGraduationProjectTags},jh:function(){return educationList},jt:function(){return showInstallWebRtcDoc},ju:function(){return ExerciseStatus},jz:function(){return replaceParamVal},k3:function(){return scrollToTop},kk:function(){return pointerEvents},lC:function(){return HomeWorkListStatus},lF:function(){return toWNumber},li:function(){return toTimeFormat},m5:function(){return clearAllCookies},nr:function(){return startExercise},oP:function(){return getJsonFromUrl},oV:function(){return ZimuSort},og:function(){return formatRate},oi:function(){return checkLocalOrPublicIp},pE:function(){return addJumping},pp:function(){return findEndWhitespace},qZ:function(){return arrTrans},qd:function(){return DayHalfPastOne},rK:function(){return HomeWorkShixunListStatus},rU:function(){return showTotal},rz:function(){return moveArray},s2:function(){return isMobileDevice},tP:function(){return cutFileName},tw:function(){return getTwoDecimalPlaces},uD:function(){return dealUploadChange},vA:function(){return HomeWorkShixunDetailStatus},vB:function(){return exerciseTips},vQ:function(){return copyToClipboard},xg:function(){return openNewWindow},y3:function(){return getBase64},yC:function(){return compareVersion}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),_utils_authority__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(24065),antd__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(8591),antd__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(43418),antd__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(95237),antd__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(43604),_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(16209),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(94941),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(33466),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(89070),md5__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(93735),md5__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_6__),_env__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(3294),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(34604),_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(85149),_utils_fetch__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(99064),crypto_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(28209),crypto_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_11__),_key__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(64892),moment__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(61186),moment__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(33656),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__),uuid__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(1012),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(d,g,e)=>g in d?__defProp(d,g,{enumerable:!0,configurable:!0,writable:!0,value:e}):d[g]=e,__spreadValues=(d,g)=>{for(var e in g||(g={}))__hasOwnProp.call(g,e)&&__defNormalProp(d,e,g[e]);if(__getOwnPropSymbols)for(var e of __getOwnPropSymbols(g))__propIsEnum.call(g,e)&&__defNormalProp(d,e,g[e]);return d},__spreadProps=(d,g)=>__defProps(d,__getOwnPropDescs(g)),__async=(d,g,e)=>new Promise((r,i)=>{var l=s=>{try{f(e.next(s))}catch(h){i(h)}},c=s=>{try{f(e.throw(s))}catch(h){i(h)}},f=s=>s.done?r(s.value):Promise.resolve(s.value).then(l,c);f((e=e.apply(d,g)).next())}),_a,_b;moment__WEBPACK_IMPORTED_MODULE_12___default().extend(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default());const HighLightedContent=(d,g=[],e="#2EC25B")=>(typeof g=="string"&&(g=[g]),d.replace(new RegExp(`(${g.join("|")})`,"gi"),`<span style="color:${e}">$1</span>`)),parseParams=d=>{d=d||{};let g="";for(let e in d)typeof d[e]=="object"?Array.isArray(d[e])&&d[e].forEach((r,i)=>{g+="&"+e+"[]="+r}):d[e]!==void 0&&(g+="&"+e+"="+d[e]);return g.substr(1)},getKey=d=>window.atob(window.atob(d));function bytesToSize(d){var g=["Bytes","KB","MB","GB","TB"];if(d==0)return"0 Byte";var e=parseInt(""+Math.floor(Math.log(d)/Math.log(1024)),10);return(d/Math.pow(1024,e)).toFixed(1)+" "+g[e]}const getTwoDecimalPlaces=d=>Math.round(Math.round(d*1e5)/1e3*100)/100,NewAntdDisabledDate=(d,g=null)=>{const e=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.startTime).startOf("day"),r=d>moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.endTime).endOf("day"),i=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared).startOf("day");return g!=null&&g.endTime?g!=null&&g.compared?moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared)?i||r:e||r:d&&e||r:g!=null&&g.compared&&moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared)?i:e},NewAntdDisabledTime=(d,g=null)=>{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("mm")),i=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("HH")),l=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("mm")),c=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("ss"));function f(s,h){const u=[];for(let a=s;a<h;a++)u.push(a);return u}if(!d)return{disabledHours:()=>f(0,i),disabledMinutes:()=>f(0,l)};if(g!=null&&g.compared){const s=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared).format("HH")),h=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared).format("mm")),u=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared).format("ss"));return moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared),"day")?{disabledHours:()=>f(0,s),disabledMinutes:()=>e<=s?f(0,h):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"day"))return{disabledHours:()=>f(0,i),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"hour")&&e<=i?f(0,l):[]}},disabledDate=(d,g,e,r)=>{r=typeof r=="string"?moment__WEBPACK_IMPORTED_MODULE_12___default()(r):r;const i=r?d<(r==null?void 0:r.startOf("day")):d<moment__WEBPACK_IMPORTED_MODULE_12___default()().startOf("day"),l=d>moment__WEBPACK_IMPORTED_MODULE_12___default()(g).endOf("day"),c=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(e).startOf("day");return g?e?moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(e)?c||l:i||l:d&&i||l:e&&moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(e)?c:i},disabledTime=(d,g)=>{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("HH")),i=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("mm"));function l(c,f){const s=[];for(let h=c;h<f;h++)s.push(h);return s}if(!d)return{disabledHours:()=>l(0,r),disabledMinutes:()=>l(0,i)};if(g){const c=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(g).format("HH")),f=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(g).format("mm"));return moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(g),"day")?{disabledHours:()=>l(0,c),disabledMinutes:()=>e<=c?l(0,f):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"day"))return{disabledHours:()=>l(0,r),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"hour")&&e<=r?l(0,i):[]}},preciseCalculation=(d,g,e)=>{typeof d=="string"&&(d=Number(d)),typeof g=="string"&&(g=Number(g));const r=(d.toString().split(".")[1]||"").length,i=(g.toString().split(".")[1]||"").length,l=Math.max(r,i),c=Math.pow(10,l);return(()=>{switch(e){case"+":return(Math.round(d*c)+Math.round(g*c))/c;case"-":return(Math.round(d*c)-Math.round(g*c))/c;case"*":return Math.round(d*c)*Math.round(g*c)/(c*c);case"/":return Math.round(d*c)/Math.round(g*c);default:throw new Error("\u4E0D\u652F\u6301\u7684\u8FD0\u7B97\u7B26\u53F7")}})()},toWNumber=d=>d/1e4>1?react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,Math.round(d/1e4*100)/100,react__WEBPACK_IMPORTED_MODULE_0__.createElement("i",{className:"font12"},"w")):d,toChineseNumber=d=>{const g=d.toString().replace(/(?=(\d{4})+$)/g,",").split(",").filter(Boolean),e=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],r=["","\u5341","\u767E","\u5343"],i=["","\u4E07","\u4EBF"],l=f=>{let s="";for(let h=0;h<f.length;h++){const u=+f[h],a=e[u],x=r[f.length-1-h];u===0?s[s.length-1]!==e[0]&&(s+=a):s+=a+x}return s[s.length-1]===e[0]&&(s=s.slice(0,-1)),s};let c="";for(let f=0;f<g.length;f++){const s=g[f],h=l(s),u=h?i[g.length-1-f]:"";c+=h+u}return c=c.replace(/^一十$/,"\u5341"),c=c.replace(/^一(?=十[一二三四五六七八九])/,""),c},moveArray=(d,g,e)=>{const r=d.splice(g,1)[0];return d.splice(e,0,r),d},ZimuSort=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],JudgeSort=["\u6B63\u786E","\u9519\u8BEF"],RomanNumber=["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII","XIII","XIV","XV","XVI","XVII","XVIII","XIX","XX"],findEndWhitespace=d=>{if(!d)return"";const g=d.replace(/(?:\r\n|\n)/g,`\x1B[41m\x1B[37m\u21B5\x1B[0m\r
`).replace(/ +$/g,"\x1B[41m \x1B[0m");return console.debug("str:",g,JSON.stringify(d)),g},StatusTags=d=>{const g={\u5DF2\u622A\u6B62:{class:"tag-style bg-pink ml10"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};return d.data&&d.data.map(function(e,r){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{key:r,className:g[e]&&g[e].class},e)})},formatHomeWorkStatusToName=d=>({[-1]:"\u91CD\u505A\u4E2D",0:"\u672A\u5F00\u542F",1:"\u672A\u901A\u5173",2:"\u6309\u65F6\u901A\u5173"})[d]||"\u8FDF\u4EA4\u901A\u5173",HomeWorkListStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(g=r==null?void 0:r[d.status])==null?void 0:g.class},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkShixunListStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(g=r==null?void 0:r[d.status])==null?void 0:g.class},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkDetailStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(g=r==null?void 0:r[d.status])==null?void 0:g.color,borderRadius:"20px",width:"65px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkShixunDetailStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red",color:"#d4443d"},5:{name:"\u622A\u6B62\u540E\u8BC4\u6D4B",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(g=r==null?void 0:r[d.status])==null?void 0:g.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkCommonDetailStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-black",color:"#999999"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black",color:"#999999"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green",color:"#57be40"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(g=r==null?void 0:r[d.status])==null?void 0:g.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},StatusGraduationProjectTags=d=>{const{status:g}=d,e={0:{class:"tag-style bg-blue ml10",name:"\u5F85\u9009\u4E2D"},1:{class:"tag-style bg-blue ml10",name:"\u5F85\u786E\u8BA4"},2:{class:"tag-style bg-pink ml10",name:"\u5DF2\u786E\u8BA4"}};try{return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:e[g].class},e[g].name)}catch(r){console.log("utils.StatusGraduationProjectTags",d.status)}},ExerciseStatus={1:"\u672A\u53D1\u5E03",2:"\u8003\u8BD5\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u96C6\u4E2D\u9605\u5377",99:"\u6A21\u62DF\u8003\u8BD5\u4E2D"},PollsStatus={1:"\u672A\u53D1\u5E03",2:"\u63D0\u4EA4\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u672A\u5F00\u59CB"},StatusClassroomsTags=d=>{let g={\u6A21\u62DF\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-pink ml10"},\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A:{class:"tag-style-fzb ml10 iconfont icon-fangzuobi"},\u516C\u5F00:{class:"tag-style bg-blue ml10"},\u5DF2\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-green ml10soft"},\u672A\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-pink ml10soft"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-c5d6ff ml10soft"},\u533F\u540D\u4F5C\u54C1:{class:"tag-style bg-cyan ml10"},\u5DF2\u9009\u62E9:{class:"tag-style bg-grey-ede ml10"},\u5DF2\u7ED3\u675F:{class:"tag-style bg-grey-ede ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10soft"},\u533F\u8BC4\u4E2D:{class:"tag-style bg-blue ml10"},\u7533\u8BC9\u4E2D:{class:"tag-style bg-blue ml10"},\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-blue ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8BC4\u9605\u4E2D:{class:"tag-style bg-blue ml10"},\u5F85\u9009\u4E2D:{class:"tag-style bg-blue ml10"},\u4EA4\u53C9\u8BC4\u9605\u4E2D:{class:"tag-style bg-light-orange ml10"},\u5DF2\u5F00\u542F\u4EA4\u53C9\u8BC4\u9605:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u786E\u8BA4:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u5904\u7406:{class:"tag-style bg-lightblue-purple ml10"},\u79C1\u6709:{class:"tag-style bg-lightblue-purple ml10"},\u672A\u63D0\u4EA4:{class:"tag-style bg-lightblue-purple ml10"},\u5DF2\u786E\u8BA4:{class:"tag-style bg-light-pink ml10"},\u5DF2\u53D1\u5E03:{class:"tag-style bg-light-blue ml10"},\u5DF2\u622A\u6B62:{class:"tag-style bg-light-pink ml10soft"},\u5F00\u53D1\u8BFE\u7A0B:{class:"tag-style bg-orange ml10"},\u5DF2\u5F00\u64AD:{class:"tag-style-border border-green c-green ml10"},\u672A\u5F00\u64AD:{class:"tag-style-border border-light-black ml10"},\u6309\u65F6\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u8FDF\u4EA4\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u5F00\u542F:{class:"tag-style-border border-light-black ml10"},\u5BFC\u5165:{class:"export ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};const e={\u672A\u53D1\u5E03:{class:"tag-style bg-C6CED6 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-C1E2FF ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u5DF2\u622A\u6B62:{class:"tag-style bg-E53333 ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-44D7B6 ml10soft"}};d.temporary&&(g=__spreadValues(__spreadValues({},g),e));const r=[];d.is_random&&r.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"tag-style bg-blue ml10"},"\u968F\u673A"));try{d.status&&d.status.map((i,l)=>{r.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:(d==null?void 0:d.style)||[],key:l,className:g[i]&&g[i].class},i))})}catch(i){console.log("utils.status.tag:",i,d.status)}return r},exerciseTips=(d,g)=>{if(d===5||g)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style ml5"},"\u96C6\u4E2D\u9605\u5377");if(d===1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style ml5"},"\u672A\u5F00\u59CB");if(d===2)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style ml5"},"\u8003\u8BD5\u4E2D");if(d===3||d===4)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style ml5"},"\u5DF2\u622A\u6B62");if(d===-1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"export ml5"},"\u5BFC\u5165")},WorkStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8FDF\u4EA4\u901A\u5173",class:"c-orange"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(g=r[d.status])==null?void 0:g.class},(e=r[d.status])==null?void 0:e.name)},CommonWorkStatus=d=>{var g,e;const r={0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red"},3:{name:"\u90E8\u5206\u63D0\u4EA4",class:"c-green"},4:{name:`\u6309\u65F6\u63D0\u4EA4${d!=null&&d.lineBreak?`
`:""}\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09`,class:"c-green"},5:{name:`\u672A\u63D0\u4EA4${d!=null&&d.lineBreak?`
`:""}\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09`,class:"c-black"},6:{name:"\u6309\u65F6\u63D0\u4EA4\uFF08\u7EBF\u4E0B\uFF09",class:"c-green"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(g=r[d.status])==null?void 0:g.class},(e=r[d.status])==null?void 0:e.name)},timego=d=>{d=new Date(d).getTime();let g=1e3*60,e=g*60,r=e*24,i="",c=new Date().getTime()-d;if(c<0)return console.log("\u65F6\u95F4\u4E0D\u5BF9\u52B2,\u670D\u52A1\u5668\u521B\u5EFA\u65F6\u95F4\u4E0E\u5F53\u524D\u65F6\u95F4\u4E0D\u540C\u6B65"),i="\u521A\u521A";let f=parseInt(c/r,10),s=parseInt(c/e,10),h=parseInt(c/g,10);return f>30?i=""+timeformat(d,"yyyy-MM-dd"):f>1?i=""+f+"\u5929\u524D":f==1?i="\u6628\u5929":s>=1?i=""+s+"\u5C0F\u65F6\u524D":h>=5?i=""+h+"\u5206\u949F\u524D":i="\u521A\u521A",i};function replaceParamVal(paramName,replaceWith){var oUrl=window.location.href.toString(),re=eval("/("+paramName+"=)([^&]*)/gi"),nUrl=oUrl.replace(re,paramName+"="+replaceWith);window.history.replaceState(null,"",nUrl)}const timeformat=(d,g)=>{typeof d=="string"&&(d.indexOf("T")>=0&&(d=d.replace("T"," ")),d=new Date(Date.parse(d.replace(/-/g,"/")))),d=new Date(d);let e={"M+":d.getMonth()+1,"d+":d.getDate(),"h+":d.getHours(),"m+":d.getMinutes(),"s+":d.getSeconds(),"q+":Math.floor((d.getMonth()+3)/3),S:d.getMilliseconds()},r=[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]];/(y+)/.test(g)&&(g=g.replace(RegExp.$1,(d.getFullYear()+"").substr(4-RegExp.$1.length))),/(w+)/.test(g)&&(g=g.replace(RegExp.$1,r[RegExp.$1.length-1][d.getDay()]));for(let i in e)new RegExp("("+i+")").test(g)&&(g=g.replace(RegExp.$1,RegExp.$1.length==1?e[i]:("00"+e[i]).substr((""+e[i]).length)));return g},toTimeFormat=d=>{if(!d||d<0)return"0\u79D2";console.log("time:",d);let g=60,e=g*60,r=e*24,i=d/r,l=d/e,c=d/g,f=d%60;return i>=1?parseInt(i.toString())+"\u5929"+Math.floor(l%24)+"\u65F6"+Math.floor(c%60)+"\u5206"+Math.floor(d%60)+"\u79D2":l>1?parseInt(l.toString())+"\u65F6"+Math.floor(c%60)+"\u5206"+Math.floor(d%60)+"\u79D2":c>=1?parseInt(c.toString())+"\u5206"+Math.floor(d%60)+"\u79D2":Math.ceil(d)+"\u79D2"},validateLength=(d="",g=100)=>{let e=0;if(d){e=d.length;for(let r=0;r<e;r++){let i=d.charCodeAt(r);i>=55296&&i<=56319&&(e--,r++)}}return e<=g};function buildTree(d,g){const e={};let r=null;return d.forEach(i=>{e[i.properties.uuid]=__spreadProps(__spreadValues({},i),{children:[]})}),g.forEach(i=>{const l=e[i.startNodeUuid],c=e[i.endNodeUuid];l&&c&&l.children.push(c)}),d.forEach(i=>{!g.some(c=>c.endNodeUuid===i.properties.uuid)&&(r=e[i.properties.uuid])}),r}const handleValidatorNickName=(d,g,e)=>{if(g){let r=/[`~!@#$%^&*()\-+=<>?:"{}|,.\/;'\\[\]~@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、]/im;const l=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi.test(g),c=r.test(g);(l===!0||c===!0||g.length<2||g.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57\u53CA\u4E0B\u5212\u7EBF")}e()},handleValidatorName=(d,g,e)=>{if(g){let r=/[`~!@#$%^&()_\-+=<>?:"{}|,.\/;'\\[\]~@#¥%……&()——\-+={}|《》?:“”【】、;‘’,。、]/im;const l=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi.test(g),c=r.test(g);(l===!0||c===!0||g.length<2||g.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57")}e()},getHiddenName=d=>{if(!d)return"";let g=d.length-1,e="";for(var r=0;r<g;r++)e+="*";return d.substr(0,1)+e},getBase64=(d,g)=>{const e=new FileReader;e.addEventListener("load",()=>g(e.result)),e.readAsDataURL(d)},getFileContentAndUrl=d=>new Promise((g,e)=>{var r=new FileReader;r.onload=function(){try{const i=window.URL.createObjectURL(d);g({text:this.result,link:i})}catch(i){antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning("\u5F53\u524D\u6587\u4EF6\u65E0\u6CD5\u8BFB\u53D6\u5185\u5BB9"),e("\u5F53\u524D\u6587\u4EF6\u65E0\u6CD5\u8BFB\u53D6\u5185\u5BB9")}},r.readAsText(d)});function setmiyah(d){return md5__WEBPACK_IMPORTED_MODULE_6___default()("79e33abd4b6588941ab7622aed1e67e8"+d)}const getCookie=d=>{var g,e=RegExp("(^| )"+d+"=([^;]+)(;|$)");return(g=document.cookie.match(e))?decodeURIComponent(g[2]):null};function setCookie(d,g,e){var r=new Date;r.setTime(r.getTime()+e*24*60*60*1e3);var i="expires="+r.toUTCString();document.cookie=d+"="+g+"; "+i+`;domain=${document.domain.indexOf("educoder.net")>-1?".educoder.net":document.domain};path=/;SameSite=None;secure`}const delCookie=d=>{document.cookie=d+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;"},clearAllCookies=()=>{for(var d=document.cookie.split(";"),g=0;g<d.length;g++){var e=d[g],r=e.indexOf("="),i=r>-1?e.substr(0,r):e;document.cookie=i+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT"}};function downLoadLink(d,g){let e=document.createElement("a");document.body.appendChild(e),e.href=g,d&&(e.title=d,e.download=d);let r=document.createEvent("MouseEvents");r.initEvent("click",!1,!1),e.dispatchEvent(r),document.body.removeChild(e)}function getFirstLevelDomain(){var d=window.location.hostname,g=d.split(".").reverse();return g.length>2?[g[1],g[0]].join("."):d}function getBlob(d){return new Promise(g=>{const e=new window.XMLHttpRequest;(d.indexOf(getFirstLevelDomain())>-1||location.hostname==="localhost"&&d.indexOf("/api/")>-1)&&(e.withCredentials=!0),e.open("GET",d,!0),e.responseType="blob",e.onload=()=>{e.status===200&&g(e.response)},e.send()})}function saveAs(d,g){if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveBlob(d,g);else{const e=document.createElement("a"),r=document.querySelector("body");e.href=window.URL.createObjectURL(d),e.download=g,e.style.display="none",r.appendChild(e),e.click(),r.removeChild(e),window.URL.revokeObjectURL(e.href)}}function download(d,g){getBlob(d).then(e=>{saveAs(e,g)})}function downLoadFileIframe(d,g){return new Promise((e,r)=>{var i=g,l=document.createElement("iframe"),c;document.body.appendChild(l),l.src=i,l.style.display="none",l.addEventListener("load",function(){setTimeout(()=>{document.body.removeChild(l)},1e3)},!0),c=setInterval(()=>{getCookie("fileDownload")&&(delCookie("fileDownload"),clearInterval(c),document.body.removeChild(l),e())},1e3)})}function downLoadFile(d,g){downLoadLink(d,g)}const setUrlQuery=d=>{let{url:g,query:e}=d;if(!g)return"";if(e){let r=[];for(const i in e)e.hasOwnProperty(i)&&!isUnOrNull(e[i])&&(typeof e[i]=="object"?e[i].map(l=>{r.push(`${i}[]=${l}`)}):r.push(`${i}=${e[i]}`));g.indexOf("?")!==-1?g=`${g}&${r.join("&")}`:g=`${g}?${r.join("&")}`,console.log("url1111",g)}return g};function isPc(){let d=navigator.userAgent,g=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],e=!0;for(var r=0;r<g.length;r++)if(d.indexOf(g[r])>0){e=!1;break}return e}function isChrome(){let d=navigator.userAgent;return["Chrome"].some(e=>d.indexOf(e)>-1)}function isFirefox(){let d=navigator.userAgent;return["Firefox"].some(e=>d.indexOf(e)>-1)}function isChromeOrFirefox(){let d=navigator.userAgent;return["Chrome","Firefox"].some(e=>d.indexOf(e)>-1)}const formatMoney=(d="")=>{var g;return(g=d==null?void 0:d.toString())==null?void 0:g.replace(/\B(?=(\d{3})+(?!\d))/g,",")},openNewWindow=d=>{let g=document.createElement("a");g.target="_blank",document.body.appendChild(g),g.href=d;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),g.dispatchEvent(e),document.body.removeChild(g)},openNewWindows=d=>{let g=document.createElement("a");document.body.appendChild(g),g.href=d;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),g.dispatchEvent(e),document.body.removeChild(g)},formatTextMiddleIntercept=(d="")=>d.length<=6?d:`${d.substring(0,3)}...${d.substring(d.length-3,d.length)}`,HalfPastOne=()=>{let d=new Date().getHours(),g=new Date().getMinutes();return g>=30?(d++,g="00"):g="30",d+":"+g},DayHalfPastOne=(d="-")=>{let g=new Date().getHours(),e=new Date().getMinutes();return e>=30?(g++,e="00"):e="30",new Date().toLocaleDateString().replace(/\//g,d)+" "+g+":"+e};var Type=(d=>(d.Number="Number",d.String="String",d.Boolean="Boolean",d.Object="Object",d.Array="Array",d.Function="Function",d))(Type||{});const type=d=>{const g=Object.prototype.toString.call(d);return g.substring(8,g.length-1)},isEmpty=d=>type(d)==="Array"?d.length===0:type(d)==="Object"?Object.keys(d).length===0:!d,rangeNumber=(d,g)=>{const e=[];for(let r=d;r<g;r++)e.push(r);return e},middleEllipsis=(d,g=12)=>{let e=g/2-2,r=g/2+3;return d.length>g?d.substr(0,e)+"..."+d.substr(r,g):d},formatRate=d=>d>4.5?5:d>4&&d<=4.5?4.5:d>3.5&&d<=4?4:d>3&&d<=3.5?3.5:d>2.5&&d<=3?3:d>2&&d<=2.5?2.5:d>1.5&&d<=2?2:d>1&&d<=1.5?1.5:d>.5&&d<=1?1:d>0&&d<=.5?.5:0,isUnOrNull=d=>d==null;function getUrlToken(d,g){const e=new RegExp(`(^|&)${d}=([^&]*)(&|$)`,"i"),r=g.substr(1).match(e);return r!=null?decodeURIComponent(r[2]):null}const getMessagesUrl=d=>{var g;if(d.link_url)return window.open(d.link_url);switch(d==null?void 0:d.container_type){case"TeacherChangeUserInfo":return window.open("/account/profile");case"TeacherResetUserPassword":return window.open("/account/secure");case"ApplyUserAuthentication":return window.open("/account/certification")}switch(d.container_type){case"ApplyUserAuthentication":if(d.tiding_type==="Apply"){if(d.auth_type===1)return window.open("/admins/identity_authentications");if(d.auth_type===2)return window.open("/admins/professional_authentications")}return d.tiding_type==="System"?window.open("/account/certification"):d.tiding_type==="Code"?window.open("/account/profile"):void 0;case"CancelUserAuthentication":return window.open("/account/certification");case"CancelUserProCertification":return window.open("/account/certification");case"ApplyAddMajor":return window.open("/account/profile");case"Major":return window.open("/account/profile");case"ApplyAddDepartment":return d.tiding_type==="Apply"?window.open("/admins/department_applies"):d.tiding_type==="System"?window.open("/account/profile"):void 0;case"ApplyAddSchools":return d.tiding_type==="Apply"?window.open("/admins/unit_applies"):d.tiding_type==="System"?window.open("/account/profile"):void 0;case"ApplyAction":switch(d.parent_container_type){case"ApplyShixun":if(d.tiding_type==="Apply")return window.open("/admins/shixun_authorizations");if(d.tiding_type==="System")return window.open(`/shixuns/${d.identifier}/challenges`);case"ApplySubject":if(d.tiding_type==="Apply")return window.open("/admins/subject_authorizations");if(d.tiding_type==="System")return window.open(`/paths/${d.parent_container_id}`);case"TrialAuthorization":if(d.tiding_type==="Apply")return window.open("/managements/trial_authorization");if(d.tiding_type==="System")return window.open("/account/profile")}return;case"JoinCourse":return window.open(`/classrooms/${d.belong_container_id}/teachers`);case"StudentJoinCourse":if(d.tiding_type==="Apply")return window.open(`/classrooms/${d.belong_container_id}/teachers`);if(d.tiding_type==="System")return window.open(`/classrooms/${d.belong_container_id}/students`);case"DealCourse":return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"TeacherJoinCourse":return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"Course":return d.tiding_type==="Delete"?void 0:window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"ArchiveCourse":return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"Shixun":return window.open(`/shixuns/${d.identifier}/challenges`);case"Subject":return window.open(`/paths/${d.container_id}`);case"JournalsForMessage":switch(d.parent_container_type){case"Principal":return"";case"HomeworkCommon":return d.homework_type==="normal"?window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/question`):d.homework_type==="group"?window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/question`):d.homework_type==="practice"?window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=1`):"";case"GraduationTopic":return window.open(`/classrooms/${d.belong_container_id}/graduation_topics/${d.parent_container_id}/detail`);case"StudentWorksScore":return window.open(d.link_url)}case"Memo":return window.open(`/forums/${d.parent_container_id}`);case"Message":return window.open("/forums/");case"Watcher":return window.open(`/users/${d.trigger_user.login}/classrooms`);case"PraiseTread":return"";case"Grade":return"";case"JoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"ReporterJoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"DealProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"ManagerJoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"Poll":switch(d.parent_container_type){case"CommitPoll":return window.open(` /classrooms/${d.belong_container_id}/poll/${d.container_id}/detail`);default:return window.open(` /classrooms/${d.belong_container_id}/poll/${d.container_id}/detail`)}case"Exercise":switch(d.parent_container_type){case"CommitExercise":return window.open(` /classrooms/${d.belong_container_id}/exercise/${d.container_id}/detail?tab=0`);case"ExerciseScore":return window.open(` /classrooms/${d.belong_container_id}/exercise/${d.container_id}/detail?tab=0`);default:return window.open(`/classrooms/${d.belong_container_id}/exercise/${d.container_id}/detail?tab=0`)}case"StudentGraduationTopic":return window.open(`/classrooms/${d.belong_container_id}/graduation_topics/${d.parent_container_id}/detail`);case"DealStudentTopicSelect":return window.open(`/classrooms/${d.belong_container_id}/graduation_topics/${d.parent_container_id}/detail`);case"GraduationTask":return window.open(`/classrooms/${d.belong_container_id}/graduation_tasks/${d.container_id}`);case"GraduationWork":return window.open(`/classrooms/${d.belong_container_id}/graduation_tasks/${d.container_id}`);case"GraduationWorkScore":return window.open(`/classrooms/${d.belong_container_id}/graduation_tasks/${d.parent_container_id}`);case"HomeworkCommon":switch(d.parent_container_type){case"AnonymousCommentFail":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`);case"HomeworkPublish":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`);case"AnonymousAppeal":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`);default:if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`)}case"StudentWork":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/review/${d.container_id}`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/review/${d.container_id}`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail`);case"StudentWorksScore":return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.trigger_user.id}/review/${d.parent_container_id}`);case"StudentWorksScoresAppeal":return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.trigger_user.id}/review/${d.parent_container_id}`);case"ChallengeWorkScore":return"";case"SendMessage":return window.open(`${_env__WEBPACK_IMPORTED_MODULE_7__.Z.API_SERVER}/admins/mirror_repositories`);case"Journal":return window.open(`/issues/${d.parent_container_id}`);case"Issue":return window.open(`/issues/${d.container_id}`);case"PullRequest":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"Department":return window.open("/account/profile");case"Library":if(d.tiding_type==="Apply")return window.open("/admins/library_applies");if(d.tiding_type==="System")return window.open(`/moop_cases/${d.container_id}`);case"ProjectPackage":return d.tiding_type==="Destroyed"||d.tiding_type==="Destroyed_end"?void 0:d.tiding_type==="Apply"?window.open("/admins/project_package_applies"):window.open(`/crowdsourcing/${d.container_id}`);case"Discuss":return d.parent_container_type==="Hack"&&d.extra?window.open(`/myproblems/${d.extra}/comment`):d.extra==="ai_reply"&&d.task_identifier?window.open(`/tasks/${d.task_identifier}?extra=extra`):window.open(`/shixuns/${d.identifier}/shixun_discuss`);case"Video":return d.tiding_type==="Apply"?window.open("/admins/video_applies"):d.tiding_type==="System"?window.open(`/users/${(g=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:g.login}/videos`):"";case"PublicCourseStart":return window.open(`/classrooms/${d.container_id}/informs`);case"SubjectStartCourse":return window.open(`/paths/${d.container_id}`);case"ResubmitStudentWork":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/${d.container_id}/appraise`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/${d.container_id}/appraise`);case"AdjustScore":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}`);case"LiveLink":return window.open(`/classrooms/${d.belong_container_id}/course_videos?open=live`);case"Hack":if(d.extra&&d.parent_container_type!=="HackDelete")return window.open(`/problems/${d.extra}/edit`);default:return}},checkLocalOrPublicIp=(d,g)=>__async(void 0,null,function*(){let e="",r;return new Promise((i,l)=>__async(void 0,null,function*(){if(d.ip_limit!=="no"||d.ip_bind_type)try{e=yield(0,_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__.y)({ip_limit:d==null?void 0:d.ip_limit,ip_bind:d==null?void 0:d.ip_bind_type}),console.log(e,44)}catch(f){l(void 0)}const c=yield(0,_service_exercise__WEBPACK_IMPORTED_MODULE_3__.Cl)({id:d.exerciseId,ip:e});if(c.status===0)i(c);else if(c.status===-5){(0,umi__WEBPACK_IMPORTED_MODULE_5__.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:{errorMessage:c==null?void 0:c.message,exercise_user_id:d==null?void 0:d.exercise_user_id,id:d.exerciseId,unlockClose:d.unlockClose}}});return}else i(c);if(d.errmsgHide||g)return!0;if(c.status===-1)return r=antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{flex:"1"},"\u63D0\u793A"),react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>r.destroy()}))),icon:null,className:"custom-modal-divider",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16 p20"},"\u60A8\u7684IP\u4E0D\u5728\u8003\u8BD5\u5141\u8BB8\u7684\u8303\u56F4\u5185\uFF01"),okText:"\u6211\u77E5\u9053\u4E86"}),!1;if(c.status===-2)return r=antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{flex:"1"},"\u63D0\u793A"),react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>r.destroy()}))),icon:null,className:"custom-modal-divider",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16 p20"},"\u60A8\u5DF2\u7ED1\u5B9A\u5F53\u524D\u8003\u8BD5IP\u5730\u5740\uFF1A",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},c.ip),"\u8BF7\u4F7F\u7528\u8BE5IP\u5730\u5740\u8FDB\u5165\u8003\u8BD5\u3002"),okText:"\u6211\u77E5\u9053\u4E86"}),!1}))}),checkDisabledExam=d=>new Promise((g,e)=>__async(void 0,null,function*(){const r=yield(0,_service_exercise__WEBPACK_IMPORTED_MODULE_3__.Zg)({id:d==null?void 0:d.exerciseId,coursesId:d==null?void 0:d.coursesId});if((r==null?void 0:r.status)===0){g("");return}setTimeout(()=>{window.location.reload()},2e3),e("")})),isKepuKehuan=()=>location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1,startExercise=d=>__async(void 0,null,function*(){var g,e,r;sessionStorage.removeItem("studentunlock");let i;if((location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1)&&!isPc()){antd__WEBPACK_IMPORTED_MODULE_15__.default.info({content:"\u8BF7\u4F7F\u7528\u7535\u8111\u53C2\u52A0\u8003\u8BD5\uFF01"});return}if(copyTextFuc(" ",!0),yield checkDisabledExam(d),d.ip_limit!=="no"||d.ip_bind){const l=yield checkLocalOrPublicIp(d,!0);if((l==null?void 0:l.status)!==0)return;if(!isChrome()){antd__WEBPACK_IMPORTED_MODULE_15__.default.info({icon:null,okText:"\u786E\u5B9A",width:500,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3002",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),"\u8BF7\u4F7F\u7528",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")});return}}if(d.forbid_screen){const l=new WebSocket("ws://localhost:8082");yield new Promise(c=>setTimeout(()=>c(),200)),sendAppStatus(l,d)}if(d.open_camera||d.screen_open||d.ip_limit!=="no"||d.identity_verify){if(!isChromeOrFirefox())return antd__WEBPACK_IMPORTED_MODULE_15__.default.info({icon:null,okText:"\u786E\u5B9A",width:500,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u3002",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),"\u8BF7\u4F7F\u7528",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")}),!1;d.open_phone_video_recording?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(g=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:g.login}/check`:d.identity_verify&&d.current_status===2?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(e=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:e.login}/check`:window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(r=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:r.login}`}else d.identity_verify&&d.current_status===2?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${d.login}/check`:window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${d.login}`});var httpBuildQuery=function(d,g,e,r){if(console.log("param:",d),g=g||null,e=e||"&",r=r||null,!d)return"";var i=function(s){for(var h=new Array,u=0;u<s.length;u++)s[u]&&h.push(s[u]);return h},l=function(s){return encodeURIComponent(s).replace(/[!'()*]/g,escape)},c=function(s){return!isNaN(parseFloat(s))&&isFinite(s)},f=Object.keys(d).map(function(s){var h,u=s;if(typeof d[s]=="object"&&d[s]!==null)h=httpBuildQuery(d[s],null);else{g&&(u=c(u)?g+Number(u):u);var a=d[s];a=a===!0?"1":a,a=a===!1?"0":a,a=a===0?"0":a,a=a||"",h=u+"="+a}return h});return i(f).join(e).replace(/[!'()*]/g,escape)};const parseParamsStr=(d,g)=>{const e={},r=Object.assign(!0,d,{}),i=[];return Object.keys(r).sort().forEach(function(l){if(r[l]=r[l]===!0?"true":r[l],r[l]=r[l]===!1?"false":r[l],g==="GET"){if(r[l]!==null){if(typeof r[l]=="object"&&(!Array.isArray(r[l])||Array.isArray(r[l])&&!r[l].length))return;const c=r[l]===null||r[l]==="null"?"":r[l];i.push(`${l}=${typeof c=="string"||typeof c=="number"?decodeURIComponent(c):JSON.stringify(c)}`)}}else{const c=r[l]===null||r[l]==="null"?"":r[l];i.push(`${l}=${typeof c=="string"||typeof c=="number"?c:JSON.stringify(c)}`),r[l],e[l]=r[l]}}),i.join("&").trim()},educationList=[{name:"\u672C\u79D1",id:6},{name:"\u5927\u4E13",id:5},{name:"\u4E2D\u4E13",id:4},{name:"\u9AD8\u4E2D",id:3},{name:"\u521D\u4E2D",id:2},{name:"\u5C0F\u5B66",id:1},{name:"\u5176\u4ED6",id:9},{name:"\u7855\u58EB",id:7},{name:"\u535A\u58EB",id:8},{name:"\u9AD8\u4E2D",id:3},{name:"\u521D\u4E2D",id:2},{name:"\u5C0F\u5B66",id:1},{name:"\u5176\u4ED6",id:9},{name:"\u7855\u58EB",id:7},{name:"\u535A\u58EB",id:8}];function getTopLevelDomain(){let d=window.location.hostname;if(/^\d+\.\d+\.\d+\.\d+$/.test(d)||d==="localhost")return d;let g=d.split(".");return g.length>2&&/^[a-z]{2}$/.test(g[g.length-2])?g.slice(-3).join("."):g.slice(-2).join(".")}const setHeader=(d,g)=>{var e;try{const r=Date.now(),i=(0,uuid__WEBPACK_IMPORTED_MODULE_18__.Z)();let l="method="+((e=d.method)==null?void 0:e.toLocaleUpperCase())+"&ak="+getKey(_key__WEBPACK_IMPORTED_MODULE_19__.mi)+"&sk="+getKey(_key__WEBPACK_IMPORTED_MODULE_19__.hw)+"&time="+r;return d.headers["X-EDU-Type"]="pc",d.headers["X-EDU-Timestamp"]=r,d.headers["X-EDU-Signature"]=md5__WEBPACK_IMPORTED_MODULE_6___default()(window.btoa(l)),d.headers["Pc-Authorization"]=getCookie("_educoder_session"),d.headers["X-Request-Id"]=i,d}catch(r){console.log("error:",r,d,g)}},setThreeComponent=()=>{(function(d){XMLHttpRequest.prototype.open=function(g,e,r=!0){const i=setHeader({method:g,headers:{}});d.call(this,g,e,r);try{e.indexOf(getTopLevelDomain())>-1&&(this.setRequestHeader("X-EDU-Type","pc"),this.setRequestHeader("X-EDU-Timestamps",i.headers["X-EDU-Timestamp"]),this.setRequestHeader("X-EDU-Signatures",i.headers["X-EDU-Signature"]),this.setRequestHeader("Pc-Authorization",getCookie("_educoder_session")))}catch(l){}}})(XMLHttpRequest.prototype.open),function(d){window.fetch=function(g,e){var r;return e=e||{},(r=e.headers)!=null&&r["X-EDU-Timestamp"]||setHeader(e),d.apply(this,arguments).then(function(i){return i})}}(window.fetch)},parseUrl=d=>{const g=/(\w+)=([^\#&]*)/gi,e={};return d.replace(g,function(r,i,l){e[i]=decodeURI(l)}),e},messageInfo=(d,g)=>{const r={1:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u6682\u672A\u53D1\u5E03\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",2:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u4E0D\u5B58\u5728\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",3:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",4:`\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u5C06\u4E8E${g}\u53D1\u5E03\uFF0C\u8BF7\u7B49\u5F85\u3002`}[d];antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning(r)},base64ToBlob=(d,g)=>{var e;const r=window.atob(d),i=r.length,l=new Uint8Array(i);for(let c=0;c<i;++c)l[c]=r.charCodeAt(c);return new Blob([l],{type:_contentType__WEBPACK_IMPORTED_MODULE_4__.F[(e=g.split("."))==null?void 0:e[1]]||"application/octet-stream"})},downloadFile=(d,g,e)=>{const r=base64ToBlob(g,e);if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(r,d);else{const i=document.createElement("a");i.href=window.URL.createObjectURL(r),i.download=d,document.body.appendChild(i);const l=document.createEvent("MouseEvents");l.initEvent("click",!1,!1),i.dispatchEvent(l),document.body.removeChild(i)}},trackEvent=d=>{var g;if(d.length)try{window._czc.push(["_trackEvent",...d]),window==null||window.gtag("event",d[1],{event_category:d[0],event_label:d[2]||"",value:d[3]||"",user_id:((g=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:g.login)||""})}catch(e){console.log("trackEvent:err:",e)}},trackEventCustom=d=>{if(d.length)try{window._czc.push(["_setCustomVar",...d])}catch(g){console.log("trackEvent:err:",g)}},onPreviewImage=d=>{const g=(i,l)=>{if(i.localName===l)return i;for(let c=0,f=i;f=f.parentNode;c++){if(f.localName===l)return f;if(f==document.documentElement)return!1}},e=d.target,r=g(e,"a");if(!(r!=null&&r.href)&&e.tagName.toUpperCase()==="IMG"){let i=e.src||e.getAttribute("src");i&&i.indexOf("/images/avatars/User")===-1&&(d.stopPropagation(),d.preventDefault(),_components_mediator__WEBPACK_IMPORTED_MODULE_8__.Z.publish("preview-image",i))}},getCategoryName=(d,g)=>{var e,r,i,l;if(d&&d!=""){let c=(e=d==null?void 0:d.filter(f=>f.type===location.pathname.split("/")[3]))==null?void 0:e[0];return g?(l=(i=(r=c==null?void 0:c.second_category)==null?void 0:r.filter(f=>f.category_id==g))==null?void 0:i[0])==null?void 0:l.category_name:c==null?void 0:c.name}return null},bindPhone=d=>{const g=antd__WEBPACK_IMPORTED_MODULE_15__.default.confirm({title:"\u5B8C\u5584\u624B\u673A\u53F7\u7801",content:"\u6309\u7167\u6709\u5173\u653F\u7B56\u89C4\u5B9A\uFF0C\u7279\u6B8A\u5B9E\u9A8C\u9700\u8981\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u624D\u80FD\u4F7F\u7528\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801",okText:"\u7ACB\u5373\u7ED1\u5B9A",cancelText:"\u53D6\u6D88",centered:!0,onOk:()=>{location.href="/account/secure"},onCancel:()=>{g.destroy(),d!=null&&d.onCancel&&d.onCancel()}})},copyTextFuc=(d="",g=!1)=>{const e=document.createElement("textarea");e.value=d,document.body.appendChild(e),e.select(),document.execCommand("Copy"),g||antd__WEBPACK_IMPORTED_MODULE_14__.ZP.success("\u590D\u5236\u6210\u529F"),document.body.removeChild(e)},getJsonFromUrl=d=>{if(d||(d=window.location.search),!d)return{};let g=d.substring(1),e={};return g.split("&").forEach(function(r){let i=r.split("=");e[i[0]]=decodeURIComponent(i[1])}),e},arrTrans=(d,g)=>{if(!g)return null;const e=[];return g.forEach((r,i)=>{const l=Math.floor(i/d);e[l]||(e[l]=[]),e[l].push(r)}),e},setDocumentTitle=d=>{checkIsClientExam()?document.title="\u5934\u6B4C\u8003\u8BD5\u7CFB\u7EDF":d!==""&&d&&(document.title=d||(document.domain.indexOf(".educoder.net")>-1?"\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0":""))},checkIsClientExam=()=>{var d;return(d=window==null?void 0:window.localStorage)==null?void 0:d.isClientExam},localSort={setItem:(d,g,e)=>{const r=d,i=localStorage.getItem(r),l=i!==null&&i!=="[object Object]"?JSON.parse(i):{};l[e]=g,localStorage.setItem(r,JSON.stringify(l))},getItem:(d,g)=>{const e=d,r=localStorage.getItem(e);return(r!==null&&r!=="[object Object]"?JSON.parse(r):{})[g]}},ImgSrcConvert=d=>d!=null&&d.startsWith("http")?d:_env__WEBPACK_IMPORTED_MODULE_7__.Z.IMG_SERVER+d,compareVersion=d=>{const g=getVersion(),e=d.split("."),r=g.split("."),i=Math.max(e.length,r.length);for(;e.length<i;)e.push("0");for(;r.length<i;)r.push("0");for(let l=0;l<i;l++){const c=parseInt(e[l]),f=parseInt(r[l]);if(c>f)return 1;if(c<f)return-1}return 0},getImageUrl=(d,g)=>{d=`${d}${g?","+g:""}`;const e=crypto_js__WEBPACK_IMPORTED_MODULE_11___default().enc.Utf8.parse(window.atob(window.atob(_key__WEBPACK_IMPORTED_MODULE_19__.Bn)).substring(0,16)),r=crypto_js__WEBPACK_IMPORTED_MODULE_11___default().AES.encrypt(d||"",e,{iv:e,mode:crypto_js__WEBPACK_IMPORTED_MODULE_11___default().mode.CBC});return window.btoa(r.toString())},getVersion=()=>{const g=navigator.userAgent.toLowerCase().match(/version\/[\d.]+/gi);return g&&g[0].replace(/version\//,"")},isLocalApp=()=>navigator.userAgent.indexOf("ExerciseApp")>-1;function randomArray(d,g){let e=d.length,r,i;g=g||1;let l=function(){var c=Math.sin(g++)*1e3;return c-Math.floor(c)};for(;e!==0;)i=Math.floor(l()*e),e-=1,r=d[e],d[e]=d[i],d[i]=r;return d}function pointerEvents(d){const g=document.getElementsByTagName("iframe");for(let r=0;r<g.length;r++)g[r].style["pointer-events"]=d;const e=document.getElementsByTagName("canvas");for(let r=0;r<e.length;r++)e[r].style["pointer-events"]=d}const toDataUrl=d=>new Promise((g,e)=>{var r=new XMLHttpRequest;r.withCredentials=!0,r.onload=function(){var i=new FileReader;i.onloadend=function(){g(i.result)},i.readAsDataURL(r.response)},r.open("GET",d),r.responseType="blob",r.send()}),vtrsKey=(_b=(_a=location==null?void 0:location.pathname)==null?void 0:_a.split("/"))==null?void 0:_b[1];function scrollToTop(){window.scrollTo({left:0,top:0,behavior:"smooth"})}function domScrollToTop(d){var g;(g=document.querySelector(d))==null||g.scrollTo({left:0,top:0,behavior:"smooth"})}function dealUploadChange(d){var g,e,r,i,l;const c=(g=d.fileList)==null?void 0:g.map(f=>{var s,h;return __spreadProps(__spreadValues({},f),{status:typeof(f==null?void 0:f.response)=="string"||((s=f==null?void 0:f.response)==null?void 0:s.status)===-1?"error":f.status,response:typeof(f==null?void 0:f.response)=="string"?f==null?void 0:f.response:f!=null&&f.response&&(f==null?void 0:f.response.status)===-1?(h=f==null?void 0:f.response)==null?void 0:h.message:f==null?void 0:f.response})});return((r=(e=d.file)==null?void 0:e.response)==null?void 0:r.status)===-1&&(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.destroy(),antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning((l=(i=d.file)==null?void 0:i.response)==null?void 0:l.message)),c}function cutFileName(d="",g){if(!d)return"";const e=d.lastIndexOf(".");let r=[d,""];if(e!==-1&&e!==d.length-1){const i=d.substring(0,e),l=d.substring(e+1);r=[i,l]}return r[0].length>g?r[0].slice(0,g)+"..."+r[1]:d}function cutName(d="",g,e="--"){return d?(d==null?void 0:d.length)>=g?(d==null?void 0:d.slice(0,g))+"...":d:e}function timeContrast(d){return d?moment__WEBPACK_IMPORTED_MODULE_12___default()().isBefore(moment__WEBPACK_IMPORTED_MODULE_12___default()(d)):!0}function showTotal(d){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"font14 c-grey-333"},"\u5171",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-light-primary"},"\xA0",d,"\xA0"),"\u6761\u6570\u636E")}const formatRandomPaperData=d=>{const g={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03"};if(!d)return;const{exam:e,single_questions:r,multiple_questions:i,judgement_questions:l,program_questions:c,completion_questions:f,subjective_questions:s,practical_questions:h,combination_questions:u,bprogram_questions:a}=d||{},x=[__spreadValues({type:"SINGLE",name:"\u5355\u9009\u9898"},r),__spreadValues({type:"MULTIPLE",name:"\u591A\u9009\u9898"},i),__spreadValues({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},f),__spreadValues({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},l),__spreadValues({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},s),__spreadValues({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},c),__spreadValues({type:"BPROGRAM",name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"},a),__spreadValues({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},h),__spreadValues({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},u)],p=[];let y=0,_=0;const b=x.filter(S=>S.questions_count>0).map((S,R)=>{var L;return(L=S.questions)==null||L.forEach(C=>{p.push(C.id),y=y+C.score,_=_+1}),__spreadValues(__spreadValues({},S),{number:g[R+1]})});return{all_questions_count:_,all_score:y,questionList:b,ids:p,exam:e}},formatRandomPaperDatas=d=>{var g;const e={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03"};if(!d)return;const{exam:r,single_questions:i,multiple_questions:l,judgement_questions:c,program_questions:f,completion_questions:s,subjective_questions:h,practical_questions:u,combination_questions:a,bprogram_questions:x}=d||{},p=[__spreadValues({type:"SINGLE",name:"\u5355\u9009\u9898"},i),__spreadValues({type:"MULTIPLE",name:"\u591A\u9009\u9898"},l),__spreadValues({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},s),__spreadValues({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},c),__spreadValues({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},h),__spreadValues({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},f),__spreadValues({type:"BPROGRAM",name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"},x),__spreadValues({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},u),__spreadValues({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},a)];let y=[];(g=r==null?void 0:r.question_type_position)==null||g.map((L,C)=>{p==null||p.map((D,B)=>{L.type===D.type&&y.push(D)})});const _=[];let b=0,S=0;const R=y.filter(L=>L.questions_count>0).map((L,C)=>{var D;return(D=L.questions)==null||D.forEach(B=>{_.push(B.id),b=b+B.score,S=S+1}),__spreadValues(__spreadValues({},L),{number:e[C+1]})});return{all_questions_count:S,all_score:b,questionList:R,ids:_,exam:r}},isWechatBrowser=()=>navigator.userAgent.toLowerCase().match(/MicroMessenger/i)=="micromessenger",toWechatLogin=()=>{isWechatBrowser()?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx0955caba88bc37eb&redirect_uri=https%3A%2F%2Fwww.educoder.net%2fotherloginstart&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect":window.location.href="/wxlogin.html"},isMobileDevice=()=>typeof window.orientation!="undefined"||navigator.userAgent.indexOf("Mobi")!==-1,sendAppStatus=(d,g)=>{var e;try{g?(d.send(JSON.stringify({type:"toggleLockExit",data:!0})),g!=null&&g.forbid_screen&&d.send(JSON.stringify({type:"open-disabled-switchscreen"})),g!=null&&g.use_white_list&&d.send(JSON.stringify({type:"open-only-allow-runapp",data:g==null?void 0:g.white_list})),g!=null&&g.net_limit&&d.send(JSON.stringify({type:"network-close",data:(e=g==null?void 0:g.net_limit_list)==null?void 0:e.split(`
`)}))):(d.send(JSON.stringify({type:"toggleLockExit",data:!1})),d.send(JSON.stringify({type:"close-disabled-switchscreen"})),d.send(JSON.stringify({type:"close-only-allow-runapp"})),d.send(JSON.stringify({type:"network-open"})))}catch(r){}},addJumping=()=>{const d=document.querySelector('a[title="\u589E\u52A0\u586B\u7A7A"]'),g=d==null?void 0:d.querySelector("span");g&&(g.classList.remove("jumping-icon"),g.offsetWidth,g.classList.add("jumping-icon"),setTimeout(()=>{var e;(e=g==null?void 0:g.classList)==null||e.remove("jumping-icon")},2e3))},showClassroomsmodal=d=>d!=null&&d.forbid_student_visit?(antd__WEBPACK_IMPORTED_MODULE_15__.default.warning({title:"\u63D0\u793A",icon:null,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{fontWeight:600}},d==null?void 0:d.username,"\u8001\u5E08 "),"\u5DF2\u5173\u95ED\u8BE5\u8BFE\u5802\uFF0C\u5B66\u751F\u7528\u6237\u6682\u65F6\u65E0\u6CD5\u8BBF\u95EE ")}),!0):!1,getExamRestrictionInfo=d=>{const g=[];return d.is_locked&&g.push("\u8003\u8BD5\u89E3\u9501\u7801"),d.login_restrict&&g.push("\u8003\u8BD5\u767B\u5F55\u9650\u5236"),d.screen_open&&g.push("\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377"),d.ip_bind&&g.push("IP\u5730\u5740\u7ED1\u5B9A"),(d.ip_limit==="pub"||d.ip_limit==="inner")&&g.push("\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP"),d.open_camera&&g.push("\u8003\u8BD5\u4E2D\u542F\u7528\u62CD\u7167\u529F\u80FD\u8FDB\u884C\u76D1\u8003\u548C\u884C\u4E3A\u5206\u6790"),d.identity_verify&&g.push("\u8003\u8BD5\u524D\u4EBA\u8138\u8EAB\u4EFD\u6838\u9A8C"),d.open_phone_video_recording&&g.push("\u8003\u8BD5\u4E2D\u5F00\u542F\u624B\u673A\u89C6\u9891\u5F55\u5236"),g.length>0?g.join("\u3001"):""},releaseRuleDataAdjust=d=>{const g=d.reduce((r,i)=>{const l=`${i.publish_time}_${i.end_time}_${i.is_admin}`;return r[l]?(r[l].group_name.push(i.group_name),r[l].group_id.push(i.group_id)):r[l]={publish_time:i.publish_time,end_time:i.end_time,is_admin:i.is_admin,group_name:[i.group_name],group_id:[i.group_id]},r},{});return Object.values(g).map(r=>__spreadProps(__spreadValues({},r),{group_name:r.group_name.flat(),group_id:r.group_id.flat()}))},showInstallWebRtcDoc=()=>new Promise((d,g)=>__async(void 0,null,function*(){const e=yield(0,_utils_fetch__WEBPACK_IMPORTED_MODULE_10__.ZP)("/api/documents/webrtc_content",{method:"get"});antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:"WebRTC\u63D2\u4EF6\u5B89\u88C5\u6559\u7A0B",width:"1000px",centered:!0,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{style:{maxHeight:"70vh",overflow:"auto"}},react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__.Z,{value:(e==null?void 0:e.data)||""}))}),d(e==null?void 0:e.data)}));function copyToClipboard(d){return navigator.clipboard?navigator.clipboard.writeText(d).then(()=>(console.log("Text copied to clipboard successfully!"),!0)).catch(g=>{throw console.error("Failed to copy text: ",g),g}):new Promise((g,e)=>{const r=document.createElement("textarea");r.value=d,document.body.appendChild(r),r.select();try{const i=document.execCommand("copy");document.body.removeChild(r),i?(console.log("Text copied to clipboard successfully!"),g(!0)):(console.error("Failed to copy text using execCommand."),e(!1))}catch(i){document.body.removeChild(r),console.error("Failed to copy text: ",i),e(i)}})}const isArrayBuffer=d=>Object.prototype.toString.call(d)==="[object ArrayBuffer]",parseArrayBufferAsText=(d,g="utf-8")=>isArrayBuffer(d)?new TextDecoder(g).decode(d):d},58539:function(d,g,e){"use strict";e.d(g,{t:function(){return r}});const r=l=>{var c=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/;return c.test(l)},i=l=>{var c=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.$/;return c.test(l)}},95254:function(d,g,e){"use strict";e.d(g,{Il:function(){return f},Ov:function(){return s},T$:function(){return u}});var r=e(38127),i=e(59301),l=e(35338),c=["element"],f=i.createContext({});function s(){return i.useContext(f)}function h(){var y=(0,l.TH)(),_=s(),b=_.clientRoutes,S=(0,l.fp)(b,y.pathname);return S||[]}function u(){var y,_=h().slice(-1),b=((y=_[0])===null||y===void 0?void 0:y.route)||{},S=b.element,R=(0,r.Z)(b,c);return R}function a(){var y=h(),_=s(),b=_.serverLoaderData,S=_.basename,R=React.useState(function(){var B={},$=!1;return y.forEach(function(U){var K=b[U.route.id];K&&(Object.assign(B,K),$=!0)}),$?B:void 0}),L=_slicedToArray(R,2),C=L[0],D=L[1];return React.useEffect(function(){window.__UMI_LOADER_DATA__||Promise.all(y.filter(function(B){return B.route.hasServerLoader}).map(function(B){return new Promise(function($){fetchServerLoader({id:B.route.id,basename:S,cb:$})})})).then(function(B){if(B.length){var $={};B.forEach(function(U){Object.assign($,U)}),D($)}})},[]),{data:C}}function x(){var y=useRouteData(),_=s();return{data:_.clientLoaderData[y.route.id]}}function p(){var y=a(),_=x();return{data:_objectSpread(_objectSpread({},y.data),_.data)}}},91392:function(d){var g={en_GB:"en-gb",en_US:"en",zh_CN:"zh-cn",zh_TW:"zh-tw"},e=function(i){var l=g[i];return l||i.split("_")[0]};d.exports=function(r,i,l){var c=i.prototype.locale;i.prototype.locale=function(f){return typeof f=="string"&&(f=e(f)),c.call(this,f)}}},92806:function(d,g,e){"use strict";var r=e(41799),i=e(59301),l=e(3113),c=e(67797);function f(h){return!!(h&&h.then)}const s=h=>{const{type:u,children:a,prefixCls:x,buttonProps:p,close:y,autoFocus:_,emitEvent:b,isSilent:S,quitOnNullishReturnValue:R,actionFn:L}=h,C=i.useRef(!1),D=i.useRef(null),[B,$]=(0,r.Z)(!1),U=function(){y==null||y.apply(void 0,arguments)};i.useEffect(()=>{let G=null;return _&&(G=setTimeout(()=>{var oe;(oe=D.current)===null||oe===void 0||oe.focus()})),()=>{G&&clearTimeout(G)}},[]);const K=G=>{f(G)&&($(!0),G.then(function(){$(!1,!0),U.apply(void 0,arguments),C.current=!1},oe=>{if($(!1,!0),C.current=!1,!(S!=null&&S()))return Promise.reject(oe)}))},V=G=>{if(C.current)return;if(C.current=!0,!L){U();return}let oe;if(b){if(oe=L(G),R&&!f(oe)){C.current=!1,U(G);return}}else if(L.length)oe=L(y),C.current=!1;else if(oe=L(),!oe){U();return}K(oe)};return i.createElement(l.ZP,Object.assign({},(0,c.n)(u),{onClick:V,loading:B,prefixCls:x},p,{ref:D}),a)};g.Z=s},53487:function(d,g,e){"use strict";e.d(g,{Z:function(){return s},i:function(){return f}});var r=e(18929),i=e(59301),l=e(92736),c=e(36355);function f(h){return function(a){return i.createElement(l.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},i.createElement(h,Object.assign({},a)))}}function s(h,u,a,x){function p(y){const{prefixCls:_,style:b}=y,S=i.useRef(null),[R,L]=i.useState(0),[C,D]=i.useState(0),[B,$]=(0,r.Z)(!1,{value:y.open}),{getPrefixCls:U}=i.useContext(c.E_),K=U(u||"select",_);i.useEffect(()=>{if($(!0),typeof ResizeObserver!="undefined"){const G=new ResizeObserver(ae=>{const le=ae[0].target;L(le.offsetHeight+8),D(le.offsetWidth)}),oe=setInterval(()=>{var ae;const le=a?`.${a(K)}`:`.${K}-dropdown`,q=(ae=S.current)===null||ae===void 0?void 0:ae.querySelector(le);q&&(clearInterval(oe),G.observe(q))},10);return()=>{clearInterval(oe),G.disconnect()}}},[]);let V=Object.assign(Object.assign({},y),{style:Object.assign(Object.assign({},b),{margin:0}),open:B,visible:B,getPopupContainer:()=>S.current});return x&&(V=x(V)),i.createElement("div",{ref:S,style:{paddingBottom:R,position:"relative",minWidth:C}},i.createElement(h,Object.assign({},V)))}return f(p)}},36785:function(d,g,e){"use strict";e.d(g,{o2:function(){return f},yT:function(){return s}});var r=e(80702),i=e(33166);const l=i.i.map(h=>`${h}-inverse`),c=["success","processing","error","default","warning"];function f(h){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,r.Z)(l),(0,r.Z)(i.i)).includes(h):i.i.includes(h)}function s(h){return c.includes(h)}},47729:function(d,g,e){"use strict";e.d(g,{Z:function(){return c}});var r=e(99267),i=e(59301);function l(f,s,h){return typeof f=="boolean"?f:s===void 0?!!h:s!==!1&&s!==null}function c(f,s,h){let u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:i.createElement(r.Z,null),a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(!l(f,s,a))return[!1,null];const p=typeof s=="boolean"||s===void 0||s===null?u:s;return[!0,h?h(p):p]}},62892:function(d,g,e){"use strict";e.d(g,{m:function(){return h}});const r=()=>({height:0,opacity:0}),i=u=>{const{scrollHeight:a}=u;return{height:a,opacity:1}},l=u=>({height:u?u.offsetHeight:0}),c=(u,a)=>(a==null?void 0:a.deadline)===!0||a.propertyName==="height",f=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:i,onEnterActive:i,onLeaveStart:l,onLeaveActive:r,onAppearEnd:c,onEnterEnd:c,onLeaveEnd:c,motionDeadline:500}},s=null,h=(u,a,x)=>x!==void 0?x:`${u}-${a}`;g.Z=f},79676:function(d,g,e){"use strict";e.d(g,{Z:function(){return s}});var r=e(19447);function i(h,u,a,x){if(x===!1)return{adjustX:!1,adjustY:!1};const p=x&&typeof x=="object"?x:{},y={};switch(h){case"top":case"bottom":y.shiftX=u.dropdownArrowOffset*2+a;break;case"left":case"right":y.shiftY=u.dropdownArrowOffsetVertical*2+a;break}const _=Object.assign(Object.assign({},y),p);return _.shiftX||(_.adjustX=!0),_.shiftY||(_.adjustY=!0),_}const l={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},c={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},f=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function s(h){const{arrowWidth:u,autoAdjustOverflow:a,arrowPointAtCenter:x,offset:p,borderRadius:y,visibleFirst:_}=h,b=u/2,S={};return Object.keys(l).forEach(R=>{const L=x&&c[R]||l[R],C=Object.assign(Object.assign({},L),{offset:[0,0]});switch(S[R]=C,f.has(R)&&(C.autoArrow=!1),R){case"top":case"topLeft":case"topRight":C.offset[1]=-b-p;break;case"bottom":case"bottomLeft":case"bottomRight":C.offset[1]=b+p;break;case"left":case"leftTop":case"leftBottom":C.offset[0]=-b-p;break;case"right":case"rightTop":case"rightBottom":C.offset[0]=b+p;break}const D=(0,r.fS)({contentRadius:y,limitVerticalRadius:!0});if(x)switch(R){case"topLeft":case"bottomLeft":C.offset[0]=-D.dropdownArrowOffset-b;break;case"topRight":case"bottomRight":C.offset[0]=D.dropdownArrowOffset+b;break;case"leftTop":case"rightTop":C.offset[1]=-D.dropdownArrowOffset-b;break;case"leftBottom":case"rightBottom":C.offset[1]=D.dropdownArrowOffset+b;break}C.overflow=i(R,D,u,a),_&&(C.htmlRegion="visibleFirst")}),S}},92343:function(d,g,e){"use strict";var r;e.d(g,{M2:function(){return c},Tm:function(){return s},l$:function(){return l},wm:function(){return f}});var i=e(59301);const{isValidElement:l}=r||(r=e.t(i,2));function c(h){return h&&l(h)&&h.type===i.Fragment}function f(h,u,a){return l(h)?i.cloneElement(h,typeof a=="function"?a(h.props||{}):a):u}function s(h,u){return f(h,h,u)}},69507:function(d,g,e){"use strict";e.d(g,{ZP:function(){return s},c4:function(){return l},m9:function(){return h}});var r=e(59301),i=e(88088);const l=["xxl","xl","lg","md","sm","xs"],c=u=>({xs:`(max-width: ${u.screenXSMax}px)`,sm:`(min-width: ${u.screenSM}px)`,md:`(min-width: ${u.screenMD}px)`,lg:`(min-width: ${u.screenLG}px)`,xl:`(min-width: ${u.screenXL}px)`,xxl:`(min-width: ${u.screenXXL}px)`}),f=u=>{const a=u,x=[].concat(l).reverse();return x.forEach((p,y)=>{const _=p.toUpperCase(),b=`screen${_}Min`,S=`screen${_}`;if(!(a[b]<=a[S]))throw new Error(`${b}<=${S} fails : !(${a[b]}<=${a[S]})`);if(y<x.length-1){const R=`screen${_}Max`;if(!(a[S]<=a[R]))throw new Error(`${S}<=${R} fails : !(${a[S]}<=${a[R]})`);const C=`screen${x[y+1].toUpperCase()}Min`;if(!(a[R]<=a[C]))throw new Error(`${R}<=${C} fails : !(${a[R]}<=${a[C]})`)}}),u};function s(){const[,u]=(0,i.Z)(),a=c(f(u));return r.useMemo(()=>{const x=new Map;let p=-1,y={};return{matchHandlers:{},dispatch(_){return y=_,x.forEach(b=>b(y)),x.size>=1},subscribe(_){return x.size||this.register(),p+=1,x.set(p,_),_(y),p},unsubscribe(_){x.delete(_),x.size||this.unregister()},unregister(){Object.keys(a).forEach(_=>{const b=a[_],S=this.matchHandlers[b];S==null||S.mql.removeListener(S==null?void 0:S.listener)}),x.clear()},register(){Object.keys(a).forEach(_=>{const b=a[_],S=L=>{let{matches:C}=L;this.dispatch(Object.assign(Object.assign({},y),{[_]:C}))},R=window.matchMedia(b);R.addListener(S),this.matchHandlers[b]={mql:R,listener:S},S(R)})},responsiveMap:a}},[u])}const h=(u,a)=>{if(a&&typeof a=="object")for(let x=0;x<l.length;x++){const p=l[x];if(u[p]&&a[p]!==void 0)return a[p]}}},14088:function(d,g,e){"use strict";e.d(g,{Z:function(){return oe}});var r=e(92310),i=e.n(r),l=e(8654),c=e(29194),f=e(59301),s=e(36355),h=e(92343),u=e(83116);const a=ae=>{const{componentCls:le,colorPrimary:q}=ae;return{[le]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${q})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${ae.motionEaseOutCirc}`,`opacity 2s ${ae.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${ae.motionEaseInOut}`,`opacity 0.35s ${ae.motionEaseInOut}`].join(",")}}}}};var x=(0,u.Z)("Wave",ae=>[a(ae)]),p=e(70425),y=e(16089),_=e(77900),b=e(1585);function S(ae){const le=(ae||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return le&&le[1]&&le[2]&&le[3]?!(le[1]===le[2]&&le[2]===le[3]):!0}function R(ae){return ae&&ae!=="#fff"&&ae!=="#ffffff"&&ae!=="rgb(255, 255, 255)"&&ae!=="rgba(255, 255, 255, 1)"&&S(ae)&&!/rgba\((?:\d*, ){3}0\)/.test(ae)&&ae!=="transparent"}function L(ae){const{borderTopColor:le,borderColor:q,backgroundColor:J}=getComputedStyle(ae);return R(le)?le:R(q)?q:R(J)?J:null}var C=e(4572);function D(ae){return Number.isNaN(ae)?0:ae}const B=ae=>{const{className:le,target:q,component:J}=ae,Y=f.useRef(null),[ue,ne]=f.useState(null),[ee,ie]=f.useState([]),[F,M]=f.useState(0),[Q,de]=f.useState(0),[we,Ce]=f.useState(0),[je,Fe]=f.useState(0),[Ft,_t]=f.useState(!1),Pt={left:F,top:Q,width:we,height:je,borderRadius:ee.map(Jt=>`${Jt}px`).join(" ")};ue&&(Pt["--wave-color"]=ue);function qt(){const Jt=getComputedStyle(q);ne(L(q));const Xe=Jt.position==="static",{borderLeftWidth:It,borderTopWidth:zt}=Jt;M(Xe?q.offsetLeft:D(-parseFloat(It))),de(Xe?q.offsetTop:D(-parseFloat(zt))),Ce(q.offsetWidth),Fe(q.offsetHeight);const{borderTopLeftRadius:st,borderTopRightRadius:bt,borderBottomLeftRadius:ht,borderBottomRightRadius:Je}=Jt;ie([st,bt,Je,ht].map(Ue=>D(parseFloat(Ue))))}if(f.useEffect(()=>{if(q){const Jt=(0,y.Z)(()=>{qt(),_t(!0)});let Xe;return typeof ResizeObserver!="undefined"&&(Xe=new ResizeObserver(qt),Xe.observe(q)),()=>{y.Z.cancel(Jt),Xe==null||Xe.disconnect()}}},[]),!Ft)return null;const er=(J==="Checkbox"||J==="Radio")&&(q==null?void 0:q.classList.contains(C.A));return f.createElement(_.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(Jt,Xe)=>{var It;if(Xe.deadline||Xe.propertyName==="opacity"){const zt=(It=Y.current)===null||It===void 0?void 0:It.parentElement;(0,b.v)(zt).then(()=>{zt==null||zt.remove()})}return!1}},Jt=>{let{className:Xe}=Jt;return f.createElement("div",{ref:Y,className:i()(le,{"wave-quick":er},Xe),style:Pt})})};var U=(ae,le)=>{var q;const{component:J}=le;if(J==="Checkbox"&&!(!((q=ae.querySelector("input"))===null||q===void 0)&&q.checked))return;const Y=document.createElement("div");Y.style.position="absolute",Y.style.left="0px",Y.style.top="0px",ae==null||ae.insertBefore(Y,ae==null?void 0:ae.firstChild),(0,b.s)(f.createElement(B,Object.assign({},le,{target:ae})),Y)},K=e(88088);function V(ae,le,q){const{wave:J}=f.useContext(s.E_),[,Y,ue]=(0,K.Z)(),ne=(0,p.useEvent)(F=>{const M=ae.current;if(J!=null&&J.disabled||!M)return;const Q=M.querySelector(`.${C.A}`)||M,{showEffect:de}=J||{};(de||U)(Q,{className:le,token:Y,component:q,event:F,hashId:ue})}),ee=f.useRef();return F=>{y.Z.cancel(ee.current),ee.current=(0,y.Z)(()=>{ne(F)})}}var oe=ae=>{const{children:le,disabled:q,component:J}=ae,{getPrefixCls:Y}=(0,f.useContext)(s.E_),ue=(0,f.useRef)(null),ne=Y("wave"),[,ee]=x(ne),ie=V(ue,i()(ne,ee),J);if(f.useEffect(()=>{const M=ue.current;if(!M||M.nodeType!==1||q)return;const Q=de=>{!(0,c.Z)(de.target)||!M.getAttribute||M.getAttribute("disabled")||M.disabled||M.className.includes("disabled")||M.className.includes("-leave")||ie(de)};return M.addEventListener("click",Q,!0),()=>{M.removeEventListener("click",Q,!0)}},[q]),!f.isValidElement(le))return le!=null?le:null;const F=(0,l.Yr)(le)?(0,l.sQ)(le.ref,ue):ue;return(0,h.Tm)(le,{ref:F})}},4572:function(d,g,e){"use strict";e.d(g,{A:function(){return r}});const r="ant-wave-target"},67797:function(d,g,e){"use strict";e.d(g,{n:function(){return kt},Z:function(){return Yt}});var r=e(59301),i=e(92310),l=e.n(i),c=e(2738),f=e(8654),s=e(14088),h=e(36355),u=e(1684),a=e(19716),x=e(33234),p=e(88088),y=function(We,fe){var _e={};for(var Ot in We)Object.prototype.hasOwnProperty.call(We,Ot)&&fe.indexOf(Ot)<0&&(_e[Ot]=We[Ot]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Ot=Object.getOwnPropertySymbols(We);Pe<Ot.length;Pe++)fe.indexOf(Ot[Pe])<0&&Object.prototype.propertyIsEnumerable.call(We,Ot[Pe])&&(_e[Ot[Pe]]=We[Ot[Pe]]);return _e};const _=r.createContext(void 0);var S=We=>{const{getPrefixCls:fe,direction:_e}=r.useContext(h.E_),{prefixCls:Ot,size:Pe,className:dt}=We,Zt=y(We,["prefixCls","size","className"]),Tt=fe("btn-group",Ot),[,,ke]=(0,p.Z)();let St="";switch(Pe){case"large":St="lg";break;case"small":St="sm";break;case"middle":case void 0:break;default:}const be=l()(Tt,{[`${Tt}-${St}`]:St,[`${Tt}-rtl`]:_e==="rtl"},dt,ke);return r.createElement(_.Provider,{value:Pe},r.createElement("div",Object.assign({},Zt,{className:be})))},R=e(92343);const L=/^[\u4e00-\u9fa5]{2}$/,C=L.test.bind(L);function D(We){return typeof We=="string"}function B(We){return We==="text"||We==="link"}function $(We,fe){if(We==null)return;const _e=fe?" ":"";return typeof We!="string"&&typeof We!="number"&&D(We.type)&&C(We.props.children)?(0,R.Tm)(We,{children:We.props.children.split("").join(_e)}):D(We)?C(We)?r.createElement("span",null,We.split("").join(_e)):r.createElement("span",null,We):(0,R.M2)(We)?r.createElement("span",null,We):We}function U(We,fe){let _e=!1;const Ot=[];return r.Children.forEach(We,Pe=>{const dt=typeof Pe,Zt=dt==="string"||dt==="number";if(_e&&Zt){const Tt=Ot.length-1,ke=Ot[Tt];Ot[Tt]=`${ke}${Pe}`}else Ot.push(Pe);_e=Zt}),r.Children.map(Ot,Pe=>$(Pe,fe))}const K=null,V=null,G=null;var ae=(0,r.forwardRef)((We,fe)=>{const{className:_e,style:Ot,children:Pe,prefixCls:dt}=We,Zt=l()(`${dt}-icon`,_e);return r.createElement("span",{ref:fe,className:Zt,style:Ot},Pe)}),le=e(58617),q=e(77900);const J=(0,r.forwardRef)((We,fe)=>{let{prefixCls:_e,className:Ot,style:Pe,iconClassName:dt}=We;const Zt=l()(`${_e}-loading-icon`,Ot);return r.createElement(ae,{prefixCls:_e,className:Zt,style:Pe,ref:fe},r.createElement(le.Z,{className:dt}))}),Y=()=>({width:0,opacity:0,transform:"scale(0)"}),ue=We=>({width:We.scrollWidth,opacity:1,transform:"scale(1)"});var ee=We=>{const{prefixCls:fe,loading:_e,existIcon:Ot,className:Pe,style:dt}=We,Zt=!!_e;return Ot?r.createElement(J,{prefixCls:fe,className:Pe,style:dt}):r.createElement(q.default,{visible:Zt,motionName:`${fe}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:Y,onAppearActive:ue,onEnterStart:Y,onEnterActive:ue,onLeaveStart:ue,onLeaveActive:Y},(Tt,ke)=>{let{className:St,style:be}=Tt;return r.createElement(J,{prefixCls:fe,className:Pe,style:Object.assign(Object.assign({},dt),be),ref:ke,iconClassName:St})})},ie=e(17313),F=e(37613),M=e(83116);const Q=(We,fe)=>({[`> span, > ${We}`]:{"&:not(:last-child)":{[`&, & > ${We}`]:{"&:not(:disabled)":{borderInlineEndColor:fe}}},"&:not(:first-child)":{[`&, & > ${We}`]:{"&:not(:disabled)":{borderInlineStartColor:fe}}}}});var we=We=>{const{componentCls:fe,fontSize:_e,lineWidth:Ot,groupBorderColor:Pe,colorErrorHover:dt}=We;return{[`${fe}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${fe}`]:{"&:not(:last-child)":{[`&, & > ${fe}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-Ot,[`&, & > ${fe}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[fe]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${fe}-icon-only`]:{fontSize:_e}},Q(`${fe}-primary`,Pe),Q(`${fe}-danger`,dt)]}};const Ce=We=>{const{componentCls:fe,iconCls:_e,fontWeight:Ot}=We;return{[fe]:{outline:"none",position:"relative",display:"inline-block",fontWeight:Ot,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${We.lineWidth}px ${We.lineType} transparent`,cursor:"pointer",transition:`all ${We.motionDurationMid} ${We.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:We.lineHeight,color:We.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${fe}-icon`]:{lineHeight:0},[`> ${_e} + span, > span + ${_e}`]:{marginInlineStart:We.marginXS},[`&:not(${fe}-icon-only) > ${fe}-icon`]:{[`&${fe}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:We.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,ie.Qy)(We)),[`&-icon-only${fe}-compact-item`]:{flex:"none"},[`&-compact-item${fe}-primary`]:{[`&:not([disabled]) + ${fe}-compact-item${fe}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-We.lineWidth,insetInlineStart:-We.lineWidth,display:"inline-block",width:We.lineWidth,height:`calc(100% + ${We.lineWidth*2}px)`,backgroundColor:We.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${fe}-primary`]:{[`&:not([disabled]) + ${fe}-compact-vertical-item${fe}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-We.lineWidth,insetInlineStart:-We.lineWidth,display:"inline-block",width:`calc(100% + ${We.lineWidth*2}px)`,height:We.lineWidth,backgroundColor:We.colorPrimaryHover,content:'""'}}}}}}},je=(We,fe,_e)=>({[`&:not(:disabled):not(${We}-disabled)`]:{"&:hover":fe,"&:active":_e}}),Fe=We=>({minWidth:We.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Ft=We=>({borderRadius:We.controlHeight,paddingInlineStart:We.controlHeight/2,paddingInlineEnd:We.controlHeight/2}),_t=We=>({cursor:"not-allowed",borderColor:We.borderColorDisabled,color:We.colorTextDisabled,backgroundColor:We.colorBgContainerDisabled,boxShadow:"none"}),Pt=(We,fe,_e,Ot,Pe,dt,Zt,Tt)=>({[`&${We}-background-ghost`]:Object.assign(Object.assign({color:_e||void 0,backgroundColor:fe,borderColor:Ot||void 0,boxShadow:"none"},je(We,Object.assign({backgroundColor:fe},Zt),Object.assign({backgroundColor:fe},Tt))),{"&:disabled":{cursor:"not-allowed",color:Pe||void 0,borderColor:dt||void 0}})}),qt=We=>({[`&:disabled, &${We.componentCls}-disabled`]:Object.assign({},_t(We))}),er=We=>Object.assign({},qt(We)),Jt=We=>({[`&:disabled, &${We.componentCls}-disabled`]:{cursor:"not-allowed",color:We.colorTextDisabled}}),Xe=We=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},er(We)),{backgroundColor:We.defaultBg,borderColor:We.defaultBorderColor,color:We.defaultColor,boxShadow:We.defaultShadow}),je(We.componentCls,{color:We.colorPrimaryHover,borderColor:We.colorPrimaryHover},{color:We.colorPrimaryActive,borderColor:We.colorPrimaryActive})),Pt(We.componentCls,We.ghostBg,We.defaultGhostColor,We.defaultGhostBorderColor,We.colorTextDisabled,We.colorBorder)),{[`&${We.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:We.colorError,borderColor:We.colorError},je(We.componentCls,{color:We.colorErrorHover,borderColor:We.colorErrorBorderHover},{color:We.colorErrorActive,borderColor:We.colorErrorActive})),Pt(We.componentCls,We.ghostBg,We.colorError,We.colorError,We.colorTextDisabled,We.colorBorder)),qt(We))}),It=We=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},er(We)),{color:We.primaryColor,backgroundColor:We.colorPrimary,boxShadow:We.primaryShadow}),je(We.componentCls,{color:We.colorTextLightSolid,backgroundColor:We.colorPrimaryHover},{color:We.colorTextLightSolid,backgroundColor:We.colorPrimaryActive})),Pt(We.componentCls,We.ghostBg,We.colorPrimary,We.colorPrimary,We.colorTextDisabled,We.colorBorder,{color:We.colorPrimaryHover,borderColor:We.colorPrimaryHover},{color:We.colorPrimaryActive,borderColor:We.colorPrimaryActive})),{[`&${We.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:We.colorError,boxShadow:We.dangerShadow,color:We.dangerColor},je(We.componentCls,{backgroundColor:We.colorErrorHover},{backgroundColor:We.colorErrorActive})),Pt(We.componentCls,We.ghostBg,We.colorError,We.colorError,We.colorTextDisabled,We.colorBorder,{color:We.colorErrorHover,borderColor:We.colorErrorHover},{color:We.colorErrorActive,borderColor:We.colorErrorActive})),qt(We))}),zt=We=>Object.assign(Object.assign({},Xe(We)),{borderStyle:"dashed"}),st=We=>Object.assign(Object.assign(Object.assign({color:We.colorLink},je(We.componentCls,{color:We.colorLinkHover,backgroundColor:We.linkHoverBg},{color:We.colorLinkActive})),Jt(We)),{[`&${We.componentCls}-dangerous`]:Object.assign(Object.assign({color:We.colorError},je(We.componentCls,{color:We.colorErrorHover},{color:We.colorErrorActive})),Jt(We))}),bt=We=>Object.assign(Object.assign(Object.assign({},je(We.componentCls,{color:We.colorText,backgroundColor:We.textHoverBg},{color:We.colorText,backgroundColor:We.colorBgTextActive})),Jt(We)),{[`&${We.componentCls}-dangerous`]:Object.assign(Object.assign({color:We.colorError},Jt(We)),je(We.componentCls,{color:We.colorErrorHover,backgroundColor:We.colorErrorBg},{color:We.colorErrorHover,backgroundColor:We.colorErrorBg}))}),ht=We=>{const{componentCls:fe}=We;return{[`${fe}-default`]:Xe(We),[`${fe}-primary`]:It(We),[`${fe}-dashed`]:zt(We),[`${fe}-link`]:st(We),[`${fe}-text`]:bt(We),[`${fe}-ghost`]:Pt(We.componentCls,We.ghostBg,We.colorBgContainer,We.colorBgContainer,We.colorTextDisabled,We.colorBorder)}},Je=function(We){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:_e,controlHeight:Ot,fontSize:Pe,lineHeight:dt,lineWidth:Zt,borderRadius:Tt,buttonPaddingHorizontal:ke,iconCls:St}=We,be=Math.max(0,(Ot-Pe*dt)/2-Zt),Ke=`${_e}-icon-only`;return[{[`${_e}${fe}`]:{fontSize:Pe,height:Ot,padding:`${be}px ${ke}px`,borderRadius:Tt,[`&${Ke}`]:{width:Ot,paddingInlineStart:0,paddingInlineEnd:0,[`&${_e}-round`]:{width:"auto"},[St]:{fontSize:We.buttonIconOnlyFontSize}},[`&${_e}-loading`]:{opacity:We.opacityLoading,cursor:"default"},[`${_e}-loading-icon`]:{transition:`width ${We.motionDurationSlow} ${We.motionEaseInOut}, opacity ${We.motionDurationSlow} ${We.motionEaseInOut}`}}},{[`${_e}${_e}-circle${fe}`]:Fe(We)},{[`${_e}${_e}-round${fe}`]:Ft(We)}]},Ue=We=>Je((0,F.TS)(We,{fontSize:We.contentFontSize})),ge=We=>{const fe=(0,F.TS)(We,{controlHeight:We.controlHeightSM,fontSize:We.contentFontSizeSM,padding:We.paddingXS,buttonPaddingHorizontal:We.paddingInlineSM,borderRadius:We.borderRadiusSM,buttonIconOnlyFontSize:We.onlyIconSizeSM});return Je(fe,`${We.componentCls}-sm`)},Ae=We=>{const fe=(0,F.TS)(We,{controlHeight:We.controlHeightLG,fontSize:We.contentFontSizeLG,buttonPaddingHorizontal:We.paddingInlineLG,borderRadius:We.borderRadiusLG,buttonIconOnlyFontSize:We.onlyIconSizeLG});return Je(fe,`${We.componentCls}-lg`)},Me=We=>{const{componentCls:fe}=We;return{[fe]:{[`&${fe}-block`]:{width:"100%"}}}},$e=We=>{const{paddingInline:fe,onlyIconSize:_e}=We;return(0,F.TS)(We,{buttonPaddingHorizontal:fe,buttonIconOnlyFontSize:_e})},He=We=>({fontWeight:400,defaultShadow:`0 ${We.controlOutlineWidth}px 0 ${We.controlTmpOutline}`,primaryShadow:`0 ${We.controlOutlineWidth}px 0 ${We.controlOutline}`,dangerShadow:`0 ${We.controlOutlineWidth}px 0 ${We.colorErrorOutline}`,primaryColor:We.colorTextLightSolid,dangerColor:We.colorTextLightSolid,borderColorDisabled:We.colorBorder,defaultGhostColor:We.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:We.colorBgContainer,paddingInline:We.paddingContentHorizontal-We.lineWidth,paddingInlineLG:We.paddingContentHorizontal-We.lineWidth,paddingInlineSM:8-We.lineWidth,onlyIconSize:We.fontSizeLG,onlyIconSizeSM:We.fontSizeLG-2,onlyIconSizeLG:We.fontSizeLG+2,groupBorderColor:We.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:We.colorBgTextHover,defaultColor:We.colorText,defaultBg:We.colorBgContainer,defaultBorderColor:We.colorBorder,defaultBorderColorDisabled:We.colorBorder,contentFontSize:We.fontSize,contentFontSizeSM:We.fontSize,contentFontSizeLG:We.fontSizeLG});var nt=(0,M.Z)("Button",We=>{const fe=$e(We);return[Ce(fe),ge(fe),Ue(fe),Ae(fe),Me(fe),ht(fe),we(fe)]},He),ct=e(74207);function Vt(We,fe){return{[`&-item:not(${fe}-last-item)`]:{marginBottom:-We.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Wt(We,fe){return{[`&-item:not(${fe}-first-item):not(${fe}-last-item)`]:{borderRadius:0},[`&-item${fe}-first-item:not(${fe}-last-item)`]:{[`&, &${We}-sm, &${We}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${fe}-last-item:not(${fe}-first-item)`]:{[`&, &${We}-sm, &${We}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function De(We){const fe=`${We.componentCls}-compact-vertical`;return{[fe]:Object.assign(Object.assign({},Vt(We,fe)),Wt(We.componentCls,fe))}}var qe=(0,M.b)(["Button","compact"],We=>{const fe=$e(We);return[(0,ct.c)(fe),De(fe)]},He),Gt=function(We,fe){var _e={};for(var Ot in We)Object.prototype.hasOwnProperty.call(We,Ot)&&fe.indexOf(Ot)<0&&(_e[Ot]=We[Ot]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Ot=Object.getOwnPropertySymbols(We);Pe<Ot.length;Pe++)fe.indexOf(Ot[Pe])<0&&Object.prototype.propertyIsEnumerable.call(We,Ot[Pe])&&(_e[Ot[Pe]]=We[Ot[Pe]]);return _e};function kt(We){return We==="danger"?{danger:!0}:{type:We}}function Ht(We){if(typeof We=="object"&&We){const fe=We==null?void 0:We.delay;return{loading:!1,delay:!Number.isNaN(fe)&&typeof fe=="number"?fe:0}}return{loading:!!We,delay:0}}const $t=(We,fe)=>{var _e,Ot;const{loading:Pe=!1,prefixCls:dt,type:Zt="default",danger:Tt,shape:ke="default",size:St,styles:be,disabled:Ke,className:gt,rootClassName:Rt,children:Be,icon:kr,ghost:At=!1,block:Kr=!1,htmlType:qr="button",classNames:Ar,style:Br={}}=We,_r=Gt(We,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:Ur,autoInsertSpaceInButton:sn,direction:cn,button:or}=(0,r.useContext)(h.E_),Lt=Ur("btn",dt),[vt,yt]=nt(Lt),jt=(0,r.useContext)(u.Z),Cr=Ke!=null?Ke:jt,gr=(0,r.useContext)(_),ot=(0,r.useMemo)(()=>Ht(Pe),[Pe]),[Mr,yn]=(0,r.useState)(ot.loading),[Zn,mr]=(0,r.useState)(!1),tn=(0,r.createRef)(),hn=(0,f.sQ)(fe,tn),Fn=r.Children.count(Be)===1&&!kr&&!B(Zt);(0,r.useEffect)(()=>{let vi=null;ot.delay>0?vi=setTimeout(()=>{vi=null,yn(!0)},ot.delay):yn(ot.loading);function si(){vi&&(clearTimeout(vi),vi=null)}return si},[ot]),(0,r.useEffect)(()=>{if(!hn||!hn.current||sn===!1)return;const vi=hn.current.textContent;Fn&&C(vi)?Zn||mr(!0):Zn&&mr(!1)},[hn]);const ti=vi=>{const{onClick:si}=We;if(Mr||Cr){vi.preventDefault();return}si==null||si(vi)},jn=sn!==!1,{compactSize:Zi,compactItemClassnames:xi}=(0,x.ri)(Lt,cn),Si={large:"lg",small:"sm",middle:void 0},Ei=(0,a.Z)(vi=>{var si,En;return(En=(si=St!=null?St:Zi)!==null&&si!==void 0?si:gr)!==null&&En!==void 0?En:vi}),mi=Ei&&Si[Ei]||"",Xi=Mr?"loading":kr,qn=(0,c.Z)(_r,["navigate"]),Yi=l()(Lt,yt,{[`${Lt}-${ke}`]:ke!=="default"&&ke,[`${Lt}-${Zt}`]:Zt,[`${Lt}-${mi}`]:mi,[`${Lt}-icon-only`]:!Be&&Be!==0&&!!Xi,[`${Lt}-background-ghost`]:At&&!B(Zt),[`${Lt}-loading`]:Mr,[`${Lt}-two-chinese-chars`]:Zn&&jn&&!Mr,[`${Lt}-block`]:Kr,[`${Lt}-dangerous`]:!!Tt,[`${Lt}-rtl`]:cn==="rtl"},xi,gt,Rt,or==null?void 0:or.className),wt=Object.assign(Object.assign({},or==null?void 0:or.style),Br),ut=l()(Ar==null?void 0:Ar.icon,(_e=or==null?void 0:or.classNames)===null||_e===void 0?void 0:_e.icon),Jn=Object.assign(Object.assign({},(be==null?void 0:be.icon)||{}),((Ot=or==null?void 0:or.styles)===null||Ot===void 0?void 0:Ot.icon)||{}),Ai=kr&&!Mr?r.createElement(ae,{prefixCls:Lt,className:ut,style:Jn},kr):r.createElement(ee,{existIcon:!!kr,prefixCls:Lt,loading:!!Mr}),ei=Be||Be===0?U(Be,Fn&&jn):null;if(qn.href!==void 0)return vt(r.createElement("a",Object.assign({},qn,{className:l()(Yi,{[`${Lt}-disabled`]:Cr}),style:wt,onClick:ti,ref:hn}),Ai,ei));let Gi=r.createElement("button",Object.assign({},_r,{type:qr,className:Yi,style:wt,onClick:ti,disabled:Cr,ref:hn}),Ai,ei,xi&&r.createElement(qe,{key:"compact",prefixCls:Lt}));return B(Zt)||(Gi=r.createElement(s.Z,{component:"Button",disabled:!!Mr},Gi)),vt(Gi)},Ct=(0,r.forwardRef)($t);Ct.Group=S,Ct.__ANT_BUTTON=!0;var Yt=Ct},3113:function(d,g,e){"use strict";var r=e(67797);g.ZP=r.Z},43604:function(d,g,e){"use strict";var r=e(37028);g.Z=r.Z},1684:function(d,g,e){"use strict";e.d(g,{n:function(){return l}});var r=e(59301);const i=r.createContext(!1),l=c=>{let{children:f,disabled:s}=c;const h=r.useContext(i);return r.createElement(i.Provider,{value:s!=null?s:h},f)};g.Z=i},52946:function(d,g,e){"use strict";e.d(g,{q:function(){return l}});var r=e(59301);const i=r.createContext(void 0),l=c=>{let{children:f,size:s}=c;const h=r.useContext(i);return r.createElement(i.Provider,{value:s||h},f)};g.Z=i},36355:function(d,g,e){"use strict";e.d(g,{E_:function(){return c},oR:function(){return i}});var r=e(59301);const i="anticon",l=(s,h)=>h||(s?`ant-${s}`:"ant"),c=r.createContext({getPrefixCls:l,iconPrefixCls:i}),{Consumer:f}=c},19716:function(d,g,e){"use strict";var r=e(59301),i=e(52946);const l=c=>{const f=r.useContext(i.Z);return r.useMemo(()=>c?typeof c=="string"?c!=null?c:f:c instanceof Function?c(f):f:f,[c,f])};g.Z=l},92736:function(d,g,e){"use strict";e.d(g,{ZP:function(){return Jt},w6:function(){return Pt}});var r=e(93083),i=e(18418),l=e(80547),c=e(24434),f=e(59301),s=e(28726),h=e(98044),u=e(41887);const a="internalMark";var p=Xe=>{const{locale:It={},children:zt,_ANT_MARK__:st}=Xe;f.useEffect(()=>(0,h.f)(It&&It.Modal),[It]);const bt=f.useMemo(()=>Object.assign(Object.assign({},It),{exist:!0}),[It]);return f.createElement(u.Z.Provider,{value:bt},zt)},y=e(31724),_=e(45246),b=e(34117),S=e(36355),R=e(93398),L=e(64993),C=e(47273),D=e(810);const B=`-ant-${Date.now()}-${Math.random()}`;function $(Xe,It){const zt={},st=(Je,Ue)=>{let ge=Je.clone();return ge=(Ue==null?void 0:Ue(ge))||ge,ge.toRgbString()},bt=(Je,Ue)=>{const ge=new L.C(Je),Ae=(0,R.generate)(ge.toRgbString());zt[`${Ue}-color`]=st(ge),zt[`${Ue}-color-disabled`]=Ae[1],zt[`${Ue}-color-hover`]=Ae[4],zt[`${Ue}-color-active`]=Ae[6],zt[`${Ue}-color-outline`]=ge.clone().setAlpha(.2).toRgbString(),zt[`${Ue}-color-deprecated-bg`]=Ae[0],zt[`${Ue}-color-deprecated-border`]=Ae[2]};if(It.primaryColor){bt(It.primaryColor,"primary");const Je=new L.C(It.primaryColor),Ue=(0,R.generate)(Je.toRgbString());Ue.forEach((Ae,Me)=>{zt[`primary-${Me+1}`]=Ae}),zt["primary-color-deprecated-l-35"]=st(Je,Ae=>Ae.lighten(35)),zt["primary-color-deprecated-l-20"]=st(Je,Ae=>Ae.lighten(20)),zt["primary-color-deprecated-t-20"]=st(Je,Ae=>Ae.tint(20)),zt["primary-color-deprecated-t-50"]=st(Je,Ae=>Ae.tint(50)),zt["primary-color-deprecated-f-12"]=st(Je,Ae=>Ae.setAlpha(Ae.getAlpha()*.12));const ge=new L.C(Ue[0]);zt["primary-color-active-deprecated-f-30"]=st(ge,Ae=>Ae.setAlpha(Ae.getAlpha()*.3)),zt["primary-color-active-deprecated-d-02"]=st(ge,Ae=>Ae.darken(2))}return It.successColor&&bt(It.successColor,"success"),It.warningColor&&bt(It.warningColor,"warning"),It.errorColor&&bt(It.errorColor,"error"),It.infoColor&&bt(It.infoColor,"info"),`
:root {
${Object.keys(zt).map(Je=>`--${Xe}-${Je}: ${zt[Je]};`).join(`
`)}
}
`.trim()}function U(Xe,It){const zt=$(Xe,It);(0,C.Z)()&&(0,D.hq)(zt,`${B}-dynamic-theme`)}var K=e(1684),V=e(52946);function G(){const Xe=(0,f.useContext)(K.Z),It=(0,f.useContext)(V.Z);return{componentDisabled:Xe,componentSize:It}}var oe=G,ae=e(13697);function le(Xe,It){const zt=Xe||{},st=zt.inherit===!1||!It?_.u_:It;return(0,l.Z)(()=>{if(!Xe)return It;const bt=Object.assign({},st.components);return Object.keys(Xe.components||{}).forEach(ht=>{bt[ht]=Object.assign(Object.assign({},bt[ht]),Xe.components[ht])}),Object.assign(Object.assign(Object.assign({},st),zt),{token:Object.assign(Object.assign({},st.token),zt.token),components:bt})},[zt,st],(bt,ht)=>bt.some((Je,Ue)=>{const ge=ht[Ue];return!(0,ae.Z)(Je,ge,!0)}))}var q=e(77900),J=e(88088);function Y(Xe){const{children:It}=Xe,[,zt]=(0,J.Z)(),{motion:st}=zt,bt=f.useRef(!1);return bt.current=bt.current||st===!1,bt.current?f.createElement(q.Provider,{motion:st},It):It}var ue=e(73040),ne=function(Xe,It){var zt={};for(var st in Xe)Object.prototype.hasOwnProperty.call(Xe,st)&&It.indexOf(st)<0&&(zt[st]=Xe[st]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,st=Object.getOwnPropertySymbols(Xe);bt<st.length;bt++)It.indexOf(st[bt])<0&&Object.prototype.propertyIsEnumerable.call(Xe,st[bt])&&(zt[st[bt]]=Xe[st[bt]]);return zt};let ee=!1;const ie=null,F=null,M=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],Q="ant";let de,we,Ce;function je(){return de||Q}function Fe(){return we||S.oR}function Ft(Xe){return Object.keys(Xe).some(It=>It.endsWith("Color"))}const _t=Xe=>{let{prefixCls:It,iconPrefixCls:zt,theme:st}=Xe;It!==void 0&&(de=It),zt!==void 0&&(we=zt),st&&(Ft(st)?U(je(),st):Ce=st)},Pt=()=>({getPrefixCls:(Xe,It)=>It||(Xe?`${je()}-${Xe}`:je()),getIconPrefixCls:Fe,getRootPrefixCls:()=>de||je(),getTheme:()=>Ce}),qt=Xe=>{const{children:It,csp:zt,autoInsertSpaceInButton:st,alert:bt,anchor:ht,form:Je,locale:Ue,componentSize:ge,direction:Ae,space:Me,virtual:$e,dropdownMatchSelectWidth:He,popupMatchSelectWidth:nt,popupOverflow:ct,legacyLocale:Vt,parentContext:Wt,iconPrefixCls:De,theme:qe,componentDisabled:Gt,segmented:kt,statistic:Ht,spin:$t,calendar:Ct,carousel:Yt,cascader:We,collapse:fe,typography:_e,checkbox:Ot,descriptions:Pe,divider:dt,drawer:Zt,skeleton:Tt,steps:ke,image:St,layout:be,list:Ke,mentions:gt,modal:Rt,progress:Be,result:kr,slider:At,breadcrumb:Kr,menu:qr,pagination:Ar,input:Br,empty:_r,badge:Ur,radio:sn,rate:cn,switch:or,transfer:Lt,avatar:vt,message:yt,tag:jt,table:Cr,card:gr,tabs:ot,timeline:Mr,timePicker:yn,upload:Zn,notification:mr,tree:tn,colorPicker:hn,datePicker:Fn,wave:ti}=Xe,jn=f.useCallback((ei,Gi)=>{const{prefixCls:vi}=Xe;if(Gi)return Gi;const si=vi||Wt.getPrefixCls("");return ei?`${si}-${ei}`:si},[Wt.getPrefixCls,Xe.prefixCls]),Zi=De||Wt.iconPrefixCls||S.oR,xi=Zi!==Wt.iconPrefixCls,Si=zt||Wt.csp,Ei=(0,ue.Z)(Zi,Si),mi=le(qe,Wt.theme),Xi={csp:Si,autoInsertSpaceInButton:st,alert:bt,anchor:ht,locale:Ue||Vt,direction:Ae,space:Me,virtual:$e,popupMatchSelectWidth:nt!=null?nt:He,popupOverflow:ct,getPrefixCls:jn,iconPrefixCls:Zi,theme:mi,segmented:kt,statistic:Ht,spin:$t,calendar:Ct,carousel:Yt,cascader:We,collapse:fe,typography:_e,checkbox:Ot,descriptions:Pe,divider:dt,drawer:Zt,skeleton:Tt,steps:ke,image:St,input:Br,layout:be,list:Ke,mentions:gt,modal:Rt,progress:Be,result:kr,slider:At,breadcrumb:Kr,menu:qr,pagination:Ar,empty:_r,badge:Ur,radio:sn,rate:cn,switch:or,transfer:Lt,avatar:vt,message:yt,tag:jt,table:Cr,card:gr,tabs:ot,timeline:Mr,timePicker:yn,upload:Zn,notification:mr,tree:tn,colorPicker:hn,datePicker:Fn,wave:ti},qn=Object.assign({},Wt);Object.keys(Xi).forEach(ei=>{Xi[ei]!==void 0&&(qn[ei]=Xi[ei])}),M.forEach(ei=>{const Gi=Xe[ei];Gi&&(qn[ei]=Gi)});const Yi=(0,l.Z)(()=>qn,qn,(ei,Gi)=>{const vi=Object.keys(ei),si=Object.keys(Gi);return vi.length!==si.length||vi.some(En=>ei[En]!==Gi[En])}),wt=f.useMemo(()=>({prefixCls:Zi,csp:Si}),[Zi,Si]);let ut=xi?Ei(It):It;const Jn=f.useMemo(()=>{var ei,Gi,vi,si;return(0,c.T)(((ei=y.Z.Form)===null||ei===void 0?void 0:ei.defaultValidateMessages)||{},((vi=(Gi=Yi.locale)===null||Gi===void 0?void 0:Gi.Form)===null||vi===void 0?void 0:vi.defaultValidateMessages)||{},((si=Yi.form)===null||si===void 0?void 0:si.validateMessages)||{},(Je==null?void 0:Je.validateMessages)||{})},[Yi,Je==null?void 0:Je.validateMessages]);Object.keys(Jn).length>0&&(ut=f.createElement(s.Z.Provider,{value:Jn},It)),Ue&&(ut=f.createElement(p,{locale:Ue,_ANT_MARK__:a},ut)),(Zi||Si)&&(ut=f.createElement(i.Z.Provider,{value:wt},ut)),ge&&(ut=f.createElement(V.q,{size:ge},ut)),ut=f.createElement(Y,null,ut);const Ai=f.useMemo(()=>{const ei=mi||{},{algorithm:Gi,token:vi,components:si}=ei,En=ne(ei,["algorithm","token","components"]),tr=Gi&&(!Array.isArray(Gi)||Gi.length>0)?(0,r.createTheme)(Gi):_.uH,mt={};return Object.entries(si||{}).forEach(rt=>{let[Dt,pt]=rt;const lr=Object.assign({},pt);"algorithm"in lr&&(lr.algorithm===!0?lr.theme=tr:(Array.isArray(lr.algorithm)||typeof lr.algorithm=="function")&&(lr.theme=(0,r.createTheme)(lr.algorithm)),delete lr.algorithm),mt[Dt]=lr}),Object.assign(Object.assign({},En),{theme:tr,token:Object.assign(Object.assign({},b.Z),vi),components:mt})},[mi]);return qe&&(ut=f.createElement(_.Mj.Provider,{value:Ai},ut)),Gt!==void 0&&(ut=f.createElement(K.n,{disabled:Gt},ut)),f.createElement(S.E_.Provider,{value:Yi},ut)},er=Xe=>{const It=f.useContext(S.E_),zt=f.useContext(u.Z);return f.createElement(qt,Object.assign({parentContext:It,legacyLocale:zt},Xe))};er.ConfigContext=S.E_,er.SizeContext=V.Z,er.config=_t,er.useConfig=oe,Object.defineProperty(er,"SizeContext",{get:()=>V.Z});var Jt=er},48183:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},i=r,l=e(67532),f={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},i),timePickerLocale:Object.assign({},l.Z)}},32441:function(d,g,e){"use strict";e.d(g,{RV:function(){return s},Rk:function(){return h},Ux:function(){return a},aM:function(){return u},q3:function(){return c},qI:function(){return f}});var r=e(59301),i=e(95013),l=e(2738);const c=r.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),f=r.createContext(null),s=x=>{const p=(0,l.Z)(x,["prefixCls"]);return r.createElement(i.FormProvider,Object.assign({},p))},h=r.createContext({prefixCls:""}),u=r.createContext({}),a=x=>{let{children:p,status:y,override:_}=x;const b=(0,r.useContext)(u),S=(0,r.useMemo)(()=>{const R=Object.assign({},b);return _&&delete R.isFormItemInput,y&&(delete R.status,delete R.hasFeedback,delete R.feedbackIcon),R},[y,_,b]);return r.createElement(u.Provider,{value:S},p)}},28726:function(d,g,e){"use strict";var r=e(59301);g.Z=(0,r.createContext)(void 0)},6700:function(d,g,e){"use strict";var r=e(59301);const i=(0,r.createContext)({});g.Z=i},37028:function(d,g,e){"use strict";var r=e(59301),i=e(92310),l=e.n(i),c=e(36355),f=e(6700),s=e(98242),h=function(p,y){var _={};for(var b in p)Object.prototype.hasOwnProperty.call(p,b)&&y.indexOf(b)<0&&(_[b]=p[b]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,b=Object.getOwnPropertySymbols(p);S<b.length;S++)y.indexOf(b[S])<0&&Object.prototype.propertyIsEnumerable.call(p,b[S])&&(_[b[S]]=p[b[S]]);return _};function u(p){return typeof p=="number"?`${p} ${p} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(p)?`0 0 ${p}`:p}const a=["xs","sm","md","lg","xl","xxl"],x=r.forwardRef((p,y)=>{const{getPrefixCls:_,direction:b}=r.useContext(c.E_),{gutter:S,wrap:R}=r.useContext(f.Z),{prefixCls:L,span:C,order:D,offset:B,push:$,pull:U,className:K,children:V,flex:G,style:oe}=p,ae=h(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),le=_("col",L),[q,J]=(0,s.c)(le);let Y={};a.forEach(ee=>{let ie={};const F=p[ee];typeof F=="number"?ie.span=F:typeof F=="object"&&(ie=F||{}),delete ae[ee],Y=Object.assign(Object.assign({},Y),{[`${le}-${ee}-${ie.span}`]:ie.span!==void 0,[`${le}-${ee}-order-${ie.order}`]:ie.order||ie.order===0,[`${le}-${ee}-offset-${ie.offset}`]:ie.offset||ie.offset===0,[`${le}-${ee}-push-${ie.push}`]:ie.push||ie.push===0,[`${le}-${ee}-pull-${ie.pull}`]:ie.pull||ie.pull===0,[`${le}-${ee}-flex-${ie.flex}`]:ie.flex||ie.flex==="auto",[`${le}-rtl`]:b==="rtl"})});const ue=l()(le,{[`${le}-${C}`]:C!==void 0,[`${le}-order-${D}`]:D,[`${le}-offset-${B}`]:B,[`${le}-push-${$}`]:$,[`${le}-pull-${U}`]:U},K,Y,J),ne={};if(S&&S[0]>0){const ee=S[0]/2;ne.paddingLeft=ee,ne.paddingRight=ee}return G&&(ne.flex=u(G),R===!1&&!ne.minWidth&&(ne.minWidth=0)),q(r.createElement("div",Object.assign({},ae,{style:Object.assign(Object.assign({},ne),oe),className:ue,ref:y}),V))});g.Z=x},27382:function(d,g,e){"use strict";var r=e(59301),i=e(92310),l=e.n(i),c=e(69507),f=e(36355),s=e(6700),h=e(98242),u=function(_,b){var S={};for(var R in _)Object.prototype.hasOwnProperty.call(_,R)&&b.indexOf(R)<0&&(S[R]=_[R]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,R=Object.getOwnPropertySymbols(_);L<R.length;L++)b.indexOf(R[L])<0&&Object.prototype.propertyIsEnumerable.call(_,R[L])&&(S[R[L]]=_[R[L]]);return S};const a=null,x=null;function p(_,b){const[S,R]=r.useState(typeof _=="string"?_:""),L=()=>{if(typeof _=="string"&&R(_),typeof _=="object")for(let C=0;C<c.c4.length;C++){const D=c.c4[C];if(!b[D])continue;const B=_[D];if(B!==void 0){R(B);return}}};return r.useEffect(()=>{L()},[JSON.stringify(_),b]),S}const y=r.forwardRef((_,b)=>{const{prefixCls:S,justify:R,align:L,className:C,style:D,children:B,gutter:$=0,wrap:U}=_,K=u(_,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:V,direction:G}=r.useContext(f.E_),[oe,ae]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[le,q]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),J=p(L,le),Y=p(R,le),ue=r.useRef($),ne=(0,c.ZP)();r.useEffect(()=>{const _t=ne.subscribe(Pt=>{q(Pt);const qt=ue.current||0;(!Array.isArray(qt)&&typeof qt=="object"||Array.isArray(qt)&&(typeof qt[0]=="object"||typeof qt[1]=="object"))&&ae(Pt)});return()=>ne.unsubscribe(_t)},[]);const ee=()=>{const _t=[void 0,void 0];return(Array.isArray($)?$:[$,void 0]).forEach((qt,er)=>{if(typeof qt=="object")for(let Jt=0;Jt<c.c4.length;Jt++){const Xe=c.c4[Jt];if(oe[Xe]&&qt[Xe]!==void 0){_t[er]=qt[Xe];break}}else _t[er]=qt}),_t},ie=V("row",S),[F,M]=(0,h.V)(ie),Q=ee(),de=l()(ie,{[`${ie}-no-wrap`]:U===!1,[`${ie}-${Y}`]:Y,[`${ie}-${J}`]:J,[`${ie}-rtl`]:G==="rtl"},C,M),we={},Ce=Q[0]!=null&&Q[0]>0?Q[0]/-2:void 0;Ce&&(we.marginLeft=Ce,we.marginRight=Ce),[,we.rowGap]=Q;const[je,Fe]=Q,Ft=r.useMemo(()=>({gutter:[je,Fe],wrap:U}),[je,Fe,U]);return F(r.createElement(s.Z.Provider,{value:Ft},r.createElement("div",Object.assign({},K,{className:de,style:Object.assign(Object.assign({},we),D),ref:b}),B)))});g.Z=y},98242:function(d,g,e){"use strict";e.d(g,{V:function(){return u},c:function(){return a}});var r=e(83116),i=e(37613);const l=x=>{const{componentCls:p}=x;return{[p]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},c=x=>{const{componentCls:p}=x;return{[p]:{position:"relative",maxWidth:"100%",minHeight:1}}},f=(x,p)=>{const{componentCls:y,gridColumns:_}=x,b={};for(let S=_;S>=0;S--)S===0?(b[`${y}${p}-${S}`]={display:"none"},b[`${y}-push-${S}`]={insetInlineStart:"auto"},b[`${y}-pull-${S}`]={insetInlineEnd:"auto"},b[`${y}${p}-push-${S}`]={insetInlineStart:"auto"},b[`${y}${p}-pull-${S}`]={insetInlineEnd:"auto"},b[`${y}${p}-offset-${S}`]={marginInlineStart:0},b[`${y}${p}-order-${S}`]={order:0}):(b[`${y}${p}-${S}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${S/_*100}%`,maxWidth:`${S/_*100}%`}],b[`${y}${p}-push-${S}`]={insetInlineStart:`${S/_*100}%`},b[`${y}${p}-pull-${S}`]={insetInlineEnd:`${S/_*100}%`},b[`${y}${p}-offset-${S}`]={marginInlineStart:`${S/_*100}%`},b[`${y}${p}-order-${S}`]={order:S});return b},s=(x,p)=>f(x,p),h=(x,p,y)=>({[`@media (min-width: ${p}px)`]:Object.assign({},s(x,y))}),u=(0,r.Z)("Grid",x=>[l(x)]),a=(0,r.Z)("Grid",x=>{const p=(0,i.TS)(x,{gridColumns:24}),y={"-sm":p.screenSMMin,"-md":p.screenMDMin,"-lg":p.screenLGMin,"-xl":p.screenXLMin,"-xxl":p.screenXXLMin};return[c(p),s(p,""),s(p,"-xs"),Object.keys(y).map(_=>h(p,y[_],_)).reduce((_,b)=>Object.assign(Object.assign({},_),b),{})]})},41887:function(d,g,e){"use strict";var r=e(59301);const i=(0,r.createContext)(void 0);g.Z=i},31724:function(d,g,e){"use strict";e.d(g,{Z:function(){return h}});var r=e(22075),i=e(48183),l=i.Z,c=e(67532);const f="${label} is not a valid ${type}";var h={locale:"en",Pagination:r.Z,DatePicker:i.Z,TimePicker:c.Z,Calendar:l,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:f,method:f,array:f,object:f,number:f,date:f,boolean:f,integer:f,float:f,regexp:f,email:f,url:f,hex:f},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}}},9763:function(d,g,e){"use strict";var r=e(59301),i=e(41887),l=e(31724);const c=(f,s)=>{const h=r.useContext(i.Z),u=r.useMemo(()=>{var x;const p=s||l.Z[f],y=(x=h==null?void 0:h[f])!==null&&x!==void 0?x:{};return Object.assign(Object.assign({},typeof p=="function"?p():p),y||{})},[f,s,h]),a=r.useMemo(()=>{const x=h==null?void 0:h.locale;return h!=null&&h.exist&&!x?l.Z.locale:x},[h]);return[u,a]};g.Z=c},81863:function(d,g,e){"use strict";e.d(g,{Z:function(){return p}});var r=e(91735),i={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},l=i,f={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]};const s={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},l),timePickerLocale:Object.assign({},f)};s.lang.ok="\u786E\u5B9A";var h=s,u=h;const a="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}";var p={locale:"zh-cn",Pagination:r.Z,DatePicker:h,TimePicker:f,Calendar:u,global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectNone:"\u6E05\u7A7A\u6240\u6709",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Tour:{Next:"\u4E0B\u4E00\u6B65",Previous:"\u4E0A\u4E00\u6B65",Finish:"\u7ED3\u675F\u5BFC\u89C8"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{titles:["",""],searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00"},PageHeader:{back:"\u8FD4\u56DE"},Form:{optional:"\uFF08\u53EF\u9009\uFF09",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:a,method:a,array:a,object:a,number:a,date:a,boolean:a,integer:a,float:a,regexp:a,email:a,url:a,hex:a},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},Image:{preview:"\u9884\u89C8"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0"},ColorPicker:{presetEmpty:"\u6682\u65E0"}}},8591:function(d,g,e){"use strict";e.d(g,{ZP:function(){return bt}});var r=e(80702),i=e(59301),l=e(1585),c=e(92736),f=e(29679),s=e(19248),h=e(96512),u=e(78987),a=e(58617),x=e(92310),p=e.n(x),y=e(581),_=e(36355),b=e(93083),S=e(17313),R=e(83116),L=e(37613);const C=ht=>{const{componentCls:Je,iconCls:Ue,boxShadow:ge,colorText:Ae,colorSuccess:Me,colorError:$e,colorWarning:He,colorInfo:nt,fontSizeLG:ct,motionEaseInOutCirc:Vt,motionDurationSlow:Wt,marginXS:De,paddingXS:qe,borderRadiusLG:Gt,zIndexPopup:kt,contentPadding:Ht,contentBg:$t}=ht,Ct=`${Je}-notice`,Yt=new b.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:qe,transform:"translateY(0)",opacity:1}}),We=new b.Keyframes("MessageMoveOut",{"0%":{maxHeight:ht.height,padding:qe,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),fe={padding:qe,textAlign:"center",[`${Je}-custom-content > ${Ue}`]:{verticalAlign:"text-bottom",marginInlineEnd:De,fontSize:ct},[`${Ct}-content`]:{display:"inline-block",padding:Ht,background:$t,borderRadius:Gt,boxShadow:ge,pointerEvents:"all"},[`${Je}-success > ${Ue}`]:{color:Me},[`${Je}-error > ${Ue}`]:{color:$e},[`${Je}-warning > ${Ue}`]:{color:He},[`${Je}-info > ${Ue},
${Je}-loading > ${Ue}`]:{color:nt}};return[{[Je]:Object.assign(Object.assign({},(0,S.Wf)(ht)),{color:Ae,position:"fixed",top:De,width:"100%",pointerEvents:"none",zIndex:kt,[`${Je}-move-up`]:{animationFillMode:"forwards"},[`
${Je}-move-up-appear,
${Je}-move-up-enter
`]:{animationName:Yt,animationDuration:Wt,animationPlayState:"paused",animationTimingFunction:Vt},[`
${Je}-move-up-appear${Je}-move-up-appear-active,
${Je}-move-up-enter${Je}-move-up-enter-active
`]:{animationPlayState:"running"},[`${Je}-move-up-leave`]:{animationName:We,animationDuration:Wt,animationPlayState:"paused",animationTimingFunction:Vt},[`${Je}-move-up-leave${Je}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[Je]:{[Ct]:Object.assign({},fe)}},{[`${Je}-notice-pure-panel`]:Object.assign(Object.assign({},fe),{padding:0,textAlign:"start"})}]};var D=(0,R.Z)("Message",ht=>{const Je=(0,L.TS)(ht,{height:150});return[C(Je)]},ht=>({zIndexPopup:ht.zIndexPopupBase+10,contentBg:ht.colorBgElevated,contentPadding:`${(ht.controlHeightLG-ht.fontSize*ht.lineHeight)/2}px ${ht.paddingSM}px`})),B=function(ht,Je){var Ue={};for(var ge in ht)Object.prototype.hasOwnProperty.call(ht,ge)&&Je.indexOf(ge)<0&&(Ue[ge]=ht[ge]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,ge=Object.getOwnPropertySymbols(ht);Ae<ge.length;Ae++)Je.indexOf(ge[Ae])<0&&Object.prototype.propertyIsEnumerable.call(ht,ge[Ae])&&(Ue[ge[Ae]]=ht[ge[Ae]]);return Ue};const $={info:i.createElement(u.Z,null),success:i.createElement(f.Z,null),error:i.createElement(s.Z,null),warning:i.createElement(h.Z,null),loading:i.createElement(a.Z,null)},U=ht=>{let{prefixCls:Je,type:Ue,icon:ge,children:Ae}=ht;return i.createElement("div",{className:p()(`${Je}-custom-content`,`${Je}-${Ue}`)},ge||$[Ue],i.createElement("span",null,Ae))};var V=ht=>{const{prefixCls:Je,className:Ue,type:ge,icon:Ae,content:Me}=ht,$e=B(ht,["prefixCls","className","type","icon","content"]),{getPrefixCls:He}=i.useContext(_.E_),nt=Je||He("message"),[,ct]=D(nt);return i.createElement(y.qX,Object.assign({},$e,{prefixCls:nt,className:p()(Ue,ct,`${nt}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(U,{prefixCls:nt,type:ge,icon:Ae},Me)}))},G=e(99267);function oe(ht,Je){return{motionName:Je!=null?Je:`${ht}-move-up`}}function ae(ht){let Je;const Ue=new Promise(Ae=>{Je=ht(()=>{Ae(!0)})}),ge=()=>{Je==null||Je()};return ge.then=(Ae,Me)=>Ue.then(Ae,Me),ge.promise=Ue,ge}var le=function(ht,Je){var Ue={};for(var ge in ht)Object.prototype.hasOwnProperty.call(ht,ge)&&Je.indexOf(ge)<0&&(Ue[ge]=ht[ge]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,ge=Object.getOwnPropertySymbols(ht);Ae<ge.length;Ae++)Je.indexOf(ge[Ae])<0&&Object.prototype.propertyIsEnumerable.call(ht,ge[Ae])&&(Ue[ge[Ae]]=ht[ge[Ae]]);return Ue};const q=8,J=3,Y=ht=>{let{children:Je,prefixCls:Ue}=ht;const[,ge]=D(Ue);return i.createElement(y.JB,{classNames:{list:ge,notice:ge}},Je)},ue=(ht,Je)=>{let{prefixCls:Ue,key:ge}=Je;return i.createElement(Y,{prefixCls:Ue,key:ge},ht)},ne=i.forwardRef((ht,Je)=>{const{top:Ue,prefixCls:ge,getContainer:Ae,maxCount:Me,duration:$e=J,rtl:He,transitionName:nt,onAllRemoved:ct}=ht,{getPrefixCls:Vt,getPopupContainer:Wt,message:De}=i.useContext(_.E_),qe=ge||Vt("message"),Gt=()=>({left:"50%",transform:"translateX(-50%)",top:Ue!=null?Ue:q}),kt=()=>p()({[`${qe}-rtl`]:He}),Ht=()=>oe(qe,nt),$t=i.createElement("span",{className:`${qe}-close-x`},i.createElement(G.Z,{className:`${qe}-close-icon`})),[Ct,Yt]=(0,y.lm)({prefixCls:qe,style:Gt,className:kt,motion:Ht,closable:!1,closeIcon:$t,duration:$e,getContainer:()=>(Ae==null?void 0:Ae())||(Wt==null?void 0:Wt())||document.body,maxCount:Me,onAllRemoved:ct,renderNotifications:ue});return i.useImperativeHandle(Je,()=>Object.assign(Object.assign({},Ct),{prefixCls:qe,message:De})),Yt});let ee=0;function ie(ht){const Je=i.useRef(null);return[i.useMemo(()=>{const ge=nt=>{var ct;(ct=Je.current)===null||ct===void 0||ct.close(nt)},Ae=nt=>{if(!Je.current){const _e=()=>{};return _e.then=()=>{},_e}const{open:ct,prefixCls:Vt,message:Wt}=Je.current,De=`${Vt}-notice`,{content:qe,icon:Gt,type:kt,key:Ht,className:$t,style:Ct,onClose:Yt}=nt,We=le(nt,["content","icon","type","key","className","style","onClose"]);let fe=Ht;return fe==null&&(ee+=1,fe=`antd-message-${ee}`),ae(_e=>(ct(Object.assign(Object.assign({},We),{key:fe,content:i.createElement(U,{prefixCls:Vt,type:kt,icon:Gt},qe),placement:"top",className:p()(kt&&`${De}-${kt}`,$t,Wt==null?void 0:Wt.className),style:Object.assign(Object.assign({},Wt==null?void 0:Wt.style),Ct),onClose:()=>{Yt==null||Yt(),_e()}})),()=>{ge(fe)}))},$e={open:Ae,destroy:nt=>{var ct;nt!==void 0?ge(nt):(ct=Je.current)===null||ct===void 0||ct.destroy()}};return["info","success","warning","error","loading"].forEach(nt=>{const ct=(Vt,Wt,De)=>{let qe;Vt&&typeof Vt=="object"&&"content"in Vt?qe=Vt:qe={content:Vt};let Gt,kt;typeof Wt=="function"?kt=Wt:(Gt=Wt,kt=De);const Ht=Object.assign(Object.assign({onClose:kt,duration:Gt},qe),{type:nt});return Ae(Ht)};$e[nt]=ct}),$e},[]),i.createElement(ne,Object.assign({key:"message-holder"},ht,{ref:Je}))]}function F(ht){return ie(ht)}let M=null,Q=ht=>ht(),de=[],we={};function Ce(){const{prefixCls:ht,getContainer:Je,duration:Ue,rtl:ge,maxCount:Ae,top:Me}=we,$e=ht!=null?ht:(0,c.w6)().getPrefixCls("message"),He=(Je==null?void 0:Je())||document.body;return{prefixCls:$e,getContainer:()=>He,duration:Ue,rtl:ge,maxCount:Ae,top:Me}}const je=i.forwardRef((ht,Je)=>{const[Ue,ge]=i.useState(Ce),[Ae,Me]=ie(Ue),$e=(0,c.w6)(),He=$e.getRootPrefixCls(),nt=$e.getIconPrefixCls(),ct=$e.getTheme(),Vt=()=>{ge(Ce)};return i.useEffect(Vt,[]),i.useImperativeHandle(Je,()=>{const Wt=Object.assign({},Ae);return Object.keys(Wt).forEach(De=>{Wt[De]=function(){return Vt(),Ae[De].apply(Ae,arguments)}}),{instance:Wt,sync:Vt}}),i.createElement(c.ZP,{prefixCls:He,iconPrefixCls:nt,theme:ct},Me)});function Fe(){if(!M){const ht=document.createDocumentFragment(),Je={fragment:ht};M=Je,Q(()=>{(0,l.s)(i.createElement(je,{ref:Ue=>{const{instance:ge,sync:Ae}=Ue||{};Promise.resolve().then(()=>{!Je.instance&&ge&&(Je.instance=ge,Je.sync=Ae,Fe())})}}),ht)});return}M.instance&&(de.forEach(ht=>{const{type:Je,skipped:Ue}=ht;if(!Ue)switch(Je){case"open":{Q(()=>{const ge=M.instance.open(Object.assign(Object.assign({},we),ht.config));ge==null||ge.then(ht.resolve),ht.setCloseFn(ge)});break}case"destroy":Q(()=>{M==null||M.instance.destroy(ht.key)});break;default:Q(()=>{var ge;const Ae=(ge=M.instance)[Je].apply(ge,(0,r.Z)(ht.args));Ae==null||Ae.then(ht.resolve),ht.setCloseFn(Ae)})}}),de=[])}function Ft(ht){we=Object.assign(Object.assign({},we),ht),Q(()=>{var Je;(Je=M==null?void 0:M.sync)===null||Je===void 0||Je.call(M)})}function _t(ht){const Je=ae(Ue=>{let ge;const Ae={type:"open",config:ht,resolve:Ue,setCloseFn:Me=>{ge=Me}};return de.push(Ae),()=>{ge?Q(()=>{ge()}):Ae.skipped=!0}});return Fe(),Je}function Pt(ht,Je){const Ue=ae(ge=>{let Ae;const Me={type:ht,args:Je,resolve:ge,setCloseFn:$e=>{Ae=$e}};return de.push(Me),()=>{Ae?Q(()=>{Ae()}):Me.skipped=!0}});return Fe(),Ue}function qt(ht){de.push({type:"destroy",key:ht}),Fe()}const er=["success","info","warning","error","loading"],Xe={open:_t,destroy:qt,config:Ft,useMessage:F,_InternalPanelDoNotUseOrYouWillBeFired:V};er.forEach(ht=>{Xe[ht]=function(){for(var Je=arguments.length,Ue=new Array(Je),ge=0;ge<Je;ge++)Ue[ge]=arguments[ge];return Pt(ht,Ue)}});const It=()=>{};let zt=null,st=null;var bt=Xe},43418:function(d,g,e){"use strict";e.d(g,{default:function(){return dt}});var r=e(80702),i=e(1585),l=e(59301),c=e(92736),f=e(29679),s=e(19248),h=e(96512),u=e(78987),a=e(92310),x=e.n(a),p=e(62892),y=e(9763),_=e(92806);const b=l.createContext({}),{Provider:S}=b;var L=()=>{const{autoFocusButton:Zt,cancelButtonProps:Tt,cancelTextLocale:ke,isSilent:St,mergedOkCancel:be,rootPrefixCls:Ke,close:gt,onCancel:Rt,onConfirm:Be}=(0,l.useContext)(b);return be?l.createElement(_.Z,{isSilent:St,actionFn:Rt,close:function(){gt==null||gt.apply(void 0,arguments),Be==null||Be(!1)},autoFocus:Zt==="cancel",buttonProps:Tt,prefixCls:`${Ke}-btn`},ke):null},D=()=>{const{autoFocusButton:Zt,close:Tt,isSilent:ke,okButtonProps:St,rootPrefixCls:be,okTextLocale:Ke,okType:gt,onConfirm:Rt,onOk:Be}=(0,l.useContext)(b);return l.createElement(_.Z,{isSilent:ke,type:gt||"primary",actionFn:Be,close:function(){Tt==null||Tt.apply(void 0,arguments),Rt==null||Rt(!0)},autoFocus:Zt==="ok",buttonProps:St,prefixCls:`${be}-btn`},Ke)},B=e(99267),$=e(86923),U=e(47729),K=e(47273);const V=()=>(0,K.Z)()&&window.document.documentElement;var G=e(36355),oe=e(32441),ae=e(33234),le=e(11575),q=e(1684),J=e(3113),ue=()=>{const{cancelButtonProps:Zt,cancelTextLocale:Tt,onCancel:ke}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({onClick:ke},Zt),Tt)},ne=e(67797),ie=()=>{const{confirmLoading:Zt,okButtonProps:Tt,okType:ke,okTextLocale:St,onOk:be}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({},(0,ne.n)(ke),{loading:Zt,onClick:be},Tt),St)},F=e(98044);function M(Zt,Tt){return l.createElement("span",{className:`${Zt}-close-x`},Tt||l.createElement(B.Z,{className:`${Zt}-close-icon`}))}const Q=Zt=>{const{okText:Tt,okType:ke="primary",cancelText:St,confirmLoading:be,onOk:Ke,onCancel:gt,okButtonProps:Rt,cancelButtonProps:Be,footer:kr}=Zt,[At]=(0,y.Z)("Modal",(0,F.A)()),Kr=Tt||(At==null?void 0:At.okText),qr=St||(At==null?void 0:At.cancelText),Ar={confirmLoading:be,okButtonProps:Rt,cancelButtonProps:Be,okTextLocale:Kr,cancelTextLocale:qr,okType:ke,onOk:Ke,onCancel:gt},Br=l.useMemo(()=>Ar,(0,r.Z)(Object.values(Ar)));let _r;return typeof kr=="function"||typeof kr=="undefined"?(_r=l.createElement(S,{value:Br},l.createElement(ue,null),l.createElement(ie,null)),typeof kr=="function"&&(_r=kr(_r,{OkBtn:ie,CancelBtn:ue}))):_r=kr,l.createElement(q.n,{disabled:!1},_r)};var de=e(73819),we=function(Zt,Tt){var ke={};for(var St in Zt)Object.prototype.hasOwnProperty.call(Zt,St)&&Tt.indexOf(St)<0&&(ke[St]=Zt[St]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,St=Object.getOwnPropertySymbols(Zt);be<St.length;be++)Tt.indexOf(St[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,St[be])&&(ke[St[be]]=Zt[St[be]]);return ke};let Ce;const je=Zt=>{Ce={x:Zt.pageX,y:Zt.pageY},setTimeout(()=>{Ce=null},100)};V()&&document.documentElement.addEventListener("click",je,!0);var Ft=Zt=>{var Tt;const{getPopupContainer:ke,getPrefixCls:St,direction:be,modal:Ke}=l.useContext(G.E_),gt=hn=>{const{onCancel:Fn}=Zt;Fn==null||Fn(hn)},Rt=hn=>{const{onOk:Fn}=Zt;Fn==null||Fn(hn)},{prefixCls:Be,className:kr,rootClassName:At,open:Kr,wrapClassName:qr,centered:Ar,getContainer:Br,closeIcon:_r,closable:Ur,focusTriggerAfterClose:sn=!0,style:cn,visible:or,width:Lt=520,footer:vt}=Zt,yt=we(Zt,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),jt=St("modal",Be),Cr=St(),[gr,ot]=(0,de.ZP)(jt),Mr=x()(qr,{[`${jt}-centered`]:!!Ar,[`${jt}-wrap-rtl`]:be==="rtl"}),yn=vt!==null&&l.createElement(Q,Object.assign({},Zt,{onOk:Rt,onCancel:gt})),[Zn,mr]=(0,U.Z)(Ur,_r,hn=>M(jt,hn),l.createElement(B.Z,{className:`${jt}-close-icon`}),!0),tn=(0,le.H)(`.${jt}-content`);return gr(l.createElement(ae.BR,null,l.createElement(oe.Ux,{status:!0,override:!0},l.createElement($.Z,Object.assign({width:Lt},yt,{getContainer:Br===void 0?ke:Br,prefixCls:jt,rootClassName:x()(ot,At),wrapClassName:Mr,footer:yn,visible:Kr!=null?Kr:or,mousePosition:(Tt=yt.mousePosition)!==null&&Tt!==void 0?Tt:Ce,onClose:gt,closable:Zn,closeIcon:mr,focusTriggerAfterClose:sn,transitionName:(0,p.m)(Cr,"zoom",Zt.transitionName),maskTransitionName:(0,p.m)(Cr,"fade",Zt.maskTransitionName),className:x()(ot,kr,Ke==null?void 0:Ke.className),style:Object.assign(Object.assign({},Ke==null?void 0:Ke.style),cn),panelRef:tn})))))},_t=e(17313),Pt=e(83116);const qt=Zt=>{const{componentCls:Tt,titleFontSize:ke,titleLineHeight:St,modalConfirmIconSize:be,fontSize:Ke,lineHeight:gt}=Zt,Rt=`${Tt}-confirm`,Be=Math.round(ke*St),kr=Math.round(Ke*gt);return{[Rt]:{"&-rtl":{direction:"rtl"},[`${Zt.antCls}-modal-header`]:{display:"none"},[`${Rt}-body-wrapper`]:Object.assign({},(0,_t.dF)()),[`${Rt}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Zt.iconCls}`]:{flex:"none",fontSize:be,marginInlineEnd:Zt.marginSM,marginTop:(kr-be)/2},[`&-has-title > ${Zt.iconCls}`]:{marginTop:(Be-be)/2}},[`${Rt}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:Zt.marginXS},[`${Rt}-title`]:{color:Zt.colorTextHeading,fontWeight:Zt.fontWeightStrong,fontSize:ke,lineHeight:St},[`${Rt}-content`]:{color:Zt.colorText,fontSize:Ke,lineHeight:gt},[`${Rt}-btns`]:{textAlign:"end",marginTop:Zt.marginSM,[`${Zt.antCls}-btn + ${Zt.antCls}-btn`]:{marginBottom:0,marginInlineStart:Zt.marginXS}}},[`${Rt}-error ${Rt}-body > ${Zt.iconCls}`]:{color:Zt.colorError},[`${Rt}-warning ${Rt}-body > ${Zt.iconCls},
${Rt}-confirm ${Rt}-body > ${Zt.iconCls}`]:{color:Zt.colorWarning},[`${Rt}-info ${Rt}-body > ${Zt.iconCls}`]:{color:Zt.colorInfo},[`${Rt}-success ${Rt}-body > ${Zt.iconCls}`]:{color:Zt.colorSuccess}}};var er=(0,Pt.b)(["Modal","confirm"],Zt=>{const Tt=(0,de.B4)(Zt);return[qt(Tt)]},de.eh,{order:-1e3}),Jt=function(Zt,Tt){var ke={};for(var St in Zt)Object.prototype.hasOwnProperty.call(Zt,St)&&Tt.indexOf(St)<0&&(ke[St]=Zt[St]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,St=Object.getOwnPropertySymbols(Zt);be<St.length;be++)Tt.indexOf(St[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,St[be])&&(ke[St[be]]=Zt[St[be]]);return ke};function Xe(Zt){const{prefixCls:Tt,icon:ke,okText:St,cancelText:be,confirmPrefixCls:Ke,type:gt,okCancel:Rt,footer:Be,locale:kr}=Zt,At=Jt(Zt,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let Kr=ke;if(!ke&&ke!==null)switch(gt){case"info":Kr=l.createElement(u.Z,null);break;case"success":Kr=l.createElement(f.Z,null);break;case"error":Kr=l.createElement(s.Z,null);break;default:Kr=l.createElement(h.Z,null)}const qr=Rt!=null?Rt:gt==="confirm",Ar=Zt.autoFocusButton===null?!1:Zt.autoFocusButton||"ok",[Br]=(0,y.Z)("Modal"),_r=kr||Br,Ur=St||(qr?_r==null?void 0:_r.okText:_r==null?void 0:_r.justOkText),sn=be||(_r==null?void 0:_r.cancelText),cn=Object.assign({autoFocusButton:Ar,cancelTextLocale:sn,okTextLocale:Ur,mergedOkCancel:qr},At),or=l.useMemo(()=>cn,(0,r.Z)(Object.values(cn))),Lt=l.createElement(l.Fragment,null,l.createElement(L,null),l.createElement(D,null)),vt=Zt.title!==void 0&&Zt.title!==null,yt=`${Ke}-body`;return l.createElement("div",{className:`${Ke}-body-wrapper`},l.createElement("div",{className:x()(yt,{[`${yt}-has-title`]:vt})},Kr,l.createElement("div",{className:`${Ke}-paragraph`},vt&&l.createElement("span",{className:`${Ke}-title`},Zt.title),l.createElement("div",{className:`${Ke}-content`},Zt.content))),Be===void 0||typeof Be=="function"?l.createElement(S,{value:or},l.createElement("div",{className:`${Ke}-btns`},typeof Be=="function"?Be(Lt,{OkBtn:D,CancelBtn:L}):Lt)):Be,l.createElement(er,{prefixCls:Tt}))}var zt=Zt=>{const{close:Tt,zIndex:ke,afterClose:St,visible:be,open:Ke,keyboard:gt,centered:Rt,getContainer:Be,maskStyle:kr,direction:At,prefixCls:Kr,wrapClassName:qr,rootPrefixCls:Ar,iconPrefixCls:Br,theme:_r,bodyStyle:Ur,closable:sn=!1,closeIcon:cn,modalRender:or,focusTriggerAfterClose:Lt,onConfirm:vt}=Zt,yt=`${Kr}-confirm`,jt=Zt.width||416,Cr=Zt.style||{},gr=Zt.mask===void 0?!0:Zt.mask,ot=Zt.maskClosable===void 0?!1:Zt.maskClosable,Mr=x()(yt,`${yt}-${Zt.type}`,{[`${yt}-rtl`]:At==="rtl"},Zt.className);return l.createElement(c.ZP,{prefixCls:Ar,iconPrefixCls:Br,direction:At,theme:_r},l.createElement(Ft,{prefixCls:Kr,className:Mr,wrapClassName:x()({[`${yt}-centered`]:!!Zt.centered},qr),onCancel:()=>{Tt==null||Tt({triggerCancel:!0}),vt==null||vt(!1)},open:Ke,title:"",footer:null,transitionName:(0,p.m)(Ar||"","zoom",Zt.transitionName),maskTransitionName:(0,p.m)(Ar||"","fade",Zt.maskTransitionName),mask:gr,maskClosable:ot,maskStyle:kr,style:Cr,bodyStyle:Ur,width:jt,zIndex:ke,afterClose:St,keyboard:gt,centered:Rt,getContainer:Be,closable:sn,closeIcon:cn,modalRender:or,focusTriggerAfterClose:Lt},l.createElement(Xe,Object.assign({},Zt,{confirmPrefixCls:yt}))))},bt=[],ht=function(Zt,Tt){var ke={};for(var St in Zt)Object.prototype.hasOwnProperty.call(Zt,St)&&Tt.indexOf(St)<0&&(ke[St]=Zt[St]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,St=Object.getOwnPropertySymbols(Zt);be<St.length;be++)Tt.indexOf(St[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,St[be])&&(ke[St[be]]=Zt[St[be]]);return ke};let Je="";function Ue(){return Je}function ge(Zt){const Tt=document.createDocumentFragment();let ke=Object.assign(Object.assign({},Zt),{close:gt,open:!0}),St;function be(){for(var Be=arguments.length,kr=new Array(Be),At=0;At<Be;At++)kr[At]=arguments[At];const Kr=kr.some(qr=>qr&&qr.triggerCancel);Zt.onCancel&&Kr&&Zt.onCancel.apply(Zt,[()=>{}].concat((0,r.Z)(kr.slice(1))));for(let qr=0;qr<bt.length;qr++)if(bt[qr]===gt){bt.splice(qr,1);break}(0,i.v)(Tt)}function Ke(Be){var{okText:kr,cancelText:At,prefixCls:Kr,getContainer:qr}=Be,Ar=ht(Be,["okText","cancelText","prefixCls","getContainer"]);clearTimeout(St),St=setTimeout(()=>{const Br=(0,F.A)(),{getPrefixCls:_r,getIconPrefixCls:Ur,getTheme:sn}=(0,c.w6)(),cn=_r(void 0,Ue()),or=Kr||`${cn}-modal`,Lt=Ur(),vt=sn();let yt=qr;yt===!1&&(yt=void 0),(0,i.s)(l.createElement(zt,Object.assign({},Ar,{getContainer:yt,prefixCls:or,rootPrefixCls:cn,iconPrefixCls:Lt,okText:kr,locale:Br,theme:vt,cancelText:At||Br.cancelText})),Tt)})}function gt(){for(var Be=arguments.length,kr=new Array(Be),At=0;At<Be;At++)kr[At]=arguments[At];ke=Object.assign(Object.assign({},ke),{open:!1,afterClose:()=>{typeof Zt.afterClose=="function"&&Zt.afterClose(),be.apply(this,kr)}}),ke.visible&&delete ke.visible,Ke(ke)}function Rt(Be){typeof Be=="function"?ke=Be(ke):ke=Object.assign(Object.assign({},ke),Be),Ke(ke)}return Ke(ke),bt.push(gt),{destroy:gt,update:Rt}}function Ae(Zt){return Object.assign(Object.assign({},Zt),{type:"warning"})}function Me(Zt){return Object.assign(Object.assign({},Zt),{type:"info"})}function $e(Zt){return Object.assign(Object.assign({},Zt),{type:"success"})}function He(Zt){return Object.assign(Object.assign({},Zt),{type:"error"})}function nt(Zt){return Object.assign(Object.assign({},Zt),{type:"confirm"})}function ct(Zt){let{rootPrefixCls:Tt}=Zt;Je=Tt}var Vt=e(53487),Wt=function(Zt,Tt){var ke={};for(var St in Zt)Object.prototype.hasOwnProperty.call(Zt,St)&&Tt.indexOf(St)<0&&(ke[St]=Zt[St]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,St=Object.getOwnPropertySymbols(Zt);be<St.length;be++)Tt.indexOf(St[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,St[be])&&(ke[St[be]]=Zt[St[be]]);return ke};const De=Zt=>{const{prefixCls:Tt,className:ke,closeIcon:St,closable:be,type:Ke,title:gt,children:Rt}=Zt,Be=Wt(Zt,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:kr}=l.useContext(G.E_),At=kr(),Kr=Tt||kr("modal"),[,qr]=(0,de.ZP)(Kr),Ar=`${Kr}-confirm`;let Br={};return Ke?Br={closable:be!=null?be:!1,title:"",footer:"",children:l.createElement(Xe,Object.assign({},Zt,{prefixCls:Kr,confirmPrefixCls:Ar,rootPrefixCls:At,content:Rt}))}:Br={closable:be!=null?be:!0,title:gt,footer:Zt.footer===void 0?l.createElement(Q,Object.assign({},Zt)):Zt.footer,children:Rt},l.createElement($.s,Object.assign({prefixCls:Kr,className:x()(qr,`${Kr}-pure-panel`,Ke&&Ar,Ke&&`${Ar}-${Ke}`,ke)},Be,{closeIcon:M(Kr,St),closable:be},Br))};var qe=(0,Vt.i)(De);function Gt(){const[Zt,Tt]=l.useState([]),ke=l.useCallback(St=>(Tt(be=>[].concat((0,r.Z)(be),[St])),()=>{Tt(be=>be.filter(Ke=>Ke!==St))}),[]);return[Zt,ke]}var kt=e(31724),Ht=function(Zt,Tt){var ke={};for(var St in Zt)Object.prototype.hasOwnProperty.call(Zt,St)&&Tt.indexOf(St)<0&&(ke[St]=Zt[St]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,St=Object.getOwnPropertySymbols(Zt);be<St.length;be++)Tt.indexOf(St[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,St[be])&&(ke[St[be]]=Zt[St[be]]);return ke};const $t=(Zt,Tt)=>{var ke,{afterClose:St,config:be}=Zt,Ke=Ht(Zt,["afterClose","config"]);const[gt,Rt]=l.useState(!0),[Be,kr]=l.useState(be),{direction:At,getPrefixCls:Kr}=l.useContext(G.E_),qr=Kr("modal"),Ar=Kr(),Br=()=>{var cn;St(),(cn=Be.afterClose)===null||cn===void 0||cn.call(Be)},_r=function(){Rt(!1);for(var cn=arguments.length,or=new Array(cn),Lt=0;Lt<cn;Lt++)or[Lt]=arguments[Lt];const vt=or.some(yt=>yt&&yt.triggerCancel);Be.onCancel&&vt&&Be.onCancel.apply(Be,[()=>{}].concat((0,r.Z)(or.slice(1))))};l.useImperativeHandle(Tt,()=>({destroy:_r,update:cn=>{kr(or=>Object.assign(Object.assign({},or),cn))}}));const Ur=(ke=Be.okCancel)!==null&&ke!==void 0?ke:Be.type==="confirm",[sn]=(0,y.Z)("Modal",kt.Z.Modal);return l.createElement(zt,Object.assign({prefixCls:qr,rootPrefixCls:Ar},Be,{close:_r,open:gt,afterClose:Br,okText:Be.okText||(Ur?sn==null?void 0:sn.okText:sn==null?void 0:sn.justOkText),direction:Be.direction||At,cancelText:Be.cancelText||(sn==null?void 0:sn.cancelText)},Ke))};var Ct=l.forwardRef($t);let Yt=0;const We=l.memo(l.forwardRef((Zt,Tt)=>{const[ke,St]=Gt();return l.useImperativeHandle(Tt,()=>({patchElement:St}),[]),l.createElement(l.Fragment,null,ke)}));function fe(){const Zt=l.useRef(null),[Tt,ke]=l.useState([]);l.useEffect(()=>{Tt.length&&((0,r.Z)(Tt).forEach(gt=>{gt()}),ke([]))},[Tt]);const St=l.useCallback(Ke=>function(Rt){var Be;Yt+=1;const kr=l.createRef();let At;const Kr=new Promise(Ur=>{At=Ur});let qr=!1,Ar;const Br=l.createElement(Ct,{key:`modal-${Yt}`,config:Ke(Rt),ref:kr,afterClose:()=>{Ar==null||Ar()},isSilent:()=>qr,onConfirm:Ur=>{At(Ur)}});return Ar=(Be=Zt.current)===null||Be===void 0?void 0:Be.patchElement(Br),Ar&&bt.push(Ar),{destroy:()=>{function Ur(){var sn;(sn=kr.current)===null||sn===void 0||sn.destroy()}kr.current?Ur():ke(sn=>[].concat((0,r.Z)(sn),[Ur]))},update:Ur=>{function sn(){var cn;(cn=kr.current)===null||cn===void 0||cn.update(Ur)}kr.current?sn():ke(cn=>[].concat((0,r.Z)(cn),[sn]))},then:Ur=>(qr=!0,Kr.then(Ur))}},[]);return[l.useMemo(()=>({info:St(Me),success:St($e),error:St(He),warning:St(Ae),confirm:St(nt)}),[]),l.createElement(We,{key:"modal-holder",ref:Zt})]}var _e=fe;function Ot(Zt){return ge(Ae(Zt))}const Pe=Ft;Pe.useModal=_e,Pe.info=function(Tt){return ge(Me(Tt))},Pe.success=function(Tt){return ge($e(Tt))},Pe.error=function(Tt){return ge(He(Tt))},Pe.warning=Ot,Pe.warn=Ot,Pe.confirm=function(Tt){return ge(nt(Tt))},Pe.destroyAll=function(){for(;bt.length;){const Tt=bt.pop();Tt&&Tt()}},Pe.config=ct,Pe._InternalPanelDoNotUseOrYouWillBeFired=qe;var dt=Pe},98044:function(d,g,e){"use strict";e.d(g,{A:function(){return s},f:function(){return f}});var r=e(31724);let i=Object.assign({},r.Z.Modal),l=[];const c=()=>l.reduce((h,u)=>Object.assign(Object.assign({},h),u),r.Z.Modal);function f(h){if(h){const u=Object.assign({},h);return l.push(u),i=c(),()=>{l=l.filter(a=>a!==u),i=c()}}i=Object.assign({},r.Z.Modal)}function s(){return i}},73819:function(d,g,e){"use strict";e.d(g,{B4:function(){return p},QA:function(){return h},eh:function(){return y}});var r=e(17313),i=e(1950),l=e(29878),c=e(37613),f=e(83116);function s(_){return{position:_,inset:0}}const h=_=>{const{componentCls:b,antCls:S}=_;return[{[`${b}-root`]:{[`${b}${S}-zoom-enter, ${b}${S}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:_.motionDurationSlow,userSelect:"none"},[`${b}${S}-zoom-leave ${b}-content`]:{pointerEvents:"none"},[`${b}-mask`]:Object.assign(Object.assign({},s("fixed")),{zIndex:_.zIndexPopupBase,height:"100%",backgroundColor:_.colorBgMask,pointerEvents:"none",[`${b}-hidden`]:{display:"none"}}),[`${b}-wrap`]:Object.assign(Object.assign({},s("fixed")),{zIndex:_.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${b}${S}-zoom-enter), &:has(${b}${S}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${b}-root`]:(0,i.J$)(_)}]},u=_=>{const{componentCls:b}=_;return[{[`${b}-root`]:{[`${b}-wrap-rtl`]:{direction:"rtl"},[`${b}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[b]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${_.screenSMMax})`]:{[b]:{maxWidth:"calc(100vw - 16px)",margin:`${_.marginXS} auto`},[`${b}-centered`]:{[b]:{flex:1}}}}},{[b]:Object.assign(Object.assign({},(0,r.Wf)(_)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${_.margin*2}px)`,margin:"0 auto",paddingBottom:_.paddingLG,[`${b}-title`]:{margin:0,color:_.titleColor,fontWeight:_.fontWeightStrong,fontSize:_.titleFontSize,lineHeight:_.titleLineHeight,wordWrap:"break-word"},[`${b}-content`]:{position:"relative",backgroundColor:_.contentBg,backgroundClip:"padding-box",border:0,borderRadius:_.borderRadiusLG,boxShadow:_.boxShadow,pointerEvents:"auto",padding:`${_.paddingMD}px ${_.paddingContentHorizontalLG}px`},[`${b}-close`]:Object.assign({position:"absolute",top:(_.modalHeaderHeight-_.modalCloseBtnSize)/2,insetInlineEnd:(_.modalHeaderHeight-_.modalCloseBtnSize)/2,zIndex:_.zIndexPopupBase+10,padding:0,color:_.modalCloseIconColor,fontWeight:_.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:_.borderRadiusSM,width:_.modalCloseBtnSize,height:_.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${_.motionDurationMid}, background-color ${_.motionDurationMid}`,"&-x":{display:"flex",fontSize:_.fontSizeLG,fontStyle:"normal",lineHeight:`${_.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:_.modalIconHoverColor,backgroundColor:_.wireframe?"transparent":_.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:_.wireframe?"transparent":_.colorFillContentHover}},(0,r.Qy)(_)),[`${b}-header`]:{color:_.colorText,background:_.headerBg,borderRadius:`${_.borderRadiusLG}px ${_.borderRadiusLG}px 0 0`,marginBottom:_.marginXS},[`${b}-body`]:{fontSize:_.fontSize,lineHeight:_.lineHeight,wordWrap:"break-word"},[`${b}-footer`]:{textAlign:"end",background:_.footerBg,marginTop:_.marginSM,[`${_.antCls}-btn + ${_.antCls}-btn:not(${_.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:_.marginXS}},[`${b}-open`]:{overflow:"hidden"}})},{[`${b}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${b}-content,
${b}-body,
${b}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${b}-confirm-body`]:{marginBottom:"auto"}}}]},a=_=>{const{componentCls:b,antCls:S}=_,R=`${b}-confirm`;return{[b]:{[`${b}-content`]:{padding:0},[`${b}-header`]:{padding:_.modalHeaderPadding,borderBottom:`${_.modalHeaderBorderWidth}px ${_.modalHeaderBorderStyle} ${_.modalHeaderBorderColorSplit}`,marginBottom:0},[`${b}-body`]:{padding:_.modalBodyPadding},[`${b}-footer`]:{padding:`${_.modalFooterPaddingVertical}px ${_.modalFooterPaddingHorizontal}px`,borderTop:`${_.modalFooterBorderWidth}px ${_.modalFooterBorderStyle} ${_.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${_.borderRadiusLG}px ${_.borderRadiusLG}px`,marginTop:0}},[R]:{[`${S}-modal-body`]:{padding:`${_.padding*2}px ${_.padding*2}px ${_.paddingLG}px`},[`${R}-body`]:{[`> ${_.iconCls}`]:{marginInlineEnd:_.margin,[`+ ${R}-title + ${R}-content`]:{marginInlineStart:_.modalConfirmIconSize+_.margin}}},[`${R}-btns`]:{marginTop:_.marginLG}}}},x=_=>{const{componentCls:b}=_;return{[`${b}-root`]:{[`${b}-wrap-rtl`]:{direction:"rtl",[`${b}-confirm-body`]:{direction:"rtl"}}}}},p=_=>{const b=_.padding,S=_.fontSizeHeading5,R=_.lineHeightHeading5;return(0,c.TS)(_,{modalBodyPadding:_.paddingLG,modalHeaderPadding:`${b}px ${_.paddingLG}px`,modalHeaderBorderWidth:_.lineWidth,modalHeaderBorderStyle:_.lineType,modalHeaderBorderColorSplit:_.colorSplit,modalHeaderHeight:R*S+b*2,modalFooterBorderColorSplit:_.colorSplit,modalFooterBorderStyle:_.lineType,modalFooterPaddingVertical:_.paddingXS,modalFooterPaddingHorizontal:_.padding,modalFooterBorderWidth:_.lineWidth,modalIconHoverColor:_.colorIconHover,modalCloseIconColor:_.colorIcon,modalCloseBtnSize:_.fontSize*_.lineHeight,modalConfirmIconSize:_.fontSize*_.lineHeight})},y=_=>({footerBg:"transparent",headerBg:_.colorBgElevated,titleLineHeight:_.lineHeightHeading5,titleFontSize:_.fontSizeHeading5,contentBg:_.colorBgElevated,titleColor:_.colorTextHeading});g.ZP=(0,f.Z)("Modal",_=>{const b=p(_);return[u(b),x(b),h(b),_.wireframe&&a(b),(0,l._y)(b,"zoom")]},y)},28909:function(d,g,e){"use strict";e.d(g,{Z:function(){return ht}});var r=e(59301),i=e(1585),l=e(92736),c=e(29679),f=e(19248),s=e(99267),h=e(96512),u=e(78987),a=e(58617),x=e(92310),p=e.n(x),y=e(581),_=e(36355),b=e(93083),S=e(17313),R=e(83116),L=e(37613),D=Je=>{const{componentCls:Ue,width:ge,notificationMarginEdge:Ae}=Je,Me=new b.Keyframes("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),$e=new b.Keyframes("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),He=new b.Keyframes("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:ge},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${Ue}-top, &${Ue}-bottom`]:{marginInline:0},[`&${Ue}-top`]:{[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:Me}},[`&${Ue}-bottom`]:{[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:$e}},[`&${Ue}-topLeft, &${Ue}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:Ae,[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:He}}}};const B=Je=>{const{iconCls:Ue,componentCls:ge,boxShadow:Ae,fontSizeLG:Me,notificationMarginBottom:$e,borderRadiusLG:He,colorSuccess:nt,colorInfo:ct,colorWarning:Vt,colorError:Wt,colorTextHeading:De,notificationBg:qe,notificationPadding:Gt,notificationMarginEdge:kt,motionDurationMid:Ht,motionEaseInOut:$t,fontSize:Ct,lineHeight:Yt,width:We,notificationIconSize:fe,colorText:_e}=Je,Ot=`${ge}-notice`,Pe=new b.Keyframes("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:We},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),dt=new b.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:Je.animationMaxHeight,marginBottom:$e,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),Zt={position:"relative",width:We,maxWidth:`calc(100vw - ${kt*2}px)`,marginBottom:$e,marginInlineStart:"auto",padding:Gt,overflow:"hidden",lineHeight:Yt,wordWrap:"break-word",background:qe,borderRadius:He,boxShadow:Ae,[`${ge}-close-icon`]:{fontSize:Ct,cursor:"pointer"},[`${Ot}-message`]:{marginBottom:Je.marginXS,color:De,fontSize:Me,lineHeight:Je.lineHeightLG},[`${Ot}-description`]:{fontSize:Ct,color:_e},[`&${Ot}-closable ${Ot}-message`]:{paddingInlineEnd:Je.paddingLG},[`${Ot}-with-icon ${Ot}-message`]:{marginBottom:Je.marginXS,marginInlineStart:Je.marginSM+fe,fontSize:Me},[`${Ot}-with-icon ${Ot}-description`]:{marginInlineStart:Je.marginSM+fe,fontSize:Ct},[`${Ot}-icon`]:{position:"absolute",fontSize:fe,lineHeight:0,[`&-success${Ue}`]:{color:nt},[`&-info${Ue}`]:{color:ct},[`&-warning${Ue}`]:{color:Vt},[`&-error${Ue}`]:{color:Wt}},[`${Ot}-close`]:{position:"absolute",top:Je.notificationPaddingVertical,insetInlineEnd:Je.notificationPaddingHorizontal,color:Je.colorIcon,outline:"none",width:Je.notificationCloseButtonSize,height:Je.notificationCloseButtonSize,borderRadius:Je.borderRadiusSM,transition:`background-color ${Je.motionDurationMid}, color ${Je.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:Je.colorIconHover,backgroundColor:Je.wireframe?"transparent":Je.colorFillContent}},[`${Ot}-btn`]:{float:"right",marginTop:Je.marginSM}};return[{[ge]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(Je)),{position:"fixed",zIndex:Je.zIndexPopup,marginInlineEnd:kt,[`${ge}-hook-holder`]:{position:"relative"},[`&${ge}-top, &${ge}-bottom`]:{[Ot]:{marginInline:"auto auto"}},[`&${ge}-topLeft, &${ge}-bottomLeft`]:{[Ot]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${ge}-fade-enter, ${ge}-fade-appear`]:{animationDuration:Je.motionDurationMid,animationTimingFunction:$t,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${ge}-fade-leave`]:{animationTimingFunction:$t,animationFillMode:"both",animationDuration:Ht,animationPlayState:"paused"},[`${ge}-fade-enter${ge}-fade-enter-active, ${ge}-fade-appear${ge}-fade-appear-active`]:{animationName:Pe,animationPlayState:"running"},[`${ge}-fade-leave${ge}-fade-leave-active`]:{animationName:dt,animationPlayState:"running"}}),D(Je)),{"&-rtl":{direction:"rtl",[`${Ot}-btn`]:{float:"left"}}})},{[ge]:{[Ot]:Object.assign({},Zt)}},{[`${Ot}-pure-panel`]:Object.assign(Object.assign({},Zt),{margin:0})}]};var $=(0,R.Z)("Notification",Je=>{const Ue=Je.paddingMD,ge=Je.paddingLG,Ae=(0,L.TS)(Je,{notificationBg:Je.colorBgElevated,notificationPaddingVertical:Ue,notificationPaddingHorizontal:ge,notificationIconSize:Je.fontSizeLG*Je.lineHeightLG,notificationCloseButtonSize:Je.controlHeightLG*.55,notificationMarginBottom:Je.margin,notificationPadding:`${Je.paddingMD}px ${Je.paddingContentHorizontalLG}px`,notificationMarginEdge:Je.marginLG,animationMaxHeight:150});return[B(Ae)]},Je=>({zIndexPopup:Je.zIndexPopupBase+50,width:384})),U=function(Je,Ue){var ge={};for(var Ae in Je)Object.prototype.hasOwnProperty.call(Je,Ae)&&Ue.indexOf(Ae)<0&&(ge[Ae]=Je[Ae]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ae=Object.getOwnPropertySymbols(Je);Me<Ae.length;Me++)Ue.indexOf(Ae[Me])<0&&Object.prototype.propertyIsEnumerable.call(Je,Ae[Me])&&(ge[Ae[Me]]=Je[Ae[Me]]);return ge};const K={info:r.createElement(u.Z,null),success:r.createElement(c.Z,null),error:r.createElement(f.Z,null),warning:r.createElement(h.Z,null),loading:r.createElement(a.Z,null)};function V(Je,Ue){return Ue===null||Ue===!1?null:Ue||r.createElement("span",{className:`${Je}-close-x`},r.createElement(s.Z,{className:`${Je}-close-icon`}))}const G={success:c.Z,info:u.Z,error:f.Z,warning:h.Z},oe=Je=>{const{prefixCls:Ue,icon:ge,type:Ae,message:Me,description:$e,btn:He,role:nt="alert"}=Je;let ct=null;return ge?ct=r.createElement("span",{className:`${Ue}-icon`},ge):Ae&&(ct=r.createElement(G[Ae]||null,{className:p()(`${Ue}-icon`,`${Ue}-icon-${Ae}`)})),r.createElement("div",{className:p()({[`${Ue}-with-icon`]:ct}),role:nt},ct,r.createElement("div",{className:`${Ue}-message`},Me),r.createElement("div",{className:`${Ue}-description`},$e),He&&r.createElement("div",{className:`${Ue}-btn`},He))};var le=Je=>{const{prefixCls:Ue,className:ge,icon:Ae,type:Me,message:$e,description:He,btn:nt,closable:ct=!0,closeIcon:Vt}=Je,Wt=U(Je,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:De}=r.useContext(_.E_),qe=Ue||De("notification"),Gt=`${qe}-notice`,[,kt]=$(qe);return r.createElement(y.qX,Object.assign({},Wt,{prefixCls:qe,className:p()(ge,kt,`${Gt}-pure-panel`),eventKey:"pure",duration:null,closable:ct,closeIcon:V(qe,Vt),content:r.createElement(oe,{prefixCls:Gt,icon:Ae,type:Me,message:$e,description:He,btn:nt})}))};function q(Je,Ue,ge){let Ae;switch(Je){case"top":Ae={left:"50%",transform:"translateX(-50%)",right:"auto",top:Ue,bottom:"auto"};break;case"topLeft":Ae={left:0,top:Ue,bottom:"auto"};break;case"topRight":Ae={right:0,top:Ue,bottom:"auto"};break;case"bottom":Ae={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:ge};break;case"bottomLeft":Ae={left:0,top:"auto",bottom:ge};break;default:Ae={right:0,top:"auto",bottom:ge};break}return Ae}function J(Je){return{motionName:`${Je}-fade`}}var Y=function(Je,Ue){var ge={};for(var Ae in Je)Object.prototype.hasOwnProperty.call(Je,Ae)&&Ue.indexOf(Ae)<0&&(ge[Ae]=Je[Ae]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ae=Object.getOwnPropertySymbols(Je);Me<Ae.length;Me++)Ue.indexOf(Ae[Me])<0&&Object.prototype.propertyIsEnumerable.call(Je,Ae[Me])&&(ge[Ae[Me]]=Je[Ae[Me]]);return ge};const ue=24,ne=4.5,ee="topRight",ie=Je=>{let{children:Ue,prefixCls:ge}=Je;const[,Ae]=$(ge);return r.createElement(y.JB,{classNames:{list:Ae,notice:Ae}},Ue)},F=(Je,Ue)=>{let{prefixCls:ge,key:Ae}=Ue;return r.createElement(ie,{prefixCls:ge,key:Ae},Je)},M=r.forwardRef((Je,Ue)=>{const{top:ge,bottom:Ae,prefixCls:Me,getContainer:$e,maxCount:He,rtl:nt,onAllRemoved:ct}=Je,{getPrefixCls:Vt,getPopupContainer:Wt,notification:De}=r.useContext(_.E_),qe=Me||Vt("notification"),Gt=Yt=>q(Yt,ge!=null?ge:ue,Ae!=null?Ae:ue),kt=()=>p()({[`${qe}-rtl`]:nt}),Ht=()=>J(qe),[$t,Ct]=(0,y.lm)({prefixCls:qe,style:Gt,className:kt,motion:Ht,closable:!0,closeIcon:V(qe),duration:ne,getContainer:()=>($e==null?void 0:$e())||(Wt==null?void 0:Wt())||document.body,maxCount:He,onAllRemoved:ct,renderNotifications:F});return r.useImperativeHandle(Ue,()=>Object.assign(Object.assign({},$t),{prefixCls:qe,notification:De})),Ct});function Q(Je){const Ue=r.useRef(null);return[r.useMemo(()=>{const Ae=nt=>{var ct;if(!Ue.current)return;const{open:Vt,prefixCls:Wt,notification:De}=Ue.current,qe=`${Wt}-notice`,{message:Gt,description:kt,icon:Ht,type:$t,btn:Ct,className:Yt,style:We,role:fe="alert",closeIcon:_e}=nt,Ot=Y(nt,["message","description","icon","type","btn","className","style","role","closeIcon"]),Pe=V(qe,_e);return Vt(Object.assign(Object.assign({placement:(ct=Je==null?void 0:Je.placement)!==null&&ct!==void 0?ct:ee},Ot),{content:r.createElement(oe,{prefixCls:qe,icon:Ht,type:$t,message:Gt,description:kt,btn:Ct,role:fe}),className:p()($t&&`${qe}-${$t}`,Yt,De==null?void 0:De.className),style:Object.assign(Object.assign({},De==null?void 0:De.style),We),closeIcon:Pe,closable:!!Pe}))},$e={open:Ae,destroy:nt=>{var ct,Vt;nt!==void 0?(ct=Ue.current)===null||ct===void 0||ct.close(nt):(Vt=Ue.current)===null||Vt===void 0||Vt.destroy()}};return["success","info","warning","error"].forEach(nt=>{$e[nt]=ct=>Ae(Object.assign(Object.assign({},ct),{type:nt}))}),$e},[]),r.createElement(M,Object.assign({key:"notification-holder"},Je,{ref:Ue}))]}function de(Je){return Q(Je)}let we=null,Ce=Je=>Je(),je=[],Fe={};function Ft(){const{prefixCls:Je,getContainer:Ue,rtl:ge,maxCount:Ae,top:Me,bottom:$e}=Fe,He=Je!=null?Je:(0,l.w6)().getPrefixCls("notification"),nt=(Ue==null?void 0:Ue())||document.body;return{prefixCls:He,getContainer:()=>nt,rtl:ge,maxCount:Ae,top:Me,bottom:$e}}const _t=r.forwardRef((Je,Ue)=>{const[ge,Ae]=r.useState(Ft),[Me,$e]=Q(ge),He=(0,l.w6)(),nt=He.getRootPrefixCls(),ct=He.getIconPrefixCls(),Vt=He.getTheme(),Wt=()=>{Ae(Ft)};return r.useEffect(Wt,[]),r.useImperativeHandle(Ue,()=>{const De=Object.assign({},Me);return Object.keys(De).forEach(qe=>{De[qe]=function(){return Wt(),Me[qe].apply(Me,arguments)}}),{instance:De,sync:Wt}}),r.createElement(l.ZP,{prefixCls:nt,iconPrefixCls:ct,theme:Vt},$e)});function Pt(){if(!we){const Je=document.createDocumentFragment(),Ue={fragment:Je};we=Ue,Ce(()=>{(0,i.s)(r.createElement(_t,{ref:ge=>{const{instance:Ae,sync:Me}=ge||{};Promise.resolve().then(()=>{!Ue.instance&&Ae&&(Ue.instance=Ae,Ue.sync=Me,Pt())})}}),Je)});return}we.instance&&(je.forEach(Je=>{switch(Je.type){case"open":{Ce(()=>{we.instance.open(Object.assign(Object.assign({},Fe),Je.config))});break}case"destroy":Ce(()=>{we==null||we.instance.destroy(Je.key)});break}}),je=[])}function qt(Je){Fe=Object.assign(Object.assign({},Fe),Je),Ce(()=>{var Ue;(Ue=we==null?void 0:we.sync)===null||Ue===void 0||Ue.call(we)})}function er(Je){je.push({type:"open",config:Je}),Pt()}function Jt(Je){je.push({type:"destroy",key:Je}),Pt()}const Xe=["success","info","warning","error"],zt={open:er,destroy:Jt,config:qt,useNotification:de,_InternalPanelDoNotUseOrYouWillBeFired:le};Xe.forEach(Je=>{zt[Je]=Ue=>er(Object.assign(Object.assign({},Ue),{type:Je}))});const st=()=>{};let bt=null;var ht=zt},95237:function(d,g,e){"use strict";var r=e(27382);g.Z=r.Z},33234:function(d,g,e){"use strict";e.d(g,{BR:function(){return p},ri:function(){return x}});var r=e(92310),i=e.n(r),l=e(11592),c=e(59301),f=e(36355),s=e(19716),h=e(2856),u=function(b,S){var R={};for(var L in b)Object.prototype.hasOwnProperty.call(b,L)&&S.indexOf(L)<0&&(R[L]=b[L]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,L=Object.getOwnPropertySymbols(b);C<L.length;C++)S.indexOf(L[C])<0&&Object.prototype.propertyIsEnumerable.call(b,L[C])&&(R[L[C]]=b[L[C]]);return R};const a=c.createContext(null),x=(b,S)=>{const R=c.useContext(a),L=c.useMemo(()=>{if(!R)return"";const{compactDirection:C,isFirstItem:D,isLastItem:B}=R,$=C==="vertical"?"-vertical-":"-";return i()(`${b}-compact${$}item`,{[`${b}-compact${$}first-item`]:D,[`${b}-compact${$}last-item`]:B,[`${b}-compact${$}item-rtl`]:S==="rtl"})},[b,S,R]);return{compactSize:R==null?void 0:R.compactSize,compactDirection:R==null?void 0:R.compactDirection,compactItemClassnames:L}},p=b=>{let{children:S}=b;return c.createElement(a.Provider,{value:null},S)},y=b=>{var{children:S}=b,R=u(b,["children"]);return c.createElement(a.Provider,{value:R},S)},_=b=>{const{getPrefixCls:S,direction:R}=c.useContext(f.E_),{size:L,direction:C,block:D,prefixCls:B,className:$,rootClassName:U,children:K}=b,V=u(b,["size","direction","block","prefixCls","className","rootClassName","children"]),G=(0,s.Z)(ne=>L!=null?L:ne),oe=S("space-compact",B),[ae,le]=(0,h.Z)(oe),q=i()(oe,le,{[`${oe}-rtl`]:R==="rtl",[`${oe}-block`]:D,[`${oe}-vertical`]:C==="vertical"},$,U),J=c.useContext(a),Y=(0,l.Z)(K),ue=c.useMemo(()=>Y.map((ne,ee)=>{const ie=ne&&ne.key||`${oe}-item-${ee}`;return c.createElement(y,{key:ie,compactSize:G,compactDirection:C,isFirstItem:ee===0&&(!J||(J==null?void 0:J.isFirstItem)),isLastItem:ee===Y.length-1&&(!J||(J==null?void 0:J.isLastItem))},ne)}),[L,Y,J]);return Y.length===0?null:ae(c.createElement("div",Object.assign({className:q},V),ue))};g.ZP=_},2856:function(d,g,e){"use strict";e.d(g,{Z:function(){return h}});var r=e(83116),i=e(37613),c=u=>{const{componentCls:a}=u;return{[a]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}};const f=u=>{const{componentCls:a}=u;return{[a]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${a}-item:empty`]:{display:"none"}}}},s=u=>{const{componentCls:a}=u;return{[a]:{"&-gap-row-small":{rowGap:u.spaceGapSmallSize},"&-gap-row-middle":{rowGap:u.spaceGapMiddleSize},"&-gap-row-large":{rowGap:u.spaceGapLargeSize},"&-gap-col-small":{columnGap:u.spaceGapSmallSize},"&-gap-col-middle":{columnGap:u.spaceGapMiddleSize},"&-gap-col-large":{columnGap:u.spaceGapLargeSize}}}};var h=(0,r.Z)("Space",u=>{const a=(0,i.TS)(u,{spaceGapSmallSize:u.paddingXS,spaceGapMiddleSize:u.padding,spaceGapLargeSize:u.paddingLG});return[f(a),s(a),c(a)]},()=>({}),{resetStyle:!1})},71418:function(d,g,e){"use strict";e.d(g,{Z:function(){return K}});var r=e(92310),i=e.n(r),l=e(2738),c=e(59301),f=e(53280),s=e(92343),h=e(36355),u=e(93083),a=e(17313),x=e(83116),p=e(37613);const y=new u.Keyframes("antSpinMove",{to:{opacity:1}}),_=new u.Keyframes("antRotate",{to:{transform:"rotate(405deg)"}}),b=V=>({[`${V.componentCls}`]:Object.assign(Object.assign({},(0,a.Wf)(V)),{position:"absolute",display:"none",color:V.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${V.motionDurationSlow} ${V.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${V.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:V.contentHeight,[`${V.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-V.dotSize/2},[`${V.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(V.dotSize-V.fontSize)/2+2,textShadow:`0 1px 2px ${V.colorBgContainer}`,fontSize:V.fontSize},[`&${V.componentCls}-show-text ${V.componentCls}-dot`]:{marginTop:-(V.dotSize/2)-10},"&-sm":{[`${V.componentCls}-dot`]:{margin:-V.dotSizeSM/2},[`${V.componentCls}-text`]:{paddingTop:(V.dotSizeSM-V.fontSize)/2+2},[`&${V.componentCls}-show-text ${V.componentCls}-dot`]:{marginTop:-(V.dotSizeSM/2)-10}},"&-lg":{[`${V.componentCls}-dot`]:{margin:-(V.dotSizeLG/2)},[`${V.componentCls}-text`]:{paddingTop:(V.dotSizeLG-V.fontSize)/2+2},[`&${V.componentCls}-show-text ${V.componentCls}-dot`]:{marginTop:-(V.dotSizeLG/2)-10}}},[`${V.componentCls}-container`]:{position:"relative",transition:`opacity ${V.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:V.colorBgContainer,opacity:0,transition:`all ${V.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${V.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:V.spinDotDefault},[`${V.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:V.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(V.dotSize-V.marginXXS/2)/2,height:(V.dotSize-V.marginXXS/2)/2,backgroundColor:V.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:_,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${V.componentCls}-dot`]:{fontSize:V.dotSizeSM,i:{width:(V.dotSizeSM-V.marginXXS/2)/2,height:(V.dotSizeSM-V.marginXXS/2)/2}},[`&-lg ${V.componentCls}-dot`]:{fontSize:V.dotSizeLG,i:{width:(V.dotSizeLG-V.marginXXS)/2,height:(V.dotSizeLG-V.marginXXS)/2}},[`&${V.componentCls}-show-text ${V.componentCls}-text`]:{display:"block"}})});var S=(0,x.Z)("Spin",V=>{const G=(0,p.TS)(V,{spinDotDefault:V.colorTextDescription});return[b(G)]},V=>({contentHeight:400,dotSize:V.controlHeightLG/2,dotSizeSM:V.controlHeightLG*.35,dotSizeLG:V.controlHeight})),R=function(V,G){var oe={};for(var ae in V)Object.prototype.hasOwnProperty.call(V,ae)&&G.indexOf(ae)<0&&(oe[ae]=V[ae]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,ae=Object.getOwnPropertySymbols(V);le<ae.length;le++)G.indexOf(ae[le])<0&&Object.prototype.propertyIsEnumerable.call(V,ae[le])&&(oe[ae[le]]=V[ae[le]]);return oe};const L=null;let C=null;function D(V,G){const{indicator:oe}=G,ae=`${V}-dot`;return oe===null?null:(0,s.l$)(oe)?(0,s.Tm)(oe,{className:i()(oe.props.className,ae)}):(0,s.l$)(C)?(0,s.Tm)(C,{className:i()(C.props.className,ae)}):c.createElement("span",{className:i()(ae,`${V}-dot-spin`)},c.createElement("i",{className:`${V}-dot-item`,key:1}),c.createElement("i",{className:`${V}-dot-item`,key:2}),c.createElement("i",{className:`${V}-dot-item`,key:3}),c.createElement("i",{className:`${V}-dot-item`,key:4}))}function B(V,G){return!!V&&!!G&&!isNaN(Number(G))}const $=V=>{const{spinPrefixCls:G,spinning:oe=!0,delay:ae=0,className:le,rootClassName:q,size:J="default",tip:Y,wrapperClassName:ue,style:ne,children:ee,hashId:ie}=V,F=R(V,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[M,Q]=c.useState(()=>oe&&!B(oe,ae));c.useEffect(()=>{if(oe){const qt=(0,f.D)(ae,()=>{Q(!0)});return qt(),()=>{var er;(er=qt==null?void 0:qt.cancel)===null||er===void 0||er.call(qt)}}Q(!1)},[ae,oe]);const de=c.useMemo(()=>typeof ee!="undefined",[ee]),{direction:we,spin:Ce}=c.useContext(h.E_),je=i()(G,Ce==null?void 0:Ce.className,{[`${G}-sm`]:J==="small",[`${G}-lg`]:J==="large",[`${G}-spinning`]:M,[`${G}-show-text`]:!!Y,[`${G}-rtl`]:we==="rtl"},le,q,ie),Fe=i()(`${G}-container`,{[`${G}-blur`]:M}),Ft=(0,l.Z)(F,["indicator","prefixCls"]),_t=Object.assign(Object.assign({},Ce==null?void 0:Ce.style),ne),Pt=c.createElement("div",Object.assign({},Ft,{style:_t,className:je,"aria-live":"polite","aria-busy":M}),D(G,V),Y&&de?c.createElement("div",{className:`${G}-text`},Y):null);return de?c.createElement("div",Object.assign({},Ft,{className:i()(`${G}-nested-loading`,ue,ie)}),M&&c.createElement("div",{key:"loading"},Pt),c.createElement("div",{className:Fe,key:"container"},ee)):Pt},U=V=>{const{prefixCls:G}=V,{getPrefixCls:oe}=c.useContext(h.E_),ae=oe("spin",G),[le,q]=S(ae),J=Object.assign(Object.assign({},V),{spinPrefixCls:ae,hashId:q});return le(c.createElement($,Object.assign({},J)))};U.setDefaultIndicator=V=>{C=V};var K=U},74207:function(d,g,e){"use strict";e.d(g,{c:function(){return l}});function r(c,f,s){const{focusElCls:h,focus:u,borderElCls:a}=s,x=a?"> *":"",p=["hover",u?"focus":null,"active"].filter(Boolean).map(y=>`&:${y} ${x}`).join(",");return{[`&-item:not(${f}-last-item)`]:{marginInlineEnd:-c.lineWidth},"&-item":Object.assign(Object.assign({[p]:{zIndex:2}},h?{[`&${h}`]:{zIndex:2}}:{}),{[`&[disabled] ${x}`]:{zIndex:0}})}}function i(c,f,s){const{borderElCls:h}=s,u=h?`> ${h}`:"";return{[`&-item:not(${f}-first-item):not(${f}-last-item) ${u}`]:{borderRadius:0},[`&-item:not(${f}-last-item)${f}-first-item`]:{[`& ${u}, &${c}-sm ${u}, &${c}-lg ${u}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${f}-first-item)${f}-last-item`]:{[`& ${u}, &${c}-sm ${u}, &${c}-lg ${u}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function l(c){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:s}=c,h=`${s}-compact`;return{[h]:Object.assign(Object.assign({},r(c,h,f)),i(s,h,f))}}},17313:function(d,g,e){"use strict";e.d(g,{Lx:function(){return f},Qy:function(){return u},Ro:function(){return l},Wf:function(){return i},dF:function(){return c},du:function(){return s},oN:function(){return h},vS:function(){return r}});const r={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},i=a=>({boxSizing:"border-box",margin:0,padding:0,color:a.colorText,fontSize:a.fontSize,lineHeight:a.lineHeight,listStyle:"none",fontFamily:a.fontFamily}),l=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),c=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),f=a=>({a:{color:a.colorLink,textDecoration:a.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${a.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:a.colorLinkHover},"&:active":{color:a.colorLinkActive},"&:active,\n &:hover":{textDecoration:a.linkHoverDecoration,outline:0},"&:focus":{textDecoration:a.linkFocusDecoration,outline:0},"&[disabled]":{color:a.colorTextDisabled,cursor:"not-allowed"}}}),s=(a,x)=>{const{fontFamily:p,fontSize:y}=a,_=`[class^="${x}"], [class*=" ${x}"]`;return{[_]:{fontFamily:p,fontSize:y,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[_]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},h=a=>({outline:`${a.lineWidthFocus}px solid ${a.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),u=a=>({"&:focus-visible":Object.assign({},h(a))})},1950:function(d,g,e){"use strict";e.d(g,{J$:function(){return f}});var r=e(93083),i=e(95406);const l=new r.Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),c=new r.Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),f=function(s){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:u}=s,a=`${u}-fade`,x=h?"&":"";return[(0,i.R)(a,l,c,s.motionDurationMid,h),{[`
${x}${a}-enter,
${x}${a}-appear
`]:{opacity:0,animationTimingFunction:"linear"},[`${x}${a}-leave`]:{animationTimingFunction:"linear"}}]}},95406:function(d,g,e){"use strict";e.d(g,{R:function(){return l}});const r=c=>({animationDuration:c,animationFillMode:"both"}),i=c=>({animationDuration:c,animationFillMode:"both"}),l=function(c,f,s,h){const a=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[`
${a}${c}-enter,
${a}${c}-appear
`]:Object.assign(Object.assign({},r(h)),{animationPlayState:"paused"}),[`${a}${c}-leave`]:Object.assign(Object.assign({},i(h)),{animationPlayState:"paused"}),[`
${a}${c}-enter${c}-enter-active,
${a}${c}-appear${c}-appear-active
`]:{animationName:f,animationPlayState:"running"},[`${a}${c}-leave${c}-leave-active`]:{animationName:s,animationPlayState:"running",pointerEvents:"none"}}}},29878:function(d,g,e){"use strict";e.d(g,{_y:function(){return R},kr:function(){return l}});var r=e(93083),i=e(95406);const l=new r.Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),c=new r.Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),f=new r.Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),s=new r.Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),h=new r.Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),u=new r.Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),a=new r.Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),x=new r.Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),p=new r.Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),y=new r.Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),_=new r.Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),b=new r.Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),S={zoom:{inKeyframes:l,outKeyframes:c},"zoom-big":{inKeyframes:f,outKeyframes:s},"zoom-big-fast":{inKeyframes:f,outKeyframes:s},"zoom-left":{inKeyframes:a,outKeyframes:x},"zoom-right":{inKeyframes:p,outKeyframes:y},"zoom-up":{inKeyframes:h,outKeyframes:u},"zoom-down":{inKeyframes:_,outKeyframes:b}},R=(L,C)=>{const{antCls:D}=L,B=`${D}-${C}`,{inKeyframes:$,outKeyframes:U}=S[C];return[(0,i.R)(B,$,U,C==="zoom-big-fast"?L.motionDurationFast:L.motionDurationMid),{[`
${B}-enter,
${B}-appear
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:L.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${B}-leave`]:{animationTimingFunction:L.motionEaseInOutCirc}}]}},19447:function(d,g,e){"use strict";e.d(g,{ZP:function(){return f},fS:function(){return l},qN:function(){return i}});var r=e(47585);const i=8;function l(s){const h=i,{contentRadius:u,limitVerticalRadius:a}=s,x=u>12?u+2:12;return{dropdownArrowOffset:x,dropdownArrowOffsetVertical:a?h:x}}function c(s,h){return s?h:{}}function f(s,h){const{componentCls:u,sizePopupArrow:a,borderRadiusXS:x,borderRadiusOuter:p,boxShadowPopoverArrow:y}=s,{colorBg:_,contentRadius:b=s.borderRadiusLG,limitVerticalRadius:S,arrowDistance:R=0,arrowPlacement:L={left:!0,right:!0,top:!0,bottom:!0}}=h,{dropdownArrowOffsetVertical:C,dropdownArrowOffset:D}=l({contentRadius:b,limitVerticalRadius:S});return{[u]:Object.assign(Object.assign(Object.assign(Object.assign({[`${u}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,r.r)(a,x,p,_,y)),{"&:before":{background:_}})]},c(!!L.top,{[[`&-placement-top ${u}-arrow`,`&-placement-topLeft ${u}-arrow`,`&-placement-topRight ${u}-arrow`].join(",")]:{bottom:R,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${u}-arrow`]:{left:{_skip_check_:!0,value:D}},[`&-placement-topRight ${u}-arrow`]:{right:{_skip_check_:!0,value:D}}})),c(!!L.bottom,{[[`&-placement-bottom ${u}-arrow`,`&-placement-bottomLeft ${u}-arrow`,`&-placement-bottomRight ${u}-arrow`].join(",")]:{top:R,transform:"translateY(-100%)"},[`&-placement-bottom ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${u}-arrow`]:{left:{_skip_check_:!0,value:D}},[`&-placement-bottomRight ${u}-arrow`]:{right:{_skip_check_:!0,value:D}}})),c(!!L.left,{[[`&-placement-left ${u}-arrow`,`&-placement-leftTop ${u}-arrow`,`&-placement-leftBottom ${u}-arrow`].join(",")]:{right:{_skip_check_:!0,value:R},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${u}-arrow`]:{top:C},[`&-placement-leftBottom ${u}-arrow`]:{bottom:C}})),c(!!L.right,{[[`&-placement-right ${u}-arrow`,`&-placement-rightTop ${u}-arrow`,`&-placement-rightBottom ${u}-arrow`].join(",")]:{left:{_skip_check_:!0,value:R},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${u}-arrow`]:{top:C},[`&-placement-rightBottom ${u}-arrow`]:{bottom:C}}))}}},47585:function(d,g,e){"use strict";e.d(g,{r:function(){return r}});const r=(i,l,c,f,s)=>{const h=i/2,u=0,a=h,x=c*1/Math.sqrt(2),p=h-c*(1-1/Math.sqrt(2)),y=h-l*(1/Math.sqrt(2)),_=c*(Math.sqrt(2)-1)+l*(1/Math.sqrt(2)),b=2*h-y,S=_,R=2*h-x,L=p,C=2*h-u,D=a,B=h*Math.sqrt(2)+c*(Math.sqrt(2)-2),$=c*(Math.sqrt(2)-1);return{pointerEvents:"none",width:i,height:i,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:i,height:i/2,background:f,clipPath:{_multi_value_:!0,value:[`polygon(${$}px 100%, 50% ${$}px, ${2*h-$}px 100%, ${$}px 100%)`,`path('M ${u} ${a} A ${c} ${c} 0 0 0 ${x} ${p} L ${y} ${_} A ${l} ${l} 0 0 1 ${b} ${S} L ${R} ${L} A ${c} ${c} 0 0 0 ${C} ${D} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:B,height:B,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${l}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:s,zIndex:0,background:"transparent"}}}},45246:function(d,g,e){"use strict";e.d(g,{Mj:function(){return K},u_:function(){return U},uH:function(){return $}});var r=e(93083),i=e(59301),l=e(93398),f=V=>{const{controlHeight:G}=V;return{controlHeightSM:G*.75,controlHeightXS:G*.5,controlHeightLG:G*1.25}};function s(V){const{sizeUnit:G,sizeStep:oe}=V;return{sizeXXL:G*(oe+8),sizeXL:G*(oe+4),sizeLG:G*(oe+2),sizeMD:G*(oe+1),sizeMS:G*oe,size:G*oe,sizeSM:G*(oe-1),sizeXS:G*(oe-2),sizeXXS:G*(oe-3)}}var h=e(34117),u=e(64993);function a(V,G){let{generateColorPalettes:oe,generateNeutralColorPalettes:ae}=G;const{colorSuccess:le,colorWarning:q,colorError:J,colorInfo:Y,colorPrimary:ue,colorBgBase:ne,colorTextBase:ee}=V,ie=oe(ue),F=oe(le),M=oe(q),Q=oe(J),de=oe(Y),we=ae(ne,ee),Ce=V.colorLink||V.colorInfo,je=oe(Ce);return Object.assign(Object.assign({},we),{colorPrimaryBg:ie[1],colorPrimaryBgHover:ie[2],colorPrimaryBorder:ie[3],colorPrimaryBorderHover:ie[4],colorPrimaryHover:ie[5],colorPrimary:ie[6],colorPrimaryActive:ie[7],colorPrimaryTextHover:ie[8],colorPrimaryText:ie[9],colorPrimaryTextActive:ie[10],colorSuccessBg:F[1],colorSuccessBgHover:F[2],colorSuccessBorder:F[3],colorSuccessBorderHover:F[4],colorSuccessHover:F[4],colorSuccess:F[6],colorSuccessActive:F[7],colorSuccessTextHover:F[8],colorSuccessText:F[9],colorSuccessTextActive:F[10],colorErrorBg:Q[1],colorErrorBgHover:Q[2],colorErrorBorder:Q[3],colorErrorBorderHover:Q[4],colorErrorHover:Q[5],colorError:Q[6],colorErrorActive:Q[7],colorErrorTextHover:Q[8],colorErrorText:Q[9],colorErrorTextActive:Q[10],colorWarningBg:M[1],colorWarningBgHover:M[2],colorWarningBorder:M[3],colorWarningBorderHover:M[4],colorWarningHover:M[4],colorWarning:M[6],colorWarningActive:M[7],colorWarningTextHover:M[8],colorWarningText:M[9],colorWarningTextActive:M[10],colorInfoBg:de[1],colorInfoBgHover:de[2],colorInfoBorder:de[3],colorInfoBorderHover:de[4],colorInfoHover:de[4],colorInfo:de[6],colorInfoActive:de[7],colorInfoTextHover:de[8],colorInfoText:de[9],colorInfoTextActive:de[10],colorLinkHover:je[4],colorLink:je[6],colorLinkActive:je[7],colorBgMask:new u.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}var p=V=>{let G=V,oe=V,ae=V,le=V;return V<6&&V>=5?G=V+1:V<16&&V>=6?G=V+2:V>=16&&(G=16),V<7&&V>=5?oe=4:V<8&&V>=7?oe=5:V<14&&V>=8?oe=6:V<16&&V>=14?oe=7:V>=16&&(oe=8),V<6&&V>=2?ae=1:V>=6&&(ae=2),V>4&&V<8?le=4:V>=8&&(le=6),{borderRadius:V>16?16:V,borderRadiusXS:ae,borderRadiusSM:oe,borderRadiusLG:G,borderRadiusOuter:le}};function y(V){const{motionUnit:G,motionBase:oe,borderRadius:ae,lineWidth:le}=V;return Object.assign({motionDurationFast:`${(oe+G).toFixed(1)}s`,motionDurationMid:`${(oe+G*2).toFixed(1)}s`,motionDurationSlow:`${(oe+G*3).toFixed(1)}s`,lineWidthBold:le+1},p(ae))}const _=(V,G)=>new u.C(V).setAlpha(G).toRgbString(),b=(V,G)=>new u.C(V).darken(G).toHexString(),S=V=>{const G=(0,l.generate)(V);return{1:G[0],2:G[1],3:G[2],4:G[3],5:G[4],6:G[5],7:G[6],8:G[4],9:G[5],10:G[6]}},R=(V,G)=>{const oe=V||"#fff",ae=G||"#000";return{colorBgBase:oe,colorTextBase:ae,colorText:_(ae,.88),colorTextSecondary:_(ae,.65),colorTextTertiary:_(ae,.45),colorTextQuaternary:_(ae,.25),colorFill:_(ae,.15),colorFillSecondary:_(ae,.06),colorFillTertiary:_(ae,.04),colorFillQuaternary:_(ae,.02),colorBgLayout:b(oe,4),colorBgContainer:b(oe,0),colorBgElevated:b(oe,0),colorBgSpotlight:_(ae,.85),colorBorder:b(oe,15),colorBorderSecondary:b(oe,6)}};function L(V){const G=new Array(10).fill(null).map((oe,ae)=>{const le=ae-1,q=V*Math.pow(2.71828,le/5),J=ae>1?Math.floor(q):Math.ceil(q);return Math.floor(J/2)*2});return G[1]=V,G.map(oe=>{const ae=oe+8;return{size:oe,lineHeight:ae/oe}})}var D=V=>{const G=L(V),oe=G.map(le=>le.size),ae=G.map(le=>le.lineHeight);return{fontSizeSM:oe[0],fontSize:oe[1],fontSizeLG:oe[2],fontSizeXL:oe[3],fontSizeHeading1:oe[6],fontSizeHeading2:oe[5],fontSizeHeading3:oe[4],fontSizeHeading4:oe[3],fontSizeHeading5:oe[2],lineHeight:ae[1],lineHeightLG:ae[2],lineHeightSM:ae[0],lineHeightHeading1:ae[6],lineHeightHeading2:ae[5],lineHeightHeading3:ae[4],lineHeightHeading4:ae[3],lineHeightHeading5:ae[2]}};function B(V){const G=Object.keys(h.M).map(oe=>{const ae=(0,l.generate)(V[oe]);return new Array(10).fill(1).reduce((le,q,J)=>(le[`${oe}-${J+1}`]=ae[J],le[`${oe}${J+1}`]=ae[J],le),{})}).reduce((oe,ae)=>(oe=Object.assign(Object.assign({},oe),ae),oe),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},V),G),a(V,{generateColorPalettes:S,generateNeutralColorPalettes:R})),D(V.fontSize)),s(V)),f(V)),y(V))}const $=(0,r.createTheme)(B),U={token:h.Z,hashed:!0},K=i.createContext(U)},33166:function(d,g,e){"use strict";e.d(g,{i:function(){return r}});const r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},34117:function(d,g,e){"use strict";e.d(g,{M:function(){return r}});const r={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},i=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});g.Z=i},88088:function(d,g,e){"use strict";e.d(g,{Z:function(){return S}});var r=e(93083),i=e(59301),l="5.9.0",c=l,f=e(45246),s=e(34117),h=e(64993);function u(R){return R>=0&&R<=255}function a(R,L){const{r:C,g:D,b:B,a:$}=new h.C(R).toRgb();if($<1)return R;const{r:U,g:K,b:V}=new h.C(L).toRgb();for(let G=.01;G<=1;G+=.01){const oe=Math.round((C-U*(1-G))/G),ae=Math.round((D-K*(1-G))/G),le=Math.round((B-V*(1-G))/G);if(u(oe)&&u(ae)&&u(le))return new h.C({r:oe,g:ae,b:le,a:Math.round(G*100)/100}).toRgbString()}return new h.C({r:C,g:D,b:B,a:1}).toRgbString()}var x=a,p=function(R,L){var C={};for(var D in R)Object.prototype.hasOwnProperty.call(R,D)&&L.indexOf(D)<0&&(C[D]=R[D]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,D=Object.getOwnPropertySymbols(R);B<D.length;B++)L.indexOf(D[B])<0&&Object.prototype.propertyIsEnumerable.call(R,D[B])&&(C[D[B]]=R[D[B]]);return C};function y(R){const{override:L}=R,C=p(R,["override"]),D=Object.assign({},L);Object.keys(s.Z).forEach(le=>{delete D[le]});const B=Object.assign(Object.assign({},C),D),$=480,U=576,K=768,V=992,G=1200,oe=1600;if(B.motion===!1){const le="0s";B.motionDurationFast=le,B.motionDurationMid=le,B.motionDurationSlow=le}return Object.assign(Object.assign(Object.assign({},B),{colorFillContent:B.colorFillSecondary,colorFillContentHover:B.colorFill,colorFillAlter:B.colorFillQuaternary,colorBgContainerDisabled:B.colorFillTertiary,colorBorderBg:B.colorBgContainer,colorSplit:x(B.colorBorderSecondary,B.colorBgContainer),colorTextPlaceholder:B.colorTextQuaternary,colorTextDisabled:B.colorTextQuaternary,colorTextHeading:B.colorText,colorTextLabel:B.colorTextSecondary,colorTextDescription:B.colorTextTertiary,colorTextLightSolid:B.colorWhite,colorHighlight:B.colorError,colorBgTextHover:B.colorFillSecondary,colorBgTextActive:B.colorFill,colorIcon:B.colorTextTertiary,colorIconHover:B.colorText,colorErrorOutline:x(B.colorErrorBg,B.colorBgContainer),colorWarningOutline:x(B.colorWarningBg,B.colorBgContainer),fontSizeIcon:B.fontSizeSM,lineWidthFocus:B.lineWidth*4,lineWidth:B.lineWidth,controlOutlineWidth:B.lineWidth*2,controlInteractiveSize:B.controlHeight/2,controlItemBgHover:B.colorFillTertiary,controlItemBgActive:B.colorPrimaryBg,controlItemBgActiveHover:B.colorPrimaryBgHover,controlItemBgActiveDisabled:B.colorFill,controlTmpOutline:B.colorFillQuaternary,controlOutline:x(B.colorPrimaryBg,B.colorBgContainer),lineType:B.lineType,borderRadius:B.borderRadius,borderRadiusXS:B.borderRadiusXS,borderRadiusSM:B.borderRadiusSM,borderRadiusLG:B.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:B.sizeXXS,paddingXS:B.sizeXS,paddingSM:B.sizeSM,padding:B.size,paddingMD:B.sizeMD,paddingLG:B.sizeLG,paddingXL:B.sizeXL,paddingContentHorizontalLG:B.sizeLG,paddingContentVerticalLG:B.sizeMS,paddingContentHorizontal:B.sizeMS,paddingContentVertical:B.sizeSM,paddingContentHorizontalSM:B.size,paddingContentVerticalSM:B.sizeXS,marginXXS:B.sizeXXS,marginXS:B.sizeXS,marginSM:B.sizeSM,margin:B.size,marginMD:B.sizeMD,marginLG:B.sizeLG,marginXL:B.sizeXL,marginXXL:B.sizeXXL,boxShadow:`
0 6px 16px 0 rgba(0, 0, 0, 0.08),
0 3px 6px -4px rgba(0, 0, 0, 0.12),
0 9px 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowSecondary:`
0 6px 16px 0 rgba(0, 0, 0, 0.08),
0 3px 6px -4px rgba(0, 0, 0, 0.12),
0 9px 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowTertiary:`
0 1px 2px 0 rgba(0, 0, 0, 0.03),
0 1px 6px -1px rgba(0, 0, 0, 0.02),
0 2px 4px 0 rgba(0, 0, 0, 0.02)
`,screenXS:$,screenXSMin:$,screenXSMax:U-1,screenSM:U,screenSMMin:U,screenSMMax:K-1,screenMD:K,screenMDMin:K,screenMDMax:V-1,screenLG:V,screenLGMin:V,screenLGMax:G-1,screenXL:G,screenXLMin:G,screenXLMax:oe-1,screenXXL:oe,screenXXLMin:oe,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
0 1px 2px -2px ${new h.C("rgba(0, 0, 0, 0.16)").toRgbString()},
0 3px 6px 0 ${new h.C("rgba(0, 0, 0, 0.12)").toRgbString()},
0 5px 12px 4px ${new h.C("rgba(0, 0, 0, 0.09)").toRgbString()}
`,boxShadowDrawerRight:`
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowDrawerLeft:`
6px 0 16px 0 rgba(0, 0, 0, 0.08),
3px 0 6px -4px rgba(0, 0, 0, 0.12),
9px 0 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowDrawerUp:`
0 6px 16px 0 rgba(0, 0, 0, 0.08),
0 3px 6px -4px rgba(0, 0, 0, 0.12),
0 9px 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowDrawerDown:`
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),D)}var _=function(R,L){var C={};for(var D in R)Object.prototype.hasOwnProperty.call(R,D)&&L.indexOf(D)<0&&(C[D]=R[D]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,D=Object.getOwnPropertySymbols(R);B<D.length;B++)L.indexOf(D[B])<0&&Object.prototype.propertyIsEnumerable.call(R,D[B])&&(C[D[B]]=R[D[B]]);return C};const b=(R,L,C)=>{const D=C.getDerivativeToken(R),{override:B}=L,$=_(L,["override"]);let U=Object.assign(Object.assign({},D),{override:B});return U=y(U),$&&Object.entries($).forEach(K=>{let[V,G]=K;const{theme:oe}=G,ae=_(G,["theme"]);let le=ae;oe&&(le=b(Object.assign(Object.assign({},U),ae),{override:ae},oe)),U[V]=le}),U};function S(){const{token:R,hashed:L,theme:C,components:D}=i.useContext(f.Mj),B=`${c}-${L||""}`,$=C||f.uH,[U,K]=(0,r.useCacheToken)($,[s.Z,R],{salt:B,override:Object.assign({override:R},D),getComputedToken:b,formatToken:y});return[$,U,L?K:""]}},83116:function(d,g,e){"use strict";e.d(g,{Z:function(){return a},b:function(){return x}});var r=e(59301),i=e(93083),l=e(70425),c=e(36355),f=e(17313),s=e(88088),h=e(37613),u=e(73040);function a(p,y,_){let b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const S=Array.isArray(p)?p:[p,p],[R]=S,L=S.join("-");return C=>{const[D,B,$]=(0,s.Z)(),{getPrefixCls:U,iconPrefixCls:K,csp:V}=(0,r.useContext)(c.E_),G=U(),oe={theme:D,token:B,hashId:$,nonce:()=>V==null?void 0:V.nonce,clientOnly:b.clientOnly,order:b.order||-999};return(0,i.useStyleRegister)(Object.assign(Object.assign({},oe),{clientOnly:!1,path:["Shared",G]}),()=>[{"&":(0,f.Lx)(B)}]),(0,u.Z)(K),[(0,i.useStyleRegister)(Object.assign(Object.assign({},oe),{path:[L,C,K]}),()=>{const{token:ae,flush:le}=(0,h.ZP)(B),q=Object.assign({},B[R]);if(b.deprecatedTokens){const{deprecatedTokens:ie}=b;ie.forEach(F=>{let[M,Q]=F;var de;(q!=null&&q[M]||q!=null&&q[Q])&&((de=q[Q])!==null&&de!==void 0||(q[Q]=q==null?void 0:q[M]))})}const J=typeof _=="function"?_((0,h.TS)(ae,q!=null?q:{})):_,Y=Object.assign(Object.assign({},J),q),ue=`.${C}`,ne=(0,h.TS)(ae,{componentCls:ue,prefixCls:C,iconCls:`.${K}`,antCls:`.${G}`},Y),ee=y(ne,{hashId:$,prefixCls:C,rootPrefixCls:G,iconPrefixCls:K,overrideComponentToken:q});return le(R,Y),[b.resetStyle===!1?null:(0,f.du)(B,C),ee]}),$]}}const x=(p,y,_,b)=>{const S=a(p,y,_,Object.assign({resetStyle:!1,order:-998},b));return L=>{let{prefixCls:C}=L;return S(C),null}}},45157:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(33166);function i(l,c){return r.i.reduce((f,s)=>{const h=l[`${s}1`],u=l[`${s}3`],a=l[`${s}6`],x=l[`${s}7`];return Object.assign(Object.assign({},f),c(s,{lightColor:h,lightBorderColor:u,darkColor:a,textColor:x}))},{})}},37613:function(d,g,e){"use strict";e.d(g,{TS:function(){return l},ZP:function(){return h}});const r=typeof CSSINJS_STATISTIC!="undefined";let i=!0;function l(){for(var u=arguments.length,a=new Array(u),x=0;x<u;x++)a[x]=arguments[x];if(!r)return Object.assign.apply(Object,[{}].concat(a));i=!1;const p={};return a.forEach(y=>{Object.keys(y).forEach(b=>{Object.defineProperty(p,b,{configurable:!0,enumerable:!0,get:()=>y[b]})})}),i=!0,p}const c={},f={};function s(){}function h(u){let a,x=u,p=s;return r&&(a=new Set,x=new Proxy(u,{get(y,_){return i&&a.add(_),y[_]}}),p=(y,_)=>{var b;c[y]={global:Array.from(a),component:Object.assign(Object.assign({},(b=c[y])===null||b===void 0?void 0:b.component),_)}}),{token:x,keys:a,flush:p}}},73040:function(d,g,e){"use strict";var r=e(93083),i=e(17313),l=e(88088);const c=(f,s)=>{const[h,u]=(0,l.Z)();return(0,r.useStyleRegister)({theme:h,token:u,hashId:"",path:["ant-design-icons",f],nonce:()=>s==null?void 0:s.nonce},()=>[{[`.${f}`]:Object.assign(Object.assign({},(0,i.Ro)()),{[`.${f} .${f}-icon`]:{display:"block"}})}])};g.Z=c},67532:function(d,g){"use strict";const e={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};g.Z=e},6848:function(d,g,e){"use strict";e.d(g,{Z:function(){return le}});var r=e(59301),i=e(92310),l=e.n(i),c=e(55477),f=e(18929),s=e(62892),h=e(79676),u=e(92343),a=e(36355),x=e(33234),p=e(88088),y=e(17313),_=e(29878),b=e(19447),S=e(45157),R=e(37613),L=e(83116);const C=q=>{const{componentCls:J,tooltipMaxWidth:Y,tooltipColor:ue,tooltipBg:ne,tooltipBorderRadius:ee,zIndexPopup:ie,controlHeight:F,boxShadowSecondary:M,paddingSM:Q,paddingXS:de,tooltipRadiusOuter:we}=q;return[{[J]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(q)),{position:"absolute",zIndex:ie,display:"block",width:"max-content",maxWidth:Y,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":ne,[`${J}-inner`]:{minWidth:F,minHeight:F,padding:`${Q/2}px ${de}px`,color:ue,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:ne,borderRadius:ee,boxShadow:M,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${J}-inner`]:{borderRadius:Math.min(ee,b.qN)}},[`${J}-content`]:{position:"relative"}}),(0,S.Z)(q,(Ce,je)=>{let{darkColor:Fe}=je;return{[`&${J}-${Ce}`]:{[`${J}-inner`]:{backgroundColor:Fe},[`${J}-arrow`]:{"--antd-arrow-background-color":Fe}}}})),{"&-rtl":{direction:"rtl"}})},(0,b.ZP)((0,R.TS)(q,{borderRadiusOuter:we}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:ee,limitVerticalRadius:!0}),{[`${J}-pure`]:{position:"relative",maxWidth:"none",margin:q.sizePopupArrow}}]};var D=(q,J)=>(0,L.Z)("Tooltip",ue=>{if(J===!1)return[];const{borderRadius:ne,colorTextLightSolid:ee,colorBgDefault:ie,borderRadiusOuter:F}=ue,M=(0,R.TS)(ue,{tooltipMaxWidth:250,tooltipColor:ee,tooltipBorderRadius:ne,tooltipBg:ie,tooltipRadiusOuter:F>4?4:F});return[C(M),(0,_._y)(ue,"zoom-big-fast")]},ue=>{let{zIndexPopupBase:ne,colorBgSpotlight:ee}=ue;return{zIndexPopup:ne+70,colorBgDefault:ee}},{resetStyle:!1})(q),B=e(36785);function $(q,J){const Y=(0,B.o2)(J),ue=l()({[`${q}-${J}`]:J&&Y}),ne={},ee={};return J&&!Y&&(ne.background=J,ee["--antd-arrow-background-color"]=J),{className:ue,overlayStyle:ne,arrowStyle:ee}}var K=q=>{const{prefixCls:J,className:Y,placement:ue="top",title:ne,color:ee,overlayInnerStyle:ie}=q,{getPrefixCls:F}=r.useContext(a.E_),M=F("tooltip",J),[Q,de]=D(M,!0),we=$(M,ee),Ce=we.arrowStyle,je=Object.assign(Object.assign({},ie),we.overlayStyle),Fe=l()(de,M,`${M}-pure`,`${M}-placement-${ue}`,Y,we.className);return Q(r.createElement("div",{className:Fe,style:Ce},r.createElement("div",{className:`${M}-arrow`}),r.createElement(c.G,Object.assign({},q,{className:de,prefixCls:M,overlayInnerStyle:je}),ne)))},V=function(q,J){var Y={};for(var ue in q)Object.prototype.hasOwnProperty.call(q,ue)&&J.indexOf(ue)<0&&(Y[ue]=q[ue]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,ue=Object.getOwnPropertySymbols(q);ne<ue.length;ne++)J.indexOf(ue[ne])<0&&Object.prototype.propertyIsEnumerable.call(q,ue[ne])&&(Y[ue[ne]]=q[ue[ne]]);return Y};const G=(q,J)=>{const Y={},ue=Object.assign({},q);return J.forEach(ne=>{q&&ne in q&&(Y[ne]=q[ne],delete ue[ne])}),{picked:Y,omitted:ue}};function oe(q,J){const Y=q.type;if((Y.__ANT_BUTTON===!0||q.type==="button")&&q.props.disabled||Y.__ANT_SWITCH===!0&&(q.props.disabled||q.props.loading)||Y.__ANT_RADIO===!0&&q.props.disabled){const{picked:ue,omitted:ne}=G(q.props.style,["position","left","right","top","bottom","float","display","zIndex"]),ee=Object.assign(Object.assign({display:"inline-block"},ue),{cursor:"not-allowed",width:q.props.block?"100%":void 0}),ie=Object.assign(Object.assign({},ne),{pointerEvents:"none"}),F=(0,u.Tm)(q,{style:ie,className:null});return r.createElement("span",{style:ee,className:l()(q.props.className,`${J}-disabled-compatible-wrapper`)},F)}return q}const ae=r.forwardRef((q,J)=>{var Y,ue;const{prefixCls:ne,openClassName:ee,getTooltipContainer:ie,overlayClassName:F,color:M,overlayInnerStyle:Q,children:de,afterOpenChange:we,afterVisibleChange:Ce,destroyTooltipOnHide:je,arrow:Fe=!0,title:Ft,overlay:_t,builtinPlacements:Pt,arrowPointAtCenter:qt=!1,autoAdjustOverflow:er=!0}=q,Jt=!!Fe,[,Xe]=(0,p.Z)(),{getPopupContainer:It,getPrefixCls:zt,direction:st}=r.useContext(a.E_),bt=r.useRef(null),ht=()=>{var ke;(ke=bt.current)===null||ke===void 0||ke.forceAlign()};r.useImperativeHandle(J,()=>({forceAlign:ht,forcePopupAlign:()=>{ht()}}));const[Je,Ue]=(0,f.Z)(!1,{value:(Y=q.open)!==null&&Y!==void 0?Y:q.visible,defaultValue:(ue=q.defaultOpen)!==null&&ue!==void 0?ue:q.defaultVisible}),ge=!Ft&&!_t&&Ft!==0,Ae=ke=>{var St,be;Ue(ge?!1:ke),ge||((St=q.onOpenChange)===null||St===void 0||St.call(q,ke),(be=q.onVisibleChange)===null||be===void 0||be.call(q,ke))},Me=r.useMemo(()=>{var ke,St;let be=qt;return typeof Fe=="object"&&(be=(St=(ke=Fe.pointAtCenter)!==null&&ke!==void 0?ke:Fe.arrowPointAtCenter)!==null&&St!==void 0?St:qt),Pt||(0,h.Z)({arrowPointAtCenter:be,autoAdjustOverflow:er,arrowWidth:Jt?Xe.sizePopupArrow:0,borderRadius:Xe.borderRadius,offset:Xe.marginXXS,visibleFirst:!0})},[qt,Fe,Pt,Xe]),$e=r.useMemo(()=>Ft===0?Ft:_t||Ft||"",[_t,Ft]),He=r.createElement(x.BR,null,typeof $e=="function"?$e():$e),{getPopupContainer:nt,placement:ct="top",mouseEnterDelay:Vt=.1,mouseLeaveDelay:Wt=.1,overlayStyle:De,rootClassName:qe}=q,Gt=V(q,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),kt=zt("tooltip",ne),Ht=zt(),$t=q["data-popover-inject"];let Ct=Je;!("open"in q)&&!("visible"in q)&&ge&&(Ct=!1);const Yt=oe((0,u.l$)(de)&&!(0,u.M2)(de)?de:r.createElement("span",null,de),kt),We=Yt.props,fe=!We.className||typeof We.className=="string"?l()(We.className,ee||`${kt}-open`):We.className,[_e,Ot]=D(kt,!$t),Pe=$(kt,M),dt=Pe.arrowStyle,Zt=Object.assign(Object.assign({},Q),Pe.overlayStyle),Tt=l()(F,{[`${kt}-rtl`]:st==="rtl"},Pe.className,qe,Ot);return _e(r.createElement(c.Z,Object.assign({},Gt,{showArrow:Jt,placement:ct,mouseEnterDelay:Vt,mouseLeaveDelay:Wt,prefixCls:kt,overlayClassName:Tt,overlayStyle:Object.assign(Object.assign({},dt),De),getTooltipContainer:nt||ie||It,ref:bt,builtinPlacements:Me,overlay:He,visible:Ct,onVisibleChange:Ae,afterVisibleChange:we!=null?we:Ce,overlayInnerStyle:Zt,arrowContent:r.createElement("span",{className:`${kt}-arrow-content`}),motion:{motionName:(0,s.m)(Ht,"zoom-big-fast",q.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!je}),Ct?(0,u.Tm)(Yt,{className:fe}):Yt))});ae._InternalPanelDoNotUseOrYouWillBeFired=K;var le=ae},11575:function(d,g,e){"use strict";e.d(g,{H:function(){return f}});var r=e(70425),i=e(59301);function l(){}const c=i.createContext({add:l,remove:l});function f(h){const u=i.useContext(c),a=i.useRef();return(0,r.useEvent)(p=>{if(p){const y=h?p.querySelector(h):p;u.add(y),a.current=y}else u.remove(a.current)})}var s=null},67751:function(d){var g={utf8:{stringToBytes:function(e){return g.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(g.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var r=[],i=0;i<e.length;i++)r.push(e.charCodeAt(i)&255);return r},bytesToString:function(e){for(var r=[],i=0;i<e.length;i++)r.push(String.fromCharCode(e[i]));return r.join("")}}};d.exports=g},64018:function(){var d,g,e,r=!1,i,l;window.PR_SHOULD_USE_CONTINUATION=!0;var c,f;(function(){var s=window,h=["break,continue,do,else,for,if,return,while"],u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],a=[u,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],x=[a,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],p=[a,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],y=[a,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],_="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",b=[a,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],S="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",R=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],L=[h,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],C=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],D=[x,y,p,b,S,R,L,C],B=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,$="str",U="kwd",K="com",V="typ",G="lit",oe="pun",ae="pln",le="tag",q="dec",J="src",Y="atn",ue="atv",ne="nocode",ee="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function ie(st){for(var bt=0,ht=!1,Je=!1,Ue=0,ge=st.length;Ue<ge;++Ue){var Ae=st[Ue];if(Ae.ignoreCase)Je=!0;else if(/[a-z]/i.test(Ae.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){ht=!0,Je=!1;break}}var Me={b:8,t:9,n:10,v:11,f:12,r:13};function $e(Wt){var De=Wt.charCodeAt(0);if(De!==92)return De;var qe=Wt.charAt(1);return De=Me[qe],De||("0"<=qe&&qe<="7"?parseInt(Wt.substring(1),8):qe==="u"||qe==="x"?parseInt(Wt.substring(2),16):Wt.charCodeAt(1))}function He(Wt){if(Wt<32)return(Wt<16?"\\x0":"\\x")+Wt.toString(16);var De=String.fromCharCode(Wt);return De==="\\"||De==="-"||De==="]"||De==="^"?"\\"+De:De}function nt(Wt){var De=Wt.substring(1,Wt.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),qe=[],Gt=De[0]==="^",kt=["["];Gt&&kt.push("^");for(var Ht=Gt?1:0,$t=De.length;Ht<$t;++Ht){var Ct=De[Ht];if(/\\[bdsw]/i.test(Ct))kt.push(Ct);else{var Yt=$e(Ct),We;Ht+2<$t&&De[Ht+1]==="-"?(We=$e(De[Ht+2]),Ht+=2):We=Yt,qe.push([Yt,We]),We<65||Yt>122||(We<65||Yt>90||qe.push([Math.max(65,Yt)|32,Math.min(We,90)|32]),We<97||Yt>122||qe.push([Math.max(97,Yt)&-33,Math.min(We,122)&-33]))}}qe.sort(function(Pe,dt){return Pe[0]-dt[0]||dt[1]-Pe[1]});for(var fe=[],_e=[],Ht=0;Ht<qe.length;++Ht){var Ot=qe[Ht];Ot[0]<=_e[1]+1?_e[1]=Math.max(_e[1],Ot[1]):fe.push(_e=Ot)}for(var Ht=0;Ht<fe.length;++Ht){var Ot=fe[Ht];kt.push(He(Ot[0])),Ot[1]>Ot[0]&&(Ot[1]+1>Ot[0]&&kt.push("-"),kt.push(He(Ot[1])))}return kt.push("]"),kt.join("")}function ct(Wt){for(var De=Wt.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),qe=De.length,Gt=[],kt=0,Ht=0;kt<qe;++kt){var $t=De[kt];if($t==="(")++Ht;else if($t.charAt(0)==="\\"){var Ct=+$t.substring(1);Ct&&(Ct<=Ht?Gt[Ct]=-1:De[kt]=He(Ct))}}for(var kt=1;kt<Gt.length;++kt)Gt[kt]===-1&&(Gt[kt]=++bt);for(var kt=0,Ht=0;kt<qe;++kt){var $t=De[kt];if($t==="(")++Ht,Gt[Ht]||(De[kt]="(?:");else if($t.charAt(0)==="\\"){var Ct=+$t.substring(1);Ct&&Ct<=Ht&&(De[kt]="\\"+Gt[Ct])}}for(var kt=0;kt<qe;++kt)De[kt]==="^"&&De[kt+1]!=="^"&&(De[kt]="");if(Wt.ignoreCase&&ht)for(var kt=0;kt<qe;++kt){var $t=De[kt],Yt=$t.charAt(0);$t.length>=2&&Yt==="["?De[kt]=nt($t):Yt!=="\\"&&(De[kt]=$t.replace(/[a-zA-Z]/g,function(_e){var Ot=_e.charCodeAt(0);return"["+String.fromCharCode(Ot&-33,Ot|32)+"]"}))}return De.join("")}for(var Vt=[],Ue=0,ge=st.length;Ue<ge;++Ue){var Ae=st[Ue];if(Ae.global||Ae.multiline)throw new Error(""+Ae);Vt.push("(?:"+ct(Ae)+")")}return new RegExp(Vt.join("|"),Je?"gi":"g")}function F(st,bt){var ht=/(?:^|\s)nocode(?:\s|$)/,Je=[],Ue=0,ge=[],Ae=0;function Me($e){var He=$e.nodeType;if(He==1){if(ht.test($e.className))return;for(var nt=$e.firstChild;nt;nt=nt.nextSibling)Me(nt);var ct=$e.nodeName.toLowerCase();(ct==="br"||ct==="li")&&(Je[Ae]=`
`,ge[Ae<<1]=Ue++,ge[Ae++<<1|1]=$e)}else if(He==3||He==4){var Vt=$e.nodeValue;Vt.length&&(bt?Vt=Vt.replace(/\r\n?/g,`
`):Vt=Vt.replace(/[ \t\r\n]+/g," "),Je[Ae]=Vt,ge[Ae<<1]=Ue,Ue+=Vt.length,ge[Ae++<<1|1]=$e)}}return Me(st),{sourceCode:Je.join("").replace(/\n$/,""),spans:ge}}function M(st,bt,ht,Je,Ue){if(ht){var ge={sourceNode:st,pre:1,langExtension:null,numberLines:null,sourceCode:ht,spans:null,basePos:bt,decorations:null};Je(ge),Ue.push.apply(Ue,ge.decorations)}}var Q=/\S/;function de(st){for(var bt=void 0,ht=st.firstChild;ht;ht=ht.nextSibling){var Je=ht.nodeType;bt=Je===1?bt?st:ht:Je===3&&Q.test(ht.nodeValue)?st:bt}return bt===st?void 0:bt}function we(st,bt){var ht={},Je;(function(){for(var Ae=st.concat(bt),Me=[],$e={},He=0,nt=Ae.length;He<nt;++He){var ct=Ae[He],Vt=ct[3];if(Vt)for(var Wt=Vt.length;--Wt>=0;)ht[Vt.charAt(Wt)]=ct;var De=ct[1],qe=""+De;$e.hasOwnProperty(qe)||(Me.push(De),$e[qe]=null)}Me.push(/[\0-\uffff]/),Je=ie(Me)})();var Ue=bt.length,ge=function(Ae){for(var Me=Ae.sourceCode,$e=Ae.basePos,He=Ae.sourceNode,nt=[$e,ae],ct=0,Vt=Me.match(Je)||[],Wt={},De=0,qe=Vt.length;De<qe;++De){var Gt=Vt[De],kt=Wt[Gt],Ht=void 0,$t;if(typeof kt=="string")$t=!1;else{var Ct=ht[Gt.charAt(0)];if(Ct)Ht=Gt.match(Ct[1]),kt=Ct[0];else{for(var Yt=0;Yt<Ue;++Yt)if(Ct=bt[Yt],Ht=Gt.match(Ct[1]),Ht){kt=Ct[0];break}Ht||(kt=ae)}$t=kt.length>=5&&kt.substring(0,5)==="lang-",$t&&!(Ht&&typeof Ht[1]=="string")&&($t=!1,kt=J),$t||(Wt[Gt]=kt)}var We=ct;if(ct+=Gt.length,!$t)nt.push($e+We,kt);else{var fe=Ht[1],_e=Gt.indexOf(fe),Ot=_e+fe.length;Ht[2]&&(Ot=Gt.length-Ht[2].length,_e=Ot-fe.length);var Pe=kt.substring(5);M(He,$e+We,Gt.substring(0,_e),ge,nt),M(He,$e+We+_e,fe,qt(Pe,fe),nt),M(He,$e+We+Ot,Gt.substring(Ot),ge,nt)}}Ae.decorations=nt};return ge}function Ce(st){var bt=[],ht=[];st.tripleQuotedStrings?bt.push([$,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):st.multiLineStrings?bt.push([$,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):bt.push([$,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),st.verbatimStrings&&ht.push([$,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Je=st.hashComments;Je&&(st.cStyleComments?(Je>1?bt.push([K,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):bt.push([K,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),ht.push([$,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):bt.push([K,/^#[^\r\n]*/,null,"#"])),st.cStyleComments&&(ht.push([K,/^\/\/[^\r\n]*/,null]),ht.push([K,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var Ue=st.regexLiterals;if(Ue){var ge=Ue>1?"":`
\r`,Ae=ge?".":"[\\S\\s]",Me="/(?=[^/*"+ge+"])(?:[^/\\x5B\\x5C"+ge+"]|\\x5C"+Ae+"|\\x5B(?:[^\\x5C\\x5D"+ge+"]|\\x5C"+Ae+")*(?:\\x5D|$))+/";ht.push(["lang-regex",RegExp("^"+ee+"("+Me+")")])}var $e=st.types;$e&&ht.push([V,$e]);var He=(""+st.keywords).replace(/^ | $/g,"");He.length&&ht.push([U,new RegExp("^(?:"+He.replace(/[\s,]+/g,"|")+")\\b"),null]),bt.push([ae,/^\s+/,null,` \r
\xA0`]);var nt="^.[^\\s\\w.$@'\"`/\\\\]*";return st.regexLiterals&&(nt+="(?!s*/)"),ht.push([G,/^@[a-z_$][a-z_$@0-9]*/i,null],[V,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[ae,/^[a-z_$][a-z_$@0-9]*/i,null],[G,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[ae,/^\\[\s\S]?/,null],[oe,new RegExp(nt),null]),we(bt,ht)}var je=Ce({keywords:D,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function Fe(st,bt,ht){for(var Je=/(?:^|\s)nocode(?:\s|$)/,Ue=/\r\n?|\n/,ge=st.ownerDocument,Ae=ge.createElement("li");st.firstChild;)Ae.appendChild(st.firstChild);var Me=[Ae];function $e(De){var qe=De.nodeType;if(qe==1&&!Je.test(De.className))if(De.nodeName==="br")He(De),De.parentNode&&De.parentNode.removeChild(De);else for(var Gt=De.firstChild;Gt;Gt=Gt.nextSibling)$e(Gt);else if((qe==3||qe==4)&&ht){var kt=De.nodeValue,Ht=kt.match(Ue);if(Ht){var $t=kt.substring(0,Ht.index);De.nodeValue=$t;var Ct=kt.substring(Ht.index+Ht[0].length);if(Ct){var Yt=De.parentNode;Yt.insertBefore(ge.createTextNode(Ct),De.nextSibling)}He(De),$t||De.parentNode.removeChild(De)}}}function He(De){for(;!De.nextSibling;)if(De=De.parentNode,!De)return;function qe(Ht,$t){var Ct=$t?Ht.cloneNode(!1):Ht,Yt=Ht.parentNode;if(Yt){var We=qe(Yt,1),fe=Ht.nextSibling;We.appendChild(Ct);for(var _e=fe;_e;_e=fe)fe=_e.nextSibling,We.appendChild(_e)}return Ct}for(var Gt=qe(De.nextSibling,0),kt;(kt=Gt.parentNode)&&kt.nodeType===1;)Gt=kt;Me.push(Gt)}for(var nt=0;nt<Me.length;++nt)$e(Me[nt]);bt===(bt|0)&&Me[0].setAttribute("value",bt);var ct=ge.createElement("ol");ct.className="linenums";for(var Vt=Math.max(0,bt-1|0)||0,nt=0,Wt=Me.length;nt<Wt;++nt)Ae=Me[nt],Ae.className="L"+(nt+Vt)%10,Ae.firstChild||Ae.appendChild(ge.createTextNode("\xA0")),ct.appendChild(Ae);st.appendChild(ct)}function Ft(st){var bt=/\bMSIE\s(\d+)/.exec(navigator.userAgent);bt=bt&&+bt[1]<=8;var ht=/\n/g,Je=st.sourceCode,Ue=Je.length,ge=0,Ae=st.spans,Me=Ae.length,$e=0,He=st.decorations,nt=He.length,ct=0;He[nt]=Ue;var Vt,Wt;for(Wt=Vt=0;Wt<nt;)He[Wt]!==He[Wt+2]?(He[Vt++]=He[Wt++],He[Vt++]=He[Wt++]):Wt+=2;for(nt=Vt,Wt=Vt=0;Wt<nt;){for(var De=He[Wt],qe=He[Wt+1],Gt=Wt+2;Gt+2<=nt&&He[Gt+1]===qe;)Gt+=2;He[Vt++]=De,He[Vt++]=qe,Wt=Gt}nt=He.length=Vt;var kt=st.sourceNode,Ht="";kt&&(Ht=kt.style.display,kt.style.display="none");try{for(var $t=null;$e<Me;){var Ct=Ae[$e],Yt=Ae[$e+2]||Ue,We=He[ct+2]||Ue,Gt=Math.min(Yt,We),fe=Ae[$e+1],_e;if(fe.nodeType!==1&&(_e=Je.substring(ge,Gt))){bt&&(_e=_e.replace(ht,"\r")),fe.nodeValue=_e;var Ot=fe.ownerDocument,Pe=Ot.createElement("span");Pe.className=He[ct+1];var dt=fe.parentNode;dt.replaceChild(Pe,fe),Pe.appendChild(fe),ge<Yt&&(Ae[$e+1]=fe=Ot.createTextNode(Je.substring(Gt,Yt)),dt.insertBefore(fe,Pe.nextSibling))}ge=Gt,ge>=Yt&&($e+=2),ge>=We&&(ct+=2)}}finally{kt&&(kt.style.display=Ht)}}var _t={};function Pt(st,bt){for(var ht=bt.length;--ht>=0;){var Je=bt[ht];_t.hasOwnProperty(Je)?s.console&&console.warn("cannot override language handler %s",Je):_t[Je]=st}}function qt(st,bt){return st&&_t.hasOwnProperty(st)||(st=/^\s*</.test(bt)?"default-markup":"default-code"),_t[st]}Pt(je,["default-code"]),Pt(we([],[[ae,/^[^<?]+/],[q,/^<!\w[^>]*(?:>|$)/],[K,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[oe,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),Pt(we([[ae,/^[\s]+/,null,` \r
`],[ue,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[le,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[Y,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[oe,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),Pt(we([],[[ue,/^[\s\S]+/]]),["uq.val"]),Pt(Ce({keywords:x,hashComments:!0,cStyleComments:!0,types:B}),["c","cc","cpp","cxx","cyc","m"]),Pt(Ce({keywords:"null,true,false"}),["json"]),Pt(Ce({keywords:y,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:B}),["cs"]),Pt(Ce({keywords:p,cStyleComments:!0}),["java"]),Pt(Ce({keywords:C,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Pt(Ce({keywords:R,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Pt(Ce({keywords:S,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Pt(Ce({keywords:L,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Pt(Ce({keywords:b,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Pt(Ce({keywords:_,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Pt(we([],[[$,/^[\s\S]+/]]),["regex"]);function er(st){var bt=st.langExtension;try{var ht=F(st.sourceNode,st.pre),Je=ht.sourceCode;st.sourceCode=Je,st.spans=ht.spans,st.basePos=0,qt(bt,Je)(st),Ft(st)}catch(Ue){s.console&&console.log(Ue&&Ue.stack||Ue)}}function Jt(st,bt,ht){var Je=ht||!1,Ue=bt||null,ge=document.createElement("div");ge.innerHTML="<pre>"+st+"</pre>",ge=ge.firstChild,Je&&Fe(ge,Je,!0);var Ae={langExtension:Ue,numberLines:Je,sourceNode:ge,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return er(Ae),ge.innerHTML}function Xe(st,bt){var ht=bt||document.body,Je=ht.ownerDocument||document;function Ue(Ct){return ht.getElementsByTagName(Ct)}for(var ge=[Ue("pre"),Ue("code"),Ue("xmp")],Ae=[],Me=0;Me<ge.length;++Me)for(var $e=0,He=ge[Me].length;$e<He;++$e)Ae.push(ge[Me][$e]);ge=null;var nt=Date;nt.now||(nt={now:function(){return+new Date}});var ct=0,Vt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Wt=/\bprettyprint\b/,De=/\bprettyprinted\b/,qe=/pre|xmp/i,Gt=/^code$/i,kt=/^(?:pre|code|xmp)$/i,Ht={};function $t(){for(var Ct=s.PR_SHOULD_USE_CONTINUATION?nt.now()+250:1/0;ct<Ae.length&&nt.now()<Ct;ct++){for(var Yt=Ae[ct],We=Ht,fe=Yt;fe=fe.previousSibling;){var _e=fe.nodeType,Ot=(_e===7||_e===8)&&fe.nodeValue;if(Ot?!/^\??prettify\b/.test(Ot):_e!==3||/\S/.test(fe.nodeValue))break;if(Ot){We={},Ot.replace(/\b(\w+)=([\w:.%+-]+)/g,function(At,Kr,qr){We[Kr]=qr});break}}var Pe=Yt.className;if((We!==Ht||Wt.test(Pe))&&!De.test(Pe)){for(var dt=!1,Zt=Yt.parentNode;Zt;Zt=Zt.parentNode){var Tt=Zt.tagName;if(kt.test(Tt)&&Zt.className&&Wt.test(Zt.className)){dt=!0;break}}if(!dt){Yt.className+=" prettyprinted";var ke=We.lang;if(!ke){ke=Pe.match(Vt);var St;!ke&&(St=de(Yt))&&Gt.test(St.tagName)&&(ke=St.className.match(Vt)),ke&&(ke=ke[1])}var be;if(qe.test(Yt.tagName))be=1;else{var Ke=Yt.currentStyle,gt=Je.defaultView,Rt=Ke?Ke.whiteSpace:gt&&gt.getComputedStyle?gt.getComputedStyle(Yt,null).getPropertyValue("white-space"):0;be=Rt&&Rt.substring(0,3)==="pre"}var Be=We.linenums;(Be=Be==="true"||+Be)||(Be=Pe.match(/\blinenums\b(?::(\d+))?/),Be=Be?Be[1]&&Be[1].length?+Be[1]:!0:!1),Be&&Fe(Yt,Be,be);var kr={langExtension:ke,sourceNode:Yt,numberLines:Be,pre:be,sourceCode:null,basePos:null,spans:null,decorations:null};er(kr)}}}ct<Ae.length?s.setTimeout($t,250):typeof st=="function"&&st()}$t()}var It=s.PR={createSimpleLexer:we,registerLangHandler:Pt,sourceDecorator:Ce,PR_ATTRIB_NAME:Y,PR_ATTRIB_VALUE:ue,PR_COMMENT:K,PR_DECLARATION:q,PR_KEYWORD:U,PR_LITERAL:G,PR_NOCODE:ne,PR_PLAIN:ae,PR_PUNCTUATION:oe,PR_SOURCE:J,PR_STRING:$,PR_TAG:le,PR_TYPE:V,prettyPrintOne:r?s.prettyPrintOne=Jt:c=Jt,prettyPrint:f=r?s.prettyPrint=Xe:f=Xe},zt=s.define;typeof zt=="function"&&zt.amd&&zt("google-code-prettify",[],function(){return It})})()},25769:function(d,g,e){"use strict";var r=e(98040),i={"text/plain":"Text","text/html":"Url",default:"Text"},l="Copy to clipboard: #{key}, Enter";function c(s){var h=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return s.replace(/#{\s*key\s*}/g,h)}function f(s,h){var u,a,x,p,y,_,b=!1;h||(h={}),u=h.debug||!1;try{x=r(),p=document.createRange(),y=document.getSelection(),_=document.createElement("span"),_.textContent=s,_.ariaHidden="true",_.style.all="unset",_.style.position="fixed",_.style.top=0,_.style.clip="rect(0, 0, 0, 0)",_.style.whiteSpace="pre",_.style.webkitUserSelect="text",_.style.MozUserSelect="text",_.style.msUserSelect="text",_.style.userSelect="text",_.addEventListener("copy",function(R){if(R.stopPropagation(),h.format)if(R.preventDefault(),typeof R.clipboardData=="undefined"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var L=i[h.format]||i.default;window.clipboardData.setData(L,s)}else R.clipboardData.clearData(),R.clipboardData.setData(h.format,s);h.onCopy&&(R.preventDefault(),h.onCopy(R.clipboardData))}),document.body.appendChild(_),p.selectNodeContents(_),y.addRange(p);var S=document.execCommand("copy");if(!S)throw new Error("copy command was unsuccessful");b=!0}catch(R){u&&console.error("unable to copy using execCommand: ",R),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(h.format||"text",s),h.onCopy&&h.onCopy(window.clipboardData),b=!0}catch(L){u&&console.error("unable to copy using clipboardData: ",L),u&&console.error("falling back to prompt"),a=c("message"in h?h.message:l),window.prompt(a,s)}}finally{y&&(typeof y.removeRange=="function"?y.removeRange(p):y.removeAllRanges()),_&&document.body.removeChild(_),x()}return b}d.exports=f},75041:function(d){(function(){var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={rotl:function(r,i){return r<<i|r>>>32-i},rotr:function(r,i){return r<<32-i|r>>>i},endian:function(r){if(r.constructor==Number)return e.rotl(r,8)&16711935|e.rotl(r,24)&4278255360;for(var i=0;i<r.length;i++)r[i]=e.endian(r[i]);return r},randomBytes:function(r){for(var i=[];r>0;r--)i.push(Math.floor(Math.random()*256));return i},bytesToWords:function(r){for(var i=[],l=0,c=0;l<r.length;l++,c+=8)i[c>>>5]|=r[l]<<24-c%32;return i},wordsToBytes:function(r){for(var i=[],l=0;l<r.length*32;l+=8)i.push(r[l>>>5]>>>24-l%32&255);return i},bytesToHex:function(r){for(var i=[],l=0;l<r.length;l++)i.push((r[l]>>>4).toString(16)),i.push((r[l]&15).toString(16));return i.join("")},hexToBytes:function(r){for(var i=[],l=0;l<r.length;l+=2)i.push(parseInt(r.substr(l,2),16));return i},bytesToBase64:function(r){for(var i=[],l=0;l<r.length;l+=3)for(var c=r[l]<<16|r[l+1]<<8|r[l+2],f=0;f<4;f++)l*8+f*6<=r.length*8?i.push(g.charAt(c>>>6*(3-f)&63)):i.push("=");return i.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/ig,"");for(var i=[],l=0,c=0;l<r.length;c=++l%4)c!=0&&i.push((g.indexOf(r.charAt(l-1))&Math.pow(2,-2*c+8)-1)<<c*2|g.indexOf(r.charAt(l))>>>6-c*2);return i}};d.exports=e})()},84452:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.BlockCipher,f=i.algo,s=[],h=[],u=[],a=[],x=[],p=[],y=[],_=[],b=[],S=[];(function(){for(var C=[],D=0;D<256;D++)D<128?C[D]=D<<1:C[D]=D<<1^283;for(var B=0,$=0,D=0;D<256;D++){var U=$^$<<1^$<<2^$<<3^$<<4;U=U>>>8^U&255^99,s[B]=U,h[U]=B;var K=C[B],V=C[K],G=C[V],oe=C[U]*257^U*16843008;u[B]=oe<<24|oe>>>8,a[B]=oe<<16|oe>>>16,x[B]=oe<<8|oe>>>24,p[B]=oe;var oe=G*16843009^V*65537^K*257^B*16843008;y[U]=oe<<24|oe>>>8,_[U]=oe<<16|oe>>>16,b[U]=oe<<8|oe>>>24,S[U]=oe,B?(B=K^C[C[C[G^K]]],$^=C[C[$]]):B=$=1}})();var R=[0,1,2,4,8,16,32,64,128,27,54],L=f.AES=c.extend({_doReset:function(){var C;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var D=this._keyPriorReset=this._key,B=D.words,$=D.sigBytes/4,U=this._nRounds=$+6,K=(U+1)*4,V=this._keySchedule=[],G=0;G<K;G++)G<$?V[G]=B[G]:(C=V[G-1],G%$?$>6&&G%$==4&&(C=s[C>>>24]<<24|s[C>>>16&255]<<16|s[C>>>8&255]<<8|s[C&255]):(C=C<<8|C>>>24,C=s[C>>>24]<<24|s[C>>>16&255]<<16|s[C>>>8&255]<<8|s[C&255],C^=R[G/$|0]<<24),V[G]=V[G-$]^C);for(var oe=this._invKeySchedule=[],ae=0;ae<K;ae++){var G=K-ae;if(ae%4)var C=V[G];else var C=V[G-4];ae<4||G<=4?oe[ae]=C:oe[ae]=y[s[C>>>24]]^_[s[C>>>16&255]]^b[s[C>>>8&255]]^S[s[C&255]]}}},encryptBlock:function(C,D){this._doCryptBlock(C,D,this._keySchedule,u,a,x,p,s)},decryptBlock:function(C,D){var B=C[D+1];C[D+1]=C[D+3],C[D+3]=B,this._doCryptBlock(C,D,this._invKeySchedule,y,_,b,S,h);var B=C[D+1];C[D+1]=C[D+3],C[D+3]=B},_doCryptBlock:function(C,D,B,$,U,K,V,G){for(var oe=this._nRounds,ae=C[D]^B[0],le=C[D+1]^B[1],q=C[D+2]^B[2],J=C[D+3]^B[3],Y=4,ue=1;ue<oe;ue++){var ne=$[ae>>>24]^U[le>>>16&255]^K[q>>>8&255]^V[J&255]^B[Y++],ee=$[le>>>24]^U[q>>>16&255]^K[J>>>8&255]^V[ae&255]^B[Y++],ie=$[q>>>24]^U[J>>>16&255]^K[ae>>>8&255]^V[le&255]^B[Y++],F=$[J>>>24]^U[ae>>>16&255]^K[le>>>8&255]^V[q&255]^B[Y++];ae=ne,le=ee,q=ie,J=F}var ne=(G[ae>>>24]<<24|G[le>>>16&255]<<16|G[q>>>8&255]<<8|G[J&255])^B[Y++],ee=(G[le>>>24]<<24|G[q>>>16&255]<<16|G[J>>>8&255]<<8|G[ae&255])^B[Y++],ie=(G[q>>>24]<<24|G[J>>>16&255]<<16|G[ae>>>8&255]<<8|G[le&255])^B[Y++],F=(G[J>>>24]<<24|G[ae>>>16&255]<<16|G[le>>>8&255]<<8|G[q&255])^B[Y++];C[D]=ne,C[D+1]=ee,C[D+2]=ie,C[D+3]=F},keySize:256/32});i.AES=c._createHelper(L)}(),r.AES})},93617:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(28492))})(this,function(r){r.lib.Cipher||function(i){var l=r,c=l.lib,f=c.Base,s=c.WordArray,h=c.BufferedBlockAlgorithm,u=l.enc,a=u.Utf8,x=u.Base64,p=l.algo,y=p.EvpKDF,_=c.Cipher=h.extend({cfg:f.extend(),createEncryptor:function(le,q){return this.create(this._ENC_XFORM_MODE,le,q)},createDecryptor:function(le,q){return this.create(this._DEC_XFORM_MODE,le,q)},init:function(le,q,J){this.cfg=this.cfg.extend(J),this._xformMode=le,this._key=q,this.reset()},reset:function(){h.reset.call(this),this._doReset()},process:function(le){return this._append(le),this._process()},finalize:function(le){le&&this._append(le);var q=this._doFinalize();return q},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function le(q){return typeof q=="string"?ae:V}return function(q){return{encrypt:function(J,Y,ue){return le(Y).encrypt(q,J,Y,ue)},decrypt:function(J,Y,ue){return le(Y).decrypt(q,J,Y,ue)}}}}()}),b=c.StreamCipher=_.extend({_doFinalize:function(){var le=this._process(!0);return le},blockSize:1}),S=l.mode={},R=c.BlockCipherMode=f.extend({createEncryptor:function(le,q){return this.Encryptor.create(le,q)},createDecryptor:function(le,q){return this.Decryptor.create(le,q)},init:function(le,q){this._cipher=le,this._iv=q}}),L=S.CBC=function(){var le=R.extend();le.Encryptor=le.extend({processBlock:function(J,Y){var ue=this._cipher,ne=ue.blockSize;q.call(this,J,Y,ne),ue.encryptBlock(J,Y),this._prevBlock=J.slice(Y,Y+ne)}}),le.Decryptor=le.extend({processBlock:function(J,Y){var ue=this._cipher,ne=ue.blockSize,ee=J.slice(Y,Y+ne);ue.decryptBlock(J,Y),q.call(this,J,Y,ne),this._prevBlock=ee}});function q(J,Y,ue){var ne,ee=this._iv;ee?(ne=ee,this._iv=i):ne=this._prevBlock;for(var ie=0;ie<ue;ie++)J[Y+ie]^=ne[ie]}return le}(),C=l.pad={},D=C.Pkcs7={pad:function(le,q){for(var J=q*4,Y=J-le.sigBytes%J,ue=Y<<24|Y<<16|Y<<8|Y,ne=[],ee=0;ee<Y;ee+=4)ne.push(ue);var ie=s.create(ne,Y);le.concat(ie)},unpad:function(le){var q=le.words[le.sigBytes-1>>>2]&255;le.sigBytes-=q}},B=c.BlockCipher=_.extend({cfg:_.cfg.extend({mode:L,padding:D}),reset:function(){var le;_.reset.call(this);var q=this.cfg,J=q.iv,Y=q.mode;this._xformMode==this._ENC_XFORM_MODE?le=Y.createEncryptor:(le=Y.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==le?this._mode.init(this,J&&J.words):(this._mode=le.call(Y,this,J&&J.words),this._mode.__creator=le)},_doProcessBlock:function(le,q){this._mode.processBlock(le,q)},_doFinalize:function(){var le,q=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(q.pad(this._data,this.blockSize),le=this._process(!0)):(le=this._process(!0),q.unpad(le)),le},blockSize:128/32}),$=c.CipherParams=f.extend({init:function(le){this.mixIn(le)},toString:function(le){return(le||this.formatter).stringify(this)}}),U=l.format={},K=U.OpenSSL={stringify:function(le){var q,J=le.ciphertext,Y=le.salt;return Y?q=s.create([1398893684,1701076831]).concat(Y).concat(J):q=J,q.toString(x)},parse:function(le){var q,J=x.parse(le),Y=J.words;return Y[0]==1398893684&&Y[1]==1701076831&&(q=s.create(Y.slice(2,4)),Y.splice(0,4),J.sigBytes-=16),$.create({ciphertext:J,salt:q})}},V=c.SerializableCipher=f.extend({cfg:f.extend({format:K}),encrypt:function(le,q,J,Y){Y=this.cfg.extend(Y);var ue=le.createEncryptor(J,Y),ne=ue.finalize(q),ee=ue.cfg;return $.create({ciphertext:ne,key:J,iv:ee.iv,algorithm:le,mode:ee.mode,padding:ee.padding,blockSize:le.blockSize,formatter:Y.format})},decrypt:function(le,q,J,Y){Y=this.cfg.extend(Y),q=this._parse(q,Y.format);var ue=le.createDecryptor(J,Y).finalize(q.ciphertext);return ue},_parse:function(le,q){return typeof le=="string"?q.parse(le,this):le}}),G=l.kdf={},oe=G.OpenSSL={execute:function(le,q,J,Y){Y||(Y=s.random(64/8));var ue=y.create({keySize:q+J}).compute(le,Y),ne=s.create(ue.words.slice(q),J*4);return ue.sigBytes=q*4,$.create({key:ue,iv:ne,salt:Y})}},ae=c.PasswordBasedCipher=V.extend({cfg:V.cfg.extend({kdf:oe}),encrypt:function(le,q,J,Y){Y=this.cfg.extend(Y);var ue=Y.kdf.execute(J,le.keySize,le.ivSize);Y.iv=ue.iv;var ne=V.encrypt.call(this,le,q,ue.key,Y);return ne.mixIn(ue),ne},decrypt:function(le,q,J,Y){Y=this.cfg.extend(Y),q=this._parse(q,Y.format);var ue=Y.kdf.execute(J,le.keySize,le.ivSize,q.salt);Y.iv=ue.iv;var ne=V.decrypt.call(this,le,q,ue.key,Y);return ne}})}()})},52952:function(d,g,e){(function(r,i){d.exports=g=i()})(this,function(){var r=r||function(i,l){var c;if(typeof window!="undefined"&&window.crypto&&(c=window.crypto),typeof self!="undefined"&&self.crypto&&(c=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(c=globalThis.crypto),!c&&typeof window!="undefined"&&window.msCrypto&&(c=window.msCrypto),!c&&typeof e.g!="undefined"&&e.g.crypto&&(c=e.g.crypto),!c)try{c=e(3828)}catch(C){}var f=function(){if(c){if(typeof c.getRandomValues=="function")try{return c.getRandomValues(new Uint32Array(1))[0]}catch(C){}if(typeof c.randomBytes=="function")try{return c.randomBytes(4).readInt32LE()}catch(C){}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function C(){}return function(D){var B;return C.prototype=D,B=new C,C.prototype=null,B}}(),h={},u=h.lib={},a=u.Base=function(){return{extend:function(C){var D=s(this);return C&&D.mixIn(C),(!D.hasOwnProperty("init")||this.init===D.init)&&(D.init=function(){D.$super.init.apply(this,arguments)}),D.init.prototype=D,D.$super=this,D},create:function(){var C=this.extend();return C.init.apply(C,arguments),C},init:function(){},mixIn:function(C){for(var D in C)C.hasOwnProperty(D)&&(this[D]=C[D]);C.hasOwnProperty("toString")&&(this.toString=C.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=u.WordArray=a.extend({init:function(C,D){C=this.words=C||[],D!=l?this.sigBytes=D:this.sigBytes=C.length*4},toString:function(C){return(C||y).stringify(this)},concat:function(C){var D=this.words,B=C.words,$=this.sigBytes,U=C.sigBytes;if(this.clamp(),$%4)for(var K=0;K<U;K++){var V=B[K>>>2]>>>24-K%4*8&255;D[$+K>>>2]|=V<<24-($+K)%4*8}else for(var G=0;G<U;G+=4)D[$+G>>>2]=B[G>>>2];return this.sigBytes+=U,this},clamp:function(){var C=this.words,D=this.sigBytes;C[D>>>2]&=4294967295<<32-D%4*8,C.length=i.ceil(D/4)},clone:function(){var C=a.clone.call(this);return C.words=this.words.slice(0),C},random:function(C){for(var D=[],B=0;B<C;B+=4)D.push(f());return new x.init(D,C)}}),p=h.enc={},y=p.Hex={stringify:function(C){for(var D=C.words,B=C.sigBytes,$=[],U=0;U<B;U++){var K=D[U>>>2]>>>24-U%4*8&255;$.push((K>>>4).toString(16)),$.push((K&15).toString(16))}return $.join("")},parse:function(C){for(var D=C.length,B=[],$=0;$<D;$+=2)B[$>>>3]|=parseInt(C.substr($,2),16)<<24-$%8*4;return new x.init(B,D/2)}},_=p.Latin1={stringify:function(C){for(var D=C.words,B=C.sigBytes,$=[],U=0;U<B;U++){var K=D[U>>>2]>>>24-U%4*8&255;$.push(String.fromCharCode(K))}return $.join("")},parse:function(C){for(var D=C.length,B=[],$=0;$<D;$++)B[$>>>2]|=(C.charCodeAt($)&255)<<24-$%4*8;return new x.init(B,D)}},b=p.Utf8={stringify:function(C){try{return decodeURIComponent(escape(_.stringify(C)))}catch(D){throw new Error("Malformed UTF-8 data")}},parse:function(C){return _.parse(unescape(encodeURIComponent(C)))}},S=u.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new x.init,this._nDataBytes=0},_append:function(C){typeof C=="string"&&(C=b.parse(C)),this._data.concat(C),this._nDataBytes+=C.sigBytes},_process:function(C){var D,B=this._data,$=B.words,U=B.sigBytes,K=this.blockSize,V=K*4,G=U/V;C?G=i.ceil(G):G=i.max((G|0)-this._minBufferSize,0);var oe=G*K,ae=i.min(oe*4,U);if(oe){for(var le=0;le<oe;le+=K)this._doProcessBlock($,le);D=$.splice(0,oe),B.sigBytes-=ae}return new x.init(D,ae)},clone:function(){var C=a.clone.call(this);return C._data=this._data.clone(),C},_minBufferSize:0}),R=u.Hasher=S.extend({cfg:a.extend(),init:function(C){this.cfg=this.cfg.extend(C),this.reset()},reset:function(){S.reset.call(this),this._doReset()},update:function(C){return this._append(C),this._process(),this},finalize:function(C){C&&this._append(C);var D=this._doFinalize();return D},blockSize:512/32,_createHelper:function(C){return function(D,B){return new C.init(B).finalize(D)}},_createHmacHelper:function(C){return function(D,B){return new L.HMAC.init(C,B).finalize(D)}}}),L=h.algo={};return h}(Math);return r})},35909:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.enc,s=f.Base64={stringify:function(u){var a=u.words,x=u.sigBytes,p=this._map;u.clamp();for(var y=[],_=0;_<x;_+=3)for(var b=a[_>>>2]>>>24-_%4*8&255,S=a[_+1>>>2]>>>24-(_+1)%4*8&255,R=a[_+2>>>2]>>>24-(_+2)%4*8&255,L=b<<16|S<<8|R,C=0;C<4&&_+C*.75<x;C++)y.push(p.charAt(L>>>6*(3-C)&63));var D=p.charAt(64);if(D)for(;y.length%4;)y.push(D);return y.join("")},parse:function(u){var a=u.length,x=this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var y=0;y<x.length;y++)p[x.charCodeAt(y)]=y}var _=x.charAt(64);if(_){var b=u.indexOf(_);b!==-1&&(a=b)}return h(u,a,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function h(u,a,x){for(var p=[],y=0,_=0;_<a;_++)if(_%4){var b=x[u.charCodeAt(_-1)]<<_%4*2,S=x[u.charCodeAt(_)]>>>6-_%4*2,R=b|S;p[y>>>2]|=R<<24-y%4*8,y++}return c.create(p,y)}}(),r.enc.Base64})},52695:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.enc,s=f.Base64url={stringify:function(u,a=!0){var x=u.words,p=u.sigBytes,y=a?this._safe_map:this._map;u.clamp();for(var _=[],b=0;b<p;b+=3)for(var S=x[b>>>2]>>>24-b%4*8&255,R=x[b+1>>>2]>>>24-(b+1)%4*8&255,L=x[b+2>>>2]>>>24-(b+2)%4*8&255,C=S<<16|R<<8|L,D=0;D<4&&b+D*.75<p;D++)_.push(y.charAt(C>>>6*(3-D)&63));var B=y.charAt(64);if(B)for(;_.length%4;)_.push(B);return _.join("")},parse:function(u,a=!0){var x=u.length,p=a?this._safe_map:this._map,y=this._reverseMap;if(!y){y=this._reverseMap=[];for(var _=0;_<p.length;_++)y[p.charCodeAt(_)]=_}var b=p.charAt(64);if(b){var S=u.indexOf(b);S!==-1&&(x=S)}return h(u,x,y)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function h(u,a,x){for(var p=[],y=0,_=0;_<a;_++)if(_%4){var b=x[u.charCodeAt(_-1)]<<_%4*2,S=x[u.charCodeAt(_)]>>>6-_%4*2,R=b|S;p[y>>>2]|=R<<24-y%4*8,y++}return c.create(p,y)}}(),r.enc.Base64url})},73323:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.enc,s=f.Utf16=f.Utf16BE={stringify:function(u){for(var a=u.words,x=u.sigBytes,p=[],y=0;y<x;y+=2){var _=a[y>>>2]>>>16-y%4*8&65535;p.push(String.fromCharCode(_))}return p.join("")},parse:function(u){for(var a=u.length,x=[],p=0;p<a;p++)x[p>>>1]|=u.charCodeAt(p)<<16-p%2*16;return c.create(x,a*2)}};f.Utf16LE={stringify:function(u){for(var a=u.words,x=u.sigBytes,p=[],y=0;y<x;y+=2){var _=h(a[y>>>2]>>>16-y%4*8&65535);p.push(String.fromCharCode(_))}return p.join("")},parse:function(u){for(var a=u.length,x=[],p=0;p<a;p++)x[p>>>1]|=h(u.charCodeAt(p)<<16-p%2*16);return c.create(x,a*2)}};function h(u){return u<<8&4278255360|u>>>8&16711935}}(),r.enc.Utf16})},28492:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(49479),e(83760))})(this,function(r){return function(){var i=r,l=i.lib,c=l.Base,f=l.WordArray,s=i.algo,h=s.MD5,u=s.EvpKDF=c.extend({cfg:c.extend({keySize:128/32,hasher:h,iterations:1}),init:function(a){this.cfg=this.cfg.extend(a)},compute:function(a,x){for(var p,y=this.cfg,_=y.hasher.create(),b=f.create(),S=b.words,R=y.keySize,L=y.iterations;S.length<R;){p&&_.update(p),p=_.update(a).finalize(x),_.reset();for(var C=1;C<L;C++)p=_.finalize(p),_.reset();b.concat(p)}return b.sigBytes=R*4,b}});i.EvpKDF=function(a,x,p){return u.create(p).compute(a,x)}}(),r.EvpKDF})},24408:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.CipherParams,s=l.enc,h=s.Hex,u=l.format,a=u.Hex={stringify:function(x){return x.ciphertext.toString(h)},parse:function(x){var p=h.parse(x);return f.create({ciphertext:p})}}}(),r.format.Hex})},83760:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){(function(){var i=r,l=i.lib,c=l.Base,f=i.enc,s=f.Utf8,h=i.algo,u=h.HMAC=c.extend({init:function(a,x){a=this._hasher=new a.init,typeof x=="string"&&(x=s.parse(x));var p=a.blockSize,y=p*4;x.sigBytes>y&&(x=a.finalize(x)),x.clamp();for(var _=this._oKey=x.clone(),b=this._iKey=x.clone(),S=_.words,R=b.words,L=0;L<p;L++)S[L]^=1549556828,R[L]^=909522486;_.sigBytes=b.sigBytes=y,this.reset()},reset:function(){var a=this._hasher;a.reset(),a.update(this._iKey)},update:function(a){return this._hasher.update(a),this},finalize:function(a){var x=this._hasher,p=x.finalize(a);x.reset();var y=x.finalize(this._oKey.clone().concat(p));return y}})})()})},28209:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(41988),e(79183),e(73323),e(35909),e(52695),e(34905),e(49479),e(2481),e(93653),e(12133),e(82307),e(79421),e(25824),e(83760),e(37248),e(28492),e(93617),e(2882),e(98277),e(69972),e(30509),e(79182),e(74990),e(2593),e(10829),e(10265),e(18846),e(24408),e(84452),e(61945),e(22528),e(21865),e(35308))})(this,function(r){return r})},79183:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(){if(typeof ArrayBuffer=="function"){var i=r,l=i.lib,c=l.WordArray,f=c.init,s=c.init=function(h){if(h instanceof ArrayBuffer&&(h=new Uint8Array(h)),(h instanceof Int8Array||typeof Uint8ClampedArray!="undefined"&&h instanceof Uint8ClampedArray||h instanceof Int16Array||h instanceof Uint16Array||h instanceof Int32Array||h instanceof Uint32Array||h instanceof Float32Array||h instanceof Float64Array)&&(h=new Uint8Array(h.buffer,h.byteOffset,h.byteLength)),h instanceof Uint8Array){for(var u=h.byteLength,a=[],x=0;x<u;x++)a[x>>>2]|=h[x]<<24-x%4*8;f.call(this,a,u)}else f.apply(this,arguments)};s.prototype=c}}(),r.lib.WordArray})},34905:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,s=c.Hasher,h=l.algo,u=[];(function(){for(var b=0;b<64;b++)u[b]=i.abs(i.sin(b+1))*4294967296|0})();var a=h.MD5=s.extend({_doReset:function(){this._hash=new f.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(b,S){for(var R=0;R<16;R++){var L=S+R,C=b[L];b[L]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360}var D=this._hash.words,B=b[S+0],$=b[S+1],U=b[S+2],K=b[S+3],V=b[S+4],G=b[S+5],oe=b[S+6],ae=b[S+7],le=b[S+8],q=b[S+9],J=b[S+10],Y=b[S+11],ue=b[S+12],ne=b[S+13],ee=b[S+14],ie=b[S+15],F=D[0],M=D[1],Q=D[2],de=D[3];F=x(F,M,Q,de,B,7,u[0]),de=x(de,F,M,Q,$,12,u[1]),Q=x(Q,de,F,M,U,17,u[2]),M=x(M,Q,de,F,K,22,u[3]),F=x(F,M,Q,de,V,7,u[4]),de=x(de,F,M,Q,G,12,u[5]),Q=x(Q,de,F,M,oe,17,u[6]),M=x(M,Q,de,F,ae,22,u[7]),F=x(F,M,Q,de,le,7,u[8]),de=x(de,F,M,Q,q,12,u[9]),Q=x(Q,de,F,M,J,17,u[10]),M=x(M,Q,de,F,Y,22,u[11]),F=x(F,M,Q,de,ue,7,u[12]),de=x(de,F,M,Q,ne,12,u[13]),Q=x(Q,de,F,M,ee,17,u[14]),M=x(M,Q,de,F,ie,22,u[15]),F=p(F,M,Q,de,$,5,u[16]),de=p(de,F,M,Q,oe,9,u[17]),Q=p(Q,de,F,M,Y,14,u[18]),M=p(M,Q,de,F,B,20,u[19]),F=p(F,M,Q,de,G,5,u[20]),de=p(de,F,M,Q,J,9,u[21]),Q=p(Q,de,F,M,ie,14,u[22]),M=p(M,Q,de,F,V,20,u[23]),F=p(F,M,Q,de,q,5,u[24]),de=p(de,F,M,Q,ee,9,u[25]),Q=p(Q,de,F,M,K,14,u[26]),M=p(M,Q,de,F,le,20,u[27]),F=p(F,M,Q,de,ne,5,u[28]),de=p(de,F,M,Q,U,9,u[29]),Q=p(Q,de,F,M,ae,14,u[30]),M=p(M,Q,de,F,ue,20,u[31]),F=y(F,M,Q,de,G,4,u[32]),de=y(de,F,M,Q,le,11,u[33]),Q=y(Q,de,F,M,Y,16,u[34]),M=y(M,Q,de,F,ee,23,u[35]),F=y(F,M,Q,de,$,4,u[36]),de=y(de,F,M,Q,V,11,u[37]),Q=y(Q,de,F,M,ae,16,u[38]),M=y(M,Q,de,F,J,23,u[39]),F=y(F,M,Q,de,ne,4,u[40]),de=y(de,F,M,Q,B,11,u[41]),Q=y(Q,de,F,M,K,16,u[42]),M=y(M,Q,de,F,oe,23,u[43]),F=y(F,M,Q,de,q,4,u[44]),de=y(de,F,M,Q,ue,11,u[45]),Q=y(Q,de,F,M,ie,16,u[46]),M=y(M,Q,de,F,U,23,u[47]),F=_(F,M,Q,de,B,6,u[48]),de=_(de,F,M,Q,ae,10,u[49]),Q=_(Q,de,F,M,ee,15,u[50]),M=_(M,Q,de,F,G,21,u[51]),F=_(F,M,Q,de,ue,6,u[52]),de=_(de,F,M,Q,K,10,u[53]),Q=_(Q,de,F,M,J,15,u[54]),M=_(M,Q,de,F,$,21,u[55]),F=_(F,M,Q,de,le,6,u[56]),de=_(de,F,M,Q,ie,10,u[57]),Q=_(Q,de,F,M,oe,15,u[58]),M=_(M,Q,de,F,ne,21,u[59]),F=_(F,M,Q,de,V,6,u[60]),de=_(de,F,M,Q,Y,10,u[61]),Q=_(Q,de,F,M,U,15,u[62]),M=_(M,Q,de,F,q,21,u[63]),D[0]=D[0]+F|0,D[1]=D[1]+M|0,D[2]=D[2]+Q|0,D[3]=D[3]+de|0},_doFinalize:function(){var b=this._data,S=b.words,R=this._nDataBytes*8,L=b.sigBytes*8;S[L>>>5]|=128<<24-L%32;var C=i.floor(R/4294967296),D=R;S[(L+64>>>9<<4)+15]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,S[(L+64>>>9<<4)+14]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,b.sigBytes=(S.length+1)*4,this._process();for(var B=this._hash,$=B.words,U=0;U<4;U++){var K=$[U];$[U]=(K<<8|K>>>24)&16711935|(K<<24|K>>>8)&4278255360}return B},clone:function(){var b=s.clone.call(this);return b._hash=this._hash.clone(),b}});function x(b,S,R,L,C,D,B){var $=b+(S&R|~S&L)+C+B;return($<<D|$>>>32-D)+S}function p(b,S,R,L,C,D,B){var $=b+(S&L|R&~L)+C+B;return($<<D|$>>>32-D)+S}function y(b,S,R,L,C,D,B){var $=b+(S^R^L)+C+B;return($<<D|$>>>32-D)+S}function _(b,S,R,L,C,D,B){var $=b+(R^(S|~L))+C+B;return($<<D|$>>>32-D)+S}l.MD5=s._createHelper(a),l.HmacMD5=s._createHmacHelper(a)}(Math),r.MD5})},2882:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.mode.CFB=function(){var i=r.lib.BlockCipherMode.extend();i.Encryptor=i.extend({processBlock:function(c,f){var s=this._cipher,h=s.blockSize;l.call(this,c,f,h,s),this._prevBlock=c.slice(f,f+h)}}),i.Decryptor=i.extend({processBlock:function(c,f){var s=this._cipher,h=s.blockSize,u=c.slice(f,f+h);l.call(this,c,f,h,s),this._prevBlock=u}});function l(c,f,s,h){var u,a=this._iv;a?(u=a.slice(0),this._iv=void 0):u=this._prevBlock,h.encryptBlock(u,0);for(var x=0;x<s;x++)c[f+x]^=u[x]}return i}(),r.mode.CFB})},69972:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.mode.CTRGladman=function(){var i=r.lib.BlockCipherMode.extend();function l(s){if((s>>24&255)===255){var h=s>>16&255,u=s>>8&255,a=s&255;h===255?(h=0,u===255?(u=0,a===255?a=0:++a):++u):++h,s=0,s+=h<<16,s+=u<<8,s+=a}else s+=16777216;return s}function c(s){return(s[0]=l(s[0]))===0&&(s[1]=l(s[1])),s}var f=i.Encryptor=i.extend({processBlock:function(s,h){var u=this._cipher,a=u.blockSize,x=this._iv,p=this._counter;x&&(p=this._counter=x.slice(0),this._iv=void 0),c(p);var y=p.slice(0);u.encryptBlock(y,0);for(var _=0;_<a;_++)s[h+_]^=y[_]}});return i.Decryptor=f,i}(),r.mode.CTRGladman})},98277:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.mode.CTR=function(){var i=r.lib.BlockCipherMode.extend(),l=i.Encryptor=i.extend({processBlock:function(c,f){var s=this._cipher,h=s.blockSize,u=this._iv,a=this._counter;u&&(a=this._counter=u.slice(0),this._iv=void 0);var x=a.slice(0);s.encryptBlock(x,0),a[h-1]=a[h-1]+1|0;for(var p=0;p<h;p++)c[f+p]^=x[p]}});return i.Decryptor=l,i}(),r.mode.CTR})},79182:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.mode.ECB=function(){var i=r.lib.BlockCipherMode.extend();return i.Encryptor=i.extend({processBlock:function(l,c){this._cipher.encryptBlock(l,c)}}),i.Decryptor=i.extend({processBlock:function(l,c){this._cipher.decryptBlock(l,c)}}),i}(),r.mode.ECB})},30509:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.mode.OFB=function(){var i=r.lib.BlockCipherMode.extend(),l=i.Encryptor=i.extend({processBlock:function(c,f){var s=this._cipher,h=s.blockSize,u=this._iv,a=this._keystream;u&&(a=this._keystream=u.slice(0),this._iv=void 0),s.encryptBlock(a,0);for(var x=0;x<h;x++)c[f+x]^=a[x]}});return i.Decryptor=l,i}(),r.mode.OFB})},74990:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.pad.AnsiX923={pad:function(i,l){var c=i.sigBytes,f=l*4,s=f-c%f,h=c+s-1;i.clamp(),i.words[h>>>2]|=s<<24-h%4*8,i.sigBytes+=s},unpad:function(i){var l=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=l}},r.pad.Ansix923})},2593:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.pad.Iso10126={pad:function(i,l){var c=l*4,f=c-i.sigBytes%c;i.concat(r.lib.WordArray.random(f-1)).concat(r.lib.WordArray.create([f<<24],1))},unpad:function(i){var l=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=l}},r.pad.Iso10126})},10829:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.pad.Iso97971={pad:function(i,l){i.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(i,l)},unpad:function(i){r.pad.ZeroPadding.unpad(i),i.sigBytes--}},r.pad.Iso97971})},18846:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})},10265:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.pad.ZeroPadding={pad:function(i,l){var c=l*4;i.clamp(),i.sigBytes+=c-(i.sigBytes%c||c)},unpad:function(i){for(var l=i.words,c=i.sigBytes-1,c=i.sigBytes-1;c>=0;c--)if(l[c>>>2]>>>24-c%4*8&255){i.sigBytes=c+1;break}}},r.pad.ZeroPadding})},37248:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(49479),e(83760))})(this,function(r){return function(){var i=r,l=i.lib,c=l.Base,f=l.WordArray,s=i.algo,h=s.SHA1,u=s.HMAC,a=s.PBKDF2=c.extend({cfg:c.extend({keySize:128/32,hasher:h,iterations:1}),init:function(x){this.cfg=this.cfg.extend(x)},compute:function(x,p){for(var y=this.cfg,_=u.create(y.hasher,x),b=f.create(),S=f.create([1]),R=b.words,L=S.words,C=y.keySize,D=y.iterations;R.length<C;){var B=_.update(p).finalize(S);_.reset();for(var $=B.words,U=$.length,K=B,V=1;V<D;V++){K=_.finalize(K),_.reset();for(var G=K.words,oe=0;oe<U;oe++)$[oe]^=G[oe]}b.concat(B),L[0]++}return b.sigBytes=C*4,b}});i.PBKDF2=function(x,p,y){return a.create(y).compute(x,p)}}(),r.PBKDF2})},35308:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.StreamCipher,f=i.algo,s=[],h=[],u=[],a=f.RabbitLegacy=c.extend({_doReset:function(){var p=this._key.words,y=this.cfg.iv,_=this._X=[p[0],p[3]<<16|p[2]>>>16,p[1],p[0]<<16|p[3]>>>16,p[2],p[1]<<16|p[0]>>>16,p[3],p[2]<<16|p[1]>>>16],b=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var S=0;S<4;S++)x.call(this);for(var S=0;S<8;S++)b[S]^=_[S+4&7];if(y){var R=y.words,L=R[0],C=R[1],D=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,B=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,$=D>>>16|B&4294901760,U=B<<16|D&65535;b[0]^=D,b[1]^=$,b[2]^=B,b[3]^=U,b[4]^=D,b[5]^=$,b[6]^=B,b[7]^=U;for(var S=0;S<4;S++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),s[0]=_[0]^_[5]>>>16^_[3]<<16,s[1]=_[2]^_[7]>>>16^_[5]<<16,s[2]=_[4]^_[1]>>>16^_[7]<<16,s[3]=_[6]^_[3]>>>16^_[1]<<16;for(var b=0;b<4;b++)s[b]=(s[b]<<8|s[b]>>>24)&16711935|(s[b]<<24|s[b]>>>8)&4278255360,p[y+b]^=s[b]},blockSize:128/32,ivSize:64/32});function x(){for(var p=this._X,y=this._C,_=0;_<8;_++)h[_]=y[_];y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<h[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<h[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<h[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<h[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<h[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<h[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<h[6]>>>0?1:0)|0,this._b=y[7]>>>0<h[7]>>>0?1:0;for(var _=0;_<8;_++){var b=p[_]+y[_],S=b&65535,R=b>>>16,L=((S*S>>>17)+S*R>>>15)+R*R,C=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=L^C}p[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,p[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,p[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,p[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,p[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,p[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,p[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,p[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}i.RabbitLegacy=c._createHelper(a)}(),r.RabbitLegacy})},21865:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.StreamCipher,f=i.algo,s=[],h=[],u=[],a=f.Rabbit=c.extend({_doReset:function(){for(var p=this._key.words,y=this.cfg.iv,_=0;_<4;_++)p[_]=(p[_]<<8|p[_]>>>24)&16711935|(p[_]<<24|p[_]>>>8)&4278255360;var b=this._X=[p[0],p[3]<<16|p[2]>>>16,p[1],p[0]<<16|p[3]>>>16,p[2],p[1]<<16|p[0]>>>16,p[3],p[2]<<16|p[1]>>>16],S=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var _=0;_<4;_++)x.call(this);for(var _=0;_<8;_++)S[_]^=b[_+4&7];if(y){var R=y.words,L=R[0],C=R[1],D=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,B=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,$=D>>>16|B&4294901760,U=B<<16|D&65535;S[0]^=D,S[1]^=$,S[2]^=B,S[3]^=U,S[4]^=D,S[5]^=$,S[6]^=B,S[7]^=U;for(var _=0;_<4;_++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),s[0]=_[0]^_[5]>>>16^_[3]<<16,s[1]=_[2]^_[7]>>>16^_[5]<<16,s[2]=_[4]^_[1]>>>16^_[7]<<16,s[3]=_[6]^_[3]>>>16^_[1]<<16;for(var b=0;b<4;b++)s[b]=(s[b]<<8|s[b]>>>24)&16711935|(s[b]<<24|s[b]>>>8)&4278255360,p[y+b]^=s[b]},blockSize:128/32,ivSize:64/32});function x(){for(var p=this._X,y=this._C,_=0;_<8;_++)h[_]=y[_];y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<h[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<h[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<h[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<h[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<h[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<h[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<h[6]>>>0?1:0)|0,this._b=y[7]>>>0<h[7]>>>0?1:0;for(var _=0;_<8;_++){var b=p[_]+y[_],S=b&65535,R=b>>>16,L=((S*S>>>17)+S*R>>>15)+R*R,C=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=L^C}p[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,p[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,p[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,p[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,p[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,p[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,p[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,p[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}i.Rabbit=c._createHelper(a)}(),r.Rabbit})},22528:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.StreamCipher,f=i.algo,s=f.RC4=c.extend({_doReset:function(){for(var a=this._key,x=a.words,p=a.sigBytes,y=this._S=[],_=0;_<256;_++)y[_]=_;for(var _=0,b=0;_<256;_++){var S=_%p,R=x[S>>>2]>>>24-S%4*8&255;b=(b+y[_]+R)%256;var L=y[_];y[_]=y[b],y[b]=L}this._i=this._j=0},_doProcessBlock:function(a,x){a[x]^=h.call(this)},keySize:256/32,ivSize:0});function h(){for(var a=this._S,x=this._i,p=this._j,y=0,_=0;_<4;_++){x=(x+1)%256,p=(p+a[x])%256;var b=a[x];a[x]=a[p],a[p]=b,y|=a[(a[x]+a[p])%256]<<24-_*8}return this._i=x,this._j=p,y}i.RC4=c._createHelper(s);var u=f.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var a=this.cfg.drop;a>0;a--)h.call(this)}});i.RC4Drop=c._createHelper(u)}(),r.RC4})},25824:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,s=c.Hasher,h=l.algo,u=f.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=f.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),x=f.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),p=f.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),y=f.create([0,1518500249,1859775393,2400959708,2840853838]),_=f.create([1352829926,1548603684,1836072691,2053994217,0]),b=h.RIPEMD160=s.extend({_doReset:function(){this._hash=f.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function($,U){for(var K=0;K<16;K++){var V=U+K,G=$[V];$[V]=(G<<8|G>>>24)&16711935|(G<<24|G>>>8)&4278255360}var oe=this._hash.words,ae=y.words,le=_.words,q=u.words,J=a.words,Y=x.words,ue=p.words,ne,ee,ie,F,M,Q,de,we,Ce,je;Q=ne=oe[0],de=ee=oe[1],we=ie=oe[2],Ce=F=oe[3],je=M=oe[4];for(var Fe,K=0;K<80;K+=1)Fe=ne+$[U+q[K]]|0,K<16?Fe+=S(ee,ie,F)+ae[0]:K<32?Fe+=R(ee,ie,F)+ae[1]:K<48?Fe+=L(ee,ie,F)+ae[2]:K<64?Fe+=C(ee,ie,F)+ae[3]:Fe+=D(ee,ie,F)+ae[4],Fe=Fe|0,Fe=B(Fe,Y[K]),Fe=Fe+M|0,ne=M,M=F,F=B(ie,10),ie=ee,ee=Fe,Fe=Q+$[U+J[K]]|0,K<16?Fe+=D(de,we,Ce)+le[0]:K<32?Fe+=C(de,we,Ce)+le[1]:K<48?Fe+=L(de,we,Ce)+le[2]:K<64?Fe+=R(de,we,Ce)+le[3]:Fe+=S(de,we,Ce)+le[4],Fe=Fe|0,Fe=B(Fe,ue[K]),Fe=Fe+je|0,Q=je,je=Ce,Ce=B(we,10),we=de,de=Fe;Fe=oe[1]+ie+Ce|0,oe[1]=oe[2]+F+je|0,oe[2]=oe[3]+M+Q|0,oe[3]=oe[4]+ne+de|0,oe[4]=oe[0]+ee+we|0,oe[0]=Fe},_doFinalize:function(){var $=this._data,U=$.words,K=this._nDataBytes*8,V=$.sigBytes*8;U[V>>>5]|=128<<24-V%32,U[(V+64>>>9<<4)+14]=(K<<8|K>>>24)&16711935|(K<<24|K>>>8)&4278255360,$.sigBytes=(U.length+1)*4,this._process();for(var G=this._hash,oe=G.words,ae=0;ae<5;ae++){var le=oe[ae];oe[ae]=(le<<8|le>>>24)&16711935|(le<<24|le>>>8)&4278255360}return G},clone:function(){var $=s.clone.call(this);return $._hash=this._hash.clone(),$}});function S($,U,K){return $^U^K}function R($,U,K){return $&U|~$&K}function L($,U,K){return($|~U)^K}function C($,U,K){return $&K|U&~K}function D($,U,K){return $^(U|~K)}function B($,U){return $<<U|$>>>32-U}l.RIPEMD160=s._createHelper(b),l.HmacRIPEMD160=s._createHmacHelper(b)}(Math),r.RIPEMD160})},49479:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=l.Hasher,s=i.algo,h=[],u=s.SHA1=f.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(a,x){for(var p=this._hash.words,y=p[0],_=p[1],b=p[2],S=p[3],R=p[4],L=0;L<80;L++){if(L<16)h[L]=a[x+L]|0;else{var C=h[L-3]^h[L-8]^h[L-14]^h[L-16];h[L]=C<<1|C>>>31}var D=(y<<5|y>>>27)+R+h[L];L<20?D+=(_&b|~_&S)+1518500249:L<40?D+=(_^b^S)+1859775393:L<60?D+=(_&b|_&S|b&S)-1894007588:D+=(_^b^S)-899497514,R=S,S=b,b=_<<30|_>>>2,_=y,y=D}p[0]=p[0]+y|0,p[1]=p[1]+_|0,p[2]=p[2]+b|0,p[3]=p[3]+S|0,p[4]=p[4]+R|0},_doFinalize:function(){var a=this._data,x=a.words,p=this._nDataBytes*8,y=a.sigBytes*8;return x[y>>>5]|=128<<24-y%32,x[(y+64>>>9<<4)+14]=Math.floor(p/4294967296),x[(y+64>>>9<<4)+15]=p,a.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var a=f.clone.call(this);return a._hash=this._hash.clone(),a}});i.SHA1=f._createHelper(u),i.HmacSHA1=f._createHmacHelper(u)}(),r.SHA1})},93653:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(2481))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.algo,s=f.SHA256,h=f.SHA224=s.extend({_doReset:function(){this._hash=new c.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=s._doFinalize.call(this);return u.sigBytes-=4,u}});i.SHA224=s._createHelper(h),i.HmacSHA224=s._createHmacHelper(h)}(),r.SHA224})},2481:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,s=c.Hasher,h=l.algo,u=[],a=[];(function(){function y(R){for(var L=i.sqrt(R),C=2;C<=L;C++)if(!(R%C))return!1;return!0}function _(R){return(R-(R|0))*4294967296|0}for(var b=2,S=0;S<64;)y(b)&&(S<8&&(u[S]=_(i.pow(b,.5))),a[S]=_(i.pow(b,.3333333333333333)),S++),b++})();var x=[],p=h.SHA256=s.extend({_doReset:function(){this._hash=new f.init(u.slice(0))},_doProcessBlock:function(y,_){for(var b=this._hash.words,S=b[0],R=b[1],L=b[2],C=b[3],D=b[4],B=b[5],$=b[6],U=b[7],K=0;K<64;K++){if(K<16)x[K]=y[_+K]|0;else{var V=x[K-15],G=(V<<25|V>>>7)^(V<<14|V>>>18)^V>>>3,oe=x[K-2],ae=(oe<<15|oe>>>17)^(oe<<13|oe>>>19)^oe>>>10;x[K]=G+x[K-7]+ae+x[K-16]}var le=D&B^~D&$,q=S&R^S&L^R&L,J=(S<<30|S>>>2)^(S<<19|S>>>13)^(S<<10|S>>>22),Y=(D<<26|D>>>6)^(D<<21|D>>>11)^(D<<7|D>>>25),ue=U+Y+le+a[K]+x[K],ne=J+q;U=$,$=B,B=D,D=C+ue|0,C=L,L=R,R=S,S=ue+ne|0}b[0]=b[0]+S|0,b[1]=b[1]+R|0,b[2]=b[2]+L|0,b[3]=b[3]+C|0,b[4]=b[4]+D|0,b[5]=b[5]+B|0,b[6]=b[6]+$|0,b[7]=b[7]+U|0},_doFinalize:function(){var y=this._data,_=y.words,b=this._nDataBytes*8,S=y.sigBytes*8;return _[S>>>5]|=128<<24-S%32,_[(S+64>>>9<<4)+14]=i.floor(b/4294967296),_[(S+64>>>9<<4)+15]=b,y.sigBytes=_.length*4,this._process(),this._hash},clone:function(){var y=s.clone.call(this);return y._hash=this._hash.clone(),y}});l.SHA256=s._createHelper(p),l.HmacSHA256=s._createHmacHelper(p)}(Math),r.SHA256})},79421:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(41988))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,s=c.Hasher,h=l.x64,u=h.Word,a=l.algo,x=[],p=[],y=[];(function(){for(var S=1,R=0,L=0;L<24;L++){x[S+5*R]=(L+1)*(L+2)/2%64;var C=R%5,D=(2*S+3*R)%5;S=C,R=D}for(var S=0;S<5;S++)for(var R=0;R<5;R++)p[S+5*R]=R+(2*S+3*R)%5*5;for(var B=1,$=0;$<24;$++){for(var U=0,K=0,V=0;V<7;V++){if(B&1){var G=(1<<V)-1;G<32?K^=1<<G:U^=1<<G-32}B&128?B=B<<1^113:B<<=1}y[$]=u.create(U,K)}})();var _=[];(function(){for(var S=0;S<25;S++)_[S]=u.create()})();var b=a.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var S=this._state=[],R=0;R<25;R++)S[R]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(S,R){for(var L=this._state,C=this.blockSize/2,D=0;D<C;D++){var B=S[R+2*D],$=S[R+2*D+1];B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,$=($<<8|$>>>24)&16711935|($<<24|$>>>8)&4278255360;var U=L[D];U.high^=$,U.low^=B}for(var K=0;K<24;K++){for(var V=0;V<5;V++){for(var G=0,oe=0,ae=0;ae<5;ae++){var U=L[V+5*ae];G^=U.high,oe^=U.low}var le=_[V];le.high=G,le.low=oe}for(var V=0;V<5;V++)for(var q=_[(V+4)%5],J=_[(V+1)%5],Y=J.high,ue=J.low,G=q.high^(Y<<1|ue>>>31),oe=q.low^(ue<<1|Y>>>31),ae=0;ae<5;ae++){var U=L[V+5*ae];U.high^=G,U.low^=oe}for(var ne=1;ne<25;ne++){var G,oe,U=L[ne],ee=U.high,ie=U.low,F=x[ne];F<32?(G=ee<<F|ie>>>32-F,oe=ie<<F|ee>>>32-F):(G=ie<<F-32|ee>>>64-F,oe=ee<<F-32|ie>>>64-F);var M=_[p[ne]];M.high=G,M.low=oe}var Q=_[0],de=L[0];Q.high=de.high,Q.low=de.low;for(var V=0;V<5;V++)for(var ae=0;ae<5;ae++){var ne=V+5*ae,U=L[ne],we=_[ne],Ce=_[(V+1)%5+5*ae],je=_[(V+2)%5+5*ae];U.high=we.high^~Ce.high&je.high,U.low=we.low^~Ce.low&je.low}var U=L[0],Fe=y[K];U.high^=Fe.high,U.low^=Fe.low}},_doFinalize:function(){var S=this._data,R=S.words,L=this._nDataBytes*8,C=S.sigBytes*8,D=this.blockSize*32;R[C>>>5]|=1<<24-C%32,R[(i.ceil((C+1)/D)*D>>>5)-1]|=128,S.sigBytes=R.length*4,this._process();for(var B=this._state,$=this.cfg.outputLength/8,U=$/8,K=[],V=0;V<U;V++){var G=B[V],oe=G.high,ae=G.low;oe=(oe<<8|oe>>>24)&16711935|(oe<<24|oe>>>8)&4278255360,ae=(ae<<8|ae>>>24)&16711935|(ae<<24|ae>>>8)&4278255360,K.push(ae),K.push(oe)}return new f.init(K,$)},clone:function(){for(var S=s.clone.call(this),R=S._state=this._state.slice(0),L=0;L<25;L++)R[L]=R[L].clone();return S}});l.SHA3=s._createHelper(b),l.HmacSHA3=s._createHmacHelper(b)}(Math),r.SHA3})},82307:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(41988),e(12133))})(this,function(r){return function(){var i=r,l=i.x64,c=l.Word,f=l.WordArray,s=i.algo,h=s.SHA512,u=s.SHA384=h.extend({_doReset:function(){this._hash=new f.init([new c.init(3418070365,3238371032),new c.init(1654270250,914150663),new c.init(2438529370,812702999),new c.init(355462360,4144912697),new c.init(1731405415,4290775857),new c.init(2394180231,1750603025),new c.init(3675008525,1694076839),new c.init(1203062813,3204075428)])},_doFinalize:function(){var a=h._doFinalize.call(this);return a.sigBytes-=16,a}});i.SHA384=h._createHelper(u),i.HmacSHA384=h._createHmacHelper(u)}(),r.SHA384})},12133:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(41988))})(this,function(r){return function(){var i=r,l=i.lib,c=l.Hasher,f=i.x64,s=f.Word,h=f.WordArray,u=i.algo;function a(){return s.create.apply(s,arguments)}var x=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],p=[];(function(){for(var _=0;_<80;_++)p[_]=a()})();var y=u.SHA512=c.extend({_doReset:function(){this._hash=new h.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(_,b){for(var S=this._hash.words,R=S[0],L=S[1],C=S[2],D=S[3],B=S[4],$=S[5],U=S[6],K=S[7],V=R.high,G=R.low,oe=L.high,ae=L.low,le=C.high,q=C.low,J=D.high,Y=D.low,ue=B.high,ne=B.low,ee=$.high,ie=$.low,F=U.high,M=U.low,Q=K.high,de=K.low,we=V,Ce=G,je=oe,Fe=ae,Ft=le,_t=q,Pt=J,qt=Y,er=ue,Jt=ne,Xe=ee,It=ie,zt=F,st=M,bt=Q,ht=de,Je=0;Je<80;Je++){var Ue,ge,Ae=p[Je];if(Je<16)ge=Ae.high=_[b+Je*2]|0,Ue=Ae.low=_[b+Je*2+1]|0;else{var Me=p[Je-15],$e=Me.high,He=Me.low,nt=($e>>>1|He<<31)^($e>>>8|He<<24)^$e>>>7,ct=(He>>>1|$e<<31)^(He>>>8|$e<<24)^(He>>>7|$e<<25),Vt=p[Je-2],Wt=Vt.high,De=Vt.low,qe=(Wt>>>19|De<<13)^(Wt<<3|De>>>29)^Wt>>>6,Gt=(De>>>19|Wt<<13)^(De<<3|Wt>>>29)^(De>>>6|Wt<<26),kt=p[Je-7],Ht=kt.high,$t=kt.low,Ct=p[Je-16],Yt=Ct.high,We=Ct.low;Ue=ct+$t,ge=nt+Ht+(Ue>>>0<ct>>>0?1:0),Ue=Ue+Gt,ge=ge+qe+(Ue>>>0<Gt>>>0?1:0),Ue=Ue+We,ge=ge+Yt+(Ue>>>0<We>>>0?1:0),Ae.high=ge,Ae.low=Ue}var fe=er&Xe^~er&zt,_e=Jt&It^~Jt&st,Ot=we&je^we&Ft^je&Ft,Pe=Ce&Fe^Ce&_t^Fe&_t,dt=(we>>>28|Ce<<4)^(we<<30|Ce>>>2)^(we<<25|Ce>>>7),Zt=(Ce>>>28|we<<4)^(Ce<<30|we>>>2)^(Ce<<25|we>>>7),Tt=(er>>>14|Jt<<18)^(er>>>18|Jt<<14)^(er<<23|Jt>>>9),ke=(Jt>>>14|er<<18)^(Jt>>>18|er<<14)^(Jt<<23|er>>>9),St=x[Je],be=St.high,Ke=St.low,gt=ht+ke,Rt=bt+Tt+(gt>>>0<ht>>>0?1:0),gt=gt+_e,Rt=Rt+fe+(gt>>>0<_e>>>0?1:0),gt=gt+Ke,Rt=Rt+be+(gt>>>0<Ke>>>0?1:0),gt=gt+Ue,Rt=Rt+ge+(gt>>>0<Ue>>>0?1:0),Be=Zt+Pe,kr=dt+Ot+(Be>>>0<Zt>>>0?1:0);bt=zt,ht=st,zt=Xe,st=It,Xe=er,It=Jt,Jt=qt+gt|0,er=Pt+Rt+(Jt>>>0<qt>>>0?1:0)|0,Pt=Ft,qt=_t,Ft=je,_t=Fe,je=we,Fe=Ce,Ce=gt+Be|0,we=Rt+kr+(Ce>>>0<gt>>>0?1:0)|0}G=R.low=G+Ce,R.high=V+we+(G>>>0<Ce>>>0?1:0),ae=L.low=ae+Fe,L.high=oe+je+(ae>>>0<Fe>>>0?1:0),q=C.low=q+_t,C.high=le+Ft+(q>>>0<_t>>>0?1:0),Y=D.low=Y+qt,D.high=J+Pt+(Y>>>0<qt>>>0?1:0),ne=B.low=ne+Jt,B.high=ue+er+(ne>>>0<Jt>>>0?1:0),ie=$.low=ie+It,$.high=ee+Xe+(ie>>>0<It>>>0?1:0),M=U.low=M+st,U.high=F+zt+(M>>>0<st>>>0?1:0),de=K.low=de+ht,K.high=Q+bt+(de>>>0<ht>>>0?1:0)},_doFinalize:function(){var _=this._data,b=_.words,S=this._nDataBytes*8,R=_.sigBytes*8;b[R>>>5]|=128<<24-R%32,b[(R+128>>>10<<5)+30]=Math.floor(S/4294967296),b[(R+128>>>10<<5)+31]=S,_.sigBytes=b.length*4,this._process();var L=this._hash.toX32();return L},clone:function(){var _=c.clone.call(this);return _._hash=this._hash.clone(),_},blockSize:1024/32});i.SHA512=c._createHelper(y),i.HmacSHA512=c._createHmacHelper(y)}(),r.SHA512})},61945:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=l.BlockCipher,s=i.algo,h=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],a=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],x=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],p=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],y=s.DES=f.extend({_doReset:function(){for(var R=this._key,L=R.words,C=[],D=0;D<56;D++){var B=h[D]-1;C[D]=L[B>>>5]>>>31-B%32&1}for(var $=this._subKeys=[],U=0;U<16;U++){for(var K=$[U]=[],V=a[U],D=0;D<24;D++)K[D/6|0]|=C[(u[D]-1+V)%28]<<31-D%6,K[4+(D/6|0)]|=C[28+(u[D+24]-1+V)%28]<<31-D%6;K[0]=K[0]<<1|K[0]>>>31;for(var D=1;D<7;D++)K[D]=K[D]>>>(D-1)*4+3;K[7]=K[7]<<5|K[7]>>>27}for(var G=this._invSubKeys=[],D=0;D<16;D++)G[D]=$[15-D]},encryptBlock:function(R,L){this._doCryptBlock(R,L,this._subKeys)},decryptBlock:function(R,L){this._doCryptBlock(R,L,this._invSubKeys)},_doCryptBlock:function(R,L,C){this._lBlock=R[L],this._rBlock=R[L+1],_.call(this,4,252645135),_.call(this,16,65535),b.call(this,2,858993459),b.call(this,8,16711935),_.call(this,1,1431655765);for(var D=0;D<16;D++){for(var B=C[D],$=this._lBlock,U=this._rBlock,K=0,V=0;V<8;V++)K|=x[V][((U^B[V])&p[V])>>>0];this._lBlock=U,this._rBlock=$^K}var G=this._lBlock;this._lBlock=this._rBlock,this._rBlock=G,_.call(this,1,1431655765),b.call(this,8,16711935),b.call(this,2,858993459),_.call(this,16,65535),_.call(this,4,252645135),R[L]=this._lBlock,R[L+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function _(R,L){var C=(this._lBlock>>>R^this._rBlock)&L;this._rBlock^=C,this._lBlock^=C<<R}function b(R,L){var C=(this._rBlock>>>R^this._lBlock)&L;this._lBlock^=C,this._rBlock^=C<<R}i.DES=f._createHelper(y);var S=s.TripleDES=f.extend({_doReset:function(){var R=this._key,L=R.words;if(L.length!==2&&L.length!==4&&L.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var C=L.slice(0,2),D=L.length<4?L.slice(0,2):L.slice(2,4),B=L.length<6?L.slice(0,2):L.slice(4,6);this._des1=y.createEncryptor(c.create(C)),this._des2=y.createEncryptor(c.create(D)),this._des3=y.createEncryptor(c.create(B))},encryptBlock:function(R,L){this._des1.encryptBlock(R,L),this._des2.decryptBlock(R,L),this._des3.encryptBlock(R,L)},decryptBlock:function(R,L){this._des3.decryptBlock(R,L),this._des2.encryptBlock(R,L),this._des1.decryptBlock(R,L)},keySize:192/32,ivSize:64/32,blockSize:64/32});i.TripleDES=f._createHelper(S)}(),r.TripleDES})},41988:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.Base,s=c.WordArray,h=l.x64={},u=h.Word=f.extend({init:function(x,p){this.high=x,this.low=p}}),a=h.WordArray=f.extend({init:function(x,p){x=this.words=x||[],p!=i?this.sigBytes=p:this.sigBytes=x.length*8},toX32:function(){for(var x=this.words,p=x.length,y=[],_=0;_<p;_++){var b=x[_];y.push(b.high),y.push(b.low)}return s.create(y,this.sigBytes)},clone:function(){for(var x=f.clone.call(this),p=x.words=this.words.slice(0),y=p.length,_=0;_<y;_++)p[_]=p[_].clone();return x}})}(),r})},35413:function(d,g,e){"use strict";var r=e(57046),i=e(69574),l=e(63474),c=e(47095),f=e(99363),s=d.exports=function(h,u){var a,x,p,y,_;return arguments.length<2||typeof h!="string"?(y=u,u=h,h=null):y=arguments[2],r(h)?(a=f.call(h,"c"),x=f.call(h,"e"),p=f.call(h,"w")):(a=p=!0,x=!1),_={value:u,configurable:a,enumerable:x,writable:p},y?l(c(y),_):_};s.gs=function(h,u,a){var x,p,y,_;return typeof h!="string"?(y=a,a=u,u=h,h=null):y=arguments[3],r(u)?i(u)?r(a)?i(a)||(y=a,a=void 0):a=void 0:(y=u,u=a=void 0):u=void 0,r(h)?(x=f.call(h,"c"),p=f.call(h,"e")):(x=!0,p=!1),_={get:u,set:a,configurable:x,enumerable:p},y?l(c(y),_):_}},61186:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";var g=1e3,e=6e4,r=36e5,i="millisecond",l="second",c="minute",f="hour",s="day",h="week",u="month",a="quarter",x="year",p="date",y="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={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(ae){var le=["th","st","nd","rd"],q=ae%100;return"["+ae+(le[(q-20)%10]||le[q]||le[0])+"]"}},R=function(ae,le,q){var J=String(ae);return!J||J.length>=le?ae:""+Array(le+1-J.length).join(q)+ae},L={s:R,z:function(ae){var le=-ae.utcOffset(),q=Math.abs(le),J=Math.floor(q/60),Y=q%60;return(le<=0?"+":"-")+R(J,2,"0")+":"+R(Y,2,"0")},m:function ae(le,q){if(le.date()<q.date())return-ae(q,le);var J=12*(q.year()-le.year())+(q.month()-le.month()),Y=le.clone().add(J,u),ue=q-Y<0,ne=le.clone().add(J+(ue?-1:1),u);return+(-(J+(q-Y)/(ue?Y-ne:ne-Y))||0)},a:function(ae){return ae<0?Math.ceil(ae)||0:Math.floor(ae)},p:function(ae){return{M:u,y:x,w:h,d:s,D:p,h:f,m:c,s:l,ms:i,Q:a}[ae]||String(ae||"").toLowerCase().replace(/s$/,"")},u:function(ae){return ae===void 0}},C="en",D={};D[C]=S;var B="$isDayjsObject",$=function(ae){return ae instanceof G||!(!ae||!ae[B])},U=function ae(le,q,J){var Y;if(!le)return C;if(typeof le=="string"){var ue=le.toLowerCase();D[ue]&&(Y=ue),q&&(D[ue]=q,Y=ue);var ne=le.split("-");if(!Y&&ne.length>1)return ae(ne[0])}else{var ee=le.name;D[ee]=le,Y=ee}return!J&&Y&&(C=Y),Y||!J&&C},K=function(ae,le){if($(ae))return ae.clone();var q=typeof le=="object"?le:{};return q.date=ae,q.args=arguments,new G(q)},V=L;V.l=U,V.i=$,V.w=function(ae,le){return K(ae,{locale:le.$L,utc:le.$u,x:le.$x,$offset:le.$offset})};var G=function(){function ae(q){this.$L=U(q.locale,null,!0),this.parse(q),this.$x=this.$x||q.x||{},this[B]=!0}var le=ae.prototype;return le.parse=function(q){this.$d=function(J){var Y=J.date,ue=J.utc;if(Y===null)return new Date(NaN);if(V.u(Y))return new Date;if(Y instanceof Date)return new Date(Y);if(typeof Y=="string"&&!/Z$/i.test(Y)){var ne=Y.match(_);if(ne){var ee=ne[2]-1||0,ie=(ne[7]||"0").substring(0,3);return ue?new Date(Date.UTC(ne[1],ee,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,ie)):new Date(ne[1],ee,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,ie)}}return new Date(Y)}(q),this.init()},le.init=function(){var q=this.$d;this.$y=q.getFullYear(),this.$M=q.getMonth(),this.$D=q.getDate(),this.$W=q.getDay(),this.$H=q.getHours(),this.$m=q.getMinutes(),this.$s=q.getSeconds(),this.$ms=q.getMilliseconds()},le.$utils=function(){return V},le.isValid=function(){return this.$d.toString()!==y},le.isSame=function(q,J){var Y=K(q);return this.startOf(J)<=Y&&Y<=this.endOf(J)},le.isAfter=function(q,J){return K(q)<this.startOf(J)},le.isBefore=function(q,J){return this.endOf(J)<K(q)},le.$g=function(q,J,Y){return V.u(q)?this[J]:this.set(Y,q)},le.unix=function(){return Math.floor(this.valueOf()/1e3)},le.valueOf=function(){return this.$d.getTime()},le.startOf=function(q,J){var Y=this,ue=!!V.u(J)||J,ne=V.p(q),ee=function(je,Fe){var Ft=V.w(Y.$u?Date.UTC(Y.$y,Fe,je):new Date(Y.$y,Fe,je),Y);return ue?Ft:Ft.endOf(s)},ie=function(je,Fe){return V.w(Y.toDate()[je].apply(Y.toDate("s"),(ue?[0,0,0,0]:[23,59,59,999]).slice(Fe)),Y)},F=this.$W,M=this.$M,Q=this.$D,de="set"+(this.$u?"UTC":"");switch(ne){case x:return ue?ee(1,0):ee(31,11);case u:return ue?ee(1,M):ee(0,M+1);case h:var we=this.$locale().weekStart||0,Ce=(F<we?F+7:F)-we;return ee(ue?Q-Ce:Q+(6-Ce),M);case s:case p:return ie(de+"Hours",0);case f:return ie(de+"Minutes",1);case c:return ie(de+"Seconds",2);case l:return ie(de+"Milliseconds",3);default:return this.clone()}},le.endOf=function(q){return this.startOf(q,!1)},le.$set=function(q,J){var Y,ue=V.p(q),ne="set"+(this.$u?"UTC":""),ee=(Y={},Y[s]=ne+"Date",Y[p]=ne+"Date",Y[u]=ne+"Month",Y[x]=ne+"FullYear",Y[f]=ne+"Hours",Y[c]=ne+"Minutes",Y[l]=ne+"Seconds",Y[i]=ne+"Milliseconds",Y)[ue],ie=ue===s?this.$D+(J-this.$W):J;if(ue===u||ue===x){var F=this.clone().set(p,1);F.$d[ee](ie),F.init(),this.$d=F.set(p,Math.min(this.$D,F.daysInMonth())).$d}else ee&&this.$d[ee](ie);return this.init(),this},le.set=function(q,J){return this.clone().$set(q,J)},le.get=function(q){return this[V.p(q)]()},le.add=function(q,J){var Y,ue=this;q=Number(q);var ne=V.p(J),ee=function(M){var Q=K(ue);return V.w(Q.date(Q.date()+Math.round(M*q)),ue)};if(ne===u)return this.set(u,this.$M+q);if(ne===x)return this.set(x,this.$y+q);if(ne===s)return ee(1);if(ne===h)return ee(7);var ie=(Y={},Y[c]=e,Y[f]=r,Y[l]=g,Y)[ne]||1,F=this.$d.getTime()+q*ie;return V.w(F,this)},le.subtract=function(q,J){return this.add(-1*q,J)},le.format=function(q){var J=this,Y=this.$locale();if(!this.isValid())return Y.invalidDate||y;var ue=q||"YYYY-MM-DDTHH:mm:ssZ",ne=V.z(this),ee=this.$H,ie=this.$m,F=this.$M,M=Y.weekdays,Q=Y.months,de=Y.meridiem,we=function(Fe,Ft,_t,Pt){return Fe&&(Fe[Ft]||Fe(J,ue))||_t[Ft].slice(0,Pt)},Ce=function(Fe){return V.s(ee%12||12,Fe,"0")},je=de||function(Fe,Ft,_t){var Pt=Fe<12?"AM":"PM";return _t?Pt.toLowerCase():Pt};return ue.replace(b,function(Fe,Ft){return Ft||function(_t){switch(_t){case"YY":return String(J.$y).slice(-2);case"YYYY":return V.s(J.$y,4,"0");case"M":return F+1;case"MM":return V.s(F+1,2,"0");case"MMM":return we(Y.monthsShort,F,Q,3);case"MMMM":return we(Q,F);case"D":return J.$D;case"DD":return V.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return we(Y.weekdaysMin,J.$W,M,2);case"ddd":return we(Y.weekdaysShort,J.$W,M,3);case"dddd":return M[J.$W];case"H":return String(ee);case"HH":return V.s(ee,2,"0");case"h":return Ce(1);case"hh":return Ce(2);case"a":return je(ee,ie,!0);case"A":return je(ee,ie,!1);case"m":return String(ie);case"mm":return V.s(ie,2,"0");case"s":return String(J.$s);case"ss":return V.s(J.$s,2,"0");case"SSS":return V.s(J.$ms,3,"0");case"Z":return ne}return null}(Fe)||ne.replace(":","")})},le.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},le.diff=function(q,J,Y){var ue,ne=this,ee=V.p(J),ie=K(q),F=(ie.utcOffset()-this.utcOffset())*e,M=this-ie,Q=function(){return V.m(ne,ie)};switch(ee){case x:ue=Q()/12;break;case u:ue=Q();break;case a:ue=Q()/3;break;case h:ue=(M-F)/6048e5;break;case s:ue=(M-F)/864e5;break;case f:ue=M/r;break;case c:ue=M/e;break;case l:ue=M/g;break;default:ue=M}return Y?ue:V.a(ue)},le.daysInMonth=function(){return this.endOf(u).$D},le.$locale=function(){return D[this.$L]},le.locale=function(q,J){if(!q)return this.$L;var Y=this.clone(),ue=U(q,J,!0);return ue&&(Y.$L=ue),Y},le.clone=function(){return V.w(this.$d,this)},le.toDate=function(){return new Date(this.valueOf())},le.toJSON=function(){return this.isValid()?this.toISOString():null},le.toISOString=function(){return this.$d.toISOString()},le.toString=function(){return this.$d.toUTCString()},ae}(),oe=G.prototype;return K.prototype=oe,[["$ms",i],["$s",l],["$m",c],["$H",f],["$W",s],["$M",u],["$y",x],["$D",p]].forEach(function(ae){oe[ae[1]]=function(le){return this.$g(le,ae[0],ae[1])}}),K.extend=function(ae,le){return ae.$i||(ae(le,G,K),ae.$i=!0),K},K.locale=U,K.isDayjs=$,K.unix=function(ae){return K(1e3*ae)},K.en=D[C],K.Ls=D,K.p={},K})},65517:function(d,g,e){(function(r,i){d.exports=i(e(61186))})(this,function(r){"use strict";function i(f){return f&&typeof f=="object"&&"default"in f?f:{default:f}}var l=i(r),c={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(f,s){return s==="W"?f+"\u5468":f+"\u65E5"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(f,s){var h=100*f+s;return h<600?"\u51CC\u6668":h<900?"\u65E9\u4E0A":h<1100?"\u4E0A\u5348":h<1300?"\u4E2D\u5348":h<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};return l.default.locale(c,null,!0),c})},10238:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e){var r=e.prototype,i=r.format;r.format=function(l){var c=this,f=this.$locale();if(!this.isValid())return i.bind(this)(l);var s=this.$utils(),h=(l||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(u){switch(u){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return f.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return f.ordinal(c.week(),"W");case"w":case"ww":return s.s(c.week(),u==="w"?1:2,"0");case"W":case"WW":return s.s(c.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return s.s(String(c.$H===0?24:c.$H),u==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return u}});return i.bind(this)(h)}}})},33656:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";var g={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d/,i=/\d\d/,l=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,f={},s=function(_){return(_=+_)+(_>68?1900:2e3)},h=function(_){return function(b){this[_]=+b}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(_){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var S=b.match(/([+-]|\d\d)/g),R=60*S[1]+(+S[2]||0);return R===0?0:S[0]==="+"?-R:R}(_)}],a=function(_){var b=f[_];return b&&(b.indexOf?b:b.s.concat(b.f))},x=function(_,b){var S,R=f.meridiem;if(R){for(var L=1;L<=24;L+=1)if(_.indexOf(R(L,0,b))>-1){S=L>12;break}}else S=_===(b?"pm":"PM");return S},p={A:[c,function(_){this.afternoon=x(_,!1)}],a:[c,function(_){this.afternoon=x(_,!0)}],Q:[r,function(_){this.month=3*(_-1)+1}],S:[r,function(_){this.milliseconds=100*+_}],SS:[i,function(_){this.milliseconds=10*+_}],SSS:[/\d{3}/,function(_){this.milliseconds=+_}],s:[l,h("seconds")],ss:[l,h("seconds")],m:[l,h("minutes")],mm:[l,h("minutes")],H:[l,h("hours")],h:[l,h("hours")],HH:[l,h("hours")],hh:[l,h("hours")],D:[l,h("day")],DD:[i,h("day")],Do:[c,function(_){var b=f.ordinal,S=_.match(/\d+/);if(this.day=S[0],b)for(var R=1;R<=31;R+=1)b(R).replace(/\[|\]/g,"")===_&&(this.day=R)}],w:[l,h("week")],ww:[i,h("week")],M:[l,h("month")],MM:[i,h("month")],MMM:[c,function(_){var b=a("months"),S=(a("monthsShort")||b.map(function(R){return R.slice(0,3)})).indexOf(_)+1;if(S<1)throw new Error;this.month=S%12||S}],MMMM:[c,function(_){var b=a("months").indexOf(_)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,h("year")],YY:[i,function(_){this.year=s(_)}],YYYY:[/\d{4}/,h("year")],Z:u,ZZ:u};function y(_){var b,S;b=_,S=f&&f.formats;for(var R=(_=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(K,V,G){var oe=G&&G.toUpperCase();return V||S[G]||g[G]||S[oe].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ae,le,q){return le||q.slice(1)})})).match(e),L=R.length,C=0;C<L;C+=1){var D=R[C],B=p[D],$=B&&B[0],U=B&&B[1];R[C]=U?{regex:$,parser:U}:D.replace(/^\[|\]$/g,"")}return function(K){for(var V={},G=0,oe=0;G<L;G+=1){var ae=R[G];if(typeof ae=="string")oe+=ae.length;else{var le=ae.regex,q=ae.parser,J=K.slice(oe),Y=le.exec(J)[0];q.call(V,Y),K=K.replace(Y,"")}}return function(ue){var ne=ue.afternoon;if(ne!==void 0){var ee=ue.hours;ne?ee<12&&(ue.hours+=12):ee===12&&(ue.hours=0),delete ue.afternoon}}(V),V}}return function(_,b,S){S.p.customParseFormat=!0,_&&_.parseTwoDigitYear&&(s=_.parseTwoDigitYear);var R=b.prototype,L=R.parse;R.parse=function(C){var D=C.date,B=C.utc,$=C.args;this.$u=B;var U=$[1];if(typeof U=="string"){var K=$[2]===!0,V=$[3]===!0,G=K||V,oe=$[2];V&&(oe=$[2]),f=this.$locale(),!K&&oe&&(f=S.Ls[oe]),this.$d=function(J,Y,ue,ne){try{if(["x","X"].indexOf(Y)>-1)return new Date((Y==="X"?1e3:1)*J);var ee=y(Y)(J),ie=ee.year,F=ee.month,M=ee.day,Q=ee.hours,de=ee.minutes,we=ee.seconds,Ce=ee.milliseconds,je=ee.zone,Fe=ee.week,Ft=new Date,_t=M||(ie||F?1:Ft.getDate()),Pt=ie||Ft.getFullYear(),qt=0;ie&&!F||(qt=F>0?F-1:Ft.getMonth());var er,Jt=Q||0,Xe=de||0,It=we||0,zt=Ce||0;return je?new Date(Date.UTC(Pt,qt,_t,Jt,Xe,It,zt+60*je.offset*1e3)):ue?new Date(Date.UTC(Pt,qt,_t,Jt,Xe,It,zt)):(er=new Date(Pt,qt,_t,Jt,Xe,It,zt),Fe&&(er=ne(er).week(Fe).toDate()),er)}catch(st){return new Date("")}}(D,U,B,S),this.init(),oe&&oe!==!0&&(this.$L=this.locale(oe).$L),G&&D!=this.format(U)&&(this.$d=new Date("")),f={}}else if(U instanceof Array)for(var ae=U.length,le=1;le<=ae;le+=1){$[1]=U[le-1];var q=S.apply(this,$);if(q.isValid()){this.$d=q.$d,this.$L=q.$L,this.init();break}le===ae&&(this.$d=new Date(""))}else L.call(this,C)}}})},47477:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";var g,e,r=1e3,i=6e4,l=36e5,c=864e5,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=31536e6,h=2628e6,u=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,a={years:s,months:h,days:c,hours:l,minutes:i,seconds:r,milliseconds:1,weeks:6048e5},x=function(D){return D instanceof L},p=function(D,B,$){return new L(D,$,B.$l)},y=function(D){return e.p(D)+"s"},_=function(D){return D<0},b=function(D){return _(D)?Math.ceil(D):Math.floor(D)},S=function(D){return Math.abs(D)},R=function(D,B){return D?_(D)?{negative:!0,format:""+S(D)+B}:{negative:!1,format:""+D+B}:{negative:!1,format:""}},L=function(){function D($,U,K){var V=this;if(this.$d={},this.$l=K,$===void 0&&(this.$ms=0,this.parseFromMilliseconds()),U)return p($*a[y(U)],this);if(typeof $=="number")return this.$ms=$,this.parseFromMilliseconds(),this;if(typeof $=="object")return Object.keys($).forEach(function(ae){V.$d[y(ae)]=$[ae]}),this.calMilliseconds(),this;if(typeof $=="string"){var G=$.match(u);if(G){var oe=G.slice(2).map(function(ae){return ae!=null?Number(ae):0});return this.$d.years=oe[0],this.$d.months=oe[1],this.$d.weeks=oe[2],this.$d.days=oe[3],this.$d.hours=oe[4],this.$d.minutes=oe[5],this.$d.seconds=oe[6],this.calMilliseconds(),this}}return this}var B=D.prototype;return B.calMilliseconds=function(){var $=this;this.$ms=Object.keys(this.$d).reduce(function(U,K){return U+($.$d[K]||0)*a[K]},0)},B.parseFromMilliseconds=function(){var $=this.$ms;this.$d.years=b($/s),$%=s,this.$d.months=b($/h),$%=h,this.$d.days=b($/c),$%=c,this.$d.hours=b($/l),$%=l,this.$d.minutes=b($/i),$%=i,this.$d.seconds=b($/r),$%=r,this.$d.milliseconds=$},B.toISOString=function(){var $=R(this.$d.years,"Y"),U=R(this.$d.months,"M"),K=+this.$d.days||0;this.$d.weeks&&(K+=7*this.$d.weeks);var V=R(K,"D"),G=R(this.$d.hours,"H"),oe=R(this.$d.minutes,"M"),ae=this.$d.seconds||0;this.$d.milliseconds&&(ae+=this.$d.milliseconds/1e3,ae=Math.round(1e3*ae)/1e3);var le=R(ae,"S"),q=$.negative||U.negative||V.negative||G.negative||oe.negative||le.negative,J=G.format||oe.format||le.format?"T":"",Y=(q?"-":"")+"P"+$.format+U.format+V.format+J+G.format+oe.format+le.format;return Y==="P"||Y==="-P"?"P0D":Y},B.toJSON=function(){return this.toISOString()},B.format=function($){var U=$||"YYYY-MM-DDTHH:mm:ss",K={Y:this.$d.years,YY:e.s(this.$d.years,2,"0"),YYYY:e.s(this.$d.years,4,"0"),M:this.$d.months,MM:e.s(this.$d.months,2,"0"),D:this.$d.days,DD:e.s(this.$d.days,2,"0"),H:this.$d.hours,HH:e.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:e.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:e.s(this.$d.seconds,2,"0"),SSS:e.s(this.$d.milliseconds,3,"0")};return U.replace(f,function(V,G){return G||String(K[V])})},B.as=function($){return this.$ms/a[y($)]},B.get=function($){var U=this.$ms,K=y($);return K==="milliseconds"?U%=1e3:U=K==="weeks"?b(U/a[K]):this.$d[K],U||0},B.add=function($,U,K){var V;return V=U?$*a[y(U)]:x($)?$.$ms:p($,this).$ms,p(this.$ms+V*(K?-1:1),this)},B.subtract=function($,U){return this.add($,U,!0)},B.locale=function($){var U=this.clone();return U.$l=$,U},B.clone=function(){return p(this.$ms,this)},B.humanize=function($){return g().add(this.$ms,"ms").locale(this.$l).fromNow(!$)},B.valueOf=function(){return this.asMilliseconds()},B.milliseconds=function(){return this.get("milliseconds")},B.asMilliseconds=function(){return this.as("milliseconds")},B.seconds=function(){return this.get("seconds")},B.asSeconds=function(){return this.as("seconds")},B.minutes=function(){return this.get("minutes")},B.asMinutes=function(){return this.as("minutes")},B.hours=function(){return this.get("hours")},B.asHours=function(){return this.as("hours")},B.days=function(){return this.get("days")},B.asDays=function(){return this.as("days")},B.weeks=function(){return this.get("weeks")},B.asWeeks=function(){return this.as("weeks")},B.months=function(){return this.get("months")},B.asMonths=function(){return this.as("months")},B.years=function(){return this.get("years")},B.asYears=function(){return this.as("years")},D}(),C=function(D,B,$){return D.add(B.years()*$,"y").add(B.months()*$,"M").add(B.days()*$,"d").add(B.hours()*$,"h").add(B.minutes()*$,"m").add(B.seconds()*$,"s").add(B.milliseconds()*$,"ms")};return function(D,B,$){g=$,e=$().$utils(),$.duration=function(V,G){var oe=$.locale();return p(V,{$l:oe},G)},$.isDuration=x;var U=B.prototype.add,K=B.prototype.subtract;B.prototype.add=function(V,G){return x(V)?C(this,V,1):U.bind(this)(V,G)},B.prototype.subtract=function(V,G){return x(V)?C(this,V,-1):K.bind(this)(V,G)}}})},58862:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e,r){r.isMoment=function(i){return r.isDayjs(i)}}})},19277:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e){e.prototype.isSameOrAfter=function(r,i){return this.isSame(r,i)||this.isAfter(r,i)}}})},34749:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e){e.prototype.isSameOrBefore=function(r,i){return this.isSame(r,i)||this.isBefore(r,i)}}})},58319:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e,r){var i=e.prototype,l=function(u){return u&&(u.indexOf?u:u.s)},c=function(u,a,x,p,y){var _=u.name?u:u.$locale(),b=l(_[a]),S=l(_[x]),R=b||S.map(function(C){return C.slice(0,p)});if(!y)return R;var L=_.weekStart;return R.map(function(C,D){return R[(D+(L||0))%7]})},f=function(){return r.Ls[r.locale()]},s=function(u,a){return u.formats[a]||function(x){return x.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(p,y,_){return y||_.slice(1)})}(u.formats[a.toUpperCase()])},h=function(){var u=this;return{months:function(a){return a?a.format("MMMM"):c(u,"months")},monthsShort:function(a){return a?a.format("MMM"):c(u,"monthsShort","months",3)},firstDayOfWeek:function(){return u.$locale().weekStart||0},weekdays:function(a){return a?a.format("dddd"):c(u,"weekdays")},weekdaysMin:function(a){return a?a.format("dd"):c(u,"weekdaysMin","weekdays",2)},weekdaysShort:function(a){return a?a.format("ddd"):c(u,"weekdaysShort","weekdays",3)},longDateFormat:function(a){return s(u.$locale(),a)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return h.bind(this)()},r.localeData=function(){var u=f();return{firstDayOfWeek:function(){return u.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(a){return s(u,a)},meridiem:u.meridiem,ordinal:u.ordinal}},r.months=function(){return c(f(),"months")},r.monthsShort=function(){return c(f(),"monthsShort","months",3)},r.weekdays=function(u){return c(f(),"weekdays",null,null,u)},r.weekdaysShort=function(u){return c(f(),"weekdaysShort","weekdays",3,u)},r.weekdaysMin=function(u){return c(f(),"weekdaysMin","weekdays",2,u)}}})},62053:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";var g={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(e,r,i){var l=r.prototype,c=l.format;i.en.formats=g,l.format=function(f){f===void 0&&(f="YYYY-MM-DDTHH:mm:ssZ");var s=this.$locale().formats,h=function(u,a){return u.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(x,p,y){var _=y&&y.toUpperCase();return p||a[y]||g[y]||a[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,S,R){return S||R.slice(1)})})}(f,s===void 0?{}:s);return c.call(this,h)}}})},59717:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e,r){g=g||{};var i=e.prototype,l={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function c(s,h,u,a){return i.fromToBase(s,h,u,a)}r.en.relativeTime=l,i.fromToBase=function(s,h,u,a,x){for(var p,y,_,b=u.$locale().relativeTime||l,S=g.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],R=S.length,L=0;L<R;L+=1){var C=S[L];C.d&&(p=a?r(s).diff(u,C.d,!0):u.diff(s,C.d,!0));var D=(g.rounding||Math.round)(Math.abs(p));if(_=p>0,D<=C.r||!C.r){D<=1&&L>0&&(C=S[L-1]);var B=b[C.l];x&&(D=x(""+D)),y=typeof B=="string"?B.replace("%d",D):B(D,h,C.l,_);break}}if(h)return y;var $=_?b.future:b.past;return typeof $=="function"?$(y):$.replace("%s",y)},i.to=function(s,h){return c(s,h,this,!0)},i.from=function(s,h){return c(s,h,this)};var f=function(s){return s.$u?r.utc():r()};i.toNow=function(s){return this.to(f(this),s)},i.fromNow=function(s){return this.from(f(this),s)}}})},23250:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";var g="week",e="year";return function(r,i,l){var c=i.prototype;c.week=function(f){if(f===void 0&&(f=null),f!==null)return this.add(7*(f-this.week()),"day");var s=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=l(this).startOf(e).add(1,e).date(s),u=l(this).endOf(g);if(h.isBefore(u))return 1}var a=l(this).startOf(e).date(s).startOf(g).subtract(1,"millisecond"),x=this.diff(a,g,!0);return x<0?l(this).startOf("week").week():Math.ceil(x)},c.weeks=function(f){return f===void 0&&(f=null),this.week(f)}}})},74959:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e){e.prototype.weekYear=function(){var r=this.month(),i=this.week(),l=this.year();return i===1&&r===11?l+1:r===0&&i>=52?l-1:l}}})},90111:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e){e.prototype.weekday=function(r){var i=this.$locale().weekStart||0,l=this.$W,c=(l<i?l+7:l)-i;return this.$utils().u(r)?c:this.subtract(c,"day").add(r,"day")}}})},89880:function(d){"use strict";function g(s,h,u){return h in s?Object.defineProperty(s,h,{value:u,enumerable:!0,configurable:!0,writable:!0}):s[h]=u,s}function e(s,h){var u=Object.keys(s);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(s);h&&(a=a.filter(function(x){return Object.getOwnPropertyDescriptor(s,x).enumerable})),u.push.apply(u,a)}return u}function r(s){for(var h=1;h<arguments.length;h++){var u=arguments[h]!=null?arguments[h]:{};h%2?e(Object(u),!0).forEach(function(a){g(s,a,u[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(u)):e(Object(u)).forEach(function(a){Object.defineProperty(s,a,Object.getOwnPropertyDescriptor(u,a))})}return s}var i="@@DVA_LOADING/SHOW",l="@@DVA_LOADING/HIDE",c="loading";function f(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=s.namespace||c,u=s.only,a=u===void 0?[]:u,x=s.except,p=x===void 0?[]:x;if(a.length>0&&p.length>0)throw Error("It is ambiguous to configurate `only` and `except` items at the same time.");var y={global:!1,models:{},effects:{}},_=g({},h,function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y,R=arguments.length>1?arguments[1]:void 0,L=R.type,C=R.payload,D=C||{},B=D.namespace,$=D.actionType,U;switch(L){case i:U=r(r({},S),{},{global:!0,models:r(r({},S.models),{},g({},B,!0)),effects:r(r({},S.effects),{},g({},$,!0))});break;case l:{var K=r(r({},S.effects),{},g({},$,!1)),V=r(r({},S.models),{},g({},B,Object.keys(K).some(function(oe){var ae=oe.split("/")[0];return ae!==B?!1:K[oe]}))),G=Object.keys(V).some(function(oe){return V[oe]});U=r(r({},S),{},{global:G,models:V,effects:K});break}default:U=S;break}return U});function b(S,R,L,C){var D=R.put,B=L.namespace;return a.length===0&&p.length===0||a.length>0&&a.indexOf(C)!==-1||p.length>0&&p.indexOf(C)===-1?regeneratorRuntime.mark(function $(){var U=arguments;return regeneratorRuntime.wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,D({type:i,payload:{namespace:B,actionType:C}});case 2:return V.next=4,S.apply(void 0,U);case 4:return V.next=6,D({type:l,payload:{namespace:B,actionType:C}});case 6:case"end":return V.stop()}},$)}):S}return{extraReducers:_,onEffect:b}}d.exports=f},68192:function(d){"use strict";d.exports=function(){}},63474:function(d,g,e){"use strict";d.exports=e(71111)()?Object.assign:e(47597)},71111:function(d){"use strict";d.exports=function(){var g=Object.assign,e;return typeof g!="function"?!1:(e={foo:"raz"},g(e,{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},47597:function(d,g,e){"use strict";var r=e(90721),i=e(58883),l=Math.max;d.exports=function(c,f){var s,h,u=l(arguments.length,2),a;for(c=Object(i(c)),a=function(x){try{c[x]=f[x]}catch(p){s||(s=p)}},h=1;h<u;++h)f=arguments[h],r(f).forEach(a);if(s!==void 0)throw s;return c}},67390:function(d,g,e){"use strict";var r=e(68192)();d.exports=function(i){return i!==r&&i!==null}},90721:function(d,g,e){"use strict";d.exports=e(69075)()?Object.keys:e(34810)},69075:function(d){"use strict";d.exports=function(){try{return Object.keys("primitive"),!0}catch(g){return!1}}},34810:function(d,g,e){"use strict";var r=e(67390),i=Object.keys;d.exports=function(l){return i(r(l)?Object(l):l)}},47095:function(d,g,e){"use strict";var r=e(67390),i=Array.prototype.forEach,l=Object.create,c=function(f,s){var h;for(h in f)s[h]=f[h]};d.exports=function(f){var s=l(null);return i.call(arguments,function(h){r(h)&&c(Object(h),s)}),s}},15895:function(d){"use strict";d.exports=function(g){if(typeof g!="function")throw new TypeError(g+" is not a function");return g}},58883:function(d,g,e){"use strict";var r=e(67390);d.exports=function(i){if(!r(i))throw new TypeError("Cannot use null or undefined");return i}},99363:function(d,g,e){"use strict";d.exports=e(65136)()?String.prototype.contains:e(12444)},65136:function(d){"use strict";var g="razdwatrzy";d.exports=function(){return typeof g.contains!="function"?!1:g.contains("dwa")===!0&&g.contains("foo")===!1}},12444:function(d){"use strict";var g=String.prototype.indexOf;d.exports=function(e){return g.call(this,e,arguments[1])>-1}},3424:function(d,g,e){"use strict";var r=e(35413),i=e(15895),l=Function.prototype.apply,c=Function.prototype.call,f=Object.create,s=Object.defineProperty,h=Object.defineProperties,u=Object.prototype.hasOwnProperty,a={configurable:!0,enumerable:!1,writable:!0},x,p,y,_,b,S,R;x=function(L,C){var D;return i(C),u.call(this,"__ee__")?D=this.__ee__:(D=a.value=f(null),s(this,"__ee__",a),a.value=null),D[L]?typeof D[L]=="object"?D[L].push(C):D[L]=[D[L],C]:D[L]=C,this},p=function(L,C){var D,B;return i(C),B=this,x.call(this,L,D=function(){y.call(B,L,D),l.call(C,this,arguments)}),D.__eeOnceListener__=C,this},y=function(L,C){var D,B,$,U;if(i(C),!u.call(this,"__ee__"))return this;if(D=this.__ee__,!D[L])return this;if(B=D[L],typeof B=="object")for(U=0;$=B[U];++U)($===C||$.__eeOnceListener__===C)&&(B.length===2?D[L]=B[U?0:1]:B.splice(U,1));else(B===C||B.__eeOnceListener__===C)&&delete D[L];return this},_=function(L){var C,D,B,$,U;if(u.call(this,"__ee__")&&($=this.__ee__[L],!!$))if(typeof $=="object"){for(D=arguments.length,U=new Array(D-1),C=1;C<D;++C)U[C-1]=arguments[C];for($=$.slice(),C=0;B=$[C];++C)l.call(B,this,U)}else switch(arguments.length){case 1:c.call($,this);break;case 2:c.call($,this,arguments[1]);break;case 3:c.call($,this,arguments[1],arguments[2]);break;default:for(D=arguments.length,U=new Array(D-1),C=1;C<D;++C)U[C-1]=arguments[C];l.call($,this,U)}},b={on:x,once:p,off:y,emit:_},S={on:r(x),once:r(p),off:r(y),emit:r(_)},R=h({},S),d.exports=g=function(L){return L==null?f(R):h(Object(L),S)},g.methods=b},89381:function(d){d.exports=function(e,r){if(r=typeof r=="number"?r:1/0,!r)return Array.isArray(e)?e.map(function(l){return l}):e;return i(e,1);function i(l,c){return l.reduce(function(f,s){return Array.isArray(s)&&c<r?f.concat(i(s,c+1)):f.concat(s)},[])}}},60288:function(d,g,e){var r;typeof window!="undefined"?r=window:typeof e.g!="undefined"?r=e.g:typeof self!="undefined"?r=self:r={},d.exports=r},85582:function(d,g,e){var r=g;r.utils=e(8631),r.common=e(28766),r.sha=e(26672),r.ripemd=e(20427),r.hmac=e(57969),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},28766:function(d,g,e){"use strict";var r=e(8631),i=e(61339);function l(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}g.BlockHash=l,l.prototype.update=function(f,s){if(f=r.toArray(f,s),this.pending?this.pending=this.pending.concat(f):this.pending=f,this.pendingTotal+=f.length,this.pending.length>=this._delta8){f=this.pending;var h=f.length%this._delta8;this.pending=f.slice(f.length-h,f.length),this.pending.length===0&&(this.pending=null),f=r.join32(f,0,f.length-h,this.endian);for(var u=0;u<f.length;u+=this._delta32)this._update(f,u,u+this._delta32)}return this},l.prototype.digest=function(f){return this.update(this._pad()),i(this.pending===null),this._digest(f)},l.prototype._pad=function(){var f=this.pendingTotal,s=this._delta8,h=s-(f+this.padLength)%s,u=new Array(h+this.padLength);u[0]=128;for(var a=1;a<h;a++)u[a]=0;if(f<<=3,this.endian==="big"){for(var x=8;x<this.padLength;x++)u[a++]=0;u[a++]=0,u[a++]=0,u[a++]=0,u[a++]=0,u[a++]=f>>>24&255,u[a++]=f>>>16&255,u[a++]=f>>>8&255,u[a++]=f&255}else for(u[a++]=f&255,u[a++]=f>>>8&255,u[a++]=f>>>16&255,u[a++]=f>>>24&255,u[a++]=0,u[a++]=0,u[a++]=0,u[a++]=0,x=8;x<this.padLength;x++)u[a++]=0;return u}},57969:function(d,g,e){"use strict";var r=e(8631),i=e(61339);function l(c,f,s){if(!(this instanceof l))return new l(c,f,s);this.Hash=c,this.blockSize=c.blockSize/8,this.outSize=c.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(f,s))}d.exports=l,l.prototype._init=function(f){f.length>this.blockSize&&(f=new this.Hash().update(f).digest()),i(f.length<=this.blockSize);for(var s=f.length;s<this.blockSize;s++)f.push(0);for(s=0;s<f.length;s++)f[s]^=54;for(this.inner=new this.Hash().update(f),s=0;s<f.length;s++)f[s]^=106;this.outer=new this.Hash().update(f)},l.prototype.update=function(f,s){return this.inner.update(f,s),this},l.prototype.digest=function(f){return this.outer.update(this.inner.digest()),this.outer.digest(f)}},20427:function(d,g,e){"use strict";var r=e(8631),i=e(28766),l=r.rotl32,c=r.sum32,f=r.sum32_3,s=r.sum32_4,h=i.BlockHash;function u(){if(!(this instanceof u))return new u;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}r.inherits(u,h),g.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(L,C){for(var D=this.h[0],B=this.h[1],$=this.h[2],U=this.h[3],K=this.h[4],V=D,G=B,oe=$,ae=U,le=K,q=0;q<80;q++){var J=c(l(s(D,a(q,B,$,U),L[y[q]+C],x(q)),b[q]),K);D=K,K=U,U=l($,10),$=B,B=J,J=c(l(s(V,a(79-q,G,oe,ae),L[_[q]+C],p(q)),S[q]),le),V=le,le=ae,ae=l(oe,10),oe=G,G=J}J=f(this.h[1],$,ae),this.h[1]=f(this.h[2],U,le),this.h[2]=f(this.h[3],K,V),this.h[3]=f(this.h[4],D,G),this.h[4]=f(this.h[0],B,oe),this.h[0]=J},u.prototype._digest=function(L){return L==="hex"?r.toHex32(this.h,"little"):r.split32(this.h,"little")};function a(R,L,C,D){return R<=15?L^C^D:R<=31?L&C|~L&D:R<=47?(L|~C)^D:R<=63?L&D|C&~D:L^(C|~D)}function x(R){return R<=15?0:R<=31?1518500249:R<=47?1859775393:R<=63?2400959708:2840853838}function p(R){return R<=15?1352829926:R<=31?1548603684:R<=47?1836072691:R<=63?2053994217:0}var y=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],_=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],b=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],S=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},26672:function(d,g,e){"use strict";g.sha1=e(16114),g.sha224=e(44853),g.sha256=e(6586),g.sha384=e(66474),g.sha512=e(50663)},16114:function(d,g,e){"use strict";var r=e(8631),i=e(28766),l=e(81692),c=r.rotl32,f=r.sum32,s=r.sum32_5,h=l.ft_1,u=i.BlockHash,a=[1518500249,1859775393,2400959708,3395469782];function x(){if(!(this instanceof x))return new x;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(x,u),d.exports=x,x.blockSize=512,x.outSize=160,x.hmacStrength=80,x.padLength=64,x.prototype._update=function(y,_){for(var b=this.W,S=0;S<16;S++)b[S]=y[_+S];for(;S<b.length;S++)b[S]=c(b[S-3]^b[S-8]^b[S-14]^b[S-16],1);var R=this.h[0],L=this.h[1],C=this.h[2],D=this.h[3],B=this.h[4];for(S=0;S<b.length;S++){var $=~~(S/20),U=s(c(R,5),h($,L,C,D),B,b[S],a[$]);B=D,D=C,C=c(L,30),L=R,R=U}this.h[0]=f(this.h[0],R),this.h[1]=f(this.h[1],L),this.h[2]=f(this.h[2],C),this.h[3]=f(this.h[3],D),this.h[4]=f(this.h[4],B)},x.prototype._digest=function(y){return y==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},44853:function(d,g,e){"use strict";var r=e(8631),i=e(6586);function l(){if(!(this instanceof l))return new l;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(l,i),d.exports=l,l.blockSize=512,l.outSize=224,l.hmacStrength=192,l.padLength=64,l.prototype._digest=function(f){return f==="hex"?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},6586:function(d,g,e){"use strict";var r=e(8631),i=e(28766),l=e(81692),c=e(61339),f=r.sum32,s=r.sum32_4,h=r.sum32_5,u=l.ch32,a=l.maj32,x=l.s0_256,p=l.s1_256,y=l.g0_256,_=l.g1_256,b=i.BlockHash,S=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function R(){if(!(this instanceof R))return new R;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=S,this.W=new Array(64)}r.inherits(R,b),d.exports=R,R.blockSize=512,R.outSize=256,R.hmacStrength=192,R.padLength=64,R.prototype._update=function(C,D){for(var B=this.W,$=0;$<16;$++)B[$]=C[D+$];for(;$<B.length;$++)B[$]=s(_(B[$-2]),B[$-7],y(B[$-15]),B[$-16]);var U=this.h[0],K=this.h[1],V=this.h[2],G=this.h[3],oe=this.h[4],ae=this.h[5],le=this.h[6],q=this.h[7];for(c(this.k.length===B.length),$=0;$<B.length;$++){var J=h(q,p(oe),u(oe,ae,le),this.k[$],B[$]),Y=f(x(U),a(U,K,V));q=le,le=ae,ae=oe,oe=f(G,J),G=V,V=K,K=U,U=f(J,Y)}this.h[0]=f(this.h[0],U),this.h[1]=f(this.h[1],K),this.h[2]=f(this.h[2],V),this.h[3]=f(this.h[3],G),this.h[4]=f(this.h[4],oe),this.h[5]=f(this.h[5],ae),this.h[6]=f(this.h[6],le),this.h[7]=f(this.h[7],q)},R.prototype._digest=function(C){return C==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},66474:function(d,g,e){"use strict";var r=e(8631),i=e(50663);function l(){if(!(this instanceof l))return new l;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(l,i),d.exports=l,l.blockSize=1024,l.outSize=384,l.hmacStrength=192,l.padLength=128,l.prototype._digest=function(f){return f==="hex"?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},50663:function(d,g,e){"use strict";var r=e(8631),i=e(28766),l=e(61339),c=r.rotr64_hi,f=r.rotr64_lo,s=r.shr64_hi,h=r.shr64_lo,u=r.sum64,a=r.sum64_hi,x=r.sum64_lo,p=r.sum64_4_hi,y=r.sum64_4_lo,_=r.sum64_5_hi,b=r.sum64_5_lo,S=i.BlockHash,R=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function L(){if(!(this instanceof L))return new L;S.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=R,this.W=new Array(160)}r.inherits(L,S),d.exports=L,L.blockSize=1024,L.outSize=512,L.hmacStrength=192,L.padLength=128,L.prototype._prepareBlock=function(Y,ue){for(var ne=this.W,ee=0;ee<32;ee++)ne[ee]=Y[ue+ee];for(;ee<ne.length;ee+=2){var ie=le(ne[ee-4],ne[ee-3]),F=q(ne[ee-4],ne[ee-3]),M=ne[ee-14],Q=ne[ee-13],de=oe(ne[ee-30],ne[ee-29]),we=ae(ne[ee-30],ne[ee-29]),Ce=ne[ee-32],je=ne[ee-31];ne[ee]=p(ie,F,M,Q,de,we,Ce,je),ne[ee+1]=y(ie,F,M,Q,de,we,Ce,je)}},L.prototype._update=function(Y,ue){this._prepareBlock(Y,ue);var ne=this.W,ee=this.h[0],ie=this.h[1],F=this.h[2],M=this.h[3],Q=this.h[4],de=this.h[5],we=this.h[6],Ce=this.h[7],je=this.h[8],Fe=this.h[9],Ft=this.h[10],_t=this.h[11],Pt=this.h[12],qt=this.h[13],er=this.h[14],Jt=this.h[15];l(this.k.length===ne.length);for(var Xe=0;Xe<ne.length;Xe+=2){var It=er,zt=Jt,st=V(je,Fe),bt=G(je,Fe),ht=C(je,Fe,Ft,_t,Pt,qt),Je=D(je,Fe,Ft,_t,Pt,qt),Ue=this.k[Xe],ge=this.k[Xe+1],Ae=ne[Xe],Me=ne[Xe+1],$e=_(It,zt,st,bt,ht,Je,Ue,ge,Ae,Me),He=b(It,zt,st,bt,ht,Je,Ue,ge,Ae,Me);It=U(ee,ie),zt=K(ee,ie),st=B(ee,ie,F,M,Q,de),bt=$(ee,ie,F,M,Q,de);var nt=a(It,zt,st,bt),ct=x(It,zt,st,bt);er=Pt,Jt=qt,Pt=Ft,qt=_t,Ft=je,_t=Fe,je=a(we,Ce,$e,He),Fe=x(Ce,Ce,$e,He),we=Q,Ce=de,Q=F,de=M,F=ee,M=ie,ee=a($e,He,nt,ct),ie=x($e,He,nt,ct)}u(this.h,0,ee,ie),u(this.h,2,F,M),u(this.h,4,Q,de),u(this.h,6,we,Ce),u(this.h,8,je,Fe),u(this.h,10,Ft,_t),u(this.h,12,Pt,qt),u(this.h,14,er,Jt)},L.prototype._digest=function(Y){return Y==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")};function C(J,Y,ue,ne,ee){var ie=J&ue^~J&ee;return ie<0&&(ie+=4294967296),ie}function D(J,Y,ue,ne,ee,ie){var F=Y&ne^~Y&ie;return F<0&&(F+=4294967296),F}function B(J,Y,ue,ne,ee){var ie=J&ue^J&ee^ue&ee;return ie<0&&(ie+=4294967296),ie}function $(J,Y,ue,ne,ee,ie){var F=Y&ne^Y&ie^ne&ie;return F<0&&(F+=4294967296),F}function U(J,Y){var ue=c(J,Y,28),ne=c(Y,J,2),ee=c(Y,J,7),ie=ue^ne^ee;return ie<0&&(ie+=4294967296),ie}function K(J,Y){var ue=f(J,Y,28),ne=f(Y,J,2),ee=f(Y,J,7),ie=ue^ne^ee;return ie<0&&(ie+=4294967296),ie}function V(J,Y){var ue=c(J,Y,14),ne=c(J,Y,18),ee=c(Y,J,9),ie=ue^ne^ee;return ie<0&&(ie+=4294967296),ie}function G(J,Y){var ue=f(J,Y,14),ne=f(J,Y,18),ee=f(Y,J,9),ie=ue^ne^ee;return ie<0&&(ie+=4294967296),ie}function oe(J,Y){var ue=c(J,Y,1),ne=c(J,Y,8),ee=s(J,Y,7),ie=ue^ne^ee;return ie<0&&(ie+=4294967296),ie}function ae(J,Y){var ue=f(J,Y,1),ne=f(J,Y,8),ee=h(J,Y,7),ie=ue^ne^ee;return ie<0&&(ie+=4294967296),ie}function le(J,Y){var ue=c(J,Y,19),ne=c(Y,J,29),ee=s(J,Y,6),ie=ue^ne^ee;return ie<0&&(ie+=4294967296),ie}function q(J,Y){var ue=f(J,Y,19),ne=f(Y,J,29),ee=h(J,Y,6),ie=ue^ne^ee;return ie<0&&(ie+=4294967296),ie}},81692:function(d,g,e){"use strict";var r=e(8631),i=r.rotr32;function l(p,y,_,b){if(p===0)return c(y,_,b);if(p===1||p===3)return s(y,_,b);if(p===2)return f(y,_,b)}g.ft_1=l;function c(p,y,_){return p&y^~p&_}g.ch32=c;function f(p,y,_){return p&y^p&_^y&_}g.maj32=f;function s(p,y,_){return p^y^_}g.p32=s;function h(p){return i(p,2)^i(p,13)^i(p,22)}g.s0_256=h;function u(p){return i(p,6)^i(p,11)^i(p,25)}g.s1_256=u;function a(p){return i(p,7)^i(p,18)^p>>>3}g.g0_256=a;function x(p){return i(p,17)^i(p,19)^p>>>10}g.g1_256=x},8631:function(d,g,e){"use strict";var r=e(61339),i=e(4603);g.inherits=i;function l(q,J){return(q.charCodeAt(J)&64512)!==55296||J<0||J+1>=q.length?!1:(q.charCodeAt(J+1)&64512)===56320}function c(q,J){if(Array.isArray(q))return q.slice();if(!q)return[];var Y=[];if(typeof q=="string")if(J){if(J==="hex")for(q=q.replace(/[^a-z0-9]+/ig,""),q.length%2!==0&&(q="0"+q),ne=0;ne<q.length;ne+=2)Y.push(parseInt(q[ne]+q[ne+1],16))}else for(var ue=0,ne=0;ne<q.length;ne++){var ee=q.charCodeAt(ne);ee<128?Y[ue++]=ee:ee<2048?(Y[ue++]=ee>>6|192,Y[ue++]=ee&63|128):l(q,ne)?(ee=65536+((ee&1023)<<10)+(q.charCodeAt(++ne)&1023),Y[ue++]=ee>>18|240,Y[ue++]=ee>>12&63|128,Y[ue++]=ee>>6&63|128,Y[ue++]=ee&63|128):(Y[ue++]=ee>>12|224,Y[ue++]=ee>>6&63|128,Y[ue++]=ee&63|128)}else for(ne=0;ne<q.length;ne++)Y[ne]=q[ne]|0;return Y}g.toArray=c;function f(q){for(var J="",Y=0;Y<q.length;Y++)J+=u(q[Y].toString(16));return J}g.toHex=f;function s(q){var J=q>>>24|q>>>8&65280|q<<8&16711680|(q&255)<<24;return J>>>0}g.htonl=s;function h(q,J){for(var Y="",ue=0;ue<q.length;ue++){var ne=q[ue];J==="little"&&(ne=s(ne)),Y+=a(ne.toString(16))}return Y}g.toHex32=h;function u(q){return q.length===1?"0"+q:q}g.zero2=u;function a(q){return q.length===7?"0"+q:q.length===6?"00"+q:q.length===5?"000"+q:q.length===4?"0000"+q:q.length===3?"00000"+q:q.length===2?"000000"+q:q.length===1?"0000000"+q:q}g.zero8=a;function x(q,J,Y,ue){var ne=Y-J;r(ne%4===0);for(var ee=new Array(ne/4),ie=0,F=J;ie<ee.length;ie++,F+=4){var M;ue==="big"?M=q[F]<<24|q[F+1]<<16|q[F+2]<<8|q[F+3]:M=q[F+3]<<24|q[F+2]<<16|q[F+1]<<8|q[F],ee[ie]=M>>>0}return ee}g.join32=x;function p(q,J){for(var Y=new Array(q.length*4),ue=0,ne=0;ue<q.length;ue++,ne+=4){var ee=q[ue];J==="big"?(Y[ne]=ee>>>24,Y[ne+1]=ee>>>16&255,Y[ne+2]=ee>>>8&255,Y[ne+3]=ee&255):(Y[ne+3]=ee>>>24,Y[ne+2]=ee>>>16&255,Y[ne+1]=ee>>>8&255,Y[ne]=ee&255)}return Y}g.split32=p;function y(q,J){return q>>>J|q<<32-J}g.rotr32=y;function _(q,J){return q<<J|q>>>32-J}g.rotl32=_;function b(q,J){return q+J>>>0}g.sum32=b;function S(q,J,Y){return q+J+Y>>>0}g.sum32_3=S;function R(q,J,Y,ue){return q+J+Y+ue>>>0}g.sum32_4=R;function L(q,J,Y,ue,ne){return q+J+Y+ue+ne>>>0}g.sum32_5=L;function C(q,J,Y,ue){var ne=q[J],ee=q[J+1],ie=ue+ee>>>0,F=(ie<ue?1:0)+Y+ne;q[J]=F>>>0,q[J+1]=ie}g.sum64=C;function D(q,J,Y,ue){var ne=J+ue>>>0,ee=(ne<J?1:0)+q+Y;return ee>>>0}g.sum64_hi=D;function B(q,J,Y,ue){var ne=J+ue;return ne>>>0}g.sum64_lo=B;function $(q,J,Y,ue,ne,ee,ie,F){var M=0,Q=J;Q=Q+ue>>>0,M+=Q<J?1:0,Q=Q+ee>>>0,M+=Q<ee?1:0,Q=Q+F>>>0,M+=Q<F?1:0;var de=q+Y+ne+ie+M;return de>>>0}g.sum64_4_hi=$;function U(q,J,Y,ue,ne,ee,ie,F){var M=J+ue+ee+F;return M>>>0}g.sum64_4_lo=U;function K(q,J,Y,ue,ne,ee,ie,F,M,Q){var de=0,we=J;we=we+ue>>>0,de+=we<J?1:0,we=we+ee>>>0,de+=we<ee?1:0,we=we+F>>>0,de+=we<F?1:0,we=we+Q>>>0,de+=we<Q?1:0;var Ce=q+Y+ne+ie+M+de;return Ce>>>0}g.sum64_5_hi=K;function V(q,J,Y,ue,ne,ee,ie,F,M,Q){var de=J+ue+ee+F+Q;return de>>>0}g.sum64_5_lo=V;function G(q,J,Y){var ue=J<<32-Y|q>>>Y;return ue>>>0}g.rotr64_hi=G;function oe(q,J,Y){var ue=q<<32-Y|J>>>Y;return ue>>>0}g.rotr64_lo=oe;function ae(q,J,Y){return q>>>Y}g.shr64_hi=ae;function le(q,J,Y){var ue=q<<32-Y|J>>>Y;return ue>>>0}g.shr64_lo=le},19340:function(d,g,e){"use strict";e.d(g,{Ep:function(){return S},PP:function(){return x},aU:function(){return i},cP:function(){return R},lX:function(){return u},q_:function(){return a}});var r=e(72308),i;(function(L){L.Pop="POP",L.Push="PUSH",L.Replace="REPLACE"})(i||(i={}));var l=function(L){return L};function c(L,C){if(!L){typeof console!="undefined"&&console.warn(C);try{throw new Error(C)}catch(D){}}}var f="beforeunload",s="hashchange",h="popstate";function u(L){L===void 0&&(L={});var C=L,D=C.window,B=D===void 0?document.defaultView:D,$=B.history;function U(){var we=B.location,Ce=we.pathname,je=we.search,Fe=we.hash,Ft=$.state||{};return[Ft.idx,l({pathname:Ce,search:je,hash:Fe,state:Ft.usr||null,key:Ft.key||"default"})]}var K=null;function V(){if(K)J.call(K),K=null;else{var we=i.Pop,Ce=U(),je=Ce[0],Fe=Ce[1];if(J.length){if(je!=null){var Ft=ae-je;Ft&&(K={action:we,location:Fe,retry:function(){Q(Ft*-1)}},Q(Ft))}}else ie(we)}}B.addEventListener(h,V);var G=i.Pop,oe=U(),ae=oe[0],le=oe[1],q=_(),J=_();ae==null&&(ae=0,$.replaceState((0,r.Z)({},$.state,{idx:ae}),""));function Y(we){return typeof we=="string"?we:S(we)}function ue(we,Ce){return Ce===void 0&&(Ce=null),l((0,r.Z)({pathname:le.pathname,hash:"",search:""},typeof we=="string"?R(we):we,{state:Ce,key:b()}))}function ne(we,Ce){return[{usr:we.state,key:we.key,idx:Ce},Y(we)]}function ee(we,Ce,je){return!J.length||(J.call({action:we,location:Ce,retry:je}),!1)}function ie(we){G=we;var Ce=U();ae=Ce[0],le=Ce[1],q.call({action:G,location:le})}function F(we,Ce){var je=i.Push,Fe=ue(we,Ce);function Ft(){F(we,Ce)}if(ee(je,Fe,Ft)){var _t=ne(Fe,ae+1),Pt=_t[0],qt=_t[1];try{$.pushState(Pt,"",qt)}catch(er){B.location.assign(qt)}ie(je)}}function M(we,Ce){var je=i.Replace,Fe=ue(we,Ce);function Ft(){M(we,Ce)}if(ee(je,Fe,Ft)){var _t=ne(Fe,ae),Pt=_t[0],qt=_t[1];$.replaceState(Pt,"",qt),ie(je)}}function Q(we){$.go(we)}var de={get action(){return G},get location(){return le},createHref:Y,push:F,replace:M,go:Q,back:function(){Q(-1)},forward:function(){Q(1)},listen:function(Ce){return q.push(Ce)},block:function(Ce){var je=J.push(Ce);return J.length===1&&B.addEventListener(f,y),function(){je(),J.length||B.removeEventListener(f,y)}}};return de}function a(L){L===void 0&&(L={});var C=L,D=C.window,B=D===void 0?document.defaultView:D,$=B.history;function U(){var Ce=R(B.location.hash.substr(1)),je=Ce.pathname,Fe=je===void 0?"/":je,Ft=Ce.search,_t=Ft===void 0?"":Ft,Pt=Ce.hash,qt=Pt===void 0?"":Pt,er=$.state||{};return[er.idx,l({pathname:Fe,search:_t,hash:qt,state:er.usr||null,key:er.key||"default"})]}var K=null;function V(){if(K)J.call(K),K=null;else{var Ce=i.Pop,je=U(),Fe=je[0],Ft=je[1];if(J.length){if(Fe!=null){var _t=ae-Fe;_t&&(K={action:Ce,location:Ft,retry:function(){de(_t*-1)}},de(_t))}}else F(Ce)}}B.addEventListener(h,V),B.addEventListener(s,function(){var Ce=U(),je=Ce[1];S(je)!==S(le)&&V()});var G=i.Pop,oe=U(),ae=oe[0],le=oe[1],q=_(),J=_();ae==null&&(ae=0,$.replaceState((0,r.Z)({},$.state,{idx:ae}),""));function Y(){var Ce=document.querySelector("base"),je="";if(Ce&&Ce.getAttribute("href")){var Fe=B.location.href,Ft=Fe.indexOf("#");je=Ft===-1?Fe:Fe.slice(0,Ft)}return je}function ue(Ce){return Y()+"#"+(typeof Ce=="string"?Ce:S(Ce))}function ne(Ce,je){return je===void 0&&(je=null),l((0,r.Z)({pathname:le.pathname,hash:"",search:""},typeof Ce=="string"?R(Ce):Ce,{state:je,key:b()}))}function ee(Ce,je){return[{usr:Ce.state,key:Ce.key,idx:je},ue(Ce)]}function ie(Ce,je,Fe){return!J.length||(J.call({action:Ce,location:je,retry:Fe}),!1)}function F(Ce){G=Ce;var je=U();ae=je[0],le=je[1],q.call({action:G,location:le})}function M(Ce,je){var Fe=i.Push,Ft=ne(Ce,je);function _t(){M(Ce,je)}if(ie(Fe,Ft,_t)){var Pt=ee(Ft,ae+1),qt=Pt[0],er=Pt[1];try{$.pushState(qt,"",er)}catch(Jt){B.location.assign(er)}F(Fe)}}function Q(Ce,je){var Fe=i.Replace,Ft=ne(Ce,je);function _t(){Q(Ce,je)}if(ie(Fe,Ft,_t)){var Pt=ee(Ft,ae),qt=Pt[0],er=Pt[1];$.replaceState(qt,"",er),F(Fe)}}function de(Ce){$.go(Ce)}var we={get action(){return G},get location(){return le},createHref:ue,push:M,replace:Q,go:de,back:function(){de(-1)},forward:function(){de(1)},listen:function(je){return q.push(je)},block:function(je){var Fe=J.push(je);return J.length===1&&B.addEventListener(f,y),function(){Fe(),J.length||B.removeEventListener(f,y)}}};return we}function x(L){L===void 0&&(L={});var C=L,D=C.initialEntries,B=D===void 0?["/"]:D,$=C.initialIndex,U=B.map(function(F){var M=l((0,r.Z)({pathname:"/",search:"",hash:"",state:null,key:b()},typeof F=="string"?R(F):F));return M}),K=p($==null?U.length-1:$,0,U.length-1),V=i.Pop,G=U[K],oe=_(),ae=_();function le(F){return typeof F=="string"?F:S(F)}function q(F,M){return M===void 0&&(M=null),l((0,r.Z)({pathname:G.pathname,search:"",hash:""},typeof F=="string"?R(F):F,{state:M,key:b()}))}function J(F,M,Q){return!ae.length||(ae.call({action:F,location:M,retry:Q}),!1)}function Y(F,M){V=F,G=M,oe.call({action:V,location:G})}function ue(F,M){var Q=i.Push,de=q(F,M);function we(){ue(F,M)}J(Q,de,we)&&(K+=1,U.splice(K,U.length,de),Y(Q,de))}function ne(F,M){var Q=i.Replace,de=q(F,M);function we(){ne(F,M)}J(Q,de,we)&&(U[K]=de,Y(Q,de))}function ee(F){var M=p(K+F,0,U.length-1),Q=i.Pop,de=U[M];function we(){ee(F)}J(Q,de,we)&&(K=M,Y(Q,de))}var ie={get index(){return K},get action(){return V},get location(){return G},createHref:le,push:ue,replace:ne,go:ee,back:function(){ee(-1)},forward:function(){ee(1)},listen:function(M){return oe.push(M)},block:function(M){return ae.push(M)}};return ie}function p(L,C,D){return Math.min(Math.max(L,C),D)}function y(L){L.preventDefault(),L.returnValue=""}function _(){var L=[];return{get length(){return L.length},push:function(D){return L.push(D),function(){L=L.filter(function(B){return B!==D})}},call:function(D){L.forEach(function(B){return B&&B(D)})}}}function b(){return Math.random().toString(36).substr(2,8)}function S(L){var C=L.pathname,D=C===void 0?"/":C,B=L.search,$=B===void 0?"":B,U=L.hash,K=U===void 0?"":U;return $&&$!=="?"&&(D+=$.charAt(0)==="?"?$:"?"+$),K&&K!=="#"&&(D+=K.charAt(0)==="#"?K:"#"+K),D}function R(L){var C={};if(L){var D=L.indexOf("#");D>=0&&(C.hash=L.substr(D),L=L.substr(0,D));var B=L.indexOf("?");B>=0&&(C.search=L.substr(B),L=L.substr(0,B)),L&&(C.pathname=L)}return C}},94266:function(d,g,e){"use strict";var r=e(99234),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},f={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=c,s[r.Memo]=f;function h(S){return r.isMemo(S)?f:s[S.$$typeof]||i}var u=Object.defineProperty,a=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,_=Object.prototype;function b(S,R,L){if(typeof R!="string"){if(_){var C=y(R);C&&C!==_&&b(S,C,L)}var D=a(R);x&&(D=D.concat(x(R)));for(var B=h(S),$=h(R),U=0;U<D.length;++U){var K=D[U];if(!l[K]&&!(L&&L[K])&&!($&&$[K])&&!(B&&B[K])){var V=p(R,K);try{u(S,K,V)}catch(G){}}}}return S}d.exports=b},4603:function(d){typeof Object.create=="function"?d.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:d.exports=function(e,r){if(r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e}}},44520:function(d){"use strict";var g=function(e,r,i,l,c,f,s,h){if(!e){var u;if(r===void 0)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=[i,l,c,f,s,h],x=0;u=new Error(r.replace(/%s/g,function(){return a[x++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};d.exports=g},78034:function(d){d.exports=function(r){return r!=null&&(g(r)||e(r)||!!r._isBuffer)};function g(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function e(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&g(r.slice(0,0))}},78639:function(d,g,e){"use strict";var r=e(77497);function i(l){return r(l)===!0&&Object.prototype.toString.call(l)==="[object Object]"}d.exports=function(c){var f,s;return!(i(c)===!1||(f=c.constructor,typeof f!="function")||(s=f.prototype,i(s)===!1)||s.hasOwnProperty("isPrototypeOf")===!1)}},77497:function(d){"use strict";d.exports=function(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}},53184:function(d,g,e){"use strict";var r,i;function l(c,f,s){var h=function(u,a){return c.js_beautify(u,a)};return h.js=c.js_beautify,h.css=f.css_beautify,h.html=s.html_beautify,h.js_beautify=c.js_beautify,h.css_beautify=f.css_beautify,h.html_beautify=s.html_beautify,h}r=[e(58553),e(87804),e(40998)],i=function(c,f,s){return l(c,f,s)}.apply(g,r),i!==void 0&&(d.exports=i)},87804:function(d,g){var e,r;(function(){var i;(function(){"use strict";var c=[,,function(u){function a(y){this.__parent=y,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var y=new a(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},a.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},a.prototype.has_match=function(y){for(var _=this.__items.length-1;_>=0;_--)if(this.__items[_].match(y))return!0;return!1},a.prototype.set_indent=function(y,_){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=_||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var y=this.__parent.current_line;return y.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),y.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),y.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,y.__items[0]===" "&&(y.__items.splice(0,1),y.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(y){this.__items.push(y);var _=y.lastIndexOf(`
`);_!==-1?this.__character_count=y.length-_:this.__character_count+=y.length},a.prototype.pop=function(){var y=null;return this.is_empty()||(y=this.__items.pop(),this.__character_count-=y.length),y},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var y="";return this.is_empty()?this.__parent.indent_empty_lines&&(y=this.__parent.get_indent_string(this.__indent_count)):(y=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),y+=this.__items.join("")),y};function x(y,_){this.__cache=[""],this.__indent_size=y.indent_size,this.__indent_string=y.indent_char,y.indent_with_tabs||(this.__indent_string=new Array(y.indent_size+1).join(y.indent_char)),_=_||"",y.indent_level>0&&(_=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=_,this.__base_string_length=_.length}x.prototype.get_indent_size=function(y,_){var b=this.__base_string_length;return _=_||0,y<0&&(b=0),b+=y*this.__indent_size,b+=_,b},x.prototype.get_indent_string=function(y,_){var b=this.__base_string;return _=_||0,y<0&&(y=0,b=""),_+=y*this.__indent_size,this.__ensure_cache(_),b+=this.__cache[_],b},x.prototype.__ensure_cache=function(y){for(;y>=this.__cache.length;)this.__add_column()},x.prototype.__add_column=function(){var y=this.__cache.length,_=0,b="";this.__indent_size&&y>=this.__indent_size&&(_=Math.floor(y/this.__indent_size),y-=_*this.__indent_size,b=new Array(_+1).join(this.__indent_string)),y&&(b+=new Array(y+1).join(" ")),this.__cache.push(b)};function p(y,_){this.__indent_cache=new x(y,_),this.raw=!1,this._end_with_newline=y.end_with_newline,this.indent_size=y.indent_size,this.wrap_line_length=y.wrap_line_length,this.indent_empty_lines=y.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}p.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},p.prototype.get_line_number=function(){return this.__lines.length},p.prototype.get_indent_string=function(y,_){return this.__indent_cache.get_indent_string(y,_)},p.prototype.get_indent_size=function(y,_){return this.__indent_cache.get_indent_size(y,_)},p.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},p.prototype.add_new_line=function(y){return this.is_empty()||!y&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},p.prototype.get_code=function(y){this.trim(!0);var _=this.current_line.pop();_&&(_[_.length-1]===`
`&&(_=_.replace(/\n+$/g,"")),this.current_line.push(_)),this._end_with_newline&&this.__add_outputline();var b=this.__lines.join(`
`);return y!==`
`&&(b=b.replace(/[\n]/g,y)),b},p.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},p.prototype.set_indent=function(y,_){return y=y||0,_=_||0,this.next_line.set_indent(y,_),this.__lines.length>1?(this.current_line.set_indent(y,_),!0):(this.current_line.set_indent(),!1)},p.prototype.add_raw_token=function(y){for(var _=0;_<y.newlines;_++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(y.whitespace_before),this.current_line.push(y.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},p.prototype.add_token=function(y){this.__add_space_before_token(),this.current_line.push(y),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},p.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},p.prototype.remove_indent=function(y){for(var _=this.__lines.length;y<_;)this.__lines[y]._remove_indent(),y++;this.current_line._remove_wrap_indent()},p.prototype.trim=function(y){for(y=y===void 0?!1:y,this.current_line.trim();y&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},p.prototype.just_added_newline=function(){return this.current_line.is_empty()},p.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},p.prototype.ensure_empty_line_above=function(y,_){for(var b=this.__lines.length-2;b>=0;){var S=this.__lines[b];if(S.is_empty())break;if(S.item(0).indexOf(y)!==0&&S.item(-1)!==_){this.__lines.splice(b+1,0,new a(this)),this.previous_line=this.__lines[this.__lines.length-2];break}b--}},u.exports.Output=p},,,,function(u){function a(y,_){this.raw_options=x(y,_),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}a.prototype._get_array=function(y,_){var b=this.raw_options[y],S=_||[];return typeof b=="object"?b!==null&&typeof b.concat=="function"&&(S=b.concat()):typeof b=="string"&&(S=b.split(/[^a-zA-Z0-9_\/\-]+/)),S},a.prototype._get_boolean=function(y,_){var b=this.raw_options[y],S=b===void 0?!!_:!!b;return S},a.prototype._get_characters=function(y,_){var b=this.raw_options[y],S=_||"";return typeof b=="string"&&(S=b.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),S},a.prototype._get_number=function(y,_){var b=this.raw_options[y];_=parseInt(_,10),isNaN(_)&&(_=0);var S=parseInt(b,10);return isNaN(S)&&(S=_),S},a.prototype._get_selection=function(y,_,b){var S=this._get_selection_list(y,_,b);if(S.length!==1)throw new Error("Invalid Option Value: The option '"+y+`' can only be one of the following values:
`+_+`
You passed in: '`+this.raw_options[y]+"'");return S[0]},a.prototype._get_selection_list=function(y,_,b){if(!_||_.length===0)throw new Error("Selection list cannot be empty.");if(b=b||[_[0]],!this._is_valid_selection(b,_))throw new Error("Invalid Default Value!");var S=this._get_array(y,b);if(!this._is_valid_selection(S,_))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
`+_+`
You passed in: '`+this.raw_options[y]+"'");return S},a.prototype._is_valid_selection=function(y,_){return y.length&&_.length&&!y.some(function(b){return _.indexOf(b)===-1})};function x(y,_){var b={};y=p(y);var S;for(S in y)S!==_&&(b[S]=y[S]);if(_&&y[_])for(S in y[_])b[S]=y[_][S];return b}function p(y){var _={},b;for(b in y){var S=b.replace(/-/g,"_");_[S]=y[b]}return _}u.exports.Options=a,u.exports.normalizeOpts=p,u.exports.mergeOpts=x},,function(u){var a=RegExp.prototype.hasOwnProperty("sticky");function x(p){this.__input=p||"",this.__input_length=this.__input.length,this.__position=0}x.prototype.restart=function(){this.__position=0},x.prototype.back=function(){this.__position>0&&(this.__position-=1)},x.prototype.hasNext=function(){return this.__position<this.__input_length},x.prototype.next=function(){var p=null;return this.hasNext()&&(p=this.__input.charAt(this.__position),this.__position+=1),p},x.prototype.peek=function(p){var y=null;return p=p||0,p+=this.__position,p>=0&&p<this.__input_length&&(y=this.__input.charAt(p)),y},x.prototype.__match=function(p,y){p.lastIndex=y;var _=p.exec(this.__input);return _&&!(a&&p.sticky)&&_.index!==y&&(_=null),_},x.prototype.test=function(p,y){return y=y||0,y+=this.__position,y>=0&&y<this.__input_length?!!this.__match(p,y):!1},x.prototype.testChar=function(p,y){var _=this.peek(y);return p.lastIndex=0,_!==null&&p.test(_)},x.prototype.match=function(p){var y=this.__match(p,this.__position);return y?this.__position+=y[0].length:y=null,y},x.prototype.read=function(p,y,_){var b="",S;return p&&(S=this.match(p),S&&(b+=S[0])),y&&(S||!p)&&(b+=this.readUntil(y,_)),b},x.prototype.readUntil=function(p,y){var _="",b=this.__position;p.lastIndex=this.__position;var S=p.exec(this.__input);return S?(b=S.index,y&&(b+=S[0].length)):b=this.__input_length,_=this.__input.substring(this.__position,b),this.__position=b,_},x.prototype.readUntilAfter=function(p){return this.readUntil(p,!0)},x.prototype.get_regexp=function(p,y){var _=null,b="g";return y&&a&&(b="y"),typeof p=="string"&&p!==""?_=new RegExp(p,b):p&&(_=new RegExp(p.source,b)),_},x.prototype.get_literal_regexp=function(p){return RegExp(p.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},x.prototype.peekUntilAfter=function(p){var y=this.__position,_=this.readUntilAfter(p);return this.__position=y,_},x.prototype.lookBack=function(p){var y=this.__position-1;return y>=p.length&&this.__input.substring(y-p.length,y).toLowerCase()===p},u.exports.InputScanner=x},,,,,function(u){function a(x,p){x=typeof x=="string"?x:x.source,p=typeof p=="string"?p:p.source,this.__directives_block_pattern=new RegExp(x+/ beautify( \w+[:]\w+)+ /.source+p,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(x+/\sbeautify\signore:end\s/.source+p,"g")}a.prototype.get_directives=function(x){if(!x.match(this.__directives_block_pattern))return null;var p={};this.__directive_pattern.lastIndex=0;for(var y=this.__directive_pattern.exec(x);y;)p[y[1]]=y[2],y=this.__directive_pattern.exec(x);return p},a.prototype.readIgnored=function(x){return x.readUntilAfter(this.__directives_end_ignore_pattern)},u.exports.Directives=a},,function(u,a,x){var p=x(16).Beautifier,y=x(17).Options;function _(b,S){var R=new p(b,S);return R.beautify()}u.exports=_,u.exports.defaultOptions=function(){return new y}},function(u,a,x){var p=x(17).Options,y=x(2).Output,_=x(8).InputScanner,b=x(13).Directives,S=new b(/\/\*/,/\*\//),R=/\r\n|[\r\n]/,L=/\r\n|[\r\n]/g,C=/\s/,D=/(?:\s|\n)+/g,B=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,$=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function U(K,V){this._source_text=K||"",this._options=new p(V),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}U.prototype.eatString=function(K){var V="";for(this._ch=this._input.next();this._ch;){if(V+=this._ch,this._ch==="\\")V+=this._input.next();else if(K.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return V},U.prototype.eatWhitespace=function(K){for(var V=C.test(this._input.peek()),G=0;C.test(this._input.peek());)this._ch=this._input.next(),K&&this._ch===`
`&&(G===0||G<this._options.max_preserve_newlines)&&(G++,this._output.add_new_line(!0));return V},U.prototype.foundNestedPseudoClass=function(){for(var K=0,V=1,G=this._input.peek(V);G;){if(G==="{")return!0;if(G==="(")K+=1;else if(G===")"){if(K===0)return!1;K-=1}else if(G===";"||G==="}")return!1;V++,G=this._input.peek(V)}return!1},U.prototype.print_string=function(K){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(K)},U.prototype.preserveSingleSpace=function(K){K&&(this._output.space_before_token=!0)},U.prototype.indent=function(){this._indentLevel++},U.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},U.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var K=this._source_text,V=this._options.eol;V==="auto"&&(V=`
`,K&&R.test(K||"")&&(V=K.match(R)[0])),K=K.replace(L,`
`);var G=K.match(/^[\t ]*/)[0];this._output=new y(this._options,G),this._input=new _(K),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var oe=0,ae=!1,le=!1,q=!1,J=!1,Y=!1,ue=this._ch,ne=!1,ee,ie,F;ee=this._input.read(D),ie=ee!=="",F=ue,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),ue=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var M=this._input.read(B),Q=S.get_directives(M);Q&&Q.ignore==="start"&&(M+=S.readIgnored(this._input)),this.print_string(M),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read($)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(ie),this.print_string(this._ch);var de=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);de.match(/[ :]$/)&&(de=this.eatString(": ").replace(/\s+$/,""),this.print_string(de),this._output.space_before_token=!0),oe===0&&de.indexOf(":")!==-1&&(le=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(ie),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var we=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);we.match(/[ :]$/)&&(we=this.eatString(": ").replace(/\s+$/,""),this.print_string(we),this._output.space_before_token=!0),oe===0&&we.indexOf(":")!==-1?(le=!0,this.indent()):we in this.NESTED_AT_RULE?(this._nestedLevel+=1,we in this.CONDITIONAL_GROUP_RULE&&(q=!0)):oe===0&&!le&&(J=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(ie),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")le&&(le=!1,this.outdent()),J=!1,q?(q=!1,ae=this._indentLevel>=this._nestedLevel):ae=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&ae&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(F==="("?this._output.space_before_token=!1:F!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),F==="{"&&this._output.trim(!0),le&&(this.outdent(),le=!1),this.print_string(this._ch),ae=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var Ce=0;Ce<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Ce++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Ce])){ne=!0;break}(ae||q)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!J&&oe===0?(this.print_string(":"),le||(le=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var je=F==='"'||F==="'";this.preserveSingleSpace(je||ie),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")ne=!1,oe===0?(le&&(this.outdent(),le=!1),J=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),oe++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),oe&&(oe--,this.outdent()));else{var Fe=!1;this._input.lookBack("with")&&(Fe=!0),this.preserveSingleSpace(ie||Fe),this.print_string(this._ch),le&&F==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),Y=!0):(this.eatWhitespace(),oe++,this.indent())}else if(this._ch===")")oe&&(oe--,this.outdent()),Y&&this._input.peek()===";"&&this._options.selector_separator_newline&&(Y=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!le||Y)&&oe===0&&!J?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!le&&oe===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&C.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(ie),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),C.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var Ft=F==='"'||F==="'";this.preserveSingleSpace(Ft||ie),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&ne&&this._output.add_new_line()}var _t=this._output.get_code(V);return _t},u.exports.Beautifier=U},function(u,a,x){var p=x(6).Options;function y(_){p.call(this,_,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var b=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||b;var S=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var R=0;R<S.length;R++)S[R]!=="expand"?this.brace_style="collapse":this.brace_style=S[R]}y.prototype=new p,u.exports.Options=y}],f={};function s(u){var a=f[u];if(a!==void 0)return a.exports;var x=f[u]={exports:{}};return c[u](x,x.exports,s),x.exports}var h=s(15);i=h})();var l=i;e=[],r=function(){return{css_beautify:l}}.apply(g,e),r!==void 0&&(d.exports=r)})()},40998:function(d,g,e){var r,i;(function(){var l;(function(){"use strict";var h=[,,function(p){function y(S){this.__parent=S,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}y.prototype.clone_empty=function(){var S=new y(this.__parent);return S.set_indent(this.__indent_count,this.__alignment_count),S},y.prototype.item=function(S){return S<0?this.__items[this.__items.length+S]:this.__items[S]},y.prototype.has_match=function(S){for(var R=this.__items.length-1;R>=0;R--)if(this.__items[R].match(S))return!0;return!1},y.prototype.set_indent=function(S,R){this.is_empty()&&(this.__indent_count=S||0,this.__alignment_count=R||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},y.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},y.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},y.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var S=this.__parent.current_line;return S.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),S.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),S.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,S.__items[0]===" "&&(S.__items.splice(0,1),S.__character_count-=1),!0}return!1},y.prototype.is_empty=function(){return this.__items.length===0},y.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},y.prototype.push=function(S){this.__items.push(S);var R=S.lastIndexOf(`
`);R!==-1?this.__character_count=S.length-R:this.__character_count+=S.length},y.prototype.pop=function(){var S=null;return this.is_empty()||(S=this.__items.pop(),this.__character_count-=S.length),S},y.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},y.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},y.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},y.prototype.toString=function(){var S="";return this.is_empty()?this.__parent.indent_empty_lines&&(S=this.__parent.get_indent_string(this.__indent_count)):(S=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),S+=this.__items.join("")),S};function _(S,R){this.__cache=[""],this.__indent_size=S.indent_size,this.__indent_string=S.indent_char,S.indent_with_tabs||(this.__indent_string=new Array(S.indent_size+1).join(S.indent_char)),R=R||"",S.indent_level>0&&(R=new Array(S.indent_level+1).join(this.__indent_string)),this.__base_string=R,this.__base_string_length=R.length}_.prototype.get_indent_size=function(S,R){var L=this.__base_string_length;return R=R||0,S<0&&(L=0),L+=S*this.__indent_size,L+=R,L},_.prototype.get_indent_string=function(S,R){var L=this.__base_string;return R=R||0,S<0&&(S=0,L=""),R+=S*this.__indent_size,this.__ensure_cache(R),L+=this.__cache[R],L},_.prototype.__ensure_cache=function(S){for(;S>=this.__cache.length;)this.__add_column()},_.prototype.__add_column=function(){var S=this.__cache.length,R=0,L="";this.__indent_size&&S>=this.__indent_size&&(R=Math.floor(S/this.__indent_size),S-=R*this.__indent_size,L=new Array(R+1).join(this.__indent_string)),S&&(L+=new Array(S+1).join(" ")),this.__cache.push(L)};function b(S,R){this.__indent_cache=new _(S,R),this.raw=!1,this._end_with_newline=S.end_with_newline,this.indent_size=S.indent_size,this.wrap_line_length=S.wrap_line_length,this.indent_empty_lines=S.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new y(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}b.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},b.prototype.get_line_number=function(){return this.__lines.length},b.prototype.get_indent_string=function(S,R){return this.__indent_cache.get_indent_string(S,R)},b.prototype.get_indent_size=function(S,R){return this.__indent_cache.get_indent_size(S,R)},b.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},b.prototype.add_new_line=function(S){return this.is_empty()||!S&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},b.prototype.get_code=function(S){this.trim(!0);var R=this.current_line.pop();R&&(R[R.length-1]===`
`&&(R=R.replace(/\n+$/g,"")),this.current_line.push(R)),this._end_with_newline&&this.__add_outputline();var L=this.__lines.join(`
`);return S!==`
`&&(L=L.replace(/[\n]/g,S)),L},b.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},b.prototype.set_indent=function(S,R){return S=S||0,R=R||0,this.next_line.set_indent(S,R),this.__lines.length>1?(this.current_line.set_indent(S,R),!0):(this.current_line.set_indent(),!1)},b.prototype.add_raw_token=function(S){for(var R=0;R<S.newlines;R++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(S.whitespace_before),this.current_line.push(S.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},b.prototype.add_token=function(S){this.__add_space_before_token(),this.current_line.push(S),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},b.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},b.prototype.remove_indent=function(S){for(var R=this.__lines.length;S<R;)this.__lines[S]._remove_indent(),S++;this.current_line._remove_wrap_indent()},b.prototype.trim=function(S){for(S=S===void 0?!1:S,this.current_line.trim();S&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},b.prototype.just_added_newline=function(){return this.current_line.is_empty()},b.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},b.prototype.ensure_empty_line_above=function(S,R){for(var L=this.__lines.length-2;L>=0;){var C=this.__lines[L];if(C.is_empty())break;if(C.item(0).indexOf(S)!==0&&C.item(-1)!==R){this.__lines.splice(L+1,0,new y(this)),this.previous_line=this.__lines[this.__lines.length-2];break}L--}},p.exports.Output=b},function(p){function y(_,b,S,R){this.type=_,this.text=b,this.comments_before=null,this.newlines=S||0,this.whitespace_before=R||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}p.exports.Token=y},,,function(p){function y(S,R){this.raw_options=_(S,R),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}y.prototype._get_array=function(S,R){var L=this.raw_options[S],C=R||[];return typeof L=="object"?L!==null&&typeof L.concat=="function"&&(C=L.concat()):typeof L=="string"&&(C=L.split(/[^a-zA-Z0-9_\/\-]+/)),C},y.prototype._get_boolean=function(S,R){var L=this.raw_options[S],C=L===void 0?!!R:!!L;return C},y.prototype._get_characters=function(S,R){var L=this.raw_options[S],C=R||"";return typeof L=="string"&&(C=L.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),C},y.prototype._get_number=function(S,R){var L=this.raw_options[S];R=parseInt(R,10),isNaN(R)&&(R=0);var C=parseInt(L,10);return isNaN(C)&&(C=R),C},y.prototype._get_selection=function(S,R,L){var C=this._get_selection_list(S,R,L);if(C.length!==1)throw new Error("Invalid Option Value: The option '"+S+`' can only be one of the following values:
`+R+`
You passed in: '`+this.raw_options[S]+"'");return C[0]},y.prototype._get_selection_list=function(S,R,L){if(!R||R.length===0)throw new Error("Selection list cannot be empty.");if(L=L||[R[0]],!this._is_valid_selection(L,R))throw new Error("Invalid Default Value!");var C=this._get_array(S,L);if(!this._is_valid_selection(C,R))throw new Error("Invalid Option Value: The option '"+S+`' can contain only the following values:
`+R+`
You passed in: '`+this.raw_options[S]+"'");return C},y.prototype._is_valid_selection=function(S,R){return S.length&&R.length&&!S.some(function(L){return R.indexOf(L)===-1})};function _(S,R){var L={};S=b(S);var C;for(C in S)C!==R&&(L[C]=S[C]);if(R&&S[R])for(C in S[R])L[C]=S[R][C];return L}function b(S){var R={},L;for(L in S){var C=L.replace(/-/g,"_");R[C]=S[L]}return R}p.exports.Options=y,p.exports.normalizeOpts=b,p.exports.mergeOpts=_},,function(p){var y=RegExp.prototype.hasOwnProperty("sticky");function _(b){this.__input=b||"",this.__input_length=this.__input.length,this.__position=0}_.prototype.restart=function(){this.__position=0},_.prototype.back=function(){this.__position>0&&(this.__position-=1)},_.prototype.hasNext=function(){return this.__position<this.__input_length},_.prototype.next=function(){var b=null;return this.hasNext()&&(b=this.__input.charAt(this.__position),this.__position+=1),b},_.prototype.peek=function(b){var S=null;return b=b||0,b+=this.__position,b>=0&&b<this.__input_length&&(S=this.__input.charAt(b)),S},_.prototype.__match=function(b,S){b.lastIndex=S;var R=b.exec(this.__input);return R&&!(y&&b.sticky)&&R.index!==S&&(R=null),R},_.prototype.test=function(b,S){return S=S||0,S+=this.__position,S>=0&&S<this.__input_length?!!this.__match(b,S):!1},_.prototype.testChar=function(b,S){var R=this.peek(S);return b.lastIndex=0,R!==null&&b.test(R)},_.prototype.match=function(b){var S=this.__match(b,this.__position);return S?this.__position+=S[0].length:S=null,S},_.prototype.read=function(b,S,R){var L="",C;return b&&(C=this.match(b),C&&(L+=C[0])),S&&(C||!b)&&(L+=this.readUntil(S,R)),L},_.prototype.readUntil=function(b,S){var R="",L=this.__position;b.lastIndex=this.__position;var C=b.exec(this.__input);return C?(L=C.index,S&&(L+=C[0].length)):L=this.__input_length,R=this.__input.substring(this.__position,L),this.__position=L,R},_.prototype.readUntilAfter=function(b){return this.readUntil(b,!0)},_.prototype.get_regexp=function(b,S){var R=null,L="g";return S&&y&&(L="y"),typeof b=="string"&&b!==""?R=new RegExp(b,L):b&&(R=new RegExp(b.source,L)),R},_.prototype.get_literal_regexp=function(b){return RegExp(b.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},_.prototype.peekUntilAfter=function(b){var S=this.__position,R=this.readUntilAfter(b);return this.__position=S,R},_.prototype.lookBack=function(b){var S=this.__position-1;return S>=b.length&&this.__input.substring(S-b.length,S).toLowerCase()===b},p.exports.InputScanner=_},function(p,y,_){var b=_(8).InputScanner,S=_(3).Token,R=_(10).TokenStream,L=_(11).WhitespacePattern,C={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},D=function(B,$){this._input=new b(B),this._options=$||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new L(this._input)};D.prototype.tokenize=function(){this._input.restart(),this.__tokens=new R,this._reset();for(var B,$=new S(C.START,""),U=null,K=[],V=new R;$.type!==C.EOF;){for(B=this._get_next_token($,U);this._is_comment(B);)V.add(B),B=this._get_next_token($,U);V.isEmpty()||(B.comments_before=V,V=new R),B.parent=U,this._is_opening(B)?(K.push(U),U=B):U&&this._is_closing(B,U)&&(B.opened=U,U.closed=B,U=K.pop(),B.parent=U),B.previous=$,$.next=B,this.__tokens.add(B),$=B}return this.__tokens},D.prototype._is_first_token=function(){return this.__tokens.isEmpty()},D.prototype._reset=function(){},D.prototype._get_next_token=function(B,$){this._readWhitespace();var U=this._input.read(/.+/g);return U?this._create_token(C.RAW,U):this._create_token(C.EOF,"")},D.prototype._is_comment=function(B){return!1},D.prototype._is_opening=function(B){return!1},D.prototype._is_closing=function(B,$){return!1},D.prototype._create_token=function(B,$){var U=new S(B,$,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return U},D.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},p.exports.Tokenizer=D,p.exports.TOKEN=C},function(p){function y(_){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=_}y.prototype.restart=function(){this.__position=0},y.prototype.isEmpty=function(){return this.__tokens_length===0},y.prototype.hasNext=function(){return this.__position<this.__tokens_length},y.prototype.next=function(){var _=null;return this.hasNext()&&(_=this.__tokens[this.__position],this.__position+=1),_},y.prototype.peek=function(_){var b=null;return _=_||0,_+=this.__position,_>=0&&_<this.__tokens_length&&(b=this.__tokens[_]),b},y.prototype.add=function(_){this.__parent_token&&(_.parent=this.__parent_token),this.__tokens.push(_),this.__tokens_length+=1},p.exports.TokenStream=y},function(p,y,_){var b=_(12).Pattern;function S(R,L){b.call(this,R,L),L?this._line_regexp=this._input.get_regexp(L._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}S.prototype=new b,S.prototype.__set_whitespace_patterns=function(R,L){R+="\\t ",L+="\\n\\r",this._match_pattern=this._input.get_regexp("["+R+L+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+L+"]")},S.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var R=this._input.read(this._match_pattern);if(R===" ")this.whitespace_before_token=" ";else if(R){var L=this.__split(this._newline_regexp,R);this.newline_count=L.length-1,this.whitespace_before_token=L[this.newline_count]}return R},S.prototype.matching=function(R,L){var C=this._create();return C.__set_whitespace_patterns(R,L),C._update(),C},S.prototype._create=function(){return new S(this._input,this)},S.prototype.__split=function(R,L){R.lastIndex=0;for(var C=0,D=[],B=R.exec(L);B;)D.push(L.substring(C,B.index)),C=B.index+B[0].length,B=R.exec(L);return C<L.length?D.push(L.substring(C,L.length)):D.push(""),D},p.exports.WhitespacePattern=S},function(p){function y(_,b){this._input=_,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,b&&(this._starting_pattern=this._input.get_regexp(b._starting_pattern,!0),this._match_pattern=this._input.get_regexp(b._match_pattern,!0),this._until_pattern=this._input.get_regexp(b._until_pattern),this._until_after=b._until_after)}y.prototype.read=function(){var _=this._input.read(this._starting_pattern);return(!this._starting_pattern||_)&&(_+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),_},y.prototype.read_match=function(){return this._input.match(this._match_pattern)},y.prototype.until_after=function(_){var b=this._create();return b._until_after=!0,b._until_pattern=this._input.get_regexp(_),b._update(),b},y.prototype.until=function(_){var b=this._create();return b._until_after=!1,b._until_pattern=this._input.get_regexp(_),b._update(),b},y.prototype.starting_with=function(_){var b=this._create();return b._starting_pattern=this._input.get_regexp(_,!0),b._update(),b},y.prototype.matching=function(_){var b=this._create();return b._match_pattern=this._input.get_regexp(_,!0),b._update(),b},y.prototype._create=function(){return new y(this._input,this)},y.prototype._update=function(){},p.exports.Pattern=y},function(p){function y(_,b){_=typeof _=="string"?_:_.source,b=typeof b=="string"?b:b.source,this.__directives_block_pattern=new RegExp(_+/ beautify( \w+[:]\w+)+ /.source+b,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(_+/\sbeautify\signore:end\s/.source+b,"g")}y.prototype.get_directives=function(_){if(!_.match(this.__directives_block_pattern))return null;var b={};this.__directive_pattern.lastIndex=0;for(var S=this.__directive_pattern.exec(_);S;)b[S[1]]=S[2],S=this.__directive_pattern.exec(_);return b},y.prototype.readIgnored=function(_){return _.readUntilAfter(this.__directives_end_ignore_pattern)},p.exports.Directives=y},function(p,y,_){var b=_(12).Pattern,S={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function R(L,C){b.call(this,L,C),this.__template_pattern=null,this._disabled=Object.assign({},S),this._excluded=Object.assign({},S),C&&(this.__template_pattern=this._input.get_regexp(C.__template_pattern),this._excluded=Object.assign(this._excluded,C._excluded),this._disabled=Object.assign(this._disabled,C._disabled));var D=new b(L);this.__patterns={handlebars_comment:D.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:D.starting_with(/{{{/).until_after(/}}}/),handlebars:D.starting_with(/{{/).until_after(/}}/),php:D.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:D.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:D.starting_with(/{%/).until_after(/%}/),django_value:D.starting_with(/{{/).until_after(/}}/),django_comment:D.starting_with(/{#/).until_after(/#}/),smarty:D.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:D.starting_with(/{\*/).until_after(/\*}/),smarty_literal:D.starting_with(/{literal}/).until_after(/{\/literal}/)}}R.prototype=new b,R.prototype._create=function(){return new R(this._input,this)},R.prototype._update=function(){this.__set_templated_pattern()},R.prototype.disable=function(L){var C=this._create();return C._disabled[L]=!0,C._update(),C},R.prototype.read_options=function(L){var C=this._create();for(var D in S)C._disabled[D]=L.templating.indexOf(D)===-1;return C._update(),C},R.prototype.exclude=function(L){var C=this._create();return C._excluded[L]=!0,C._update(),C},R.prototype.read=function(){var L="";this._match_pattern?L=this._input.read(this._starting_pattern):L=this._input.read(this._starting_pattern,this.__template_pattern);for(var C=this._read_template();C;)this._match_pattern?C+=this._input.read(this._match_pattern):C+=this._input.readUntil(this.__template_pattern),L+=C,C=this._read_template();return this._until_after&&(L+=this._input.readUntilAfter(this._until_pattern)),L},R.prototype.__set_templated_pattern=function(){var L=[];this._disabled.php||L.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||L.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||L.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||L.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(L.push(this.__patterns.django._starting_pattern.source),L.push(this.__patterns.django_value._starting_pattern.source),L.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||L.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&L.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+L.join("|")+")")},R.prototype._read_template=function(){var L="",C=this._input.peek();if(C==="<"){var D=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&D==="?"&&(L=L||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&D==="%"&&(L=L||this.__patterns.erb.read())}else C==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(L=L||this.__patterns.handlebars_comment.read(),L=L||this.__patterns.handlebars_unescaped.read(),L=L||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(L=L||this.__patterns.django_value.read()),this._excluded.django||(L=L||this.__patterns.django_comment.read(),L=L||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(L=L||this.__patterns.smarty_comment.read(),L=L||this.__patterns.smarty_literal.read(),L=L||this.__patterns.smarty.read()));return L},p.exports.TemplatablePattern=R},,,,function(p,y,_){var b=_(19).Beautifier,S=_(20).Options;function R(L,C,D,B){var $=new b(L,C,D,B);return $.beautify()}p.exports=R,p.exports.defaultOptions=function(){return new S}},function(p,y,_){var b=_(20).Options,S=_(2).Output,R=_(21).Tokenizer,L=_(21).TOKEN,C=/\r\n|[\r\n]/,D=/\r\n|[\r\n]/g,B=function(J,Y){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=J.max_preserve_newlines,this.preserve_newlines=J.preserve_newlines,this._output=new S(J,Y)};B.prototype.current_line_has_match=function(J){return this._output.current_line.has_match(J)},B.prototype.set_space_before_token=function(J,Y){this._output.space_before_token=J,this._output.non_breaking_space=Y},B.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},B.prototype.add_raw_token=function(J){this._output.add_raw_token(J)},B.prototype.print_preserved_newlines=function(J){var Y=0;J.type!==L.TEXT&&J.previous.type!==L.TEXT&&(Y=J.newlines?1:0),this.preserve_newlines&&(Y=J.newlines<this.max_preserve_newlines+1?J.newlines:this.max_preserve_newlines+1);for(var ue=0;ue<Y;ue++)this.print_newline(ue>0);return Y!==0},B.prototype.traverse_whitespace=function(J){return J.whitespace_before||J.newlines?(this.print_preserved_newlines(J)||(this._output.space_before_token=!0),!0):!1},B.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},B.prototype.print_newline=function(J){this._output.add_new_line(J)},B.prototype.print_token=function(J){J.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(J.text))},B.prototype.indent=function(){this.indent_level++},B.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},B.prototype.get_full_indent=function(J){return J=this.indent_level+(J||0),J<1?"":this._output.get_indent_string(J)};var $=function(J){for(var Y=null,ue=J.next;ue.type!==L.EOF&&J.closed!==ue;){if(ue.type===L.ATTRIBUTE&&ue.text==="type"){ue.next&&ue.next.type===L.EQUALS&&ue.next.next&&ue.next.next.type===L.VALUE&&(Y=ue.next.next.text);break}ue=ue.next}return Y},U=function(J,Y){var ue=null,ne=null;return Y.closed?(J==="script"?ue="text/javascript":J==="style"&&(ue="text/css"),ue=$(Y)||ue,ue.search("text/css")>-1?ne="css":ue.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?ne="javascript":ue.search(/(text|application|dojo)\/(x-)?(html)/)>-1?ne="html":ue.search(/test\/null/)>-1&&(ne="null"),ne):null};function K(J,Y){return Y.indexOf(J)!==-1}function V(J,Y,ue){this.parent=J||null,this.tag=Y?Y.tag_name:"",this.indent_level=ue||0,this.parser_token=Y||null}function G(J){this._printer=J,this._current_frame=null}G.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},G.prototype.record_tag=function(J){var Y=new V(this._current_frame,J,this._printer.indent_level);this._current_frame=Y},G.prototype._try_pop_frame=function(J){var Y=null;return J&&(Y=J.parser_token,this._printer.indent_level=J.indent_level,this._current_frame=J.parent),Y},G.prototype._get_frame=function(J,Y){for(var ue=this._current_frame;ue&&J.indexOf(ue.tag)===-1;){if(Y&&Y.indexOf(ue.tag)!==-1){ue=null;break}ue=ue.parent}return ue},G.prototype.try_pop=function(J,Y){var ue=this._get_frame([J],Y);return this._try_pop_frame(ue)},G.prototype.indent_to_tag=function(J){var Y=this._get_frame(J);Y&&(this._printer.indent_level=Y.indent_level)};function oe(J,Y,ue,ne){this._source_text=J||"",Y=Y||{},this._js_beautify=ue,this._css_beautify=ne,this._tag_stack=null;var ee=new b(Y,"html");this._options=ee,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}oe.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var J=this._source_text,Y=this._options.eol;this._options.eol==="auto"&&(Y=`
`,J&&C.test(J)&&(Y=J.match(C)[0])),J=J.replace(D,`
`);var ue=J.match(/^[\t ]*/)[0],ne={text:"",type:""},ee=new ae(this._options),ie=new B(this._options,ue),F=new R(J,this._options).tokenize();this._tag_stack=new G(ie);for(var M=null,Q=F.next();Q.type!==L.EOF;)Q.type===L.TAG_OPEN||Q.type===L.COMMENT?(M=this._handle_tag_open(ie,Q,ee,ne,F),ee=M):Q.type===L.ATTRIBUTE||Q.type===L.EQUALS||Q.type===L.VALUE||Q.type===L.TEXT&&!ee.tag_complete?M=this._handle_inside_tag(ie,Q,ee,ne):Q.type===L.TAG_CLOSE?M=this._handle_tag_close(ie,Q,ee):Q.type===L.TEXT?M=this._handle_text(ie,Q,ee):Q.type===L.CONTROL_FLOW_OPEN?M=this._handle_control_flow_open(ie,Q):Q.type===L.CONTROL_FLOW_CLOSE?M=this._handle_control_flow_close(ie,Q):ie.add_raw_token(Q),ne=M,Q=F.next();var de=ie._output.get_code(Y);return de},oe.prototype._handle_control_flow_open=function(J,Y){var ue={text:Y.text,type:Y.type};return J.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),Y.newlines?J.print_preserved_newlines(Y):J.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),J.print_token(Y),J.indent(),ue},oe.prototype._handle_control_flow_close=function(J,Y){var ue={text:Y.text,type:Y.type};return J.deindent(),Y.newlines?J.print_preserved_newlines(Y):J.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),J.print_token(Y),ue},oe.prototype._handle_tag_close=function(J,Y,ue){var ne={text:Y.text,type:Y.type};return J.alignment_size=0,ue.tag_complete=!0,J.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),ue.is_unformatted?J.add_raw_token(Y):(ue.tag_start_char==="<"&&(J.set_space_before_token(Y.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&ue.has_wrapped_attrs&&J.print_newline(!1)),J.print_token(Y)),ue.indent_content&&!(ue.is_unformatted||ue.is_content_unformatted)&&(J.indent(),ue.indent_content=!1),!ue.is_inline_element&&!(ue.is_unformatted||ue.is_content_unformatted)&&J.set_wrap_point(),ne},oe.prototype._handle_inside_tag=function(J,Y,ue,ne){var ee=ue.has_wrapped_attrs,ie={text:Y.text,type:Y.type};return J.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),ue.is_unformatted?J.add_raw_token(Y):ue.tag_start_char==="{"&&Y.type===L.TEXT?J.print_preserved_newlines(Y)?(Y.newlines=0,J.add_raw_token(Y)):J.print_token(Y):(Y.type===L.ATTRIBUTE?J.set_space_before_token(!0):(Y.type===L.EQUALS||Y.type===L.VALUE&&Y.previous.type===L.EQUALS)&&J.set_space_before_token(!1),Y.type===L.ATTRIBUTE&&ue.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(J.traverse_whitespace(Y),ee=ee||Y.newlines!==0),this._is_wrap_attributes_force&&ue.attr_count>=this._options.wrap_attributes_min_attrs&&(ne.type!==L.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(J.print_newline(!1),ee=!0)),J.print_token(Y),ee=ee||J.previous_token_wrapped(),ue.has_wrapped_attrs=ee),ie},oe.prototype._handle_text=function(J,Y,ue){var ne={text:Y.text,type:"TK_CONTENT"};return ue.custom_beautifier_name?this._print_custom_beatifier_text(J,Y,ue):ue.is_unformatted||ue.is_content_unformatted?J.add_raw_token(Y):(J.traverse_whitespace(Y),J.print_token(Y)),ne},oe.prototype._print_custom_beatifier_text=function(J,Y,ue){var ne=this;if(Y.text!==""){var ee=Y.text,ie,F=1,M="",Q="";ue.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?ie=this._js_beautify:ue.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?ie=this._css_beautify:ue.custom_beautifier_name==="html"&&(ie=function(Ft,_t){var Pt=new oe(Ft,_t,ne._js_beautify,ne._css_beautify);return Pt.beautify()}),this._options.indent_scripts==="keep"?F=0:this._options.indent_scripts==="separate"&&(F=-J.indent_level);var de=J.get_full_indent(F);if(ee=ee.replace(/\n[ \t]*$/,""),ue.custom_beautifier_name!=="html"&&ee[0]==="<"&&ee.match(/^(<!--|<!\[CDATA\[)/)){var we=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(ee);if(!we){J.add_raw_token(Y);return}M=de+we[1]+`
`,ee=we[4],we[5]&&(Q=de+we[5]),ee=ee.replace(/\n[ \t]*$/,""),(we[2]||we[3].indexOf(`
`)!==-1)&&(we=we[3].match(/[ \t]+$/),we&&(Y.whitespace_before=we[0]))}if(ee)if(ie){var Ce=function(){this.eol=`
`};Ce.prototype=this._options.raw_options;var je=new Ce;ee=ie(de+ee,je)}else{var Fe=Y.whitespace_before;Fe&&(ee=ee.replace(new RegExp(`
(`+Fe+")?","g"),`
`)),ee=de+ee.replace(/\n/g,`
`+de)}M&&(ee?ee=M+ee+`
`+Q:ee=M+Q),J.print_newline(!1),ee&&(Y.text=ee,Y.whitespace_before="",Y.newlines=0,J.add_raw_token(Y),J.print_newline(!0))}},oe.prototype._handle_tag_open=function(J,Y,ue,ne,ee){var ie=this._get_tag_open_token(Y);if((ue.is_unformatted||ue.is_content_unformatted)&&!ue.is_empty_element&&Y.type===L.TAG_OPEN&&!ie.is_start_tag?(J.add_raw_token(Y),ie.start_tag_token=this._tag_stack.try_pop(ie.tag_name)):(J.traverse_whitespace(Y),this._set_tag_position(J,Y,ie,ue,ne),ie.is_inline_element||J.set_wrap_point(),J.print_token(Y)),ie.is_start_tag&&this._is_wrap_attributes_force){var F=0,M;do M=ee.peek(F),M.type===L.ATTRIBUTE&&(ie.attr_count+=1),F+=1;while(M.type!==L.EOF&&M.type!==L.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(ie.alignment_size=Y.text.length+1),!ie.tag_complete&&!ie.is_unformatted&&(J.alignment_size=ie.alignment_size),ie};var ae=function(J,Y,ue){if(this.parent=Y||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!ue)this.tag_complete=!0;else{var ne;this.tag_start_char=ue.text[0],this.text=ue.text,this.tag_start_char==="<"?(ne=ue.text.match(/^<([^\s>]*)/),this.tag_check=ne?ne[1]:""):(ne=ue.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=ne?ne[1]:"",(ue.text.startsWith("{{#>")||ue.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&ue.next!==null?this.tag_check=ue.next.text.split(" ")[0]:this.tag_check=ue.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),ue.type===L.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||ue.closed&&ue.closed.text==="/>";var ee=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(ee=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!J.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(ee)))}};oe.prototype._get_tag_open_token=function(J){var Y=new ae(this._options,this._tag_stack.get_parser_token(),J);return Y.alignment_size=this._options.wrap_attributes_indent_size,Y.is_end_tag=Y.is_end_tag||K(Y.tag_check,this._options.void_elements),Y.is_empty_element=Y.tag_complete||Y.is_start_tag&&Y.is_end_tag,Y.is_unformatted=!Y.tag_complete&&K(Y.tag_check,this._options.unformatted),Y.is_content_unformatted=!Y.is_empty_element&&K(Y.tag_check,this._options.content_unformatted),Y.is_inline_element=K(Y.tag_name,this._options.inline)||this._options.inline_custom_elements&&Y.tag_name.includes("-")||Y.tag_start_char==="{",Y},oe.prototype._set_tag_position=function(J,Y,ue,ne,ee){if(ue.is_empty_element||(ue.is_end_tag?ue.start_tag_token=this._tag_stack.try_pop(ue.tag_name):(this._do_optional_end_element(ue)&&(ue.is_inline_element||J.print_newline(!1)),this._tag_stack.record_tag(ue),(ue.tag_name==="script"||ue.tag_name==="style")&&!(ue.is_unformatted||ue.is_content_unformatted)&&(ue.custom_beautifier_name=U(ue.tag_check,Y)))),K(ue.tag_check,this._options.extra_liners)&&(J.print_newline(!1),J._output.just_added_blankline()||J.print_newline(!0)),ue.is_empty_element){if(ue.tag_start_char==="{"&&ue.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),ue.indent_content=!0;var ie=J.current_line_has_match(/{{#if/);ie||J.print_newline(!1)}ue.tag_name==="!--"&&ee.type===L.TAG_CLOSE&&ne.is_end_tag&&ue.text.indexOf(`
`)===-1||(ue.is_inline_element||ue.is_unformatted||J.print_newline(!1),this._calcluate_parent_multiline(J,ue))}else if(ue.is_end_tag){var F=!1;F=ue.start_tag_token&&ue.start_tag_token.multiline_content,F=F||!ue.is_inline_element&&!(ne.is_inline_element||ne.is_unformatted)&&!(ee.type===L.TAG_CLOSE&&ue.start_tag_token===ne)&&ee.type!=="TK_CONTENT",(ue.is_content_unformatted||ue.is_unformatted)&&(F=!1),F&&J.print_newline(!1)}else ue.indent_content=!ue.custom_beautifier_name,ue.tag_start_char==="<"&&(ue.tag_name==="html"?ue.indent_content=this._options.indent_inner_html:ue.tag_name==="head"?ue.indent_content=this._options.indent_head_inner_html:ue.tag_name==="body"&&(ue.indent_content=this._options.indent_body_inner_html)),!(ue.is_inline_element||ue.is_unformatted)&&(ee.type!=="TK_CONTENT"||ue.is_content_unformatted)&&J.print_newline(!1),this._calcluate_parent_multiline(J,ue)},oe.prototype._calcluate_parent_multiline=function(J,Y){Y.parent&&J._output.just_added_newline()&&!((Y.is_inline_element||Y.is_unformatted)&&Y.parent.is_inline_element)&&(Y.parent.multiline_content=!0)};var le=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],q=["a","audio","del","ins","map","noscript","video"];oe.prototype._do_optional_end_element=function(J){var Y=null;if(!(J.is_empty_element||!J.is_start_tag||!J.parent)){if(J.tag_name==="body")Y=Y||this._tag_stack.try_pop("head");else if(J.tag_name==="li")Y=Y||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(J.tag_name==="dd"||J.tag_name==="dt")Y=Y||this._tag_stack.try_pop("dt",["dl"]),Y=Y||this._tag_stack.try_pop("dd",["dl"]);else if(J.parent.tag_name==="p"&&le.indexOf(J.tag_name)!==-1){var ue=J.parent.parent;(!ue||q.indexOf(ue.tag_name)===-1)&&(Y=Y||this._tag_stack.try_pop("p"))}else J.tag_name==="rp"||J.tag_name==="rt"?(Y=Y||this._tag_stack.try_pop("rt",["ruby","rtc"]),Y=Y||this._tag_stack.try_pop("rp",["ruby","rtc"])):J.tag_name==="optgroup"?Y=Y||this._tag_stack.try_pop("optgroup",["select"]):J.tag_name==="option"?Y=Y||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):J.tag_name==="colgroup"?Y=Y||this._tag_stack.try_pop("caption",["table"]):J.tag_name==="thead"?(Y=Y||this._tag_stack.try_pop("caption",["table"]),Y=Y||this._tag_stack.try_pop("colgroup",["table"])):J.tag_name==="tbody"||J.tag_name==="tfoot"?(Y=Y||this._tag_stack.try_pop("caption",["table"]),Y=Y||this._tag_stack.try_pop("colgroup",["table"]),Y=Y||this._tag_stack.try_pop("thead",["table"]),Y=Y||this._tag_stack.try_pop("tbody",["table"])):J.tag_name==="tr"?(Y=Y||this._tag_stack.try_pop("caption",["table"]),Y=Y||this._tag_stack.try_pop("colgroup",["table"]),Y=Y||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(J.tag_name==="th"||J.tag_name==="td")&&(Y=Y||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),Y=Y||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return J.parent=this._tag_stack.get_parser_token(),Y}},p.exports.Beautifier=oe},function(p,y,_){var b=_(6).Options;function S(R){b.call(this,R,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}S.prototype=new b,p.exports.Options=S},function(p,y,_){var b=_(9).Tokenizer,S=_(9).TOKEN,R=_(13).Directives,L=_(14).TemplatablePattern,C=_(12).Pattern,D={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:S.START,RAW:S.RAW,EOF:S.EOF},B=new R(/<\!--/,/-->/),$=function(U,K){b.call(this,U,K),this._current_tag_name="";var V=new L(this._input).read_options(this._options),G=new C(this._input);if(this.__patterns={word:V.until(/[\n\r\t <]/),word_control_flow_close_excluded:V.until(/[\n\r\t <}]/),single_quote:V.until_after(/'/),double_quote:V.until_after(/"/),attribute:V.until(/[\n\r\t =>]|\/>/),element_name:V.until(/[\n\r\t >\/]/),angular_control_flow_start:G.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:G.starting_with(/{{!--/).until_after(/--}}/),handlebars:G.starting_with(/{{/).until_after(/}}/),handlebars_open:G.until(/[\n\r\t }]/),handlebars_raw_close:G.until(/}}/),comment:G.starting_with(/<!--/).until_after(/-->/),cdata:G.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:G.starting_with(/<!\[/).until_after(/]>/),processing:G.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var oe=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=G.matching(oe).until_after(oe)}};$.prototype=new b,$.prototype._is_comment=function(U){return!1},$.prototype._is_opening=function(U){return U.type===D.TAG_OPEN||U.type===D.CONTROL_FLOW_OPEN},$.prototype._is_closing=function(U,K){return U.type===D.TAG_CLOSE&&K&&((U.text===">"||U.text==="/>")&&K.text[0]==="<"||U.text==="}}"&&K.text[0]==="{"&&K.text[1]==="{")||U.type===D.CONTROL_FLOW_CLOSE&&U.text==="}"&&K.text.endsWith("{")},$.prototype._reset=function(){this._current_tag_name=""},$.prototype._get_next_token=function(U,K){var V=null;this._readWhitespace();var G=this._input.peek();return G===null?this._create_token(D.EOF,""):(V=V||this._read_open_handlebars(G,K),V=V||this._read_attribute(G,U,K),V=V||this._read_close(G,K),V=V||this._read_script_and_style(G,U),V=V||this._read_control_flows(G,K),V=V||this._read_raw_content(G,U,K),V=V||this._read_content_word(G,K),V=V||this._read_comment_or_cdata(G),V=V||this._read_processing(G),V=V||this._read_open(G,K),V=V||this._create_token(D.UNKNOWN,this._input.next()),V)},$.prototype._read_comment_or_cdata=function(U){var K=null,V=null,G=null;if(U==="<"){var oe=this._input.peek(1);oe==="!"&&(V=this.__patterns.comment.read(),V?(G=B.get_directives(V),G&&G.ignore==="start"&&(V+=B.readIgnored(this._input))):V=this.__patterns.cdata.read()),V&&(K=this._create_token(D.COMMENT,V),K.directives=G)}return K},$.prototype._read_processing=function(U){var K=null,V=null,G=null;if(U==="<"){var oe=this._input.peek(1);(oe==="!"||oe==="?")&&(V=this.__patterns.conditional_comment.read(),V=V||this.__patterns.processing.read()),V&&(K=this._create_token(D.COMMENT,V),K.directives=G)}return K},$.prototype._read_open=function(U,K){var V=null,G=null;return(!K||K.type===D.CONTROL_FLOW_OPEN)&&U==="<"&&(V=this._input.next(),this._input.peek()==="/"&&(V+=this._input.next()),V+=this.__patterns.element_name.read(),G=this._create_token(D.TAG_OPEN,V)),G},$.prototype._read_open_handlebars=function(U,K){var V=null,G=null;return(!K||K.type===D.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&U==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(V=this.__patterns.handlebars_comment.read(),V=V||this.__patterns.handlebars.read(),G=this._create_token(D.COMMENT,V)):(V=this.__patterns.handlebars_open.read(),G=this._create_token(D.TAG_OPEN,V))),G},$.prototype._read_control_flows=function(U,K){var V="",G=null;if(!this._options.templating.includes("angular"))return G;if(U==="@"){if(V=this.__patterns.angular_control_flow_start.read(),V==="")return G;for(var oe=V.endsWith("(")?1:0,ae=0;!(V.endsWith("{")&&oe===ae);){var le=this._input.next();if(le===null)break;le==="("?oe++:le===")"&&ae++,V+=le}G=this._create_token(D.CONTROL_FLOW_OPEN,V)}else U==="}"&&K&&K.type===D.CONTROL_FLOW_OPEN&&(V=this._input.next(),G=this._create_token(D.CONTROL_FLOW_CLOSE,V));return G},$.prototype._read_close=function(U,K){var V=null,G=null;return K&&K.type===D.TAG_OPEN&&(K.text[0]==="<"&&(U===">"||U==="/"&&this._input.peek(1)===">")?(V=this._input.next(),U==="/"&&(V+=this._input.next()),G=this._create_token(D.TAG_CLOSE,V)):K.text[0]==="{"&&U==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),G=this._create_token(D.TAG_CLOSE,"}}"))),G},$.prototype._read_attribute=function(U,K,V){var G=null,oe="";if(V&&V.text[0]==="<")if(U==="=")G=this._create_token(D.EQUALS,this._input.next());else if(U==='"'||U==="'"){var ae=this._input.next();U==='"'?ae+=this.__patterns.double_quote.read():ae+=this.__patterns.single_quote.read(),G=this._create_token(D.VALUE,ae)}else oe=this.__patterns.attribute.read(),oe&&(K.type===D.EQUALS?G=this._create_token(D.VALUE,oe):G=this._create_token(D.ATTRIBUTE,oe));return G},$.prototype._is_content_unformatted=function(U){return this._options.void_elements.indexOf(U)===-1&&(this._options.content_unformatted.indexOf(U)!==-1||this._options.unformatted.indexOf(U)!==-1)},$.prototype._read_raw_content=function(U,K,V){var G="";if(V&&V.text[0]==="{")G=this.__patterns.handlebars_raw_close.read();else if(K.type===D.TAG_CLOSE&&K.opened.text[0]==="<"&&K.text[0]!=="/"){var oe=K.opened.text.substr(1).toLowerCase();this._is_content_unformatted(oe)&&(G=this._input.readUntil(new RegExp("</"+oe+"[\\n\\r\\t ]*?>","ig")))}return G?this._create_token(D.TEXT,G):null},$.prototype._read_script_and_style=function(U,K){if(K.type===D.TAG_CLOSE&&K.opened.text[0]==="<"&&K.text[0]!=="/"){var V=K.opened.text.substr(1).toLowerCase();if(V==="script"||V==="style"){var G=this._read_comment_or_cdata(U);if(G)return G.type=D.TEXT,G;var oe=this._input.readUntil(new RegExp("</"+V+"[\\n\\r\\t ]*?>","ig"));if(oe)return this._create_token(D.TEXT,oe)}}return null},$.prototype._read_content_word=function(U,K){var V="";return this._options.unformatted_content_delimiter&&U===this._options.unformatted_content_delimiter[0]&&(V=this.__patterns.unformatted_content_delimiter.read()),V||(V=K&&K.type===D.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),V?this._create_token(D.TEXT,V):null},p.exports.Tokenizer=$,p.exports.TOKEN=D}],u={};function a(p){var y=u[p];if(y!==void 0)return y.exports;var _=u[p]={exports:{}};return h[p](_,_.exports,a),_.exports}var x=a(18);l=x})();var c=l;if(1)r=[e,e(58553),e(87804)],i=function(h){var u=e(58553),a=e(87804);return{html_beautify:function(x,p){return c(x,p,u.js_beautify,a.css_beautify)}}}.apply(g,r),i!==void 0&&(d.exports=i);else var f,s})()},58553:function(d,g){var e,r;(function(){var i;(function(){"use strict";var c=[function(u,a,x){var p=x(1).Beautifier,y=x(5).Options;function _(b,S){var R=new p(b,S);return R.beautify()}u.exports=_,u.exports.defaultOptions=function(){return new y}},function(u,a,x){var p=x(2).Output,y=x(3).Token,_=x(4),b=x(5).Options,S=x(7).Tokenizer,R=x(7).line_starters,L=x(7).positionable_operators,C=x(7).TOKEN;function D(M,Q){return Q.indexOf(M)!==-1}function B(M){return M.replace(/^\s+/g,"")}function $(M){for(var Q={},de=0;de<M.length;de++)Q[M[de].replace(/-/g,"_")]=M[de];return Q}function U(M,Q){return M&&M.type===C.RESERVED&&M.text===Q}function K(M,Q){return M&&M.type===C.RESERVED&&D(M.text,Q)}var V=["case","return","do","if","throw","else","await","break","continue","async"],G=["before-newline","after-newline","preserve-newline"],oe=$(G),ae=[oe.before_newline,oe.preserve_newline],le={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function q(M,Q){Q.multiline_frame||Q.mode===le.ForInitializer||Q.mode===le.Conditional||M.remove_indent(Q.start_line_index)}function J(M){M=M.replace(_.allLineBreaks,`
`);for(var Q=[],de=M.indexOf(`
`);de!==-1;)Q.push(M.substring(0,de)),M=M.substring(de+1),de=M.indexOf(`
`);return M.length&&Q.push(M),Q}function Y(M){return M===le.ArrayLiteral}function ue(M){return D(M,[le.Expression,le.ForInitializer,le.Conditional])}function ne(M,Q){for(var de=0;de<M.length;de++){var we=M[de].trim();if(we.charAt(0)!==Q)return!1}return!0}function ee(M,Q){for(var de=0,we=M.length,Ce;de<we;de++)if(Ce=M[de],Ce&&Ce.indexOf(Q)!==0)return!1;return!0}function ie(M,Q){Q=Q||{},this._source_text=M||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new b(Q)}ie.prototype.create_flags=function(M,Q){var de=0;M&&(de=M.indentation_level,!this._output.just_added_newline()&&M.line_indent_level>de&&(de=M.line_indent_level));var we={mode:Q,parent:M,last_token:M?M.last_token:new y(C.START_BLOCK,""),last_word:M?M.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:de,alignment:0,line_indent_level:M?M.line_indent_level:de,start_line_index:this._output.get_line_number(),ternary_depth:0};return we},ie.prototype._reset=function(M){var Q=M.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new p(this._options,Q),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(le.BlockStatement);var de=new S(M,this._options);return this._tokens=de.tokenize(),M},ie.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var M,Q=this._reset(this._source_text),de=this._options.eol;this._options.eol==="auto"&&(de=`
`,Q&&_.lineBreak.test(Q||"")&&(de=Q.match(_.lineBreak)[0]));for(var we=this._tokens.next();we;)this.handle_token(we),this._last_last_text=this._flags.last_token.text,this._flags.last_token=we,we=this._tokens.next();return M=this._output.get_code(de),M},ie.prototype.handle_token=function(M,Q){M.type===C.START_EXPR?this.handle_start_expr(M):M.type===C.END_EXPR?this.handle_end_expr(M):M.type===C.START_BLOCK?this.handle_start_block(M):M.type===C.END_BLOCK?this.handle_end_block(M):M.type===C.WORD?this.handle_word(M):M.type===C.RESERVED?this.handle_word(M):M.type===C.SEMICOLON?this.handle_semicolon(M):M.type===C.STRING?this.handle_string(M):M.type===C.EQUALS?this.handle_equals(M):M.type===C.OPERATOR?this.handle_operator(M):M.type===C.COMMA?this.handle_comma(M):M.type===C.BLOCK_COMMENT?this.handle_block_comment(M,Q):M.type===C.COMMENT?this.handle_comment(M,Q):M.type===C.DOT?this.handle_dot(M):M.type===C.EOF?this.handle_eof(M):M.type===C.UNKNOWN?this.handle_unknown(M,Q):this.handle_unknown(M,Q)},ie.prototype.handle_whitespace_and_comments=function(M,Q){var de=M.newlines,we=this._options.keep_array_indentation&&Y(this._flags.mode);if(M.comments_before)for(var Ce=M.comments_before.next();Ce;)this.handle_whitespace_and_comments(Ce,Q),this.handle_token(Ce,Q),Ce=M.comments_before.next();if(we)for(var je=0;je<de;je+=1)this.print_newline(je>0,Q);else if(this._options.max_preserve_newlines&&de>this._options.max_preserve_newlines&&(de=this._options.max_preserve_newlines),this._options.preserve_newlines&&de>1){this.print_newline(!1,Q);for(var Fe=1;Fe<de;Fe+=1)this.print_newline(!0,Q)}};var F=["async","break","continue","return","throw","yield"];ie.prototype.allow_wrap_or_preserved_newline=function(M,Q){if(Q=Q===void 0?!1:Q,!this._output.just_added_newline()){var de=this._options.preserve_newlines&&M.newlines||Q,we=D(this._flags.last_token.text,L)||D(M.text,L);if(we){var Ce=D(this._flags.last_token.text,L)&&D(this._options.operator_position,ae)||D(M.text,L);de=de&&Ce}if(de)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(K(this._flags.last_token,F))return;this._output.set_wrap_point()}}},ie.prototype.print_newline=function(M,Q){if(!Q&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==C.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var de=this._tokens.peek();this._flags.mode===le.Statement&&!(this._flags.if_block&&U(de,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(M)&&(this._flags.multiline_frame=!0)},ie.prototype.print_token_line_indentation=function(M){this._output.just_added_newline()&&(this._options.keep_array_indentation&&M.newlines&&(M.text==="["||Y(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(M.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},ie.prototype.print_token=function(M){if(this._output.raw){this._output.add_raw_token(M);return}if(this._options.comma_first&&M.previous&&M.previous.type===C.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var Q=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(Q),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(M),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(M),this._output.non_breaking_space=!0,this._output.add_token(M.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},ie.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ie.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},ie.prototype.set_mode=function(M){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,M),this._flags=this.create_flags(this._previous_flags,M),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ie.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===le.Statement&&q(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},ie.prototype.start_of_object_property=function(){return this._flags.parent.mode===le.ObjectLiteral&&this._flags.mode===le.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||K(this._flags.last_token,["get","set"]))},ie.prototype.start_of_statement=function(M){var Q=!1;return Q=Q||K(this._flags.last_token,["var","let","const"])&&M.type===C.WORD,Q=Q||U(this._flags.last_token,"do"),Q=Q||!(this._flags.parent.mode===le.ObjectLiteral&&this._flags.mode===le.Statement)&&K(this._flags.last_token,F)&&!M.newlines,Q=Q||U(this._flags.last_token,"else")&&!(U(M,"if")&&!M.comments_before),Q=Q||this._flags.last_token.type===C.END_EXPR&&(this._previous_flags.mode===le.ForInitializer||this._previous_flags.mode===le.Conditional),Q=Q||this._flags.last_token.type===C.WORD&&this._flags.mode===le.BlockStatement&&!this._flags.in_case&&!(M.text==="--"||M.text==="++")&&this._last_last_text!=="function"&&M.type!==C.WORD&&M.type!==C.RESERVED,Q=Q||this._flags.mode===le.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||K(this._flags.last_token,["get","set"])),Q?(this.set_mode(le.Statement),this.indent(),this.handle_whitespace_and_comments(M,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(M,K(M,["do","for","if","while"])),!0):!1},ie.prototype.handle_start_expr=function(M){this.start_of_statement(M)||this.handle_whitespace_and_comments(M);var Q=le.Expression;if(M.text==="["){if(this._flags.last_token.type===C.WORD||this._flags.last_token.text===")"){K(this._flags.last_token,R)&&(this._output.space_before_token=!0),this.print_token(M),this.set_mode(Q),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}Q=le.ArrayLiteral,Y(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),D(this._flags.last_token.type,[C.START_EXPR,C.END_EXPR,C.WORD,C.OPERATOR,C.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===C.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,Q=le.ForInitializer):D(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,Q=le.Conditional):D(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&M.whitespace_before===""?this._output.space_before_token=!1:(D(this._flags.last_token.text,R)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===C.EQUALS||this._flags.last_token.type===C.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(M);else if(this._flags.last_token.type===C.WORD){this._output.space_before_token=!1;var de=this._tokens.peek(-3);if(this._options.space_after_named_function&&de){var we=this._tokens.peek(-4);K(de,["async","function"])||de.text==="*"&&K(we,["async","function"])?this._output.space_before_token=!0:this._flags.mode===le.ObjectLiteral?(de.text==="{"||de.text===","||de.text==="*"&&(we.text==="{"||we.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(M);(this._flags.last_token.type===C.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(D(this._last_last_text,["function","yield"])||this._flags.mode===le.ObjectLiteral&&D(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===C.START_BLOCK?this.print_newline():(this._flags.last_token.type===C.END_EXPR||this._flags.last_token.type===C.START_EXPR||this._flags.last_token.type===C.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===C.COMMA)&&this.allow_wrap_or_preserved_newline(M,M.newlines),this.print_token(M),this.set_mode(Q),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},ie.prototype.handle_end_expr=function(M){for(;this._flags.mode===le.Statement;)this.restore_mode();this.handle_whitespace_and_comments(M),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(M,M.text==="]"&&Y(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===C.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(M),this.restore_mode(),q(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===le.Conditional&&(this._previous_flags.mode=le.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},ie.prototype.handle_start_block=function(M){this.handle_whitespace_and_comments(M);var Q=this._tokens.peek(),de=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===C.END_EXPR?(this.set_mode(le.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(le.BlockStatement):de&&(D(de.text,[":",","])&&D(Q.type,[C.STRING,C.WORD,C.RESERVED])||D(Q.text,["get","set","..."])&&D(de.type,[C.WORD,C.RESERVED]))?D(this._last_last_text,["class","interface"])&&!D(de.text,[":",","])?this.set_mode(le.BlockStatement):this.set_mode(le.ObjectLiteral):this._flags.last_token.type===C.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(le.BlockStatement):D(this._flags.last_token.type,[C.EQUALS,C.START_EXPR,C.COMMA,C.OPERATOR])||K(this._flags.last_token,["return","throw","import","default"])?this.set_mode(le.ObjectLiteral):this.set_mode(le.BlockStatement),this._flags.last_token&&K(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var we=!Q.comments_before&&Q.text==="}",Ce=we&&this._flags.last_word==="function"&&this._flags.last_token.type===C.END_EXPR;if(this._options.brace_preserve_inline){var je=0,Fe=null;this._flags.inline_frame=!0;do if(je+=1,Fe=this._tokens.peek(je-1),Fe.newlines){this._flags.inline_frame=!1;break}while(Fe.type!==C.EOF&&!(Fe.type===C.END_BLOCK&&Fe.opened===M))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&M.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==C.OPERATOR&&(Ce||this._flags.last_token.type===C.EQUALS||K(this._flags.last_token,V)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(Y(this._previous_flags.mode)&&(this._flags.last_token.type===C.START_EXPR||this._flags.last_token.type===C.COMMA)&&((this._flags.last_token.type===C.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===C.COMMA||this._flags.last_token.type===C.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(M),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==C.OPERATOR&&this._flags.last_token.type!==C.START_EXPR&&(D(this._flags.last_token.type,[C.START_BLOCK,C.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(M),this.indent(),!we&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},ie.prototype.handle_end_block=function(M){for(this.handle_whitespace_and_comments(M);this._flags.mode===le.Statement;)this.restore_mode();var Q=this._flags.last_token.type===C.START_BLOCK;this._flags.inline_frame&&!Q?this._output.space_before_token=!0:this._options.brace_style==="expand"?Q||this.print_newline():Q||(Y(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(M)},ie.prototype.handle_word=function(M){if(M.type===C.RESERVED){if(D(M.text,["set","get"])&&this._flags.mode!==le.ObjectLiteral)M.type=C.WORD;else if(M.text==="import"&&D(this._tokens.peek().text,["(","."]))M.type=C.WORD;else if(D(M.text,["as","from"])&&!this._flags.import_block)M.type=C.WORD;else if(this._flags.mode===le.ObjectLiteral){var Q=this._tokens.peek();Q.text===":"&&(M.type=C.WORD)}}if(this.start_of_statement(M)?K(this._flags.last_token,["var","let","const"])&&M.type===C.WORD&&(this._flags.declaration_statement=!0):M.newlines&&!ue(this._flags.mode)&&(this._flags.last_token.type!==C.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==C.EQUALS&&(this._options.preserve_newlines||!K(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(M),this.print_newline()):this.handle_whitespace_and_comments(M),this._flags.do_block&&!this._flags.do_while)if(U(M,"while")){this._output.space_before_token=!0,this.print_token(M),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&U(M,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===le.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&K(M,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(M),this._flags.in_case=!0;return}if((this._flags.last_token.type===C.COMMA||this._flags.last_token.type===C.START_EXPR||this._flags.last_token.type===C.EQUALS||this._flags.last_token.type===C.OPERATOR)&&!this.start_of_object_property()&&!(D(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===le.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(M),U(M,"function")){(D(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(D(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===C.OPERATOR))&&!this._output.just_added_blankline()&&!M.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===C.RESERVED||this._flags.last_token.type===C.WORD?K(this._flags.last_token,["get","set","new","export"])||K(this._flags.last_token,F)?this._output.space_before_token=!0:U(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===C.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(ue(this._flags.mode)||Y(this._flags.mode))||this.print_newline(),this.print_token(M),this._flags.last_word=M.text;return}var de="NONE";if(this._flags.last_token.type===C.END_BLOCK?this._previous_flags.inline_frame?de="SPACE":K(M,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&M.newlines?de="NEWLINE":(de="SPACE",this._output.space_before_token=!0):de="NEWLINE":this._flags.last_token.type===C.SEMICOLON&&this._flags.mode===le.BlockStatement?de="NEWLINE":this._flags.last_token.type===C.SEMICOLON&&ue(this._flags.mode)?de="SPACE":this._flags.last_token.type===C.STRING?de="NEWLINE":this._flags.last_token.type===C.RESERVED||this._flags.last_token.type===C.WORD||this._flags.last_token.text==="*"&&(D(this._last_last_text,["function","yield"])||this._flags.mode===le.ObjectLiteral&&D(this._last_last_text,["{",","]))?de="SPACE":this._flags.last_token.type===C.START_BLOCK?this._flags.inline_frame?de="SPACE":de="NEWLINE":this._flags.last_token.type===C.END_EXPR&&(this._output.space_before_token=!0,de="NEWLINE"),K(M,R)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?de="SPACE":de="NEWLINE"),K(M,["else","catch","finally"]))if((!(this._flags.last_token.type===C.END_BLOCK&&this._previous_flags.mode===le.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&M.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var we=this._output.current_line;we.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else de==="NEWLINE"?K(this._flags.last_token,V)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&K(M,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==C.END_EXPR?(this._flags.last_token.type!==C.START_EXPR||!K(M,["var","let","const"]))&&this._flags.last_token.text!==":"&&(U(M,"if")&&U(M.previous,"else")?this._output.space_before_token=!0:this.print_newline()):K(M,R)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&Y(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():de==="SPACE"&&(this._output.space_before_token=!0);M.previous&&(M.previous.type===C.WORD||M.previous.type===C.RESERVED)&&(this._output.space_before_token=!0),this.print_token(M),this._flags.last_word=M.text,M.type===C.RESERVED&&(M.text==="do"?this._flags.do_block=!0:M.text==="if"?this._flags.if_block=!0:M.text==="import"?this._flags.import_block=!0:this._flags.import_block&&U(M,"from")&&(this._flags.import_block=!1))},ie.prototype.handle_semicolon=function(M){this.start_of_statement(M)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(M);for(var Q=this._tokens.peek();this._flags.mode===le.Statement&&!(this._flags.if_block&&U(Q,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(M)},ie.prototype.handle_string=function(M){M.text.startsWith("`")&&M.newlines===0&&M.whitespace_before===""&&(M.previous.text===")"||this._flags.last_token.type===C.WORD)||(this.start_of_statement(M)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(M),this._flags.last_token.type===C.RESERVED||this._flags.last_token.type===C.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===C.COMMA||this._flags.last_token.type===C.START_EXPR||this._flags.last_token.type===C.EQUALS||this._flags.last_token.type===C.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(M):M.text.startsWith("`")&&this._flags.last_token.type===C.END_EXPR&&(M.previous.text==="]"||M.previous.text===")")&&M.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(M)},ie.prototype.handle_equals=function(M){this.start_of_statement(M)||this.handle_whitespace_and_comments(M),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(M),this._output.space_before_token=!0},ie.prototype.handle_comma=function(M){this.handle_whitespace_and_comments(M,!0),this.print_token(M),this._output.space_before_token=!0,this._flags.declaration_statement?(ue(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(M)):this._flags.mode===le.ObjectLiteral||this._flags.mode===le.Statement&&this._flags.parent.mode===le.ObjectLiteral?(this._flags.mode===le.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(M)},ie.prototype.handle_operator=function(M){var Q=M.text==="*"&&(K(this._flags.last_token,["function","yield"])||D(this._flags.last_token.type,[C.START_BLOCK,C.COMMA,C.END_BLOCK,C.SEMICOLON])),de=D(M.text,["-","+"])&&(D(this._flags.last_token.type,[C.START_BLOCK,C.START_EXPR,C.EQUALS,C.OPERATOR])||D(this._flags.last_token.text,R)||this._flags.last_token.text===",");if(!this.start_of_statement(M)){var we=!Q;this.handle_whitespace_and_comments(M,we)}if(M.text==="*"&&this._flags.last_token.type===C.DOT){this.print_token(M);return}if(M.text==="::"){this.print_token(M);return}if(D(M.text,["-","+"])&&this.start_of_object_property()){this.print_token(M);return}if(this._flags.last_token.type===C.OPERATOR&&D(this._options.operator_position,ae)&&this.allow_wrap_or_preserved_newline(M),M.text===":"&&this._flags.in_case){this.print_token(M),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==C.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var Ce=!0,je=!0,Fe=!1;if(M.text===":"?this._flags.ternary_depth===0?Ce=!1:(this._flags.ternary_depth-=1,Fe=!0):M.text==="?"&&(this._flags.ternary_depth+=1),!de&&!Q&&this._options.preserve_newlines&&D(M.text,L)){var Ft=M.text===":",_t=Ft&&Fe,Pt=Ft&&!Fe;switch(this._options.operator_position){case oe.before_newline:this._output.space_before_token=!Pt,this.print_token(M),(!Ft||_t)&&this.allow_wrap_or_preserved_newline(M),this._output.space_before_token=!0;return;case oe.after_newline:this._output.space_before_token=!0,!Ft||_t?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(M):this._output.space_before_token=!1,this.print_token(M),this._output.space_before_token=!0;return;case oe.preserve_newline:Pt||this.allow_wrap_or_preserved_newline(M),Ce=!(this._output.just_added_newline()||Pt),this._output.space_before_token=Ce,this.print_token(M),this._output.space_before_token=!0;return}}if(Q){this.allow_wrap_or_preserved_newline(M),Ce=!1;var qt=this._tokens.peek();je=qt&&D(qt.type,[C.WORD,C.RESERVED])}else if(M.text==="...")this.allow_wrap_or_preserved_newline(M),Ce=this._flags.last_token.type===C.START_BLOCK,je=!1;else if(D(M.text,["--","++","!","~"])||de){if((this._flags.last_token.type===C.COMMA||this._flags.last_token.type===C.START_EXPR)&&this.allow_wrap_or_preserved_newline(M),Ce=!1,je=!1,M.newlines&&(M.text==="--"||M.text==="++"||M.text==="~")){var er=K(this._flags.last_token,V)&&M.newlines;er&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(er,!0)}this._flags.last_token.text===";"&&ue(this._flags.mode)&&(Ce=!0),this._flags.last_token.type===C.RESERVED?Ce=!0:this._flags.last_token.type===C.END_EXPR?Ce=!(this._flags.last_token.text==="]"&&(M.text==="--"||M.text==="++")):this._flags.last_token.type===C.OPERATOR&&(Ce=D(M.text,["--","-","++","+"])&&D(this._flags.last_token.text,["--","-","++","+"]),D(M.text,["+","-"])&&D(this._flags.last_token.text,["--","++"])&&(je=!0)),(this._flags.mode===le.BlockStatement&&!this._flags.inline_frame||this._flags.mode===le.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Ce,this.print_token(M),this._output.space_before_token=je},ie.prototype.handle_block_comment=function(M,Q){if(this._output.raw){this._output.add_raw_token(M),M.directives&&M.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(M.directives){this.print_newline(!1,Q),this.print_token(M),M.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!_.newline.test(M.text)&&!M.newlines){this._output.space_before_token=!0,this.print_token(M),this._output.space_before_token=!0;return}else this.print_block_commment(M,Q)},ie.prototype.print_block_commment=function(M,Q){var de=J(M.text),we,Ce=!1,je=!1,Fe=M.whitespace_before,Ft=Fe.length;if(this.print_newline(!1,Q),this.print_token_line_indentation(M),this._output.add_token(de[0]),this.print_newline(!1,Q),de.length>1){for(de=de.slice(1),Ce=ne(de,"*"),je=ee(de,Fe),Ce&&(this._flags.alignment=1),we=0;we<de.length;we++)Ce?(this.print_token_line_indentation(M),this._output.add_token(B(de[we]))):je&&de[we]?(this.print_token_line_indentation(M),this._output.add_token(de[we].substring(Ft))):(this._output.current_line.set_indent(-1),this._output.add_token(de[we])),this.print_newline(!1,Q);this._flags.alignment=0}},ie.prototype.handle_comment=function(M,Q){M.newlines?this.print_newline(!1,Q):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(M),this.print_newline(!1,Q)},ie.prototype.handle_dot=function(M){this.start_of_statement(M)||this.handle_whitespace_and_comments(M,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),K(this._flags.last_token,V)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(M,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(M)},ie.prototype.handle_unknown=function(M,Q){this.print_token(M),M.text[M.text.length-1]===`
`&&this.print_newline(!1,Q)},ie.prototype.handle_eof=function(M){for(;this._flags.mode===le.Statement;)this.restore_mode();this.handle_whitespace_and_comments(M)},u.exports.Beautifier=ie},function(u){function a(y){this.__parent=y,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var y=new a(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},a.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},a.prototype.has_match=function(y){for(var _=this.__items.length-1;_>=0;_--)if(this.__items[_].match(y))return!0;return!1},a.prototype.set_indent=function(y,_){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=_||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var y=this.__parent.current_line;return y.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),y.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),y.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,y.__items[0]===" "&&(y.__items.splice(0,1),y.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(y){this.__items.push(y);var _=y.lastIndexOf(`
`);_!==-1?this.__character_count=y.length-_:this.__character_count+=y.length},a.prototype.pop=function(){var y=null;return this.is_empty()||(y=this.__items.pop(),this.__character_count-=y.length),y},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var y="";return this.is_empty()?this.__parent.indent_empty_lines&&(y=this.__parent.get_indent_string(this.__indent_count)):(y=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),y+=this.__items.join("")),y};function x(y,_){this.__cache=[""],this.__indent_size=y.indent_size,this.__indent_string=y.indent_char,y.indent_with_tabs||(this.__indent_string=new Array(y.indent_size+1).join(y.indent_char)),_=_||"",y.indent_level>0&&(_=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=_,this.__base_string_length=_.length}x.prototype.get_indent_size=function(y,_){var b=this.__base_string_length;return _=_||0,y<0&&(b=0),b+=y*this.__indent_size,b+=_,b},x.prototype.get_indent_string=function(y,_){var b=this.__base_string;return _=_||0,y<0&&(y=0,b=""),_+=y*this.__indent_size,this.__ensure_cache(_),b+=this.__cache[_],b},x.prototype.__ensure_cache=function(y){for(;y>=this.__cache.length;)this.__add_column()},x.prototype.__add_column=function(){var y=this.__cache.length,_=0,b="";this.__indent_size&&y>=this.__indent_size&&(_=Math.floor(y/this.__indent_size),y-=_*this.__indent_size,b=new Array(_+1).join(this.__indent_string)),y&&(b+=new Array(y+1).join(" ")),this.__cache.push(b)};function p(y,_){this.__indent_cache=new x(y,_),this.raw=!1,this._end_with_newline=y.end_with_newline,this.indent_size=y.indent_size,this.wrap_line_length=y.wrap_line_length,this.indent_empty_lines=y.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}p.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},p.prototype.get_line_number=function(){return this.__lines.length},p.prototype.get_indent_string=function(y,_){return this.__indent_cache.get_indent_string(y,_)},p.prototype.get_indent_size=function(y,_){return this.__indent_cache.get_indent_size(y,_)},p.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},p.prototype.add_new_line=function(y){return this.is_empty()||!y&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},p.prototype.get_code=function(y){this.trim(!0);var _=this.current_line.pop();_&&(_[_.length-1]===`
`&&(_=_.replace(/\n+$/g,"")),this.current_line.push(_)),this._end_with_newline&&this.__add_outputline();var b=this.__lines.join(`
`);return y!==`
`&&(b=b.replace(/[\n]/g,y)),b},p.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},p.prototype.set_indent=function(y,_){return y=y||0,_=_||0,this.next_line.set_indent(y,_),this.__lines.length>1?(this.current_line.set_indent(y,_),!0):(this.current_line.set_indent(),!1)},p.prototype.add_raw_token=function(y){for(var _=0;_<y.newlines;_++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(y.whitespace_before),this.current_line.push(y.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},p.prototype.add_token=function(y){this.__add_space_before_token(),this.current_line.push(y),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},p.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},p.prototype.remove_indent=function(y){for(var _=this.__lines.length;y<_;)this.__lines[y]._remove_indent(),y++;this.current_line._remove_wrap_indent()},p.prototype.trim=function(y){for(y=y===void 0?!1:y,this.current_line.trim();y&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},p.prototype.just_added_newline=function(){return this.current_line.is_empty()},p.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},p.prototype.ensure_empty_line_above=function(y,_){for(var b=this.__lines.length-2;b>=0;){var S=this.__lines[b];if(S.is_empty())break;if(S.item(0).indexOf(y)!==0&&S.item(-1)!==_){this.__lines.splice(b+1,0,new a(this)),this.previous_line=this.__lines[this.__lines.length-2];break}b--}},u.exports.Output=p},function(u){function a(x,p,y,_){this.type=x,this.text=p,this.comments_before=null,this.newlines=y||0,this.whitespace_before=_||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}u.exports.Token=a},function(u,a){var x="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",p="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",y="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",_="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",b="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",S="(?:"+b+"|["+x+y+"])",R="(?:"+b+"|["+p+y+_+"])*";a.identifier=new RegExp(S+R,"g"),a.identifierStart=new RegExp(S),a.identifierMatch=new RegExp("(?:"+b+"|["+p+y+_+"])+");var L=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;a.newline=/[\n\r\u2028\u2029]/,a.lineBreak=new RegExp(`\r
|`+a.newline.source),a.allLineBreaks=new RegExp(a.lineBreak.source,"g")},function(u,a,x){var p=x(6).Options,y=["before-newline","after-newline","preserve-newline"];function _(b){p.call(this,b,"js");var S=this.raw_options.brace_style||null;S==="expand-strict"?this.raw_options.brace_style="expand":S==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var R=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var L=0;L<R.length;L++)R[L]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=R[L];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",y),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}_.prototype=new p,u.exports.Options=_},function(u){function a(y,_){this.raw_options=x(y,_),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}a.prototype._get_array=function(y,_){var b=this.raw_options[y],S=_||[];return typeof b=="object"?b!==null&&typeof b.concat=="function"&&(S=b.concat()):typeof b=="string"&&(S=b.split(/[^a-zA-Z0-9_\/\-]+/)),S},a.prototype._get_boolean=function(y,_){var b=this.raw_options[y],S=b===void 0?!!_:!!b;return S},a.prototype._get_characters=function(y,_){var b=this.raw_options[y],S=_||"";return typeof b=="string"&&(S=b.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),S},a.prototype._get_number=function(y,_){var b=this.raw_options[y];_=parseInt(_,10),isNaN(_)&&(_=0);var S=parseInt(b,10);return isNaN(S)&&(S=_),S},a.prototype._get_selection=function(y,_,b){var S=this._get_selection_list(y,_,b);if(S.length!==1)throw new Error("Invalid Option Value: The option '"+y+`' can only be one of the following values:
`+_+`
You passed in: '`+this.raw_options[y]+"'");return S[0]},a.prototype._get_selection_list=function(y,_,b){if(!_||_.length===0)throw new Error("Selection list cannot be empty.");if(b=b||[_[0]],!this._is_valid_selection(b,_))throw new Error("Invalid Default Value!");var S=this._get_array(y,b);if(!this._is_valid_selection(S,_))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
`+_+`
You passed in: '`+this.raw_options[y]+"'");return S},a.prototype._is_valid_selection=function(y,_){return y.length&&_.length&&!y.some(function(b){return _.indexOf(b)===-1})};function x(y,_){var b={};y=p(y);var S;for(S in y)S!==_&&(b[S]=y[S]);if(_&&y[_])for(S in y[_])b[S]=y[_][S];return b}function p(y){var _={},b;for(b in y){var S=b.replace(/-/g,"_");_[S]=y[b]}return _}u.exports.Options=a,u.exports.normalizeOpts=p,u.exports.mergeOpts=x},function(u,a,x){var p=x(8).InputScanner,y=x(9).Tokenizer,_=x(9).TOKEN,b=x(13).Directives,S=x(4),R=x(12).Pattern,L=x(14).TemplatablePattern;function C(ne,ee){return ee.indexOf(ne)!==-1}var D={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:_.START,RAW:_.RAW,EOF:_.EOF},B=new b(/\/\*/,/\*\//),$=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,U=/[0-9]/,K=/[^\d\.]/,V=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),G=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";G=G.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),G="\\?\\.(?!\\d) "+G,G=G.replace(/ /g,"|");var oe=new RegExp(G),ae="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),le=ae.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),q=new RegExp("^(?:"+le.join("|")+")$"),J,Y=function(ne,ee){y.call(this,ne,ee),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var ie=new R(this._input),F=new L(this._input).read_options(this._options);this.__patterns={template:F,identifier:F.starting_with(S.identifier).matching(S.identifierMatch),number:ie.matching($),punct:ie.matching(oe),comment:ie.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:ie.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:ie.matching(/<!--/),html_comment_end:ie.matching(/-->/),include:ie.starting_with(/#include/).until_after(S.lineBreak),shebang:ie.starting_with(/#!/).until_after(S.lineBreak),xml:ie.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:F.until(/['\\\n\r\u2028\u2029]/),double_quote:F.until(/["\\\n\r\u2028\u2029]/),template_text:F.until(/[`\\$]/),template_expression:F.until(/[`}\\]/)}};Y.prototype=new y,Y.prototype._is_comment=function(ne){return ne.type===D.COMMENT||ne.type===D.BLOCK_COMMENT||ne.type===D.UNKNOWN},Y.prototype._is_opening=function(ne){return ne.type===D.START_BLOCK||ne.type===D.START_EXPR},Y.prototype._is_closing=function(ne,ee){return(ne.type===D.END_BLOCK||ne.type===D.END_EXPR)&&ee&&(ne.text==="]"&&ee.text==="["||ne.text===")"&&ee.text==="("||ne.text==="}"&&ee.text==="{")},Y.prototype._reset=function(){J=!1},Y.prototype._get_next_token=function(ne,ee){var ie=null;this._readWhitespace();var F=this._input.peek();return F===null?this._create_token(D.EOF,""):(ie=ie||this._read_non_javascript(F),ie=ie||this._read_string(F),ie=ie||this._read_pair(F,this._input.peek(1)),ie=ie||this._read_word(ne),ie=ie||this._read_singles(F),ie=ie||this._read_comment(F),ie=ie||this._read_regexp(F,ne),ie=ie||this._read_xml(F,ne),ie=ie||this._read_punctuation(),ie=ie||this._create_token(D.UNKNOWN,this._input.next()),ie)},Y.prototype._read_word=function(ne){var ee;if(ee=this.__patterns.identifier.read(),ee!=="")return ee=ee.replace(S.allLineBreaks,`
`),!(ne.type===D.DOT||ne.type===D.RESERVED&&(ne.text==="set"||ne.text==="get"))&&q.test(ee)?(ee==="in"||ee==="of")&&(ne.type===D.WORD||ne.type===D.STRING)?this._create_token(D.OPERATOR,ee):this._create_token(D.RESERVED,ee):this._create_token(D.WORD,ee);if(ee=this.__patterns.number.read(),ee!=="")return this._create_token(D.WORD,ee)},Y.prototype._read_singles=function(ne){var ee=null;return ne==="("||ne==="["?ee=this._create_token(D.START_EXPR,ne):ne===")"||ne==="]"?ee=this._create_token(D.END_EXPR,ne):ne==="{"?ee=this._create_token(D.START_BLOCK,ne):ne==="}"?ee=this._create_token(D.END_BLOCK,ne):ne===";"?ee=this._create_token(D.SEMICOLON,ne):ne==="."&&K.test(this._input.peek(1))?ee=this._create_token(D.DOT,ne):ne===","&&(ee=this._create_token(D.COMMA,ne)),ee&&this._input.next(),ee},Y.prototype._read_pair=function(ne,ee){var ie=null;return ne==="#"&&ee==="{"&&(ie=this._create_token(D.START_BLOCK,ne+ee)),ie&&(this._input.next(),this._input.next()),ie},Y.prototype._read_punctuation=function(){var ne=this.__patterns.punct.read();if(ne!=="")return ne==="="?this._create_token(D.EQUALS,ne):ne==="?."?this._create_token(D.DOT,ne):this._create_token(D.OPERATOR,ne)},Y.prototype._read_non_javascript=function(ne){var ee="";if(ne==="#"){if(this._is_first_token()&&(ee=this.__patterns.shebang.read(),ee))return this._create_token(D.UNKNOWN,ee.trim()+`
`);if(ee=this.__patterns.include.read(),ee)return this._create_token(D.UNKNOWN,ee.trim()+`
`);ne=this._input.next();var ie="#";if(this._input.hasNext()&&this._input.testChar(U)){do ne=this._input.next(),ie+=ne;while(this._input.hasNext()&&ne!=="#"&&ne!=="=");return ne==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(ie+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(ie+="{}",this._input.next(),this._input.next())),this._create_token(D.WORD,ie)}this._input.back()}else if(ne==="<"&&this._is_first_token()){if(ee=this.__patterns.html_comment_start.read(),ee){for(;this._input.hasNext()&&!this._input.testChar(S.newline);)ee+=this._input.next();return J=!0,this._create_token(D.COMMENT,ee)}}else if(J&&ne==="-"&&(ee=this.__patterns.html_comment_end.read(),ee))return J=!1,this._create_token(D.COMMENT,ee);return null},Y.prototype._read_comment=function(ne){var ee=null;if(ne==="/"){var ie="";if(this._input.peek(1)==="*"){ie=this.__patterns.block_comment.read();var F=B.get_directives(ie);F&&F.ignore==="start"&&(ie+=B.readIgnored(this._input)),ie=ie.replace(S.allLineBreaks,`
`),ee=this._create_token(D.BLOCK_COMMENT,ie),ee.directives=F}else this._input.peek(1)==="/"&&(ie=this.__patterns.comment.read(),ee=this._create_token(D.COMMENT,ie))}return ee},Y.prototype._read_string=function(ne){if(ne==="`"||ne==="'"||ne==='"'){var ee=this._input.next();return this.has_char_escapes=!1,ne==="`"?ee+=this._read_string_recursive("`",!0,"${"):ee+=this._read_string_recursive(ne),this.has_char_escapes&&this._options.unescape_strings&&(ee=ue(ee)),this._input.peek()===ne&&(ee+=this._input.next()),ee=ee.replace(S.allLineBreaks,`
`),this._create_token(D.STRING,ee)}return null},Y.prototype._allow_regexp_or_xml=function(ne){return ne.type===D.RESERVED&&C(ne.text,["return","case","throw","else","do","typeof","yield"])||ne.type===D.END_EXPR&&ne.text===")"&&ne.opened.previous.type===D.RESERVED&&C(ne.opened.previous.text,["if","while","for"])||C(ne.type,[D.COMMENT,D.START_EXPR,D.START_BLOCK,D.START,D.END_BLOCK,D.OPERATOR,D.EQUALS,D.EOF,D.SEMICOLON,D.COMMA])},Y.prototype._read_regexp=function(ne,ee){if(ne==="/"&&this._allow_regexp_or_xml(ee)){for(var ie=this._input.next(),F=!1,M=!1;this._input.hasNext()&&(F||M||this._input.peek()!==ne)&&!this._input.testChar(S.newline);)ie+=this._input.peek(),F?F=!1:(F=this._input.peek()==="\\",this._input.peek()==="["?M=!0:this._input.peek()==="]"&&(M=!1)),this._input.next();return this._input.peek()===ne&&(ie+=this._input.next(),ie+=this._input.read(S.identifier)),this._create_token(D.STRING,ie)}return null},Y.prototype._read_xml=function(ne,ee){if(this._options.e4x&&ne==="<"&&this._allow_regexp_or_xml(ee)){var ie="",F=this.__patterns.xml.read_match();if(F){for(var M=F[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),Q=M.indexOf("{")===0,de=0;F;){var we=!!F[1],Ce=F[2],je=!!F[F.length-1]||Ce.slice(0,8)==="![CDATA[";if(!je&&(Ce===M||Q&&Ce.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(we?--de:++de),ie+=F[0],de<=0)break;F=this.__patterns.xml.read_match()}return F||(ie+=this._input.match(/[\s\S]*/g)[0]),ie=ie.replace(S.allLineBreaks,`
`),this._create_token(D.STRING,ie)}}return null};function ue(ne){for(var ee="",ie=0,F=new p(ne),M=null;F.hasNext();)if(M=F.match(/([\s]|[^\\]|\\\\)+/g),M&&(ee+=M[0]),F.peek()==="\\"){if(F.next(),F.peek()==="x")M=F.match(/x([0-9A-Fa-f]{2})/g);else if(F.peek()==="u")M=F.match(/u([0-9A-Fa-f]{4})/g),M||(M=F.match(/u\{([0-9A-Fa-f]+)\}/g));else{ee+="\\",F.hasNext()&&(ee+=F.next());continue}if(!M||(ie=parseInt(M[1],16),ie>126&&ie<=255&&M[0].indexOf("x")===0))return ne;ie>=0&&ie<32||ie>1114111?ee+="\\"+M[0]:ie===34||ie===39||ie===92?ee+="\\"+String.fromCharCode(ie):ee+=String.fromCharCode(ie)}return ee}Y.prototype._read_string_recursive=function(ne,ee,ie){var F,M;ne==="'"?M=this.__patterns.single_quote:ne==='"'?M=this.__patterns.double_quote:ne==="`"?M=this.__patterns.template_text:ne==="}"&&(M=this.__patterns.template_expression);for(var Q=M.read(),de="";this._input.hasNext();){if(de=this._input.next(),de===ne||!ee&&S.newline.test(de)){this._input.back();break}else de==="\\"&&this._input.hasNext()?(F=this._input.peek(),F==="x"||F==="u"?this.has_char_escapes=!0:F==="\r"&&this._input.peek(1)===`
`&&this._input.next(),de+=this._input.next()):ie&&(ie==="${"&&de==="$"&&this._input.peek()==="{"&&(de+=this._input.next()),ie===de&&(ne==="`"?de+=this._read_string_recursive("}",ee,"`"):de+=this._read_string_recursive("`",ee,"${"),this._input.hasNext()&&(de+=this._input.next())));de+=M.read(),Q+=de}return Q},u.exports.Tokenizer=Y,u.exports.TOKEN=D,u.exports.positionable_operators=V.slice(),u.exports.line_starters=ae.slice()},function(u){var a=RegExp.prototype.hasOwnProperty("sticky");function x(p){this.__input=p||"",this.__input_length=this.__input.length,this.__position=0}x.prototype.restart=function(){this.__position=0},x.prototype.back=function(){this.__position>0&&(this.__position-=1)},x.prototype.hasNext=function(){return this.__position<this.__input_length},x.prototype.next=function(){var p=null;return this.hasNext()&&(p=this.__input.charAt(this.__position),this.__position+=1),p},x.prototype.peek=function(p){var y=null;return p=p||0,p+=this.__position,p>=0&&p<this.__input_length&&(y=this.__input.charAt(p)),y},x.prototype.__match=function(p,y){p.lastIndex=y;var _=p.exec(this.__input);return _&&!(a&&p.sticky)&&_.index!==y&&(_=null),_},x.prototype.test=function(p,y){return y=y||0,y+=this.__position,y>=0&&y<this.__input_length?!!this.__match(p,y):!1},x.prototype.testChar=function(p,y){var _=this.peek(y);return p.lastIndex=0,_!==null&&p.test(_)},x.prototype.match=function(p){var y=this.__match(p,this.__position);return y?this.__position+=y[0].length:y=null,y},x.prototype.read=function(p,y,_){var b="",S;return p&&(S=this.match(p),S&&(b+=S[0])),y&&(S||!p)&&(b+=this.readUntil(y,_)),b},x.prototype.readUntil=function(p,y){var _="",b=this.__position;p.lastIndex=this.__position;var S=p.exec(this.__input);return S?(b=S.index,y&&(b+=S[0].length)):b=this.__input_length,_=this.__input.substring(this.__position,b),this.__position=b,_},x.prototype.readUntilAfter=function(p){return this.readUntil(p,!0)},x.prototype.get_regexp=function(p,y){var _=null,b="g";return y&&a&&(b="y"),typeof p=="string"&&p!==""?_=new RegExp(p,b):p&&(_=new RegExp(p.source,b)),_},x.prototype.get_literal_regexp=function(p){return RegExp(p.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},x.prototype.peekUntilAfter=function(p){var y=this.__position,_=this.readUntilAfter(p);return this.__position=y,_},x.prototype.lookBack=function(p){var y=this.__position-1;return y>=p.length&&this.__input.substring(y-p.length,y).toLowerCase()===p},u.exports.InputScanner=x},function(u,a,x){var p=x(8).InputScanner,y=x(3).Token,_=x(10).TokenStream,b=x(11).WhitespacePattern,S={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},R=function(L,C){this._input=new p(L),this._options=C||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new b(this._input)};R.prototype.tokenize=function(){this._input.restart(),this.__tokens=new _,this._reset();for(var L,C=new y(S.START,""),D=null,B=[],$=new _;C.type!==S.EOF;){for(L=this._get_next_token(C,D);this._is_comment(L);)$.add(L),L=this._get_next_token(C,D);$.isEmpty()||(L.comments_before=$,$=new _),L.parent=D,this._is_opening(L)?(B.push(D),D=L):D&&this._is_closing(L,D)&&(L.opened=D,D.closed=L,D=B.pop(),L.parent=D),L.previous=C,C.next=L,this.__tokens.add(L),C=L}return this.__tokens},R.prototype._is_first_token=function(){return this.__tokens.isEmpty()},R.prototype._reset=function(){},R.prototype._get_next_token=function(L,C){this._readWhitespace();var D=this._input.read(/.+/g);return D?this._create_token(S.RAW,D):this._create_token(S.EOF,"")},R.prototype._is_comment=function(L){return!1},R.prototype._is_opening=function(L){return!1},R.prototype._is_closing=function(L,C){return!1},R.prototype._create_token=function(L,C){var D=new y(L,C,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return D},R.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},u.exports.Tokenizer=R,u.exports.TOKEN=S},function(u){function a(x){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=x}a.prototype.restart=function(){this.__position=0},a.prototype.isEmpty=function(){return this.__tokens_length===0},a.prototype.hasNext=function(){return this.__position<this.__tokens_length},a.prototype.next=function(){var x=null;return this.hasNext()&&(x=this.__tokens[this.__position],this.__position+=1),x},a.prototype.peek=function(x){var p=null;return x=x||0,x+=this.__position,x>=0&&x<this.__tokens_length&&(p=this.__tokens[x]),p},a.prototype.add=function(x){this.__parent_token&&(x.parent=this.__parent_token),this.__tokens.push(x),this.__tokens_length+=1},u.exports.TokenStream=a},function(u,a,x){var p=x(12).Pattern;function y(_,b){p.call(this,_,b),b?this._line_regexp=this._input.get_regexp(b._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}y.prototype=new p,y.prototype.__set_whitespace_patterns=function(_,b){_+="\\t ",b+="\\n\\r",this._match_pattern=this._input.get_regexp("["+_+b+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+b+"]")},y.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var _=this._input.read(this._match_pattern);if(_===" ")this.whitespace_before_token=" ";else if(_){var b=this.__split(this._newline_regexp,_);this.newline_count=b.length-1,this.whitespace_before_token=b[this.newline_count]}return _},y.prototype.matching=function(_,b){var S=this._create();return S.__set_whitespace_patterns(_,b),S._update(),S},y.prototype._create=function(){return new y(this._input,this)},y.prototype.__split=function(_,b){_.lastIndex=0;for(var S=0,R=[],L=_.exec(b);L;)R.push(b.substring(S,L.index)),S=L.index+L[0].length,L=_.exec(b);return S<b.length?R.push(b.substring(S,b.length)):R.push(""),R},u.exports.WhitespacePattern=y},function(u){function a(x,p){this._input=x,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,p&&(this._starting_pattern=this._input.get_regexp(p._starting_pattern,!0),this._match_pattern=this._input.get_regexp(p._match_pattern,!0),this._until_pattern=this._input.get_regexp(p._until_pattern),this._until_after=p._until_after)}a.prototype.read=function(){var x=this._input.read(this._starting_pattern);return(!this._starting_pattern||x)&&(x+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),x},a.prototype.read_match=function(){return this._input.match(this._match_pattern)},a.prototype.until_after=function(x){var p=this._create();return p._until_after=!0,p._until_pattern=this._input.get_regexp(x),p._update(),p},a.prototype.until=function(x){var p=this._create();return p._until_after=!1,p._until_pattern=this._input.get_regexp(x),p._update(),p},a.prototype.starting_with=function(x){var p=this._create();return p._starting_pattern=this._input.get_regexp(x,!0),p._update(),p},a.prototype.matching=function(x){var p=this._create();return p._match_pattern=this._input.get_regexp(x,!0),p._update(),p},a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){},u.exports.Pattern=a},function(u){function a(x,p){x=typeof x=="string"?x:x.source,p=typeof p=="string"?p:p.source,this.__directives_block_pattern=new RegExp(x+/ beautify( \w+[:]\w+)+ /.source+p,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(x+/\sbeautify\signore:end\s/.source+p,"g")}a.prototype.get_directives=function(x){if(!x.match(this.__directives_block_pattern))return null;var p={};this.__directive_pattern.lastIndex=0;for(var y=this.__directive_pattern.exec(x);y;)p[y[1]]=y[2],y=this.__directive_pattern.exec(x);return p},a.prototype.readIgnored=function(x){return x.readUntilAfter(this.__directives_end_ignore_pattern)},u.exports.Directives=a},function(u,a,x){var p=x(12).Pattern,y={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function _(b,S){p.call(this,b,S),this.__template_pattern=null,this._disabled=Object.assign({},y),this._excluded=Object.assign({},y),S&&(this.__template_pattern=this._input.get_regexp(S.__template_pattern),this._excluded=Object.assign(this._excluded,S._excluded),this._disabled=Object.assign(this._disabled,S._disabled));var R=new p(b);this.__patterns={handlebars_comment:R.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:R.starting_with(/{{{/).until_after(/}}}/),handlebars:R.starting_with(/{{/).until_after(/}}/),php:R.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:R.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:R.starting_with(/{%/).until_after(/%}/),django_value:R.starting_with(/{{/).until_after(/}}/),django_comment:R.starting_with(/{#/).until_after(/#}/),smarty:R.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:R.starting_with(/{\*/).until_after(/\*}/),smarty_literal:R.starting_with(/{literal}/).until_after(/{\/literal}/)}}_.prototype=new p,_.prototype._create=function(){return new _(this._input,this)},_.prototype._update=function(){this.__set_templated_pattern()},_.prototype.disable=function(b){var S=this._create();return S._disabled[b]=!0,S._update(),S},_.prototype.read_options=function(b){var S=this._create();for(var R in y)S._disabled[R]=b.templating.indexOf(R)===-1;return S._update(),S},_.prototype.exclude=function(b){var S=this._create();return S._excluded[b]=!0,S._update(),S},_.prototype.read=function(){var b="";this._match_pattern?b=this._input.read(this._starting_pattern):b=this._input.read(this._starting_pattern,this.__template_pattern);for(var S=this._read_template();S;)this._match_pattern?S+=this._input.read(this._match_pattern):S+=this._input.readUntil(this.__template_pattern),b+=S,S=this._read_template();return this._until_after&&(b+=this._input.readUntilAfter(this._until_pattern)),b},_.prototype.__set_templated_pattern=function(){var b=[];this._disabled.php||b.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||b.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||b.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||b.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(b.push(this.__patterns.django._starting_pattern.source),b.push(this.__patterns.django_value._starting_pattern.source),b.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||b.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&b.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+b.join("|")+")")},_.prototype._read_template=function(){var b="",S=this._input.peek();if(S==="<"){var R=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&R==="?"&&(b=b||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&R==="%"&&(b=b||this.__patterns.erb.read())}else S==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(b=b||this.__patterns.handlebars_comment.read(),b=b||this.__patterns.handlebars_unescaped.read(),b=b||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(b=b||this.__patterns.django_value.read()),this._excluded.django||(b=b||this.__patterns.django_comment.read(),b=b||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(b=b||this.__patterns.smarty_comment.read(),b=b||this.__patterns.smarty_literal.read(),b=b||this.__patterns.smarty.read()));return b},u.exports.TemplatablePattern=_}],f={};function s(u){var a=f[u];if(a!==void 0)return a.exports;var x=f[u]={exports:{}};return c[u](x,x.exports,s),x.exports}var h=s(0);i=h})();var l=i;e=[],r=function(){return{js_beautify:l}}.apply(g,e),r!==void 0&&(d.exports=r)})()},15342:function(d){(function(e,r){d.exports=r()})(typeof self!="undefined"?self:this,function(){return function(g){var e={};function r(i){if(e[i])return e[i].exports;var l=e[i]={i,l:!1,exports:{}};return g[i].call(l.exports,l,l.exports,r),l.l=!0,l.exports}return r.m=g,r.c=e,r.d=function(i,l,c){r.o(i,l)||Object.defineProperty(i,l,{enumerable:!0,get:c})},r.r=function(i){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},r.t=function(i,l){if(l&1&&(i=r(i)),l&8||l&4&&typeof i=="object"&&i&&i.__esModule)return i;var c=Object.create(null);if(r.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:i}),l&2&&typeof i!="string")for(var f in i)r.d(c,f,function(s){return i[s]}.bind(null,f));return c},r.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(l,"a",l),l},r.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},r.p="",r(r.s=1)}([function(g,e,r){},function(g,e,r){"use strict";r.r(e);var i=r(0),l=function(){function Ve(W,X,te){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=W,this.start=X,this.end=te}return Ve.range=function(X,te){return te?!X||!X.loc||!te.loc||X.loc.lexer!==te.loc.lexer?null:new Ve(X.loc.lexer,X.loc.start,te.loc.end):X&&X.loc},Ve}(),c=function(){function Ve(X,te){this.text=void 0,this.loc=void 0,this.text=X,this.loc=te}var W=Ve.prototype;return W.range=function(te,pe){return new Ve(pe,l.range(this,te))},Ve}(),f=function Ve(W,X){this.position=void 0;var te="KaTeX parse error: "+W,pe,Te=X&&X.loc;if(Te&&Te.start<=Te.end){var Ge=Te.lexer.input;pe=Te.start;var xt=Te.end;pe===Ge.length?te+=" at end of input: ":te+=" at position "+(pe+1)+": ";var Bt=Ge.slice(pe,xt).replace(/[^]/g,"$&\u0332"),nr;pe>15?nr="\u2026"+Ge.slice(pe-15,pe):nr=Ge.slice(0,pe);var Tr;xt+15<Ge.length?Tr=Ge.slice(xt,xt+15)+"\u2026":Tr=Ge.slice(xt),te+=nr+Bt+Tr}var Wr=new Error(te);return Wr.name="ParseError",Wr.__proto__=Ve.prototype,Wr.position=pe,Wr};f.prototype.__proto__=Error.prototype;var s=f,h=function(W,X){return W.indexOf(X)!==-1},u=function(W,X){return W===void 0?X:W},a=/([A-Z])/g,x=function(W){return W.replace(a,"-$1").toLowerCase()},p={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},y=/[&><"']/g;function _(Ve){return String(Ve).replace(y,function(W){return p[W]})}var b=function Ve(W){return W.type==="ordgroup"||W.type==="color"?W.body.length===1?Ve(W.body[0]):W:W.type==="font"?Ve(W.body):W},S=function(W){var X=b(W);return X.type==="mathord"||X.type==="textord"||X.type==="atom"},R=function(W){if(!W)throw new Error("Expected non-null, but got "+String(W));return W},L=function(W){var X=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(W);return X!=null?X[1]:"_relative"},C={contains:h,deflt:u,escape:_,hyphenate:x,getBaseElem:b,isCharacterBox:S,protocolFromUrl:L},D=function(){function Ve(X){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,X=X||{},this.displayMode=C.deflt(X.displayMode,!1),this.output=C.deflt(X.output,"htmlAndMathml"),this.leqno=C.deflt(X.leqno,!1),this.fleqn=C.deflt(X.fleqn,!1),this.throwOnError=C.deflt(X.throwOnError,!0),this.errorColor=C.deflt(X.errorColor,"#cc0000"),this.macros=X.macros||{},this.minRuleThickness=Math.max(0,C.deflt(X.minRuleThickness,0)),this.colorIsTextColor=C.deflt(X.colorIsTextColor,!1),this.strict=C.deflt(X.strict,"warn"),this.trust=C.deflt(X.trust,!1),this.maxSize=Math.max(0,C.deflt(X.maxSize,1/0)),this.maxExpand=Math.max(0,C.deflt(X.maxExpand,1e3))}var W=Ve.prototype;return W.reportNonstrict=function(te,pe,Te){var Ge=this.strict;if(typeof Ge=="function"&&(Ge=Ge(te,pe,Te)),!(!Ge||Ge==="ignore")){if(Ge===!0||Ge==="error")throw new s("LaTeX-incompatible input and strict mode is set to 'error': "+(pe+" ["+te+"]"),Te);Ge==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(pe+" ["+te+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ge+"': "+pe+" ["+te+"]"))}},W.useStrictBehavior=function(te,pe,Te){var Ge=this.strict;if(typeof Ge=="function")try{Ge=Ge(te,pe,Te)}catch(xt){Ge="error"}return!Ge||Ge==="ignore"?!1:Ge===!0||Ge==="error"?!0:Ge==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(pe+" ["+te+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ge+"': "+pe+" ["+te+"]")),!1)},W.isTrusted=function(te){te.url&&!te.protocol&&(te.protocol=C.protocolFromUrl(te.url));var pe=typeof this.trust=="function"?this.trust(te):this.trust;return!!pe},Ve}(),B=function(){function Ve(X,te,pe){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=X,this.size=te,this.cramped=pe}var W=Ve.prototype;return W.sup=function(){return q[J[this.id]]},W.sub=function(){return q[Y[this.id]]},W.fracNum=function(){return q[ue[this.id]]},W.fracDen=function(){return q[ne[this.id]]},W.cramp=function(){return q[ee[this.id]]},W.text=function(){return q[ie[this.id]]},W.isTight=function(){return this.size>=2},Ve}(),$=0,U=1,K=2,V=3,G=4,oe=5,ae=6,le=7,q=[new B($,0,!1),new B(U,0,!0),new B(K,1,!1),new B(V,1,!0),new B(G,2,!1),new B(oe,2,!0),new B(ae,3,!1),new B(le,3,!0)],J=[G,oe,G,oe,ae,le,ae,le],Y=[oe,oe,oe,oe,le,le,le,le],ue=[K,V,G,oe,ae,le,ae,le],ne=[V,V,oe,oe,le,le,le,le],ee=[U,U,V,V,oe,oe,le,le],ie=[$,U,K,V,K,V,K,V],F={DISPLAY:q[$],TEXT:q[K],SCRIPT:q[G],SCRIPTSCRIPT:q[ae]},M=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Q(Ve){for(var W=0;W<M.length;W++)for(var X=M[W],te=0;te<X.blocks.length;te++){var pe=X.blocks[te];if(Ve>=pe[0]&&Ve<=pe[1])return X.name}return null}var de=[];M.forEach(function(Ve){return Ve.blocks.forEach(function(W){return de.push.apply(de,W)})});function we(Ve){for(var W=0;W<de.length;W+=2)if(Ve>=de[W]&&Ve<=de[W+1])return!0;return!1}var Ce=80,je=function(W,X){return"M95,"+(622+W+X)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+W/2.075+" -"+W+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+W)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+W)+" "+X+"h400000v"+(40+W)+"h-400000z"},Fe=function(W,X){return"M263,"+(601+W+X)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+W/2.084+" -"+W+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+W)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+W)+" "+X+"h400000v"+(40+W)+"h-400000z"},Ft=function(W,X){return"M983 "+(10+W+X)+`
l`+W/3.13+" -"+W+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+W)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+W)+" "+X+"h400000v"+(40+W)+"h-400000z"},_t=function(W,X){return"M424,"+(2398+W+X)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+W/4.223+" -"+W+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+W)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+W)+" "+X+`
h400000v`+(40+W)+"h-400000z"},Pt=function(W,X){return"M473,"+(2713+W+X)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+W/5.298+" -"+W+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+W)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+W)+" "+X+"h400000v"+(40+W)+"H1017.7z"},qt=function(W,X,te){var pe=te-54-X-W;return"M702 "+(W+X)+"H400000"+(40+W)+`
H742v`+pe+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+X+"H400000v"+(40+W)+"H742z"},er=function(W,X,te){X=1e3*X;var pe="";switch(W){case"sqrtMain":pe=je(X,Ce);break;case"sqrtSize1":pe=Fe(X,Ce);break;case"sqrtSize2":pe=Ft(X,Ce);break;case"sqrtSize3":pe=_t(X,Ce);break;case"sqrtSize4":pe=Pt(X,Ce);break;case"sqrtTall":pe=qt(X,Ce,te)}return pe},Jt={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Xe=function(){function Ve(X){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=X,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var W=Ve.prototype;return W.hasClass=function(te){return C.contains(this.classes,te)},W.toNode=function(){for(var te=document.createDocumentFragment(),pe=0;pe<this.children.length;pe++)te.appendChild(this.children[pe].toNode());return te},W.toMarkup=function(){for(var te="",pe=0;pe<this.children.length;pe++)te+=this.children[pe].toMarkup();return te},W.toText=function(){var te=function(Te){return Te.toText()};return this.children.map(te).join("")},Ve}(),It=function(W){return W.filter(function(X){return X}).join(" ")},zt=function(W,X,te){if(this.classes=W||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=te||{},X){X.style.isTight()&&this.classes.push("mtight");var pe=X.getColor();pe&&(this.style.color=pe)}},st=function(W){var X=document.createElement(W);X.className=It(this.classes);for(var te in this.style)this.style.hasOwnProperty(te)&&(X.style[te]=this.style[te]);for(var pe in this.attributes)this.attributes.hasOwnProperty(pe)&&X.setAttribute(pe,this.attributes[pe]);for(var Te=0;Te<this.children.length;Te++)X.appendChild(this.children[Te].toNode());return X},bt=function(W){var X="<"+W;this.classes.length&&(X+=' class="'+C.escape(It(this.classes))+'"');var te="";for(var pe in this.style)this.style.hasOwnProperty(pe)&&(te+=C.hyphenate(pe)+":"+this.style[pe]+";");te&&(X+=' style="'+C.escape(te)+'"');for(var Te in this.attributes)this.attributes.hasOwnProperty(Te)&&(X+=" "+Te+'="'+C.escape(this.attributes[Te])+'"');X+=">";for(var Ge=0;Ge<this.children.length;Ge++)X+=this.children[Ge].toMarkup();return X+="</"+W+">",X},ht=function(){function Ve(X,te,pe,Te){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,zt.call(this,X,pe,Te),this.children=te||[]}var W=Ve.prototype;return W.setAttribute=function(te,pe){this.attributes[te]=pe},W.hasClass=function(te){return C.contains(this.classes,te)},W.toNode=function(){return st.call(this,"span")},W.toMarkup=function(){return bt.call(this,"span")},Ve}(),Je=function(){function Ve(X,te,pe,Te){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,zt.call(this,te,Te),this.children=pe||[],this.setAttribute("href",X)}var W=Ve.prototype;return W.setAttribute=function(te,pe){this.attributes[te]=pe},W.hasClass=function(te){return C.contains(this.classes,te)},W.toNode=function(){return st.call(this,"a")},W.toMarkup=function(){return bt.call(this,"a")},Ve}(),Ue=function(){function Ve(X,te,pe){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=te,this.src=X,this.classes=["mord"],this.style=pe}var W=Ve.prototype;return W.hasClass=function(te){return C.contains(this.classes,te)},W.toNode=function(){var te=document.createElement("img");te.src=this.src,te.alt=this.alt,te.className="mord";for(var pe in this.style)this.style.hasOwnProperty(pe)&&(te.style[pe]=this.style[pe]);return te},W.toMarkup=function(){var te="<img src='"+this.src+" 'alt='"+this.alt+"' ",pe="";for(var Te in this.style)this.style.hasOwnProperty(Te)&&(pe+=C.hyphenate(Te)+":"+this.style[Te]+";");return pe&&(te+=' style="'+C.escape(pe)+'"'),te+="'/>",te},Ve}(),ge={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Ae=function(){function Ve(X,te,pe,Te,Ge,xt,Bt,nr){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=X,this.height=te||0,this.depth=pe||0,this.italic=Te||0,this.skew=Ge||0,this.width=xt||0,this.classes=Bt||[],this.style=nr||{},this.maxFontSize=0;var Tr=Q(this.text.charCodeAt(0));Tr&&this.classes.push(Tr+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ge[this.text])}var W=Ve.prototype;return W.hasClass=function(te){return C.contains(this.classes,te)},W.toNode=function(){var te=document.createTextNode(this.text),pe=null;this.italic>0&&(pe=document.createElement("span"),pe.style.marginRight=this.italic+"em"),this.classes.length>0&&(pe=pe||document.createElement("span"),pe.className=It(this.classes));for(var Te in this.style)this.style.hasOwnProperty(Te)&&(pe=pe||document.createElement("span"),pe.style[Te]=this.style[Te]);return pe?(pe.appendChild(te),pe):te},W.toMarkup=function(){var te=!1,pe="<span";this.classes.length&&(te=!0,pe+=' class="',pe+=C.escape(It(this.classes)),pe+='"');var Te="";this.italic>0&&(Te+="margin-right:"+this.italic+"em;");for(var Ge in this.style)this.style.hasOwnProperty(Ge)&&(Te+=C.hyphenate(Ge)+":"+this.style[Ge]+";");Te&&(te=!0,pe+=' style="'+C.escape(Te)+'"');var xt=C.escape(this.text);return te?(pe+=">",pe+=xt,pe+="</span>",pe):xt},Ve}(),Me=function(){function Ve(X,te){this.children=void 0,this.attributes=void 0,this.children=X||[],this.attributes=te||{}}var W=Ve.prototype;return W.toNode=function(){var te="http://www.w3.org/2000/svg",pe=document.createElementNS(te,"svg");for(var Te in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Te)&&pe.setAttribute(Te,this.attributes[Te]);for(var Ge=0;Ge<this.children.length;Ge++)pe.appendChild(this.children[Ge].toNode());return pe},W.toMarkup=function(){var te="<svg";for(var pe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,pe)&&(te+=" "+pe+"='"+this.attributes[pe]+"'");te+=">";for(var Te=0;Te<this.children.length;Te++)te+=this.children[Te].toMarkup();return te+="</svg>",te},Ve}(),$e=function(){function Ve(X,te){this.pathName=void 0,this.alternate=void 0,this.pathName=X,this.alternate=te}var W=Ve.prototype;return W.toNode=function(){var te="http://www.w3.org/2000/svg",pe=document.createElementNS(te,"path");return this.alternate?pe.setAttribute("d",this.alternate):pe.setAttribute("d",Jt[this.pathName]),pe},W.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+Jt[this.pathName]+"'/>"},Ve}(),He=function(){function Ve(X){this.attributes=void 0,this.attributes=X||{}}var W=Ve.prototype;return W.toNode=function(){var te="http://www.w3.org/2000/svg",pe=document.createElementNS(te,"line");for(var Te in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Te)&&pe.setAttribute(Te,this.attributes[Te]);return pe},W.toMarkup=function(){var te="<line";for(var pe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,pe)&&(te+=" "+pe+"='"+this.attributes[pe]+"'");return te+="/>",te},Ve}();function nt(Ve){if(Ve instanceof Ae)return Ve;throw new Error("Expected symbolNode but got "+String(Ve)+".")}function ct(Ve){if(Ve instanceof ht)return Ve;throw new Error("Expected span<HtmlDomNode> but got "+String(Ve)+".")}var Vt={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Wt={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},De={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function qe(Ve,W){Vt[Ve]=W}function Gt(Ve,W,X){if(!Vt[W])throw new Error("Font metrics not found for font: "+W+".");var te=Ve.charCodeAt(0),pe=Vt[W][te];if(!pe&&Ve[0]in De&&(te=De[Ve[0]].charCodeAt(0),pe=Vt[W][te]),!pe&&X==="text"&&we(te)&&(pe=Vt[W][77]),pe)return{depth:pe[0],height:pe[1],italic:pe[2],skew:pe[3],width:pe[4]}}var kt={};function Ht(Ve){var W;if(Ve>=5?W=0:Ve>=3?W=1:W=2,!kt[W]){var X=kt[W]={cssEmPerMu:Wt.quad[W]/18};for(var te in Wt)Wt.hasOwnProperty(te)&&(X[te]=Wt[te][W])}return kt[W]}var $t={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Ct={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Yt={math:{},text:{}},We=Yt;function fe(Ve,W,X,te,pe,Te){Yt[Ve][pe]={font:W,group:X,replace:te},Te&&te&&(Yt[Ve][te]=Yt[Ve][pe])}var _e="math",Ot="text",Pe="main",dt="ams",Zt="accent-token",Tt="bin",ke="close",St="inner",be="mathord",Ke="op-token",gt="open",Rt="punct",Be="rel",kr="spacing",At="textord";fe(_e,Pe,Be,"\u2261","\\equiv",!0),fe(_e,Pe,Be,"\u227A","\\prec",!0),fe(_e,Pe,Be,"\u227B","\\succ",!0),fe(_e,Pe,Be,"\u223C","\\sim",!0),fe(_e,Pe,Be,"\u22A5","\\perp"),fe(_e,Pe,Be,"\u2AAF","\\preceq",!0),fe(_e,Pe,Be,"\u2AB0","\\succeq",!0),fe(_e,Pe,Be,"\u2243","\\simeq",!0),fe(_e,Pe,Be,"\u2223","\\mid",!0),fe(_e,Pe,Be,"\u226A","\\ll",!0),fe(_e,Pe,Be,"\u226B","\\gg",!0),fe(_e,Pe,Be,"\u224D","\\asymp",!0),fe(_e,Pe,Be,"\u2225","\\parallel"),fe(_e,Pe,Be,"\u22C8","\\bowtie",!0),fe(_e,Pe,Be,"\u2323","\\smile",!0),fe(_e,Pe,Be,"\u2291","\\sqsubseteq",!0),fe(_e,Pe,Be,"\u2292","\\sqsupseteq",!0),fe(_e,Pe,Be,"\u2250","\\doteq",!0),fe(_e,Pe,Be,"\u2322","\\frown",!0),fe(_e,Pe,Be,"\u220B","\\ni",!0),fe(_e,Pe,Be,"\u221D","\\propto",!0),fe(_e,Pe,Be,"\u22A2","\\vdash",!0),fe(_e,Pe,Be,"\u22A3","\\dashv",!0),fe(_e,Pe,Be,"\u220B","\\owns"),fe(_e,Pe,Rt,".","\\ldotp"),fe(_e,Pe,Rt,"\u22C5","\\cdotp"),fe(_e,Pe,At,"#","\\#"),fe(Ot,Pe,At,"#","\\#"),fe(_e,Pe,At,"&","\\&"),fe(Ot,Pe,At,"&","\\&"),fe(_e,Pe,At,"\u2135","\\aleph",!0),fe(_e,Pe,At,"\u2200","\\forall",!0),fe(_e,Pe,At,"\u210F","\\hbar",!0),fe(_e,Pe,At,"\u2203","\\exists",!0),fe(_e,Pe,At,"\u2207","\\nabla",!0),fe(_e,Pe,At,"\u266D","\\flat",!0),fe(_e,Pe,At,"\u2113","\\ell",!0),fe(_e,Pe,At,"\u266E","\\natural",!0),fe(_e,Pe,At,"\u2663","\\clubsuit",!0),fe(_e,Pe,At,"\u2118","\\wp",!0),fe(_e,Pe,At,"\u266F","\\sharp",!0),fe(_e,Pe,At,"\u2662","\\diamondsuit",!0),fe(_e,Pe,At,"\u211C","\\Re",!0),fe(_e,Pe,At,"\u2661","\\heartsuit",!0),fe(_e,Pe,At,"\u2111","\\Im",!0),fe(_e,Pe,At,"\u2660","\\spadesuit",!0),fe(Ot,Pe,At,"\xA7","\\S",!0),fe(Ot,Pe,At,"\xB6","\\P",!0),fe(_e,Pe,At,"\u2020","\\dag"),fe(Ot,Pe,At,"\u2020","\\dag"),fe(Ot,Pe,At,"\u2020","\\textdagger"),fe(_e,Pe,At,"\u2021","\\ddag"),fe(Ot,Pe,At,"\u2021","\\ddag"),fe(Ot,Pe,At,"\u2021","\\textdaggerdbl"),fe(_e,Pe,ke,"\u23B1","\\rmoustache",!0),fe(_e,Pe,gt,"\u23B0","\\lmoustache",!0),fe(_e,Pe,ke,"\u27EF","\\rgroup",!0),fe(_e,Pe,gt,"\u27EE","\\lgroup",!0),fe(_e,Pe,Tt,"\u2213","\\mp",!0),fe(_e,Pe,Tt,"\u2296","\\ominus",!0),fe(_e,Pe,Tt,"\u228E","\\uplus",!0),fe(_e,Pe,Tt,"\u2293","\\sqcap",!0),fe(_e,Pe,Tt,"\u2217","\\ast"),fe(_e,Pe,Tt,"\u2294","\\sqcup",!0),fe(_e,Pe,Tt,"\u25EF","\\bigcirc"),fe(_e,Pe,Tt,"\u2219","\\bullet"),fe(_e,Pe,Tt,"\u2021","\\ddagger"),fe(_e,Pe,Tt,"\u2240","\\wr",!0),fe(_e,Pe,Tt,"\u2A3F","\\amalg"),fe(_e,Pe,Tt,"&","\\And"),fe(_e,Pe,Be,"\u27F5","\\longleftarrow",!0),fe(_e,Pe,Be,"\u21D0","\\Leftarrow",!0),fe(_e,Pe,Be,"\u27F8","\\Longleftarrow",!0),fe(_e,Pe,Be,"\u27F6","\\longrightarrow",!0),fe(_e,Pe,Be,"\u21D2","\\Rightarrow",!0),fe(_e,Pe,Be,"\u27F9","\\Longrightarrow",!0),fe(_e,Pe,Be,"\u2194","\\leftrightarrow",!0),fe(_e,Pe,Be,"\u27F7","\\longleftrightarrow",!0),fe(_e,Pe,Be,"\u21D4","\\Leftrightarrow",!0),fe(_e,Pe,Be,"\u27FA","\\Longleftrightarrow",!0),fe(_e,Pe,Be,"\u21A6","\\mapsto",!0),fe(_e,Pe,Be,"\u27FC","\\longmapsto",!0),fe(_e,Pe,Be,"\u2197","\\nearrow",!0),fe(_e,Pe,Be,"\u21A9","\\hookleftarrow",!0),fe(_e,Pe,Be,"\u21AA","\\hookrightarrow",!0),fe(_e,Pe,Be,"\u2198","\\searrow",!0),fe(_e,Pe,Be,"\u21BC","\\leftharpoonup",!0),fe(_e,Pe,Be,"\u21C0","\\rightharpoonup",!0),fe(_e,Pe,Be,"\u2199","\\swarrow",!0),fe(_e,Pe,Be,"\u21BD","\\leftharpoondown",!0),fe(_e,Pe,Be,"\u21C1","\\rightharpoondown",!0),fe(_e,Pe,Be,"\u2196","\\nwarrow",!0),fe(_e,Pe,Be,"\u21CC","\\rightleftharpoons",!0),fe(_e,dt,Be,"\u226E","\\nless",!0),fe(_e,dt,Be,"\uE010","\\@nleqslant"),fe(_e,dt,Be,"\uE011","\\@nleqq"),fe(_e,dt,Be,"\u2A87","\\lneq",!0),fe(_e,dt,Be,"\u2268","\\lneqq",!0),fe(_e,dt,Be,"\uE00C","\\@lvertneqq"),fe(_e,dt,Be,"\u22E6","\\lnsim",!0),fe(_e,dt,Be,"\u2A89","\\lnapprox",!0),fe(_e,dt,Be,"\u2280","\\nprec",!0),fe(_e,dt,Be,"\u22E0","\\npreceq",!0),fe(_e,dt,Be,"\u22E8","\\precnsim",!0),fe(_e,dt,Be,"\u2AB9","\\precnapprox",!0),fe(_e,dt,Be,"\u2241","\\nsim",!0),fe(_e,dt,Be,"\uE006","\\@nshortmid"),fe(_e,dt,Be,"\u2224","\\nmid",!0),fe(_e,dt,Be,"\u22AC","\\nvdash",!0),fe(_e,dt,Be,"\u22AD","\\nvDash",!0),fe(_e,dt,Be,"\u22EA","\\ntriangleleft"),fe(_e,dt,Be,"\u22EC","\\ntrianglelefteq",!0),fe(_e,dt,Be,"\u228A","\\subsetneq",!0),fe(_e,dt,Be,"\uE01A","\\@varsubsetneq"),fe(_e,dt,Be,"\u2ACB","\\subsetneqq",!0),fe(_e,dt,Be,"\uE017","\\@varsubsetneqq"),fe(_e,dt,Be,"\u226F","\\ngtr",!0),fe(_e,dt,Be,"\uE00F","\\@ngeqslant"),fe(_e,dt,Be,"\uE00E","\\@ngeqq"),fe(_e,dt,Be,"\u2A88","\\gneq",!0),fe(_e,dt,Be,"\u2269","\\gneqq",!0),fe(_e,dt,Be,"\uE00D","\\@gvertneqq"),fe(_e,dt,Be,"\u22E7","\\gnsim",!0),fe(_e,dt,Be,"\u2A8A","\\gnapprox",!0),fe(_e,dt,Be,"\u2281","\\nsucc",!0),fe(_e,dt,Be,"\u22E1","\\nsucceq",!0),fe(_e,dt,Be,"\u22E9","\\succnsim",!0),fe(_e,dt,Be,"\u2ABA","\\succnapprox",!0),fe(_e,dt,Be,"\u2246","\\ncong",!0),fe(_e,dt,Be,"\uE007","\\@nshortparallel"),fe(_e,dt,Be,"\u2226","\\nparallel",!0),fe(_e,dt,Be,"\u22AF","\\nVDash",!0),fe(_e,dt,Be,"\u22EB","\\ntriangleright"),fe(_e,dt,Be,"\u22ED","\\ntrianglerighteq",!0),fe(_e,dt,Be,"\uE018","\\@nsupseteqq"),fe(_e,dt,Be,"\u228B","\\supsetneq",!0),fe(_e,dt,Be,"\uE01B","\\@varsupsetneq"),fe(_e,dt,Be,"\u2ACC","\\supsetneqq",!0),fe(_e,dt,Be,"\uE019","\\@varsupsetneqq"),fe(_e,dt,Be,"\u22AE","\\nVdash",!0),fe(_e,dt,Be,"\u2AB5","\\precneqq",!0),fe(_e,dt,Be,"\u2AB6","\\succneqq",!0),fe(_e,dt,Be,"\uE016","\\@nsubseteqq"),fe(_e,dt,Tt,"\u22B4","\\unlhd"),fe(_e,dt,Tt,"\u22B5","\\unrhd"),fe(_e,dt,Be,"\u219A","\\nleftarrow",!0),fe(_e,dt,Be,"\u219B","\\nrightarrow",!0),fe(_e,dt,Be,"\u21CD","\\nLeftarrow",!0),fe(_e,dt,Be,"\u21CF","\\nRightarrow",!0),fe(_e,dt,Be,"\u21AE","\\nleftrightarrow",!0),fe(_e,dt,Be,"\u21CE","\\nLeftrightarrow",!0),fe(_e,dt,Be,"\u25B3","\\vartriangle"),fe(_e,dt,At,"\u210F","\\hslash"),fe(_e,dt,At,"\u25BD","\\triangledown"),fe(_e,dt,At,"\u25CA","\\lozenge"),fe(_e,dt,At,"\u24C8","\\circledS"),fe(_e,dt,At,"\xAE","\\circledR"),fe(Ot,dt,At,"\xAE","\\circledR"),fe(_e,dt,At,"\u2221","\\measuredangle",!0),fe(_e,dt,At,"\u2204","\\nexists"),fe(_e,dt,At,"\u2127","\\mho"),fe(_e,dt,At,"\u2132","\\Finv",!0),fe(_e,dt,At,"\u2141","\\Game",!0),fe(_e,dt,At,"\u2035","\\backprime"),fe(_e,dt,At,"\u25B2","\\blacktriangle"),fe(_e,dt,At,"\u25BC","\\blacktriangledown"),fe(_e,dt,At,"\u25A0","\\blacksquare"),fe(_e,dt,At,"\u29EB","\\blacklozenge"),fe(_e,dt,At,"\u2605","\\bigstar"),fe(_e,dt,At,"\u2222","\\sphericalangle",!0),fe(_e,dt,At,"\u2201","\\complement",!0),fe(_e,dt,At,"\xF0","\\eth",!0),fe(_e,dt,At,"\u2571","\\diagup"),fe(_e,dt,At,"\u2572","\\diagdown"),fe(_e,dt,At,"\u25A1","\\square"),fe(_e,dt,At,"\u25A1","\\Box"),fe(_e,dt,At,"\u25CA","\\Diamond"),fe(_e,dt,At,"\xA5","\\yen",!0),fe(Ot,dt,At,"\xA5","\\yen",!0),fe(_e,dt,At,"\u2713","\\checkmark",!0),fe(Ot,dt,At,"\u2713","\\checkmark"),fe(_e,dt,At,"\u2136","\\beth",!0),fe(_e,dt,At,"\u2138","\\daleth",!0),fe(_e,dt,At,"\u2137","\\gimel",!0),fe(_e,dt,At,"\u03DD","\\digamma",!0),fe(_e,dt,At,"\u03F0","\\varkappa"),fe(_e,dt,gt,"\u250C","\\ulcorner",!0),fe(_e,dt,ke,"\u2510","\\urcorner",!0),fe(_e,dt,gt,"\u2514","\\llcorner",!0),fe(_e,dt,ke,"\u2518","\\lrcorner",!0),fe(_e,dt,Be,"\u2266","\\leqq",!0),fe(_e,dt,Be,"\u2A7D","\\leqslant",!0),fe(_e,dt,Be,"\u2A95","\\eqslantless",!0),fe(_e,dt,Be,"\u2272","\\lesssim",!0),fe(_e,dt,Be,"\u2A85","\\lessapprox",!0),fe(_e,dt,Be,"\u224A","\\approxeq",!0),fe(_e,dt,Tt,"\u22D6","\\lessdot"),fe(_e,dt,Be,"\u22D8","\\lll",!0),fe(_e,dt,Be,"\u2276","\\lessgtr",!0),fe(_e,dt,Be,"\u22DA","\\lesseqgtr",!0),fe(_e,dt,Be,"\u2A8B","\\lesseqqgtr",!0),fe(_e,dt,Be,"\u2251","\\doteqdot"),fe(_e,dt,Be,"\u2253","\\risingdotseq",!0),fe(_e,dt,Be,"\u2252","\\fallingdotseq",!0),fe(_e,dt,Be,"\u223D","\\backsim",!0),fe(_e,dt,Be,"\u22CD","\\backsimeq",!0),fe(_e,dt,Be,"\u2AC5","\\subseteqq",!0),fe(_e,dt,Be,"\u22D0","\\Subset",!0),fe(_e,dt,Be,"\u228F","\\sqsubset",!0),fe(_e,dt,Be,"\u227C","\\preccurlyeq",!0),fe(_e,dt,Be,"\u22DE","\\curlyeqprec",!0),fe(_e,dt,Be,"\u227E","\\precsim",!0),fe(_e,dt,Be,"\u2AB7","\\precapprox",!0),fe(_e,dt,Be,"\u22B2","\\vartriangleleft"),fe(_e,dt,Be,"\u22B4","\\trianglelefteq"),fe(_e,dt,Be,"\u22A8","\\vDash",!0),fe(_e,dt,Be,"\u22AA","\\Vvdash",!0),fe(_e,dt,Be,"\u2323","\\smallsmile"),fe(_e,dt,Be,"\u2322","\\smallfrown"),fe(_e,dt,Be,"\u224F","\\bumpeq",!0),fe(_e,dt,Be,"\u224E","\\Bumpeq",!0),fe(_e,dt,Be,"\u2267","\\geqq",!0),fe(_e,dt,Be,"\u2A7E","\\geqslant",!0),fe(_e,dt,Be,"\u2A96","\\eqslantgtr",!0),fe(_e,dt,Be,"\u2273","\\gtrsim",!0),fe(_e,dt,Be,"\u2A86","\\gtrapprox",!0),fe(_e,dt,Tt,"\u22D7","\\gtrdot"),fe(_e,dt,Be,"\u22D9","\\ggg",!0),fe(_e,dt,Be,"\u2277","\\gtrless",!0),fe(_e,dt,Be,"\u22DB","\\gtreqless",!0),fe(_e,dt,Be,"\u2A8C","\\gtreqqless",!0),fe(_e,dt,Be,"\u2256","\\eqcirc",!0),fe(_e,dt,Be,"\u2257","\\circeq",!0),fe(_e,dt,Be,"\u225C","\\triangleq",!0),fe(_e,dt,Be,"\u223C","\\thicksim"),fe(_e,dt,Be,"\u2248","\\thickapprox"),fe(_e,dt,Be,"\u2AC6","\\supseteqq",!0),fe(_e,dt,Be,"\u22D1","\\Supset",!0),fe(_e,dt,Be,"\u2290","\\sqsupset",!0),fe(_e,dt,Be,"\u227D","\\succcurlyeq",!0),fe(_e,dt,Be,"\u22DF","\\curlyeqsucc",!0),fe(_e,dt,Be,"\u227F","\\succsim",!0),fe(_e,dt,Be,"\u2AB8","\\succapprox",!0),fe(_e,dt,Be,"\u22B3","\\vartriangleright"),fe(_e,dt,Be,"\u22B5","\\trianglerighteq"),fe(_e,dt,Be,"\u22A9","\\Vdash",!0),fe(_e,dt,Be,"\u2223","\\shortmid"),fe(_e,dt,Be,"\u2225","\\shortparallel"),fe(_e,dt,Be,"\u226C","\\between",!0),fe(_e,dt,Be,"\u22D4","\\pitchfork",!0),fe(_e,dt,Be,"\u221D","\\varpropto"),fe(_e,dt,Be,"\u25C0","\\blacktriangleleft"),fe(_e,dt,Be,"\u2234","\\therefore",!0),fe(_e,dt,Be,"\u220D","\\backepsilon"),fe(_e,dt,Be,"\u25B6","\\blacktriangleright"),fe(_e,dt,Be,"\u2235","\\because",!0),fe(_e,dt,Be,"\u22D8","\\llless"),fe(_e,dt,Be,"\u22D9","\\gggtr"),fe(_e,dt,Tt,"\u22B2","\\lhd"),fe(_e,dt,Tt,"\u22B3","\\rhd"),fe(_e,dt,Be,"\u2242","\\eqsim",!0),fe(_e,Pe,Be,"\u22C8","\\Join"),fe(_e,dt,Be,"\u2251","\\Doteq",!0),fe(_e,dt,Tt,"\u2214","\\dotplus",!0),fe(_e,dt,Tt,"\u2216","\\smallsetminus"),fe(_e,dt,Tt,"\u22D2","\\Cap",!0),fe(_e,dt,Tt,"\u22D3","\\Cup",!0),fe(_e,dt,Tt,"\u2A5E","\\doublebarwedge",!0),fe(_e,dt,Tt,"\u229F","\\boxminus",!0),fe(_e,dt,Tt,"\u229E","\\boxplus",!0),fe(_e,dt,Tt,"\u22C7","\\divideontimes",!0),fe(_e,dt,Tt,"\u22C9","\\ltimes",!0),fe(_e,dt,Tt,"\u22CA","\\rtimes",!0),fe(_e,dt,Tt,"\u22CB","\\leftthreetimes",!0),fe(_e,dt,Tt,"\u22CC","\\rightthreetimes",!0),fe(_e,dt,Tt,"\u22CF","\\curlywedge",!0),fe(_e,dt,Tt,"\u22CE","\\curlyvee",!0),fe(_e,dt,Tt,"\u229D","\\circleddash",!0),fe(_e,dt,Tt,"\u229B","\\circledast",!0),fe(_e,dt,Tt,"\u22C5","\\centerdot"),fe(_e,dt,Tt,"\u22BA","\\intercal",!0),fe(_e,dt,Tt,"\u22D2","\\doublecap"),fe(_e,dt,Tt,"\u22D3","\\doublecup"),fe(_e,dt,Tt,"\u22A0","\\boxtimes",!0),fe(_e,dt,Be,"\u21E2","\\dashrightarrow",!0),fe(_e,dt,Be,"\u21E0","\\dashleftarrow",!0),fe(_e,dt,Be,"\u21C7","\\leftleftarrows",!0),fe(_e,dt,Be,"\u21C6","\\leftrightarrows",!0),fe(_e,dt,Be,"\u21DA","\\Lleftarrow",!0),fe(_e,dt,Be,"\u219E","\\twoheadleftarrow",!0),fe(_e,dt,Be,"\u21A2","\\leftarrowtail",!0),fe(_e,dt,Be,"\u21AB","\\looparrowleft",!0),fe(_e,dt,Be,"\u21CB","\\leftrightharpoons",!0),fe(_e,dt,Be,"\u21B6","\\curvearrowleft",!0),fe(_e,dt,Be,"\u21BA","\\circlearrowleft",!0),fe(_e,dt,Be,"\u21B0","\\Lsh",!0),fe(_e,dt,Be,"\u21C8","\\upuparrows",!0),fe(_e,dt,Be,"\u21BF","\\upharpoonleft",!0),fe(_e,dt,Be,"\u21C3","\\downharpoonleft",!0),fe(_e,dt,Be,"\u22B8","\\multimap",!0),fe(_e,dt,Be,"\u21AD","\\leftrightsquigarrow",!0),fe(_e,dt,Be,"\u21C9","\\rightrightarrows",!0),fe(_e,dt,Be,"\u21C4","\\rightleftarrows",!0),fe(_e,dt,Be,"\u21A0","\\twoheadrightarrow",!0),fe(_e,dt,Be,"\u21A3","\\rightarrowtail",!0),fe(_e,dt,Be,"\u21AC","\\looparrowright",!0),fe(_e,dt,Be,"\u21B7","\\curvearrowright",!0),fe(_e,dt,Be,"\u21BB","\\circlearrowright",!0),fe(_e,dt,Be,"\u21B1","\\Rsh",!0),fe(_e,dt,Be,"\u21CA","\\downdownarrows",!0),fe(_e,dt,Be,"\u21BE","\\upharpoonright",!0),fe(_e,dt,Be,"\u21C2","\\downharpoonright",!0),fe(_e,dt,Be,"\u21DD","\\rightsquigarrow",!0),fe(_e,dt,Be,"\u21DD","\\leadsto"),fe(_e,dt,Be,"\u21DB","\\Rrightarrow",!0),fe(_e,dt,Be,"\u21BE","\\restriction"),fe(_e,Pe,At,"\u2018","`"),fe(_e,Pe,At,"$","\\$"),fe(Ot,Pe,At,"$","\\$"),fe(Ot,Pe,At,"$","\\textdollar"),fe(_e,Pe,At,"%","\\%"),fe(Ot,Pe,At,"%","\\%"),fe(_e,Pe,At,"_","\\_"),fe(Ot,Pe,At,"_","\\_"),fe(Ot,Pe,At,"_","\\textunderscore"),fe(_e,Pe,At,"\u2220","\\angle",!0),fe(_e,Pe,At,"\u221E","\\infty",!0),fe(_e,Pe,At,"\u2032","\\prime"),fe(_e,Pe,At,"\u25B3","\\triangle"),fe(_e,Pe,At,"\u0393","\\Gamma",!0),fe(_e,Pe,At,"\u0394","\\Delta",!0),fe(_e,Pe,At,"\u0398","\\Theta",!0),fe(_e,Pe,At,"\u039B","\\Lambda",!0),fe(_e,Pe,At,"\u039E","\\Xi",!0),fe(_e,Pe,At,"\u03A0","\\Pi",!0),fe(_e,Pe,At,"\u03A3","\\Sigma",!0),fe(_e,Pe,At,"\u03A5","\\Upsilon",!0),fe(_e,Pe,At,"\u03A6","\\Phi",!0),fe(_e,Pe,At,"\u03A8","\\Psi",!0),fe(_e,Pe,At,"\u03A9","\\Omega",!0),fe(_e,Pe,At,"A","\u0391"),fe(_e,Pe,At,"B","\u0392"),fe(_e,Pe,At,"E","\u0395"),fe(_e,Pe,At,"Z","\u0396"),fe(_e,Pe,At,"H","\u0397"),fe(_e,Pe,At,"I","\u0399"),fe(_e,Pe,At,"K","\u039A"),fe(_e,Pe,At,"M","\u039C"),fe(_e,Pe,At,"N","\u039D"),fe(_e,Pe,At,"O","\u039F"),fe(_e,Pe,At,"P","\u03A1"),fe(_e,Pe,At,"T","\u03A4"),fe(_e,Pe,At,"X","\u03A7"),fe(_e,Pe,At,"\xAC","\\neg",!0),fe(_e,Pe,At,"\xAC","\\lnot"),fe(_e,Pe,At,"\u22A4","\\top"),fe(_e,Pe,At,"\u22A5","\\bot"),fe(_e,Pe,At,"\u2205","\\emptyset"),fe(_e,dt,At,"\u2205","\\varnothing"),fe(_e,Pe,be,"\u03B1","\\alpha",!0),fe(_e,Pe,be,"\u03B2","\\beta",!0),fe(_e,Pe,be,"\u03B3","\\gamma",!0),fe(_e,Pe,be,"\u03B4","\\delta",!0),fe(_e,Pe,be,"\u03F5","\\epsilon",!0),fe(_e,Pe,be,"\u03B6","\\zeta",!0),fe(_e,Pe,be,"\u03B7","\\eta",!0),fe(_e,Pe,be,"\u03B8","\\theta",!0),fe(_e,Pe,be,"\u03B9","\\iota",!0),fe(_e,Pe,be,"\u03BA","\\kappa",!0),fe(_e,Pe,be,"\u03BB","\\lambda",!0),fe(_e,Pe,be,"\u03BC","\\mu",!0),fe(_e,Pe,be,"\u03BD","\\nu",!0),fe(_e,Pe,be,"\u03BE","\\xi",!0),fe(_e,Pe,be,"\u03BF","\\omicron",!0),fe(_e,Pe,be,"\u03C0","\\pi",!0),fe(_e,Pe,be,"\u03C1","\\rho",!0),fe(_e,Pe,be,"\u03C3","\\sigma",!0),fe(_e,Pe,be,"\u03C4","\\tau",!0),fe(_e,Pe,be,"\u03C5","\\upsilon",!0),fe(_e,Pe,be,"\u03D5","\\phi",!0),fe(_e,Pe,be,"\u03C7","\\chi",!0),fe(_e,Pe,be,"\u03C8","\\psi",!0),fe(_e,Pe,be,"\u03C9","\\omega",!0),fe(_e,Pe,be,"\u03B5","\\varepsilon",!0),fe(_e,Pe,be,"\u03D1","\\vartheta",!0),fe(_e,Pe,be,"\u03D6","\\varpi",!0),fe(_e,Pe,be,"\u03F1","\\varrho",!0),fe(_e,Pe,be,"\u03C2","\\varsigma",!0),fe(_e,Pe,be,"\u03C6","\\varphi",!0),fe(_e,Pe,Tt,"\u2217","*"),fe(_e,Pe,Tt,"+","+"),fe(_e,Pe,Tt,"\u2212","-"),fe(_e,Pe,Tt,"\u22C5","\\cdot",!0),fe(_e,Pe,Tt,"\u2218","\\circ"),fe(_e,Pe,Tt,"\xF7","\\div",!0),fe(_e,Pe,Tt,"\xB1","\\pm",!0),fe(_e,Pe,Tt,"\xD7","\\times",!0),fe(_e,Pe,Tt,"\u2229","\\cap",!0),fe(_e,Pe,Tt,"\u222A","\\cup",!0),fe(_e,Pe,Tt,"\u2216","\\setminus"),fe(_e,Pe,Tt,"\u2227","\\land"),fe(_e,Pe,Tt,"\u2228","\\lor"),fe(_e,Pe,Tt,"\u2227","\\wedge",!0),fe(_e,Pe,Tt,"\u2228","\\vee",!0),fe(_e,Pe,At,"\u221A","\\surd"),fe(_e,Pe,gt,"(","("),fe(_e,Pe,gt,"[","["),fe(_e,Pe,gt,"\u27E8","\\langle",!0),fe(_e,Pe,gt,"\u2223","\\lvert"),fe(_e,Pe,gt,"\u2225","\\lVert"),fe(_e,Pe,ke,")",")"),fe(_e,Pe,ke,"]","]"),fe(_e,Pe,ke,"?","?"),fe(_e,Pe,ke,"!","!"),fe(_e,Pe,ke,"\u27E9","\\rangle",!0),fe(_e,Pe,ke,"\u2223","\\rvert"),fe(_e,Pe,ke,"\u2225","\\rVert"),fe(_e,Pe,Be,"=","="),fe(_e,Pe,Be,"<","<"),fe(_e,Pe,Be,">",">"),fe(_e,Pe,Be,":",":"),fe(_e,Pe,Be,"\u2248","\\approx",!0),fe(_e,Pe,Be,"\u2245","\\cong",!0),fe(_e,Pe,Be,"\u2265","\\ge"),fe(_e,Pe,Be,"\u2265","\\geq",!0),fe(_e,Pe,Be,"\u2190","\\gets"),fe(_e,Pe,Be,">","\\gt"),fe(_e,Pe,Be,"\u2208","\\in",!0),fe(_e,Pe,Be,"\uE020","\\@not"),fe(_e,Pe,Be,"\u2282","\\subset",!0),fe(_e,Pe,Be,"\u2283","\\supset",!0),fe(_e,Pe,Be,"\u2286","\\subseteq",!0),fe(_e,Pe,Be,"\u2287","\\supseteq",!0),fe(_e,dt,Be,"\u2288","\\nsubseteq",!0),fe(_e,dt,Be,"\u2289","\\nsupseteq",!0),fe(_e,Pe,Be,"\u22A8","\\models"),fe(_e,Pe,Be,"\u2190","\\leftarrow",!0),fe(_e,Pe,Be,"\u2264","\\le"),fe(_e,Pe,Be,"\u2264","\\leq",!0),fe(_e,Pe,Be,"<","\\lt"),fe(_e,Pe,Be,"\u2192","\\rightarrow",!0),fe(_e,Pe,Be,"\u2192","\\to"),fe(_e,dt,Be,"\u2271","\\ngeq",!0),fe(_e,dt,Be,"\u2270","\\nleq",!0),fe(_e,Pe,kr,"\xA0","\\ "),fe(_e,Pe,kr,"\xA0","~"),fe(_e,Pe,kr,"\xA0","\\space"),fe(_e,Pe,kr,"\xA0","\\nobreakspace"),fe(Ot,Pe,kr,"\xA0","\\ "),fe(Ot,Pe,kr,"\xA0","~"),fe(Ot,Pe,kr,"\xA0","\\space"),fe(Ot,Pe,kr,"\xA0","\\nobreakspace"),fe(_e,Pe,kr,null,"\\nobreak"),fe(_e,Pe,kr,null,"\\allowbreak"),fe(_e,Pe,Rt,",",","),fe(_e,Pe,Rt,";",";"),fe(_e,dt,Tt,"\u22BC","\\barwedge",!0),fe(_e,dt,Tt,"\u22BB","\\veebar",!0),fe(_e,Pe,Tt,"\u2299","\\odot",!0),fe(_e,Pe,Tt,"\u2295","\\oplus",!0),fe(_e,Pe,Tt,"\u2297","\\otimes",!0),fe(_e,Pe,At,"\u2202","\\partial",!0),fe(_e,Pe,Tt,"\u2298","\\oslash",!0),fe(_e,dt,Tt,"\u229A","\\circledcirc",!0),fe(_e,dt,Tt,"\u22A1","\\boxdot",!0),fe(_e,Pe,Tt,"\u25B3","\\bigtriangleup"),fe(_e,Pe,Tt,"\u25BD","\\bigtriangledown"),fe(_e,Pe,Tt,"\u2020","\\dagger"),fe(_e,Pe,Tt,"\u22C4","\\diamond"),fe(_e,Pe,Tt,"\u22C6","\\star"),fe(_e,Pe,Tt,"\u25C3","\\triangleleft"),fe(_e,Pe,Tt,"\u25B9","\\triangleright"),fe(_e,Pe,gt,"{","\\{"),fe(Ot,Pe,At,"{","\\{"),fe(Ot,Pe,At,"{","\\textbraceleft"),fe(_e,Pe,ke,"}","\\}"),fe(Ot,Pe,At,"}","\\}"),fe(Ot,Pe,At,"}","\\textbraceright"),fe(_e,Pe,gt,"{","\\lbrace"),fe(_e,Pe,ke,"}","\\rbrace"),fe(_e,Pe,gt,"[","\\lbrack"),fe(Ot,Pe,At,"[","\\lbrack"),fe(_e,Pe,ke,"]","\\rbrack"),fe(Ot,Pe,At,"]","\\rbrack"),fe(_e,Pe,gt,"(","\\lparen"),fe(_e,Pe,ke,")","\\rparen"),fe(Ot,Pe,At,"<","\\textless"),fe(Ot,Pe,At,">","\\textgreater"),fe(_e,Pe,gt,"\u230A","\\lfloor",!0),fe(_e,Pe,ke,"\u230B","\\rfloor",!0),fe(_e,Pe,gt,"\u2308","\\lceil",!0),fe(_e,Pe,ke,"\u2309","\\rceil",!0),fe(_e,Pe,At,"\\","\\backslash"),fe(_e,Pe,At,"\u2223","|"),fe(_e,Pe,At,"\u2223","\\vert"),fe(Ot,Pe,At,"|","\\textbar"),fe(_e,Pe,At,"\u2225","\\|"),fe(_e,Pe,At,"\u2225","\\Vert"),fe(Ot,Pe,At,"\u2225","\\textbardbl"),fe(Ot,Pe,At,"~","\\textasciitilde"),fe(Ot,Pe,At,"\\","\\textbackslash"),fe(Ot,Pe,At,"^","\\textasciicircum"),fe(_e,Pe,Be,"\u2191","\\uparrow",!0),fe(_e,Pe,Be,"\u21D1","\\Uparrow",!0),fe(_e,Pe,Be,"\u2193","\\downarrow",!0),fe(_e,Pe,Be,"\u21D3","\\Downarrow",!0),fe(_e,Pe,Be,"\u2195","\\updownarrow",!0),fe(_e,Pe,Be,"\u21D5","\\Updownarrow",!0),fe(_e,Pe,Ke,"\u2210","\\coprod"),fe(_e,Pe,Ke,"\u22C1","\\bigvee"),fe(_e,Pe,Ke,"\u22C0","\\bigwedge"),fe(_e,Pe,Ke,"\u2A04","\\biguplus"),fe(_e,Pe,Ke,"\u22C2","\\bigcap"),fe(_e,Pe,Ke,"\u22C3","\\bigcup"),fe(_e,Pe,Ke,"\u222B","\\int"),fe(_e,Pe,Ke,"\u222B","\\intop"),fe(_e,Pe,Ke,"\u222C","\\iint"),fe(_e,Pe,Ke,"\u222D","\\iiint"),fe(_e,Pe,Ke,"\u220F","\\prod"),fe(_e,Pe,Ke,"\u2211","\\sum"),fe(_e,Pe,Ke,"\u2A02","\\bigotimes"),fe(_e,Pe,Ke,"\u2A01","\\bigoplus"),fe(_e,Pe,Ke,"\u2A00","\\bigodot"),fe(_e,Pe,Ke,"\u222E","\\oint"),fe(_e,Pe,Ke,"\u222F","\\oiint"),fe(_e,Pe,Ke,"\u2230","\\oiiint"),fe(_e,Pe,Ke,"\u2A06","\\bigsqcup"),fe(_e,Pe,Ke,"\u222B","\\smallint"),fe(Ot,Pe,St,"\u2026","\\textellipsis"),fe(_e,Pe,St,"\u2026","\\mathellipsis"),fe(Ot,Pe,St,"\u2026","\\ldots",!0),fe(_e,Pe,St,"\u2026","\\ldots",!0),fe(_e,Pe,St,"\u22EF","\\@cdots",!0),fe(_e,Pe,St,"\u22F1","\\ddots",!0),fe(_e,Pe,At,"\u22EE","\\varvdots"),fe(_e,Pe,Zt,"\u02CA","\\acute"),fe(_e,Pe,Zt,"\u02CB","\\grave"),fe(_e,Pe,Zt,"\xA8","\\ddot"),fe(_e,Pe,Zt,"~","\\tilde"),fe(_e,Pe,Zt,"\u02C9","\\bar"),fe(_e,Pe,Zt,"\u02D8","\\breve"),fe(_e,Pe,Zt,"\u02C7","\\check"),fe(_e,Pe,Zt,"^","\\hat"),fe(_e,Pe,Zt,"\u20D7","\\vec"),fe(_e,Pe,Zt,"\u02D9","\\dot"),fe(_e,Pe,Zt,"\u02DA","\\mathring"),fe(_e,Pe,be,"\u0131","\\imath",!0),fe(_e,Pe,be,"\u0237","\\jmath",!0),fe(Ot,Pe,At,"\u0131","\\i",!0),fe(Ot,Pe,At,"\u0237","\\j",!0),fe(Ot,Pe,At,"\xDF","\\ss",!0),fe(Ot,Pe,At,"\xE6","\\ae",!0),fe(Ot,Pe,At,"\xE6","\\ae",!0),fe(Ot,Pe,At,"\u0153","\\oe",!0),fe(Ot,Pe,At,"\xF8","\\o",!0),fe(Ot,Pe,At,"\xC6","\\AE",!0),fe(Ot,Pe,At,"\u0152","\\OE",!0),fe(Ot,Pe,At,"\xD8","\\O",!0),fe(Ot,Pe,Zt,"\u02CA","\\'"),fe(Ot,Pe,Zt,"\u02CB","\\`"),fe(Ot,Pe,Zt,"\u02C6","\\^"),fe(Ot,Pe,Zt,"\u02DC","\\~"),fe(Ot,Pe,Zt,"\u02C9","\\="),fe(Ot,Pe,Zt,"\u02D8","\\u"),fe(Ot,Pe,Zt,"\u02D9","\\."),fe(Ot,Pe,Zt,"\u02DA","\\r"),fe(Ot,Pe,Zt,"\u02C7","\\v"),fe(Ot,Pe,Zt,"\xA8",'\\"'),fe(Ot,Pe,Zt,"\u02DD","\\H"),fe(Ot,Pe,Zt,"\u25EF","\\textcircled");var Kr={"--":!0,"---":!0,"``":!0,"''":!0};fe(Ot,Pe,At,"\u2013","--"),fe(Ot,Pe,At,"\u2013","\\textendash"),fe(Ot,Pe,At,"\u2014","---"),fe(Ot,Pe,At,"\u2014","\\textemdash"),fe(Ot,Pe,At,"\u2018","`"),fe(Ot,Pe,At,"\u2018","\\textquoteleft"),fe(Ot,Pe,At,"\u2019","'"),fe(Ot,Pe,At,"\u2019","\\textquoteright"),fe(Ot,Pe,At,"\u201C","``"),fe(Ot,Pe,At,"\u201C","\\textquotedblleft"),fe(Ot,Pe,At,"\u201D","''"),fe(Ot,Pe,At,"\u201D","\\textquotedblright"),fe(_e,Pe,At,"\xB0","\\degree",!0),fe(Ot,Pe,At,"\xB0","\\degree"),fe(Ot,Pe,At,"\xB0","\\textdegree",!0),fe(_e,Pe,be,"\xA3","\\pounds"),fe(_e,Pe,be,"\xA3","\\mathsterling",!0),fe(Ot,Pe,be,"\xA3","\\pounds"),fe(Ot,Pe,be,"\xA3","\\textsterling",!0),fe(_e,dt,At,"\u2720","\\maltese"),fe(Ot,dt,At,"\u2720","\\maltese"),fe(Ot,Pe,kr,"\xA0","\\ "),fe(Ot,Pe,kr,"\xA0"," "),fe(Ot,Pe,kr,"\xA0","~");for(var qr='0123456789/@."',Ar=0;Ar<qr.length;Ar++){var Br=qr.charAt(Ar);fe(_e,Pe,At,Br,Br)}for(var _r='0123456789!@*()-=+[]<>|";:?/.,',Ur=0;Ur<_r.length;Ur++){var sn=_r.charAt(Ur);fe(Ot,Pe,At,sn,sn)}for(var cn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",or=0;or<cn.length;or++){var Lt=cn.charAt(or);fe(_e,Pe,be,Lt,Lt),fe(Ot,Pe,At,Lt,Lt)}fe(_e,dt,At,"C","\u2102"),fe(Ot,dt,At,"C","\u2102"),fe(_e,dt,At,"H","\u210D"),fe(Ot,dt,At,"H","\u210D"),fe(_e,dt,At,"N","\u2115"),fe(Ot,dt,At,"N","\u2115"),fe(_e,dt,At,"P","\u2119"),fe(Ot,dt,At,"P","\u2119"),fe(_e,dt,At,"Q","\u211A"),fe(Ot,dt,At,"Q","\u211A"),fe(_e,dt,At,"R","\u211D"),fe(Ot,dt,At,"R","\u211D"),fe(_e,dt,At,"Z","\u2124"),fe(Ot,dt,At,"Z","\u2124"),fe(_e,Pe,be,"h","\u210E"),fe(Ot,Pe,be,"h","\u210E");for(var vt="",yt=0;yt<cn.length;yt++){var jt=cn.charAt(yt);vt=String.fromCharCode(55349,56320+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),vt=String.fromCharCode(55349,56372+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),vt=String.fromCharCode(55349,56424+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),vt=String.fromCharCode(55349,56580+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),vt=String.fromCharCode(55349,56736+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),vt=String.fromCharCode(55349,56788+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),vt=String.fromCharCode(55349,56840+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),vt=String.fromCharCode(55349,56944+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),yt<26&&(vt=String.fromCharCode(55349,56632+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),vt=String.fromCharCode(55349,56476+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt))}vt="\u{1D55C}",fe(_e,Pe,be,"k",vt),fe(Ot,Pe,At,"k",vt);for(var Cr=0;Cr<10;Cr++){var gr=Cr.toString();vt=String.fromCharCode(55349,57294+Cr),fe(_e,Pe,be,gr,vt),fe(Ot,Pe,At,gr,vt),vt=String.fromCharCode(55349,57314+Cr),fe(_e,Pe,be,gr,vt),fe(Ot,Pe,At,gr,vt),vt=String.fromCharCode(55349,57324+Cr),fe(_e,Pe,be,gr,vt),fe(Ot,Pe,At,gr,vt),vt=String.fromCharCode(55349,57334+Cr),fe(_e,Pe,be,gr,vt),fe(Ot,Pe,At,gr,vt)}for(var ot="\xC7\xD0\xDE\xE7\xFE",Mr=0;Mr<ot.length;Mr++){var yn=ot.charAt(Mr);fe(_e,Pe,be,yn,yn),fe(Ot,Pe,At,yn,yn)}fe(Ot,Pe,At,"\xF0","\xF0"),fe(Ot,Pe,At,"\u2013","\u2013"),fe(Ot,Pe,At,"\u2014","\u2014"),fe(Ot,Pe,At,"\u2018","\u2018"),fe(Ot,Pe,At,"\u2019","\u2019"),fe(Ot,Pe,At,"\u201C","\u201C"),fe(Ot,Pe,At,"\u201D","\u201D");var Zn=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],mr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],tn=function(W,X){var te=W.charCodeAt(0),pe=W.charCodeAt(1),Te=(te-55296)*1024+(pe-56320)+65536,Ge=X==="math"?0:1;if(119808<=Te&&Te<120484){var xt=Math.floor((Te-119808)/26);return[Zn[xt][2],Zn[xt][Ge]]}else if(120782<=Te&&Te<=120831){var Bt=Math.floor((Te-120782)/10);return[mr[Bt][2],mr[Bt][Ge]]}else{if(Te===120485||Te===120486)return[Zn[0][2],Zn[0][Ge]];if(120486<Te&&Te<120782)return["",""];throw new s("Unsupported character: "+W)}},hn=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Fn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ti=function(W,X){return X.size<2?W:hn[W-1][X.size-1]},jn=function(){function Ve(X){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=X.style,this.color=X.color,this.size=X.size||Ve.BASESIZE,this.textSize=X.textSize||this.size,this.phantom=!!X.phantom,this.font=X.font||"",this.fontFamily=X.fontFamily||"",this.fontWeight=X.fontWeight||"",this.fontShape=X.fontShape||"",this.sizeMultiplier=Fn[this.size-1],this.maxSize=X.maxSize,this.minRuleThickness=X.minRuleThickness,this._fontMetrics=void 0}var W=Ve.prototype;return W.extend=function(te){var pe={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var Te in te)te.hasOwnProperty(Te)&&(pe[Te]=te[Te]);return new Ve(pe)},W.havingStyle=function(te){return this.style===te?this:this.extend({style:te,size:ti(this.textSize,te)})},W.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},W.havingSize=function(te){return this.size===te&&this.textSize===te?this:this.extend({style:this.style.text(),size:te,textSize:te,sizeMultiplier:Fn[te-1]})},W.havingBaseStyle=function(te){te=te||this.style.text();var pe=ti(Ve.BASESIZE,te);return this.size===pe&&this.textSize===Ve.BASESIZE&&this.style===te?this:this.extend({style:te,size:pe})},W.havingBaseSizing=function(){var te;switch(this.style.id){case 4:case 5:te=3;break;case 6:case 7:te=1;break;default:te=6}return this.extend({style:this.style.text(),size:te})},W.withColor=function(te){return this.extend({color:te})},W.withPhantom=function(){return this.extend({phantom:!0})},W.withFont=function(te){return this.extend({font:te})},W.withTextFontFamily=function(te){return this.extend({fontFamily:te,font:""})},W.withTextFontWeight=function(te){return this.extend({fontWeight:te,font:""})},W.withTextFontShape=function(te){return this.extend({fontShape:te,font:""})},W.sizingClasses=function(te){return te.size!==this.size?["sizing","reset-size"+te.size,"size"+this.size]:[]},W.baseSizingClasses=function(){return this.size!==Ve.BASESIZE?["sizing","reset-size"+this.size,"size"+Ve.BASESIZE]:[]},W.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Ht(this.size)),this._fontMetrics},W.getColor=function(){return this.phantom?"transparent":this.color},Ve}();jn.BASESIZE=6;var Zi=jn,xi={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Si={ex:!0,em:!0,mu:!0},Ei=function(W){return typeof W!="string"&&(W=W.unit),W in xi||W in Si||W==="ex"},mi=function(W,X){var te;if(W.unit in xi)te=xi[W.unit]/X.fontMetrics().ptPerEm/X.sizeMultiplier;else if(W.unit==="mu")te=X.fontMetrics().cssEmPerMu;else{var pe;if(X.style.isTight()?pe=X.havingStyle(X.style.text()):pe=X,W.unit==="ex")te=pe.fontMetrics().xHeight;else if(W.unit==="em")te=pe.fontMetrics().quad;else throw new s("Invalid unit: '"+W.unit+"'");pe!==X&&(te*=pe.sizeMultiplier/X.sizeMultiplier)}return Math.min(W.number*te,X.maxSize)},Xi=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],qn=function(W,X,te){return We[te][W]&&We[te][W].replace&&(W=We[te][W].replace),{value:W,metrics:Gt(W,X,te)}},Yi=function(W,X,te,pe,Te){var Ge=qn(W,X,te),xt=Ge.metrics;W=Ge.value;var Bt;if(xt){var nr=xt.italic;(te==="text"||pe&&pe.font==="mathit")&&(nr=0),Bt=new Ae(W,xt.height,xt.depth,nr,xt.skew,xt.width,Te)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+W+"' in style '"+X+"' and mode '"+te+"'")),Bt=new Ae(W,0,0,0,0,0,Te);if(pe){Bt.maxFontSize=pe.sizeMultiplier,pe.style.isTight()&&Bt.classes.push("mtight");var Tr=pe.getColor();Tr&&(Bt.style.color=Tr)}return Bt},wt=function(W,X,te,pe){return pe===void 0&&(pe=[]),te.font==="boldsymbol"&&qn(W,"Main-Bold",X).metrics?Yi(W,"Main-Bold",X,te,pe.concat(["mathbf"])):W==="\\"||We[X][W].font==="main"?Yi(W,"Main-Regular",X,te,pe):Yi(W,"AMS-Regular",X,te,pe.concat(["amsrm"]))},ut=function(W,X,te,pe){return/[0-9]/.test(W.charAt(0))||C.contains(Xi,W)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Jn=function(W,X,te,pe){return C.contains(Xi,W)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(W.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Ai=function(W,X,te,pe){return qn(W,"Math-BoldItalic",X).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},ei=function(W,X,te){var pe=W.mode,Te=W.text,Ge=["mord"],xt=pe==="math"||pe==="text"&&X.font,Bt=xt?X.font:X.fontFamily;if(Te.charCodeAt(0)===55349){var nr=tn(Te,pe),Tr=nr[0],Wr=nr[1];return Yi(Te,Tr,pe,X,Ge.concat(Wr))}else if(Bt){var an,wn;if(Bt==="boldsymbol"||Bt==="mathnormal"){var Nn=Bt==="boldsymbol"?Ai(Te,pe,X,Ge):Jn(Te,pe,X,Ge);an=Nn.fontName,wn=[Nn.fontClass]}else C.contains(Xi,Te)?(an="Main-Italic",wn=["mathit"]):xt?(an=Ze[Bt].fontName,wn=[Bt]):(an=Hr(Bt,X.fontWeight,X.fontShape),wn=[Bt,X.fontWeight,X.fontShape]);if(qn(Te,an,pe).metrics)return Yi(Te,an,pe,X,Ge.concat(wn));if(Kr.hasOwnProperty(Te)&&an.substr(0,10)==="Typewriter"){for(var Wn=[],pi=0;pi<Te.length;pi++)Wn.push(Yi(Te[pi],an,pe,X,Ge.concat(wn)));return Dt(Wn)}}if(te==="mathord"){var Sr=ut(Te,pe,X,Ge);return Yi(Te,Sr.fontName,pe,X,Ge.concat([Sr.fontClass]))}else if(te==="textord"){var aa=We[pe][Te]&&We[pe][Te].font;if(aa==="ams"){var sa=Hr("amsrm",X.fontWeight,X.fontShape);return Yi(Te,sa,pe,X,Ge.concat("amsrm",X.fontWeight,X.fontShape))}else if(aa==="main"||!aa){var is=Hr("textrm",X.fontWeight,X.fontShape);return Yi(Te,is,pe,X,Ge.concat(X.fontWeight,X.fontShape))}else{var Za=Hr(aa,X.fontWeight,X.fontShape);return Yi(Te,Za,pe,X,Ge.concat(Za,X.fontWeight,X.fontShape))}}else throw new Error("unexpected type: "+te+" in makeOrd")},Gi=function(W,X){if(It(W.classes)!==It(X.classes)||W.skew!==X.skew||W.maxFontSize!==X.maxFontSize)return!1;for(var te in W.style)if(W.style.hasOwnProperty(te)&&W.style[te]!==X.style[te])return!1;for(var pe in X.style)if(X.style.hasOwnProperty(pe)&&W.style[pe]!==X.style[pe])return!1;return!0},vi=function(W){for(var X=0;X<W.length-1;X++){var te=W[X],pe=W[X+1];te instanceof Ae&&pe instanceof Ae&&Gi(te,pe)&&(te.text+=pe.text,te.height=Math.max(te.height,pe.height),te.depth=Math.max(te.depth,pe.depth),te.italic=pe.italic,W.splice(X+1,1),X--)}return W},si=function(W){for(var X=0,te=0,pe=0,Te=0;Te<W.children.length;Te++){var Ge=W.children[Te];Ge.height>X&&(X=Ge.height),Ge.depth>te&&(te=Ge.depth),Ge.maxFontSize>pe&&(pe=Ge.maxFontSize)}W.height=X,W.depth=te,W.maxFontSize=pe},En=function(W,X,te,pe){var Te=new ht(W,X,te,pe);return si(Te),Te},tr=function(W,X,te,pe){return new ht(W,X,te,pe)},mt=function(W,X,te){var pe=En([W],[],X);return pe.height=Math.max(te||X.fontMetrics().defaultRuleThickness,X.minRuleThickness),pe.style.borderBottomWidth=pe.height+"em",pe.maxFontSize=1,pe},rt=function(W,X,te,pe){var Te=new Je(W,X,te,pe);return si(Te),Te},Dt=function(W){var X=new Xe(W);return si(X),X},pt=function(W,X){return W instanceof Xe?En([],[W],X):W},lr=function(W){if(W.positionType==="individualShift"){for(var X=W.children,te=[X[0]],pe=-X[0].shift-X[0].elem.depth,Te=pe,Ge=1;Ge<X.length;Ge++){var xt=-X[Ge].shift-Te-X[Ge].elem.depth,Bt=xt-(X[Ge-1].elem.height+X[Ge-1].elem.depth);Te=Te+xt,te.push({type:"kern",size:Bt}),te.push(X[Ge])}return{children:te,depth:pe}}var nr;if(W.positionType==="top"){for(var Tr=W.positionData,Wr=0;Wr<W.children.length;Wr++){var an=W.children[Wr];Tr-=an.type==="kern"?an.size:an.elem.height+an.elem.depth}nr=Tr}else if(W.positionType==="bottom")nr=-W.positionData;else{var wn=W.children[0];if(wn.type!=="elem")throw new Error('First child must have type "elem".');if(W.positionType==="shift")nr=-wn.elem.depth-W.positionData;else if(W.positionType==="firstBaseline")nr=-wn.elem.depth;else throw new Error("Invalid positionType "+W.positionType+".")}return{children:W.children,depth:nr}},fr=function(W,X){for(var te=lr(W),pe=te.children,Te=te.depth,Ge=0,xt=0;xt<pe.length;xt++){var Bt=pe[xt];if(Bt.type==="elem"){var nr=Bt.elem;Ge=Math.max(Ge,nr.maxFontSize,nr.height)}}Ge+=2;var Tr=En(["pstrut"],[]);Tr.style.height=Ge+"em";for(var Wr=[],an=Te,wn=Te,Nn=Te,Wn=0;Wn<pe.length;Wn++){var pi=pe[Wn];if(pi.type==="kern")Nn+=pi.size;else{var Sr=pi.elem,aa=pi.wrapperClasses||[],sa=pi.wrapperStyle||{},is=En(aa,[Tr,Sr],void 0,sa);is.style.top=-Ge-Nn-Sr.depth+"em",pi.marginLeft&&(is.style.marginLeft=pi.marginLeft),pi.marginRight&&(is.style.marginRight=pi.marginRight),Wr.push(is),Nn+=Sr.height+Sr.depth}an=Math.min(an,Nn),wn=Math.max(wn,Nn)}var Za=En(["vlist"],Wr);Za.style.height=wn+"em";var ws;if(an<0){var as=En([],[]),Aa=En(["vlist"],[as]);Aa.style.height=-an+"em";var Fs=En(["vlist-s"],[new Ae("\u200B")]);ws=[En(["vlist-r"],[Za,Fs]),En(["vlist-r"],[Aa])]}else ws=[En(["vlist-r"],[Za])];var Rs=En(["vlist-t"],ws);return ws.length===2&&Rs.classes.push("vlist-t2"),Rs.height=wn,Rs.depth=-an,Rs},Ir=function(W,X){var te=En(["mspace"],[],X),pe=mi(W,X);return te.style.marginRight=pe+"em",te},Hr=function(W,X,te){var pe="";switch(W){case"amsrm":pe="AMS";break;case"textrm":pe="Main";break;case"textsf":pe="SansSerif";break;case"texttt":pe="Typewriter";break;default:pe=W}var Te;return X==="textbf"&&te==="textit"?Te="BoldItalic":X==="textbf"?Te="Bold":X==="textit"?Te="Italic":Te="Regular",pe+"-"+Te},Ze={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},et={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ee=function(W,X){var te=et[W],pe=te[0],Te=te[1],Ge=te[2],xt=new $e(pe),Bt=new Me([xt],{width:Te+"em",height:Ge+"em",style:"width:"+Te+"em",viewBox:"0 0 "+1e3*Te+" "+1e3*Ge,preserveAspectRatio:"xMinYMin"}),nr=tr(["overlay"],[Bt],X);return nr.height=Ge,nr.style.height=Ge+"em",nr.style.width=Te+"em",nr},it={fontMap:Ze,makeSymbol:Yi,mathsym:wt,makeSpan:En,makeSvgSpan:tr,makeLineSpan:mt,makeAnchor:rt,makeFragment:Dt,wrapFragment:pt,makeVList:fr,makeOrd:ei,makeGlue:Ir,staticSvg:Ee,svgData:et,tryCombineChars:vi};function ir(Ve,W){var X=Dr(Ve,W);if(!X)throw new Error("Expected node of type "+W+", but got "+(Ve?"node of type "+Ve.type:String(Ve)));return X}function Dr(Ve,W){return Ve&&Ve.type===W?Ve:null}function Er(Ve,W){var X=Or(Ve,W);if(!X)throw new Error('Expected node of type "atom" and family "'+W+'", but got '+(Ve?Ve.type==="atom"?"atom of family "+Ve.family:"node of type "+Ve.type:String(Ve)));return X}function Or(Ve,W){return Ve&&Ve.type==="atom"&&Ve.family===W?Ve:null}function $r(Ve){var W=bn(Ve);if(!W)throw new Error("Expected node of symbol group type, but got "+(Ve?"node of type "+Ve.type:String(Ve)));return W}function bn(Ve){return Ve&&(Ve.type==="atom"||Ct.hasOwnProperty(Ve.type))?Ve:null}var Pr={number:3,unit:"mu"},un={number:4,unit:"mu"},rn={number:5,unit:"mu"},ln={mord:{mop:Pr,mbin:un,mrel:rn,minner:Pr},mop:{mord:Pr,mop:Pr,mrel:rn,minner:Pr},mbin:{mord:un,mop:un,mopen:un,minner:un},mrel:{mord:rn,mop:rn,mopen:rn,minner:rn},mopen:{},mclose:{mop:Pr,mbin:un,mrel:rn,minner:Pr},mpunct:{mord:Pr,mop:Pr,mrel:rn,mopen:Pr,mclose:Pr,mpunct:Pr,minner:Pr},minner:{mord:Pr,mop:Pr,mbin:un,mrel:rn,mopen:Pr,mpunct:Pr,minner:Pr}},An={mord:{mop:Pr},mop:{mord:Pr,mop:Pr},mbin:{},mrel:{},mopen:{},mclose:{mop:Pr},mpunct:{},minner:{mop:Pr}},pa={},Pi={},gi={};function pn(Ve){for(var W=Ve.type,X=Ve.names,te=Ve.props,pe=Ve.handler,Te=Ve.htmlBuilder,Ge=Ve.mathmlBuilder,xt={type:W,numArgs:te.numArgs,argTypes:te.argTypes,greediness:te.greediness===void 0?1:te.greediness,allowedInText:!!te.allowedInText,allowedInMath:te.allowedInMath===void 0?!0:te.allowedInMath,numOptionalArgs:te.numOptionalArgs||0,infix:!!te.infix,handler:pe},Bt=0;Bt<X.length;++Bt)pa[X[Bt]]=xt;W&&(Te&&(Pi[W]=Te),Ge&&(gi[W]=Ge))}function ui(Ve){var W=Ve.type,X=Ve.htmlBuilder,te=Ve.mathmlBuilder;pn({type:W,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:X,mathmlBuilder:te})}var Ni=function(W){var X=Dr(W,"ordgroup");return X?X.body:[W]},la=it.makeSpan,xs=["leftmost","mbin","mopen","mrel","mop","mpunct"],Pa=["rightmost","mrel","mclose","mpunct"],Na={display:F.DISPLAY,text:F.TEXT,script:F.SCRIPT,scriptscript:F.SCRIPTSCRIPT},Is={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},$a=function(W,X,te,pe){pe===void 0&&(pe=[null,null]);for(var Te=[],Ge=0;Ge<W.length;Ge++){var xt=$i(W[Ge],X);if(xt instanceof Xe){var Bt=xt.children;Te.push.apply(Te,Bt)}else Te.push(xt)}if(!te)return Te;var nr=X;if(W.length===1){var Tr=Dr(W[0],"sizing")||Dr(W[0],"styling");Tr&&(Tr.type==="sizing"?nr=X.havingSize(Tr.size):Tr.type==="styling"&&(nr=X.havingStyle(Na[Tr.style])))}var Wr=la([pe[0]||"leftmost"],[],X),an=la([pe[1]||"rightmost"],[],X);return hs(Te,function(wn,Nn){var Wn=Nn.classes[0],pi=wn.classes[0];Wn==="mbin"&&C.contains(Pa,pi)?Nn.classes[0]="mord":pi==="mbin"&&C.contains(xs,Wn)&&(wn.classes[0]="mord")},{node:Wr},an),hs(Te,function(wn,Nn){var Wn=Ga(Nn),pi=Ga(wn),Sr=Wn&&pi?wn.hasClass("mtight")?An[Wn][pi]:ln[Wn][pi]:null;if(Sr)return it.makeGlue(Sr,nr)},{node:Wr},an),Te},hs=function Ve(W,X,te,pe){pe&&W.push(pe);for(var Te=0;Te<W.length;Te++){var Ge=W[Te],xt=oa(Ge);if(xt){Ve(xt.children,X,te);continue}if(Ge.classes[0]!=="mspace"){var Bt=X(Ge,te.node);Bt&&(te.insertAfter?te.insertAfter(Bt):(W.unshift(Bt),Te++)),te.node=Ge,te.insertAfter=function(nr){return function(Tr){W.splice(nr+1,0,Tr),Te++}}(Te)}}pe&&W.pop()},oa=function(W){return W instanceof Xe||W instanceof Je?W:null},yi=function Ve(W,X){var te=oa(W);if(te){var pe=te.children;if(pe.length){if(X==="right")return Ve(pe[pe.length-1],"right");if(X==="left")return Ve(pe[0],"left")}}return W},Ga=function(W,X){return W?(X&&(W=yi(W,X)),Is[W.classes[0]]||null):null},Ds=function(W,X){var te=["nulldelimiter"].concat(W.baseSizingClasses());return la(X.concat(te))},$i=function(W,X,te){if(!W)return la();if(Pi[W.type]){var pe=Pi[W.type](W,X);if(te&&X.size!==te.size){pe=la(X.sizingClasses(te),[pe],X);var Te=X.sizeMultiplier/te.sizeMultiplier;pe.height*=Te,pe.depth*=Te}return pe}else throw new s("Got group of unknown type: '"+W.type+"'")};function ps(Ve,W){var X=la(["base"],Ve,W),te=la(["strut"]);return te.style.height=X.height+X.depth+"em",te.style.verticalAlign=-X.depth+"em",X.children.unshift(te),X}function Co(Ve,W){var X=null;Ve.length===1&&Ve[0].type==="tag"&&(X=Ve[0].tag,Ve=Ve[0].body);for(var te=$a(Ve,W,!0),pe=[],Te=[],Ge=0;Ge<te.length;Ge++)if(Te.push(te[Ge]),te[Ge].hasClass("mbin")||te[Ge].hasClass("mrel")||te[Ge].hasClass("allowbreak")){for(var xt=!1;Ge<te.length-1&&te[Ge+1].hasClass("mspace")&&!te[Ge+1].hasClass("newline");)Ge++,Te.push(te[Ge]),te[Ge].hasClass("nobreak")&&(xt=!0);xt||(pe.push(ps(Te,W)),Te=[])}else te[Ge].hasClass("newline")&&(Te.pop(),Te.length>0&&(pe.push(ps(Te,W)),Te=[]),pe.push(te[Ge]));Te.length>0&&pe.push(ps(Te,W));var Bt;X&&(Bt=ps($a(X,W,!0)),Bt.classes=["tag"],pe.push(Bt));var nr=la(["katex-html"],pe);if(nr.setAttribute("aria-hidden","true"),Bt){var Tr=Bt.children[0];Tr.style.height=nr.height+nr.depth+"em",Tr.style.verticalAlign=-nr.depth+"em"}return nr}function La(Ve){return new Xe(Ve)}var _s=function(){function Ve(X,te){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=X,this.attributes={},this.children=te||[]}var W=Ve.prototype;return W.setAttribute=function(te,pe){this.attributes[te]=pe},W.getAttribute=function(te){return this.attributes[te]},W.toNode=function(){var te=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var pe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,pe)&&te.setAttribute(pe,this.attributes[pe]);for(var Te=0;Te<this.children.length;Te++)te.appendChild(this.children[Te].toNode());return te},W.toMarkup=function(){var te="<"+this.type;for(var pe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,pe)&&(te+=" "+pe+'="',te+=C.escape(this.attributes[pe]),te+='"');te+=">";for(var Te=0;Te<this.children.length;Te++)te+=this.children[Te].toMarkup();return te+="</"+this.type+">",te},W.toText=function(){return this.children.map(function(te){return te.toText()}).join("")},Ve}(),ji=function(){function Ve(X){this.text=void 0,this.text=X}var W=Ve.prototype;return W.toNode=function(){return document.createTextNode(this.text)},W.toMarkup=function(){return C.escape(this.toText())},W.toText=function(){return this.text},Ve}(),Gs=function(){function Ve(X){this.width=void 0,this.character=void 0,this.width=X,X>=.05555&&X<=.05556?this.character="\u200A":X>=.1666&&X<=.1667?this.character="\u2009":X>=.2222&&X<=.2223?this.character="\u2005":X>=.2777&&X<=.2778?this.character="\u2005\u200A":X>=-.05556&&X<=-.05555?this.character="\u200A\u2063":X>=-.1667&&X<=-.1666?this.character="\u2009\u2063":X>=-.2223&&X<=-.2222?this.character="\u205F\u2063":X>=-.2778&&X<=-.2777?this.character="\u2005\u2063":this.character=null}var W=Ve.prototype;return W.toNode=function(){if(this.character)return document.createTextNode(this.character);var te=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return te.setAttribute("width",this.width+"em"),te},W.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},W.toText=function(){return this.character?this.character:" "},Ve}(),Rn={MathNode:_s,TextNode:ji,SpaceNode:Gs,newDocumentFragment:La},ja=function(W,X,te){return We[X][W]&&We[X][W].replace&&W.charCodeAt(0)!==55349&&!(Kr.hasOwnProperty(W)&&te&&(te.fontFamily&&te.fontFamily.substr(4,2)==="tt"||te.font&&te.font.substr(4,2)==="tt"))&&(W=We[X][W].replace),new Rn.TextNode(W)},ns=function(W){return W.length===1?W[0]:new Rn.MathNode("mrow",W)},ls=function(W,X){if(X.fontFamily==="texttt")return"monospace";if(X.fontFamily==="textsf")return X.fontShape==="textit"&&X.fontWeight==="textbf"?"sans-serif-bold-italic":X.fontShape==="textit"?"sans-serif-italic":X.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(X.fontShape==="textit"&&X.fontWeight==="textbf")return"bold-italic";if(X.fontShape==="textit")return"italic";if(X.fontWeight==="textbf")return"bold";var te=X.font;if(!te||te==="mathnormal")return null;var pe=W.mode;if(te==="mathit")return"italic";if(te==="boldsymbol")return"bold-italic";if(te==="mathbf")return"bold";if(te==="mathbb")return"double-struck";if(te==="mathfrak")return"fraktur";if(te==="mathscr"||te==="mathcal")return"script";if(te==="mathsf")return"sans-serif";if(te==="mathtt")return"monospace";var Te=W.text;if(C.contains(["\\imath","\\jmath"],Te))return null;We[pe][Te]&&We[pe][Te].replace&&(Te=We[pe][Te].replace);var Ge=it.fontMap[te].fontName;return Gt(Te,Ge,pe)?it.fontMap[te].variant:null},Vi=function(W,X,te){if(W.length===1){var pe=Da(W[0],X);return te&&pe instanceof _s&&pe.type==="mo"&&(pe.setAttribute("lspace","0em"),pe.setAttribute("rspace","0em")),[pe]}for(var Te=[],Ge,xt=0;xt<W.length;xt++){var Bt=Da(W[xt],X);if(Bt instanceof _s&&Ge instanceof _s){if(Bt.type==="mtext"&&Ge.type==="mtext"&&Bt.getAttribute("mathvariant")===Ge.getAttribute("mathvariant")){var nr;(nr=Ge.children).push.apply(nr,Bt.children);continue}else if(Bt.type==="mn"&&Ge.type==="mn"){var Tr;(Tr=Ge.children).push.apply(Tr,Bt.children);continue}else if(Bt.type==="mi"&&Bt.children.length===1&&Ge.type==="mn"){var Wr=Bt.children[0];if(Wr instanceof ji&&Wr.text==="."){var an;(an=Ge.children).push.apply(an,Bt.children);continue}}else if(Ge.type==="mi"&&Ge.children.length===1){var wn=Ge.children[0];if(wn instanceof ji&&wn.text==="\u0338"&&(Bt.type==="mo"||Bt.type==="mi"||Bt.type==="mn")){var Nn=Bt.children[0];Nn instanceof ji&&Nn.text.length>0&&(Nn.text=Nn.text.slice(0,1)+"\u0338"+Nn.text.slice(1),Te.pop())}}}Te.push(Bt),Ge=Bt}return Te},Ia=function(W,X,te){return ns(Vi(W,X,te))},Da=function(W,X){if(!W)return new Rn.MathNode("mrow");if(gi[W.type]){var te=gi[W.type](W,X);return te}else throw new s("Got group of unknown type: '"+W.type+"'")};function ms(Ve,W,X,te){var pe=Vi(Ve,X),Te;pe.length===1&&pe[0]instanceof _s&&C.contains(["mrow","mtable"],pe[0].type)?Te=pe[0]:Te=new Rn.MathNode("mrow",pe);var Ge=new Rn.MathNode("annotation",[new Rn.TextNode(W)]);Ge.setAttribute("encoding","application/x-tex");var xt=new Rn.MathNode("semantics",[Te,Ge]),Bt=new Rn.MathNode("math",[xt]);Bt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var nr=te?"katex":"katex-mathml";return it.makeSpan([nr],[Bt])}var Bs=function(W){return new Zi({style:W.displayMode?F.DISPLAY:F.TEXT,maxSize:W.maxSize,minRuleThickness:W.minRuleThickness})},_o=function(W,X){if(X.displayMode){var te=["katex-display"];X.leqno&&te.push("leqno"),X.fleqn&&te.push("fleqn"),W=it.makeSpan(te,[W])}return W},To=function(W,X,te){var pe=Bs(te),Te;if(te.output==="mathml")return ms(W,X,pe,!0);if(te.output==="html"){var Ge=Co(W,pe);Te=it.makeSpan(["katex"],[Ge])}else{var xt=ms(W,X,pe,!1),Bt=Co(W,pe);Te=it.makeSpan(["katex"],[xt,Bt])}return _o(Te,te)},Vo=function(W,X,te){var pe=Bs(te),Te=Co(W,pe),Ge=it.makeSpan(["katex"],[Te]);return _o(Ge,te)},uo=To,ca={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},cs=function(W){var X=new Rn.MathNode("mo",[new Rn.TextNode(ca[W.substr(1)])]);return X.setAttribute("stretchy","true"),X},mo={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},vo=function(W){return W.type==="ordgroup"?W.body.length:1},go=function(W,X){function te(){var Bt=4e5,nr=W.label.substr(1);if(C.contains(["widehat","widecheck","widetilde","utilde"],nr)){var Tr=W,Wr=vo(Tr.base),an,wn,Nn;if(Wr>5)nr==="widehat"||nr==="widecheck"?(an=420,Bt=2364,Nn=.42,wn=nr+"4"):(an=312,Bt=2340,Nn=.34,wn="tilde4");else{var Wn=[1,1,2,2,3,3][Wr];nr==="widehat"||nr==="widecheck"?(Bt=[0,1062,2364,2364,2364][Wn],an=[0,239,300,360,420][Wn],Nn=[0,.24,.3,.3,.36,.42][Wn],wn=nr+Wn):(Bt=[0,600,1033,2339,2340][Wn],an=[0,260,286,306,312][Wn],Nn=[0,.26,.286,.3,.306,.34][Wn],wn="tilde"+Wn)}var pi=new $e(wn),Sr=new Me([pi],{width:"100%",height:Nn+"em",viewBox:"0 0 "+Bt+" "+an,preserveAspectRatio:"none"});return{span:it.makeSvgSpan([],[Sr],X),minWidth:0,height:Nn}}else{var aa=[],sa=mo[nr],is=sa[0],Za=sa[1],ws=sa[2],as=ws/1e3,Aa=is.length,Fs,Rs;if(Aa===1){var fi=sa[3];Fs=["hide-tail"],Rs=[fi]}else if(Aa===2)Fs=["halfarrow-left","halfarrow-right"],Rs=["xMinYMin","xMaxYMin"];else if(Aa===3)Fs=["brace-left","brace-center","brace-right"],Rs=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+Aa+" children.");for(var Qs=0;Qs<Aa;Qs++){var po=new $e(is[Qs]),Oo=new Me([po],{width:"400em",height:as+"em",viewBox:"0 0 "+Bt+" "+ws,preserveAspectRatio:Rs[Qs]+" slice"}),za=it.makeSvgSpan([Fs[Qs]],[Oo],X);if(Aa===1)return{span:za,minWidth:Za,height:as};za.style.height=as+"em",aa.push(za)}return{span:it.makeSpan(["stretchy"],aa,X),minWidth:Za,height:as}}}var pe=te(),Te=pe.span,Ge=pe.minWidth,xt=pe.height;return Te.height=xt,Te.style.height=xt+"em",Ge>0&&(Te.style.minWidth=Ge+"em"),Te},hi=function(W,X,te,pe){var Te,Ge=W.height+W.depth+2*te;if(/fbox|color/.test(X)){if(Te=it.makeSpan(["stretchy",X],[],pe),X==="fbox"){var xt=pe.color&&pe.getColor();xt&&(Te.style.borderColor=xt)}}else{var Bt=[];/^[bx]cancel$/.test(X)&&Bt.push(new He({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(X)&&Bt.push(new He({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var nr=new Me(Bt,{width:"100%",height:Ge+"em"});Te=it.makeSvgSpan([],[nr],pe)}return Te.height=Ge,Te.style.height=Ge+"em",Te},oi={encloseSpan:hi,mathMLnode:cs,svgSpan:go},Fa=function(W,X){var te,pe,Te=Dr(W,"supsub"),Ge;Te?(pe=ir(Te.base,"accent"),te=pe.base,Te.base=te,Ge=ct($i(Te,X)),Te.base=pe):(pe=ir(W,"accent"),te=pe.base);var xt=$i(te,X.havingCrampedStyle()),Bt=pe.isShifty&&C.isCharacterBox(te),nr=0;if(Bt){var Tr=C.getBaseElem(te),Wr=$i(Tr,X.havingCrampedStyle());nr=nt(Wr).skew}var an=Math.min(xt.height,X.fontMetrics().xHeight),wn;if(pe.isStretchy)wn=oi.svgSpan(pe,X),wn=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:xt},{type:"elem",elem:wn,wrapperClasses:["svg-align"],wrapperStyle:nr>0?{width:"calc(100% - "+2*nr+"em)",marginLeft:2*nr+"em"}:void 0}]},X);else{var Nn,Wn;pe.label==="\\vec"?(Nn=it.staticSvg("vec",X),Wn=it.svgData.vec[1]):(Nn=it.makeOrd({mode:pe.mode,text:pe.label},X,"textord"),Nn=nt(Nn),Nn.italic=0,Wn=Nn.width),wn=it.makeSpan(["accent-body"],[Nn]);var pi=pe.label==="\\textcircled";pi&&(wn.classes.push("accent-full"),an=xt.height);var Sr=nr;pi||(Sr-=Wn/2),wn.style.left=Sr+"em",pe.label==="\\textcircled"&&(wn.style.top=".2em"),wn=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:xt},{type:"kern",size:-an},{type:"elem",elem:wn}]},X)}var aa=it.makeSpan(["mord","accent"],[wn],X);return Ge?(Ge.children[0]=aa,Ge.height=Math.max(aa.height,Ge.height),Ge.classes[0]="mord",Ge):aa},Va=function(W,X){var te=W.isStretchy?oi.mathMLnode(W.label):new Rn.MathNode("mo",[ja(W.label,W.mode)]),pe=new Rn.MathNode("mover",[Da(W.base,X),te]);return pe.setAttribute("accent","true"),pe},Xa=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Ve){return"\\"+Ve}).join("|"));pn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(W,X){var te=X[0],pe=!Xa.test(W.funcName),Te=!pe||W.funcName==="\\widehat"||W.funcName==="\\widetilde"||W.funcName==="\\widecheck";return{type:"accent",mode:W.parser.mode,label:W.funcName,isStretchy:pe,isShifty:Te,base:te}},htmlBuilder:Fa,mathmlBuilder:Va}),pn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(W,X){var te=X[0];return{type:"accent",mode:W.parser.mode,label:W.funcName,isStretchy:!1,isShifty:!0,base:te}},htmlBuilder:Fa,mathmlBuilder:Va}),pn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0];return{type:"accentUnder",mode:te.mode,label:pe,base:Te}},htmlBuilder:function(W,X){var te=$i(W.base,X),pe=oi.svgSpan(W,X),Te=W.label==="\\utilde"?.12:0,Ge=it.makeVList({positionType:"bottom",positionData:pe.height+Te,children:[{type:"elem",elem:pe,wrapperClasses:["svg-align"]},{type:"kern",size:Te},{type:"elem",elem:te}]},X);return it.makeSpan(["mord","accentunder"],[Ge],X)},mathmlBuilder:function(W,X){var te=oi.mathMLnode(W.label),pe=new Rn.MathNode("munder",[Da(W.base,X),te]);return pe.setAttribute("accentunder","true"),pe}});var lo=function(W){var X=new Rn.MathNode("mpadded",W?[W]:[]);return X.setAttribute("width","+0.6em"),X.setAttribute("lspace","0.3em"),X};pn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(W,X,te){var pe=W.parser,Te=W.funcName;return{type:"xArrow",mode:pe.mode,label:Te,body:X[0],below:te[0]}},htmlBuilder:function(W,X){var te=X.style,pe=X.havingStyle(te.sup()),Te=it.wrapFragment($i(W.body,pe,X),X);Te.classes.push("x-arrow-pad");var Ge;W.below&&(pe=X.havingStyle(te.sub()),Ge=it.wrapFragment($i(W.below,pe,X),X),Ge.classes.push("x-arrow-pad"));var xt=oi.svgSpan(W,X),Bt=-X.fontMetrics().axisHeight+.5*xt.height,nr=-X.fontMetrics().axisHeight-.5*xt.height-.111;(Te.depth>.25||W.label==="\\xleftequilibrium")&&(nr-=Te.depth);var Tr;if(Ge){var Wr=-X.fontMetrics().axisHeight+Ge.height+.5*xt.height+.111;Tr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Te,shift:nr},{type:"elem",elem:xt,shift:Bt},{type:"elem",elem:Ge,shift:Wr}]},X)}else Tr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Te,shift:nr},{type:"elem",elem:xt,shift:Bt}]},X);return Tr.children[0].children[0].children[1].classes.push("svg-align"),it.makeSpan(["mrel","x-arrow"],[Tr],X)},mathmlBuilder:function(W,X){var te=oi.mathMLnode(W.label),pe;if(W.body){var Te=lo(Da(W.body,X));if(W.below){var Ge=lo(Da(W.below,X));pe=new Rn.MathNode("munderover",[te,Ge,Te])}else pe=new Rn.MathNode("mover",[te,Te])}else if(W.below){var xt=lo(Da(W.below,X));pe=new Rn.MathNode("munder",[te,xt])}else pe=lo(),pe=new Rn.MathNode("mover",[te,pe]);return pe}}),pn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(W,X){for(var te=W.parser,pe=ir(X[0],"ordgroup"),Te=pe.body,Ge="",xt=0;xt<Te.length;xt++){var Bt=ir(Te[xt],"textord");Ge+=Bt.text}var nr=parseInt(Ge);if(isNaN(nr))throw new s("\\@char has non-numeric argument "+Ge);return{type:"textord",mode:te.mode,text:String.fromCharCode(nr)}}});var co=function(W,X){var te=$a(W.body,X.withColor(W.color),!1);return it.makeFragment(te)},Po=function(W,X){var te=Vi(W.body,X.withColor(W.color)),pe=new Rn.MathNode("mstyle",te);return pe.setAttribute("mathcolor",W.color),pe};pn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(W,X){var te=W.parser,pe=ir(X[0],"color-token").color,Te=X[1];return{type:"color",mode:te.mode,color:pe,body:Ni(Te)}},htmlBuilder:co,mathmlBuilder:Po}),pn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(W,X){var te=W.parser,pe=W.breakOnTokenText,Te=ir(X[0],"color-token").color;te.gullet.macros.set("\\current@color",Te);var Ge=te.parseExpression(!0,pe);return{type:"color",mode:te.mode,color:Te,body:Ge}},htmlBuilder:co,mathmlBuilder:Po}),pn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(W,X,te){var pe=W.parser,Te=W.funcName,Ge=te[0],xt=Te==="\\cr",Bt=!1;return xt||(pe.settings.displayMode&&pe.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Bt=!1:Bt=!0),{type:"cr",mode:pe.mode,newLine:Bt,newRow:xt,size:Ge&&ir(Ge,"size").value}},htmlBuilder:function(W,X){if(W.newRow)throw new s("\\cr valid only within a tabular/array environment");var te=it.makeSpan(["mspace"],[],X);return W.newLine&&(te.classes.push("newline"),W.size&&(te.style.marginTop=mi(W.size,X)+"em")),te},mathmlBuilder:function(W,X){var te=new Rn.MathNode("mspace");return W.newLine&&(te.setAttribute("linebreak","newline"),W.size&&te.setAttribute("height",mi(W.size,X)+"em")),te}});var Qa=function(W,X,te){var pe=We.math[W]&&We.math[W].replace,Te=Gt(pe||W,X,te);if(!Te)throw new Error("Unsupported symbol "+W+" and font size "+X+".");return Te},Lo=function(W,X,te,pe){var Te=te.havingBaseStyle(X),Ge=it.makeSpan(pe.concat(Te.sizingClasses(te)),[W],te),xt=Te.sizeMultiplier/te.sizeMultiplier;return Ge.height*=xt,Ge.depth*=xt,Ge.maxFontSize=Te.sizeMultiplier,Ge},yo=function(W,X,te){var pe=X.havingBaseStyle(te),Te=(1-X.sizeMultiplier/pe.sizeMultiplier)*X.fontMetrics().axisHeight;W.classes.push("delimcenter"),W.style.top=Te+"em",W.height-=Te,W.depth+=Te},Ko=function(W,X,te,pe,Te,Ge){var xt=it.makeSymbol(W,"Main-Regular",Te,pe),Bt=Lo(xt,X,pe,Ge);return te&&yo(Bt,pe,X),Bt},Tu=function(W,X,te,pe){return it.makeSymbol(W,"Size"+X+"-Regular",te,pe)},_u=function(W,X,te,pe,Te,Ge){var xt=Tu(W,X,Te,pe),Bt=Lo(it.makeSpan(["delimsizing","size"+X],[xt],pe),F.TEXT,pe,Ge);return te&&yo(Bt,pe,F.TEXT),Bt},fo=function(W,X,te){var pe;X==="Size1-Regular"?pe="delim-size1":pe="delim-size4";var Te=it.makeSpan(["delimsizinginner",pe],[it.makeSpan([],[it.makeSymbol(W,X,te)])]);return{type:"elem",elem:Te}},fs={type:"kern",size:-.005},zu=function(W,X,te,pe,Te,Ge){var xt,Bt,nr,Tr;xt=nr=Tr=W,Bt=null;var Wr="Size1-Regular";W==="\\uparrow"?nr=Tr="\u23D0":W==="\\Uparrow"?nr=Tr="\u2016":W==="\\downarrow"?xt=nr="\u23D0":W==="\\Downarrow"?xt=nr="\u2016":W==="\\updownarrow"?(xt="\\uparrow",nr="\u23D0",Tr="\\downarrow"):W==="\\Updownarrow"?(xt="\\Uparrow",nr="\u2016",Tr="\\Downarrow"):W==="["||W==="\\lbrack"?(xt="\u23A1",nr="\u23A2",Tr="\u23A3",Wr="Size4-Regular"):W==="]"||W==="\\rbrack"?(xt="\u23A4",nr="\u23A5",Tr="\u23A6",Wr="Size4-Regular"):W==="\\lfloor"||W==="\u230A"?(nr=xt="\u23A2",Tr="\u23A3",Wr="Size4-Regular"):W==="\\lceil"||W==="\u2308"?(xt="\u23A1",nr=Tr="\u23A2",Wr="Size4-Regular"):W==="\\rfloor"||W==="\u230B"?(nr=xt="\u23A5",Tr="\u23A6",Wr="Size4-Regular"):W==="\\rceil"||W==="\u2309"?(xt="\u23A4",nr=Tr="\u23A5",Wr="Size4-Regular"):W==="("||W==="\\lparen"?(xt="\u239B",nr="\u239C",Tr="\u239D",Wr="Size4-Regular"):W===")"||W==="\\rparen"?(xt="\u239E",nr="\u239F",Tr="\u23A0",Wr="Size4-Regular"):W==="\\{"||W==="\\lbrace"?(xt="\u23A7",Bt="\u23A8",Tr="\u23A9",nr="\u23AA",Wr="Size4-Regular"):W==="\\}"||W==="\\rbrace"?(xt="\u23AB",Bt="\u23AC",Tr="\u23AD",nr="\u23AA",Wr="Size4-Regular"):W==="\\lgroup"||W==="\u27EE"?(xt="\u23A7",Tr="\u23A9",nr="\u23AA",Wr="Size4-Regular"):W==="\\rgroup"||W==="\u27EF"?(xt="\u23AB",Tr="\u23AD",nr="\u23AA",Wr="Size4-Regular"):W==="\\lmoustache"||W==="\u23B0"?(xt="\u23A7",Tr="\u23AD",nr="\u23AA",Wr="Size4-Regular"):(W==="\\rmoustache"||W==="\u23B1")&&(xt="\u23AB",Tr="\u23A9",nr="\u23AA",Wr="Size4-Regular");var an=Qa(xt,Wr,Te),wn=an.height+an.depth,Nn=Qa(nr,Wr,Te),Wn=Nn.height+Nn.depth,pi=Qa(Tr,Wr,Te),Sr=pi.height+pi.depth,aa=0,sa=1;if(Bt!==null){var is=Qa(Bt,Wr,Te);aa=is.height+is.depth,sa=2}var Za=wn+Sr+aa,ws=Math.max(0,Math.ceil((X-Za)/(sa*Wn))),as=Za+ws*sa*Wn,Aa=pe.fontMetrics().axisHeight;te&&(Aa*=pe.sizeMultiplier);var Fs=as/2-Aa,Rs=(ws+1)*.005-Wn,fi=[];if(fi.push(fo(Tr,Wr,Te)),Bt===null)for(var Qs=0;Qs<ws;Qs++)fi.push(fs),fi.push(fo(nr,Wr,Te));else{for(var po=0;po<ws;po++)fi.push(fs),fi.push(fo(nr,Wr,Te));fi.push({type:"kern",size:Rs}),fi.push(fo(nr,Wr,Te)),fi.push(fs),fi.push(fo(Bt,Wr,Te));for(var Oo=0;Oo<ws;Oo++)fi.push(fs),fi.push(fo(nr,Wr,Te))}fi.push({type:"kern",size:Rs}),fi.push(fo(nr,Wr,Te)),fi.push(fs),fi.push(fo(xt,Wr,Te));var za=pe.havingBaseStyle(F.TEXT),Eo=it.makeVList({positionType:"bottom",positionData:Fs,children:fi},za);return Lo(it.makeSpan(["delimsizing","mult"],[Eo],za),F.TEXT,pe,Ge)},Mo=80,Io=.08,Us=function(W,X,te,pe,Te){var Ge=er(W,pe,te),xt=new $e(W,Ge),Bt=new Me([xt],{width:"400em",height:X+"em",viewBox:"0 0 400000 "+te,preserveAspectRatio:"xMinYMin slice"});return it.makeSvgSpan(["hide-tail"],[Bt],Te)},ou=function(W,X){var te=X.havingBaseSizing(),pe=vr("\\surd",W*te.sizeMultiplier,cr,te),Te=te.sizeMultiplier,Ge=Math.max(0,X.minRuleThickness-X.fontMetrics().sqrtRuleThickness),xt,Bt=0,nr=0,Tr=0,Wr;return pe.type==="small"?(Tr=1e3+1e3*Ge+Mo,W<1?Te=1:W<1.4&&(Te=.7),Bt=(1+Ge+Io)/Te,nr=(1+Ge)/Te,xt=Us("sqrtMain",Bt,Tr,Ge,X),xt.style.minWidth="0.853em",Wr=.833/Te):pe.type==="large"?(Tr=(1e3+Mo)*bo[pe.size],nr=(bo[pe.size]+Ge)/Te,Bt=(bo[pe.size]+Ge+Io)/Te,xt=Us("sqrtSize"+pe.size,Bt,Tr,Ge,X),xt.style.minWidth="1.02em",Wr=1/Te):(Bt=W+Ge+Io,nr=W+Ge,Tr=Math.floor(1e3*W+Ge)+Mo,xt=Us("sqrtTall",Bt,Tr,Ge,X),xt.style.minWidth="0.742em",Wr=1.056),xt.height=nr,xt.style.height=Bt+"em",{span:xt,advanceWidth:Wr,ruleWidth:(X.fontMetrics().sqrtRuleThickness+Ge)*Te}},jo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Do=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Ls=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],bo=[0,1.2,1.8,2.4,3],mu=function(W,X,te,pe,Te){if(W==="<"||W==="\\lt"||W==="\u27E8"?W="\\langle":(W===">"||W==="\\gt"||W==="\u27E9")&&(W="\\rangle"),C.contains(jo,W)||C.contains(Ls,W))return _u(W,X,!1,te,pe,Te);if(C.contains(Do,W))return zu(W,bo[X],!1,te,pe,Te);throw new s("Illegal delimiter: '"+W+"'")},Fo=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Qt=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"stack"}],cr=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],sr=function(W){if(W.type==="small")return"Main-Regular";if(W.type==="large")return"Size"+W.size+"-Regular";if(W.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+W.type+"' here.")},vr=function(W,X,te,pe){for(var Te=Math.min(2,3-pe.style.size),Ge=Te;Ge<te.length&&te[Ge].type!=="stack";Ge++){var xt=Qa(W,sr(te[Ge]),"math"),Bt=xt.height+xt.depth;if(te[Ge].type==="small"){var nr=pe.havingBaseStyle(te[Ge].style);Bt*=nr.sizeMultiplier}if(Bt>X)return te[Ge]}return te[te.length-1]},wr=function(W,X,te,pe,Te,Ge){W==="<"||W==="\\lt"||W==="\u27E8"?W="\\langle":(W===">"||W==="\\gt"||W==="\u27E9")&&(W="\\rangle");var xt;C.contains(Ls,W)?xt=Fo:C.contains(jo,W)?xt=cr:xt=Qt;var Bt=vr(W,X,xt,pe);return Bt.type==="small"?Ko(W,Bt.style,te,pe,Te,Ge):Bt.type==="large"?_u(W,Bt.size,te,pe,Te,Ge):zu(W,X,te,pe,Te,Ge)},xn=function(W,X,te,pe,Te,Ge){var xt=pe.fontMetrics().axisHeight*pe.sizeMultiplier,Bt=901,nr=5/pe.fontMetrics().ptPerEm,Tr=Math.max(X-xt,te+xt),Wr=Math.max(Tr/500*Bt,2*Tr-nr);return wr(W,Wr,!0,pe,Te,Ge)},Sn={sqrtImage:ou,sizedDelim:mu,customSizedDelim:wr,leftRightDelim:xn},Un={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Ln=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Gn(Ve,W){var X=bn(Ve);if(X&&C.contains(Ln,X.text))return X;throw new s("Invalid delimiter: '"+(X?X.text:JSON.stringify(Ve))+"' after '"+W.funcName+"'",Ve)}pn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(W,X){var te=Gn(X[0],W);return{type:"delimsizing",mode:W.parser.mode,size:Un[W.funcName].size,mclass:Un[W.funcName].mclass,delim:te.text}},htmlBuilder:function(W,X){return W.delim==="."?it.makeSpan([W.mclass]):Sn.sizedDelim(W.delim,W.size,X,W.mode,[W.mclass])},mathmlBuilder:function(W){var X=[];W.delim!=="."&&X.push(ja(W.delim,W.mode));var te=new Rn.MathNode("mo",X);return W.mclass==="mopen"||W.mclass==="mclose"?te.setAttribute("fence","true"):te.setAttribute("fence","false"),te}});function ur(Ve){if(!Ve.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}pn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(W,X){var te=W.parser.gullet.macros.get("\\current@color");if(te&&typeof te!="string")throw new s("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:W.parser.mode,delim:Gn(X[0],W).text,color:te}}}),pn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(W,X){var te=Gn(X[0],W),pe=W.parser;++pe.leftrightDepth;var Te=pe.parseExpression(!1);--pe.leftrightDepth,pe.expect("\\right",!1);var Ge=ir(pe.parseFunction(),"leftright-right");return{type:"leftright",mode:pe.mode,body:Te,left:te.text,right:Ge.delim,rightColor:Ge.color}},htmlBuilder:function(W,X){ur(W);for(var te=$a(W.body,X,!0,["mopen","mclose"]),pe=0,Te=0,Ge=!1,xt=0;xt<te.length;xt++)te[xt].isMiddle?Ge=!0:(pe=Math.max(te[xt].height,pe),Te=Math.max(te[xt].depth,Te));pe*=X.sizeMultiplier,Te*=X.sizeMultiplier;var Bt;if(W.left==="."?Bt=Ds(X,["mopen"]):Bt=Sn.leftRightDelim(W.left,pe,Te,X,W.mode,["mopen"]),te.unshift(Bt),Ge)for(var nr=1;nr<te.length;nr++){var Tr=te[nr],Wr=Tr.isMiddle;Wr&&(te[nr]=Sn.leftRightDelim(Wr.delim,pe,Te,Wr.options,W.mode,[]))}var an;if(W.right===".")an=Ds(X,["mclose"]);else{var wn=W.rightColor?X.withColor(W.rightColor):X;an=Sn.leftRightDelim(W.right,pe,Te,wn,W.mode,["mclose"])}return te.push(an),it.makeSpan(["minner"],te,X)},mathmlBuilder:function(W,X){ur(W);var te=Vi(W.body,X);if(W.left!=="."){var pe=new Rn.MathNode("mo",[ja(W.left,W.mode)]);pe.setAttribute("fence","true"),te.unshift(pe)}if(W.right!=="."){var Te=new Rn.MathNode("mo",[ja(W.right,W.mode)]);Te.setAttribute("fence","true"),W.rightColor&&Te.setAttribute("mathcolor",W.rightColor),te.push(Te)}return ns(te)}}),pn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(W,X){var te=Gn(X[0],W);if(!W.parser.leftrightDepth)throw new s("\\middle without preceding \\left",te);return{type:"middle",mode:W.parser.mode,delim:te.text}},htmlBuilder:function(W,X){var te;if(W.delim===".")te=Ds(X,[]);else{te=Sn.sizedDelim(W.delim,1,X,W.mode,[]);var pe={delim:W.delim,options:X};te.isMiddle=pe}return te},mathmlBuilder:function(W,X){var te=W.delim==="\\vert"||W.delim==="|"?ja("|","text"):ja(W.delim,W.mode),pe=new Rn.MathNode("mo",[te]);return pe.setAttribute("fence","true"),pe.setAttribute("lspace","0.05em"),pe.setAttribute("rspace","0.05em"),pe}});var Fr=function(W,X){var te=it.wrapFragment($i(W.body,X),X),pe=W.label.substr(1),Te=X.sizeMultiplier,Ge,xt=0,Bt=C.isCharacterBox(W.body);if(pe==="sout")Ge=it.makeSpan(["stretchy","sout"]),Ge.height=X.fontMetrics().defaultRuleThickness/Te,xt=-.5*X.fontMetrics().xHeight;else{/cancel/.test(pe)?Bt||te.classes.push("cancel-pad"):te.classes.push("boxpad");var nr=0,Tr=0;/box/.test(pe)?(Tr=Math.max(X.fontMetrics().fboxrule,X.minRuleThickness),nr=X.fontMetrics().fboxsep+(pe==="colorbox"?0:Tr)):nr=Bt?.2:0,Ge=oi.encloseSpan(te,pe,nr,X),/fbox|boxed|fcolorbox/.test(pe)&&(Ge.style.borderStyle="solid",Ge.style.borderWidth=Tr+"em"),xt=te.depth+nr,W.backgroundColor&&(Ge.style.backgroundColor=W.backgroundColor,W.borderColor&&(Ge.style.borderColor=W.borderColor))}var Wr;return W.backgroundColor?Wr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ge,shift:xt},{type:"elem",elem:te,shift:0}]},X):Wr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:te,shift:0},{type:"elem",elem:Ge,shift:xt,wrapperClasses:/cancel/.test(pe)?["svg-align"]:[]}]},X),/cancel/.test(pe)&&(Wr.height=te.height,Wr.depth=te.depth),/cancel/.test(pe)&&!Bt?it.makeSpan(["mord","cancel-lap"],[Wr],X):it.makeSpan(["mord"],[Wr],X)},xr=function(W,X){var te=0,pe=new Rn.MathNode(W.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Da(W.body,X)]);switch(W.label){case"\\cancel":pe.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":pe.setAttribute("notation","downdiagonalstrike");break;case"\\sout":pe.setAttribute("notation","horizontalstrike");break;case"\\fbox":pe.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(te=X.fontMetrics().fboxsep*X.fontMetrics().ptPerEm,pe.setAttribute("width","+"+2*te+"pt"),pe.setAttribute("height","+"+2*te+"pt"),pe.setAttribute("lspace",te+"pt"),pe.setAttribute("voffset",te+"pt"),W.label==="\\fcolorbox"){var Te=Math.max(X.fontMetrics().fboxrule,X.minRuleThickness);pe.setAttribute("style","border: "+Te+"em solid "+String(W.borderColor))}break;case"\\xcancel":pe.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return W.backgroundColor&&pe.setAttribute("mathbackground",W.backgroundColor),pe};pn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(W,X,te){var pe=W.parser,Te=W.funcName,Ge=ir(X[0],"color-token").color,xt=X[1];return{type:"enclose",mode:pe.mode,label:Te,backgroundColor:Ge,body:xt}},htmlBuilder:Fr,mathmlBuilder:xr}),pn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(W,X,te){var pe=W.parser,Te=W.funcName,Ge=ir(X[0],"color-token").color,xt=ir(X[1],"color-token").color,Bt=X[2];return{type:"enclose",mode:pe.mode,label:Te,backgroundColor:xt,borderColor:Ge,body:Bt}},htmlBuilder:Fr,mathmlBuilder:xr}),pn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(W,X){var te=W.parser;return{type:"enclose",mode:te.mode,label:"\\fbox",body:X[0]}}}),pn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(W,X,te){var pe=W.parser,Te=W.funcName,Ge=X[0];return{type:"enclose",mode:pe.mode,label:Te,body:Ge}},htmlBuilder:Fr,mathmlBuilder:xr});var mn={};function Hn(Ve){for(var W=Ve.type,X=Ve.names,te=Ve.props,pe=Ve.handler,Te=Ve.htmlBuilder,Ge=Ve.mathmlBuilder,xt={type:W,numArgs:te.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:pe},Bt=0;Bt<X.length;++Bt)mn[X[Bt]]=xt;Te&&(Pi[W]=Te),Ge&&(gi[W]=Ge)}function ft(Ve){var W=[];Ve.consumeSpaces();for(var X=Ve.fetch().text;X==="\\hline"||X==="\\hdashline";)Ve.consume(),W.push(X==="\\hdashline"),Ve.consumeSpaces(),X=Ve.fetch().text;return W}function Pn(Ve,W,X){var te=W.hskipBeforeAndAfter,pe=W.addJot,Te=W.cols,Ge=W.arraystretch,xt=W.colSeparationType;if(Ve.gullet.beginGroup(),Ve.gullet.macros.set("\\\\","\\cr"),!Ge){var Bt=Ve.gullet.expandMacroAsText("\\arraystretch");if(Bt==null)Ge=1;else if(Ge=parseFloat(Bt),!Ge||Ge<0)throw new s("Invalid \\arraystretch: "+Bt)}Ve.gullet.beginGroup();var nr=[],Tr=[nr],Wr=[],an=[];for(an.push(ft(Ve));;){var wn=Ve.parseExpression(!1,"\\cr");Ve.gullet.endGroup(),Ve.gullet.beginGroup(),wn={type:"ordgroup",mode:Ve.mode,body:wn},X&&(wn={type:"styling",mode:Ve.mode,style:X,body:[wn]}),nr.push(wn);var Nn=Ve.fetch().text;if(Nn==="&")Ve.consume();else if(Nn==="\\end"){nr.length===1&&wn.type==="styling"&&wn.body[0].body.length===0&&Tr.pop(),an.length<Tr.length+1&&an.push([]);break}else if(Nn==="\\cr"){var Wn=ir(Ve.parseFunction(),"cr");Wr.push(Wn.size),an.push(ft(Ve)),nr=[],Tr.push(nr)}else throw new s("Expected & or \\\\ or \\cr or \\end",Ve.nextToken)}return Ve.gullet.endGroup(),Ve.gullet.endGroup(),{type:"array",mode:Ve.mode,addJot:pe,arraystretch:Ge,body:Tr,cols:Te,rowGaps:Wr,hskipBeforeAndAfter:te,hLinesBeforeRow:an,colSeparationType:xt}}function Vn(Ve){return Ve.substr(0,1)==="d"?"display":"text"}var li=function(W,X){var te,pe,Te=W.body.length,Ge=W.hLinesBeforeRow,xt=0,Bt=new Array(Te),nr=[],Tr=Math.max(X.fontMetrics().arrayRuleWidth,X.minRuleThickness),Wr=1/X.fontMetrics().ptPerEm,an=5*Wr;if(W.colSeparationType&&W.colSeparationType==="small"){var wn=X.havingStyle(F.SCRIPT).sizeMultiplier;an=.2778*(wn/X.sizeMultiplier)}var Nn=12*Wr,Wn=3*Wr,pi=W.arraystretch*Nn,Sr=.7*pi,aa=.3*pi,sa=0;function is(Uo){for(var Du=0;Du<Uo.length;++Du)Du>0&&(sa+=.25),nr.push({pos:sa,isDashed:Uo[Du]})}for(is(Ge[0]),te=0;te<W.body.length;++te){var Za=W.body[te],ws=Sr,as=aa;xt<Za.length&&(xt=Za.length);var Aa=new Array(Za.length);for(pe=0;pe<Za.length;++pe){var Fs=$i(Za[pe],X);as<Fs.depth&&(as=Fs.depth),ws<Fs.height&&(ws=Fs.height),Aa[pe]=Fs}var Rs=W.rowGaps[te],fi=0;Rs&&(fi=mi(Rs,X),fi>0&&(fi+=aa,as<fi&&(as=fi),fi=0)),W.addJot&&(as+=Wn),Aa.height=ws,Aa.depth=as,sa+=ws,Aa.pos=sa,sa+=as+fi,Bt[te]=Aa,is(Ge[te+1])}var Qs=sa/2+X.fontMetrics().axisHeight,po=W.cols||[],Oo=[],za,Eo;for(pe=0,Eo=0;pe<xt||Eo<po.length;++pe,++Eo){for(var zs=po[Eo]||{},Al=!0;zs.type==="separator";){if(Al||(za=it.makeSpan(["arraycolsep"],[]),za.style.width=X.fontMetrics().doubleRuleSep+"em",Oo.push(za)),zs.separator==="|"||zs.separator===":"){var Ju=zs.separator==="|"?"solid":"dashed",el=it.makeSpan(["vertical-separator"],[],X);el.style.height=sa+"em",el.style.borderRightWidth=Tr+"em",el.style.borderRightStyle=Ju,el.style.margin="0 -"+Tr/2+"em",el.style.verticalAlign=-(sa-Qs)+"em",Oo.push(el)}else throw new s("Invalid separator type: "+zs.separator);Eo++,zs=po[Eo]||{},Al=!1}if(!(pe>=xt)){var gu=void 0;(pe>0||W.hskipBeforeAndAfter)&&(gu=C.deflt(zs.pregap,an),gu!==0&&(za=it.makeSpan(["arraycolsep"],[]),za.style.width=gu+"em",Oo.push(za)));var ss=[];for(te=0;te<Te;++te){var uu=Bt[te],yu=uu[pe];if(yu){var wo=uu.pos-Qs;yu.depth=uu.depth,yu.height=uu.height,ss.push({type:"elem",elem:yu,shift:wo})}}ss=it.makeVList({positionType:"individualShift",children:ss},X),ss=it.makeSpan(["col-align-"+(zs.align||"c")],[ss]),Oo.push(ss),(pe<xt-1||W.hskipBeforeAndAfter)&&(gu=C.deflt(zs.postgap,an),gu!==0&&(za=it.makeSpan(["arraycolsep"],[]),za.style.width=gu+"em",Oo.push(za)))}}if(Bt=it.makeSpan(["mtable"],Oo),nr.length>0){for(var tl=it.makeLineSpan("hline",X,Tr),Iu=it.makeLineSpan("hdashline",X,Tr),Yo=[{type:"elem",elem:Bt,shift:0}];nr.length>0;){var zl=nr.pop(),Zs=zl.pos-Qs;zl.isDashed?Yo.push({type:"elem",elem:Iu,shift:Zs}):Yo.push({type:"elem",elem:tl,shift:Zs})}Bt=it.makeVList({positionType:"individualShift",children:Yo},X)}return it.makeSpan(["mord"],[Bt],X)},Qi={c:"center ",l:"left ",r:"right "},Nr=function(W,X){var te=new Rn.MathNode("mtable",W.body.map(function(sa){return new Rn.MathNode("mtr",sa.map(function(is){return new Rn.MathNode("mtd",[Da(is,X)])}))})),pe=W.arraystretch===.5?.1:.16+W.arraystretch-1+(W.addJot?.09:0);te.setAttribute("rowspacing",pe+"em");var Te="",Ge="";if(W.cols){var xt=W.cols,Bt="",nr=!1,Tr=0,Wr=xt.length;xt[0].type==="separator"&&(Te+="top ",Tr=1),xt[xt.length-1].type==="separator"&&(Te+="bottom ",Wr-=1);for(var an=Tr;an<Wr;an++)xt[an].type==="align"?(Ge+=Qi[xt[an].align],nr&&(Bt+="none "),nr=!0):xt[an].type==="separator"&&nr&&(Bt+=xt[an].separator==="|"?"solid ":"dashed ",nr=!1);te.setAttribute("columnalign",Ge.trim()),/[sd]/.test(Bt)&&te.setAttribute("columnlines",Bt.trim())}if(W.colSeparationType==="align"){for(var wn=W.cols||[],Nn="",Wn=1;Wn<wn.length;Wn++)Nn+=Wn%2?"0em ":"1em ";te.setAttribute("columnspacing",Nn.trim())}else W.colSeparationType==="alignat"?te.setAttribute("columnspacing","0em"):W.colSeparationType==="small"?te.setAttribute("columnspacing","0.2778em"):te.setAttribute("columnspacing","1em");var pi="",Sr=W.hLinesBeforeRow;Te+=Sr[0].length>0?"left ":"",Te+=Sr[Sr.length-1].length>0?"right ":"";for(var aa=1;aa<Sr.length-1;aa++)pi+=Sr[aa].length===0?"none ":Sr[aa][0]?"dashed ":"solid ";return/[sd]/.test(pi)&&te.setAttribute("rowlines",pi.trim()),Te!==""&&(te=new Rn.MathNode("menclose",[te]),te.setAttribute("notation",Te.trim())),W.arraystretch&&W.arraystretch<1&&(te=new Rn.MathNode("mstyle",[te]),te.setAttribute("scriptlevel","1")),te},Li=function(W,X){var te=[],pe=Pn(W.parser,{cols:te,addJot:!0},"display"),Te,Ge=0,xt={type:"ordgroup",mode:W.mode,body:[]},Bt=Dr(X[0],"ordgroup");if(Bt){for(var nr="",Tr=0;Tr<Bt.body.length;Tr++){var Wr=ir(Bt.body[Tr],"textord");nr+=Wr.text}Te=Number(nr),Ge=Te*2}var an=!Ge;pe.body.forEach(function(pi){for(var Sr=1;Sr<pi.length;Sr+=2){var aa=ir(pi[Sr],"styling"),sa=ir(aa.body[0],"ordgroup");sa.body.unshift(xt)}if(an)Ge<pi.length&&(Ge=pi.length);else{var is=pi.length/2;if(Te<is)throw new s("Too many math in a row: "+("expected "+Te+", but got "+is),pi[0])}});for(var wn=0;wn<Ge;++wn){var Nn="r",Wn=0;wn%2===1?Nn="l":wn>0&&an&&(Wn=1),te[wn]={type:"align",align:Nn,pregap:Wn,postgap:0}}return pe.colSeparationType=an?"align":"alignat",pe};Hn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(W,X){var te=bn(X[0]),pe=te?[X[0]]:ir(X[0],"ordgroup").body,Te=pe.map(function(xt){var Bt=$r(xt),nr=Bt.text;if("lcr".indexOf(nr)!==-1)return{type:"align",align:nr};if(nr==="|")return{type:"separator",separator:"|"};if(nr===":")return{type:"separator",separator:":"};throw new s("Unknown column alignment: "+nr,xt)}),Ge={cols:Te,hskipBeforeAndAfter:!0};return Pn(W.parser,Ge,Vn(W.envName))},htmlBuilder:li,mathmlBuilder:Nr}),Hn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(W){var X={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[W.envName],te={hskipBeforeAndAfter:!1},pe=Pn(W.parser,te,Vn(W.envName));return X?{type:"leftright",mode:W.mode,body:[pe],left:X[0],right:X[1],rightColor:void 0}:pe},htmlBuilder:li,mathmlBuilder:Nr}),Hn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(W){var X={arraystretch:.5},te=Pn(W.parser,X,"script");return te.colSeparationType="small",te},htmlBuilder:li,mathmlBuilder:Nr}),Hn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(W,X){var te=bn(X[0]),pe=te?[X[0]]:ir(X[0],"ordgroup").body,Te=pe.map(function(xt){var Bt=$r(xt),nr=Bt.text;if("lc".indexOf(nr)!==-1)return{type:"align",align:nr};throw new s("Unknown column alignment: "+nr,xt)});if(Te.length>1)throw new s("{subarray} can contain only one column");var Ge={cols:Te,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ge=Pn(W.parser,Ge,"script"),Ge.body[0].length>1)throw new s("{subarray} can contain only one column");return Ge},htmlBuilder:li,mathmlBuilder:Nr}),Hn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(W){var X={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},te=Pn(W.parser,X,Vn(W.envName));return{type:"leftright",mode:W.mode,body:[te],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:li,mathmlBuilder:Nr}),Hn({type:"array",names:["aligned"],props:{numArgs:0},handler:Li,htmlBuilder:li,mathmlBuilder:Nr}),Hn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(W){var X={cols:[{type:"align",align:"c"}],addJot:!0};return Pn(W.parser,X,"display")},htmlBuilder:li,mathmlBuilder:Nr}),Hn({type:"array",names:["alignedat"],props:{numArgs:1},handler:Li,htmlBuilder:li,mathmlBuilder:Nr}),pn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(W,X){throw new s(W.funcName+" valid only within array environment")}});var ba=mn,zr=ba;pn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0];if(Te.type!=="ordgroup")throw new s("Invalid environment name",Te);for(var Ge="",xt=0;xt<Te.body.length;++xt)Ge+=ir(Te.body[xt],"textord").text;if(pe==="\\begin"){if(!zr.hasOwnProperty(Ge))throw new s("No such environment: "+Ge,Te);var Bt=zr[Ge],nr=te.parseArguments("\\begin{"+Ge+"}",Bt),Tr=nr.args,Wr=nr.optArgs,an={mode:te.mode,envName:Ge,parser:te},wn=Bt.handler(an,Tr,Wr);te.expect("\\end",!1);var Nn=te.nextToken,Wn=ir(te.parseFunction(),"environment");if(Wn.name!==Ge)throw new s("Mismatch: \\begin{"+Ge+"} matched by \\end{"+Wn.name+"}",Nn);return wn}return{type:"environment",mode:te.mode,name:Ge,nameGroup:Te}}});var na=it.makeSpan;function Ss(Ve,W){var X=$a(Ve.body,W,!0);return na([Ve.mclass],X,W)}function ci(Ve,W){var X,te=Vi(Ve.body,W);return Ve.mclass==="minner"?Rn.newDocumentFragment(te):(Ve.mclass==="mord"?Ve.isCharacterBox?(X=te[0],X.type="mi"):X=new Rn.MathNode("mi",te):(Ve.isCharacterBox?(X=te[0],X.type="mo"):X=new Rn.MathNode("mo",te),Ve.mclass==="mbin"?(X.attributes.lspace="0.22em",X.attributes.rspace="0.22em"):Ve.mclass==="mpunct"?(X.attributes.lspace="0em",X.attributes.rspace="0.17em"):(Ve.mclass==="mopen"||Ve.mclass==="mclose")&&(X.attributes.lspace="0em",X.attributes.rspace="0em")),X)}pn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0];return{type:"mclass",mode:te.mode,mclass:"m"+pe.substr(5),body:Ni(Te),isCharacterBox:C.isCharacterBox(Te)}},htmlBuilder:Ss,mathmlBuilder:ci});var Vs=function(W){var X=W.type==="ordgroup"&&W.body.length?W.body[0]:W;return X.type==="atom"&&(X.family==="bin"||X.family==="rel")?"m"+X.family:"mord"};pn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(W,X){var te=W.parser;return{type:"mclass",mode:te.mode,mclass:Vs(X[0]),body:[X[1]],isCharacterBox:C.isCharacterBox(X[1])}}}),pn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[1],Ge=X[0],xt;pe!=="\\stackrel"?xt=Vs(Te):xt="mrel";var Bt={type:"op",mode:Te.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:pe!=="\\stackrel",body:Ni(Te)},nr={type:"supsub",mode:Ge.mode,base:Bt,sup:pe==="\\underset"?null:Ge,sub:pe==="\\underset"?Ge:null};return{type:"mclass",mode:te.mode,mclass:xt,body:[nr],isCharacterBox:C.isCharacterBox(nr)}},htmlBuilder:Ss,mathmlBuilder:ci});var xo=function(W,X){var te=W.font,pe=X.withFont(te);return $i(W.body,pe)},Os=function(W,X){var te=W.font,pe=X.withFont(te);return Da(W.body,pe)},xa={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};pn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0],Ge=pe;return Ge in xa&&(Ge=xa[Ge]),{type:"font",mode:te.mode,font:Ge.slice(1),body:Te}},htmlBuilder:xo,mathmlBuilder:Os}),pn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(W,X){var te=W.parser,pe=X[0],Te=C.isCharacterBox(pe);return{type:"mclass",mode:te.mode,mclass:Vs(pe),body:[{type:"font",mode:te.mode,font:"boldsymbol",body:pe}],isCharacterBox:Te}}}),pn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=W.breakOnTokenText,Ge=te.mode,xt=te.parseExpression(!0,Te),Bt="math"+pe.slice(1);return{type:"font",mode:Ge,font:Bt,body:{type:"ordgroup",mode:te.mode,body:xt}}},htmlBuilder:xo,mathmlBuilder:Os});var ds=function(W,X){var te=X;return W==="display"?te=te.id>=F.SCRIPT.id?te.text():F.DISPLAY:W==="text"&&te.size===F.DISPLAY.size?te=F.TEXT:W==="script"?te=F.SCRIPT:W==="scriptscript"&&(te=F.SCRIPTSCRIPT),te},ks=function(W,X){var te=ds(W.size,X.style),pe=te.fracNum(),Te=te.fracDen(),Ge;Ge=X.havingStyle(pe);var xt=$i(W.numer,Ge,X);if(W.continued){var Bt=8.5/X.fontMetrics().ptPerEm,nr=3.5/X.fontMetrics().ptPerEm;xt.height=xt.height<Bt?Bt:xt.height,xt.depth=xt.depth<nr?nr:xt.depth}Ge=X.havingStyle(Te);var Tr=$i(W.denom,Ge,X),Wr,an,wn;W.hasBarLine?(W.barSize?(an=mi(W.barSize,X),Wr=it.makeLineSpan("frac-line",X,an)):Wr=it.makeLineSpan("frac-line",X),an=Wr.height,wn=Wr.height):(Wr=null,an=0,wn=X.fontMetrics().defaultRuleThickness);var Nn,Wn,pi;te.size===F.DISPLAY.size||W.size==="display"?(Nn=X.fontMetrics().num1,an>0?Wn=3*wn:Wn=7*wn,pi=X.fontMetrics().denom1):(an>0?(Nn=X.fontMetrics().num2,Wn=wn):(Nn=X.fontMetrics().num3,Wn=3*wn),pi=X.fontMetrics().denom2);var Sr;if(Wr){var sa=X.fontMetrics().axisHeight;Nn-xt.depth-(sa+.5*an)<Wn&&(Nn+=Wn-(Nn-xt.depth-(sa+.5*an))),sa-.5*an-(Tr.height-pi)<Wn&&(pi+=Wn-(sa-.5*an-(Tr.height-pi)));var is=-(sa-.5*an);Sr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Tr,shift:pi},{type:"elem",elem:Wr,shift:is},{type:"elem",elem:xt,shift:-Nn}]},X)}else{var aa=Nn-xt.depth-(Tr.height-pi);aa<Wn&&(Nn+=.5*(Wn-aa),pi+=.5*(Wn-aa)),Sr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Tr,shift:pi},{type:"elem",elem:xt,shift:-Nn}]},X)}Ge=X.havingStyle(te),Sr.height*=Ge.sizeMultiplier/X.sizeMultiplier,Sr.depth*=Ge.sizeMultiplier/X.sizeMultiplier;var Za;te.size===F.DISPLAY.size?Za=X.fontMetrics().delim1:Za=X.fontMetrics().delim2;var ws,as;return W.leftDelim==null?ws=Ds(X,["mopen"]):ws=Sn.customSizedDelim(W.leftDelim,Za,!0,X.havingStyle(te),W.mode,["mopen"]),W.continued?as=it.makeSpan([]):W.rightDelim==null?as=Ds(X,["mclose"]):as=Sn.customSizedDelim(W.rightDelim,Za,!0,X.havingStyle(te),W.mode,["mclose"]),it.makeSpan(["mord"].concat(Ge.sizingClasses(X)),[ws,it.makeSpan(["mfrac"],[Sr]),as],X)},In=function(W,X){var te=new Rn.MathNode("mfrac",[Da(W.numer,X),Da(W.denom,X)]);if(!W.hasBarLine)te.setAttribute("linethickness","0px");else if(W.barSize){var pe=mi(W.barSize,X);te.setAttribute("linethickness",pe+"em")}var Te=ds(W.size,X.style);if(Te.size!==X.style.size){te=new Rn.MathNode("mstyle",[te]);var Ge=Te.size===F.DISPLAY.size?"true":"false";te.setAttribute("displaystyle",Ge),te.setAttribute("scriptlevel","0")}if(W.leftDelim!=null||W.rightDelim!=null){var xt=[];if(W.leftDelim!=null){var Bt=new Rn.MathNode("mo",[new Rn.TextNode(W.leftDelim.replace("\\",""))]);Bt.setAttribute("fence","true"),xt.push(Bt)}if(xt.push(te),W.rightDelim!=null){var nr=new Rn.MathNode("mo",[new Rn.TextNode(W.rightDelim.replace("\\",""))]);nr.setAttribute("fence","true"),xt.push(nr)}return ns(xt)}return te};pn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0],Ge=X[1],xt,Bt=null,nr=null,Tr="auto";switch(pe){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":xt=!0;break;case"\\\\atopfrac":xt=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":xt=!1,Bt="(",nr=")";break;case"\\\\bracefrac":xt=!1,Bt="\\{",nr="\\}";break;case"\\\\brackfrac":xt=!1,Bt="[",nr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(pe){case"\\cfrac":case"\\dfrac":case"\\dbinom":Tr="display";break;case"\\tfrac":case"\\tbinom":Tr="text";break}return{type:"genfrac",mode:te.mode,continued:pe==="\\cfrac",numer:Te,denom:Ge,hasBarLine:xt,leftDelim:Bt,rightDelim:nr,size:Tr,barSize:null}},htmlBuilder:ks,mathmlBuilder:In}),pn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(W){var X=W.parser,te=W.funcName,pe=W.token,Te;switch(te){case"\\over":Te="\\frac";break;case"\\choose":Te="\\binom";break;case"\\atop":Te="\\\\atopfrac";break;case"\\brace":Te="\\\\bracefrac";break;case"\\brack":Te="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:X.mode,replaceWith:Te,token:pe}}});var gs=["display","text","script","scriptscript"],Ns=function(W){var X=null;return W.length>0&&(X=W,X=X==="."?null:X),X};pn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(W,X){var te=W.parser,pe=X[4],Te=X[5],Ge=Dr(X[0],"atom");Ge&&(Ge=Er(X[0],"open"));var xt=Ge?Ns(Ge.text):null,Bt=Dr(X[1],"atom");Bt&&(Bt=Er(X[1],"close"));var nr=Bt?Ns(Bt.text):null,Tr=ir(X[2],"size"),Wr,an=null;Tr.isBlank?Wr=!0:(an=Tr.value,Wr=an.number>0);var wn="auto",Nn=Dr(X[3],"ordgroup");if(Nn){if(Nn.body.length>0){var Wn=ir(Nn.body[0],"textord");wn=gs[Number(Wn.text)]}}else Nn=ir(X[3],"textord"),wn=gs[Number(Nn.text)];return{type:"genfrac",mode:te.mode,numer:pe,denom:Te,continued:!1,hasBarLine:Wr,barSize:an,leftDelim:xt,rightDelim:nr,size:wn}},htmlBuilder:ks,mathmlBuilder:In}),pn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=W.token;return{type:"infix",mode:te.mode,replaceWith:"\\\\abovefrac",size:ir(X[0],"size").value,token:Te}}}),pn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0],Ge=R(ir(X[1],"infix").size),xt=X[2],Bt=Ge.number>0;return{type:"genfrac",mode:te.mode,numer:Te,denom:xt,continued:!1,hasBarLine:Bt,barSize:Ge,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ks,mathmlBuilder:In});var Ye=function(W,X){var te=X.style,pe,Te,Ge=Dr(W,"supsub");Ge?(pe=Ge.sup?$i(Ge.sup,X.havingStyle(te.sup()),X):$i(Ge.sub,X.havingStyle(te.sub()),X),Te=ir(Ge.base,"horizBrace")):Te=ir(W,"horizBrace");var xt=$i(Te.base,X.havingBaseStyle(F.DISPLAY)),Bt=oi.svgSpan(Te,X),nr;if(Te.isOver?(nr=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:xt},{type:"kern",size:.1},{type:"elem",elem:Bt}]},X),nr.children[0].children[0].children[1].classes.push("svg-align")):(nr=it.makeVList({positionType:"bottom",positionData:xt.depth+.1+Bt.height,children:[{type:"elem",elem:Bt},{type:"kern",size:.1},{type:"elem",elem:xt}]},X),nr.children[0].children[0].children[0].classes.push("svg-align")),pe){var Tr=it.makeSpan(["mord",Te.isOver?"mover":"munder"],[nr],X);Te.isOver?nr=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tr},{type:"kern",size:.2},{type:"elem",elem:pe}]},X):nr=it.makeVList({positionType:"bottom",positionData:Tr.depth+.2+pe.height+pe.depth,children:[{type:"elem",elem:pe},{type:"kern",size:.2},{type:"elem",elem:Tr}]},X)}return it.makeSpan(["mord",Te.isOver?"mover":"munder"],[nr],X)},Qe=function(W,X){var te=oi.mathMLnode(W.label);return new Rn.MathNode(W.isOver?"mover":"munder",[Da(W.base,X),te])};pn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(W,X){var te=W.parser,pe=W.funcName;return{type:"horizBrace",mode:te.mode,label:pe,isOver:/^\\over/.test(pe),base:X[0]}},htmlBuilder:Ye,mathmlBuilder:Qe}),pn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(W,X){var te=W.parser,pe=X[1],Te=ir(X[0],"url").url;return te.settings.isTrusted({command:"\\href",url:Te})?{type:"href",mode:te.mode,href:Te,body:Ni(pe)}:te.formatUnsupportedCmd("\\href")},htmlBuilder:function(W,X){var te=$a(W.body,X,!1);return it.makeAnchor(W.href,[],te,X)},mathmlBuilder:function(W,X){var te=Ia(W.body,X);return te instanceof _s||(te=new _s("mrow",[te])),te.setAttribute("href",W.href),te}}),pn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(W,X){var te=W.parser,pe=ir(X[0],"url").url;if(!te.settings.isTrusted({command:"\\url",url:pe}))return te.formatUnsupportedCmd("\\url");for(var Te=[],Ge=0;Ge<pe.length;Ge++){var xt=pe[Ge];xt==="~"&&(xt="\\textasciitilde"),Te.push({type:"textord",mode:"text",text:xt})}var Bt={type:"text",mode:te.mode,font:"\\texttt",body:Te};return{type:"href",mode:te.mode,href:pe,body:Ni(Bt)}}}),pn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(W,X){var te=W.parser;return{type:"htmlmathml",mode:te.mode,html:Ni(X[0]),mathml:Ni(X[1])}},htmlBuilder:function(W,X){var te=$a(W.html,X,!1);return it.makeFragment(te)},mathmlBuilder:function(W,X){return Ia(W.mathml,X)}});var Mt=function(W){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(W))return{number:+W,unit:"bp"};var X=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(W);if(!X)throw new s("Invalid size: '"+W+"' in \\includegraphics");var te={number:+(X[1]+X[2]),unit:X[3]};if(!Ei(te))throw new s("Invalid unit: '"+te.unit+"' in \\includegraphics.");return te};pn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(W,X,te){var pe=W.parser,Te={number:0,unit:"em"},Ge={number:.9,unit:"em"},xt={number:0,unit:"em"},Bt="";if(te[0])for(var nr=ir(te[0],"raw").string,Tr=nr.split(","),Wr=0;Wr<Tr.length;Wr++){var an=Tr[Wr].split("=");if(an.length===2){var wn=an[1].trim();switch(an[0].trim()){case"alt":Bt=wn;break;case"width":Te=Mt(wn);break;case"height":Ge=Mt(wn);break;case"totalheight":xt=Mt(wn);break;default:throw new s("Invalid key: '"+an[0]+"' in \\includegraphics.")}}}var Nn=ir(X[0],"url").url;return Bt===""&&(Bt=Nn,Bt=Bt.replace(/^.*[\\/]/,""),Bt=Bt.substring(0,Bt.lastIndexOf("."))),pe.settings.isTrusted({command:"\\includegraphics",url:Nn})?{type:"includegraphics",mode:pe.mode,alt:Bt,width:Te,height:Ge,totalheight:xt,src:Nn}:pe.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(W,X){var te=mi(W.height,X),pe=0;W.totalheight.number>0&&(pe=mi(W.totalheight,X)-te,pe=Number(pe.toFixed(2)));var Te=0;W.width.number>0&&(Te=mi(W.width,X));var Ge={height:te+pe+"em"};Te>0&&(Ge.width=Te+"em"),pe>0&&(Ge.verticalAlign=-pe+"em");var xt=new Ue(W.src,W.alt,Ge);return xt.height=te,xt.depth=pe,xt},mathmlBuilder:function(W,X){var te=new Rn.MathNode("mglyph",[]);te.setAttribute("alt",W.alt);var pe=mi(W.height,X),Te=0;if(W.totalheight.number>0&&(Te=mi(W.totalheight,X)-pe,Te=Te.toFixed(2),te.setAttribute("valign","-"+Te+"em")),te.setAttribute("height",pe+Te+"em"),W.width.number>0){var Ge=mi(W.width,X);te.setAttribute("width",Ge+"em")}return te.setAttribute("src",W.src),te}}),pn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=ir(X[0],"size");if(te.settings.strict){var Ge=pe[1]==="m",xt=Te.value.unit==="mu";Ge?(xt||te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+pe+" supports only mu units, "+("not "+Te.value.unit+" units")),te.mode!=="math"&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+pe+" works only in math mode")):xt&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+pe+" doesn't support mu units")}return{type:"kern",mode:te.mode,dimension:Te.value}},htmlBuilder:function(W,X){return it.makeGlue(W.dimension,X)},mathmlBuilder:function(W,X){var te=mi(W.dimension,X);return new Rn.SpaceNode(te)}}),pn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0];return{type:"lap",mode:te.mode,alignment:pe.slice(5),body:Te}},htmlBuilder:function(W,X){var te;W.alignment==="clap"?(te=it.makeSpan([],[$i(W.body,X)]),te=it.makeSpan(["inner"],[te],X)):te=it.makeSpan(["inner"],[$i(W.body,X)]);var pe=it.makeSpan(["fix"],[]),Te=it.makeSpan([W.alignment],[te,pe],X),Ge=it.makeSpan(["strut"]);return Ge.style.height=Te.height+Te.depth+"em",Ge.style.verticalAlign=-Te.depth+"em",Te.children.unshift(Ge),Te=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Te}]},X),it.makeSpan(["mord"],[Te],X)},mathmlBuilder:function(W,X){var te=new Rn.MathNode("mpadded",[Da(W.body,X)]);if(W.alignment!=="rlap"){var pe=W.alignment==="llap"?"-1":"-0.5";te.setAttribute("lspace",pe+"width")}return te.setAttribute("width","0px"),te}}),pn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(W,X){var te=W.funcName,pe=W.parser,Te=pe.mode;pe.switchMode("math");var Ge=te==="\\("?"\\)":"$",xt=pe.parseExpression(!1,Ge);return pe.expect(Ge),pe.switchMode(Te),{type:"styling",mode:pe.mode,style:"text",body:xt}}}),pn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(W,X){throw new s("Mismatched "+W.funcName)}});var Kt=function(W,X){switch(X.style.size){case F.DISPLAY.size:return W.display;case F.TEXT.size:return W.text;case F.SCRIPT.size:return W.script;case F.SCRIPTSCRIPT.size:return W.scriptscript;default:return W.text}};pn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(W,X){var te=W.parser;return{type:"mathchoice",mode:te.mode,display:Ni(X[0]),text:Ni(X[1]),script:Ni(X[2]),scriptscript:Ni(X[3])}},htmlBuilder:function(W,X){var te=Kt(W,X),pe=$a(te,X,!1);return it.makeFragment(pe)},mathmlBuilder:function(W,X){var te=Kt(W,X);return Ia(te,X)}});var hr=function(W,X,te,pe,Te,Ge,xt){W=it.makeSpan([],[W]);var Bt,nr;if(X){var Tr=$i(X,pe.havingStyle(Te.sup()),pe);nr={elem:Tr,kern:Math.max(pe.fontMetrics().bigOpSpacing1,pe.fontMetrics().bigOpSpacing3-Tr.depth)}}if(te){var Wr=$i(te,pe.havingStyle(Te.sub()),pe);Bt={elem:Wr,kern:Math.max(pe.fontMetrics().bigOpSpacing2,pe.fontMetrics().bigOpSpacing4-Wr.height)}}var an;if(nr&&Bt){var wn=pe.fontMetrics().bigOpSpacing5+Bt.elem.height+Bt.elem.depth+Bt.kern+W.depth+xt;an=it.makeVList({positionType:"bottom",positionData:wn,children:[{type:"kern",size:pe.fontMetrics().bigOpSpacing5},{type:"elem",elem:Bt.elem,marginLeft:-Ge+"em"},{type:"kern",size:Bt.kern},{type:"elem",elem:W},{type:"kern",size:nr.kern},{type:"elem",elem:nr.elem,marginLeft:Ge+"em"},{type:"kern",size:pe.fontMetrics().bigOpSpacing5}]},pe)}else if(Bt){var Nn=W.height-xt;an=it.makeVList({positionType:"top",positionData:Nn,children:[{type:"kern",size:pe.fontMetrics().bigOpSpacing5},{type:"elem",elem:Bt.elem,marginLeft:-Ge+"em"},{type:"kern",size:Bt.kern},{type:"elem",elem:W}]},pe)}else if(nr){var Wn=W.depth+xt;an=it.makeVList({positionType:"bottom",positionData:Wn,children:[{type:"elem",elem:W},{type:"kern",size:nr.kern},{type:"elem",elem:nr.elem,marginLeft:Ge+"em"},{type:"kern",size:pe.fontMetrics().bigOpSpacing5}]},pe)}else return W;return it.makeSpan(["mop","op-limits"],[an],pe)},Rr=["\\smallint"],jr=function(W,X){var te,pe,Te=!1,Ge,xt=Dr(W,"supsub");xt?(te=xt.sup,pe=xt.sub,Ge=ir(xt.base,"op"),Te=!0):Ge=ir(W,"op");var Bt=X.style,nr=!1;Bt.size===F.DISPLAY.size&&Ge.symbol&&!C.contains(Rr,Ge.name)&&(nr=!0);var Tr;if(Ge.symbol){var Wr=nr?"Size2-Regular":"Size1-Regular",an="";if((Ge.name==="\\oiint"||Ge.name==="\\oiiint")&&(an=Ge.name.substr(1),Ge.name=an==="oiint"?"\\iint":"\\iiint"),Tr=it.makeSymbol(Ge.name,Wr,"math",X,["mop","op-symbol",nr?"large-op":"small-op"]),an.length>0){var wn=Tr.italic,Nn=it.staticSvg(an+"Size"+(nr?"2":"1"),X);Tr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Tr,shift:0},{type:"elem",elem:Nn,shift:nr?.08:0}]},X),Ge.name="\\"+an,Tr.classes.unshift("mop"),Tr.italic=wn}}else if(Ge.body){var Wn=$a(Ge.body,X,!0);Wn.length===1&&Wn[0]instanceof Ae?(Tr=Wn[0],Tr.classes[0]="mop"):Tr=it.makeSpan(["mop"],it.tryCombineChars(Wn),X)}else{for(var pi=[],Sr=1;Sr<Ge.name.length;Sr++)pi.push(it.mathsym(Ge.name[Sr],Ge.mode,X));Tr=it.makeSpan(["mop"],pi,X)}var aa=0,sa=0;return(Tr instanceof Ae||Ge.name==="\\oiint"||Ge.name==="\\oiiint")&&!Ge.suppressBaseShift&&(aa=(Tr.height-Tr.depth)/2-X.fontMetrics().axisHeight,sa=Tr.italic),Te?hr(Tr,te,pe,X,Bt,sa,aa):(aa&&(Tr.style.position="relative",Tr.style.top=aa+"em"),Tr)},vn=function(W,X){var te;if(W.symbol)te=new _s("mo",[ja(W.name,W.mode)]),C.contains(Rr,W.name)&&te.setAttribute("largeop","false");else if(W.body)te=new _s("mo",Vi(W.body,X));else{te=new _s("mi",[new ji(W.name.slice(1))]);var pe=new _s("mo",[ja("\u2061","text")]);W.parentIsSupSub?te=new _s("mo",[te,pe]):te=La([te,pe])}return te},nn={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};pn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=pe;return Te.length===1&&(Te=nn[Te]),{type:"op",mode:te.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Te}},htmlBuilder:jr,mathmlBuilder:vn}),pn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(W,X){var te=W.parser,pe=X[0];return{type:"op",mode:te.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ni(pe)}},htmlBuilder:jr,mathmlBuilder:vn});var gn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};pn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(W){var X=W.parser,te=W.funcName;return{type:"op",mode:X.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:jr,mathmlBuilder:vn}),pn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(W){var X=W.parser,te=W.funcName;return{type:"op",mode:X.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:jr,mathmlBuilder:vn}),pn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(W){var X=W.parser,te=W.funcName,pe=te;return pe.length===1&&(pe=gn[pe]),{type:"op",mode:X.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:pe}},htmlBuilder:jr,mathmlBuilder:vn});var Qn=function(W,X){var te,pe,Te=!1,Ge,xt=Dr(W,"supsub");xt?(te=xt.sup,pe=xt.sub,Ge=ir(xt.base,"operatorname"),Te=!0):Ge=ir(W,"operatorname");var Bt;if(Ge.body.length>0){for(var nr=Ge.body.map(function(wn){var Nn=wn.text;return typeof Nn=="string"?{type:"textord",mode:wn.mode,text:Nn}:wn}),Tr=$a(nr,X.withFont("mathrm"),!0),Wr=0;Wr<Tr.length;Wr++){var an=Tr[Wr];an instanceof Ae&&(an.text=an.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Bt=it.makeSpan(["mop"],Tr,X)}else Bt=it.makeSpan(["mop"],[],X);return Te?hr(Bt,te,pe,X,X.style,0,0):Bt},ni=function(W,X){for(var te=Vi(W.body,X.withFont("mathrm")),pe=!0,Te=0;Te<te.length;Te++){var Ge=te[Te];if(!(Ge instanceof Rn.SpaceNode))if(Ge instanceof Rn.MathNode)switch(Ge.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var xt=Ge.children[0];Ge.children.length===1&&xt instanceof Rn.TextNode?xt.text=xt.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):pe=!1;break}default:pe=!1}else pe=!1}if(pe){var Bt=te.map(function(Wr){return Wr.toText()}).join("");te=[new Rn.TextNode(Bt)]}var nr=new Rn.MathNode("mi",te);nr.setAttribute("mathvariant","normal");var Tr=new Rn.MathNode("mo",[ja("\u2061","text")]);return W.parentIsSupSub?new Rn.MathNode("mo",[nr,Tr]):Rn.newDocumentFragment([nr,Tr])};pn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0];return{type:"operatorname",mode:te.mode,body:Ni(Te),alwaysHandleSupSub:pe==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Qn,mathmlBuilder:ni}),ui({type:"ordgroup",htmlBuilder:function(W,X){return W.semisimple?it.makeFragment($a(W.body,X,!1)):it.makeSpan(["mord"],$a(W.body,X,!0),X)},mathmlBuilder:function(W,X){return Ia(W.body,X,!0)}}),pn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(W,X){var te=W.parser,pe=X[0];return{type:"overline",mode:te.mode,body:pe}},htmlBuilder:function(W,X){var te=$i(W.body,X.havingCrampedStyle()),pe=it.makeLineSpan("overline-line",X),Te=X.fontMetrics().defaultRuleThickness,Ge=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te},{type:"kern",size:3*Te},{type:"elem",elem:pe},{type:"kern",size:Te}]},X);return it.makeSpan(["mord","overline"],[Ge],X)},mathmlBuilder:function(W,X){var te=new Rn.MathNode("mo",[new Rn.TextNode("\u203E")]);te.setAttribute("stretchy","true");var pe=new Rn.MathNode("mover",[Da(W.body,X),te]);return pe.setAttribute("accent","true"),pe}}),pn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(W,X){var te=W.parser,pe=X[0];return{type:"phantom",mode:te.mode,body:Ni(pe)}},htmlBuilder:function(W,X){var te=$a(W.body,X.withPhantom(),!1);return it.makeFragment(te)},mathmlBuilder:function(W,X){var te=Vi(W.body,X);return new Rn.MathNode("mphantom",te)}}),pn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(W,X){var te=W.parser,pe=X[0];return{type:"hphantom",mode:te.mode,body:pe}},htmlBuilder:function(W,X){var te=it.makeSpan([],[$i(W.body,X.withPhantom())]);if(te.height=0,te.depth=0,te.children)for(var pe=0;pe<te.children.length;pe++)te.children[pe].height=0,te.children[pe].depth=0;return te=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te}]},X),it.makeSpan(["mord"],[te],X)},mathmlBuilder:function(W,X){var te=Vi(Ni(W.body),X),pe=new Rn.MathNode("mphantom",te),Te=new Rn.MathNode("mpadded",[pe]);return Te.setAttribute("height","0px"),Te.setAttribute("depth","0px"),Te}}),pn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(W,X){var te=W.parser,pe=X[0];return{type:"vphantom",mode:te.mode,body:pe}},htmlBuilder:function(W,X){var te=it.makeSpan(["inner"],[$i(W.body,X.withPhantom())]),pe=it.makeSpan(["fix"],[]);return it.makeSpan(["mord","rlap"],[te,pe],X)},mathmlBuilder:function(W,X){var te=Vi(Ni(W.body),X),pe=new Rn.MathNode("mphantom",te),Te=new Rn.MathNode("mpadded",[pe]);return Te.setAttribute("width","0px"),Te}}),pn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(W,X){var te=W.parser,pe=ir(X[0],"size").value,Te=X[1];return{type:"raisebox",mode:te.mode,dy:pe,body:Te}},htmlBuilder:function(W,X){var te=$i(W.body,X),pe=mi(W.dy,X);return it.makeVList({positionType:"shift",positionData:-pe,children:[{type:"elem",elem:te}]},X)},mathmlBuilder:function(W,X){var te=new Rn.MathNode("mpadded",[Da(W.body,X)]),pe=W.dy.number+W.dy.unit;return te.setAttribute("voffset",pe),te}}),pn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(W,X,te){var pe=W.parser,Te=te[0],Ge=ir(X[0],"size"),xt=ir(X[1],"size");return{type:"rule",mode:pe.mode,shift:Te&&ir(Te,"size").value,width:Ge.value,height:xt.value}},htmlBuilder:function(W,X){var te=it.makeSpan(["mord","rule"],[],X),pe=mi(W.width,X),Te=mi(W.height,X),Ge=W.shift?mi(W.shift,X):0;return te.style.borderRightWidth=pe+"em",te.style.borderTopWidth=Te+"em",te.style.bottom=Ge+"em",te.width=pe,te.height=Te+Ge,te.depth=-Ge,te.maxFontSize=Te*1.125*X.sizeMultiplier,te},mathmlBuilder:function(W,X){var te=mi(W.width,X),pe=mi(W.height,X),Te=W.shift?mi(W.shift,X):0,Ge=X.color&&X.getColor()||"black",xt=new Rn.MathNode("mspace");xt.setAttribute("mathbackground",Ge),xt.setAttribute("width",te+"em"),xt.setAttribute("height",pe+"em");var Bt=new Rn.MathNode("mpadded",[xt]);return Te>=0?Bt.setAttribute("height","+"+Te+"em"):(Bt.setAttribute("height",Te+"em"),Bt.setAttribute("depth","+"+-Te+"em")),Bt.setAttribute("voffset",Te+"em"),Bt}});function _i(Ve,W,X){for(var te=$a(Ve,W,!1),pe=W.sizeMultiplier/X.sizeMultiplier,Te=0;Te<te.length;Te++){var Ge=te[Te].classes.indexOf("sizing");Ge<0?Array.prototype.push.apply(te[Te].classes,W.sizingClasses(X)):te[Te].classes[Ge+1]==="reset-size"+W.size&&(te[Te].classes[Ge+1]="reset-size"+X.size),te[Te].height*=pe,te[Te].depth*=pe}return it.makeFragment(te)}var Ii=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Hi=function(W,X){var te=X.havingSize(W.size);return _i(W.body,te,X)};pn({type:"sizing",names:Ii,props:{numArgs:0,allowedInText:!0},handler:function(W,X){var te=W.breakOnTokenText,pe=W.funcName,Te=W.parser,Ge=Te.parseExpression(!1,te);return{type:"sizing",mode:Te.mode,size:Ii.indexOf(pe)+1,body:Ge}},htmlBuilder:Hi,mathmlBuilder:function(W,X){var te=X.havingSize(W.size),pe=Vi(W.body,te),Te=new Rn.MathNode("mstyle",pe);return Te.setAttribute("mathsize",te.sizeMultiplier+"em"),Te}}),pn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(W,X,te){var pe=W.parser,Te=!1,Ge=!1,xt=te[0]&&ir(te[0],"ordgroup");if(xt)for(var Bt="",nr=0;nr<xt.body.length;++nr){var Tr=xt.body[nr];if(Bt=Tr.text,Bt==="t")Te=!0;else if(Bt==="b")Ge=!0;else{Te=!1,Ge=!1;break}}else Te=!0,Ge=!0;var Wr=X[0];return{type:"smash",mode:pe.mode,body:Wr,smashHeight:Te,smashDepth:Ge}},htmlBuilder:function(W,X){var te=it.makeSpan([],[$i(W.body,X)]);if(!W.smashHeight&&!W.smashDepth)return te;if(W.smashHeight&&(te.height=0,te.children))for(var pe=0;pe<te.children.length;pe++)te.children[pe].height=0;if(W.smashDepth&&(te.depth=0,te.children))for(var Te=0;Te<te.children.length;Te++)te.children[Te].depth=0;var Ge=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te}]},X);return it.makeSpan(["mord"],[Ge],X)},mathmlBuilder:function(W,X){var te=new Rn.MathNode("mpadded",[Da(W.body,X)]);return W.smashHeight&&te.setAttribute("height","0px"),W.smashDepth&&te.setAttribute("depth","0px"),te}}),pn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(W,X,te){var pe=W.parser,Te=te[0],Ge=X[0];return{type:"sqrt",mode:pe.mode,body:Ge,index:Te}},htmlBuilder:function(W,X){var te=$i(W.body,X.havingCrampedStyle());te.height===0&&(te.height=X.fontMetrics().xHeight),te=it.wrapFragment(te,X);var pe=X.fontMetrics(),Te=pe.defaultRuleThickness,Ge=Te;X.style.id<F.TEXT.id&&(Ge=X.fontMetrics().xHeight);var xt=Te+Ge/4,Bt=te.height+te.depth+xt+Te,nr=Sn.sqrtImage(Bt,X),Tr=nr.span,Wr=nr.ruleWidth,an=nr.advanceWidth,wn=Tr.height-Wr;wn>te.height+te.depth+xt&&(xt=(xt+wn-te.height-te.depth)/2);var Nn=Tr.height-te.height-xt-Wr;te.style.paddingLeft=an+"em";var Wn=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te,wrapperClasses:["svg-align"]},{type:"kern",size:-(te.height+Nn)},{type:"elem",elem:Tr},{type:"kern",size:Wr}]},X);if(W.index){var pi=X.havingStyle(F.SCRIPTSCRIPT),Sr=$i(W.index,pi,X),aa=.6*(Wn.height-Wn.depth),sa=it.makeVList({positionType:"shift",positionData:-aa,children:[{type:"elem",elem:Sr}]},X),is=it.makeSpan(["root"],[sa]);return it.makeSpan(["mord","sqrt"],[is,Wn],X)}else return it.makeSpan(["mord","sqrt"],[Wn],X)},mathmlBuilder:function(W,X){var te=W.body,pe=W.index;return pe?new Rn.MathNode("mroot",[Da(te,X),Da(pe,X)]):new Rn.MathNode("msqrt",[Da(te,X)])}});var Mi={display:F.DISPLAY,text:F.TEXT,script:F.SCRIPT,scriptscript:F.SCRIPTSCRIPT};pn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(W,X){var te=W.breakOnTokenText,pe=W.funcName,Te=W.parser,Ge=Te.parseExpression(!0,te),xt=pe.slice(1,pe.length-5);return{type:"styling",mode:Te.mode,style:xt,body:Ge}},htmlBuilder:function(W,X){var te=Mi[W.style],pe=X.havingStyle(te).withFont("");return _i(W.body,pe,X)},mathmlBuilder:function(W,X){var te=Mi[W.style],pe=X.havingStyle(te),Te=Vi(W.body,pe),Ge=new Rn.MathNode("mstyle",Te),xt={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Bt=xt[W.style];return Ge.setAttribute("scriptlevel",Bt[0]),Ge.setAttribute("displaystyle",Bt[1]),Ge}});var wi=function(W,X){var te=W.base;if(te)if(te.type==="op"){var pe=te.limits&&(X.style.size===F.DISPLAY.size||te.alwaysHandleSupSub);return pe?jr:null}else if(te.type==="operatorname"){var Te=te.alwaysHandleSupSub&&(X.style.size===F.DISPLAY.size||te.limits);return Te?Qn:null}else{if(te.type==="accent")return C.isCharacterBox(te.base)?Fa:null;if(te.type==="horizBrace"){var Ge=!W.sub;return Ge===te.isOver?Ye:null}else return null}else return null};ui({type:"supsub",htmlBuilder:function(W,X){var te=wi(W,X);if(te)return te(W,X);var pe=W.base,Te=W.sup,Ge=W.sub,xt=$i(pe,X),Bt,nr,Tr=X.fontMetrics(),Wr=0,an=0,wn=pe&&C.isCharacterBox(pe);if(Te){var Nn=X.havingStyle(X.style.sup());Bt=$i(Te,Nn,X),wn||(Wr=xt.height-Nn.fontMetrics().supDrop*Nn.sizeMultiplier/X.sizeMultiplier)}if(Ge){var Wn=X.havingStyle(X.style.sub());nr=$i(Ge,Wn,X),wn||(an=xt.depth+Wn.fontMetrics().subDrop*Wn.sizeMultiplier/X.sizeMultiplier)}var pi;X.style===F.DISPLAY?pi=Tr.sup1:X.style.cramped?pi=Tr.sup3:pi=Tr.sup2;var Sr=X.sizeMultiplier,aa=.5/Tr.ptPerEm/Sr+"em",sa=null;if(nr){var is=W.base&&W.base.type==="op"&&W.base.name&&(W.base.name==="\\oiint"||W.base.name==="\\oiiint");(xt instanceof Ae||is)&&(sa=-xt.italic+"em")}var Za;if(Bt&&nr){Wr=Math.max(Wr,pi,Bt.depth+.25*Tr.xHeight),an=Math.max(an,Tr.sub2);var ws=Tr.defaultRuleThickness,as=4*ws;if(Wr-Bt.depth-(nr.height-an)<as){an=as-(Wr-Bt.depth)+nr.height;var Aa=.8*Tr.xHeight-(Wr-Bt.depth);Aa>0&&(Wr+=Aa,an-=Aa)}var Fs=[{type:"elem",elem:nr,shift:an,marginRight:aa,marginLeft:sa},{type:"elem",elem:Bt,shift:-Wr,marginRight:aa}];Za=it.makeVList({positionType:"individualShift",children:Fs},X)}else if(nr){an=Math.max(an,Tr.sub1,nr.height-.8*Tr.xHeight);var Rs=[{type:"elem",elem:nr,marginLeft:sa,marginRight:aa}];Za=it.makeVList({positionType:"shift",positionData:an,children:Rs},X)}else if(Bt)Wr=Math.max(Wr,pi,Bt.depth+.25*Tr.xHeight),Za=it.makeVList({positionType:"shift",positionData:-Wr,children:[{type:"elem",elem:Bt,marginRight:aa}]},X);else throw new Error("supsub must have either sup or sub.");var fi=Ga(xt,"right")||"mord";return it.makeSpan([fi],[xt,it.makeSpan(["msupsub"],[Za])],X)},mathmlBuilder:function(W,X){var te=!1,pe,Te,Ge=Dr(W.base,"horizBrace");Ge&&(Te=!!W.sup,Te===Ge.isOver&&(te=!0,pe=Ge.isOver)),W.base&&(W.base.type==="op"||W.base.type==="operatorname")&&(W.base.parentIsSupSub=!0);var xt=[Da(W.base,X)];W.sub&&xt.push(Da(W.sub,X)),W.sup&&xt.push(Da(W.sup,X));var Bt;if(te)Bt=pe?"mover":"munder";else if(W.sub)if(W.sup){var Wr=W.base;Wr&&Wr.type==="op"&&Wr.limits&&X.style===F.DISPLAY||Wr&&Wr.type==="operatorname"&&Wr.alwaysHandleSupSub&&(X.style===F.DISPLAY||Wr.limits)?Bt="munderover":Bt="msubsup"}else{var Tr=W.base;Tr&&Tr.type==="op"&&Tr.limits&&(X.style===F.DISPLAY||Tr.alwaysHandleSupSub)||Tr&&Tr.type==="operatorname"&&Tr.alwaysHandleSupSub&&(Tr.limits||X.style===F.DISPLAY)?Bt="munder":Bt="msub"}else{var nr=W.base;nr&&nr.type==="op"&&nr.limits&&(X.style===F.DISPLAY||nr.alwaysHandleSupSub)||nr&&nr.type==="operatorname"&&nr.alwaysHandleSupSub&&(nr.limits||X.style===F.DISPLAY)?Bt="mover":Bt="msup"}var an=new Rn.MathNode(Bt,xt);return an}}),ui({type:"atom",htmlBuilder:function(W,X){return it.mathsym(W.text,W.mode,X,["m"+W.family])},mathmlBuilder:function(W,X){var te=new Rn.MathNode("mo",[ja(W.text,W.mode)]);if(W.family==="bin"){var pe=ls(W,X);pe==="bold-italic"&&te.setAttribute("mathvariant",pe)}else W.family==="punct"?te.setAttribute("separator","true"):(W.family==="open"||W.family==="close")&&te.setAttribute("stretchy","false");return te}});var ma={mi:"italic",mn:"normal",mtext:"normal"};ui({type:"mathord",htmlBuilder:function(W,X){return it.makeOrd(W,X,"mathord")},mathmlBuilder:function(W,X){var te=new Rn.MathNode("mi",[ja(W.text,W.mode,X)]),pe=ls(W,X)||"italic";return pe!==ma[te.type]&&te.setAttribute("mathvariant",pe),te}}),ui({type:"textord",htmlBuilder:function(W,X){return it.makeOrd(W,X,"textord")},mathmlBuilder:function(W,X){var te=ja(W.text,W.mode,X),pe=ls(W,X)||"normal",Te;return W.mode==="text"?Te=new Rn.MathNode("mtext",[te]):/[0-9]/.test(W.text)?Te=new Rn.MathNode("mn",[te]):W.text==="\\prime"?Te=new Rn.MathNode("mo",[te]):Te=new Rn.MathNode("mi",[te]),pe!==ma[Te.type]&&Te.setAttribute("mathvariant",pe),Te}});var Ci={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},bi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ui({type:"spacing",htmlBuilder:function(W,X){if(bi.hasOwnProperty(W.text)){var te=bi[W.text].className||"";if(W.mode==="text"){var pe=it.makeOrd(W,X,"textord");return pe.classes.push(te),pe}else return it.makeSpan(["mspace",te],[it.mathsym(W.text,W.mode,X)],X)}else{if(Ci.hasOwnProperty(W.text))return it.makeSpan(["mspace",Ci[W.text]],[],X);throw new s('Unknown type of space "'+W.text+'"')}},mathmlBuilder:function(W,X){var te;if(bi.hasOwnProperty(W.text))te=new Rn.MathNode("mtext",[new Rn.TextNode("\xA0")]);else{if(Ci.hasOwnProperty(W.text))return new Rn.MathNode("mspace");throw new s('Unknown type of space "'+W.text+'"')}return te}});var fa=function(){var W=new Rn.MathNode("mtd",[]);return W.setAttribute("width","50%"),W};ui({type:"tag",mathmlBuilder:function(W,X){var te=new Rn.MathNode("mtable",[new Rn.MathNode("mtr",[fa(),new Rn.MathNode("mtd",[Ia(W.body,X)]),fa(),new Rn.MathNode("mtd",[Ia(W.tag,X)])])]);return te.setAttribute("width","100%"),te}});var Ks={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Es={"\\textbf":"textbf","\\textmd":"textmd"},Wi={"\\textit":"textit","\\textup":"textup"},ka=function(W,X){var te=W.font;return te?Ks[te]?X.withTextFontFamily(Ks[te]):Es[te]?X.withTextFontWeight(Es[te]):X.withTextFontShape(Wi[te]):X};pn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0];return{type:"text",mode:te.mode,body:Ni(Te),font:pe}},htmlBuilder:function(W,X){var te=ka(W,X),pe=$a(W.body,te,!0);return it.makeSpan(["mord","text"],it.tryCombineChars(pe),te)},mathmlBuilder:function(W,X){var te=ka(W,X);return Ia(W.body,te)}}),pn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(W,X){var te=W.parser;return{type:"underline",mode:te.mode,body:X[0]}},htmlBuilder:function(W,X){var te=$i(W.body,X),pe=it.makeLineSpan("underline-line",X),Te=X.fontMetrics().defaultRuleThickness,Ge=it.makeVList({positionType:"top",positionData:te.height,children:[{type:"kern",size:Te},{type:"elem",elem:pe},{type:"kern",size:3*Te},{type:"elem",elem:te}]},X);return it.makeSpan(["mord","underline"],[Ge],X)},mathmlBuilder:function(W,X){var te=new Rn.MathNode("mo",[new Rn.TextNode("\u203E")]);te.setAttribute("stretchy","true");var pe=new Rn.MathNode("munder",[Da(W.body,X),te]);return pe.setAttribute("accentunder","true"),pe}}),pn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(W,X,te){throw new s("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(W,X){for(var te=ea(W),pe=[],Te=X.havingStyle(X.style.text()),Ge=0;Ge<te.length;Ge++){var xt=te[Ge];xt==="~"&&(xt="\\textasciitilde"),pe.push(it.makeSymbol(xt,"Typewriter-Regular",W.mode,Te,["mord","texttt"]))}return it.makeSpan(["mord","text"].concat(Te.sizingClasses(X)),it.tryCombineChars(pe),Te)},mathmlBuilder:function(W,X){var te=new Rn.TextNode(ea(W)),pe=new Rn.MathNode("mtext",[te]);return pe.setAttribute("mathvariant","monospace"),pe}});var ea=function(W){return W.body.replace(/ /g,W.star?"\u2423":"\xA0")},ki=pa,va=ki,Ba=`[ \r
]`,Ka="\\\\[a-zA-Z@]+",eo="\\\\[^\uD800-\uDFFF]",qa=""+Ka+Ba+"*",so=new RegExp("^("+Ka+")"+Ba+"*$"),Ya="[\u0300-\u036F]",Ys=new RegExp(Ya+"+$"),Ms="("+Ba+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ya+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ya+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+qa)+("|"+eo+")"),da=function(){function Ve(X,te){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=X,this.settings=te,this.tokenRegex=new RegExp(Ms,"g"),this.catcodes={"%":14}}var W=Ve.prototype;return W.setCatcode=function(te,pe){this.catcodes[te]=pe},W.lex=function(){var te=this.input,pe=this.tokenRegex.lastIndex;if(pe===te.length)return new c("EOF",new l(this,pe,pe));var Te=this.tokenRegex.exec(te);if(Te===null||Te.index!==pe)throw new s("Unexpected character: '"+te[pe]+"'",new c(te[pe],new l(this,pe,pe+1)));var Ge=Te[2]||" ";if(this.catcodes[Ge]===14){var xt=te.indexOf(`
`,this.tokenRegex.lastIndex);return xt===-1?(this.tokenRegex.lastIndex=te.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=xt+1,this.lex()}var Bt=Ge.match(so);return Bt&&(Ge=Bt[1]),new c(Ge,new l(this,pe,this.tokenRegex.lastIndex))},Ve}(),Ua=function(){function Ve(X,te){X===void 0&&(X={}),te===void 0&&(te={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=te,this.builtins=X,this.undefStack=[]}var W=Ve.prototype;return W.beginGroup=function(){this.undefStack.push({})},W.endGroup=function(){if(this.undefStack.length===0)throw new s("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var te=this.undefStack.pop();for(var pe in te)te.hasOwnProperty(pe)&&(te[pe]===void 0?delete this.current[pe]:this.current[pe]=te[pe])},W.has=function(te){return this.current.hasOwnProperty(te)||this.builtins.hasOwnProperty(te)},W.get=function(te){return this.current.hasOwnProperty(te)?this.current[te]:this.builtins[te]},W.set=function(te,pe,Te){if(Te===void 0&&(Te=!1),Te){for(var Ge=0;Ge<this.undefStack.length;Ge++)delete this.undefStack[Ge][te];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][te]=pe)}else{var xt=this.undefStack[this.undefStack.length-1];xt&&!xt.hasOwnProperty(te)&&(xt[te]=this.current[te])}this.current[te]=pe},Ve}(),As={},ga=As;function ye(Ve,W){As[Ve]=W}ye("\\@firstoftwo",function(Ve){var W=Ve.consumeArgs(2);return{tokens:W[0],numArgs:0}}),ye("\\@secondoftwo",function(Ve){var W=Ve.consumeArgs(2);return{tokens:W[1],numArgs:0}}),ye("\\@ifnextchar",function(Ve){var W=Ve.consumeArgs(3),X=Ve.future();return W[0].length===1&&W[0][0].text===X.text?{tokens:W[1],numArgs:0}:{tokens:W[2],numArgs:0}}),ye("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ye("\\TextOrMath",function(Ve){var W=Ve.consumeArgs(2);return Ve.mode==="text"?{tokens:W[0],numArgs:0}:{tokens:W[1],numArgs:0}});var Se={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ye("\\char",function(Ve){var W=Ve.popToken(),X,te="";if(W.text==="'")X=8,W=Ve.popToken();else if(W.text==='"')X=16,W=Ve.popToken();else if(W.text==="`")if(W=Ve.popToken(),W.text[0]==="\\")te=W.text.charCodeAt(1);else{if(W.text==="EOF")throw new s("\\char` missing argument");te=W.text.charCodeAt(0)}else X=10;if(X){if(te=Se[W.text],te==null||te>=X)throw new s("Invalid base-"+X+" digit "+W.text);for(var pe;(pe=Se[Ve.future().text])!=null&&pe<X;)te*=X,te+=pe,Ve.popToken()}return"\\@char{"+te+"}"});var yr=function(W,X){var te=W.consumeArgs(1)[0];if(te.length!==1)throw new s("\\gdef's first argument must be a macro name");var pe=te[0].text,Te=0;for(te=W.consumeArgs(1)[0];te.length===1&&te[0].text==="#";){if(te=W.consumeArgs(1)[0],te.length!==1)throw new s('Invalid argument number length "'+te.length+'"');if(!/^[1-9]$/.test(te[0].text))throw new s('Invalid argument number "'+te[0].text+'"');if(Te++,parseInt(te[0].text)!==Te)throw new s('Argument number "'+te[0].text+'" out of order');te=W.consumeArgs(1)[0]}return W.macros.set(pe,{tokens:te,numArgs:Te},X),""};ye("\\gdef",function(Ve){return yr(Ve,!0)}),ye("\\def",function(Ve){return yr(Ve,!1)}),ye("\\global",function(Ve){var W=Ve.consumeArgs(1)[0];if(W.length!==1)throw new s("Invalid command after \\global");var X=W[0].text;if(X==="\\def")return yr(Ve,!0);throw new s("Invalid command '"+X+"' after \\global")});var Jr=function(W,X,te){var pe=W.consumeArgs(1)[0];if(pe.length!==1)throw new s("\\newcommand's first argument must be a macro name");var Te=pe[0].text,Ge=W.isDefined(Te);if(Ge&&!X)throw new s("\\newcommand{"+Te+"} attempting to redefine "+(Te+"; use \\renewcommand"));if(!Ge&&!te)throw new s("\\renewcommand{"+Te+"} when command "+Te+" does not yet exist; use \\newcommand");var xt=0;if(pe=W.consumeArgs(1)[0],pe.length===1&&pe[0].text==="["){for(var Bt="",nr=W.expandNextToken();nr.text!=="]"&&nr.text!=="EOF";)Bt+=nr.text,nr=W.expandNextToken();if(!Bt.match(/^\s*[0-9]+\s*$/))throw new s("Invalid number of arguments: "+Bt);xt=parseInt(Bt),pe=W.consumeArgs(1)[0]}return W.macros.set(Te,{tokens:pe,numArgs:xt}),""};ye("\\newcommand",function(Ve){return Jr(Ve,!1,!0)}),ye("\\renewcommand",function(Ve){return Jr(Ve,!0,!1)}),ye("\\providecommand",function(Ve){return Jr(Ve,!0,!0)}),ye("\\bgroup","{"),ye("\\egroup","}"),ye("\\lq","`"),ye("\\rq","'"),ye("\\aa","\\r a"),ye("\\AA","\\r A"),ye("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),ye("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),ye("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),ye("\u212C","\\mathscr{B}"),ye("\u2130","\\mathscr{E}"),ye("\u2131","\\mathscr{F}"),ye("\u210B","\\mathscr{H}"),ye("\u2110","\\mathscr{I}"),ye("\u2112","\\mathscr{L}"),ye("\u2133","\\mathscr{M}"),ye("\u211B","\\mathscr{R}"),ye("\u212D","\\mathfrak{C}"),ye("\u210C","\\mathfrak{H}"),ye("\u2128","\\mathfrak{Z}"),ye("\\Bbbk","\\Bbb{k}"),ye("\xB7","\\cdotp"),ye("\\llap","\\mathllap{\\textrm{#1}}"),ye("\\rlap","\\mathrlap{\\textrm{#1}}"),ye("\\clap","\\mathclap{\\textrm{#1}}"),ye("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),ye("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),ye("\\ne","\\neq"),ye("\u2260","\\neq"),ye("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),ye("\u2209","\\notin"),ye("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),ye("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),ye("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),ye("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),ye("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),ye("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),ye("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),ye("\u27C2","\\perp"),ye("\u203C","\\mathclose{!\\mkern-0.8mu!}"),ye("\u220C","\\notni"),ye("\u231C","\\ulcorner"),ye("\u231D","\\urcorner"),ye("\u231E","\\llcorner"),ye("\u231F","\\lrcorner"),ye("\xA9","\\copyright"),ye("\xAE","\\textregistered"),ye("\uFE0F","\\textregistered"),ye("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),ye("\u22EE","\\vdots"),ye("\\varGamma","\\mathit{\\Gamma}"),ye("\\varDelta","\\mathit{\\Delta}"),ye("\\varTheta","\\mathit{\\Theta}"),ye("\\varLambda","\\mathit{\\Lambda}"),ye("\\varXi","\\mathit{\\Xi}"),ye("\\varPi","\\mathit{\\Pi}"),ye("\\varSigma","\\mathit{\\Sigma}"),ye("\\varUpsilon","\\mathit{\\Upsilon}"),ye("\\varPhi","\\mathit{\\Phi}"),ye("\\varPsi","\\mathit{\\Psi}"),ye("\\varOmega","\\mathit{\\Omega}"),ye("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),ye("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),ye("\\boxed","\\fbox{$\\displaystyle{#1}$}"),ye("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),ye("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),ye("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var br={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};ye("\\dots",function(Ve){var W="\\dotso",X=Ve.expandAfterFuture().text;return X in br?W=br[X]:(X.substr(0,4)==="\\not"||X in We.math&&C.contains(["bin","rel"],We.math[X].group))&&(W="\\dotsb"),W});var Qr={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};ye("\\dotso",function(Ve){var W=Ve.future().text;return W in Qr?"\\ldots\\,":"\\ldots"}),ye("\\dotsc",function(Ve){var W=Ve.future().text;return W in Qr&&W!==","?"\\ldots\\,":"\\ldots"}),ye("\\cdots",function(Ve){var W=Ve.future().text;return W in Qr?"\\@cdots\\,":"\\@cdots"}),ye("\\dotsb","\\cdots"),ye("\\dotsm","\\cdots"),ye("\\dotsi","\\!\\cdots"),ye("\\dotsx","\\ldots\\,"),ye("\\DOTSI","\\relax"),ye("\\DOTSB","\\relax"),ye("\\DOTSX","\\relax"),ye("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),ye("\\,","\\tmspace+{3mu}{.1667em}"),ye("\\thinspace","\\,"),ye("\\>","\\mskip{4mu}"),ye("\\:","\\tmspace+{4mu}{.2222em}"),ye("\\medspace","\\:"),ye("\\;","\\tmspace+{5mu}{.2777em}"),ye("\\thickspace","\\;"),ye("\\!","\\tmspace-{3mu}{.1667em}"),ye("\\negthinspace","\\!"),ye("\\negmedspace","\\tmspace-{4mu}{.2222em}"),ye("\\negthickspace","\\tmspace-{5mu}{.277em}"),ye("\\enspace","\\kern.5em "),ye("\\enskip","\\hskip.5em\\relax"),ye("\\quad","\\hskip1em\\relax"),ye("\\qquad","\\hskip2em\\relax"),ye("\\tag","\\@ifstar\\tag@literal\\tag@paren"),ye("\\tag@paren","\\tag@literal{({#1})}"),ye("\\tag@literal",function(Ve){if(Ve.macros.get("\\df@tag"))throw new s("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),ye("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),ye("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),ye("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),ye("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),ye("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),ye("\\\\","\\newline"),ye("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Cn=Vt["Main-Regular"][84][1]-.7*Vt["Main-Regular"][65][1]+"em";ye("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Cn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),ye("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Cn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),ye("\\hspace","\\@ifstar\\@hspacer\\@hspace"),ye("\\@hspace","\\hskip #1\\relax"),ye("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),ye("\\ordinarycolon",":"),ye("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),ye("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),ye("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),ye("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),ye("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),ye("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),ye("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),ye("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),ye("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),ye("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),ye("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),ye("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),ye("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),ye("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),ye("\u2237","\\dblcolon"),ye("\u2239","\\eqcolon"),ye("\u2254","\\coloneqq"),ye("\u2255","\\eqqcolon"),ye("\u2A74","\\Coloneqq"),ye("\\ratio","\\vcentcolon"),ye("\\coloncolon","\\dblcolon"),ye("\\colonequals","\\coloneqq"),ye("\\coloncolonequals","\\Coloneqq"),ye("\\equalscolon","\\eqqcolon"),ye("\\equalscoloncolon","\\Eqqcolon"),ye("\\colonminus","\\coloneq"),ye("\\coloncolonminus","\\Coloneq"),ye("\\minuscolon","\\eqcolon"),ye("\\minuscoloncolon","\\Eqcolon"),ye("\\coloncolonapprox","\\Colonapprox"),ye("\\coloncolonsim","\\Colonsim"),ye("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ye("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ye("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ye("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ye("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),ye("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),ye("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),ye("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),ye("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),ye("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),ye("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),ye("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),ye("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),ye("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),ye("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),ye("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),ye("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),ye("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),ye("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),ye("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),ye("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),ye("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),ye("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),ye("\u27E6","\\llbracket"),ye("\u27E7","\\rrbracket"),ye("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),ye("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),ye("\u2983","\\lBrace"),ye("\u2984","\\rBrace"),ye("\\darr","\\downarrow"),ye("\\dArr","\\Downarrow"),ye("\\Darr","\\Downarrow"),ye("\\lang","\\langle"),ye("\\rang","\\rangle"),ye("\\uarr","\\uparrow"),ye("\\uArr","\\Uparrow"),ye("\\Uarr","\\Uparrow"),ye("\\N","\\mathbb{N}"),ye("\\R","\\mathbb{R}"),ye("\\Z","\\mathbb{Z}"),ye("\\alef","\\aleph"),ye("\\alefsym","\\aleph"),ye("\\Alpha","\\mathrm{A}"),ye("\\Beta","\\mathrm{B}"),ye("\\bull","\\bullet"),ye("\\Chi","\\mathrm{X}"),ye("\\clubs","\\clubsuit"),ye("\\cnums","\\mathbb{C}"),ye("\\Complex","\\mathbb{C}"),ye("\\Dagger","\\ddagger"),ye("\\diamonds","\\diamondsuit"),ye("\\empty","\\emptyset"),ye("\\Epsilon","\\mathrm{E}"),ye("\\Eta","\\mathrm{H}"),ye("\\exist","\\exists"),ye("\\harr","\\leftrightarrow"),ye("\\hArr","\\Leftrightarrow"),ye("\\Harr","\\Leftrightarrow"),ye("\\hearts","\\heartsuit"),ye("\\image","\\Im"),ye("\\infin","\\infty"),ye("\\Iota","\\mathrm{I}"),ye("\\isin","\\in"),ye("\\Kappa","\\mathrm{K}"),ye("\\larr","\\leftarrow"),ye("\\lArr","\\Leftarrow"),ye("\\Larr","\\Leftarrow"),ye("\\lrarr","\\leftrightarrow"),ye("\\lrArr","\\Leftrightarrow"),ye("\\Lrarr","\\Leftrightarrow"),ye("\\Mu","\\mathrm{M}"),ye("\\natnums","\\mathbb{N}"),ye("\\Nu","\\mathrm{N}"),ye("\\Omicron","\\mathrm{O}"),ye("\\plusmn","\\pm"),ye("\\rarr","\\rightarrow"),ye("\\rArr","\\Rightarrow"),ye("\\Rarr","\\Rightarrow"),ye("\\real","\\Re"),ye("\\reals","\\mathbb{R}"),ye("\\Reals","\\mathbb{R}"),ye("\\Rho","\\mathrm{P}"),ye("\\sdot","\\cdot"),ye("\\sect","\\S"),ye("\\spades","\\spadesuit"),ye("\\sub","\\subset"),ye("\\sube","\\subseteq"),ye("\\supe","\\supseteq"),ye("\\Tau","\\mathrm{T}"),ye("\\thetasym","\\vartheta"),ye("\\weierp","\\wp"),ye("\\Zeta","\\mathrm{Z}"),ye("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),ye("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),ye("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),ye("\\blue","\\textcolor{##6495ed}{#1}"),ye("\\orange","\\textcolor{##ffa500}{#1}"),ye("\\pink","\\textcolor{##ff00af}{#1}"),ye("\\red","\\textcolor{##df0030}{#1}"),ye("\\green","\\textcolor{##28ae7b}{#1}"),ye("\\gray","\\textcolor{gray}{#1}"),ye("\\purple","\\textcolor{##9d38bd}{#1}"),ye("\\blueA","\\textcolor{##ccfaff}{#1}"),ye("\\blueB","\\textcolor{##80f6ff}{#1}"),ye("\\blueC","\\textcolor{##63d9ea}{#1}"),ye("\\blueD","\\textcolor{##11accd}{#1}"),ye("\\blueE","\\textcolor{##0c7f99}{#1}"),ye("\\tealA","\\textcolor{##94fff5}{#1}"),ye("\\tealB","\\textcolor{##26edd5}{#1}"),ye("\\tealC","\\textcolor{##01d1c1}{#1}"),ye("\\tealD","\\textcolor{##01a995}{#1}"),ye("\\tealE","\\textcolor{##208170}{#1}"),ye("\\greenA","\\textcolor{##b6ffb0}{#1}"),ye("\\greenB","\\textcolor{##8af281}{#1}"),ye("\\greenC","\\textcolor{##74cf70}{#1}"),ye("\\greenD","\\textcolor{##1fab54}{#1}"),ye("\\greenE","\\textcolor{##0d923f}{#1}"),ye("\\goldA","\\textcolor{##ffd0a9}{#1}"),ye("\\goldB","\\textcolor{##ffbb71}{#1}"),ye("\\goldC","\\textcolor{##ff9c39}{#1}"),ye("\\goldD","\\textcolor{##e07d10}{#1}"),ye("\\goldE","\\textcolor{##a75a05}{#1}"),ye("\\redA","\\textcolor{##fca9a9}{#1}"),ye("\\redB","\\textcolor{##ff8482}{#1}"),ye("\\redC","\\textcolor{##f9685d}{#1}"),ye("\\redD","\\textcolor{##e84d39}{#1}"),ye("\\redE","\\textcolor{##bc2612}{#1}"),ye("\\maroonA","\\textcolor{##ffbde0}{#1}"),ye("\\maroonB","\\textcolor{##ff92c6}{#1}"),ye("\\maroonC","\\textcolor{##ed5fa6}{#1}"),ye("\\maroonD","\\textcolor{##ca337c}{#1}"),ye("\\maroonE","\\textcolor{##9e034e}{#1}"),ye("\\purpleA","\\textcolor{##ddd7ff}{#1}"),ye("\\purpleB","\\textcolor{##c6b9fc}{#1}"),ye("\\purpleC","\\textcolor{##aa87ff}{#1}"),ye("\\purpleD","\\textcolor{##7854ab}{#1}"),ye("\\purpleE","\\textcolor{##543b78}{#1}"),ye("\\mintA","\\textcolor{##f5f9e8}{#1}"),ye("\\mintB","\\textcolor{##edf2df}{#1}"),ye("\\mintC","\\textcolor{##e0e5cc}{#1}"),ye("\\grayA","\\textcolor{##f6f7f7}{#1}"),ye("\\grayB","\\textcolor{##f0f1f2}{#1}"),ye("\\grayC","\\textcolor{##e3e5e6}{#1}"),ye("\\grayD","\\textcolor{##d6d8da}{#1}"),ye("\\grayE","\\textcolor{##babec2}{#1}"),ye("\\grayF","\\textcolor{##888d93}{#1}"),ye("\\grayG","\\textcolor{##626569}{#1}"),ye("\\grayH","\\textcolor{##3b3e40}{#1}"),ye("\\grayI","\\textcolor{##21242c}{#1}"),ye("\\kaBlue","\\textcolor{##314453}{#1}"),ye("\\kaGreen","\\textcolor{##71B307}{#1}");var ri={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Fi=function(){function Ve(X,te,pe){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=te,this.expansionCount=0,this.feed(X),this.macros=new Ua(ga,te.macros),this.mode=pe,this.stack=[]}var W=Ve.prototype;return W.feed=function(te){this.lexer=new da(te,this.settings)},W.switchMode=function(te){this.mode=te},W.beginGroup=function(){this.macros.beginGroup()},W.endGroup=function(){this.macros.endGroup()},W.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},W.popToken=function(){return this.future(),this.stack.pop()},W.pushToken=function(te){this.stack.push(te)},W.pushTokens=function(te){var pe;(pe=this.stack).push.apply(pe,te)},W.consumeSpaces=function(){for(;;){var te=this.future();if(te.text===" ")this.stack.pop();else break}},W.consumeArgs=function(te){for(var pe=[],Te=0;Te<te;++Te){this.consumeSpaces();var Ge=this.popToken();if(Ge.text==="{"){for(var xt=[],Bt=1;Bt!==0;){var nr=this.popToken();if(xt.push(nr),nr.text==="{")++Bt;else if(nr.text==="}")--Bt;else if(nr.text==="EOF")throw new s("End of input in macro argument",Ge)}xt.pop(),xt.reverse(),pe[Te]=xt}else{if(Ge.text==="EOF")throw new s("End of input expecting macro argument");pe[Te]=[Ge]}}return pe},W.expandOnce=function(){var te=this.popToken(),pe=te.text,Te=this._getExpansion(pe);if(Te==null)return this.pushToken(te),te;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new s("Too many expansions: infinite loop or need to increase maxExpand setting");var Ge=Te.tokens;if(Te.numArgs){var xt=this.consumeArgs(Te.numArgs);Ge=Ge.slice();for(var Bt=Ge.length-1;Bt>=0;--Bt){var nr=Ge[Bt];if(nr.text==="#"){if(Bt===0)throw new s("Incomplete placeholder at end of macro body",nr);if(nr=Ge[--Bt],nr.text==="#")Ge.splice(Bt+1,1);else if(/^[1-9]$/.test(nr.text)){var Tr;(Tr=Ge).splice.apply(Tr,[Bt,2].concat(xt[+nr.text-1]))}else throw new s("Not a valid argument number",nr)}}}return this.pushTokens(Ge),Ge},W.expandAfterFuture=function(){return this.expandOnce(),this.future()},W.expandNextToken=function(){for(;;){var te=this.expandOnce();if(te instanceof c)if(te.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},W.expandMacro=function(te){if(this.macros.get(te)){var pe=[],Te=this.stack.length;for(this.pushToken(new c(te));this.stack.length>Te;){var Ge=this.expandOnce();Ge instanceof c&&pe.push(this.stack.pop())}return pe}},W.expandMacroAsText=function(te){var pe=this.expandMacro(te);return pe&&pe.map(function(Te){return Te.text}).join("")},W._getExpansion=function(te){var pe=this.macros.get(te);if(pe==null)return pe;var Te=typeof pe=="function"?pe(this):pe;if(typeof Te=="string"){var Ge=0;if(Te.indexOf("#")!==-1)for(var xt=Te.replace(/##/g,"");xt.indexOf("#"+(Ge+1))!==-1;)++Ge;for(var Bt=new da(Te,this.settings),nr=[],Tr=Bt.lex();Tr.text!=="EOF";)nr.push(Tr),Tr=Bt.lex();nr.reverse();var Wr={tokens:nr,numArgs:Ge};return Wr}return Te},W.isDefined=function(te){return this.macros.has(te)||va.hasOwnProperty(te)||We.math.hasOwnProperty(te)||We.text.hasOwnProperty(te)||ri.hasOwnProperty(te)},Ve}(),Mn={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},Dn={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},Bn=function(){function Ve(X,te){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Fi(X,te,this.mode),this.settings=te,this.leftrightDepth=0}var W=Ve.prototype;return W.expect=function(te,pe){if(pe===void 0&&(pe=!0),this.fetch().text!==te)throw new s("Expected '"+te+"', got '"+this.fetch().text+"'",this.fetch());pe&&this.consume()},W.consume=function(){this.nextToken=null},W.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},W.switchMode=function(te){this.mode=te,this.gullet.switchMode(te)},W.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var te=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),te},W.parseExpression=function(te,pe){for(var Te=[];;){this.mode==="math"&&this.consumeSpaces();var Ge=this.fetch();if(Ve.endOfExpression.indexOf(Ge.text)!==-1||pe&&Ge.text===pe||te&&va[Ge.text]&&va[Ge.text].infix)break;var xt=this.parseAtom(pe);if(!xt)break;Te.push(xt)}return this.mode==="text"&&this.formLigatures(Te),this.handleInfixNodes(Te)},W.handleInfixNodes=function(te){for(var pe=-1,Te,Ge=0;Ge<te.length;Ge++){var xt=Dr(te[Ge],"infix");if(xt){if(pe!==-1)throw new s("only one infix operator per group",xt.token);pe=Ge,Te=xt.replaceWith}}if(pe!==-1&&Te){var Bt,nr,Tr=te.slice(0,pe),Wr=te.slice(pe+1);Tr.length===1&&Tr[0].type==="ordgroup"?Bt=Tr[0]:Bt={type:"ordgroup",mode:this.mode,body:Tr},Wr.length===1&&Wr[0].type==="ordgroup"?nr=Wr[0]:nr={type:"ordgroup",mode:this.mode,body:Wr};var an;return Te==="\\\\abovefrac"?an=this.callFunction(Te,[Bt,te[pe],nr],[]):an=this.callFunction(Te,[Bt,nr],[]),[an]}else return te},W.handleSupSubscript=function(te){var pe=this.fetch(),Te=pe.text;this.consume();var Ge=this.parseGroup(te,!1,Ve.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ge)throw new s("Expected group after '"+Te+"'",pe);return Ge},W.formatUnsupportedCmd=function(te){for(var pe=[],Te=0;Te<te.length;Te++)pe.push({type:"textord",mode:"text",text:te[Te]});var Ge={type:"text",mode:this.mode,body:pe},xt={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ge]};return xt},W.parseAtom=function(te){var pe=this.parseGroup("atom",!1,null,te);if(this.mode==="text")return pe;for(var Te,Ge;;){this.consumeSpaces();var xt=this.fetch();if(xt.text==="\\limits"||xt.text==="\\nolimits"){var Bt=Dr(pe,"op");if(Bt){var nr=xt.text==="\\limits";Bt.limits=nr,Bt.alwaysHandleSupSub=!0}else if(Bt=Dr(pe,"operatorname"),Bt&&Bt.alwaysHandleSupSub){var Tr=xt.text==="\\limits";Bt.limits=Tr}else throw new s("Limit controls must follow a math operator",xt);this.consume()}else if(xt.text==="^"){if(Te)throw new s("Double superscript",xt);Te=this.handleSupSubscript("superscript")}else if(xt.text==="_"){if(Ge)throw new s("Double subscript",xt);Ge=this.handleSupSubscript("subscript")}else if(xt.text==="'"){if(Te)throw new s("Double superscript",xt);var Wr={type:"textord",mode:this.mode,text:"\\prime"},an=[Wr];for(this.consume();this.fetch().text==="'";)an.push(Wr),this.consume();this.fetch().text==="^"&&an.push(this.handleSupSubscript("superscript")),Te={type:"ordgroup",mode:this.mode,body:an}}else break}return Te||Ge?{type:"supsub",mode:this.mode,base:pe,sup:Te,sub:Ge}:pe},W.parseFunction=function(te,pe,Te){var Ge=this.fetch(),xt=Ge.text,Bt=va[xt];if(!Bt)return null;if(this.consume(),Te!=null&&Bt.greediness<=Te)throw new s("Got function '"+xt+"' with no arguments"+(pe?" as "+pe:""),Ge);if(this.mode==="text"&&!Bt.allowedInText)throw new s("Can't use function '"+xt+"' in text mode",Ge);if(this.mode==="math"&&Bt.allowedInMath===!1)throw new s("Can't use function '"+xt+"' in math mode",Ge);var nr=this.parseArguments(xt,Bt),Tr=nr.args,Wr=nr.optArgs;return this.callFunction(xt,Tr,Wr,Ge,te)},W.callFunction=function(te,pe,Te,Ge,xt){var Bt={funcName:te,parser:this,token:Ge,breakOnTokenText:xt},nr=va[te];if(nr&&nr.handler)return nr.handler(Bt,pe,Te);throw new s("No function handler for "+te)},W.parseArguments=function(te,pe){var Te=pe.numArgs+pe.numOptionalArgs;if(Te===0)return{args:[],optArgs:[]};for(var Ge=pe.greediness,xt=[],Bt=[],nr=0;nr<Te;nr++){var Tr=pe.argTypes&&pe.argTypes[nr],Wr=nr<pe.numOptionalArgs,an=nr>0&&!Wr||nr===0&&!Wr&&this.mode==="math",wn=this.parseGroupOfType("argument to '"+te+"'",Tr,Wr,Ge,an);if(!wn){if(Wr){Bt.push(null);continue}throw new s("Expected group after '"+te+"'",this.fetch())}(Wr?Bt:xt).push(wn)}return{args:xt,optArgs:Bt}},W.parseGroupOfType=function(te,pe,Te,Ge,xt){switch(pe){case"color":return xt&&this.consumeSpaces(),this.parseColorGroup(Te);case"size":return xt&&this.consumeSpaces(),this.parseSizeGroup(Te);case"url":return this.parseUrlGroup(Te,xt);case"math":case"text":return this.parseGroup(te,Te,Ge,void 0,pe,xt);case"hbox":{var Bt=this.parseGroup(te,Te,Ge,void 0,"text",xt);if(!Bt)return Bt;var nr={type:"styling",mode:Bt.mode,body:[Bt],style:"text"};return nr}case"raw":{if(xt&&this.consumeSpaces(),Te&&this.fetch().text==="{")return null;var Tr=this.parseStringGroup("raw",Te,!0);if(Tr)return{type:"raw",mode:"text",string:Tr.text};throw new s("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(te,Te,Ge,void 0,void 0,xt);default:throw new s("Unknown group type as "+te,this.fetch())}},W.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},W.parseStringGroup=function(te,pe,Te){var Ge=pe?"[":"{",xt=pe?"]":"}",Bt=this.fetch();if(Bt.text!==Ge){if(pe)return null;if(Te&&Bt.text!=="EOF"&&/[^{}[\]]/.test(Bt.text))return this.consume(),Bt}var nr=this.mode;this.mode="text",this.expect(Ge);for(var Tr="",Wr=this.fetch(),an=0,wn=Wr,Nn;(Nn=this.fetch()).text!==xt||Te&&an>0;){switch(Nn.text){case"EOF":throw new s("Unexpected end of input in "+te,Wr.range(wn,Tr));case Ge:an++;break;case xt:an--;break}wn=Nn,Tr+=wn.text,this.consume()}return this.expect(xt),this.mode=nr,Wr.range(wn,Tr)},W.parseRegexGroup=function(te,pe){var Te=this.mode;this.mode="text";for(var Ge=this.fetch(),xt=Ge,Bt="",nr;(nr=this.fetch()).text!=="EOF"&&te.test(Bt+nr.text);)xt=nr,Bt+=xt.text,this.consume();if(Bt==="")throw new s("Invalid "+pe+": '"+Ge.text+"'",Ge);return this.mode=Te,Ge.range(xt,Bt)},W.parseColorGroup=function(te){var pe=this.parseStringGroup("color",te);if(!pe)return null;var Te=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(pe.text);if(!Te)throw new s("Invalid color: '"+pe.text+"'",pe);var Ge=Te[0];return/^[0-9a-f]{6}$/i.test(Ge)&&(Ge="#"+Ge),{type:"color-token",mode:this.mode,color:Ge}},W.parseSizeGroup=function(te){var pe,Te=!1;if(!te&&this.fetch().text!=="{"?pe=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):pe=this.parseStringGroup("size",te),!pe)return null;!te&&pe.text.length===0&&(pe.text="0pt",Te=!0);var Ge=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(pe.text);if(!Ge)throw new s("Invalid size: '"+pe.text+"'",pe);var xt={number:+(Ge[1]+Ge[2]),unit:Ge[3]};if(!Ei(xt))throw new s("Invalid unit: '"+xt.unit+"'",pe);return{type:"size",mode:this.mode,value:xt,isBlank:Te}},W.parseUrlGroup=function(te,pe){this.gullet.lexer.setCatcode("%",13);var Te=this.parseStringGroup("url",te,!0);if(this.gullet.lexer.setCatcode("%",14),!Te)return null;var Ge=Te.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ge}},W.parseGroup=function(te,pe,Te,Ge,xt,Bt){var nr=this.mode;xt&&this.switchMode(xt),Bt&&this.consumeSpaces();var Tr=this.fetch(),Wr=Tr.text,an;if(pe?Wr==="[":Wr==="{"||Wr==="\\begingroup"){this.consume();var wn=Ve.endOfGroup[Wr];this.gullet.beginGroup();var Nn=this.parseExpression(!1,wn),Wn=this.fetch();this.expect(wn),this.gullet.endGroup(),an={type:"ordgroup",mode:this.mode,loc:l.range(Tr,Wn),body:Nn,semisimple:Wr==="\\begingroup"||void 0}}else if(pe)an=null;else if(an=this.parseFunction(Ge,te,Te)||this.parseSymbol(),an==null&&Wr[0]==="\\"&&!ri.hasOwnProperty(Wr)){if(this.settings.throwOnError)throw new s("Undefined control sequence: "+Wr,Tr);an=this.formatUnsupportedCmd(Wr),this.consume()}return xt&&this.switchMode(nr),an},W.formLigatures=function(te){for(var pe=te.length-1,Te=0;Te<pe;++Te){var Ge=te[Te],xt=Ge.text;xt==="-"&&te[Te+1].text==="-"&&(Te+1<pe&&te[Te+2].text==="-"?(te.splice(Te,3,{type:"textord",mode:"text",loc:l.range(Ge,te[Te+2]),text:"---"}),pe-=2):(te.splice(Te,2,{type:"textord",mode:"text",loc:l.range(Ge,te[Te+1]),text:"--"}),pe-=1)),(xt==="'"||xt==="`")&&te[Te+1].text===xt&&(te.splice(Te,2,{type:"textord",mode:"text",loc:l.range(Ge,te[Te+1]),text:xt+xt}),pe-=1)}},W.parseSymbol=function(){var te=this.fetch(),pe=te.text;if(/^\\verb[^a-zA-Z]/.test(pe)){this.consume();var Te=pe.slice(5),Ge=Te.charAt(0)==="*";if(Ge&&(Te=Te.slice(1)),Te.length<2||Te.charAt(0)!==Te.slice(-1))throw new s(`\\verb assertion failed --
please report what input caused this bug`);return Te=Te.slice(1,-1),{type:"verb",mode:"text",body:Te,star:Ge}}Dn.hasOwnProperty(pe[0])&&!We[this.mode][pe[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+pe[0]+'" used in math mode',te),pe=Dn[pe[0]]+pe.substr(1));var xt=Ys.exec(pe);xt&&(pe=pe.substring(0,xt.index),pe==="i"?pe="\u0131":pe==="j"&&(pe="\u0237"));var Bt;if(We[this.mode][pe]){this.settings.strict&&this.mode==="math"&&ot.indexOf(pe)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+pe[0]+'" used in math mode',te);var nr=We[this.mode][pe].group,Tr=l.range(te),Wr;if($t.hasOwnProperty(nr)){var an=nr;Wr={type:"atom",mode:this.mode,family:an,loc:Tr,text:pe}}else Wr={type:nr,mode:this.mode,loc:Tr,text:pe};Bt=Wr}else if(pe.charCodeAt(0)>=128)this.settings.strict&&(we(pe.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+pe[0]+'" used in math mode',te):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+pe[0]+'"'+(" ("+pe.charCodeAt(0)+")"),te)),Bt={type:"textord",mode:"text",loc:l.range(te),text:pe};else return null;if(this.consume(),xt)for(var wn=0;wn<xt[0].length;wn++){var Nn=xt[0][wn];if(!Mn[Nn])throw new s("Unknown accent ' "+Nn+"'",te);var Wn=Mn[Nn][this.mode];if(!Wn)throw new s("Accent "+Nn+" unsupported in "+this.mode+" mode",te);Bt={type:"accent",mode:this.mode,loc:l.range(te),label:Wn,isStretchy:!1,isShifty:!0,base:Bt}}return Bt},Ve}();Bn.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Bn.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Bn.SUPSUB_GREEDINESS=1;var ia=function(W,X){if(!(typeof W=="string"||W instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var te=new Bn(W,X);delete te.gullet.macros.current["\\df@tag"];var pe=te.parse();if(te.gullet.macros.get("\\df@tag")){if(!X.displayMode)throw new s("\\tag works only in display equations");te.gullet.feed("\\df@tag"),pe=[{type:"tag",mode:"text",body:pe,tag:te.parse()}]}return pe},Ui=ia,ho=function(W,X,te){X.textContent="";var pe=qu(W,te).toNode();X.appendChild(pe)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),ho=function(){throw new s("KaTeX doesn't work in quirks mode.")});var Xs=function(W,X){var te=qu(W,X).toMarkup();return te},eu=function(W,X){var te=new D(X);return Ui(W,te)},hl=function(W,X,te){if(te.throwOnError||!(W instanceof s))throw W;var pe=it.makeSpan(["katex-error"],[new Ae(X)]);return pe.setAttribute("title",W.toString()),pe.setAttribute("style","color:"+te.errorColor),pe},qu=function(W,X){var te=new D(X);try{var pe=Ui(W,te);return To(pe,W,te)}catch(Te){return hl(Te,W,te)}},vu=function(W,X){var te=new D(X);try{var pe=Ui(W,te);return Vo(pe,W,te)}catch(Te){return hl(Te,W,te)}},Uc={version:"0.11.1",render:ho,renderToString:Xs,ParseError:s,__parse:eu,__renderToDomTree:qu,__renderToHTMLTree:vu,__setFontMetrics:qe,__defineSymbol:fe,__defineMacro:ye,__domTree:{Span:ht,Anchor:Je,SymbolNode:Ae,SvgNode:Me,PathNode:$e,LineNode:He}},Pu=e.default=Uc}]).default})},76414:function(d,g,e){var r=e(64696),i=e(16824),l=e(23476),c=e(63122),f=e(37279);function s(h){var u=-1,a=h==null?0:h.length;for(this.clear();++u<a;){var x=h[u];this.set(x[0],x[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=l,s.prototype.has=c,s.prototype.set=f,d.exports=s},99746:function(d,g,e){var r=e(34251),i=e(24968),l=e(28290),c=e(88068),f=e(54238);function s(h){var u=-1,a=h==null?0:h.length;for(this.clear();++u<a;){var x=h[u];this.set(x[0],x[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=l,s.prototype.has=c,s.prototype.set=f,d.exports=s},40164:function(d,g,e){var r=e(73893),i=e(33152),l=r(i,"Map");d.exports=l},52166:function(d,g,e){var r=e(35365),i=e(63765),l=e(12608),c=e(10203),f=e(11298);function s(h){var u=-1,a=h==null?0:h.length;for(this.clear();++u<a;){var x=h[u];this.set(x[0],x[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=l,s.prototype.has=c,s.prototype.set=f,d.exports=s},91866:function(d,g,e){var r=e(99746),i=e(31119),l=e(64399),c=e(81897),f=e(90558),s=e(64841);function h(u){var a=this.__data__=new r(u);this.size=a.size}h.prototype.clear=i,h.prototype.delete=l,h.prototype.get=c,h.prototype.has=f,h.prototype.set=s,d.exports=h},91869:function(d,g,e){var r=e(33152),i=r.Symbol;d.exports=i},77945:function(d,g,e){var r=e(33152),i=r.Uint8Array;d.exports=i},79628:function(d){function g(e,r,i){switch(i.length){case 0:return e.call(r);case 1:return e.call(r,i[0]);case 2:return e.call(r,i[0],i[1]);case 3:return e.call(r,i[0],i[1],i[2])}return e.apply(r,i)}d.exports=g},63333:function(d,g,e){var r=e(67943),i=e(13053),l=e(80744),c=e(57835),f=e(70213),s=e(18397),h=Object.prototype,u=h.hasOwnProperty;function a(x,p){var y=l(x),_=!y&&i(x),b=!y&&!_&&c(x),S=!y&&!_&&!b&&s(x),R=y||_||b||S,L=R?r(x.length,String):[],C=L.length;for(var D in x)(p||u.call(x,D))&&!(R&&(D=="length"||b&&(D=="offset"||D=="parent")||S&&(D=="buffer"||D=="byteLength"||D=="byteOffset")||f(D,C)))&&L.push(D);return L}d.exports=a},89135:function(d,g,e){var r=e(42813),i=e(43607);function l(c,f,s){(s!==void 0&&!i(c[f],s)||s===void 0&&!(f in c))&&r(c,f,s)}d.exports=l},60348:function(d,g,e){var r=e(42813),i=e(43607),l=Object.prototype,c=l.hasOwnProperty;function f(s,h,u){var a=s[h];(!(c.call(s,h)&&i(a,u))||u===void 0&&!(h in s))&&r(s,h,u)}d.exports=f},67971:function(d,g,e){var r=e(43607);function i(l,c){for(var f=l.length;f--;)if(r(l[f][0],c))return f;return-1}d.exports=i},42813:function(d,g,e){var r=e(35234);function i(l,c,f){c=="__proto__"&&r?r(l,c,{configurable:!0,enumerable:!0,value:f,writable:!0}):l[c]=f}d.exports=i},35024:function(d,g,e){var r=e(20816),i=Object.create,l=function(){function c(){}return function(f){if(!r(f))return{};if(i)return i(f);c.prototype=f;var s=new c;return c.prototype=void 0,s}}();d.exports=l},14018:function(d,g,e){var r=e(78010),i=r();d.exports=i},86756:function(d,g,e){var r=e(91869),i=e(72533),l=e(74702),c="[object Null]",f="[object Undefined]",s=r?r.toStringTag:void 0;function h(u){return u==null?u===void 0?f:c:s&&s in Object(u)?i(u):l(u)}d.exports=h},61506:function(d,g,e){var r=e(86756),i=e(93913),l="[object Arguments]";function c(f){return i(f)&&r(f)==l}d.exports=c},6367:function(d,g,e){var r=e(9363),i=e(89379),l=e(20816),c=e(63256),f=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,h=Function.prototype,u=Object.prototype,a=h.toString,x=u.hasOwnProperty,p=RegExp("^"+a.call(x).replace(f,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function y(_){if(!l(_)||i(_))return!1;var b=r(_)?p:s;return b.test(c(_))}d.exports=y},10766:function(d,g,e){var r=e(86756),i=e(11156),l=e(93913),c="[object Arguments]",f="[object Array]",s="[object Boolean]",h="[object Date]",u="[object Error]",a="[object Function]",x="[object Map]",p="[object Number]",y="[object Object]",_="[object RegExp]",b="[object Set]",S="[object String]",R="[object WeakMap]",L="[object ArrayBuffer]",C="[object DataView]",D="[object Float32Array]",B="[object Float64Array]",$="[object Int8Array]",U="[object Int16Array]",K="[object Int32Array]",V="[object Uint8Array]",G="[object Uint8ClampedArray]",oe="[object Uint16Array]",ae="[object Uint32Array]",le={};le[D]=le[B]=le[$]=le[U]=le[K]=le[V]=le[G]=le[oe]=le[ae]=!0,le[c]=le[f]=le[L]=le[s]=le[C]=le[h]=le[u]=le[a]=le[x]=le[p]=le[y]=le[_]=le[b]=le[S]=le[R]=!1;function q(J){return l(J)&&i(J.length)&&!!le[r(J)]}d.exports=q},33988:function(d,g,e){var r=e(20816),i=e(7975),l=e(97817),c=Object.prototype,f=c.hasOwnProperty;function s(h){if(!r(h))return l(h);var u=i(h),a=[];for(var x in h)x=="constructor"&&(u||!f.call(h,x))||a.push(x);return a}d.exports=s},50097:function(d,g,e){var r=e(91866),i=e(89135),l=e(14018),c=e(23585),f=e(20816),s=e(56730),h=e(47052);function u(a,x,p,y,_){a!==x&&l(x,function(b,S){if(_||(_=new r),f(b))c(a,x,S,p,u,y,_);else{var R=y?y(h(a,S),b,S+"",a,x,_):void 0;R===void 0&&(R=b),i(a,S,R)}},s)}d.exports=u},23585:function(d,g,e){var r=e(89135),i=e(32315),l=e(78358),c=e(47760),f=e(4084),s=e(13053),h=e(80744),u=e(41590),a=e(57835),x=e(9363),p=e(20816),y=e(19308),_=e(18397),b=e(47052),S=e(20480);function R(L,C,D,B,$,U,K){var V=b(L,D),G=b(C,D),oe=K.get(G);if(oe){r(L,D,oe);return}var ae=U?U(V,G,D+"",L,C,K):void 0,le=ae===void 0;if(le){var q=h(G),J=!q&&a(G),Y=!q&&!J&&_(G);ae=G,q||J||Y?h(V)?ae=V:u(V)?ae=c(V):J?(le=!1,ae=i(G,!0)):Y?(le=!1,ae=l(G,!0)):ae=[]:y(G)||s(G)?(ae=V,s(V)?ae=S(V):(!p(V)||x(V))&&(ae=f(G))):le=!1}le&&(K.set(G,ae),$(ae,G,B,U,K),K.delete(G)),r(L,D,ae)}d.exports=R},92918:function(d,g,e){var r=e(46962),i=e(19652),l=e(71152);function c(f,s){return l(i(f,s,r),f+"")}d.exports=c},63989:function(d,g,e){var r=e(13503),i=e(35234),l=e(46962),c=i?function(f,s){return i(f,"toString",{configurable:!0,enumerable:!1,value:r(s),writable:!0})}:l;d.exports=c},67943:function(d){function g(e,r){for(var i=-1,l=Array(e);++i<e;)l[i]=r(i);return l}d.exports=g},38342:function(d){function g(e){return function(r){return e(r)}}d.exports=g},20188:function(d,g,e){var r=e(77945);function i(l){var c=new l.constructor(l.byteLength);return new r(c).set(new r(l)),c}d.exports=i},32315:function(d,g,e){d=e.nmd(d);var r=e(33152),i=g&&!g.nodeType&&g,l=i&&!0&&d&&!d.nodeType&&d,c=l&&l.exports===i,f=c?r.Buffer:void 0,s=f?f.allocUnsafe:void 0;function h(u,a){if(a)return u.slice();var x=u.length,p=s?s(x):new u.constructor(x);return u.copy(p),p}d.exports=h},78358:function(d,g,e){var r=e(20188);function i(l,c){var f=c?r(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.length)}d.exports=i},47760:function(d){function g(e,r){var i=-1,l=e.length;for(r||(r=Array(l));++i<l;)r[i]=e[i];return r}d.exports=g},95378:function(d,g,e){var r=e(60348),i=e(42813);function l(c,f,s,h){var u=!s;s||(s={});for(var a=-1,x=f.length;++a<x;){var p=f[a],y=h?h(s[p],c[p],p,s,c):void 0;y===void 0&&(y=c[p]),u?i(s,p,y):r(s,p,y)}return s}d.exports=l},64218:function(d,g,e){var r=e(33152),i=r["__core-js_shared__"];d.exports=i},63323:function(d,g,e){var r=e(92918),i=e(8138);function l(c){return r(function(f,s){var h=-1,u=s.length,a=u>1?s[u-1]:void 0,x=u>2?s[2]:void 0;for(a=c.length>3&&typeof a=="function"?(u--,a):void 0,x&&i(s[0],s[1],x)&&(a=u<3?void 0:a,u=1),f=Object(f);++h<u;){var p=s[h];p&&c(f,p,h,a)}return f})}d.exports=l},78010:function(d){function g(e){return function(r,i,l){for(var c=-1,f=Object(r),s=l(r),h=s.length;h--;){var u=s[e?h:++c];if(i(f[u],u,f)===!1)break}return r}}d.exports=g},35234:function(d,g,e){var r=e(73893),i=function(){try{var l=r(Object,"defineProperty");return l({},"",{}),l}catch(c){}}();d.exports=i},37675:function(d,g,e){var r=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g;d.exports=r},89819:function(d,g,e){var r=e(94358);function i(l,c){var f=l.__data__;return r(c)?f[typeof c=="string"?"string":"hash"]:f.map}d.exports=i},73893:function(d,g,e){var r=e(6367),i=e(49966);function l(c,f){var s=i(c,f);return r(s)?s:void 0}d.exports=l},49217:function(d,g,e){var r=e(31030),i=r(Object.getPrototypeOf,Object);d.exports=i},72533:function(d,g,e){var r=e(91869),i=Object.prototype,l=i.hasOwnProperty,c=i.toString,f=r?r.toStringTag:void 0;function s(h){var u=l.call(h,f),a=h[f];try{h[f]=void 0;var x=!0}catch(y){}var p=c.call(h);return x&&(u?h[f]=a:delete h[f]),p}d.exports=s},49966:function(d){function g(e,r){return e==null?void 0:e[r]}d.exports=g},64696:function(d,g,e){var r=e(65294);function i(){this.__data__=r?r(null):{},this.size=0}d.exports=i},16824:function(d){function g(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}d.exports=g},23476:function(d,g,e){var r=e(65294),i="__lodash_hash_undefined__",l=Object.prototype,c=l.hasOwnProperty;function f(s){var h=this.__data__;if(r){var u=h[s];return u===i?void 0:u}return c.call(h,s)?h[s]:void 0}d.exports=f},63122:function(d,g,e){var r=e(65294),i=Object.prototype,l=i.hasOwnProperty;function c(f){var s=this.__data__;return r?s[f]!==void 0:l.call(s,f)}d.exports=c},37279:function(d,g,e){var r=e(65294),i="__lodash_hash_undefined__";function l(c,f){var s=this.__data__;return this.size+=this.has(c)?0:1,s[c]=r&&f===void 0?i:f,this}d.exports=l},4084:function(d,g,e){var r=e(35024),i=e(49217),l=e(7975);function c(f){return typeof f.constructor=="function"&&!l(f)?r(i(f)):{}}d.exports=c},70213:function(d){var g=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function r(i,l){var c=typeof i;return l=l==null?g:l,!!l&&(c=="number"||c!="symbol"&&e.test(i))&&i>-1&&i%1==0&&i<l}d.exports=r},8138:function(d,g,e){var r=e(43607),i=e(24665),l=e(70213),c=e(20816);function f(s,h,u){if(!c(u))return!1;var a=typeof h;return(a=="number"?i(u)&&l(h,u.length):a=="string"&&h in u)?r(u[h],s):!1}d.exports=f},94358:function(d){function g(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}d.exports=g},89379:function(d,g,e){var r=e(64218),i=function(){var c=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}();function l(c){return!!i&&i in c}d.exports=l},7975:function(d){var g=Object.prototype;function e(r){var i=r&&r.constructor,l=typeof i=="function"&&i.prototype||g;return r===l}d.exports=e},34251:function(d){function g(){this.__data__=[],this.size=0}d.exports=g},24968:function(d,g,e){var r=e(67971),i=Array.prototype,l=i.splice;function c(f){var s=this.__data__,h=r(s,f);if(h<0)return!1;var u=s.length-1;return h==u?s.pop():l.call(s,h,1),--this.size,!0}d.exports=c},28290:function(d,g,e){var r=e(67971);function i(l){var c=this.__data__,f=r(c,l);return f<0?void 0:c[f][1]}d.exports=i},88068:function(d,g,e){var r=e(67971);function i(l){return r(this.__data__,l)>-1}d.exports=i},54238:function(d,g,e){var r=e(67971);function i(l,c){var f=this.__data__,s=r(f,l);return s<0?(++this.size,f.push([l,c])):f[s][1]=c,this}d.exports=i},35365:function(d,g,e){var r=e(76414),i=e(99746),l=e(40164);function c(){this.size=0,this.__data__={hash:new r,map:new(l||i),string:new r}}d.exports=c},63765:function(d,g,e){var r=e(89819);function i(l){var c=r(this,l).delete(l);return this.size-=c?1:0,c}d.exports=i},12608:function(d,g,e){var r=e(89819);function i(l){return r(this,l).get(l)}d.exports=i},10203:function(d,g,e){var r=e(89819);function i(l){return r(this,l).has(l)}d.exports=i},11298:function(d,g,e){var r=e(89819);function i(l,c){var f=r(this,l),s=f.size;return f.set(l,c),this.size+=f.size==s?0:1,this}d.exports=i},65294:function(d,g,e){var r=e(73893),i=r(Object,"create");d.exports=i},97817:function(d){function g(e){var r=[];if(e!=null)for(var i in Object(e))r.push(i);return r}d.exports=g},52495:function(d,g,e){d=e.nmd(d);var r=e(37675),i=g&&!g.nodeType&&g,l=i&&!0&&d&&!d.nodeType&&d,c=l&&l.exports===i,f=c&&r.process,s=function(){try{var h=l&&l.require&&l.require("util").types;return h||f&&f.binding&&f.binding("util")}catch(u){}}();d.exports=s},74702:function(d){var g=Object.prototype,e=g.toString;function r(i){return e.call(i)}d.exports=r},31030:function(d){function g(e,r){return function(i){return e(r(i))}}d.exports=g},19652:function(d,g,e){var r=e(79628),i=Math.max;function l(c,f,s){return f=i(f===void 0?c.length-1:f,0),function(){for(var h=arguments,u=-1,a=i(h.length-f,0),x=Array(a);++u<a;)x[u]=h[f+u];u=-1;for(var p=Array(f+1);++u<f;)p[u]=h[u];return p[f]=s(x),r(c,this,p)}}d.exports=l},33152:function(d,g,e){var r=e(37675),i=typeof self=="object"&&self&&self.Object===Object&&self,l=r||i||Function("return this")();d.exports=l},47052:function(d){function g(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}d.exports=g},71152:function(d,g,e){var r=e(63989),i=e(12345),l=i(r);d.exports=l},12345:function(d){var g=800,e=16,r=Date.now;function i(l){var c=0,f=0;return function(){var s=r(),h=e-(s-f);if(f=s,h>0){if(++c>=g)return arguments[0]}else c=0;return l.apply(void 0,arguments)}}d.exports=i},31119:function(d,g,e){var r=e(99746);function i(){this.__data__=new r,this.size=0}d.exports=i},64399:function(d){function g(e){var r=this.__data__,i=r.delete(e);return this.size=r.size,i}d.exports=g},81897:function(d){function g(e){return this.__data__.get(e)}d.exports=g},90558:function(d){function g(e){return this.__data__.has(e)}d.exports=g},64841:function(d,g,e){var r=e(99746),i=e(40164),l=e(52166),c=200;function f(s,h){var u=this.__data__;if(u instanceof r){var a=u.__data__;if(!i||a.length<c-1)return a.push([s,h]),this.size=++u.size,this;u=this.__data__=new l(a)}return u.set(s,h),this.size=u.size,this}d.exports=f},63256:function(d){var g=Function.prototype,e=g.toString;function r(i){if(i!=null){try{return e.call(i)}catch(l){}try{return i+""}catch(l){}}return""}d.exports=r},13503:function(d){function g(e){return function(){return e}}d.exports=g},43607:function(d){function g(e,r){return e===r||e!==e&&r!==r}d.exports=g},46962:function(d){function g(e){return e}d.exports=g},13053:function(d,g,e){var r=e(61506),i=e(93913),l=Object.prototype,c=l.hasOwnProperty,f=l.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(h){return i(h)&&c.call(h,"callee")&&!f.call(h,"callee")};d.exports=s},80744:function(d){var g=Array.isArray;d.exports=g},24665:function(d,g,e){var r=e(9363),i=e(11156);function l(c){return c!=null&&i(c.length)&&!r(c)}d.exports=l},41590:function(d,g,e){var r=e(24665),i=e(93913);function l(c){return i(c)&&r(c)}d.exports=l},57835:function(d,g,e){d=e.nmd(d);var r=e(33152),i=e(55950),l=g&&!g.nodeType&&g,c=l&&!0&&d&&!d.nodeType&&d,f=c&&c.exports===l,s=f?r.Buffer:void 0,h=s?s.isBuffer:void 0,u=h||i;d.exports=u},9363:function(d,g,e){var r=e(86756),i=e(20816),l="[object AsyncFunction]",c="[object Function]",f="[object GeneratorFunction]",s="[object Proxy]";function h(u){if(!i(u))return!1;var a=r(u);return a==c||a==f||a==l||a==s}d.exports=h},11156:function(d){var g=9007199254740991;function e(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=g}d.exports=e},20816:function(d){function g(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}d.exports=g},93913:function(d){function g(e){return e!=null&&typeof e=="object"}d.exports=g},19308:function(d,g,e){var r=e(86756),i=e(49217),l=e(93913),c="[object Object]",f=Function.prototype,s=Object.prototype,h=f.toString,u=s.hasOwnProperty,a=h.call(Object);function x(p){if(!l(p)||r(p)!=c)return!1;var y=i(p);if(y===null)return!0;var _=u.call(y,"constructor")&&y.constructor;return typeof _=="function"&&_ instanceof _&&h.call(_)==a}d.exports=x},18397:function(d,g,e){var r=e(10766),i=e(38342),l=e(52495),c=l&&l.isTypedArray,f=c?i(c):r;d.exports=f},56730:function(d,g,e){var r=e(63333),i=e(33988),l=e(24665);function c(f){return l(f)?r(f,!0):i(f)}d.exports=c},89392:function(d,g,e){d=e.nmd(d);var r;(function(){var i,l="4.17.21",c=200,f="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",h="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",a=500,x="__lodash_placeholder__",p=1,y=2,_=4,b=1,S=2,R=1,L=2,C=4,D=8,B=16,$=32,U=64,K=128,V=256,G=512,oe=30,ae="...",le=800,q=16,J=1,Y=2,ue=3,ne=1/0,ee=9007199254740991,ie=17976931348623157e292,F=NaN,M=4294967295,Q=M-1,de=M>>>1,we=[["ary",K],["bind",R],["bindKey",L],["curry",D],["curryRight",B],["flip",G],["partial",$],["partialRight",U],["rearg",V]],Ce="[object Arguments]",je="[object Array]",Fe="[object AsyncFunction]",Ft="[object Boolean]",_t="[object Date]",Pt="[object DOMException]",qt="[object Error]",er="[object Function]",Jt="[object GeneratorFunction]",Xe="[object Map]",It="[object Number]",zt="[object Null]",st="[object Object]",bt="[object Promise]",ht="[object Proxy]",Je="[object RegExp]",Ue="[object Set]",ge="[object String]",Ae="[object Symbol]",Me="[object Undefined]",$e="[object WeakMap]",He="[object WeakSet]",nt="[object ArrayBuffer]",ct="[object DataView]",Vt="[object Float32Array]",Wt="[object Float64Array]",De="[object Int8Array]",qe="[object Int16Array]",Gt="[object Int32Array]",kt="[object Uint8Array]",Ht="[object Uint8ClampedArray]",$t="[object Uint16Array]",Ct="[object Uint32Array]",Yt=/\b__p \+= '';/g,We=/\b(__p \+=) '' \+/g,fe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_e=/&(?:amp|lt|gt|quot|#39);/g,Ot=/[&<>"']/g,Pe=RegExp(_e.source),dt=RegExp(Ot.source),Zt=/<%-([\s\S]+?)%>/g,Tt=/<%([\s\S]+?)%>/g,ke=/<%=([\s\S]+?)%>/g,St=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,be=/^\w*$/,Ke=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gt=/[\\^$.*+?()[\]{}|]/g,Rt=RegExp(gt.source),Be=/^\s+/,kr=/\s/,At=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Kr=/\{\n\/\* \[wrapped with (.+)\] \*/,qr=/,? & /,Ar=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Br=/[()=,{}\[\]\/\s]/,_r=/\\(\\)?/g,Ur=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sn=/\w*$/,cn=/^[-+]0x[0-9a-f]+$/i,or=/^0b[01]+$/i,Lt=/^\[object .+?Constructor\]$/,vt=/^0o[0-7]+$/i,yt=/^(?:0|[1-9]\d*)$/,jt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Cr=/($^)/,gr=/['\n\r\u2028\u2029\\]/g,ot="\\ud800-\\udfff",Mr="\\u0300-\\u036f",yn="\\ufe20-\\ufe2f",Zn="\\u20d0-\\u20ff",mr=Mr+yn+Zn,tn="\\u2700-\\u27bf",hn="a-z\\xdf-\\xf6\\xf8-\\xff",Fn="\\xac\\xb1\\xd7\\xf7",ti="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",jn="\\u2000-\\u206f",Zi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",xi="A-Z\\xc0-\\xd6\\xd8-\\xde",Si="\\ufe0e\\ufe0f",Ei=Fn+ti+jn+Zi,mi="['\u2019]",Xi="["+ot+"]",qn="["+Ei+"]",Yi="["+mr+"]",wt="\\d+",ut="["+tn+"]",Jn="["+hn+"]",Ai="[^"+ot+Ei+wt+tn+hn+xi+"]",ei="\\ud83c[\\udffb-\\udfff]",Gi="(?:"+Yi+"|"+ei+")",vi="[^"+ot+"]",si="(?:\\ud83c[\\udde6-\\uddff]){2}",En="[\\ud800-\\udbff][\\udc00-\\udfff]",tr="["+xi+"]",mt="\\u200d",rt="(?:"+Jn+"|"+Ai+")",Dt="(?:"+tr+"|"+Ai+")",pt="(?:"+mi+"(?:d|ll|m|re|s|t|ve))?",lr="(?:"+mi+"(?:D|LL|M|RE|S|T|VE))?",fr=Gi+"?",Ir="["+Si+"]?",Hr="(?:"+mt+"(?:"+[vi,si,En].join("|")+")"+Ir+fr+")*",Ze="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",et="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ee=Ir+fr+Hr,it="(?:"+[ut,si,En].join("|")+")"+Ee,ir="(?:"+[vi+Yi+"?",Yi,si,En,Xi].join("|")+")",Dr=RegExp(mi,"g"),Er=RegExp(Yi,"g"),Or=RegExp(ei+"(?="+ei+")|"+ir+Ee,"g"),$r=RegExp([tr+"?"+Jn+"+"+pt+"(?="+[qn,tr,"$"].join("|")+")",Dt+"+"+lr+"(?="+[qn,tr+rt,"$"].join("|")+")",tr+"?"+rt+"+"+pt,tr+"+"+lr,et,Ze,wt,it].join("|"),"g"),bn=RegExp("["+mt+ot+mr+Si+"]"),Pr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,un=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rn=-1,ln={};ln[Vt]=ln[Wt]=ln[De]=ln[qe]=ln[Gt]=ln[kt]=ln[Ht]=ln[$t]=ln[Ct]=!0,ln[Ce]=ln[je]=ln[nt]=ln[Ft]=ln[ct]=ln[_t]=ln[qt]=ln[er]=ln[Xe]=ln[It]=ln[st]=ln[Je]=ln[Ue]=ln[ge]=ln[$e]=!1;var An={};An[Ce]=An[je]=An[nt]=An[ct]=An[Ft]=An[_t]=An[Vt]=An[Wt]=An[De]=An[qe]=An[Gt]=An[Xe]=An[It]=An[st]=An[Je]=An[Ue]=An[ge]=An[Ae]=An[kt]=An[Ht]=An[$t]=An[Ct]=!0,An[qt]=An[er]=An[$e]=!1;var pa={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Pi={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},gi={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},pn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ui=parseFloat,Ni=parseInt,la=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,xs=typeof self=="object"&&self&&self.Object===Object&&self,Pa=la||xs||Function("return this")(),Na=g&&!g.nodeType&&g,Is=Na&&!0&&d&&!d.nodeType&&d,$a=Is&&Is.exports===Na,hs=$a&&la.process,oa=function(){try{var ur=Is&&Is.require&&Is.require("util").types;return ur||hs&&hs.binding&&hs.binding("util")}catch(Fr){}}(),yi=oa&&oa.isArrayBuffer,Ga=oa&&oa.isDate,Ds=oa&&oa.isMap,$i=oa&&oa.isRegExp,ps=oa&&oa.isSet,Co=oa&&oa.isTypedArray;function La(ur,Fr,xr){switch(xr.length){case 0:return ur.call(Fr);case 1:return ur.call(Fr,xr[0]);case 2:return ur.call(Fr,xr[0],xr[1]);case 3:return ur.call(Fr,xr[0],xr[1],xr[2])}return ur.apply(Fr,xr)}function _s(ur,Fr,xr,mn){for(var Hn=-1,ft=ur==null?0:ur.length;++Hn<ft;){var Pn=ur[Hn];Fr(mn,Pn,xr(Pn),ur)}return mn}function ji(ur,Fr){for(var xr=-1,mn=ur==null?0:ur.length;++xr<mn&&Fr(ur[xr],xr,ur)!==!1;);return ur}function Gs(ur,Fr){for(var xr=ur==null?0:ur.length;xr--&&Fr(ur[xr],xr,ur)!==!1;);return ur}function Rn(ur,Fr){for(var xr=-1,mn=ur==null?0:ur.length;++xr<mn;)if(!Fr(ur[xr],xr,ur))return!1;return!0}function ja(ur,Fr){for(var xr=-1,mn=ur==null?0:ur.length,Hn=0,ft=[];++xr<mn;){var Pn=ur[xr];Fr(Pn,xr,ur)&&(ft[Hn++]=Pn)}return ft}function ns(ur,Fr){var xr=ur==null?0:ur.length;return!!xr&&cs(ur,Fr,0)>-1}function ls(ur,Fr,xr){for(var mn=-1,Hn=ur==null?0:ur.length;++mn<Hn;)if(xr(Fr,ur[mn]))return!0;return!1}function Vi(ur,Fr){for(var xr=-1,mn=ur==null?0:ur.length,Hn=Array(mn);++xr<mn;)Hn[xr]=Fr(ur[xr],xr,ur);return Hn}function Ia(ur,Fr){for(var xr=-1,mn=Fr.length,Hn=ur.length;++xr<mn;)ur[Hn+xr]=Fr[xr];return ur}function Da(ur,Fr,xr,mn){var Hn=-1,ft=ur==null?0:ur.length;for(mn&&ft&&(xr=ur[++Hn]);++Hn<ft;)xr=Fr(xr,ur[Hn],Hn,ur);return xr}function ms(ur,Fr,xr,mn){var Hn=ur==null?0:ur.length;for(mn&&Hn&&(xr=ur[--Hn]);Hn--;)xr=Fr(xr,ur[Hn],Hn,ur);return xr}function Bs(ur,Fr){for(var xr=-1,mn=ur==null?0:ur.length;++xr<mn;)if(Fr(ur[xr],xr,ur))return!0;return!1}var _o=hi("length");function To(ur){return ur.split("")}function Vo(ur){return ur.match(Ar)||[]}function uo(ur,Fr,xr){var mn;return xr(ur,function(Hn,ft,Pn){if(Fr(Hn,ft,Pn))return mn=ft,!1}),mn}function ca(ur,Fr,xr,mn){for(var Hn=ur.length,ft=xr+(mn?1:-1);mn?ft--:++ft<Hn;)if(Fr(ur[ft],ft,ur))return ft;return-1}function cs(ur,Fr,xr){return Fr===Fr?Fo(ur,Fr,xr):ca(ur,vo,xr)}function mo(ur,Fr,xr,mn){for(var Hn=xr-1,ft=ur.length;++Hn<ft;)if(mn(ur[Hn],Fr))return Hn;return-1}function vo(ur){return ur!==ur}function go(ur,Fr){var xr=ur==null?0:ur.length;return xr?Xa(ur,Fr)/xr:F}function hi(ur){return function(Fr){return Fr==null?i:Fr[ur]}}function oi(ur){return function(Fr){return ur==null?i:ur[Fr]}}function Fa(ur,Fr,xr,mn,Hn){return Hn(ur,function(ft,Pn,Vn){xr=mn?(mn=!1,ft):Fr(xr,ft,Pn,Vn)}),xr}function Va(ur,Fr){var xr=ur.length;for(ur.sort(Fr);xr--;)ur[xr]=ur[xr].value;return ur}function Xa(ur,Fr){for(var xr,mn=-1,Hn=ur.length;++mn<Hn;){var ft=Fr(ur[mn]);ft!==i&&(xr=xr===i?ft:xr+ft)}return xr}function lo(ur,Fr){for(var xr=-1,mn=Array(ur);++xr<ur;)mn[xr]=Fr(xr);return mn}function co(ur,Fr){return Vi(Fr,function(xr){return[xr,ur[xr]]})}function Po(ur){return ur&&ur.slice(0,vr(ur)+1).replace(Be,"")}function Qa(ur){return function(Fr){return ur(Fr)}}function Lo(ur,Fr){return Vi(Fr,function(xr){return ur[xr]})}function yo(ur,Fr){return ur.has(Fr)}function Ko(ur,Fr){for(var xr=-1,mn=ur.length;++xr<mn&&cs(Fr,ur[xr],0)>-1;);return xr}function Tu(ur,Fr){for(var xr=ur.length;xr--&&cs(Fr,ur[xr],0)>-1;);return xr}function _u(ur,Fr){for(var xr=ur.length,mn=0;xr--;)ur[xr]===Fr&&++mn;return mn}var fo=oi(pa),fs=oi(Pi);function zu(ur){return"\\"+pn[ur]}function Mo(ur,Fr){return ur==null?i:ur[Fr]}function Io(ur){return bn.test(ur)}function Us(ur){return Pr.test(ur)}function ou(ur){for(var Fr,xr=[];!(Fr=ur.next()).done;)xr.push(Fr.value);return xr}function jo(ur){var Fr=-1,xr=Array(ur.size);return ur.forEach(function(mn,Hn){xr[++Fr]=[Hn,mn]}),xr}function Do(ur,Fr){return function(xr){return ur(Fr(xr))}}function Ls(ur,Fr){for(var xr=-1,mn=ur.length,Hn=0,ft=[];++xr<mn;){var Pn=ur[xr];(Pn===Fr||Pn===x)&&(ur[xr]=x,ft[Hn++]=xr)}return ft}function bo(ur){var Fr=-1,xr=Array(ur.size);return ur.forEach(function(mn){xr[++Fr]=mn}),xr}function mu(ur){var Fr=-1,xr=Array(ur.size);return ur.forEach(function(mn){xr[++Fr]=[mn,mn]}),xr}function Fo(ur,Fr,xr){for(var mn=xr-1,Hn=ur.length;++mn<Hn;)if(ur[mn]===Fr)return mn;return-1}function Qt(ur,Fr,xr){for(var mn=xr+1;mn--;)if(ur[mn]===Fr)return mn;return mn}function cr(ur){return Io(ur)?xn(ur):_o(ur)}function sr(ur){return Io(ur)?Sn(ur):To(ur)}function vr(ur){for(var Fr=ur.length;Fr--&&kr.test(ur.charAt(Fr)););return Fr}var wr=oi(gi);function xn(ur){for(var Fr=Or.lastIndex=0;Or.test(ur);)++Fr;return Fr}function Sn(ur){return ur.match(Or)||[]}function Un(ur){return ur.match($r)||[]}var Ln=function ur(Fr){Fr=Fr==null?Pa:Gn.defaults(Pa.Object(),Fr,Gn.pick(Pa,un));var xr=Fr.Array,mn=Fr.Date,Hn=Fr.Error,ft=Fr.Function,Pn=Fr.Math,Vn=Fr.Object,li=Fr.RegExp,Qi=Fr.String,Nr=Fr.TypeError,Li=xr.prototype,ba=ft.prototype,zr=Vn.prototype,na=Fr["__core-js_shared__"],Ss=ba.toString,ci=zr.hasOwnProperty,Vs=0,xo=function(){var w=/[^.]+$/.exec(na&&na.keys&&na.keys.IE_PROTO||"");return w?"Symbol(src)_1."+w:""}(),Os=zr.toString,xa=Ss.call(Vn),ds=Pa._,ks=li("^"+Ss.call(ci).replace(gt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),In=$a?Fr.Buffer:i,gs=Fr.Symbol,Ns=Fr.Uint8Array,Ye=In?In.allocUnsafe:i,Qe=Do(Vn.getPrototypeOf,Vn),Mt=Vn.create,Kt=zr.propertyIsEnumerable,hr=Li.splice,Rr=gs?gs.isConcatSpreadable:i,jr=gs?gs.iterator:i,vn=gs?gs.toStringTag:i,nn=function(){try{var w=Oa(Vn,"defineProperty");return w({},"",{}),w}catch(N){}}(),gn=Fr.clearTimeout!==Pa.clearTimeout&&Fr.clearTimeout,Qn=mn&&mn.now!==Pa.Date.now&&mn.now,ni=Fr.setTimeout!==Pa.setTimeout&&Fr.setTimeout,_i=Pn.ceil,Ii=Pn.floor,Hi=Vn.getOwnPropertySymbols,Mi=In?In.isBuffer:i,wi=Fr.isFinite,ma=Li.join,Ci=Do(Vn.keys,Vn),bi=Pn.max,fa=Pn.min,Ks=mn.now,Es=Fr.parseInt,Wi=Pn.random,ka=Li.reverse,ea=Oa(Fr,"DataView"),ki=Oa(Fr,"Map"),va=Oa(Fr,"Promise"),Ba=Oa(Fr,"Set"),Ka=Oa(Fr,"WeakMap"),eo=Oa(Vn,"create"),qa=Ka&&new Ka,so={},Ya=ua(ea),Ys=ua(ki),Ms=ua(va),da=ua(Ba),Ua=ua(Ka),As=gs?gs.prototype:i,ga=As?As.valueOf:i,ye=As?As.toString:i;function Se(w){if(Jo(w)&&!Wa(w)&&!(w instanceof Qr)){if(w instanceof br)return w;if(ci.call(w,"__wrapped__"))return vs(w)}return new br(w)}var yr=function(){function w(){}return function(N){if(!Go(N))return{};if(Mt)return Mt(N);w.prototype=N;var he=new w;return w.prototype=i,he}}();function Jr(){}function br(w,N){this.__wrapped__=w,this.__actions__=[],this.__chain__=!!N,this.__index__=0,this.__values__=i}Se.templateSettings={escape:Zt,evaluate:Tt,interpolate:ke,variable:"",imports:{_:Se}},Se.prototype=Jr.prototype,Se.prototype.constructor=Se,br.prototype=yr(Jr.prototype),br.prototype.constructor=br;function Qr(w){this.__wrapped__=w,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=M,this.__views__=[]}function Cn(){var w=new Qr(this.__wrapped__);return w.__actions__=$o(this.__actions__),w.__dir__=this.__dir__,w.__filtered__=this.__filtered__,w.__iteratees__=$o(this.__iteratees__),w.__takeCount__=this.__takeCount__,w.__views__=$o(this.__views__),w}function ri(){if(this.__filtered__){var w=new Qr(this);w.__dir__=-1,w.__filtered__=!0}else w=this.clone(),w.__dir__*=-1;return w}function Fi(){var w=this.__wrapped__.value(),N=this.__dir__,he=Wa(w),Ne=N<0,Et=he?w.length:0,Xt=kc(0,Et,this.__views__),pr=Xt.start,Lr=Xt.end,Yr=Lr-pr,On=Ne?Lr:pr-1,kn=this.__iteratees__,zn=kn.length,Ti=0,ra=fa(Yr,this.__takeCount__);if(!he||!Ne&&Et==Yr&&ra==Yr)return Wc(w,this.__actions__);var Ca=[];e:for(;Yr--&&Ti<ra;){On+=N;for(var us=-1,Ta=w[On];++us<zn;){var bs=kn[us],Ps=bs.iteratee,ac=bs.type,Sl=Ps(Ta);if(ac==Y)Ta=Sl;else if(!Sl){if(ac==J)continue e;break e}}Ca[Ti++]=Ta}return Ca}Qr.prototype=yr(Jr.prototype),Qr.prototype.constructor=Qr;function Mn(w){var N=-1,he=w==null?0:w.length;for(this.clear();++N<he;){var Ne=w[N];this.set(Ne[0],Ne[1])}}function Dn(){this.__data__=eo?eo(null):{},this.size=0}function Bn(w){var N=this.has(w)&&delete this.__data__[w];return this.size-=N?1:0,N}function ia(w){var N=this.__data__;if(eo){var he=N[w];return he===u?i:he}return ci.call(N,w)?N[w]:i}function Ui(w){var N=this.__data__;return eo?N[w]!==i:ci.call(N,w)}function ho(w,N){var he=this.__data__;return this.size+=this.has(w)?0:1,he[w]=eo&&N===i?u:N,this}Mn.prototype.clear=Dn,Mn.prototype.delete=Bn,Mn.prototype.get=ia,Mn.prototype.has=Ui,Mn.prototype.set=ho;function Xs(w){var N=-1,he=w==null?0:w.length;for(this.clear();++N<he;){var Ne=w[N];this.set(Ne[0],Ne[1])}}function eu(){this.__data__=[],this.size=0}function hl(w){var N=this.__data__,he=is(N,w);if(he<0)return!1;var Ne=N.length-1;return he==Ne?N.pop():hr.call(N,he,1),--this.size,!0}function qu(w){var N=this.__data__,he=is(N,w);return he<0?i:N[he][1]}function vu(w){return is(this.__data__,w)>-1}function Uc(w,N){var he=this.__data__,Ne=is(he,w);return Ne<0?(++this.size,he.push([w,N])):he[Ne][1]=N,this}Xs.prototype.clear=eu,Xs.prototype.delete=hl,Xs.prototype.get=qu,Xs.prototype.has=vu,Xs.prototype.set=Uc;function Pu(w){var N=-1,he=w==null?0:w.length;for(this.clear();++N<he;){var Ne=w[N];this.set(Ne[0],Ne[1])}}function Ve(){this.size=0,this.__data__={hash:new Mn,map:new(ki||Xs),string:new Mn}}function W(w){var N=Di(this,w).delete(w);return this.size-=N?1:0,N}function X(w){return Di(this,w).get(w)}function te(w){return Di(this,w).has(w)}function pe(w,N){var he=Di(this,w),Ne=he.size;return he.set(w,N),this.size+=he.size==Ne?0:1,this}Pu.prototype.clear=Ve,Pu.prototype.delete=W,Pu.prototype.get=X,Pu.prototype.has=te,Pu.prototype.set=pe;function Te(w){var N=-1,he=w==null?0:w.length;for(this.__data__=new Pu;++N<he;)this.add(w[N])}function Ge(w){return this.__data__.set(w,u),this}function xt(w){return this.__data__.has(w)}Te.prototype.add=Te.prototype.push=Ge,Te.prototype.has=xt;function Bt(w){var N=this.__data__=new Xs(w);this.size=N.size}function nr(){this.__data__=new Xs,this.size=0}function Tr(w){var N=this.__data__,he=N.delete(w);return this.size=N.size,he}function Wr(w){return this.__data__.get(w)}function an(w){return this.__data__.has(w)}function wn(w,N){var he=this.__data__;if(he instanceof Xs){var Ne=he.__data__;if(!ki||Ne.length<c-1)return Ne.push([w,N]),this.size=++he.size,this;he=this.__data__=new Pu(Ne)}return he.set(w,N),this.size=he.size,this}Bt.prototype.clear=nr,Bt.prototype.delete=Tr,Bt.prototype.get=Wr,Bt.prototype.has=an,Bt.prototype.set=wn;function Nn(w,N){var he=Wa(w),Ne=!he&&Lf(w),Et=!he&&!Ne&&If(w),Xt=!he&&!Ne&&!Et&&zf(w),pr=he||Ne||Et||Xt,Lr=pr?lo(w.length,Qi):[],Yr=Lr.length;for(var On in w)(N||ci.call(w,On))&&!(pr&&(On=="length"||Et&&(On=="offset"||On=="parent")||Xt&&(On=="buffer"||On=="byteLength"||On=="byteOffset")||Ro(On,Yr)))&&Lr.push(On);return Lr}function Wn(w){var N=w.length;return N?w[xu(0,N-1)]:i}function pi(w,N){return Bi($o(w),Rs(N,0,w.length))}function Sr(w){return Bi($o(w))}function aa(w,N,he){(he!==i&&!$c(w[N],he)||he===i&&!(N in w))&&Aa(w,N,he)}function sa(w,N,he){var Ne=w[N];(!(ci.call(w,N)&&$c(Ne,he))||he===i&&!(N in w))&&Aa(w,N,he)}function is(w,N){for(var he=w.length;he--;)if($c(w[he][0],N))return he;return-1}function Za(w,N,he,Ne){return Eo(w,function(Et,Xt,pr){N(Ne,Et,he(Et),pr)}),Ne}function ws(w,N){return w&&fu(N,Uu(N),w)}function as(w,N){return w&&fu(N,jl(N),w)}function Aa(w,N,he){N=="__proto__"&&nn?nn(w,N,{configurable:!0,enumerable:!0,value:he,writable:!0}):w[N]=he}function Fs(w,N){for(var he=-1,Ne=N.length,Et=xr(Ne),Xt=w==null;++he<Ne;)Et[he]=Xt?i:sd(w,N[he]);return Et}function Rs(w,N,he){return w===w&&(he!==i&&(w=w<=he?w:he),N!==i&&(w=w>=N?w:N)),w}function fi(w,N,he,Ne,Et,Xt){var pr,Lr=N&p,Yr=N&y,On=N&_;if(he&&(pr=Et?he(w,Ne,Et,Xt):he(w)),pr!==i)return pr;if(!Go(w))return w;var kn=Wa(w);if(kn){if(pr=bc(w),!Lr)return $o(w,pr)}else{var zn=ys(w),Ti=zn==er||zn==Jt;if(If(w))return ff(w,Lr);if(zn==st||zn==Ce||Ti&&!Et){if(pr=Yr||Ti?{}:Nu(w),!Lr)return Yr?Lu(w,as(pr,w)):Yl(w,ws(pr,w))}else{if(!An[zn])return Et?w:{};pr=Oi(w,zn,Lr)}}Xt||(Xt=new Bt);var ra=Xt.get(w);if(ra)return ra;Xt.set(w,pr),gd(w)?w.forEach(function(Ta){pr.add(fi(Ta,N,he,Ta,w,Xt))}):md(w)&&w.forEach(function(Ta,bs){pr.set(bs,fi(Ta,N,he,bs,w,Xt))});var Ca=On?Yr?me:k:Yr?jl:Uu,us=kn?i:Ca(w);return ji(us||w,function(Ta,bs){us&&(bs=Ta,Ta=w[bs]),sa(pr,bs,fi(Ta,N,he,bs,w,Xt))}),pr}function Qs(w){var N=Uu(w);return function(he){return po(he,w,N)}}function po(w,N,he){var Ne=he.length;if(w==null)return!Ne;for(w=Vn(w);Ne--;){var Et=he[Ne],Xt=N[Et],pr=w[Et];if(pr===i&&!(Et in w)||!Xt(pr))return!1}return!0}function Oo(w,N,he){if(typeof w!="function")throw new Nr(s);return nc(function(){w.apply(i,he)},N)}function za(w,N,he,Ne){var Et=-1,Xt=ns,pr=!0,Lr=w.length,Yr=[],On=N.length;if(!Lr)return Yr;he&&(N=Vi(N,Qa(he))),Ne?(Xt=ls,pr=!1):N.length>=c&&(Xt=yo,pr=!1,N=new Te(N));e:for(;++Et<Lr;){var kn=w[Et],zn=he==null?kn:he(kn);if(kn=Ne||kn!==0?kn:0,pr&&zn===zn){for(var Ti=On;Ti--;)if(N[Ti]===zn)continue e;Yr.push(kn)}else Xt(N,zn,Ne)||Yr.push(kn)}return Yr}var Eo=Su(wo),zs=Su(tl,!0);function Al(w,N){var he=!0;return Eo(w,function(Ne,Et,Xt){return he=!!N(Ne,Et,Xt),he}),he}function Ju(w,N,he){for(var Ne=-1,Et=w.length;++Ne<Et;){var Xt=w[Ne],pr=N(Xt);if(pr!=null&&(Lr===i?pr===pr&&!ic(pr):he(pr,Lr)))var Lr=pr,Yr=Xt}return Yr}function el(w,N,he,Ne){var Et=w.length;for(he=rs(he),he<0&&(he=-he>Et?0:Et+he),Ne=Ne===i||Ne>Et?Et:rs(Ne),Ne<0&&(Ne+=Et),Ne=he>Ne?0:bd(Ne);he<Ne;)w[he++]=N;return w}function gu(w,N){var he=[];return Eo(w,function(Ne,Et,Xt){N(Ne,Et,Xt)&&he.push(Ne)}),he}function ss(w,N,he,Ne,Et){var Xt=-1,pr=w.length;for(he||(he=Rl),Et||(Et=[]);++Xt<pr;){var Lr=w[Xt];N>0&&he(Lr)?N>1?ss(Lr,N-1,he,Ne,Et):Ia(Et,Lr):Ne||(Et[Et.length]=Lr)}return Et}var uu=vc(),yu=vc(!0);function wo(w,N){return w&&uu(w,N,Uu)}function tl(w,N){return w&&yu(w,N,Uu)}function Iu(w,N){return ja(N,function(he){return bf(w[he])})}function Yo(w,N){N=ku(N,w);for(var he=0,Ne=N.length;w!=null&&he<Ne;)w=w[zi(N[he++])];return he&&he==Ne?w:i}function zl(w,N,he){var Ne=N(w);return Wa(w)?Ne:Ia(Ne,he(w))}function Zs(w){return w==null?w===i?Me:zt:vn&&vn in Vn(w)?Ao(w):qc(w)}function Uo(w,N){return w>N}function Du(w,N){return w!=null&&ci.call(w,N)}function Zl(w,N){return w!=null&&N in Vn(w)}function lu(w,N,he){return w>=fa(N,he)&&w<bi(N,he)}function oc(w,N,he){for(var Ne=he?ls:ns,Et=w[0].length,Xt=w.length,pr=Xt,Lr=xr(Xt),Yr=1/0,On=[];pr--;){var kn=w[pr];pr&&N&&(kn=Vi(kn,Qa(N))),Yr=fa(kn.length,Yr),Lr[pr]=!he&&(N||Et>=120&&kn.length>=120)?new Te(pr&&kn):i}kn=w[0];var zn=-1,Ti=Lr[0];e:for(;++zn<Et&&On.length<Yr;){var ra=kn[zn],Ca=N?N(ra):ra;if(ra=he||ra!==0?ra:0,!(Ti?yo(Ti,Ca):Ne(On,Ca,he))){for(pr=Xt;--pr;){var us=Lr[pr];if(!(us?yo(us,Ca):Ne(w[pr],Ca,he)))continue e}Ti&&Ti.push(Ca),On.push(ra)}}return On}function Zu(w,N,he,Ne){return wo(w,function(Et,Xt,pr){N(Ne,he(Et),Xt,pr)}),Ne}function ai(w,N,he){N=ku(N,w),w=$u(w,N);var Ne=w==null?w:w[zi(Wo(N))];return Ne==null?i:La(Ne,w,he)}function Sc(w){return Jo(w)&&Zs(w)==Ce}function to(w){return Jo(w)&&Zs(w)==nt}function uc(w){return Jo(w)&&Zs(w)==_t}function tu(w,N,he,Ne,Et){return w===N?!0:w==null||N==null||!Jo(w)&&!Jo(N)?w!==w&&N!==N:rl(w,N,he,Ne,tu,Et)}function rl(w,N,he,Ne,Et,Xt){var pr=Wa(w),Lr=Wa(N),Yr=pr?je:ys(w),On=Lr?je:ys(N);Yr=Yr==Ce?st:Yr,On=On==Ce?st:On;var kn=Yr==st,zn=On==st,Ti=Yr==On;if(Ti&&If(w)){if(!If(N))return!1;pr=!0,kn=!1}if(Ti&&!kn)return Xt||(Xt=new Bt),pr||zf(w)?yc(w,N,he,Ne,Et,Xt):Oc(w,N,Yr,he,Ne,Et,Xt);if(!(he&b)){var ra=kn&&ci.call(w,"__wrapped__"),Ca=zn&&ci.call(N,"__wrapped__");if(ra||Ca){var us=ra?w.value():w,Ta=Ca?N.value():N;return Xt||(Xt=new Bt),Et(us,Ta,he,Ne,Xt)}}return Ti?(Xt||(Xt=new Bt),I(w,N,he,Ne,Et,Xt)):!1}function Hu(w){return Jo(w)&&ys(w)==Xe}function lc(w,N,he,Ne){var Et=he.length,Xt=Et,pr=!Ne;if(w==null)return!Xt;for(w=Vn(w);Et--;){var Lr=he[Et];if(pr&&Lr[2]?Lr[1]!==w[Lr[0]]:!(Lr[0]in w))return!1}for(;++Et<Xt;){Lr=he[Et];var Yr=Lr[0],On=w[Yr],kn=Lr[1];if(pr&&Lr[2]){if(On===i&&!(Yr in w))return!1}else{var zn=new Bt;if(Ne)var Ti=Ne(On,kn,Yr,w,N,zn);if(!(Ti===i?tu(kn,On,b|S,Ne,zn):Ti))return!1}}return!0}function Ac(w){if(!Go(w)||bl(w))return!1;var N=bf(w)?ks:Lt;return N.test(ua(w))}function qs(w){return Jo(w)&&Zs(w)==Je}function cc(w){return Jo(w)&&ys(w)==Ue}function uf(w){return Jo(w)&&Qf(w.length)&&!!ln[Zs(w)]}function Bo(w){return typeof w=="function"?w:w==null?Ul:typeof w=="object"?Wa(w)?Hs(w[0],w[1]):Wl(w):Od(w)}function Cl(w){if(!ol(w))return Ci(w);var N=[];for(var he in Vn(w))ci.call(w,he)&&he!="constructor"&&N.push(he);return N}function Cc(w){if(!Go(w))return Ll(w);var N=ol(w),he=[];for(var Ne in w)Ne=="constructor"&&(N||!ci.call(w,Ne))||he.push(Ne);return he}function Hl(w,N){return w<N}function bu(w,N){var he=-1,Ne=$l(w)?xr(w.length):[];return Eo(w,function(Et,Xt,pr){Ne[++he]=N(Et,Xt,pr)}),Ne}function Wl(w){var N=Ha(w);return N.length==1&&N[0][2]?Rc(N[0][0],N[0][1]):function(he){return he===w||lc(he,w,N)}}function Hs(w,N){return Ja(w)&&Xc(N)?Rc(zi(w),N):function(he){var Ne=sd(he,w);return Ne===i&&Ne===N?od(he,w):tu(N,Ne,b|S)}}function ro(w,N,he,Ne,Et){w!==N&&uu(N,function(Xt,pr){if(Et||(Et=new Bt),Go(Xt))No(w,N,pr,he,ro,Ne,Et);else{var Lr=Ne?Ne(rc(w,pr),Xt,pr+"",w,N,Et):i;Lr===i&&(Lr=Xt),aa(w,pr,Lr)}},jl)}function No(w,N,he,Ne,Et,Xt,pr){var Lr=rc(w,he),Yr=rc(N,he),On=pr.get(Yr);if(On){aa(w,he,On);return}var kn=Xt?Xt(Lr,Yr,he+"",w,N,pr):i,zn=kn===i;if(zn){var Ti=Wa(Yr),ra=!Ti&&If(Yr),Ca=!Ti&&!ra&&zf(Yr);kn=Yr,Ti||ra||Ca?Wa(Lr)?kn=Lr:au(Lr)?kn=$o(Lr):ra?(zn=!1,kn=ff(Yr,!0)):Ca?(zn=!1,kn=Il(Yr,!0)):kn=[]:Vf(Yr)||Lf(Yr)?(kn=Lr,Lf(Lr)?kn=xd(Lr):(!Go(Lr)||bf(Lr))&&(kn=Nu(Yr))):zn=!1}zn&&(pr.set(Yr,kn),Et(kn,Yr,Ne,Xt,pr),pr.delete(Yr)),aa(w,he,kn)}function Wu(w,N){var he=w.length;if(he)return N+=N<0?he:0,Ro(N,he)?w[N]:i}function Tl(w,N,he){N.length?N=Vi(N,function(Xt){return Wa(Xt)?function(pr){return Yo(pr,Xt.length===1?Xt[0]:Xt)}:Xt}):N=[Ul];var Ne=-1;N=Vi(N,Qa(dn()));var Et=bu(w,function(Xt,pr,Lr){var Yr=Vi(N,function(On){return On(Xt)});return{criteria:Yr,index:++Ne,value:Xt}});return Va(Et,function(Xt,pr){return wu(Xt,pr,he)})}function ru(w,N){return Tc(w,N,function(he,Ne){return od(w,Ne)})}function Tc(w,N,he){for(var Ne=-1,Et=N.length,Xt={};++Ne<Et;){var pr=N[Ne],Lr=Yo(w,pr);he(Lr,pr)&&Ou(Xt,ku(pr,w),Lr)}return Xt}function cu(w){return function(N){return Yo(N,w)}}function Xo(w,N,he,Ne){var Et=Ne?mo:cs,Xt=-1,pr=N.length,Lr=w;for(w===N&&(N=$o(N)),he&&(Lr=Vi(w,Qa(he)));++Xt<pr;)for(var Yr=0,On=N[Xt],kn=he?he(On):On;(Yr=Et(Lr,kn,Yr,Ne))>-1;)Lr!==w&&hr.call(Lr,Yr,1),hr.call(w,Yr,1);return w}function pl(w,N){for(var he=w?N.length:0,Ne=he-1;he--;){var Et=N[he];if(he==Ne||Et!==Xt){var Xt=Et;Ro(Et)?hr.call(w,Et,1):Pl(w,Et)}}return w}function xu(w,N){return w+Ii(Wi()*(N-w+1))}function fc(w,N,he,Ne){for(var Et=-1,Xt=bi(_i((N-w)/(he||1)),0),pr=xr(Xt);Xt--;)pr[Ne?Xt:++Et]=w,w+=he;return pr}function _l(w,N){var he="";if(!w||N<1||N>ee)return he;do N%2&&(he+=w),N=Ii(N/2),N&&(w+=w);while(N);return he}function Ra(w,N){return Ml(hu(w,N,Ul),w+"")}function lf(w){return Wn(Zf(w))}function zc(w,N){var he=Zf(w);return Bi(he,Rs(N,0,he.length))}function Ou(w,N,he,Ne){if(!Go(w))return w;N=ku(N,w);for(var Et=-1,Xt=N.length,pr=Xt-1,Lr=w;Lr!=null&&++Et<Xt;){var Yr=zi(N[Et]),On=he;if(Yr==="__proto__"||Yr==="constructor"||Yr==="prototype")return w;if(Et!=pr){var kn=Lr[Yr];On=Ne?Ne(kn,Yr,Lr):i,On===i&&(On=Go(kn)?kn:Ro(N[Et+1])?[]:{})}sa(Lr,Yr,On),Lr=Lr[Yr]}return w}var Pc=qa?function(w,N){return qa.set(w,N),w}:Ul,cf=nn?function(w,N){return nn(w,"toString",{configurable:!0,enumerable:!1,value:ld(N),writable:!0})}:Ul;function dc(w){return Bi(Zf(w))}function nu(w,N,he){var Ne=-1,Et=w.length;N<0&&(N=-N>Et?0:Et+N),he=he>Et?Et:he,he<0&&(he+=Et),Et=N>he?0:he-N>>>0,N>>>=0;for(var Xt=xr(Et);++Ne<Et;)Xt[Ne]=w[Ne+N];return Xt}function Zc(w,N){var he;return Eo(w,function(Ne,Et,Xt){return he=N(Ne,Et,Xt),!he}),!!he}function hc(w,N,he){var Ne=0,Et=w==null?Ne:w.length;if(typeof N=="number"&&N===N&&Et<=de){for(;Ne<Et;){var Xt=Ne+Et>>>1,pr=w[Xt];pr!==null&&!ic(pr)&&(he?pr<=N:pr<N)?Ne=Xt+1:Et=Xt}return Et}return Gl(w,N,Ul,he)}function Gl(w,N,he,Ne){var Et=0,Xt=w==null?0:w.length;if(Xt===0)return 0;N=he(N);for(var pr=N!==N,Lr=N===null,Yr=ic(N),On=N===i;Et<Xt;){var kn=Ii((Et+Xt)/2),zn=he(w[kn]),Ti=zn!==i,ra=zn===null,Ca=zn===zn,us=ic(zn);if(pr)var Ta=Ne||Ca;else On?Ta=Ca&&(Ne||Ti):Lr?Ta=Ca&&Ti&&(Ne||!ra):Yr?Ta=Ca&&Ti&&!ra&&(Ne||!us):ra||us?Ta=!1:Ta=Ne?zn<=N:zn<N;Ta?Et=kn+1:Xt=kn}return fa(Xt,Q)}function Hc(w,N){for(var he=-1,Ne=w.length,Et=0,Xt=[];++he<Ne;){var pr=w[he],Lr=N?N(pr):pr;if(!he||!$c(Lr,Yr)){var Yr=Lr;Xt[Et++]=pr===0?0:pr}}return Xt}function pc(w){return typeof w=="number"?w:ic(w)?F:+w}function zo(w){if(typeof w=="string")return w;if(Wa(w))return Vi(w,zo)+"";if(ic(w))return ye?ye.call(w):"";var N=w+"";return N=="0"&&1/w==-ne?"-0":N}function Gu(w,N,he){var Ne=-1,Et=ns,Xt=w.length,pr=!0,Lr=[],Yr=Lr;if(he)pr=!1,Et=ls;else if(Xt>=c){var On=N?null:Yc(w);if(On)return bo(On);pr=!1,Et=yo,Yr=new Te}else Yr=N?[]:Lr;e:for(;++Ne<Xt;){var kn=w[Ne],zn=N?N(kn):kn;if(kn=he||kn!==0?kn:0,pr&&zn===zn){for(var Ti=Yr.length;Ti--;)if(Yr[Ti]===zn)continue e;N&&Yr.push(zn),Lr.push(kn)}else Et(Yr,zn,he)||(Yr!==Lr&&Yr.push(zn),Lr.push(kn))}return Lr}function Pl(w,N){return N=ku(N,w),w=$u(w,N),w==null||delete w[zi(Wo(N))]}function Eu(w,N,he,Ne){return Ou(w,N,he(Yo(w,N)),Ne)}function _c(w,N,he,Ne){for(var Et=w.length,Xt=Ne?Et:-1;(Ne?Xt--:++Xt<Et)&&N(w[Xt],Xt,w););return he?nu(w,Ne?0:Xt,Ne?Xt+1:Et):nu(w,Ne?Xt+1:0,Ne?Et:Xt)}function Wc(w,N){var he=w;return he instanceof Qr&&(he=he.value()),Da(N,function(Ne,Et){return Et.func.apply(Et.thisArg,Ia([Ne],Et.args))},he)}function Vl(w,N,he){var Ne=w.length;if(Ne<2)return Ne?Gu(w[0]):[];for(var Et=-1,Xt=xr(Ne);++Et<Ne;)for(var pr=w[Et],Lr=-1;++Lr<Ne;)Lr!=Et&&(Xt[Et]=za(Xt[Et]||pr,w[Lr],N,he));return Gu(ss(Xt,1),N,he)}function no(w,N,he){for(var Ne=-1,Et=w.length,Xt=N.length,pr={};++Ne<Et;){var Lr=Ne<Xt?N[Ne]:i;he(pr,w[Ne],Lr)}return pr}function Gc(w){return au(w)?w:[]}function Ic(w){return typeof w=="function"?w:Ul}function ku(w,N){return Wa(w)?w:Ja(w,N)?[w]:Ea(Js(w))}var Ru=Ra;function $s(w,N,he){var Ne=w.length;return he=he===i?Ne:he,!N&&he>=Ne?w:nu(w,N,he)}var ml=gn||function(w){return Pa.clearTimeout(w)};function ff(w,N){if(N)return w.slice();var he=w.length,Ne=Ye?Ye(he):new w.constructor(he);return w.copy(Ne),Ne}function mc(w){var N=new w.constructor(w.byteLength);return new Ns(N).set(new Ns(w)),N}function Vc(w,N){var he=N?mc(w.buffer):w.buffer;return new w.constructor(he,w.byteOffset,w.byteLength)}function vl(w){var N=new w.constructor(w.source,sn.exec(w));return N.lastIndex=w.lastIndex,N}function ko(w){return ga?Vn(ga.call(w)):{}}function Il(w,N){var he=N?mc(w.buffer):w.buffer;return new w.constructor(he,w.byteOffset,w.length)}function ze(w,N){if(w!==N){var he=w!==i,Ne=w===null,Et=w===w,Xt=ic(w),pr=N!==i,Lr=N===null,Yr=N===N,On=ic(N);if(!Lr&&!On&&!Xt&&w>N||Xt&&pr&&Yr&&!Lr&&!On||Ne&&pr&&Yr||!he&&Yr||!Et)return 1;if(!Ne&&!Xt&&!On&&w<N||On&&he&&Et&&!Ne&&!Xt||Lr&&he&&Et||!pr&&Et||!Yr)return-1}return 0}function wu(w,N,he){for(var Ne=-1,Et=w.criteria,Xt=N.criteria,pr=Et.length,Lr=he.length;++Ne<pr;){var Yr=ze(Et[Ne],Xt[Ne]);if(Yr){if(Ne>=Lr)return Yr;var On=he[Ne];return Yr*(On=="desc"?-1:1)}}return w.index-N.index}function Qo(w,N,he,Ne){for(var Et=-1,Xt=w.length,pr=he.length,Lr=-1,Yr=N.length,On=bi(Xt-pr,0),kn=xr(Yr+On),zn=!Ne;++Lr<Yr;)kn[Lr]=N[Lr];for(;++Et<pr;)(zn||Et<Xt)&&(kn[he[Et]]=w[Et]);for(;On--;)kn[Lr++]=w[Et++];return kn}function Kl(w,N,he,Ne){for(var Et=-1,Xt=w.length,pr=-1,Lr=he.length,Yr=-1,On=N.length,kn=bi(Xt-Lr,0),zn=xr(kn+On),Ti=!Ne;++Et<kn;)zn[Et]=w[Et];for(var ra=Et;++Yr<On;)zn[ra+Yr]=N[Yr];for(;++pr<Lr;)(Ti||Et<Xt)&&(zn[ra+he[pr]]=w[Et++]);return zn}function $o(w,N){var he=-1,Ne=w.length;for(N||(N=xr(Ne));++he<Ne;)N[he]=w[he];return N}function fu(w,N,he,Ne){var Et=!he;he||(he={});for(var Xt=-1,pr=N.length;++Xt<pr;){var Lr=N[Xt],Yr=Ne?Ne(he[Lr],w[Lr],Lr,he,w):i;Yr===i&&(Yr=w[Lr]),Et?Aa(he,Lr,Yr):sa(he,Lr,Yr)}return he}function Yl(w,N){return fu(w,Ma(w),N)}function Lu(w,N){return fu(w,io(w),N)}function So(w,N){return function(he,Ne){var Et=Wa(he)?_s:Za,Xt=N?N():{};return Et(he,w,dn(Ne,2),Xt)}}function nl(w){return Ra(function(N,he){var Ne=-1,Et=he.length,Xt=Et>1?he[Et-1]:i,pr=Et>2?he[2]:i;for(Xt=w.length>3&&typeof Xt=="function"?(Et--,Xt):i,pr&&Ws(he[0],he[1],pr)&&(Xt=Et<3?i:Xt,Et=1),N=Vn(N);++Ne<Et;){var Lr=he[Ne];Lr&&w(N,Lr,Ne,Xt)}return N})}function Su(w,N){return function(he,Ne){if(he==null)return he;if(!$l(he))return w(he,Ne);for(var Et=he.length,Xt=N?Et:-1,pr=Vn(he);(N?Xt--:++Xt<Et)&&Ne(pr[Xt],Xt,pr)!==!1;);return he}}function vc(w){return function(N,he,Ne){for(var Et=-1,Xt=Vn(N),pr=Ne(N),Lr=pr.length;Lr--;){var Yr=pr[w?Lr:++Et];if(he(Xt[Yr],Yr,Xt)===!1)break}return N}}function Mu(w,N,he){var Ne=N&R,Et=Au(w);function Xt(){var pr=this&&this!==Pa&&this instanceof Xt?Et:w;return pr.apply(Ne?he:this,arguments)}return Xt}function Zo(w){return function(N){N=Js(N);var he=Io(N)?sr(N):i,Ne=he?he[0]:N.charAt(0),Et=he?$s(he,1).join(""):N.slice(1);return Ne[w]()+Et}}function il(w){return function(N){return Da(Id(Pd(N).replace(Dr,"")),w,"")}}function Au(w){return function(){var N=arguments;switch(N.length){case 0:return new w;case 1:return new w(N[0]);case 2:return new w(N[0],N[1]);case 3:return new w(N[0],N[1],N[2]);case 4:return new w(N[0],N[1],N[2],N[3]);case 5:return new w(N[0],N[1],N[2],N[3],N[4]);case 6:return new w(N[0],N[1],N[2],N[3],N[4],N[5]);case 7:return new w(N[0],N[1],N[2],N[3],N[4],N[5],N[6])}var he=yr(w.prototype),Ne=w.apply(he,N);return Go(Ne)?Ne:he}}function Dc(w,N,he){var Ne=Au(w);function Et(){for(var Xt=arguments.length,pr=xr(Xt),Lr=Xt,Yr=$n(Et);Lr--;)pr[Lr]=arguments[Lr];var On=Xt<3&&pr[0]!==Yr&&pr[Xt-1]!==Yr?[]:Ls(pr,Yr);if(Xt-=On.length,Xt<he)return ql(w,N,du,Et.placeholder,i,pr,On,i,i,he-Xt);var kn=this&&this!==Pa&&this instanceof Et?Ne:w;return La(kn,this,pr)}return Et}function Kc(w){return function(N,he,Ne){var Et=Vn(N);if(!$l(N)){var Xt=dn(he,3);N=Uu(N),he=function(Lr){return Xt(Et[Lr],Lr,Et)}}var pr=w(N,he,Ne);return pr>-1?Et[Xt?N[pr]:pr]:i}}function oo(w){return O(function(N){var he=N.length,Ne=he,Et=br.prototype.thru;for(w&&N.reverse();Ne--;){var Xt=N[Ne];if(typeof Xt!="function")throw new Nr(s);if(Et&&!pr&&en(Xt)=="wrapper")var pr=new br([],!0)}for(Ne=pr?Ne:he;++Ne<he;){Xt=N[Ne];var Lr=en(Xt),Yr=Lr=="wrapper"?Re(Xt):i;Yr&&sl(Yr[0])&&Yr[1]==(K|D|$|V)&&!Yr[4].length&&Yr[9]==1?pr=pr[en(Yr[0])].apply(pr,Yr[3]):pr=Xt.length==1&&sl(Xt)?pr[Lr]():pr.thru(Xt)}return function(){var On=arguments,kn=On[0];if(pr&&On.length==1&&Wa(kn))return pr.plant(kn).value();for(var zn=0,Ti=he?N[zn].apply(this,On):kn;++zn<he;)Ti=N[zn].call(this,Ti);return Ti}})}function du(w,N,he,Ne,Et,Xt,pr,Lr,Yr,On){var kn=N&K,zn=N&R,Ti=N&L,ra=N&(D|B),Ca=N&G,us=Ti?i:Au(w);function Ta(){for(var bs=arguments.length,Ps=xr(bs),ac=bs;ac--;)Ps[ac]=arguments[ac];if(ra)var Sl=$n(Ta),sc=_u(Ps,Sl);if(Ne&&(Ps=Qo(Ps,Ne,Et,ra)),Xt&&(Ps=Kl(Ps,Xt,pr,ra)),bs-=sc,ra&&bs<On){var su=Ls(Ps,Sl);return ql(w,N,du,Ta.placeholder,he,Ps,su,Lr,Yr,On-bs)}var jc=zn?he:this,Ef=Ti?jc[w]:w;return bs=Ps.length,Lr?Ps=El(Ps,Lr):Ca&&bs>1&&Ps.reverse(),kn&&Yr<bs&&(Ps.length=Yr),this&&this!==Pa&&this instanceof Ta&&(Ef=us||Au(Ef)),Ef.apply(jc,Ps)}return Ta}function Dl(w,N){return function(he,Ne){return Zu(he,w,N(Ne),{})}}function Xl(w,N){return function(he,Ne){var Et;if(he===i&&Ne===i)return N;if(he!==i&&(Et=he),Ne!==i){if(Et===i)return Ne;typeof he=="string"||typeof Ne=="string"?(he=zo(he),Ne=zo(Ne)):(he=pc(he),Ne=pc(Ne)),Et=w(he,Ne)}return Et}}function Ql(w){return O(function(N){return N=Vi(N,Qa(dn())),Ra(function(he){var Ne=this;return w(N,function(Et){return La(Et,Ne,he)})})})}function gl(w,N){N=N===i?" ":zo(N);var he=N.length;if(he<2)return he?_l(N,w):N;var Ne=_l(N,_i(w/cr(N)));return Io(N)?$s(sr(Ne),0,w).join(""):Ne.slice(0,w)}function Ol(w,N,he,Ne){var Et=N&R,Xt=Au(w);function pr(){for(var Lr=-1,Yr=arguments.length,On=-1,kn=Ne.length,zn=xr(kn+Yr),Ti=this&&this!==Pa&&this instanceof pr?Xt:w;++On<kn;)zn[On]=Ne[On];for(;Yr--;)zn[On++]=arguments[++Lr];return La(Ti,Et?he:this,zn)}return pr}function df(w){return function(N,he,Ne){return Ne&&typeof Ne!="number"&&Ws(N,he,Ne)&&(he=Ne=i),N=xf(N),he===i?(he=N,N=0):he=xf(he),Ne=Ne===i?N<he?1:-1:xf(Ne),fc(N,he,Ne,w)}}function kl(w){return function(N,he){return typeof N=="string"&&typeof he=="string"||(N=wc(N),he=wc(he)),w(N,he)}}function ql(w,N,he,Ne,Et,Xt,pr,Lr,Yr,On){var kn=N&D,zn=kn?pr:i,Ti=kn?i:pr,ra=kn?Xt:i,Ca=kn?i:Xt;N|=kn?$:U,N&=~(kn?U:$),N&C||(N&=~(R|L));var us=[w,N,Et,ra,zn,Ca,Ti,Lr,Yr,On],Ta=he.apply(i,us);return sl(w)&&Cu(Ta,us),Ta.placeholder=Ne,Tn(Ta,w,N)}function yl(w){var N=Pn[w];return function(he,Ne){if(he=wc(he),Ne=Ne==null?0:fa(rs(Ne),292),Ne&&wi(he)){var Et=(Js(he)+"e").split("e"),Xt=N(Et[0]+"e"+(+Et[1]+Ne));return Et=(Js(Xt)+"e").split("e"),+(Et[0]+"e"+(+Et[1]-Ne))}return N(he)}}var Yc=Ba&&1/bo(new Ba([,-0]))[1]==ne?function(w){return new Ba(w)}:dd;function Fu(w){return function(N){var he=ys(N);return he==Xe?jo(N):he==Ue?mu(N):co(N,w(N))}}function Bu(w,N,he,Ne,Et,Xt,pr,Lr){var Yr=N&L;if(!Yr&&typeof w!="function")throw new Nr(s);var On=Ne?Ne.length:0;if(On||(N&=~($|U),Ne=Et=i),pr=pr===i?pr:bi(rs(pr),0),Lr=Lr===i?Lr:rs(Lr),On-=Et?Et.length:0,N&U){var kn=Ne,zn=Et;Ne=Et=i}var Ti=Yr?i:Re(w),ra=[w,N,he,Ne,Et,kn,zn,Xt,pr,Lr];if(Ti&&Qc(ra,Ti),w=ra[0],N=ra[1],he=ra[2],Ne=ra[3],Et=ra[4],Lr=ra[9]=ra[9]===i?Yr?0:w.length:bi(ra[9]-On,0),!Lr&&N&(D|B)&&(N&=~(D|B)),!N||N==R)var Ca=Mu(w,N,he);else N==D||N==B?Ca=Dc(w,N,Lr):(N==$||N==(R|$))&&!Et.length?Ca=Ol(w,N,he,Ne):Ca=du.apply(i,ra);var us=Ti?Pc:Cu;return Tn(us(Ca,ra),w,N)}function iu(w,N,he,Ne){return w===i||$c(w,zr[he])&&!ci.call(Ne,he)?N:w}function qo(w,N,he,Ne,Et,Xt){return Go(w)&&Go(N)&&(Xt.set(N,w),ro(w,N,i,qo,Xt),Xt.delete(N)),w}function gc(w){return Vf(w)?i:w}function yc(w,N,he,Ne,Et,Xt){var pr=he&b,Lr=w.length,Yr=N.length;if(Lr!=Yr&&!(pr&&Yr>Lr))return!1;var On=Xt.get(w),kn=Xt.get(N);if(On&&kn)return On==N&&kn==w;var zn=-1,Ti=!0,ra=he&S?new Te:i;for(Xt.set(w,N),Xt.set(N,w);++zn<Lr;){var Ca=w[zn],us=N[zn];if(Ne)var Ta=pr?Ne(us,Ca,zn,N,w,Xt):Ne(Ca,us,zn,w,N,Xt);if(Ta!==i){if(Ta)continue;Ti=!1;break}if(ra){if(!Bs(N,function(bs,Ps){if(!yo(ra,Ps)&&(Ca===bs||Et(Ca,bs,he,Ne,Xt)))return ra.push(Ps)})){Ti=!1;break}}else if(!(Ca===us||Et(Ca,us,he,Ne,Xt))){Ti=!1;break}}return Xt.delete(w),Xt.delete(N),Ti}function Oc(w,N,he,Ne,Et,Xt,pr){switch(he){case ct:if(w.byteLength!=N.byteLength||w.byteOffset!=N.byteOffset)return!1;w=w.buffer,N=N.buffer;case nt:return!(w.byteLength!=N.byteLength||!Xt(new Ns(w),new Ns(N)));case Ft:case _t:case It:return $c(+w,+N);case qt:return w.name==N.name&&w.message==N.message;case Je:case ge:return w==N+"";case Xe:var Lr=jo;case Ue:var Yr=Ne&b;if(Lr||(Lr=bo),w.size!=N.size&&!Yr)return!1;var On=pr.get(w);if(On)return On==N;Ne|=S,pr.set(w,N);var kn=yc(Lr(w),Lr(N),Ne,Et,Xt,pr);return pr.delete(w),kn;case Ae:if(ga)return ga.call(w)==ga.call(N)}return!1}function I(w,N,he,Ne,Et,Xt){var pr=he&b,Lr=k(w),Yr=Lr.length,On=k(N),kn=On.length;if(Yr!=kn&&!pr)return!1;for(var zn=Yr;zn--;){var Ti=Lr[zn];if(!(pr?Ti in N:ci.call(N,Ti)))return!1}var ra=Xt.get(w),Ca=Xt.get(N);if(ra&&Ca)return ra==N&&Ca==w;var us=!0;Xt.set(w,N),Xt.set(N,w);for(var Ta=pr;++zn<Yr;){Ti=Lr[zn];var bs=w[Ti],Ps=N[Ti];if(Ne)var ac=pr?Ne(Ps,bs,Ti,N,w,Xt):Ne(bs,Ps,Ti,w,N,Xt);if(!(ac===i?bs===Ps||Et(bs,Ps,he,Ne,Xt):ac)){us=!1;break}Ta||(Ta=Ti=="constructor")}if(us&&!Ta){var Sl=w.constructor,sc=N.constructor;Sl!=sc&&"constructor"in w&&"constructor"in N&&!(typeof Sl=="function"&&Sl instanceof Sl&&typeof sc=="function"&&sc instanceof sc)&&(us=!1)}return Xt.delete(w),Xt.delete(N),us}function O(w){return Ml(hu(w,i,hf),w+"")}function k(w){return zl(w,Uu,Ma)}function me(w){return zl(w,jl,io)}var Re=qa?function(w){return qa.get(w)}:dd;function en(w){for(var N=w.name+"",he=so[N],Ne=ci.call(so,N)?he.length:0;Ne--;){var Et=he[Ne],Xt=Et.func;if(Xt==null||Xt==w)return Et.name}return N}function $n(w){var N=ci.call(Se,"placeholder")?Se:w;return N.placeholder}function dn(){var w=Se.iteratee||cd;return w=w===cd?Bo:w,arguments.length?w(arguments[0],arguments[1]):w}function Di(w,N){var he=w.__data__;return al(N)?he[typeof N=="string"?"string":"hash"]:he.map}function Ha(w){for(var N=Uu(w),he=N.length;he--;){var Ne=N[he],Et=w[Ne];N[he]=[Ne,Et,Xc(Et)]}return N}function Oa(w,N){var he=Mo(w,N);return Ac(he)?he:i}function Ao(w){var N=ci.call(w,vn),he=w[vn];try{w[vn]=i;var Ne=!0}catch(Xt){}var Et=Os.call(w);return Ne&&(N?w[vn]=he:delete w[vn]),Et}var Ma=Hi?function(w){return w==null?[]:(w=Vn(w),ja(Hi(w),function(N){return Kt.call(w,N)}))}:hd,io=Hi?function(w){for(var N=[];w;)Ia(N,Ma(w)),w=Qe(w);return N}:hd,ys=Zs;(ea&&ys(new ea(new ArrayBuffer(1)))!=ct||ki&&ys(new ki)!=Xe||va&&ys(va.resolve())!=bt||Ba&&ys(new Ba)!=Ue||Ka&&ys(new Ka)!=$e)&&(ys=function(w){var N=Zs(w),he=N==st?w.constructor:i,Ne=he?ua(he):"";if(Ne)switch(Ne){case Ya:return ct;case Ys:return Xe;case Ms:return bt;case da:return Ue;case Ua:return $e}return N});function kc(w,N,he){for(var Ne=-1,Et=he.length;++Ne<Et;){var Xt=he[Ne],pr=Xt.size;switch(Xt.type){case"drop":w+=pr;break;case"dropRight":N-=pr;break;case"take":N=fa(N,w+pr);break;case"takeRight":w=bi(w,N-pr);break}}return{start:w,end:N}}function Jl(w){var N=w.match(Kr);return N?N[1].split(qr):[]}function ec(w,N,he){N=ku(N,w);for(var Ne=-1,Et=N.length,Xt=!1;++Ne<Et;){var pr=zi(N[Ne]);if(!(Xt=w!=null&&he(w,pr)))break;w=w[pr]}return Xt||++Ne!=Et?Xt:(Et=w==null?0:w.length,!!Et&&Qf(Et)&&Ro(pr,Et)&&(Wa(w)||Lf(w)))}function bc(w){var N=w.length,he=new w.constructor(N);return N&&typeof w[0]=="string"&&ci.call(w,"index")&&(he.index=w.index,he.input=w.input),he}function Nu(w){return typeof w.constructor=="function"&&!ol(w)?yr(Qe(w)):{}}function Oi(w,N,he){var Ne=w.constructor;switch(N){case nt:return mc(w);case Ft:case _t:return new Ne(+w);case ct:return Vc(w,he);case Vt:case Wt:case De:case qe:case Gt:case kt:case Ht:case $t:case Ct:return Il(w,he);case Xe:return new Ne;case It:case ge:return new Ne(w);case Je:return vl(w);case Ue:return new Ne;case Ae:return ko(w)}}function tc(w,N){var he=N.length;if(!he)return w;var Ne=he-1;return N[Ne]=(he>1?"& ":"")+N[Ne],N=N.join(he>2?", ":" "),w.replace(At,`{
/* [wrapped with `+N+`] */
`)}function Rl(w){return Wa(w)||Lf(w)||!!(Rr&&w&&w[Rr])}function Ro(w,N){var he=typeof w;return N=N==null?ee:N,!!N&&(he=="number"||he!="symbol"&&yt.test(w))&&w>-1&&w%1==0&&w<N}function Ws(w,N,he){if(!Go(he))return!1;var Ne=typeof N;return(Ne=="number"?$l(he)&&Ro(N,he.length):Ne=="string"&&N in he)?$c(he[N],w):!1}function Ja(w,N){if(Wa(w))return!1;var he=typeof w;return he=="number"||he=="symbol"||he=="boolean"||w==null||ic(w)?!0:be.test(w)||!St.test(w)||N!=null&&w in Vn(N)}function al(w){var N=typeof w;return N=="string"||N=="number"||N=="symbol"||N=="boolean"?w!=="__proto__":w===null}function sl(w){var N=en(w),he=Se[N];if(typeof he!="function"||!(N in Qr.prototype))return!1;if(w===he)return!0;var Ne=Re(he);return!!Ne&&w===Ne[0]}function bl(w){return!!xo&&xo in w}var xl=na?bf:pd;function ol(w){var N=w&&w.constructor,he=typeof N=="function"&&N.prototype||zr;return w===he}function Xc(w){return w===w&&!Go(w)}function Rc(w,N){return function(he){return he==null?!1:he[w]===N&&(N!==i||w in Vn(he))}}function Vu(w){var N=kf(w,function(Ne){return he.size===a&&he.clear(),Ne}),he=N.cache;return N}function Qc(w,N){var he=w[1],Ne=N[1],Et=he|Ne,Xt=Et<(R|L|K),pr=Ne==K&&he==D||Ne==K&&he==V&&w[7].length<=N[8]||Ne==(K|V)&&N[7].length<=N[8]&&he==D;if(!(Xt||pr))return w;Ne&R&&(w[2]=N[2],Et|=he&R?0:C);var Lr=N[3];if(Lr){var Yr=w[3];w[3]=Yr?Qo(Yr,Lr,N[4]):Lr,w[4]=Yr?Ls(w[3],x):N[4]}return Lr=N[5],Lr&&(Yr=w[5],w[5]=Yr?Kl(Yr,Lr,N[6]):Lr,w[6]=Yr?Ls(w[5],x):N[6]),Lr=N[7],Lr&&(w[7]=Lr),Ne&K&&(w[8]=w[8]==null?N[8]:fa(w[8],N[8])),w[9]==null&&(w[9]=N[9]),w[0]=N[0],w[1]=Et,w}function Ll(w){var N=[];if(w!=null)for(var he in Vn(w))N.push(he);return N}function qc(w){return Os.call(w)}function hu(w,N,he){return N=bi(N===i?w.length-1:N,0),function(){for(var Ne=arguments,Et=-1,Xt=bi(Ne.length-N,0),pr=xr(Xt);++Et<Xt;)pr[Et]=Ne[N+Et];Et=-1;for(var Lr=xr(N+1);++Et<N;)Lr[Et]=Ne[Et];return Lr[N]=he(pr),La(w,this,Lr)}}function $u(w,N){return N.length<2?w:Yo(w,nu(N,0,-1))}function El(w,N){for(var he=w.length,Ne=fa(N.length,he),Et=$o(w);Ne--;){var Xt=N[Ne];w[Ne]=Ro(Xt,he)?Et[Xt]:i}return w}function rc(w,N){if(!(N==="constructor"&&typeof w[N]=="function")&&N!="__proto__")return w[N]}var Cu=Kn(Pc),nc=ni||function(w,N){return Pa.setTimeout(w,N)},Ml=Kn(cf);function Tn(w,N,he){var Ne=N+"";return Ml(w,tc(Ne,ha(Jl(Ne),he)))}function Kn(w){var N=0,he=0;return function(){var Ne=Ks(),Et=q-(Ne-he);if(he=Ne,Et>0){if(++N>=le)return arguments[0]}else N=0;return w.apply(i,arguments)}}function Bi(w,N){var he=-1,Ne=w.length,Et=Ne-1;for(N=N===i?Ne:N;++he<N;){var Xt=xu(he,Et),pr=w[Xt];w[Xt]=w[he],w[he]=pr}return w.length=N,w}var Ea=Vu(function(w){var N=[];return w.charCodeAt(0)===46&&N.push(""),w.replace(Ke,function(he,Ne,Et,Xt){N.push(Et?Xt.replace(_r,"$1"):Ne||he)}),N});function zi(w){if(typeof w=="string"||ic(w))return w;var N=w+"";return N=="0"&&1/w==-ne?"-0":N}function ua(w){if(w!=null){try{return Ss.call(w)}catch(N){}try{return w+""}catch(N){}}return""}function ha(w,N){return ji(we,function(he){var Ne="_."+he[0];N&he[1]&&!ns(w,Ne)&&w.push(Ne)}),w.sort()}function vs(w){if(w instanceof Qr)return w.clone();var N=new br(w.__wrapped__,w.__chain__);return N.__actions__=$o(w.__actions__),N.__index__=w.__index__,N.__values__=w.__values__,N}function Ki(w,N,he){(he?Ws(w,N,he):N===i)?N=1:N=bi(rs(N),0);var Ne=w==null?0:w.length;if(!Ne||N<1)return[];for(var Et=0,Xt=0,pr=xr(_i(Ne/N));Et<Ne;)pr[Xt++]=nu(w,Et,Et+=N);return pr}function es(w){for(var N=-1,he=w==null?0:w.length,Ne=0,Et=[];++N<he;){var Xt=w[N];Xt&&(Et[Ne++]=Xt)}return Et}function Ku(){var w=arguments.length;if(!w)return[];for(var N=xr(w-1),he=arguments[0],Ne=w;Ne--;)N[Ne-1]=arguments[Ne];return Ia(Wa(he)?$o(he):[he],ss(N,1))}var ju=Ra(function(w,N){return au(w)?za(w,ss(N,1,au,!0)):[]}),Yu=Ra(function(w,N){var he=Wo(N);return au(he)&&(he=i),au(w)?za(w,ss(N,1,au,!0),dn(he,2)):[]}),ul=Ra(function(w,N){var he=Wo(N);return au(he)&&(he=i),au(w)?za(w,ss(N,1,au,!0),i,he):[]});function ll(w,N,he){var Ne=w==null?0:w.length;return Ne?(N=he||N===i?1:rs(N),nu(w,N<0?0:N,Ne)):[]}function Df(w,N,he){var Ne=w==null?0:w.length;return Ne?(N=he||N===i?1:rs(N),N=Ne-N,nu(w,0,N<0?0:N)):[]}function wf(w,N){return w&&w.length?_c(w,dn(N,3),!0,!0):[]}function Fl(w,N){return w&&w.length?_c(w,dn(N,3),!0):[]}function Sf(w,N,he,Ne){var Et=w==null?0:w.length;return Et?(he&&typeof he!="number"&&Ws(w,N,he)&&(he=0,Ne=Et),el(w,N,he,Ne)):[]}function xc(w,N,he){var Ne=w==null?0:w.length;if(!Ne)return-1;var Et=he==null?0:rs(he);return Et<0&&(Et=bi(Ne+Et,0)),ca(w,dn(N,3),Et)}function Jc(w,N,he){var Ne=w==null?0:w.length;if(!Ne)return-1;var Et=Ne-1;return he!==i&&(Et=rs(he),Et=he<0?bi(Ne+Et,0):fa(Et,Ne-1)),ca(w,dn(N,3),Et,!0)}function hf(w){var N=w==null?0:w.length;return N?ss(w,1):[]}function cl(w){var N=w==null?0:w.length;return N?ss(w,ne):[]}function Of(w,N){var he=w==null?0:w.length;return he?(N=N===i?1:rs(N),ss(w,N)):[]}function Xu(w){for(var N=-1,he=w==null?0:w.length,Ne={};++N<he;){var Et=w[N];Ne[Et[0]]=Et[1]}return Ne}function Lc(w){return w&&w.length?w[0]:i}function ef(w,N,he){var Ne=w==null?0:w.length;if(!Ne)return-1;var Et=he==null?0:rs(he);return Et<0&&(Et=bi(Ne+Et,0)),cs(w,N,Et)}function Ho(w){var N=w==null?0:w.length;return N?nu(w,0,-1):[]}var tf=Ra(function(w){var N=Vi(w,Gc);return N.length&&N[0]===w[0]?oc(N):[]}),pf=Ra(function(w){var N=Wo(w),he=Vi(w,Gc);return N===Wo(he)?N=i:he.pop(),he.length&&he[0]===w[0]?oc(he,dn(N,2)):[]}),fl=Ra(function(w){var N=Wo(w),he=Vi(w,Gc);return N=typeof N=="function"?N:i,N&&he.pop(),he.length&&he[0]===w[0]?oc(he,i,N):[]});function Bl(w,N){return w==null?"":ma.call(w,N)}function Wo(w){var N=w==null?0:w.length;return N?w[N-1]:i}function Ec(w,N,he){var Ne=w==null?0:w.length;if(!Ne)return-1;var Et=Ne;return he!==i&&(Et=rs(he),Et=Et<0?bi(Ne+Et,0):fa(Et,Ne-1)),N===N?Qt(w,N,Et):ca(w,vo,Et,!0)}function _f(w,N){return w&&w.length?Wu(w,rs(N)):i}var Mc=Ra(Fc);function Fc(w,N){return w&&w.length&&N&&N.length?Xo(w,N):w}function mf(w,N,he){return w&&w.length&&N&&N.length?Xo(w,N,dn(he,2)):w}function Bc(w,N,he){return w&&w.length&&N&&N.length?Xo(w,N,i,he):w}var Af=O(function(w,N){var he=w==null?0:w.length,Ne=Fs(w,N);return pl(w,Vi(N,function(Et){return Ro(Et,he)?+Et:Et}).sort(ze)),Ne});function Mf(w,N){var he=[];if(!(w&&w.length))return he;var Ne=-1,Et=[],Xt=w.length;for(N=dn(N,3);++Ne<Xt;){var pr=w[Ne];N(pr,Ne,w)&&(he.push(pr),Et.push(Ne))}return pl(w,Et),he}function Nc(w){return w==null?w:ka.call(w)}function Ff(w,N,he){var Ne=w==null?0:w.length;return Ne?(he&&typeof he!="number"&&Ws(w,N,he)?(N=0,he=Ne):(N=N==null?0:rs(N),he=he===i?Ne:rs(he)),nu(w,N,he)):[]}function rf(w,N){return hc(w,N)}function vf(w,N,he){return Gl(w,N,dn(he,2))}function Hf(w,N){var he=w==null?0:w.length;if(he){var Ne=hc(w,N);if(Ne<he&&$c(w[Ne],N))return Ne}return-1}function Cf(w,N){return hc(w,N,!0)}function Bf(w,N,he){return Gl(w,N,dn(he,2),!0)}function Nf(w,N){var he=w==null?0:w.length;if(he){var Ne=hc(w,N,!0)-1;if($c(w[Ne],N))return Ne}return-1}function nf(w){return w&&w.length?Hc(w):[]}function $f(w,N){return w&&w.length?Hc(w,dn(N,2)):[]}function Tf(w){var N=w==null?0:w.length;return N?nu(w,1,N):[]}function v(w,N,he){return w&&w.length?(N=he||N===i?1:rs(N),nu(w,0,N<0?0:N)):[]}function A(w,N,he){var Ne=w==null?0:w.length;return Ne?(N=he||N===i?1:rs(N),N=Ne-N,nu(w,N<0?0:N,Ne)):[]}function Z(w,N){return w&&w.length?_c(w,dn(N,3),!1,!0):[]}function ve(w,N){return w&&w.length?_c(w,dn(N,3)):[]}var Le=Ra(function(w){return Gu(ss(w,1,au,!0))}),lt=Ra(function(w){var N=Wo(w);return au(N)&&(N=i),Gu(ss(w,1,au,!0),dn(N,2))}),Ut=Ra(function(w){var N=Wo(w);return N=typeof N=="function"?N:i,Gu(ss(w,1,au,!0),i,N)});function rr(w){return w&&w.length?Gu(w):[]}function P(w,N){return w&&w.length?Gu(w,dn(N,2)):[]}function t(w,N){return N=typeof N=="function"?N:i,w&&w.length?Gu(w,i,N):[]}function n(w){if(!(w&&w.length))return[];var N=0;return w=ja(w,function(he){if(au(he))return N=bi(he.length,N),!0}),lo(N,function(he){return Vi(w,hi(he))})}function o(w,N){if(!(w&&w.length))return[];var he=n(w);return N==null?he:Vi(he,function(Ne){return La(N,i,Ne)})}var m=Ra(function(w,N){return au(w)?za(w,N):[]}),E=Ra(function(w){return Vl(ja(w,au))}),T=Ra(function(w){var N=Wo(w);return au(N)&&(N=i),Vl(ja(w,au),dn(N,2))}),z=Ra(function(w){var N=Wo(w);return N=typeof N=="function"?N:i,Vl(ja(w,au),i,N)}),H=Ra(n);function j(w,N){return no(w||[],N||[],sa)}function se(w,N){return no(w||[],N||[],Ou)}var ce=Ra(function(w){var N=w.length,he=N>1?w[N-1]:i;return he=typeof he=="function"?(w.pop(),he):i,o(w,he)});function xe(w){var N=Se(w);return N.__chain__=!0,N}function Ie(w,N){return N(w),w}function Oe(w,N){return N(w)}var tt=O(function(w){var N=w.length,he=N?w[0]:0,Ne=this.__wrapped__,Et=function(Xt){return Fs(Xt,w)};return N>1||this.__actions__.length||!(Ne instanceof Qr)||!Ro(he)?this.thru(Et):(Ne=Ne.slice(he,+he+(N?1:0)),Ne.__actions__.push({func:Oe,args:[Et],thisArg:i}),new br(Ne,this.__chain__).thru(function(Xt){return N&&!Xt.length&&Xt.push(i),Xt}))});function at(){return xe(this)}function Nt(){return new br(this.value(),this.__chain__)}function dr(){this.__values__===i&&(this.__values__=yd(this.value()));var w=this.__index__>=this.__values__.length,N=w?i:this.__values__[this.__index__++];return{done:w,value:N}}function ar(){return this}function Zr(w){for(var N,he=this;he instanceof Jr;){var Ne=vs(he);Ne.__index__=0,Ne.__values__=i,N?Et.__wrapped__=Ne:N=Ne;var Et=Ne;he=he.__wrapped__}return Et.__wrapped__=w,N}function Gr(){var w=this.__wrapped__;if(w instanceof Qr){var N=w;return this.__actions__.length&&(N=new Qr(this)),N=N.reverse(),N.__actions__.push({func:Oe,args:[Nc],thisArg:i}),new br(N,this.__chain__)}return this.thru(Nc)}function fn(){return Wc(this.__wrapped__,this.__actions__)}var Vr=So(function(w,N,he){ci.call(w,he)?++w[he]:Aa(w,he,1)});function on(w,N,he){var Ne=Wa(w)?Rn:Al;return he&&Ws(w,N,he)&&(N=i),Ne(w,dn(N,3))}function _n(w,N){var he=Wa(w)?ja:gu;return he(w,dn(N,3))}var Xr=Kc(xc),Yn=Kc(Jc);function di(w,N){return ss(wa(w,N),1)}function os(w,N){return ss(wa(w,N),ne)}function ya(w,N,he){return he=he===i?1:rs(he),ss(wa(w,N),he)}function Ji(w,N){var he=Wa(w)?ji:Eo;return he(w,dn(N,3))}function Ri(w,N){var he=Wa(w)?Gs:zs;return he(w,dn(N,3))}var ta=So(function(w,N,he){ci.call(w,he)?w[he].push(N):Aa(w,he,[N])});function qi(w,N,he,Ne){w=$l(w)?w:Zf(w),he=he&&!Ne?rs(he):0;var Et=w.length;return he<0&&(he=bi(Et+he,0)),qf(w)?he<=Et&&w.indexOf(N,he)>-1:!!Et&&cs(w,N,he)>-1}var Xn=Ra(function(w,N,he){var Ne=-1,Et=typeof N=="function",Xt=$l(w)?xr(w.length):[];return Eo(w,function(pr){Xt[++Ne]=Et?La(N,pr,he):ai(pr,N,he)}),Xt}),ii=So(function(w,N,he){Aa(w,he,N)});function wa(w,N){var he=Wa(w)?Vi:bu;return he(w,dn(N,3))}function Sa(w,N,he,Ne){return w==null?[]:(Wa(N)||(N=N==null?[]:[N]),he=Ne?i:he,Wa(he)||(he=he==null?[]:[he]),Tl(w,N,he))}var ts=So(function(w,N,he){w[he?0:1].push(N)},function(){return[[],[]]});function Cs(w,N,he){var Ne=Wa(w)?Da:Fa,Et=arguments.length<3;return Ne(w,dn(N,4),he,Et,Eo)}function js(w,N,he){var Ne=Wa(w)?ms:Fa,Et=arguments.length<3;return Ne(w,dn(N,4),he,Et,zs)}function ao(w,N){var he=Wa(w)?ja:gu;return he(w,of(dn(N,3)))}function Qu(w){var N=Wa(w)?Wn:lf;return N(w)}function dl(w,N,he){(he?Ws(w,N,he):N===i)?N=1:N=rs(N);var Ne=Wa(w)?pi:zc;return Ne(w,N)}function af(w){var N=Wa(w)?Sr:dc;return N(w)}function Kf(w){if(w==null)return 0;if($l(w))return qf(w)?cr(w):w.length;var N=ys(w);return N==Xe||N==Ue?w.size:Cl(w).length}function ed(w,N,he){var Ne=Wa(w)?Bs:Zc;return he&&Ws(w,N,he)&&(N=i),Ne(w,dn(N,3))}var td=Ra(function(w,N){if(w==null)return[];var he=N.length;return he>1&&Ws(w,N[0],N[1])?N=[]:he>2&&Ws(N[0],N[1],N[2])&&(N=[N[0]]),Tl(w,ss(N,1),[])}),Pf=Qn||function(){return Pa.Date.now()};function Wf(w,N){if(typeof N!="function")throw new Nr(s);return w=rs(w),function(){if(--w<1)return N.apply(this,arguments)}}function rd(w,N,he){return N=he?i:N,N=w&&N==null?w.length:N,Bu(w,K,i,i,i,i,N)}function Ts(w,N){var he;if(typeof N!="function")throw new Nr(s);return w=rs(w),function(){return--w>0&&(he=N.apply(this,arguments)),w<=1&&(N=i),he}}var pu=Ra(function(w,N,he){var Ne=R;if(he.length){var Et=Ls(he,$n(pu));Ne|=$}return Bu(w,Ne,N,he,Et)}),wl=Ra(function(w,N,he){var Ne=R|L;if(he.length){var Et=Ls(he,$n(wl));Ne|=$}return Bu(N,Ne,w,he,Et)});function sf(w,N,he){N=he?i:N;var Ne=Bu(w,D,i,i,i,i,i,N);return Ne.placeholder=sf.placeholder,Ne}function Nl(w,N,he){N=he?i:N;var Ne=Bu(w,B,i,i,i,i,i,N);return Ne.placeholder=Nl.placeholder,Ne}function gf(w,N,he){var Ne,Et,Xt,pr,Lr,Yr,On=0,kn=!1,zn=!1,Ti=!0;if(typeof w!="function")throw new Nr(s);N=wc(N)||0,Go(he)&&(kn=!!he.leading,zn="maxWait"in he,Xt=zn?bi(wc(he.maxWait)||0,N):Xt,Ti="trailing"in he?!!he.trailing:Ti);function ra(su){var jc=Ne,Ef=Et;return Ne=Et=i,On=su,pr=w.apply(Ef,jc),pr}function Ca(su){return On=su,Lr=nc(bs,N),kn?ra(su):pr}function us(su){var jc=su-Yr,Ef=su-On,kd=N-jc;return zn?fa(kd,Xt-Ef):kd}function Ta(su){var jc=su-Yr,Ef=su-On;return Yr===i||jc>=N||jc<0||zn&&Ef>=Xt}function bs(){var su=Pf();if(Ta(su))return Ps(su);Lr=nc(bs,us(su))}function Ps(su){return Lr=i,Ti&&Ne?ra(su):(Ne=Et=i,pr)}function ac(){Lr!==i&&ml(Lr),On=0,Ne=Yr=Et=Lr=i}function Sl(){return Lr===i?pr:Ps(Pf())}function sc(){var su=Pf(),jc=Ta(su);if(Ne=arguments,Et=this,Yr=su,jc){if(Lr===i)return Ca(Yr);if(zn)return ml(Lr),Lr=nc(bs,N),ra(Yr)}return Lr===i&&(Lr=nc(bs,N)),pr}return sc.cancel=ac,sc.flush=Sl,sc}var yf=Ra(function(w,N){return Oo(w,1,N)}),Yf=Ra(function(w,N,he){return Oo(w,wc(N)||0,he)});function jf(w){return Bu(w,G)}function kf(w,N){if(typeof w!="function"||N!=null&&typeof N!="function")throw new Nr(s);var he=function(){var Ne=arguments,Et=N?N.apply(this,Ne):Ne[0],Xt=he.cache;if(Xt.has(Et))return Xt.get(Et);var pr=w.apply(this,Ne);return he.cache=Xt.set(Et,pr)||Xt,pr};return he.cache=new(kf.Cache||Pu),he}kf.Cache=Pu;function of(w){if(typeof w!="function")throw new Nr(s);return function(){var N=arguments;switch(N.length){case 0:return!w.call(this);case 1:return!w.call(this,N[0]);case 2:return!w.call(this,N[0],N[1]);case 3:return!w.call(this,N[0],N[1],N[2])}return!w.apply(this,N)}}function Xf(w){return Ts(2,w)}var nd=Ru(function(w,N){N=N.length==1&&Wa(N[0])?Vi(N[0],Qa(dn())):Vi(ss(N,1),Qa(dn()));var he=N.length;return Ra(function(Ne){for(var Et=-1,Xt=fa(Ne.length,he);++Et<Xt;)Ne[Et]=N[Et].call(this,Ne[Et]);return La(w,this,Ne)})}),Uf=Ra(function(w,N){var he=Ls(N,$n(Uf));return Bu(w,$,i,N,he)}),Gf=Ra(function(w,N){var he=Ls(N,$n(Gf));return Bu(w,U,i,N,he)}),Rf=O(function(w,N){return Bu(w,V,i,i,i,N)});function Md(w,N){if(typeof w!="function")throw new Nr(s);return N=N===i?N:rs(N),Ra(w,N)}function Fd(w,N){if(typeof w!="function")throw new Nr(s);return N=N==null?0:bi(rs(N),0),Ra(function(he){var Ne=he[N],Et=$s(he,0,N);return Ne&&Ia(Et,Ne),La(w,this,Et)})}function Bd(w,N,he){var Ne=!0,Et=!0;if(typeof w!="function")throw new Nr(s);return Go(he)&&(Ne="leading"in he?!!he.leading:Ne,Et="trailing"in he?!!he.trailing:Et),gf(w,N,{leading:Ne,maxWait:N,trailing:Et})}function Nd(w){return rd(w,1)}function $d(w,N){return Uf(Ic(N),w)}function jd(){if(!arguments.length)return[];var w=arguments[0];return Wa(w)?w:[w]}function Ud(w){return fi(w,_)}function zd(w,N){return N=typeof N=="function"?N:i,fi(w,_,N)}function Zd(w){return fi(w,p|_)}function Hd(w,N){return N=typeof N=="function"?N:i,fi(w,p|_,N)}function Wd(w,N){return N==null||po(w,N,Uu(N))}function $c(w,N){return w===N||w!==w&&N!==N}var Gd=kl(Uo),Vd=kl(function(w,N){return w>=N}),Lf=Sc(function(){return arguments}())?Sc:function(w){return Jo(w)&&ci.call(w,"callee")&&!Kt.call(w,"callee")},Wa=xr.isArray,Kd=yi?Qa(yi):to;function $l(w){return w!=null&&Qf(w.length)&&!bf(w)}function au(w){return Jo(w)&&$l(w)}function Yd(w){return w===!0||w===!1||Jo(w)&&Zs(w)==Ft}var If=Mi||pd,Xd=Ga?Qa(Ga):uc;function Qd(w){return Jo(w)&&w.nodeType===1&&!Vf(w)}function qd(w){if(w==null)return!0;if($l(w)&&(Wa(w)||typeof w=="string"||typeof w.splice=="function"||If(w)||zf(w)||Lf(w)))return!w.length;var N=ys(w);if(N==Xe||N==Ue)return!w.size;if(ol(w))return!Cl(w).length;for(var he in w)if(ci.call(w,he))return!1;return!0}function Jd(w,N){return tu(w,N)}function e0(w,N,he){he=typeof he=="function"?he:i;var Ne=he?he(w,N):i;return Ne===i?tu(w,N,i,he):!!Ne}function id(w){if(!Jo(w))return!1;var N=Zs(w);return N==qt||N==Pt||typeof w.message=="string"&&typeof w.name=="string"&&!Vf(w)}function t0(w){return typeof w=="number"&&wi(w)}function bf(w){if(!Go(w))return!1;var N=Zs(w);return N==er||N==Jt||N==Fe||N==ht}function _d(w){return typeof w=="number"&&w==rs(w)}function Qf(w){return typeof w=="number"&&w>-1&&w%1==0&&w<=ee}function Go(w){var N=typeof w;return w!=null&&(N=="object"||N=="function")}function Jo(w){return w!=null&&typeof w=="object"}var md=Ds?Qa(Ds):Hu;function r0(w,N){return w===N||lc(w,N,Ha(N))}function n0(w,N,he){return he=typeof he=="function"?he:i,lc(w,N,Ha(N),he)}function i0(w){return vd(w)&&w!=+w}function a0(w){if(xl(w))throw new Hn(f);return Ac(w)}function s0(w){return w===null}function o0(w){return w==null}function vd(w){return typeof w=="number"||Jo(w)&&Zs(w)==It}function Vf(w){if(!Jo(w)||Zs(w)!=st)return!1;var N=Qe(w);if(N===null)return!0;var he=ci.call(N,"constructor")&&N.constructor;return typeof he=="function"&&he instanceof he&&Ss.call(he)==xa}var ad=$i?Qa($i):qs;function u0(w){return _d(w)&&w>=-ee&&w<=ee}var gd=ps?Qa(ps):cc;function qf(w){return typeof w=="string"||!Wa(w)&&Jo(w)&&Zs(w)==ge}function ic(w){return typeof w=="symbol"||Jo(w)&&Zs(w)==Ae}var zf=Co?Qa(Co):uf;function l0(w){return w===i}function c0(w){return Jo(w)&&ys(w)==$e}function f0(w){return Jo(w)&&Zs(w)==He}var d0=kl(Hl),h0=kl(function(w,N){return w<=N});function yd(w){if(!w)return[];if($l(w))return qf(w)?sr(w):$o(w);if(jr&&w[jr])return ou(w[jr]());var N=ys(w),he=N==Xe?jo:N==Ue?bo:Zf;return he(w)}function xf(w){if(!w)return w===0?w:0;if(w=wc(w),w===ne||w===-ne){var N=w<0?-1:1;return N*ie}return w===w?w:0}function rs(w){var N=xf(w),he=N%1;return N===N?he?N-he:N:0}function bd(w){return w?Rs(rs(w),0,M):0}function wc(w){if(typeof w=="number")return w;if(ic(w))return F;if(Go(w)){var N=typeof w.valueOf=="function"?w.valueOf():w;w=Go(N)?N+"":N}if(typeof w!="string")return w===0?w:+w;w=Po(w);var he=or.test(w);return he||vt.test(w)?Ni(w.slice(2),he?2:8):cn.test(w)?F:+w}function xd(w){return fu(w,jl(w))}function p0(w){return w?Rs(rs(w),-ee,ee):w===0?w:0}function Js(w){return w==null?"":zo(w)}var _0=nl(function(w,N){if(ol(N)||$l(N)){fu(N,Uu(N),w);return}for(var he in N)ci.call(N,he)&&sa(w,he,N[he])}),Ed=nl(function(w,N){fu(N,jl(N),w)}),Jf=nl(function(w,N,he,Ne){fu(N,jl(N),w,Ne)}),m0=nl(function(w,N,he,Ne){fu(N,Uu(N),w,Ne)}),v0=O(Fs);function g0(w,N){var he=yr(w);return N==null?he:ws(he,N)}var y0=Ra(function(w,N){w=Vn(w);var he=-1,Ne=N.length,Et=Ne>2?N[2]:i;for(Et&&Ws(N[0],N[1],Et)&&(Ne=1);++he<Ne;)for(var Xt=N[he],pr=jl(Xt),Lr=-1,Yr=pr.length;++Lr<Yr;){var On=pr[Lr],kn=w[On];(kn===i||$c(kn,zr[On])&&!ci.call(w,On))&&(w[On]=Xt[On])}return w}),b0=Ra(function(w){return w.push(i,qo),La(wd,i,w)});function x0(w,N){return uo(w,dn(N,3),wo)}function E0(w,N){return uo(w,dn(N,3),tl)}function w0(w,N){return w==null?w:uu(w,dn(N,3),jl)}function S0(w,N){return w==null?w:yu(w,dn(N,3),jl)}function A0(w,N){return w&&wo(w,dn(N,3))}function C0(w,N){return w&&tl(w,dn(N,3))}function T0(w){return w==null?[]:Iu(w,Uu(w))}function P0(w){return w==null?[]:Iu(w,jl(w))}function sd(w,N,he){var Ne=w==null?i:Yo(w,N);return Ne===i?he:Ne}function I0(w,N){return w!=null&&ec(w,N,Du)}function od(w,N){return w!=null&&ec(w,N,Zl)}var D0=Dl(function(w,N,he){N!=null&&typeof N.toString!="function"&&(N=Os.call(N)),w[N]=he},ld(Ul)),O0=Dl(function(w,N,he){N!=null&&typeof N.toString!="function"&&(N=Os.call(N)),ci.call(w,N)?w[N].push(he):w[N]=[he]},dn),k0=Ra(ai);function Uu(w){return $l(w)?Nn(w):Cl(w)}function jl(w){return $l(w)?Nn(w,!0):Cc(w)}function R0(w,N){var he={};return N=dn(N,3),wo(w,function(Ne,Et,Xt){Aa(he,N(Ne,Et,Xt),Ne)}),he}function L0(w,N){var he={};return N=dn(N,3),wo(w,function(Ne,Et,Xt){Aa(he,Et,N(Ne,Et,Xt))}),he}var M0=nl(function(w,N,he){ro(w,N,he)}),wd=nl(function(w,N,he,Ne){ro(w,N,he,Ne)}),F0=O(function(w,N){var he={};if(w==null)return he;var Ne=!1;N=Vi(N,function(Xt){return Xt=ku(Xt,w),Ne||(Ne=Xt.length>1),Xt}),fu(w,me(w),he),Ne&&(he=fi(he,p|y|_,gc));for(var Et=N.length;Et--;)Pl(he,N[Et]);return he});function B0(w,N){return Sd(w,of(dn(N)))}var N0=O(function(w,N){return w==null?{}:ru(w,N)});function Sd(w,N){if(w==null)return{};var he=Vi(me(w),function(Ne){return[Ne]});return N=dn(N),Tc(w,he,function(Ne,Et){return N(Ne,Et[0])})}function $0(w,N,he){N=ku(N,w);var Ne=-1,Et=N.length;for(Et||(Et=1,w=i);++Ne<Et;){var Xt=w==null?i:w[zi(N[Ne])];Xt===i&&(Ne=Et,Xt=he),w=bf(Xt)?Xt.call(w):Xt}return w}function j0(w,N,he){return w==null?w:Ou(w,N,he)}function U0(w,N,he,Ne){return Ne=typeof Ne=="function"?Ne:i,w==null?w:Ou(w,N,he,Ne)}var Ad=Fu(Uu),Cd=Fu(jl);function z0(w,N,he){var Ne=Wa(w),Et=Ne||If(w)||zf(w);if(N=dn(N,4),he==null){var Xt=w&&w.constructor;Et?he=Ne?new Xt:[]:Go(w)?he=bf(Xt)?yr(Qe(w)):{}:he={}}return(Et?ji:wo)(w,function(pr,Lr,Yr){return N(he,pr,Lr,Yr)}),he}function Z0(w,N){return w==null?!0:Pl(w,N)}function H0(w,N,he){return w==null?w:Eu(w,N,Ic(he))}function W0(w,N,he,Ne){return Ne=typeof Ne=="function"?Ne:i,w==null?w:Eu(w,N,Ic(he),Ne)}function Zf(w){return w==null?[]:Lo(w,Uu(w))}function G0(w){return w==null?[]:Lo(w,jl(w))}function V0(w,N,he){return he===i&&(he=N,N=i),he!==i&&(he=wc(he),he=he===he?he:0),N!==i&&(N=wc(N),N=N===N?N:0),Rs(wc(w),N,he)}function K0(w,N,he){return N=xf(N),he===i?(he=N,N=0):he=xf(he),w=wc(w),lu(w,N,he)}function Y0(w,N,he){if(he&&typeof he!="boolean"&&Ws(w,N,he)&&(N=he=i),he===i&&(typeof N=="boolean"?(he=N,N=i):typeof w=="boolean"&&(he=w,w=i)),w===i&&N===i?(w=0,N=1):(w=xf(w),N===i?(N=w,w=0):N=xf(N)),w>N){var Ne=w;w=N,N=Ne}if(he||w%1||N%1){var Et=Wi();return fa(w+Et*(N-w+ui("1e-"+((Et+"").length-1))),N)}return xu(w,N)}var X0=il(function(w,N,he){return N=N.toLowerCase(),w+(he?Td(N):N)});function Td(w){return ud(Js(w).toLowerCase())}function Pd(w){return w=Js(w),w&&w.replace(jt,fo).replace(Er,"")}function Q0(w,N,he){w=Js(w),N=zo(N);var Ne=w.length;he=he===i?Ne:Rs(rs(he),0,Ne);var Et=he;return he-=N.length,he>=0&&w.slice(he,Et)==N}function q0(w){return w=Js(w),w&&dt.test(w)?w.replace(Ot,fs):w}function J0(w){return w=Js(w),w&&Rt.test(w)?w.replace(gt,"\\$&"):w}var eh=il(function(w,N,he){return w+(he?"-":"")+N.toLowerCase()}),th=il(function(w,N,he){return w+(he?" ":"")+N.toLowerCase()}),rh=Zo("toLowerCase");function nh(w,N,he){w=Js(w),N=rs(N);var Ne=N?cr(w):0;if(!N||Ne>=N)return w;var Et=(N-Ne)/2;return gl(Ii(Et),he)+w+gl(_i(Et),he)}function ih(w,N,he){w=Js(w),N=rs(N);var Ne=N?cr(w):0;return N&&Ne<N?w+gl(N-Ne,he):w}function ah(w,N,he){w=Js(w),N=rs(N);var Ne=N?cr(w):0;return N&&Ne<N?gl(N-Ne,he)+w:w}function sh(w,N,he){return he||N==null?N=0:N&&(N=+N),Es(Js(w).replace(Be,""),N||0)}function oh(w,N,he){return(he?Ws(w,N,he):N===i)?N=1:N=rs(N),_l(Js(w),N)}function uh(){var w=arguments,N=Js(w[0]);return w.length<3?N:N.replace(w[1],w[2])}var lh=il(function(w,N,he){return w+(he?"_":"")+N.toLowerCase()});function ch(w,N,he){return he&&typeof he!="number"&&Ws(w,N,he)&&(N=he=i),he=he===i?M:he>>>0,he?(w=Js(w),w&&(typeof N=="string"||N!=null&&!ad(N))&&(N=zo(N),!N&&Io(w))?$s(sr(w),0,he):w.split(N,he)):[]}var fh=il(function(w,N,he){return w+(he?" ":"")+ud(N)});function dh(w,N,he){return w=Js(w),he=he==null?0:Rs(rs(he),0,w.length),N=zo(N),w.slice(he,he+N.length)==N}function hh(w,N,he){var Ne=Se.templateSettings;he&&Ws(w,N,he)&&(N=i),w=Js(w),N=Jf({},N,Ne,iu);var Et=Jf({},N.imports,Ne.imports,iu),Xt=Uu(Et),pr=Lo(Et,Xt),Lr,Yr,On=0,kn=N.interpolate||Cr,zn="__p += '",Ti=li((N.escape||Cr).source+"|"+kn.source+"|"+(kn===ke?Ur:Cr).source+"|"+(N.evaluate||Cr).source+"|$","g"),ra="//# sourceURL="+(ci.call(N,"sourceURL")?(N.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rn+"]")+`
`;w.replace(Ti,function(Ta,bs,Ps,ac,Sl,sc){return Ps||(Ps=ac),zn+=w.slice(On,sc).replace(gr,zu),bs&&(Lr=!0,zn+=`' +
__e(`+bs+`) +
'`),Sl&&(Yr=!0,zn+=`';
`+Sl+`;
__p += '`),Ps&&(zn+=`' +
((__t = (`+Ps+`)) == null ? '' : __t) +
'`),On=sc+Ta.length,Ta}),zn+=`';
`;var Ca=ci.call(N,"variable")&&N.variable;if(!Ca)zn=`with (obj) {
`+zn+`
}
`;else if(Br.test(Ca))throw new Hn(h);zn=(Yr?zn.replace(Yt,""):zn).replace(We,"$1").replace(fe,"$1;"),zn="function("+(Ca||"obj")+`) {
`+(Ca?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(Lr?", __e = _.escape":"")+(Yr?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+zn+`return __p
}`;var us=Dd(function(){return ft(Xt,ra+"return "+zn).apply(i,pr)});if(us.source=zn,id(us))throw us;return us}function ph(w){return Js(w).toLowerCase()}function _h(w){return Js(w).toUpperCase()}function mh(w,N,he){if(w=Js(w),w&&(he||N===i))return Po(w);if(!w||!(N=zo(N)))return w;var Ne=sr(w),Et=sr(N),Xt=Ko(Ne,Et),pr=Tu(Ne,Et)+1;return $s(Ne,Xt,pr).join("")}function vh(w,N,he){if(w=Js(w),w&&(he||N===i))return w.slice(0,vr(w)+1);if(!w||!(N=zo(N)))return w;var Ne=sr(w),Et=Tu(Ne,sr(N))+1;return $s(Ne,0,Et).join("")}function gh(w,N,he){if(w=Js(w),w&&(he||N===i))return w.replace(Be,"");if(!w||!(N=zo(N)))return w;var Ne=sr(w),Et=Ko(Ne,sr(N));return $s(Ne,Et).join("")}function yh(w,N){var he=oe,Ne=ae;if(Go(N)){var Et="separator"in N?N.separator:Et;he="length"in N?rs(N.length):he,Ne="omission"in N?zo(N.omission):Ne}w=Js(w);var Xt=w.length;if(Io(w)){var pr=sr(w);Xt=pr.length}if(he>=Xt)return w;var Lr=he-cr(Ne);if(Lr<1)return Ne;var Yr=pr?$s(pr,0,Lr).join(""):w.slice(0,Lr);if(Et===i)return Yr+Ne;if(pr&&(Lr+=Yr.length-Lr),ad(Et)){if(w.slice(Lr).search(Et)){var On,kn=Yr;for(Et.global||(Et=li(Et.source,Js(sn.exec(Et))+"g")),Et.lastIndex=0;On=Et.exec(kn);)var zn=On.index;Yr=Yr.slice(0,zn===i?Lr:zn)}}else if(w.indexOf(zo(Et),Lr)!=Lr){var Ti=Yr.lastIndexOf(Et);Ti>-1&&(Yr=Yr.slice(0,Ti))}return Yr+Ne}function bh(w){return w=Js(w),w&&Pe.test(w)?w.replace(_e,wr):w}var xh=il(function(w,N,he){return w+(he?" ":"")+N.toUpperCase()}),ud=Zo("toUpperCase");function Id(w,N,he){return w=Js(w),N=he?i:N,N===i?Us(w)?Un(w):Vo(w):w.match(N)||[]}var Dd=Ra(function(w,N){try{return La(w,i,N)}catch(he){return id(he)?he:new Hn(he)}}),Eh=O(function(w,N){return ji(N,function(he){he=zi(he),Aa(w,he,pu(w[he],w))}),w});function wh(w){var N=w==null?0:w.length,he=dn();return w=N?Vi(w,function(Ne){if(typeof Ne[1]!="function")throw new Nr(s);return[he(Ne[0]),Ne[1]]}):[],Ra(function(Ne){for(var Et=-1;++Et<N;){var Xt=w[Et];if(La(Xt[0],this,Ne))return La(Xt[1],this,Ne)}})}function Sh(w){return Qs(fi(w,p))}function ld(w){return function(){return w}}function Ah(w,N){return w==null||w!==w?N:w}var Ch=oo(),Th=oo(!0);function Ul(w){return w}function cd(w){return Bo(typeof w=="function"?w:fi(w,p))}function Ph(w){return Wl(fi(w,p))}function Ih(w,N){return Hs(w,fi(N,p))}var Dh=Ra(function(w,N){return function(he){return ai(he,w,N)}}),Oh=Ra(function(w,N){return function(he){return ai(w,he,N)}});function fd(w,N,he){var Ne=Uu(N),Et=Iu(N,Ne);he==null&&!(Go(N)&&(Et.length||!Ne.length))&&(he=N,N=w,w=this,Et=Iu(N,Uu(N)));var Xt=!(Go(he)&&"chain"in he)||!!he.chain,pr=bf(w);return ji(Et,function(Lr){var Yr=N[Lr];w[Lr]=Yr,pr&&(w.prototype[Lr]=function(){var On=this.__chain__;if(Xt||On){var kn=w(this.__wrapped__),zn=kn.__actions__=$o(this.__actions__);return zn.push({func:Yr,args:arguments,thisArg:w}),kn.__chain__=On,kn}return Yr.apply(w,Ia([this.value()],arguments))})}),w}function kh(){return Pa._===this&&(Pa._=ds),this}function dd(){}function Rh(w){return w=rs(w),Ra(function(N){return Wu(N,w)})}var Lh=Ql(Vi),Mh=Ql(Rn),Fh=Ql(Bs);function Od(w){return Ja(w)?hi(zi(w)):cu(w)}function Bh(w){return function(N){return w==null?i:Yo(w,N)}}var Nh=df(),$h=df(!0);function hd(){return[]}function pd(){return!1}function jh(){return{}}function Uh(){return""}function zh(){return!0}function Zh(w,N){if(w=rs(w),w<1||w>ee)return[];var he=M,Ne=fa(w,M);N=dn(N),w-=M;for(var Et=lo(Ne,N);++he<w;)N(he);return Et}function Hh(w){return Wa(w)?Vi(w,zi):ic(w)?[w]:$o(Ea(Js(w)))}function Wh(w){var N=++Vs;return Js(w)+N}var Gh=Xl(function(w,N){return w+N},0),Vh=yl("ceil"),Kh=Xl(function(w,N){return w/N},1),Yh=yl("floor");function Xh(w){return w&&w.length?Ju(w,Ul,Uo):i}function Qh(w,N){return w&&w.length?Ju(w,dn(N,2),Uo):i}function qh(w){return go(w,Ul)}function Jh(w,N){return go(w,dn(N,2))}function ep(w){return w&&w.length?Ju(w,Ul,Hl):i}function tp(w,N){return w&&w.length?Ju(w,dn(N,2),Hl):i}var rp=Xl(function(w,N){return w*N},1),np=yl("round"),ip=Xl(function(w,N){return w-N},0);function ap(w){return w&&w.length?Xa(w,Ul):0}function sp(w,N){return w&&w.length?Xa(w,dn(N,2)):0}return Se.after=Wf,Se.ary=rd,Se.assign=_0,Se.assignIn=Ed,Se.assignInWith=Jf,Se.assignWith=m0,Se.at=v0,Se.before=Ts,Se.bind=pu,Se.bindAll=Eh,Se.bindKey=wl,Se.castArray=jd,Se.chain=xe,Se.chunk=Ki,Se.compact=es,Se.concat=Ku,Se.cond=wh,Se.conforms=Sh,Se.constant=ld,Se.countBy=Vr,Se.create=g0,Se.curry=sf,Se.curryRight=Nl,Se.debounce=gf,Se.defaults=y0,Se.defaultsDeep=b0,Se.defer=yf,Se.delay=Yf,Se.difference=ju,Se.differenceBy=Yu,Se.differenceWith=ul,Se.drop=ll,Se.dropRight=Df,Se.dropRightWhile=wf,Se.dropWhile=Fl,Se.fill=Sf,Se.filter=_n,Se.flatMap=di,Se.flatMapDeep=os,Se.flatMapDepth=ya,Se.flatten=hf,Se.flattenDeep=cl,Se.flattenDepth=Of,Se.flip=jf,Se.flow=Ch,Se.flowRight=Th,Se.fromPairs=Xu,Se.functions=T0,Se.functionsIn=P0,Se.groupBy=ta,Se.initial=Ho,Se.intersection=tf,Se.intersectionBy=pf,Se.intersectionWith=fl,Se.invert=D0,Se.invertBy=O0,Se.invokeMap=Xn,Se.iteratee=cd,Se.keyBy=ii,Se.keys=Uu,Se.keysIn=jl,Se.map=wa,Se.mapKeys=R0,Se.mapValues=L0,Se.matches=Ph,Se.matchesProperty=Ih,Se.memoize=kf,Se.merge=M0,Se.mergeWith=wd,Se.method=Dh,Se.methodOf=Oh,Se.mixin=fd,Se.negate=of,Se.nthArg=Rh,Se.omit=F0,Se.omitBy=B0,Se.once=Xf,Se.orderBy=Sa,Se.over=Lh,Se.overArgs=nd,Se.overEvery=Mh,Se.overSome=Fh,Se.partial=Uf,Se.partialRight=Gf,Se.partition=ts,Se.pick=N0,Se.pickBy=Sd,Se.property=Od,Se.propertyOf=Bh,Se.pull=Mc,Se.pullAll=Fc,Se.pullAllBy=mf,Se.pullAllWith=Bc,Se.pullAt=Af,Se.range=Nh,Se.rangeRight=$h,Se.rearg=Rf,Se.reject=ao,Se.remove=Mf,Se.rest=Md,Se.reverse=Nc,Se.sampleSize=dl,Se.set=j0,Se.setWith=U0,Se.shuffle=af,Se.slice=Ff,Se.sortBy=td,Se.sortedUniq=nf,Se.sortedUniqBy=$f,Se.split=ch,Se.spread=Fd,Se.tail=Tf,Se.take=v,Se.takeRight=A,Se.takeRightWhile=Z,Se.takeWhile=ve,Se.tap=Ie,Se.throttle=Bd,Se.thru=Oe,Se.toArray=yd,Se.toPairs=Ad,Se.toPairsIn=Cd,Se.toPath=Hh,Se.toPlainObject=xd,Se.transform=z0,Se.unary=Nd,Se.union=Le,Se.unionBy=lt,Se.unionWith=Ut,Se.uniq=rr,Se.uniqBy=P,Se.uniqWith=t,Se.unset=Z0,Se.unzip=n,Se.unzipWith=o,Se.update=H0,Se.updateWith=W0,Se.values=Zf,Se.valuesIn=G0,Se.without=m,Se.words=Id,Se.wrap=$d,Se.xor=E,Se.xorBy=T,Se.xorWith=z,Se.zip=H,Se.zipObject=j,Se.zipObjectDeep=se,Se.zipWith=ce,Se.entries=Ad,Se.entriesIn=Cd,Se.extend=Ed,Se.extendWith=Jf,fd(Se,Se),Se.add=Gh,Se.attempt=Dd,Se.camelCase=X0,Se.capitalize=Td,Se.ceil=Vh,Se.clamp=V0,Se.clone=Ud,Se.cloneDeep=Zd,Se.cloneDeepWith=Hd,Se.cloneWith=zd,Se.conformsTo=Wd,Se.deburr=Pd,Se.defaultTo=Ah,Se.divide=Kh,Se.endsWith=Q0,Se.eq=$c,Se.escape=q0,Se.escapeRegExp=J0,Se.every=on,Se.find=Xr,Se.findIndex=xc,Se.findKey=x0,Se.findLast=Yn,Se.findLastIndex=Jc,Se.findLastKey=E0,Se.floor=Yh,Se.forEach=Ji,Se.forEachRight=Ri,Se.forIn=w0,Se.forInRight=S0,Se.forOwn=A0,Se.forOwnRight=C0,Se.get=sd,Se.gt=Gd,Se.gte=Vd,Se.has=I0,Se.hasIn=od,Se.head=Lc,Se.identity=Ul,Se.includes=qi,Se.indexOf=ef,Se.inRange=K0,Se.invoke=k0,Se.isArguments=Lf,Se.isArray=Wa,Se.isArrayBuffer=Kd,Se.isArrayLike=$l,Se.isArrayLikeObject=au,Se.isBoolean=Yd,Se.isBuffer=If,Se.isDate=Xd,Se.isElement=Qd,Se.isEmpty=qd,Se.isEqual=Jd,Se.isEqualWith=e0,Se.isError=id,Se.isFinite=t0,Se.isFunction=bf,Se.isInteger=_d,Se.isLength=Qf,Se.isMap=md,Se.isMatch=r0,Se.isMatchWith=n0,Se.isNaN=i0,Se.isNative=a0,Se.isNil=o0,Se.isNull=s0,Se.isNumber=vd,Se.isObject=Go,Se.isObjectLike=Jo,Se.isPlainObject=Vf,Se.isRegExp=ad,Se.isSafeInteger=u0,Se.isSet=gd,Se.isString=qf,Se.isSymbol=ic,Se.isTypedArray=zf,Se.isUndefined=l0,Se.isWeakMap=c0,Se.isWeakSet=f0,Se.join=Bl,Se.kebabCase=eh,Se.last=Wo,Se.lastIndexOf=Ec,Se.lowerCase=th,Se.lowerFirst=rh,Se.lt=d0,Se.lte=h0,Se.max=Xh,Se.maxBy=Qh,Se.mean=qh,Se.meanBy=Jh,Se.min=ep,Se.minBy=tp,Se.stubArray=hd,Se.stubFalse=pd,Se.stubObject=jh,Se.stubString=Uh,Se.stubTrue=zh,Se.multiply=rp,Se.nth=_f,Se.noConflict=kh,Se.noop=dd,Se.now=Pf,Se.pad=nh,Se.padEnd=ih,Se.padStart=ah,Se.parseInt=sh,Se.random=Y0,Se.reduce=Cs,Se.reduceRight=js,Se.repeat=oh,Se.replace=uh,Se.result=$0,Se.round=np,Se.runInContext=ur,Se.sample=Qu,Se.size=Kf,Se.snakeCase=lh,Se.some=ed,Se.sortedIndex=rf,Se.sortedIndexBy=vf,Se.sortedIndexOf=Hf,Se.sortedLastIndex=Cf,Se.sortedLastIndexBy=Bf,Se.sortedLastIndexOf=Nf,Se.startCase=fh,Se.startsWith=dh,Se.subtract=ip,Se.sum=ap,Se.sumBy=sp,Se.template=hh,Se.times=Zh,Se.toFinite=xf,Se.toInteger=rs,Se.toLength=bd,Se.toLower=ph,Se.toNumber=wc,Se.toSafeInteger=p0,Se.toString=Js,Se.toUpper=_h,Se.trim=mh,Se.trimEnd=vh,Se.trimStart=gh,Se.truncate=yh,Se.unescape=bh,Se.uniqueId=Wh,Se.upperCase=xh,Se.upperFirst=ud,Se.each=Ji,Se.eachRight=Ri,Se.first=Lc,fd(Se,function(){var w={};return wo(Se,function(N,he){ci.call(Se.prototype,he)||(w[he]=N)}),w}(),{chain:!1}),Se.VERSION=l,ji(["bind","bindKey","curry","curryRight","partial","partialRight"],function(w){Se[w].placeholder=Se}),ji(["drop","take"],function(w,N){Qr.prototype[w]=function(he){he=he===i?1:bi(rs(he),0);var Ne=this.__filtered__&&!N?new Qr(this):this.clone();return Ne.__filtered__?Ne.__takeCount__=fa(he,Ne.__takeCount__):Ne.__views__.push({size:fa(he,M),type:w+(Ne.__dir__<0?"Right":"")}),Ne},Qr.prototype[w+"Right"]=function(he){return this.reverse()[w](he).reverse()}}),ji(["filter","map","takeWhile"],function(w,N){var he=N+1,Ne=he==J||he==ue;Qr.prototype[w]=function(Et){var Xt=this.clone();return Xt.__iteratees__.push({iteratee:dn(Et,3),type:he}),Xt.__filtered__=Xt.__filtered__||Ne,Xt}}),ji(["head","last"],function(w,N){var he="take"+(N?"Right":"");Qr.prototype[w]=function(){return this[he](1).value()[0]}}),ji(["initial","tail"],function(w,N){var he="drop"+(N?"":"Right");Qr.prototype[w]=function(){return this.__filtered__?new Qr(this):this[he](1)}}),Qr.prototype.compact=function(){return this.filter(Ul)},Qr.prototype.find=function(w){return this.filter(w).head()},Qr.prototype.findLast=function(w){return this.reverse().find(w)},Qr.prototype.invokeMap=Ra(function(w,N){return typeof w=="function"?new Qr(this):this.map(function(he){return ai(he,w,N)})}),Qr.prototype.reject=function(w){return this.filter(of(dn(w)))},Qr.prototype.slice=function(w,N){w=rs(w);var he=this;return he.__filtered__&&(w>0||N<0)?new Qr(he):(w<0?he=he.takeRight(-w):w&&(he=he.drop(w)),N!==i&&(N=rs(N),he=N<0?he.dropRight(-N):he.take(N-w)),he)},Qr.prototype.takeRightWhile=function(w){return this.reverse().takeWhile(w).reverse()},Qr.prototype.toArray=function(){return this.take(M)},wo(Qr.prototype,function(w,N){var he=/^(?:filter|find|map|reject)|While$/.test(N),Ne=/^(?:head|last)$/.test(N),Et=Se[Ne?"take"+(N=="last"?"Right":""):N],Xt=Ne||/^find/.test(N);Et&&(Se.prototype[N]=function(){var pr=this.__wrapped__,Lr=Ne?[1]:arguments,Yr=pr instanceof Qr,On=Lr[0],kn=Yr||Wa(pr),zn=function(bs){var Ps=Et.apply(Se,Ia([bs],Lr));return Ne&&Ti?Ps[0]:Ps};kn&&he&&typeof On=="function"&&On.length!=1&&(Yr=kn=!1);var Ti=this.__chain__,ra=!!this.__actions__.length,Ca=Xt&&!Ti,us=Yr&&!ra;if(!Xt&&kn){pr=us?pr:new Qr(this);var Ta=w.apply(pr,Lr);return Ta.__actions__.push({func:Oe,args:[zn],thisArg:i}),new br(Ta,Ti)}return Ca&&us?w.apply(this,Lr):(Ta=this.thru(zn),Ca?Ne?Ta.value()[0]:Ta.value():Ta)})}),ji(["pop","push","shift","sort","splice","unshift"],function(w){var N=Li[w],he=/^(?:push|sort|unshift)$/.test(w)?"tap":"thru",Ne=/^(?:pop|shift)$/.test(w);Se.prototype[w]=function(){var Et=arguments;if(Ne&&!this.__chain__){var Xt=this.value();return N.apply(Wa(Xt)?Xt:[],Et)}return this[he](function(pr){return N.apply(Wa(pr)?pr:[],Et)})}}),wo(Qr.prototype,function(w,N){var he=Se[N];if(he){var Ne=he.name+"";ci.call(so,Ne)||(so[Ne]=[]),so[Ne].push({name:N,func:he})}}),so[du(i,L).name]=[{name:"wrapper",func:i}],Qr.prototype.clone=Cn,Qr.prototype.reverse=ri,Qr.prototype.value=Fi,Se.prototype.at=tt,Se.prototype.chain=at,Se.prototype.commit=Nt,Se.prototype.next=dr,Se.prototype.plant=Zr,Se.prototype.reverse=Gr,Se.prototype.toJSON=Se.prototype.valueOf=Se.prototype.value=fn,Se.prototype.first=Se.prototype.head,jr&&(Se.prototype[jr]=ar),Se},Gn=Ln();Pa._=Gn,r=function(){return Gn}.call(g,e,g,d),r!==i&&(d.exports=r)}).call(this)},28440:function(d,g,e){var r=e(50097),i=e(63323),l=i(function(c,f,s){r(c,f,s)});d.exports=l},55950:function(d){function g(){return!1}d.exports=g},20480:function(d,g,e){var r=e(95378),i=e(56730);function l(c){return r(c,i(c))}d.exports=l},32834:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";function g(Tt,ke){for(var St=0;St<ke.length;St++){var be=ke[St];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(Tt,be.key,be)}}function e(Tt,ke,St){return ke&&g(Tt.prototype,ke),St&&g(Tt,St),Tt}function r(Tt,ke){if(Tt){if(typeof Tt=="string")return i(Tt,ke);var St=Object.prototype.toString.call(Tt).slice(8,-1);if(St==="Object"&&Tt.constructor&&(St=Tt.constructor.name),St==="Map"||St==="Set")return Array.from(Tt);if(St==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(St))return i(Tt,ke)}}function i(Tt,ke){(ke==null||ke>Tt.length)&&(ke=Tt.length);for(var St=0,be=new Array(ke);St<ke;St++)be[St]=Tt[St];return be}function l(Tt,ke){var St=typeof Symbol!="undefined"&&Tt[Symbol.iterator]||Tt["@@iterator"];if(St)return(St=St.call(Tt)).next.bind(St);if(Array.isArray(Tt)||(St=r(Tt))||ke&&Tt&&typeof Tt.length=="number"){St&&(Tt=St);var be=0;return function(){return be>=Tt.length?{done:!0}:{done:!1,value:Tt[be++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c={exports:{}};function f(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function s(Tt){c.exports.defaults=Tt}c.exports={defaults:f(),getDefaults:f,changeDefaults:s};var h=/[&<>"']/,u=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,x=/[<>"']|&(?!#?\w+;)/g,p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},y=function(ke){return p[ke]};function _(Tt,ke){if(ke){if(h.test(Tt))return Tt.replace(u,y)}else if(a.test(Tt))return Tt.replace(x,y);return Tt}var b=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function S(Tt){return Tt.replace(b,function(ke,St){return St=St.toLowerCase(),St==="colon"?":":St.charAt(0)==="#"?St.charAt(1)==="x"?String.fromCharCode(parseInt(St.substring(2),16)):String.fromCharCode(+St.substring(1)):""})}var R=/(^|[^\[])\^/g;function L(Tt,ke){Tt=Tt.source||Tt,ke=ke||"";var St={replace:function(Ke,gt){return gt=gt.source||gt,gt=gt.replace(R,"$1"),Tt=Tt.replace(Ke,gt),St},getRegex:function(){return new RegExp(Tt,ke)}};return St}var C=/[^\w:]/g,D=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function B(Tt,ke,St){if(Tt){var be;try{be=decodeURIComponent(S(St)).replace(C,"").toLowerCase()}catch(Ke){return null}if(be.indexOf("javascript:")===0||be.indexOf("vbscript:")===0||be.indexOf("data:")===0)return null}ke&&!D.test(St)&&(St=G(ke,St));try{St=encodeURI(St).replace(/%25/g,"%")}catch(Ke){return null}return St}var $={},U=/^[^:]+:\/*[^/]*$/,K=/^([^:]+:)[\s\S]*$/,V=/^([^:]+:\/*[^/]*)[\s\S]*$/;function G(Tt,ke){$[" "+Tt]||(U.test(Tt)?$[" "+Tt]=Tt+"/":$[" "+Tt]=q(Tt,"/",!0)),Tt=$[" "+Tt];var St=Tt.indexOf(":")===-1;return ke.substring(0,2)==="//"?St?ke:Tt.replace(K,"$1")+ke:ke.charAt(0)==="/"?St?ke:Tt.replace(V,"$1")+ke:Tt+ke}var oe={exec:function(){}};function ae(Tt){for(var ke=1,St,be;ke<arguments.length;ke++){St=arguments[ke];for(be in St)Object.prototype.hasOwnProperty.call(St,be)&&(Tt[be]=St[be])}return Tt}function le(Tt,ke){var St=Tt.replace(/\|/g,function(gt,Rt,Be){for(var kr=!1,At=Rt;--At>=0&&Be[At]==="\\";)kr=!kr;return kr?"|":" |"}),be=St.split(/ \|/),Ke=0;if(be.length>ke)be.splice(ke);else for(;be.length<ke;)be.push("");for(;Ke<be.length;Ke++)be[Ke]=be[Ke].trim().replace(/\\\|/g,"|");return be}function q(Tt,ke,St){var be=Tt.length;if(be===0)return"";for(var Ke=0;Ke<be;){var gt=Tt.charAt(be-Ke-1);if(gt===ke&&!St)Ke++;else if(gt!==ke&&St)Ke++;else break}return Tt.substr(0,be-Ke)}function J(Tt,ke){if(Tt.indexOf(ke[1])===-1)return-1;for(var St=Tt.length,be=0,Ke=0;Ke<St;Ke++)if(Tt[Ke]==="\\")Ke++;else if(Tt[Ke]===ke[0])be++;else if(Tt[Ke]===ke[1]&&(be--,be<0))return Ke;return-1}function Y(Tt){Tt&&Tt.sanitize&&!Tt.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function ue(Tt,ke){if(ke<1)return"";for(var St="";ke>1;)ke&1&&(St+=Tt),ke>>=1,Tt+=Tt;return St+Tt}var ne={escape:_,unescape:S,edit:L,cleanUrl:B,resolveUrl:G,noopTest:oe,merge:ae,splitCells:le,rtrim:q,findClosingBracket:J,checkSanitizeDeprecation:Y,repeatString:ue},ee=c.exports.defaults,ie=ne.rtrim,F=ne.splitCells,M=ne.escape,Q=ne.findClosingBracket;function de(Tt,ke,St){var be=ke.href,Ke=ke.title?M(ke.title):null,gt=Tt[1].replace(/\\([\[\]])/g,"$1");return Tt[0].charAt(0)!=="!"?{type:"link",raw:St,href:be,title:Ke,text:gt}:{type:"image",raw:St,href:be,title:Ke,text:M(gt)}}function we(Tt,ke){var St=Tt.match(/^(\s+)(?:```)/);if(St===null)return ke;var be=St[1];return ke.split(`
`).map(function(Ke){var gt=Ke.match(/^\s+/);if(gt===null)return Ke;var Rt=gt[0];return Rt.length>=be.length?Ke.slice(be.length):Ke}).join(`
`)}var Ce=function(){function Tt(St){this.options=St||ee}var ke=Tt.prototype;return ke.space=function(be){var Ke=this.rules.block.newline.exec(be);if(Ke)return Ke[0].length>1?{type:"space",raw:Ke[0]}:{raw:`
`}},ke.code=function(be){var Ke=this.rules.block.code.exec(be);if(Ke){var gt=Ke[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:Ke[0],codeBlockStyle:"indented",text:this.options.pedantic?gt:ie(gt,`
`)}}},ke.fences=function(be){var Ke=this.rules.block.fences.exec(be);if(Ke){var gt=Ke[0],Rt=we(gt,Ke[3]||"");return{type:"code",raw:gt,lang:Ke[2]?Ke[2].trim():Ke[2],text:Rt}}},ke.heading=function(be){var Ke=this.rules.block.heading.exec(be);if(Ke){var gt=Ke[2].trim();if(/#$/.test(gt)){var Rt=ie(gt,"#");(this.options.pedantic||!Rt||/ $/.test(Rt))&&(gt=Rt.trim())}return{type:"heading",raw:Ke[0],depth:Ke[1].length,text:gt}}},ke.nptable=function(be){var Ke=this.rules.block.nptable.exec(be);if(Ke){var gt={type:"table",header:F(Ke[1].replace(/^ *| *\| *$/g,"")),align:Ke[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ke[3]?Ke[3].replace(/\n$/,"").split(`
`):[],raw:Ke[0]};if(gt.header.length===gt.align.length){var Rt=gt.align.length,Be;for(Be=0;Be<Rt;Be++)/^ *-+: *$/.test(gt.align[Be])?gt.align[Be]="right":/^ *:-+: *$/.test(gt.align[Be])?gt.align[Be]="center":/^ *:-+ *$/.test(gt.align[Be])?gt.align[Be]="left":gt.align[Be]=null;for(Rt=gt.cells.length,Be=0;Be<Rt;Be++)gt.cells[Be]=F(gt.cells[Be],gt.header.length);return gt}}},ke.hr=function(be){var Ke=this.rules.block.hr.exec(be);if(Ke)return{type:"hr",raw:Ke[0]}},ke.blockquote=function(be){var Ke=this.rules.block.blockquote.exec(be);if(Ke){var gt=Ke[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Ke[0],text:gt}}},ke.list=function(be){var Ke=this.rules.block.list.exec(be);if(Ke){var gt=Ke[0],Rt=Ke[2],Be=Rt.length>1,kr={type:"list",raw:gt,ordered:Be,start:Be?+Rt.slice(0,-1):"",loose:!1,items:[]},At=Ke[0].match(this.rules.block.item),Kr=!1,qr,Ar,Br,_r,Ur,sn,cn,or,Lt,vt=At.length;Br=this.rules.block.listItemStart.exec(At[0]);for(var yt=0;yt<vt;yt++){if(qr=At[yt],gt=qr,this.options.pedantic||(Lt=qr.match(new RegExp("\\n\\s*\\n {0,"+(Br[0].length-1)+"}\\S")),Lt&&(Ur=qr.length-Lt.index+At.slice(yt+1).join(`
`).length,kr.raw=kr.raw.substring(0,kr.raw.length-Ur),qr=qr.substring(0,Lt.index),gt=qr,vt=yt+1)),yt!==vt-1){if(_r=this.rules.block.listItemStart.exec(At[yt+1]),this.options.pedantic?_r[1].length>Br[1].length:_r[1].length>=Br[0].length||_r[1].length>3){At.splice(yt,2,At[yt]+(!this.options.pedantic&&_r[1].length<Br[0].length&&!At[yt].match(/\n$/)?"":`
`)+At[yt+1]),yt--,vt--;continue}else(!this.options.pedantic||this.options.smartLists?_r[2][_r[2].length-1]!==Rt[Rt.length-1]:Be===(_r[2].length===1))&&(Ur=At.slice(yt+1).join(`
`).length,kr.raw=kr.raw.substring(0,kr.raw.length-Ur),yt=vt-1);Br=_r}Ar=qr.length,qr=qr.replace(/^ *([*+-]|\d+[.)]) ?/,""),~qr.indexOf(`
`)&&(Ar-=qr.length,qr=this.options.pedantic?qr.replace(/^ {1,4}/gm,""):qr.replace(new RegExp("^ {1,"+Ar+"}","gm"),"")),qr=ie(qr,`
`),yt!==vt-1&&(gt=gt+`
`),sn=Kr||/\n\n(?!\s*$)/.test(gt),yt!==vt-1&&(Kr=gt.slice(-2)===`
`,sn||(sn=Kr)),sn&&(kr.loose=!0),this.options.gfm&&(cn=/^\[[ xX]\] /.test(qr),or=void 0,cn&&(or=qr[1]!==" ",qr=qr.replace(/^\[[ xX]\] +/,""))),kr.items.push({type:"list_item",raw:gt,task:cn,checked:or,loose:sn,text:qr})}return kr}},ke.html=function(be){var Ke=this.rules.block.html.exec(be);if(Ke)return{type:this.options.sanitize?"paragraph":"html",raw:Ke[0],pre:!this.options.sanitizer&&(Ke[1]==="pre"||Ke[1]==="script"||Ke[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ke[0]):M(Ke[0]):Ke[0]}},ke.def=function(be){var Ke=this.rules.block.def.exec(be);if(Ke){Ke[3]&&(Ke[3]=Ke[3].substring(1,Ke[3].length-1));var gt=Ke[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:gt,raw:Ke[0],href:Ke[2],title:Ke[3]}}},ke.table=function(be){var Ke=this.rules.block.table.exec(be);if(Ke){var gt={type:"table",header:F(Ke[1].replace(/^ *| *\| *$/g,"")),align:Ke[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ke[3]?Ke[3].replace(/\n$/,"").split(`
`):[]};if(gt.header.length===gt.align.length){gt.raw=Ke[0];var Rt=gt.align.length,Be;for(Be=0;Be<Rt;Be++)/^ *-+: *$/.test(gt.align[Be])?gt.align[Be]="right":/^ *:-+: *$/.test(gt.align[Be])?gt.align[Be]="center":/^ *:-+ *$/.test(gt.align[Be])?gt.align[Be]="left":gt.align[Be]=null;for(Rt=gt.cells.length,Be=0;Be<Rt;Be++)gt.cells[Be]=F(gt.cells[Be].replace(/^ *\| *| *\| *$/g,""),gt.header.length);return gt}}},ke.lheading=function(be){var Ke=this.rules.block.lheading.exec(be);if(Ke)return{type:"heading",raw:Ke[0],depth:Ke[2].charAt(0)==="="?1:2,text:Ke[1]}},ke.paragraph=function(be){var Ke=this.rules.block.paragraph.exec(be);if(Ke)return{type:"paragraph",raw:Ke[0],text:Ke[1].charAt(Ke[1].length-1)===`
`?Ke[1].slice(0,-1):Ke[1]}},ke.text=function(be){var Ke=this.rules.block.text.exec(be);if(Ke)return{type:"text",raw:Ke[0],text:Ke[0]}},ke.escape=function(be){var Ke=this.rules.inline.escape.exec(be);if(Ke)return{type:"escape",raw:Ke[0],text:M(Ke[1])}},ke.tag=function(be,Ke,gt){var Rt=this.rules.inline.tag.exec(be);if(Rt)return!Ke&&/^<a /i.test(Rt[0])?Ke=!0:Ke&&/^<\/a>/i.test(Rt[0])&&(Ke=!1),!gt&&/^<(pre|code|kbd|script)(\s|>)/i.test(Rt[0])?gt=!0:gt&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Rt[0])&&(gt=!1),{type:this.options.sanitize?"text":"html",raw:Rt[0],inLink:Ke,inRawBlock:gt,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Rt[0]):M(Rt[0]):Rt[0]}},ke.link=function(be){var Ke=this.rules.inline.link.exec(be);if(Ke){var gt=Ke[2].trim();if(!this.options.pedantic&&/^</.test(gt)){if(!/>$/.test(gt))return;var Rt=ie(gt.slice(0,-1),"\\");if((gt.length-Rt.length)%2===0)return}else{var Be=Q(Ke[2],"()");if(Be>-1){var kr=Ke[0].indexOf("!")===0?5:4,At=kr+Ke[1].length+Be;Ke[2]=Ke[2].substring(0,Be),Ke[0]=Ke[0].substring(0,At).trim(),Ke[3]=""}}var Kr=Ke[2],qr="";if(this.options.pedantic){var Ar=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Kr);Ar&&(Kr=Ar[1],qr=Ar[3])}else qr=Ke[3]?Ke[3].slice(1,-1):"";return Kr=Kr.trim(),/^</.test(Kr)&&(this.options.pedantic&&!/>$/.test(gt)?Kr=Kr.slice(1):Kr=Kr.slice(1,-1)),de(Ke,{href:Kr&&Kr.replace(this.rules.inline._escapes,"$1"),title:qr&&qr.replace(this.rules.inline._escapes,"$1")},Ke[0])}},ke.reflink=function(be,Ke){var gt;if((gt=this.rules.inline.reflink.exec(be))||(gt=this.rules.inline.nolink.exec(be))){var Rt=(gt[2]||gt[1]).replace(/\s+/g," ");if(Rt=Ke[Rt.toLowerCase()],!Rt||!Rt.href){var Be=gt[0].charAt(0);return{type:"text",raw:Be,text:Be}}return de(gt,Rt,gt[0])}},ke.emStrong=function(be,Ke,gt){gt===void 0&&(gt="");var Rt=this.rules.inline.emStrong.lDelim.exec(be);if(Rt&&!(Rt[3]&&gt.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var Be=Rt[1]||Rt[2]||"";if(!Be||Be&&(gt===""||this.rules.inline.punctuation.exec(gt))){var kr=Rt[0].length-1,At,Kr,qr=kr,Ar=0,Br=Rt[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Br.lastIndex=0,Ke=Ke.slice(-1*be.length+kr);(Rt=Br.exec(Ke))!=null;)if(At=Rt[1]||Rt[2]||Rt[3]||Rt[4]||Rt[5]||Rt[6],!!At){if(Kr=At.length,Rt[3]||Rt[4]){qr+=Kr;continue}else if((Rt[5]||Rt[6])&&kr%3&&!((kr+Kr)%3)){Ar+=Kr;continue}if(qr-=Kr,!(qr>0))return Kr=Math.min(Kr,Kr+qr+Ar),Math.min(kr,Kr)%2?{type:"em",raw:be.slice(0,kr+Rt.index+Kr+1),text:be.slice(1,kr+Rt.index+Kr)}:{type:"strong",raw:be.slice(0,kr+Rt.index+Kr+1),text:be.slice(2,kr+Rt.index+Kr-1)}}}}},ke.codespan=function(be){var Ke=this.rules.inline.code.exec(be);if(Ke){var gt=Ke[2].replace(/\n/g," "),Rt=/[^ ]/.test(gt),Be=/^ /.test(gt)&&/ $/.test(gt);return Rt&&Be&&(gt=gt.substring(1,gt.length-1)),gt=M(gt,!0),{type:"codespan",raw:Ke[0],text:gt}}},ke.br=function(be){var Ke=this.rules.inline.br.exec(be);if(Ke)return{type:"br",raw:Ke[0]}},ke.del=function(be){var Ke=this.rules.inline.del.exec(be);if(Ke)return{type:"del",raw:Ke[0],text:Ke[2]}},ke.autolink=function(be,Ke){var gt=this.rules.inline.autolink.exec(be);if(gt){var Rt,Be;return gt[2]==="@"?(Rt=M(this.options.mangle?Ke(gt[1]):gt[1]),Be="mailto:"+Rt):(Rt=M(gt[1]),Be=Rt),{type:"link",raw:gt[0],text:Rt,href:Be,tokens:[{type:"text",raw:Rt,text:Rt}]}}},ke.url=function(be,Ke){var gt;if(gt=this.rules.inline.url.exec(be)){var Rt,Be;if(gt[2]==="@")Rt=M(this.options.mangle?Ke(gt[0]):gt[0]),Be="mailto:"+Rt;else{var kr;do kr=gt[0],gt[0]=this.rules.inline._backpedal.exec(gt[0])[0];while(kr!==gt[0]);Rt=M(gt[0]),gt[1]==="www."?Be="http://"+Rt:Be=Rt}return{type:"link",raw:gt[0],text:Rt,href:Be,tokens:[{type:"text",raw:Rt,text:Rt}]}}},ke.inlineText=function(be,Ke,gt){var Rt=this.rules.inline.text.exec(be);if(Rt){var Be;return Ke?Be=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Rt[0]):M(Rt[0]):Rt[0]:Be=M(this.options.smartypants?gt(Rt[0]):Rt[0]),{type:"text",raw:Rt[0],text:Be}}},Tt}(),je=ne.noopTest,Fe=ne.edit,Ft=ne.merge,_t={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:je,table:je,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};_t._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_t._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,_t.def=Fe(_t.def).replace("label",_t._label).replace("title",_t._title).getRegex(),_t.bullet=/(?:[*+-]|\d{1,9}[.)])/,_t.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,_t.item=Fe(_t.item,"gm").replace(/bull/g,_t.bullet).getRegex(),_t.listItemStart=Fe(/^( *)(bull) */).replace("bull",_t.bullet).getRegex(),_t.list=Fe(_t.list).replace(/bull/g,_t.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+_t.def.source+")").getRegex(),_t._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",_t._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,_t.html=Fe(_t.html,"i").replace("comment",_t._comment).replace("tag",_t._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_t.paragraph=Fe(_t._paragraph).replace("hr",_t.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",_t._tag).getRegex(),_t.blockquote=Fe(_t.blockquote).replace("paragraph",_t.paragraph).getRegex(),_t.normal=Ft({},_t),_t.gfm=Ft({},_t.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),_t.gfm.nptable=Fe(_t.gfm.nptable).replace("hr",_t.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",_t._tag).getRegex(),_t.gfm.table=Fe(_t.gfm.table).replace("hr",_t.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",_t._tag).getRegex(),_t.pedantic=Ft({},_t.normal,{html:Fe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",_t._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:je,paragraph:Fe(_t.normal._paragraph).replace("hr",_t.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",_t.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Pt={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:je,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_*]*?\*[^_*]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^_*]*?\_[^_*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:je,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};Pt._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Pt.punctuation=Fe(Pt.punctuation).replace(/punctuation/g,Pt._punctuation).getRegex(),Pt.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,Pt.escapedEmSt=/\\\*|\\_/g,Pt._comment=Fe(_t._comment).replace("(?:-->|$)","-->").getRegex(),Pt.emStrong.lDelim=Fe(Pt.emStrong.lDelim).replace(/punct/g,Pt._punctuation).getRegex(),Pt.emStrong.rDelimAst=Fe(Pt.emStrong.rDelimAst,"g").replace(/punct/g,Pt._punctuation).getRegex(),Pt.emStrong.rDelimUnd=Fe(Pt.emStrong.rDelimUnd,"g").replace(/punct/g,Pt._punctuation).getRegex(),Pt._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Pt._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Pt._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Pt.autolink=Fe(Pt.autolink).replace("scheme",Pt._scheme).replace("email",Pt._email).getRegex(),Pt._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Pt.tag=Fe(Pt.tag).replace("comment",Pt._comment).replace("attribute",Pt._attribute).getRegex(),Pt._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Pt._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Pt._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Pt.link=Fe(Pt.link).replace("label",Pt._label).replace("href",Pt._href).replace("title",Pt._title).getRegex(),Pt.reflink=Fe(Pt.reflink).replace("label",Pt._label).getRegex(),Pt.reflinkSearch=Fe(Pt.reflinkSearch,"g").replace("reflink",Pt.reflink).replace("nolink",Pt.nolink).getRegex(),Pt.normal=Ft({},Pt),Pt.pedantic=Ft({},Pt.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Fe(/^!?\[(label)\]\((.*?)\)/).replace("label",Pt._label).getRegex(),reflink:Fe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Pt._label).getRegex()}),Pt.gfm=Ft({},Pt.normal,{escape:Fe(Pt.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),Pt.gfm.url=Fe(Pt.gfm.url,"i").replace("email",Pt.gfm._extended_email).getRegex(),Pt.breaks=Ft({},Pt.gfm,{br:Fe(Pt.br).replace("{2,}","*").getRegex(),text:Fe(Pt.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var qt={block:_t,inline:Pt},er=Ce,Jt=c.exports.defaults,Xe=qt.block,It=qt.inline,zt=ne.repeatString;function st(Tt){return Tt.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function bt(Tt){var ke="",St,be,Ke=Tt.length;for(St=0;St<Ke;St++)be=Tt.charCodeAt(St),Math.random()>.5&&(be="x"+be.toString(16)),ke+="&#"+be+";";return ke}var ht=function(){function Tt(St){this.tokens=[],this.tokens.links=Object.create(null),this.options=St||Jt,this.options.tokenizer=this.options.tokenizer||new er,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var be={block:Xe.normal,inline:It.normal};this.options.pedantic?(be.block=Xe.pedantic,be.inline=It.pedantic):this.options.gfm&&(be.block=Xe.gfm,this.options.breaks?be.inline=It.breaks:be.inline=It.gfm),this.tokenizer.rules=be}Tt.lex=function(be,Ke){var gt=new Tt(Ke);return gt.lex(be)},Tt.lexInline=function(be,Ke){var gt=new Tt(Ke);return gt.inlineTokens(be)};var ke=Tt.prototype;return ke.lex=function(be){return be=be.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(be,this.tokens,!0),this.inline(this.tokens),this.tokens},ke.blockTokens=function(be,Ke,gt){Ke===void 0&&(Ke=[]),gt===void 0&&(gt=!0),this.options.pedantic&&(be=be.replace(/^ +$/gm,""));for(var Rt,Be,kr,At;be;){if(Rt=this.tokenizer.space(be)){be=be.substring(Rt.raw.length),Rt.type&&Ke.push(Rt);continue}if(Rt=this.tokenizer.code(be)){be=be.substring(Rt.raw.length),At=Ke[Ke.length-1],At&&At.type==="paragraph"?(At.raw+=`
`+Rt.raw,At.text+=`
`+Rt.text):Ke.push(Rt);continue}if(Rt=this.tokenizer.fences(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.heading(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.nptable(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.hr(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.blockquote(be)){be=be.substring(Rt.raw.length),Rt.tokens=this.blockTokens(Rt.text,[],gt),Ke.push(Rt);continue}if(Rt=this.tokenizer.list(be)){for(be=be.substring(Rt.raw.length),kr=Rt.items.length,Be=0;Be<kr;Be++)Rt.items[Be].tokens=this.blockTokens(Rt.items[Be].text,[],!1);Ke.push(Rt);continue}if(Rt=this.tokenizer.html(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(gt&&(Rt=this.tokenizer.def(be))){be=be.substring(Rt.raw.length),this.tokens.links[Rt.tag]||(this.tokens.links[Rt.tag]={href:Rt.href,title:Rt.title});continue}if(Rt=this.tokenizer.table(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.lheading(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(gt&&(Rt=this.tokenizer.paragraph(be))){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.text(be)){be=be.substring(Rt.raw.length),At=Ke[Ke.length-1],At&&At.type==="text"?(At.raw+=`
`+Rt.raw,At.text+=`
`+Rt.text):Ke.push(Rt);continue}if(be){var Kr="Infinite loop on byte: "+be.charCodeAt(0);if(this.options.silent){console.error(Kr);break}else throw new Error(Kr)}}return Ke},ke.inline=function(be){var Ke,gt,Rt,Be,kr,At,Kr=be.length;for(Ke=0;Ke<Kr;Ke++)switch(At=be[Ke],At.type){case"paragraph":case"text":case"heading":{At.tokens=[],this.inlineTokens(At.text,At.tokens);break}case"table":{for(At.tokens={header:[],cells:[]},Be=At.header.length,gt=0;gt<Be;gt++)At.tokens.header[gt]=[],this.inlineTokens(At.header[gt],At.tokens.header[gt]);for(Be=At.cells.length,gt=0;gt<Be;gt++)for(kr=At.cells[gt],At.tokens.cells[gt]=[],Rt=0;Rt<kr.length;Rt++)At.tokens.cells[gt][Rt]=[],this.inlineTokens(kr[Rt],At.tokens.cells[gt][Rt]);break}case"blockquote":{this.inline(At.tokens);break}case"list":{for(Be=At.items.length,gt=0;gt<Be;gt++)this.inline(At.items[gt].tokens);break}}return be},ke.inlineTokens=function(be,Ke,gt,Rt){Ke===void 0&&(Ke=[]),gt===void 0&&(gt=!1),Rt===void 0&&(Rt=!1);var Be,kr,At=be,Kr,qr,Ar;if(this.tokens.links){var Br=Object.keys(this.tokens.links);if(Br.length>0)for(;(Kr=this.tokenizer.rules.inline.reflinkSearch.exec(At))!=null;)Br.includes(Kr[0].slice(Kr[0].lastIndexOf("[")+1,-1))&&(At=At.slice(0,Kr.index)+"["+zt("a",Kr[0].length-2)+"]"+At.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Kr=this.tokenizer.rules.inline.blockSkip.exec(At))!=null;)At=At.slice(0,Kr.index)+"["+zt("a",Kr[0].length-2)+"]"+At.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(Kr=this.tokenizer.rules.inline.escapedEmSt.exec(At))!=null;)At=At.slice(0,Kr.index)+"++"+At.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;be;){if(qr||(Ar=""),qr=!1,Be=this.tokenizer.escape(be)){be=be.substring(Be.raw.length),Ke.push(Be);continue}if(Be=this.tokenizer.tag(be,gt,Rt)){be=be.substring(Be.raw.length),gt=Be.inLink,Rt=Be.inRawBlock;var _r=Ke[Ke.length-1];_r&&Be.type==="text"&&_r.type==="text"?(_r.raw+=Be.raw,_r.text+=Be.text):Ke.push(Be);continue}if(Be=this.tokenizer.link(be)){be=be.substring(Be.raw.length),Be.type==="link"&&(Be.tokens=this.inlineTokens(Be.text,[],!0,Rt)),Ke.push(Be);continue}if(Be=this.tokenizer.reflink(be,this.tokens.links)){be=be.substring(Be.raw.length);var Ur=Ke[Ke.length-1];Be.type==="link"?(Be.tokens=this.inlineTokens(Be.text,[],!0,Rt),Ke.push(Be)):Ur&&Be.type==="text"&&Ur.type==="text"?(Ur.raw+=Be.raw,Ur.text+=Be.text):Ke.push(Be);continue}if(Be=this.tokenizer.emStrong(be,At,Ar)){be=be.substring(Be.raw.length),Be.tokens=this.inlineTokens(Be.text,[],gt,Rt),Ke.push(Be);continue}if(Be=this.tokenizer.codespan(be)){be=be.substring(Be.raw.length),Ke.push(Be);continue}if(Be=this.tokenizer.br(be)){be=be.substring(Be.raw.length),Ke.push(Be);continue}if(Be=this.tokenizer.del(be)){be=be.substring(Be.raw.length),Be.tokens=this.inlineTokens(Be.text,[],gt,Rt),Ke.push(Be);continue}if(Be=this.tokenizer.autolink(be,bt)){be=be.substring(Be.raw.length),Ke.push(Be);continue}if(!gt&&(Be=this.tokenizer.url(be,bt))){be=be.substring(Be.raw.length),Ke.push(Be);continue}if(Be=this.tokenizer.inlineText(be,Rt,st)){be=be.substring(Be.raw.length),Be.raw.slice(-1)!=="_"&&(Ar=Be.raw.slice(-1)),qr=!0,kr=Ke[Ke.length-1],kr&&kr.type==="text"?(kr.raw+=Be.raw,kr.text+=Be.text):Ke.push(Be);continue}if(be){var sn="Infinite loop on byte: "+be.charCodeAt(0);if(this.options.silent){console.error(sn);break}else throw new Error(sn)}}return Ke},e(Tt,null,[{key:"rules",get:function(){return{block:Xe,inline:It}}}]),Tt}(),Je=c.exports.defaults,Ue=ne.cleanUrl,ge=ne.escape,Ae=function(){function Tt(St){this.options=St||Je}var ke=Tt.prototype;return ke.code=function(be,Ke,gt){var Rt=(Ke||"").match(/\S*/)[0];if(this.options.highlight){var Be=this.options.highlight(be,Rt);Be!=null&&Be!==be&&(gt=!0,be=Be)}return be=be.replace(/\n$/,"")+`
`,Rt?'<pre><code class="'+this.options.langPrefix+ge(Rt,!0)+'">'+(gt?be:ge(be,!0))+`</code></pre>
`:"<pre><code>"+(gt?be:ge(be,!0))+`</code></pre>
`},ke.blockquote=function(be){return`<blockquote>
`+be+`</blockquote>
`},ke.html=function(be){return be},ke.heading=function(be,Ke,gt,Rt){return this.options.headerIds?"<h"+Ke+' id="'+this.options.headerPrefix+Rt.slug(gt)+'">'+be+"</h"+Ke+`>
`:"<h"+Ke+">"+be+"</h"+Ke+`>
`},ke.hr=function(){return this.options.xhtml?`<hr/>
`:`<hr>
`},ke.list=function(be,Ke,gt){var Rt=Ke?"ol":"ul",Be=Ke&&gt!==1?' start="'+gt+'"':"";return"<"+Rt+Be+`>
`+be+"</"+Rt+`>
`},ke.listitem=function(be){return"<li>"+be+`</li>
`},ke.checkbox=function(be){return"<input "+(be?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},ke.paragraph=function(be){return"<p>"+be+`</p>
`},ke.table=function(be,Ke){return Ke&&(Ke="<tbody>"+Ke+"</tbody>"),`<table>
<thead>
`+be+`</thead>
`+Ke+`</table>
`},ke.tablerow=function(be){return`<tr>
`+be+`</tr>
`},ke.tablecell=function(be,Ke){var gt=Ke.header?"th":"td",Rt=Ke.align?"<"+gt+' align="'+Ke.align+'">':"<"+gt+">";return Rt+be+"</"+gt+`>
`},ke.strong=function(be){return"<strong>"+be+"</strong>"},ke.em=function(be){return"<em>"+be+"</em>"},ke.codespan=function(be){return"<code>"+be+"</code>"},ke.br=function(){return this.options.xhtml?"<br/>":"<br>"},ke.del=function(be){return"<del>"+be+"</del>"},ke.link=function(be,Ke,gt){if(be=Ue(this.options.sanitize,this.options.baseUrl,be),be===null)return gt;var Rt='<a href="'+ge(be)+'"';return Ke&&(Rt+=' title="'+Ke+'"'),Rt+=">"+gt+"</a>",Rt},ke.image=function(be,Ke,gt){if(be=Ue(this.options.sanitize,this.options.baseUrl,be),be===null)return gt;var Rt='<img src="'+be+'" alt="'+gt+'"';return Ke&&(Rt+=' title="'+Ke+'"'),Rt+=this.options.xhtml?"/>":">",Rt},ke.text=function(be){return be},Tt}(),Me=function(){function Tt(){}var ke=Tt.prototype;return ke.strong=function(be){return be},ke.em=function(be){return be},ke.codespan=function(be){return be},ke.del=function(be){return be},ke.html=function(be){return be},ke.text=function(be){return be},ke.link=function(be,Ke,gt){return""+gt},ke.image=function(be,Ke,gt){return""+gt},ke.br=function(){return""},Tt}(),$e=function(){function Tt(){this.seen={}}var ke=Tt.prototype;return ke.serialize=function(be){return be.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},ke.getNextSafeSlug=function(be,Ke){var gt=be,Rt=0;if(this.seen.hasOwnProperty(gt)){Rt=this.seen[be];do Rt++,gt=be+"-"+Rt;while(this.seen.hasOwnProperty(gt))}return Ke||(this.seen[be]=Rt,this.seen[gt]=0),gt},ke.slug=function(be,Ke){Ke===void 0&&(Ke={});var gt=this.serialize(be);return this.getNextSafeSlug(gt,Ke.dryrun)},Tt}(),He=Ae,nt=Me,ct=$e,Vt=c.exports.defaults,Wt=ne.unescape,De=function(){function Tt(St){this.options=St||Vt,this.options.renderer=this.options.renderer||new He,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new nt,this.slugger=new ct}Tt.parse=function(be,Ke){var gt=new Tt(Ke);return gt.parse(be)},Tt.parseInline=function(be,Ke){var gt=new Tt(Ke);return gt.parseInline(be)};var ke=Tt.prototype;return ke.parse=function(be,Ke){Ke===void 0&&(Ke=!0);var gt="",Rt,Be,kr,At,Kr,qr,Ar,Br,_r,Ur,sn,cn,or,Lt,vt,yt,jt,Cr,gr=be.length;for(Rt=0;Rt<gr;Rt++)switch(Ur=be[Rt],Ur.type){case"space":continue;case"hr":{gt+=this.renderer.hr();continue}case"heading":{gt+=this.renderer.heading(this.parseInline(Ur.tokens),Ur.depth,Wt(this.parseInline(Ur.tokens,this.textRenderer)),this.slugger);continue}case"code":{gt+=this.renderer.code(Ur.text,Ur.lang,Ur.escaped);continue}case"table":{for(Br="",Ar="",At=Ur.header.length,Be=0;Be<At;Be++)Ar+=this.renderer.tablecell(this.parseInline(Ur.tokens.header[Be]),{header:!0,align:Ur.align[Be]});for(Br+=this.renderer.tablerow(Ar),_r="",At=Ur.cells.length,Be=0;Be<At;Be++){for(qr=Ur.tokens.cells[Be],Ar="",Kr=qr.length,kr=0;kr<Kr;kr++)Ar+=this.renderer.tablecell(this.parseInline(qr[kr]),{header:!1,align:Ur.align[kr]});_r+=this.renderer.tablerow(Ar)}gt+=this.renderer.table(Br,_r);continue}case"blockquote":{_r=this.parse(Ur.tokens),gt+=this.renderer.blockquote(_r);continue}case"list":{for(sn=Ur.ordered,cn=Ur.start,or=Ur.loose,At=Ur.items.length,_r="",Be=0;Be<At;Be++)vt=Ur.items[Be],yt=vt.checked,jt=vt.task,Lt="",vt.task&&(Cr=this.renderer.checkbox(yt),or?vt.tokens.length>0&&vt.tokens[0].type==="text"?(vt.tokens[0].text=Cr+" "+vt.tokens[0].text,vt.tokens[0].tokens&&vt.tokens[0].tokens.length>0&&vt.tokens[0].tokens[0].type==="text"&&(vt.tokens[0].tokens[0].text=Cr+" "+vt.tokens[0].tokens[0].text)):vt.tokens.unshift({type:"text",text:Cr}):Lt+=Cr),Lt+=this.parse(vt.tokens,or),_r+=this.renderer.listitem(Lt,jt,yt);gt+=this.renderer.list(_r,sn,cn);continue}case"html":{gt+=this.renderer.html(Ur.text);continue}case"paragraph":{gt+=this.renderer.paragraph(this.parseInline(Ur.tokens));continue}case"text":{for(_r=Ur.tokens?this.parseInline(Ur.tokens):Ur.text;Rt+1<gr&&be[Rt+1].type==="text";)Ur=be[++Rt],_r+=`
`+(Ur.tokens?this.parseInline(Ur.tokens):Ur.text);gt+=Ke?this.renderer.paragraph(_r):_r;continue}default:{var ot='Token with "'+Ur.type+'" type was not found.';if(this.options.silent){console.error(ot);return}else throw new Error(ot)}}return gt},ke.parseInline=function(be,Ke){Ke=Ke||this.renderer;var gt="",Rt,Be,kr=be.length;for(Rt=0;Rt<kr;Rt++)switch(Be=be[Rt],Be.type){case"escape":{gt+=Ke.text(Be.text);break}case"html":{gt+=Ke.html(Be.text);break}case"link":{gt+=Ke.link(Be.href,Be.title,this.parseInline(Be.tokens,Ke));break}case"image":{gt+=Ke.image(Be.href,Be.title,Be.text);break}case"strong":{gt+=Ke.strong(this.parseInline(Be.tokens,Ke));break}case"em":{gt+=Ke.em(this.parseInline(Be.tokens,Ke));break}case"codespan":{gt+=Ke.codespan(Be.text);break}case"br":{gt+=Ke.br();break}case"del":{gt+=Ke.del(this.parseInline(Be.tokens,Ke));break}case"text":{gt+=Ke.text(Be.text);break}default:{var At='Token with "'+Be.type+'" type was not found.';if(this.options.silent){console.error(At);return}else throw new Error(At)}}return gt},Tt}(),qe=ht,Gt=De,kt=Ce,Ht=Ae,$t=Me,Ct=$e,Yt=ne.merge,We=ne.checkSanitizeDeprecation,fe=ne.escape,_e=c.exports.getDefaults,Ot=c.exports.changeDefaults,Pe=c.exports.defaults;function dt(Tt,ke,St){if(typeof Tt=="undefined"||Tt===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Tt!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Tt)+", string expected");if(typeof ke=="function"&&(St=ke,ke=null),ke=Yt({},dt.defaults,ke||{}),We(ke),St){var be=ke.highlight,Ke;try{Ke=qe.lex(Tt,ke)}catch(kr){return St(kr)}var gt=function(At){var Kr;if(!At)try{ke.walkTokens&&dt.walkTokens(Ke,ke.walkTokens),Kr=Gt.parse(Ke,ke)}catch(qr){At=qr}return ke.highlight=be,At?St(At):St(null,Kr)};if(!be||be.length<3||(delete ke.highlight,!Ke.length))return gt();var Rt=0;dt.walkTokens(Ke,function(kr){kr.type==="code"&&(Rt++,setTimeout(function(){be(kr.text,kr.lang,function(At,Kr){if(At)return gt(At);Kr!=null&&Kr!==kr.text&&(kr.text=Kr,kr.escaped=!0),Rt--,Rt===0&&gt()})},0))}),Rt===0&&gt();return}try{var Be=qe.lex(Tt,ke);return ke.walkTokens&&dt.walkTokens(Be,ke.walkTokens),Gt.parse(Be,ke)}catch(kr){if(kr.message+=`
Please report this to https://github.com/markedjs/marked.`,ke.silent)return"<p>An error occurred:</p><pre>"+fe(kr.message+"",!0)+"</pre>";throw kr}}dt.options=dt.setOptions=function(Tt){return Yt(dt.defaults,Tt),Ot(dt.defaults),dt},dt.getDefaults=_e,dt.defaults=Pe,dt.use=function(Tt){var ke=Yt({},Tt);if(Tt.renderer&&function(){var be=dt.defaults.renderer||new Ht,Ke=function(Be){var kr=be[Be];be[Be]=function(){for(var At=arguments.length,Kr=new Array(At),qr=0;qr<At;qr++)Kr[qr]=arguments[qr];var Ar=Tt.renderer[Be].apply(be,Kr);return Ar===!1&&(Ar=kr.apply(be,Kr)),Ar}};for(var gt in Tt.renderer)Ke(gt);ke.renderer=be}(),Tt.tokenizer&&function(){var be=dt.defaults.tokenizer||new kt,Ke=function(Be){var kr=be[Be];be[Be]=function(){for(var At=arguments.length,Kr=new Array(At),qr=0;qr<At;qr++)Kr[qr]=arguments[qr];var Ar=Tt.tokenizer[Be].apply(be,Kr);return Ar===!1&&(Ar=kr.apply(be,Kr)),Ar}};for(var gt in Tt.tokenizer)Ke(gt);ke.tokenizer=be}(),Tt.walkTokens){var St=dt.defaults.walkTokens;ke.walkTokens=function(be){Tt.walkTokens(be),St&&St(be)}}dt.setOptions(ke)},dt.walkTokens=function(Tt,ke){for(var St=l(Tt),be;!(be=St()).done;){var Ke=be.value;switch(ke(Ke),Ke.type){case"table":{for(var gt=l(Ke.tokens.header),Rt;!(Rt=gt()).done;){var Be=Rt.value;dt.walkTokens(Be,ke)}for(var kr=l(Ke.tokens.cells),At;!(At=kr()).done;)for(var Kr=At.value,qr=l(Kr),Ar;!(Ar=qr()).done;){var Br=Ar.value;dt.walkTokens(Br,ke)}break}case"list":{dt.walkTokens(Ke.items,ke);break}default:Ke.tokens&&dt.walkTokens(Ke.tokens,ke)}}},dt.parseInline=function(Tt,ke){if(typeof Tt=="undefined"||Tt===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof Tt!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(Tt)+", string expected");ke=Yt({},dt.defaults,ke||{}),We(ke);try{var St=qe.lexInline(Tt,ke);return ke.walkTokens&&dt.walkTokens(St,ke.walkTokens),Gt.parseInline(St,ke)}catch(be){if(be.message+=`
Please report this to https://github.com/markedjs/marked.`,ke.silent)return"<p>An error occurred:</p><pre>"+fe(be.message+"",!0)+"</pre>";throw be}},dt.Parser=Gt,dt.parser=Gt.parse,dt.Renderer=Ht,dt.TextRenderer=$t,dt.Lexer=qe,dt.lexer=qe.lex,dt.Tokenizer=kt,dt.Slugger=Ct,dt.parse=dt;var Zt=dt;return Zt})},11690:function(d){const g=/[&<>"']/,e=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},c=G=>l[G];function f(G,oe){if(oe){if(g.test(G))return G.replace(e,c)}else if(r.test(G))return G.replace(i,c);return G}const s=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(G){return G.replace(s,(oe,ae)=>(ae=ae.toLowerCase(),ae==="colon"?":":ae.charAt(0)==="#"?ae.charAt(1)==="x"?String.fromCharCode(parseInt(ae.substring(2),16)):String.fromCharCode(+ae.substring(1)):""))}const u=/(^|[^\[])\^/g;function a(G,oe){G=G.source||G,oe=oe||"";const ae={replace:(le,q)=>(q=q.source||q,q=q.replace(u,"$1"),G=G.replace(le,q),ae),getRegex:()=>new RegExp(G,oe)};return ae}const x=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(G,oe,ae){if(G){let le;try{le=decodeURIComponent(h(ae)).replace(x,"").toLowerCase()}catch(q){return null}if(le.indexOf("javascript:")===0||le.indexOf("vbscript:")===0||le.indexOf("data:")===0)return null}oe&&!p.test(ae)&&(ae=L(oe,ae));try{ae=encodeURI(ae).replace(/%25/g,"%")}catch(le){return null}return ae}const _={},b=/^[^:]+:\/*[^/]*$/,S=/^([^:]+:)[\s\S]*$/,R=/^([^:]+:\/*[^/]*)[\s\S]*$/;function L(G,oe){_[" "+G]||(b.test(G)?_[" "+G]=G+"/":_[" "+G]=$(G,"/",!0)),G=_[" "+G];const ae=G.indexOf(":")===-1;return oe.substring(0,2)==="//"?ae?oe:G.replace(S,"$1")+oe:oe.charAt(0)==="/"?ae?oe:G.replace(R,"$1")+oe:G+oe}const C={exec:function(){}};function D(G){let oe=1,ae,le;for(;oe<arguments.length;oe++){ae=arguments[oe];for(le in ae)Object.prototype.hasOwnProperty.call(ae,le)&&(G[le]=ae[le])}return G}function B(G,oe){const ae=G.replace(/\|/g,(J,Y,ue)=>{let ne=!1,ee=Y;for(;--ee>=0&&ue[ee]==="\\";)ne=!ne;return ne?"|":" |"}),le=ae.split(/ \|/);let q=0;if(le.length>oe)le.splice(oe);else for(;le.length<oe;)le.push("");for(;q<le.length;q++)le[q]=le[q].trim().replace(/\\\|/g,"|");return le}function $(G,oe,ae){const le=G.length;if(le===0)return"";let q=0;for(;q<le;){const J=G.charAt(le-q-1);if(J===oe&&!ae)q++;else if(J!==oe&&ae)q++;else break}return G.substr(0,le-q)}function U(G,oe){if(G.indexOf(oe[1])===-1)return-1;const ae=G.length;let le=0,q=0;for(;q<ae;q++)if(G[q]==="\\")q++;else if(G[q]===oe[0])le++;else if(G[q]===oe[1]&&(le--,le<0))return q;return-1}function K(G){G&&G.sanitize&&!G.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function V(G,oe){if(oe<1)return"";let ae="";for(;oe>1;)oe&1&&(ae+=G),oe>>=1,G+=G;return ae+G}d.exports={escape:f,unescape:h,edit:a,cleanUrl:y,resolveUrl:L,noopTest:C,merge:D,splitCells:B,rtrim:$,findClosingBracket:U,checkSanitizeDeprecation:K,repeatString:V}},93735:function(d,g,e){(function(){var r=e(75041),i=e(67751).utf8,l=e(78034),c=e(67751).bin,f=function(s,h){s.constructor==String?h&&h.encoding==="binary"?s=c.stringToBytes(s):s=i.stringToBytes(s):l(s)?s=Array.prototype.slice.call(s,0):!Array.isArray(s)&&s.constructor!==Uint8Array&&(s=s.toString());for(var u=r.bytesToWords(s),a=s.length*8,x=1732584193,p=-271733879,y=-1732584194,_=271733878,b=0;b<u.length;b++)u[b]=(u[b]<<8|u[b]>>>24)&16711935|(u[b]<<24|u[b]>>>8)&4278255360;u[a>>>5]|=128<<a%32,u[(a+64>>>9<<4)+14]=a;for(var S=f._ff,R=f._gg,L=f._hh,C=f._ii,b=0;b<u.length;b+=16){var D=x,B=p,$=y,U=_;x=S(x,p,y,_,u[b+0],7,-680876936),_=S(_,x,p,y,u[b+1],12,-389564586),y=S(y,_,x,p,u[b+2],17,606105819),p=S(p,y,_,x,u[b+3],22,-1044525330),x=S(x,p,y,_,u[b+4],7,-176418897),_=S(_,x,p,y,u[b+5],12,1200080426),y=S(y,_,x,p,u[b+6],17,-1473231341),p=S(p,y,_,x,u[b+7],22,-45705983),x=S(x,p,y,_,u[b+8],7,1770035416),_=S(_,x,p,y,u[b+9],12,-1958414417),y=S(y,_,x,p,u[b+10],17,-42063),p=S(p,y,_,x,u[b+11],22,-1990404162),x=S(x,p,y,_,u[b+12],7,1804603682),_=S(_,x,p,y,u[b+13],12,-40341101),y=S(y,_,x,p,u[b+14],17,-1502002290),p=S(p,y,_,x,u[b+15],22,1236535329),x=R(x,p,y,_,u[b+1],5,-165796510),_=R(_,x,p,y,u[b+6],9,-1069501632),y=R(y,_,x,p,u[b+11],14,643717713),p=R(p,y,_,x,u[b+0],20,-373897302),x=R(x,p,y,_,u[b+5],5,-701558691),_=R(_,x,p,y,u[b+10],9,38016083),y=R(y,_,x,p,u[b+15],14,-660478335),p=R(p,y,_,x,u[b+4],20,-405537848),x=R(x,p,y,_,u[b+9],5,568446438),_=R(_,x,p,y,u[b+14],9,-1019803690),y=R(y,_,x,p,u[b+3],14,-187363961),p=R(p,y,_,x,u[b+8],20,1163531501),x=R(x,p,y,_,u[b+13],5,-1444681467),_=R(_,x,p,y,u[b+2],9,-51403784),y=R(y,_,x,p,u[b+7],14,1735328473),p=R(p,y,_,x,u[b+12],20,-1926607734),x=L(x,p,y,_,u[b+5],4,-378558),_=L(_,x,p,y,u[b+8],11,-2022574463),y=L(y,_,x,p,u[b+11],16,1839030562),p=L(p,y,_,x,u[b+14],23,-35309556),x=L(x,p,y,_,u[b+1],4,-1530992060),_=L(_,x,p,y,u[b+4],11,1272893353),y=L(y,_,x,p,u[b+7],16,-155497632),p=L(p,y,_,x,u[b+10],23,-1094730640),x=L(x,p,y,_,u[b+13],4,681279174),_=L(_,x,p,y,u[b+0],11,-358537222),y=L(y,_,x,p,u[b+3],16,-722521979),p=L(p,y,_,x,u[b+6],23,76029189),x=L(x,p,y,_,u[b+9],4,-640364487),_=L(_,x,p,y,u[b+12],11,-421815835),y=L(y,_,x,p,u[b+15],16,530742520),p=L(p,y,_,x,u[b+2],23,-995338651),x=C(x,p,y,_,u[b+0],6,-198630844),_=C(_,x,p,y,u[b+7],10,1126891415),y=C(y,_,x,p,u[b+14],15,-1416354905),p=C(p,y,_,x,u[b+5],21,-57434055),x=C(x,p,y,_,u[b+12],6,1700485571),_=C(_,x,p,y,u[b+3],10,-1894986606),y=C(y,_,x,p,u[b+10],15,-1051523),p=C(p,y,_,x,u[b+1],21,-2054922799),x=C(x,p,y,_,u[b+8],6,1873313359),_=C(_,x,p,y,u[b+15],10,-30611744),y=C(y,_,x,p,u[b+6],15,-1560198380),p=C(p,y,_,x,u[b+13],21,1309151649),x=C(x,p,y,_,u[b+4],6,-145523070),_=C(_,x,p,y,u[b+11],10,-1120210379),y=C(y,_,x,p,u[b+2],15,718787259),p=C(p,y,_,x,u[b+9],21,-343485551),x=x+D>>>0,p=p+B>>>0,y=y+$>>>0,_=_+U>>>0}return r.endian([x,p,y,_])};f._ff=function(s,h,u,a,x,p,y){var _=s+(h&u|~h&a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._gg=function(s,h,u,a,x,p,y){var _=s+(h&a|u&~a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._hh=function(s,h,u,a,x,p,y){var _=s+(h^u^a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._ii=function(s,h,u,a,x,p,y){var _=s+(u^(h|~a))+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._blocksize=16,f._digestsize=16,d.exports=function(s,h){if(s==null)throw new Error("Illegal argument "+s);var u=r.wordsToBytes(f(s,h));return h&&h.asBytes?u:h&&h.asString?c.bytesToString(u):r.bytesToHex(u)}})()},61339:function(d){d.exports=g;function g(e,r){if(!e)throw new Error(r||"Assertion failed")}g.equal=function(r,i,l){if(r!=i)throw new Error(l||"Assertion failed: "+r+" != "+i)}},75918:function(d,g,e){"use strict";e.d(g,{Wi:function(){return s},Z0:function(){return h},aU:function(){return f},eZ:function(){return a},wY:function(){return u}});var r=e(4348),i=e(69323),l=e(13268),c=function(x,p,y,_){function b(S){return S instanceof y?S:new y(function(R){R(S)})}return new(y||(y=Promise))(function(S,R){function L(B){try{D(_.next(B))}catch($){R($)}}function C(B){try{D(_.throw(B))}catch($){R($)}}function D(B){B.done?S(B.value):b(B.value).then(L,C)}D((_=_.apply(x,p||[])).next())})};class f extends i.JT{constructor(p,y="",_="",b=!0,S){super(),this._onDidChange=this._register(new r.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=p,this._label=y,this._cssClass=_,this._enabled=b,this._actionCallback=S}get id(){return this._id}get label(){return this._label}set label(p){this._setLabel(p)}_setLabel(p){this._label!==p&&(this._label=p,this._onDidChange.fire({label:p}))}get tooltip(){return this._tooltip||""}set tooltip(p){this._setTooltip(p)}_setTooltip(p){this._tooltip!==p&&(this._tooltip=p,this._onDidChange.fire({tooltip:p}))}get class(){return this._cssClass}set class(p){this._setClass(p)}_setClass(p){this._cssClass!==p&&(this._cssClass=p,this._onDidChange.fire({class:p}))}get enabled(){return this._enabled}set enabled(p){this._setEnabled(p)}_setEnabled(p){this._enabled!==p&&(this._enabled=p,this._onDidChange.fire({enabled:p}))}get checked(){return this._checked}set checked(p){this._setChecked(p)}_setChecked(p){this._checked!==p&&(this._checked=p,this._onDidChange.fire({checked:p}))}run(p,y){return c(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(p))})}}class s extends i.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new r.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new r.Q5),this.onDidRun=this._onDidRun.event}run(p,y){return c(this,void 0,void 0,function*(){if(!p.enabled)return;this._onBeforeRun.fire({action:p});let _;try{yield this.runAction(p,y)}catch(b){_=b}this._onDidRun.fire({action:p,error:_})})}runAction(p,y){return c(this,void 0,void 0,function*(){yield p.run(y)})}}class h extends f{constructor(p){super(h.ID,p,p?"separator text":"separator"),this.checked=!1,this.enabled=!1}}h.ID="vs.actions.separator";class u{constructor(p,y,_,b){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=p,this.label=y,this.class=b,this._actions=_}get actions(){return this._actions}dispose(){}run(){return c(this,void 0,void 0,function*(){})}}class a extends f{constructor(){super(a.ID,l.N("submenu.empty","(empty)"),void 0,!1)}}a.ID="vs.actions.empty"},76068:function(d,g,e){"use strict";e.d(g,{ok:function(){return r}});function r(i,l){if(!i)throw new Error(l?`Assertion failed (${l})`:"Assertion Failed")}},52615:function(d,g,e){"use strict";e.d(g,{CM:function(){return f},JL:function(){return s},dT:function(){return u},fK:function(){return c},lA:function(){return h}});var r=e(4348);class i{constructor(){this._icons=new Map,this._onDidRegister=new r.Q5}add(x){const p=this._icons.get(x.id);p?x.description?p.description=x.description:console.error(`Duplicate registration of codicon ${x.id}`):(this._icons.set(x.id,x),this._onDidRegister.fire(x))}get(x){return this._icons.get(x)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const l=new i,c=l;function f(a,x){return new h(a,x)}function s(a){return a?a.replace(/\$\((.*?)\)/g,(x,p)=>` ${p} `).trim():""}class h{constructor(x,p,y){this.id=x,this.definition=p,this.description=y,l.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var u;(function(a){a.iconNameSegment="[A-Za-z0-9]+",a.iconNameExpression="[A-Za-z0-9\\-]+",a.iconModifierExpression="~[A-Za-z]+";const x=new RegExp(`^(${a.iconNameExpression})(${a.iconModifierExpression})?$`);function p(b){if(b instanceof h)return["codicon","codicon-"+b.id];const S=x.exec(b.id);if(!S)return p(h.error);let[,R,L]=S;const C=["codicon","codicon-"+R];return L&&C.push("codicon-modifier-"+L.substr(1)),C}a.asClassNameArray=p;function y(b){return p(b).join(" ")}a.asClassName=y;function _(b){return"."+p(b).join(".")}a.asCSSSelector=_})(u||(u={})),function(a){a.add=new a("add",{fontCharacter:"\\ea60"}),a.plus=new a("plus",a.add.definition),a.gistNew=new a("gist-new",a.add.definition),a.repoCreate=new a("repo-create",a.add.definition),a.lightbulb=new a("lightbulb",{fontCharacter:"\\ea61"}),a.lightBulb=new a("light-bulb",{fontCharacter:"\\ea61"}),a.repo=new a("repo",{fontCharacter:"\\ea62"}),a.repoDelete=new a("repo-delete",{fontCharacter:"\\ea62"}),a.gistFork=new a("gist-fork",{fontCharacter:"\\ea63"}),a.repoForked=new a("repo-forked",{fontCharacter:"\\ea63"}),a.gitPullRequest=new a("git-pull-request",{fontCharacter:"\\ea64"}),a.gitPullRequestAbandoned=new a("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),a.recordKeys=new a("record-keys",{fontCharacter:"\\ea65"}),a.keyboard=new a("keyboard",{fontCharacter:"\\ea65"}),a.tag=new a("tag",{fontCharacter:"\\ea66"}),a.tagAdd=new a("tag-add",{fontCharacter:"\\ea66"}),a.tagRemove=new a("tag-remove",{fontCharacter:"\\ea66"}),a.person=new a("person",{fontCharacter:"\\ea67"}),a.personFollow=new a("person-follow",{fontCharacter:"\\ea67"}),a.personOutline=new a("person-outline",{fontCharacter:"\\ea67"}),a.personFilled=new a("person-filled",{fontCharacter:"\\ea67"}),a.gitBranch=new a("git-branch",{fontCharacter:"\\ea68"}),a.gitBranchCreate=new a("git-branch-create",{fontCharacter:"\\ea68"}),a.gitBranchDelete=new a("git-branch-delete",{fontCharacter:"\\ea68"}),a.sourceControl=new a("source-control",{fontCharacter:"\\ea68"}),a.mirror=new a("mirror",{fontCharacter:"\\ea69"}),a.mirrorPublic=new a("mirror-public",{fontCharacter:"\\ea69"}),a.star=new a("star",{fontCharacter:"\\ea6a"}),a.starAdd=new a("star-add",{fontCharacter:"\\ea6a"}),a.starDelete=new a("star-delete",{fontCharacter:"\\ea6a"}),a.starEmpty=new a("star-empty",{fontCharacter:"\\ea6a"}),a.comment=new a("comment",{fontCharacter:"\\ea6b"}),a.commentAdd=new a("comment-add",{fontCharacter:"\\ea6b"}),a.alert=new a("alert",{fontCharacter:"\\ea6c"}),a.warning=new a("warning",{fontCharacter:"\\ea6c"}),a.search=new a("search",{fontCharacter:"\\ea6d"}),a.searchSave=new a("search-save",{fontCharacter:"\\ea6d"}),a.logOut=new a("log-out",{fontCharacter:"\\ea6e"}),a.signOut=new a("sign-out",{fontCharacter:"\\ea6e"}),a.logIn=new a("log-in",{fontCharacter:"\\ea6f"}),a.signIn=new a("sign-in",{fontCharacter:"\\ea6f"}),a.eye=new a("eye",{fontCharacter:"\\ea70"}),a.eyeUnwatch=new a("eye-unwatch",{fontCharacter:"\\ea70"}),a.eyeWatch=new a("eye-watch",{fontCharacter:"\\ea70"}),a.circleFilled=new a("circle-filled",{fontCharacter:"\\ea71"}),a.primitiveDot=new a("primitive-dot",{fontCharacter:"\\ea71"}),a.closeDirty=new a("close-dirty",{fontCharacter:"\\ea71"}),a.debugBreakpoint=new a("debug-breakpoint",{fontCharacter:"\\ea71"}),a.debugBreakpointDisabled=new a("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),a.debugHint=new a("debug-hint",{fontCharacter:"\\ea71"}),a.primitiveSquare=new a("primitive-square",{fontCharacter:"\\ea72"}),a.edit=new a("edit",{fontCharacter:"\\ea73"}),a.pencil=new a("pencil",{fontCharacter:"\\ea73"}),a.info=new a("info",{fontCharacter:"\\ea74"}),a.issueOpened=new a("issue-opened",{fontCharacter:"\\ea74"}),a.gistPrivate=new a("gist-private",{fontCharacter:"\\ea75"}),a.gitForkPrivate=new a("git-fork-private",{fontCharacter:"\\ea75"}),a.lock=new a("lock",{fontCharacter:"\\ea75"}),a.mirrorPrivate=new a("mirror-private",{fontCharacter:"\\ea75"}),a.close=new a("close",{fontCharacter:"\\ea76"}),a.removeClose=new a("remove-close",{fontCharacter:"\\ea76"}),a.x=new a("x",{fontCharacter:"\\ea76"}),a.repoSync=new a("repo-sync",{fontCharacter:"\\ea77"}),a.sync=new a("sync",{fontCharacter:"\\ea77"}),a.clone=new a("clone",{fontCharacter:"\\ea78"}),a.desktopDownload=new a("desktop-download",{fontCharacter:"\\ea78"}),a.beaker=new a("beaker",{fontCharacter:"\\ea79"}),a.microscope=new a("microscope",{fontCharacter:"\\ea79"}),a.vm=new a("vm",{fontCharacter:"\\ea7a"}),a.deviceDesktop=new a("device-desktop",{fontCharacter:"\\ea7a"}),a.file=new a("file",{fontCharacter:"\\ea7b"}),a.fileText=new a("file-text",{fontCharacter:"\\ea7b"}),a.more=new a("more",{fontCharacter:"\\ea7c"}),a.ellipsis=new a("ellipsis",{fontCharacter:"\\ea7c"}),a.kebabHorizontal=new a("kebab-horizontal",{fontCharacter:"\\ea7c"}),a.mailReply=new a("mail-reply",{fontCharacter:"\\ea7d"}),a.reply=new a("reply",{fontCharacter:"\\ea7d"}),a.organization=new a("organization",{fontCharacter:"\\ea7e"}),a.organizationFilled=new a("organization-filled",{fontCharacter:"\\ea7e"}),a.organizationOutline=new a("organization-outline",{fontCharacter:"\\ea7e"}),a.newFile=new a("new-file",{fontCharacter:"\\ea7f"}),a.fileAdd=new a("file-add",{fontCharacter:"\\ea7f"}),a.newFolder=new a("new-folder",{fontCharacter:"\\ea80"}),a.fileDirectoryCreate=new a("file-directory-create",{fontCharacter:"\\ea80"}),a.trash=new a("trash",{fontCharacter:"\\ea81"}),a.trashcan=new a("trashcan",{fontCharacter:"\\ea81"}),a.history=new a("history",{fontCharacter:"\\ea82"}),a.clock=new a("clock",{fontCharacter:"\\ea82"}),a.folder=new a("folder",{fontCharacter:"\\ea83"}),a.fileDirectory=new a("file-directory",{fontCharacter:"\\ea83"}),a.symbolFolder=new a("symbol-folder",{fontCharacter:"\\ea83"}),a.logoGithub=new a("logo-github",{fontCharacter:"\\ea84"}),a.markGithub=new a("mark-github",{fontCharacter:"\\ea84"}),a.github=new a("github",{fontCharacter:"\\ea84"}),a.terminal=new a("terminal",{fontCharacter:"\\ea85"}),a.console=new a("console",{fontCharacter:"\\ea85"}),a.repl=new a("repl",{fontCharacter:"\\ea85"}),a.zap=new a("zap",{fontCharacter:"\\ea86"}),a.symbolEvent=new a("symbol-event",{fontCharacter:"\\ea86"}),a.error=new a("error",{fontCharacter:"\\ea87"}),a.stop=new a("stop",{fontCharacter:"\\ea87"}),a.variable=new a("variable",{fontCharacter:"\\ea88"}),a.symbolVariable=new a("symbol-variable",{fontCharacter:"\\ea88"}),a.array=new a("array",{fontCharacter:"\\ea8a"}),a.symbolArray=new a("symbol-array",{fontCharacter:"\\ea8a"}),a.symbolModule=new a("symbol-module",{fontCharacter:"\\ea8b"}),a.symbolPackage=new a("symbol-package",{fontCharacter:"\\ea8b"}),a.symbolNamespace=new a("symbol-namespace",{fontCharacter:"\\ea8b"}),a.symbolObject=new a("symbol-object",{fontCharacter:"\\ea8b"}),a.symbolMethod=new a("symbol-method",{fontCharacter:"\\ea8c"}),a.symbolFunction=new a("symbol-function",{fontCharacter:"\\ea8c"}),a.symbolConstructor=new a("symbol-constructor",{fontCharacter:"\\ea8c"}),a.symbolBoolean=new a("symbol-boolean",{fontCharacter:"\\ea8f"}),a.symbolNull=new a("symbol-null",{fontCharacter:"\\ea8f"}),a.symbolNumeric=new a("symbol-numeric",{fontCharacter:"\\ea90"}),a.symbolNumber=new a("symbol-number",{fontCharacter:"\\ea90"}),a.symbolStructure=new a("symbol-structure",{fontCharacter:"\\ea91"}),a.symbolStruct=new a("symbol-struct",{fontCharacter:"\\ea91"}),a.symbolParameter=new a("symbol-parameter",{fontCharacter:"\\ea92"}),a.symbolTypeParameter=new a("symbol-type-parameter",{fontCharacter:"\\ea92"}),a.symbolKey=new a("symbol-key",{fontCharacter:"\\ea93"}),a.symbolText=new a("symbol-text",{fontCharacter:"\\ea93"}),a.symbolReference=new a("symbol-reference",{fontCharacter:"\\ea94"}),a.goToFile=new a("go-to-file",{fontCharacter:"\\ea94"}),a.symbolEnum=new a("symbol-enum",{fontCharacter:"\\ea95"}),a.symbolValue=new a("symbol-value",{fontCharacter:"\\ea95"}),a.symbolRuler=new a("symbol-ruler",{fontCharacter:"\\ea96"}),a.symbolUnit=new a("symbol-unit",{fontCharacter:"\\ea96"}),a.activateBreakpoints=new a("activate-breakpoints",{fontCharacter:"\\ea97"}),a.archive=new a("archive",{fontCharacter:"\\ea98"}),a.arrowBoth=new a("arrow-both",{fontCharacter:"\\ea99"}),a.arrowDown=new a("arrow-down",{fontCharacter:"\\ea9a"}),a.arrowLeft=new a("arrow-left",{fontCharacter:"\\ea9b"}),a.arrowRight=new a("arrow-right",{fontCharacter:"\\ea9c"}),a.arrowSmallDown=new a("arrow-small-down",{fontCharacter:"\\ea9d"}),a.arrowSmallLeft=new a("arrow-small-left",{fontCharacter:"\\ea9e"}),a.arrowSmallRight=new a("arrow-small-right",{fontCharacter:"\\ea9f"}),a.arrowSmallUp=new a("arrow-small-up",{fontCharacter:"\\eaa0"}),a.arrowUp=new a("arrow-up",{fontCharacter:"\\eaa1"}),a.bell=new a("bell",{fontCharacter:"\\eaa2"}),a.bold=new a("bold",{fontCharacter:"\\eaa3"}),a.book=new a("book",{fontCharacter:"\\eaa4"}),a.bookmark=new a("bookmark",{fontCharacter:"\\eaa5"}),a.debugBreakpointConditionalUnverified=new a("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),a.debugBreakpointConditional=new a("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),a.debugBreakpointConditionalDisabled=new a("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),a.debugBreakpointDataUnverified=new a("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),a.debugBreakpointData=new a("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),a.debugBreakpointDataDisabled=new a("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),a.debugBreakpointLogUnverified=new a("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),a.debugBreakpointLog=new a("debug-breakpoint-log",{fontCharacter:"\\eaab"}),a.debugBreakpointLogDisabled=new a("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),a.briefcase=new a("briefcase",{fontCharacter:"\\eaac"}),a.broadcast=new a("broadcast",{fontCharacter:"\\eaad"}),a.browser=new a("browser",{fontCharacter:"\\eaae"}),a.bug=new a("bug",{fontCharacter:"\\eaaf"}),a.calendar=new a("calendar",{fontCharacter:"\\eab0"}),a.caseSensitive=new a("case-sensitive",{fontCharacter:"\\eab1"}),a.check=new a("check",{fontCharacter:"\\eab2"}),a.checklist=new a("checklist",{fontCharacter:"\\eab3"}),a.chevronDown=new a("chevron-down",{fontCharacter:"\\eab4"}),a.dropDownButton=new a("drop-down-button",a.chevronDown.definition),a.chevronLeft=new a("chevron-left",{fontCharacter:"\\eab5"}),a.chevronRight=new a("chevron-right",{fontCharacter:"\\eab6"}),a.chevronUp=new a("chevron-up",{fontCharacter:"\\eab7"}),a.chromeClose=new a("chrome-close",{fontCharacter:"\\eab8"}),a.chromeMaximize=new a("chrome-maximize",{fontCharacter:"\\eab9"}),a.chromeMinimize=new a("chrome-minimize",{fontCharacter:"\\eaba"}),a.chromeRestore=new a("chrome-restore",{fontCharacter:"\\eabb"}),a.circleOutline=new a("circle-outline",{fontCharacter:"\\eabc"}),a.debugBreakpointUnverified=new a("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),a.circleSlash=new a("circle-slash",{fontCharacter:"\\eabd"}),a.circuitBoard=new a("circuit-board",{fontCharacter:"\\eabe"}),a.clearAll=new a("clear-all",{fontCharacter:"\\eabf"}),a.clippy=new a("clippy",{fontCharacter:"\\eac0"}),a.closeAll=new a("close-all",{fontCharacter:"\\eac1"}),a.cloudDownload=new a("cloud-download",{fontCharacter:"\\eac2"}),a.cloudUpload=new a("cloud-upload",{fontCharacter:"\\eac3"}),a.code=new a("code",{fontCharacter:"\\eac4"}),a.collapseAll=new a("collapse-all",{fontCharacter:"\\eac5"}),a.colorMode=new a("color-mode",{fontCharacter:"\\eac6"}),a.commentDiscussion=new a("comment-discussion",{fontCharacter:"\\eac7"}),a.compareChanges=new a("compare-changes",{fontCharacter:"\\eafd"}),a.creditCard=new a("credit-card",{fontCharacter:"\\eac9"}),a.dash=new a("dash",{fontCharacter:"\\eacc"}),a.dashboard=new a("dashboard",{fontCharacter:"\\eacd"}),a.database=new a("database",{fontCharacter:"\\eace"}),a.debugContinue=new a("debug-continue",{fontCharacter:"\\eacf"}),a.debugDisconnect=new a("debug-disconnect",{fontCharacter:"\\ead0"}),a.debugPause=new a("debug-pause",{fontCharacter:"\\ead1"}),a.debugRestart=new a("debug-restart",{fontCharacter:"\\ead2"}),a.debugStart=new a("debug-start",{fontCharacter:"\\ead3"}),a.debugStepInto=new a("debug-step-into",{fontCharacter:"\\ead4"}),a.debugStepOut=new a("debug-step-out",{fontCharacter:"\\ead5"}),a.debugStepOver=new a("debug-step-over",{fontCharacter:"\\ead6"}),a.debugStop=new a("debug-stop",{fontCharacter:"\\ead7"}),a.debug=new a("debug",{fontCharacter:"\\ead8"}),a.deviceCameraVideo=new a("device-camera-video",{fontCharacter:"\\ead9"}),a.deviceCamera=new a("device-camera",{fontCharacter:"\\eada"}),a.deviceMobile=new a("device-mobile",{fontCharacter:"\\eadb"}),a.diffAdded=new a("diff-added",{fontCharacter:"\\eadc"}),a.diffIgnored=new a("diff-ignored",{fontCharacter:"\\eadd"}),a.diffModified=new a("diff-modified",{fontCharacter:"\\eade"}),a.diffRemoved=new a("diff-removed",{fontCharacter:"\\eadf"}),a.diffRenamed=new a("diff-renamed",{fontCharacter:"\\eae0"}),a.diff=new a("diff",{fontCharacter:"\\eae1"}),a.discard=new a("discard",{fontCharacter:"\\eae2"}),a.editorLayout=new a("editor-layout",{fontCharacter:"\\eae3"}),a.emptyWindow=new a("empty-window",{fontCharacter:"\\eae4"}),a.exclude=new a("exclude",{fontCharacter:"\\eae5"}),a.extensions=new a("extensions",{fontCharacter:"\\eae6"}),a.eyeClosed=new a("eye-closed",{fontCharacter:"\\eae7"}),a.fileBinary=new a("file-binary",{fontCharacter:"\\eae8"}),a.fileCode=new a("file-code",{fontCharacter:"\\eae9"}),a.fileMedia=new a("file-media",{fontCharacter:"\\eaea"}),a.filePdf=new a("file-pdf",{fontCharacter:"\\eaeb"}),a.fileSubmodule=new a("file-submodule",{fontCharacter:"\\eaec"}),a.fileSymlinkDirectory=new a("file-symlink-directory",{fontCharacter:"\\eaed"}),a.fileSymlinkFile=new a("file-symlink-file",{fontCharacter:"\\eaee"}),a.fileZip=new a("file-zip",{fontCharacter:"\\eaef"}),a.files=new a("files",{fontCharacter:"\\eaf0"}),a.filter=new a("filter",{fontCharacter:"\\eaf1"}),a.flame=new a("flame",{fontCharacter:"\\eaf2"}),a.foldDown=new a("fold-down",{fontCharacter:"\\eaf3"}),a.foldUp=new a("fold-up",{fontCharacter:"\\eaf4"}),a.fold=new a("fold",{fontCharacter:"\\eaf5"}),a.folderActive=new a("folder-active",{fontCharacter:"\\eaf6"}),a.folderOpened=new a("folder-opened",{fontCharacter:"\\eaf7"}),a.gear=new a("gear",{fontCharacter:"\\eaf8"}),a.gift=new a("gift",{fontCharacter:"\\eaf9"}),a.gistSecret=new a("gist-secret",{fontCharacter:"\\eafa"}),a.gist=new a("gist",{fontCharacter:"\\eafb"}),a.gitCommit=new a("git-commit",{fontCharacter:"\\eafc"}),a.gitCompare=new a("git-compare",{fontCharacter:"\\eafd"}),a.gitMerge=new a("git-merge",{fontCharacter:"\\eafe"}),a.githubAction=new a("github-action",{fontCharacter:"\\eaff"}),a.githubAlt=new a("github-alt",{fontCharacter:"\\eb00"}),a.globe=new a("globe",{fontCharacter:"\\eb01"}),a.grabber=new a("grabber",{fontCharacter:"\\eb02"}),a.graph=new a("graph",{fontCharacter:"\\eb03"}),a.gripper=new a("gripper",{fontCharacter:"\\eb04"}),a.heart=new a("heart",{fontCharacter:"\\eb05"}),a.home=new a("home",{fontCharacter:"\\eb06"}),a.horizontalRule=new a("horizontal-rule",{fontCharacter:"\\eb07"}),a.hubot=new a("hubot",{fontCharacter:"\\eb08"}),a.inbox=new a("inbox",{fontCharacter:"\\eb09"}),a.issueClosed=new a("issue-closed",{fontCharacter:"\\eba4"}),a.issueReopened=new a("issue-reopened",{fontCharacter:"\\eb0b"}),a.issues=new a("issues",{fontCharacter:"\\eb0c"}),a.italic=new a("italic",{fontCharacter:"\\eb0d"}),a.jersey=new a("jersey",{fontCharacter:"\\eb0e"}),a.json=new a("json",{fontCharacter:"\\eb0f"}),a.kebabVertical=new a("kebab-vertical",{fontCharacter:"\\eb10"}),a.key=new a("key",{fontCharacter:"\\eb11"}),a.law=new a("law",{fontCharacter:"\\eb12"}),a.lightbulbAutofix=new a("lightbulb-autofix",{fontCharacter:"\\eb13"}),a.linkExternal=new a("link-external",{fontCharacter:"\\eb14"}),a.link=new a("link",{fontCharacter:"\\eb15"}),a.listOrdered=new a("list-ordered",{fontCharacter:"\\eb16"}),a.listUnordered=new a("list-unordered",{fontCharacter:"\\eb17"}),a.liveShare=new a("live-share",{fontCharacter:"\\eb18"}),a.loading=new a("loading",{fontCharacter:"\\eb19"}),a.location=new a("location",{fontCharacter:"\\eb1a"}),a.mailRead=new a("mail-read",{fontCharacter:"\\eb1b"}),a.mail=new a("mail",{fontCharacter:"\\eb1c"}),a.markdown=new a("markdown",{fontCharacter:"\\eb1d"}),a.megaphone=new a("megaphone",{fontCharacter:"\\eb1e"}),a.mention=new a("mention",{fontCharacter:"\\eb1f"}),a.milestone=new a("milestone",{fontCharacter:"\\eb20"}),a.mortarBoard=new a("mortar-board",{fontCharacter:"\\eb21"}),a.move=new a("move",{fontCharacter:"\\eb22"}),a.multipleWindows=new a("multiple-windows",{fontCharacter:"\\eb23"}),a.mute=new a("mute",{fontCharacter:"\\eb24"}),a.noNewline=new a("no-newline",{fontCharacter:"\\eb25"}),a.note=new a("note",{fontCharacter:"\\eb26"}),a.octoface=new a("octoface",{fontCharacter:"\\eb27"}),a.openPreview=new a("open-preview",{fontCharacter:"\\eb28"}),a.package_=new a("package",{fontCharacter:"\\eb29"}),a.paintcan=new a("paintcan",{fontCharacter:"\\eb2a"}),a.pin=new a("pin",{fontCharacter:"\\eb2b"}),a.play=new a("play",{fontCharacter:"\\eb2c"}),a.run=new a("run",{fontCharacter:"\\eb2c"}),a.plug=new a("plug",{fontCharacter:"\\eb2d"}),a.preserveCase=new a("preserve-case",{fontCharacter:"\\eb2e"}),a.preview=new a("preview",{fontCharacter:"\\eb2f"}),a.project=new a("project",{fontCharacter:"\\eb30"}),a.pulse=new a("pulse",{fontCharacter:"\\eb31"}),a.question=new a("question",{fontCharacter:"\\eb32"}),a.quote=new a("quote",{fontCharacter:"\\eb33"}),a.radioTower=new a("radio-tower",{fontCharacter:"\\eb34"}),a.reactions=new a("reactions",{fontCharacter:"\\eb35"}),a.references=new a("references",{fontCharacter:"\\eb36"}),a.refresh=new a("refresh",{fontCharacter:"\\eb37"}),a.regex=new a("regex",{fontCharacter:"\\eb38"}),a.remoteExplorer=new a("remote-explorer",{fontCharacter:"\\eb39"}),a.remote=new a("remote",{fontCharacter:"\\eb3a"}),a.remove=new a("remove",{fontCharacter:"\\eb3b"}),a.replaceAll=new a("replace-all",{fontCharacter:"\\eb3c"}),a.replace=new a("replace",{fontCharacter:"\\eb3d"}),a.repoClone=new a("repo-clone",{fontCharacter:"\\eb3e"}),a.repoForcePush=new a("repo-force-push",{fontCharacter:"\\eb3f"}),a.repoPull=new a("repo-pull",{fontCharacter:"\\eb40"}),a.repoPush=new a("repo-push",{fontCharacter:"\\eb41"}),a.report=new a("report",{fontCharacter:"\\eb42"}),a.requestChanges=new a("request-changes",{fontCharacter:"\\eb43"}),a.rocket=new a("rocket",{fontCharacter:"\\eb44"}),a.rootFolderOpened=new a("root-folder-opened",{fontCharacter:"\\eb45"}),a.rootFolder=new a("root-folder",{fontCharacter:"\\eb46"}),a.rss=new a("rss",{fontCharacter:"\\eb47"}),a.ruby=new a("ruby",{fontCharacter:"\\eb48"}),a.saveAll=new a("save-all",{fontCharacter:"\\eb49"}),a.saveAs=new a("save-as",{fontCharacter:"\\eb4a"}),a.save=new a("save",{fontCharacter:"\\eb4b"}),a.screenFull=new a("screen-full",{fontCharacter:"\\eb4c"}),a.screenNormal=new a("screen-normal",{fontCharacter:"\\eb4d"}),a.searchStop=new a("search-stop",{fontCharacter:"\\eb4e"}),a.server=new a("server",{fontCharacter:"\\eb50"}),a.settingsGear=new a("settings-gear",{fontCharacter:"\\eb51"}),a.settings=new a("settings",{fontCharacter:"\\eb52"}),a.shield=new a("shield",{fontCharacter:"\\eb53"}),a.smiley=new a("smiley",{fontCharacter:"\\eb54"}),a.sortPrecedence=new a("sort-precedence",{fontCharacter:"\\eb55"}),a.splitHorizontal=new a("split-horizontal",{fontCharacter:"\\eb56"}),a.splitVertical=new a("split-vertical",{fontCharacter:"\\eb57"}),a.squirrel=new a("squirrel",{fontCharacter:"\\eb58"}),a.starFull=new a("star-full",{fontCharacter:"\\eb59"}),a.starHalf=new a("star-half",{fontCharacter:"\\eb5a"}),a.symbolClass=new a("symbol-class",{fontCharacter:"\\eb5b"}),a.symbolColor=new a("symbol-color",{fontCharacter:"\\eb5c"}),a.symbolConstant=new a("symbol-constant",{fontCharacter:"\\eb5d"}),a.symbolEnumMember=new a("symbol-enum-member",{fontCharacter:"\\eb5e"}),a.symbolField=new a("symbol-field",{fontCharacter:"\\eb5f"}),a.symbolFile=new a("symbol-file",{fontCharacter:"\\eb60"}),a.symbolInterface=new a("symbol-interface",{fontCharacter:"\\eb61"}),a.symbolKeyword=new a("symbol-keyword",{fontCharacter:"\\eb62"}),a.symbolMisc=new a("symbol-misc",{fontCharacter:"\\eb63"}),a.symbolOperator=new a("symbol-operator",{fontCharacter:"\\eb64"}),a.symbolProperty=new a("symbol-property",{fontCharacter:"\\eb65"}),a.wrench=new a("wrench",{fontCharacter:"\\eb65"}),a.wrenchSubaction=new a("wrench-subaction",{fontCharacter:"\\eb65"}),a.symbolSnippet=new a("symbol-snippet",{fontCharacter:"\\eb66"}),a.tasklist=new a("tasklist",{fontCharacter:"\\eb67"}),a.telescope=new a("telescope",{fontCharacter:"\\eb68"}),a.textSize=new a("text-size",{fontCharacter:"\\eb69"}),a.threeBars=new a("three-bars",{fontCharacter:"\\eb6a"}),a.thumbsdown=new a("thumbsdown",{fontCharacter:"\\eb6b"}),a.thumbsup=new a("thumbsup",{fontCharacter:"\\eb6c"}),a.tools=new a("tools",{fontCharacter:"\\eb6d"}),a.triangleDown=new a("triangle-down",{fontCharacter:"\\eb6e"}),a.triangleLeft=new a("triangle-left",{fontCharacter:"\\eb6f"}),a.triangleRight=new a("triangle-right",{fontCharacter:"\\eb70"}),a.triangleUp=new a("triangle-up",{fontCharacter:"\\eb71"}),a.twitter=new a("twitter",{fontCharacter:"\\eb72"}),a.unfold=new a("unfold",{fontCharacter:"\\eb73"}),a.unlock=new a("unlock",{fontCharacter:"\\eb74"}),a.unmute=new a("unmute",{fontCharacter:"\\eb75"}),a.unverified=new a("unverified",{fontCharacter:"\\eb76"}),a.verified=new a("verified",{fontCharacter:"\\eb77"}),a.versions=new a("versions",{fontCharacter:"\\eb78"}),a.vmActive=new a("vm-active",{fontCharacter:"\\eb79"}),a.vmOutline=new a("vm-outline",{fontCharacter:"\\eb7a"}),a.vmRunning=new a("vm-running",{fontCharacter:"\\eb7b"}),a.watch=new a("watch",{fontCharacter:"\\eb7c"}),a.whitespace=new a("whitespace",{fontCharacter:"\\eb7d"}),a.wholeWord=new a("whole-word",{fontCharacter:"\\eb7e"}),a.window=new a("window",{fontCharacter:"\\eb7f"}),a.wordWrap=new a("word-wrap",{fontCharacter:"\\eb80"}),a.zoomIn=new a("zoom-in",{fontCharacter:"\\eb81"}),a.zoomOut=new a("zoom-out",{fontCharacter:"\\eb82"}),a.listFilter=new a("list-filter",{fontCharacter:"\\eb83"}),a.listFlat=new a("list-flat",{fontCharacter:"\\eb84"}),a.listSelection=new a("list-selection",{fontCharacter:"\\eb85"}),a.selection=new a("selection",{fontCharacter:"\\eb85"}),a.listTree=new a("list-tree",{fontCharacter:"\\eb86"}),a.debugBreakpointFunctionUnverified=new a("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),a.debugBreakpointFunction=new a("debug-breakpoint-function",{fontCharacter:"\\eb88"}),a.debugBreakpointFunctionDisabled=new a("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),a.debugStackframeActive=new a("debug-stackframe-active",{fontCharacter:"\\eb89"}),a.debugStackframeDot=new a("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),a.debugStackframe=new a("debug-stackframe",{fontCharacter:"\\eb8b"}),a.debugStackframeFocused=new a("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),a.debugBreakpointUnsupported=new a("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),a.symbolString=new a("symbol-string",{fontCharacter:"\\eb8d"}),a.debugReverseContinue=new a("debug-reverse-continue",{fontCharacter:"\\eb8e"}),a.debugStepBack=new a("debug-step-back",{fontCharacter:"\\eb8f"}),a.debugRestartFrame=new a("debug-restart-frame",{fontCharacter:"\\eb90"}),a.callIncoming=new a("call-incoming",{fontCharacter:"\\eb92"}),a.callOutgoing=new a("call-outgoing",{fontCharacter:"\\eb93"}),a.menu=new a("menu",{fontCharacter:"\\eb94"}),a.expandAll=new a("expand-all",{fontCharacter:"\\eb95"}),a.feedback=new a("feedback",{fontCharacter:"\\eb96"}),a.groupByRefType=new a("group-by-ref-type",{fontCharacter:"\\eb97"}),a.ungroupByRefType=new a("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),a.account=new a("account",{fontCharacter:"\\eb99"}),a.bellDot=new a("bell-dot",{fontCharacter:"\\eb9a"}),a.debugConsole=new a("debug-console",{fontCharacter:"\\eb9b"}),a.library=new a("library",{fontCharacter:"\\eb9c"}),a.output=new a("output",{fontCharacter:"\\eb9d"}),a.runAll=new a("run-all",{fontCharacter:"\\eb9e"}),a.syncIgnored=new a("sync-ignored",{fontCharacter:"\\eb9f"}),a.pinned=new a("pinned",{fontCharacter:"\\eba0"}),a.githubInverted=new a("github-inverted",{fontCharacter:"\\eba1"}),a.debugAlt=new a("debug-alt",{fontCharacter:"\\eb91"}),a.serverProcess=new a("server-process",{fontCharacter:"\\eba2"}),a.serverEnvironment=new a("server-environment",{fontCharacter:"\\eba3"}),a.pass=new a("pass",{fontCharacter:"\\eba4"}),a.stopCircle=new a("stop-circle",{fontCharacter:"\\eba5"}),a.playCircle=new a("play-circle",{fontCharacter:"\\eba6"}),a.record=new a("record",{fontCharacter:"\\eba7"}),a.debugAltSmall=new a("debug-alt-small",{fontCharacter:"\\eba8"}),a.vmConnect=new a("vm-connect",{fontCharacter:"\\eba9"}),a.cloud=new a("cloud",{fontCharacter:"\\ebaa"}),a.merge=new a("merge",{fontCharacter:"\\ebab"}),a.exportIcon=new a("export",{fontCharacter:"\\ebac"}),a.graphLeft=new a("graph-left",{fontCharacter:"\\ebad"}),a.magnet=new a("magnet",{fontCharacter:"\\ebae"}),a.notebook=new a("notebook",{fontCharacter:"\\ebaf"}),a.redo=new a("redo",{fontCharacter:"\\ebb0"}),a.checkAll=new a("check-all",{fontCharacter:"\\ebb1"}),a.pinnedDirty=new a("pinned-dirty",{fontCharacter:"\\ebb2"}),a.passFilled=new a("pass-filled",{fontCharacter:"\\ebb3"}),a.circleLargeFilled=new a("circle-large-filled",{fontCharacter:"\\ebb4"}),a.circleLargeOutline=new a("circle-large-outline",{fontCharacter:"\\ebb5"}),a.combine=new a("combine",{fontCharacter:"\\ebb6"}),a.gather=new a("gather",{fontCharacter:"\\ebb6"}),a.table=new a("table",{fontCharacter:"\\ebb7"}),a.variableGroup=new a("variable-group",{fontCharacter:"\\ebb8"}),a.typeHierarchy=new a("type-hierarchy",{fontCharacter:"\\ebb9"}),a.typeHierarchySub=new a("type-hierarchy-sub",{fontCharacter:"\\ebba"}),a.typeHierarchySuper=new a("type-hierarchy-super",{fontCharacter:"\\ebbb"}),a.gitPullRequestCreate=new a("git-pull-request-create",{fontCharacter:"\\ebbc"}),a.runAbove=new a("run-above",{fontCharacter:"\\ebbd"}),a.runBelow=new a("run-below",{fontCharacter:"\\ebbe"}),a.notebookTemplate=new a("notebook-template",{fontCharacter:"\\ebbf"}),a.debugRerun=new a("debug-rerun",{fontCharacter:"\\ebc0"}),a.workspaceTrusted=new a("workspace-trusted",{fontCharacter:"\\ebc1"}),a.workspaceUntrusted=new a("workspace-untrusted",{fontCharacter:"\\ebc2"}),a.workspaceUnspecified=new a("workspace-unspecified",{fontCharacter:"\\ebc3"}),a.terminalCmd=new a("terminal-cmd",{fontCharacter:"\\ebc4"}),a.terminalDebian=new a("terminal-debian",{fontCharacter:"\\ebc5"}),a.terminalLinux=new a("terminal-linux",{fontCharacter:"\\ebc6"}),a.terminalPowershell=new a("terminal-powershell",{fontCharacter:"\\ebc7"}),a.terminalTmux=new a("terminal-tmux",{fontCharacter:"\\ebc8"}),a.terminalUbuntu=new a("terminal-ubuntu",{fontCharacter:"\\ebc9"}),a.terminalBash=new a("terminal-bash",{fontCharacter:"\\ebca"}),a.arrowSwap=new a("arrow-swap",{fontCharacter:"\\ebcb"}),a.copy=new a("copy",{fontCharacter:"\\ebcc"}),a.personAdd=new a("person-add",{fontCharacter:"\\ebcd"}),a.filterFilled=new a("filter-filled",{fontCharacter:"\\ebce"}),a.wand=new a("wand",{fontCharacter:"\\ebcf"}),a.debugLineByLine=new a("debug-line-by-line",{fontCharacter:"\\ebd0"}),a.inspect=new a("inspect",{fontCharacter:"\\ebd1"}),a.layers=new a("layers",{fontCharacter:"\\ebd2"}),a.layersDot=new a("layers-dot",{fontCharacter:"\\ebd3"}),a.layersActive=new a("layers-active",{fontCharacter:"\\ebd4"}),a.compass=new a("compass",{fontCharacter:"\\ebd5"}),a.compassDot=new a("compass-dot",{fontCharacter:"\\ebd6"}),a.compassActive=new a("compass-active",{fontCharacter:"\\ebd7"}),a.azure=new a("azure",{fontCharacter:"\\ebd8"}),a.issueDraft=new a("issue-draft",{fontCharacter:"\\ebd9"}),a.gitPullRequestClosed=new a("git-pull-request-closed",{fontCharacter:"\\ebda"}),a.gitPullRequestDraft=new a("git-pull-request-draft",{fontCharacter:"\\ebdb"}),a.debugAll=new a("debug-all",{fontCharacter:"\\ebdc"}),a.debugCoverage=new a("debug-coverage",{fontCharacter:"\\ebdd"}),a.runErrors=new a("run-errors",{fontCharacter:"\\ebde"}),a.folderLibrary=new a("folder-library",{fontCharacter:"\\ebdf"}),a.debugContinueSmall=new a("debug-continue-small",{fontCharacter:"\\ebe0"}),a.beakerStop=new a("beaker-stop",{fontCharacter:"\\ebe1"}),a.graphLine=new a("graph-line",{fontCharacter:"\\ebe2"}),a.graphScatter=new a("graph-scatter",{fontCharacter:"\\ebe3"}),a.pieChart=new a("pie-chart",{fontCharacter:"\\ebe4"}),a.bracket=new a("bracket",a.json.definition),a.bracketDot=new a("bracket-dot",{fontCharacter:"\\ebe5"}),a.bracketError=new a("bracket-error",{fontCharacter:"\\ebe6"}),a.lockSmall=new a("lock-small",{fontCharacter:"\\ebe7"}),a.azureDevops=new a("azure-devops",{fontCharacter:"\\ebe8"}),a.verifiedFilled=new a("verified-filled",{fontCharacter:"\\ebe9"})}(h||(h={}))},79881:function(d,g,e){"use strict";e.d(g,{B8:function(){return p},Cp:function(){return c},F0:function(){return u},L6:function(){return x},VV:function(){return h},b1:function(){return a},dL:function(){return l},ri:function(){return f}});class r{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(_){setTimeout(()=>{throw _.stack?new Error(_.message+`
`+_.stack):_},0)}}emit(_){this.listeners.forEach(b=>{b(_)})}onUnexpectedError(_){this.unexpectedErrorHandler(_),this.emit(_)}onUnexpectedExternalError(_){this.unexpectedErrorHandler(_)}}const i=new r;function l(y){h(y)||i.onUnexpectedError(y)}function c(y){h(y)||i.onUnexpectedExternalError(y)}function f(y){if(y instanceof Error){let{name:_,message:b}=y;const S=y.stacktrace||y.stack;return{$isError:!0,name:_,message:b,stack:S}}return y}const s="Canceled";function h(y){return y instanceof Error&&y.name===s&&y.message===s}function u(){const y=new Error(s);return y.name=y.message,y}function a(y){return y?new Error(`Illegal argument: ${y}`):new Error("Illegal argument")}function x(y){return y?new Error(`Illegal state: ${y}`):new Error("Illegal state")}class p extends Error{constructor(_){super("NotSupported"),_&&(this.message=_)}}},4348:function(d,g,e){"use strict";e.d(g,{D0:function(){return p},E7:function(){return y},K3:function(){return x},Q5:function(){return a},ZD:function(){return _},ju:function(){return f}});var r=e(79881),i=e(69323),l=e(34502),c=e(95830),f;(function(b){b.None=()=>i.JT.None;function S(ue){return(ne,ee=null,ie)=>{let F=!1,M;return M=ue(Q=>{if(!F)return M?M.dispose():F=!0,ne.call(ee,Q)},null,ie),F&&M.dispose(),M}}b.once=S;function R(ue,ne){return U((ee,ie=null,F)=>ue(M=>ee.call(ie,ne(M)),null,F))}b.map=R;function L(ue,ne){return U((ee,ie=null,F)=>ue(M=>{ne(M),ee.call(ie,M)},null,F))}b.forEach=L;function C(ue,ne){return U((ee,ie=null,F)=>ue(M=>ne(M)&&ee.call(ie,M),null,F))}b.filter=C;function D(ue){return ue}b.signal=D;function B(...ue){return(ne,ee=null,ie)=>(0,i.F8)(...ue.map(F=>F(M=>ne.call(ee,M),null,ie)))}b.any=B;function $(ue,ne,ee){let ie=ee;return R(ue,F=>(ie=ne(ie,F),ie))}b.reduce=$;function U(ue){let ne;const ee=new a({onFirstListenerAdd(){ne=ue(ee.fire,ee)},onLastListenerRemove(){ne.dispose()}});return ee.event}function K(ue,ne,ee=100,ie=!1,F){let M,Q,de,we=0;const Ce=new a({leakWarningThreshold:F,onFirstListenerAdd(){M=ue(je=>{we++,Q=ne(Q,je),ie&&!de&&(Ce.fire(Q),Q=void 0),clearTimeout(de),de=setTimeout(()=>{const Fe=Q;Q=void 0,de=void 0,(!ie||we>1)&&Ce.fire(Fe),we=0},ee)})},onLastListenerRemove(){M.dispose()}});return Ce.event}b.debounce=K;function V(ue,ne=(ee,ie)=>ee===ie){let ee=!0,ie;return C(ue,F=>{const M=ee||!ne(F,ie);return ee=!1,ie=F,M})}b.latch=V;function G(ue,ne){return[b.filter(ue,ne),b.filter(ue,ee=>!ne(ee))]}b.split=G;function oe(ue,ne=!1,ee=[]){let ie=ee.slice(),F=ue(de=>{ie?ie.push(de):Q.fire(de)});const M=()=>{ie&&ie.forEach(de=>Q.fire(de)),ie=null},Q=new a({onFirstListenerAdd(){F||(F=ue(de=>Q.fire(de)))},onFirstListenerDidAdd(){ie&&(ne?setTimeout(M):M())},onLastListenerRemove(){F&&F.dispose(),F=null}});return Q.event}b.buffer=oe;class ae{constructor(ne){this.event=ne}map(ne){return new ae(R(this.event,ne))}forEach(ne){return new ae(L(this.event,ne))}filter(ne){return new ae(C(this.event,ne))}reduce(ne,ee){return new ae($(this.event,ne,ee))}latch(){return new ae(V(this.event))}debounce(ne,ee=100,ie=!1,F){return new ae(K(this.event,ne,ee,ie,F))}on(ne,ee,ie){return this.event(ne,ee,ie)}once(ne,ee,ie){return S(this.event)(ne,ee,ie)}}function le(ue){return new ae(ue)}b.chain=le;function q(ue,ne,ee=ie=>ie){const ie=(...de)=>Q.fire(ee(...de)),F=()=>ue.on(ne,ie),M=()=>ue.removeListener(ne,ie),Q=new a({onFirstListenerAdd:F,onLastListenerRemove:M});return Q.event}b.fromNodeEventEmitter=q;function J(ue,ne,ee=ie=>ie){const ie=(...de)=>Q.fire(ee(...de)),F=()=>ue.addEventListener(ne,ie),M=()=>ue.removeEventListener(ne,ie),Q=new a({onFirstListenerAdd:F,onLastListenerRemove:M});return Q.event}b.fromDOMEventEmitter=J;function Y(ue){return new Promise(ne=>S(ue)(ne))}b.toPromise=Y})(f||(f={}));class s{constructor(S){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${S}_${s._idPool++}`}start(S){this._stopWatch=new c.G(!0),this._listenerCount=S}stop(){if(this._stopWatch){const S=this._stopWatch.elapsed();this._elapsedOverall+=S,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${S.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}s._idPool=0;let h=-1;class u{constructor(S,R=Math.random().toString(18).slice(2,5)){this.customThreshold=S,this.name=R,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(S){let R=h;if(typeof this.customThreshold=="number"&&(R=this.customThreshold),R<=0||S<R)return;this._stacks||(this._stacks=new Map);const L=new Error().stack.split(`
`).slice(3).join(`
`),C=this._stacks.get(L)||0;if(this._stacks.set(L,C+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=R*.5;let D,B=0;for(const[$,U]of this._stacks)(!D||B<U)&&(D=$,B=U);console.warn(`[${this.name}] potential listener LEAK detected, having ${S} listeners already. MOST frequent listener (${B}):`),console.warn(D)}return()=>{const D=this._stacks.get(L)||0;this._stacks.set(L,D-1)}}}class a{constructor(S){var R;this._disposed=!1,this._options=S,this._leakageMon=h>0?new u(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((R=this._options)===null||R===void 0)&&R._profName?new s(this._options._profName):void 0}get event(){return this._event||(this._event=(S,R,L)=>{var C;this._listeners||(this._listeners=new l.S);const D=this._listeners.isEmpty();D&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const B=this._listeners.push(R?[S,R]:S);D&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,S,R);const $=(C=this._leakageMon)===null||C===void 0?void 0:C.check(this._listeners.size),U=(0,i.OF)(()=>{$&&$(),this._disposed||(B(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return L instanceof i.SL?L.add(U):Array.isArray(L)&&L.push(U),U}),this._event}fire(S){var R,L;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new l.S);for(let C of this._listeners)this._deliveryQueue.push([C,S]);for((R=this._perfMon)===null||R===void 0||R.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[C,D]=this._deliveryQueue.shift();try{typeof C=="function"?C.call(void 0,D):C[0].call(C[1],D)}catch(B){(0,r.dL)(B)}}(L=this._perfMon)===null||L===void 0||L.stop()}}dispose(){var S,R,L,C,D;this._disposed||(this._disposed=!0,(S=this._listeners)===null||S===void 0||S.clear(),(R=this._deliveryQueue)===null||R===void 0||R.clear(),(C=(L=this._options)===null||L===void 0?void 0:L.onLastListenerRemove)===null||C===void 0||C.call(L),(D=this._leakageMon)===null||D===void 0||D.dispose())}}class x extends a{constructor(S){super(S),this._isPaused=0,this._eventQueue=new l.S,this._mergeFn=S==null?void 0:S.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const S=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(S))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(S){this._listeners&&(this._isPaused!==0?this._eventQueue.push(S):super.fire(S))}}class p extends x{constructor(S){var R;super(S),this._delay=(R=S.delay)!==null&&R!==void 0?R:100}fire(S){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(S)}}class y{constructor(){this.buffers=[]}wrapEvent(S){return(R,L,C)=>S(D=>{const B=this.buffers[this.buffers.length-1];B?B.push(()=>R.call(L,D)):R.call(L,D)},void 0,C)}bufferEvents(S){const R=[];this.buffers.push(R);const L=S();return this.buffers.pop(),R.forEach(C=>C()),L}}class _{constructor(){this.listening=!1,this.inputEvent=f.None,this.inputEventListener=i.JT.None,this.emitter=new a({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(S){this.inputEvent=S,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=S(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(d,g,e){"use strict";e.d(g,{I:function(){return r}});function r(i){const l=this;let c=!1,f;return function(){return c||(c=!0,f=i.apply(l,arguments)),f}}},88226:function(d,g,e){"use strict";e.d(g,{$:function(){return r}});var r;(function(i){function l(B){return B&&typeof B=="object"&&typeof B[Symbol.iterator]=="function"}i.is=l;const c=Object.freeze([]);function f(){return c}i.empty=f;function*s(B){yield B}i.single=s;function h(B){return B||c}i.from=h;function u(B){return!B||B[Symbol.iterator]().next().done===!0}i.isEmpty=u;function a(B){return B[Symbol.iterator]().next().value}i.first=a;function x(B,$){for(const U of B)if($(U))return!0;return!1}i.some=x;function p(B,$){for(const U of B)if($(U))return U}i.find=p;function*y(B,$){for(const U of B)$(U)&&(yield U)}i.filter=y;function*_(B,$){let U=0;for(const K of B)yield $(K,U++)}i.map=_;function*b(...B){for(const $ of B)for(const U of $)yield U}i.concat=b;function*S(B){for(const $ of B)for(const U of $)yield U}i.concatNested=S;function R(B,$,U){let K=U;for(const V of B)K=$(K,V);return K}i.reduce=R;function*L(B,$,U=B.length){for($<0&&($+=B.length),U<0?U+=B.length:U>B.length&&(U=B.length);$<U;$++)yield B[$]}i.slice=L;function C(B,$=Number.POSITIVE_INFINITY){const U=[];if($===0)return[U,B];const K=B[Symbol.iterator]();for(let V=0;V<$;V++){const G=K.next();if(G.done)return[U,i.empty()];U.push(G.value)}return[U,{[Symbol.iterator](){return K}}]}i.consume=C;function D(B,$,U=(K,V)=>K===V){const K=B[Symbol.iterator](),V=$[Symbol.iterator]();for(;;){const G=K.next(),oe=V.next();if(G.done!==oe.done)return!1;if(G.done)return!0;if(!U(G.value,oe.value))return!1}}i.equals=D})(r||(r={}))},69323:function(d,g,e){"use strict";e.d(g,{B9:function(){return _},F8:function(){return b},JT:function(){return L},Jz:function(){return D},OF:function(){return S},SL:function(){return R},Wf:function(){return y},XK:function(){return C},dk:function(){return x}});var r=e(17845),i=e(88226);const l=!1;let c=null;function f(B){c=B}if(l){const B="__is_disposable_tracked__";f(new class{trackDisposable($){const U=new Error("Potentially leaked disposable").stack;setTimeout(()=>{$[B]||console.log(U)},3e3)}setParent($,U){if($&&$!==L.None)try{$[B]=!0}catch(K){}}markAsDisposed($){if($&&$!==L.None)try{$[B]=!0}catch(U){}}markAsSingleton($){}})}function s(B){return c==null||c.trackDisposable(B),B}function h(B){c==null||c.markAsDisposed(B)}function u(B,$){c==null||c.setParent(B,$)}function a(B,$){if(c)for(const U of B)c.setParent(U,$)}function x(B){return c==null||c.markAsSingleton(B),B}class p extends Error{constructor($){super(`Encountered errors while disposing of store. Errors: [${$.join(", ")}]`),this.errors=$}}function y(B){return typeof B.dispose=="function"&&B.dispose.length===0}function _(B){if(i.$.is(B)){let $=[];for(const U of B)if(U)try{U.dispose()}catch(K){$.push(K)}if($.length===1)throw $[0];if($.length>1)throw new p($);return Array.isArray(B)?[]:B}else if(B)return B.dispose(),B}function b(...B){const $=S(()=>_(B));return a(B,$),$}function S(B){const $=s({dispose:(0,r.I)(()=>{h($),B()})});return $}class R{constructor(){this._toDispose=new Set,this._isDisposed=!1,s(this)}dispose(){this._isDisposed||(h(this),this._isDisposed=!0,this.clear())}clear(){try{_(this._toDispose.values())}finally{this._toDispose.clear()}}add($){if(!$)return $;if($===this)throw new Error("Cannot register a disposable on itself!");return u($,this),this._isDisposed?R.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add($),$}}R.DISABLE_DISPOSED_WARNING=!1;class L{constructor(){this._store=new R,s(this),u(this._store,this)}dispose(){h(this),this._store.dispose()}_register($){if($===this)throw new Error("Cannot register a disposable on itself!");return this._store.add($)}}L.None=Object.freeze({dispose(){}});class C{constructor(){this._isDisposed=!1,s(this)}get value(){return this._isDisposed?void 0:this._value}set value($){var U;this._isDisposed||$===this._value||((U=this._value)===null||U===void 0||U.dispose(),$&&u($,this),this._value=$)}clear(){this.value=void 0}dispose(){var $;this._isDisposed=!0,h(this),($=this._value)===null||$===void 0||$.dispose(),this._value=void 0}clearAndLeak(){const $=this._value;return this._value=void 0,$&&u($,null),$}}class D{constructor($){this.object=$}dispose(){}}},34502:function(d,g,e){"use strict";e.d(g,{S:function(){return i}});class r{constructor(c){this.element=c,this.next=r.Undefined,this.prev=r.Undefined}}r.Undefined=new r(void 0);class i{constructor(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===r.Undefined}clear(){let c=this._first;for(;c!==r.Undefined;){const f=c.next;c.prev=r.Undefined,c.next=r.Undefined,c=f}this._first=r.Undefined,this._last=r.Undefined,this._size=0}unshift(c){return this._insert(c,!1)}push(c){return this._insert(c,!0)}_insert(c,f){const s=new r(c);if(this._first===r.Undefined)this._first=s,this._last=s;else if(f){const u=this._last;this._last=s,s.prev=u,u.next=s}else{const u=this._first;this._first=s,s.next=u,u.prev=s}this._size+=1;let h=!1;return()=>{h||(h=!0,this._remove(s))}}shift(){if(this._first!==r.Undefined){const c=this._first.element;return this._remove(this._first),c}}pop(){if(this._last!==r.Undefined){const c=this._last.element;return this._remove(this._last),c}}_remove(c){if(c.prev!==r.Undefined&&c.next!==r.Undefined){const f=c.prev;f.next=c.next,c.next.prev=f}else c.prev===r.Undefined&&c.next===r.Undefined?(this._first=r.Undefined,this._last=r.Undefined):c.next===r.Undefined?(this._last=this._last.prev,this._last.next=r.Undefined):c.prev===r.Undefined&&(this._first=this._first.next,this._first.prev=r.Undefined);this._size-=1}*[Symbol.iterator](){let c=this._first;for(;c!==r.Undefined;)yield c.element,c=c.next}}},23345:function(d,g,e){"use strict";e.d(g,{$L:function(){return K},ED:function(){return D},IJ:function(){return $},OS:function(){return ae},WE:function(){return G},dz:function(){return B},gn:function(){return V},li:function(){return S},r:function(){return J},tY:function(){return U},xS:function(){return oe}});var r=e(97671),i;const l="en";let c=!1,f=!1,s=!1,h=!1,u=!1,a=!1,x=!1,p,y=null,_=null,b;const S=typeof self=="object"?self:typeof e.g=="object"?e.g:{};let R;typeof S.vscode!="undefined"&&typeof S.vscode.process!="undefined"?R=S.vscode.process:typeof r!="undefined"&&(R=r);const L=typeof((i=R==null?void 0:R.versions)===null||i===void 0?void 0:i.electron)=="string"&&R.type==="renderer";if(typeof navigator=="object"&&!L)b=navigator.userAgent,c=b.indexOf("Windows")>=0,f=b.indexOf("Macintosh")>=0,x=(b.indexOf("Macintosh")>=0||b.indexOf("iPad")>=0||b.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=b.indexOf("Linux")>=0,a=!0,p=navigator.language,y=p;else if(typeof R=="object"){c=R.platform==="win32",f=R.platform==="darwin",s=R.platform==="linux",h=s&&!!R.env.SNAP&&!!R.env.SNAP_REVISION,p=l,y=l;const Y=R.env.VSCODE_NLS_CONFIG;if(Y)try{const ue=JSON.parse(Y),ne=ue.availableLanguages["*"];p=ue.locale,y=ne||l,_=ue._translationsConfigFile}catch(ue){}u=!0}else console.error("Unable to resolve platform.");let C=0;f?C=1:c?C=3:s&&(C=2);const D=c,B=f,$=s,U=u,K=a,V=x,G=b,oe=function(){if(S.setImmediate)return S.setImmediate.bind(S);if(typeof S.postMessage=="function"&&!S.importScripts){let ne=[];S.addEventListener("message",ie=>{if(ie.data&&ie.data.vscodeSetImmediateId)for(let F=0,M=ne.length;F<M;F++){const Q=ne[F];if(Q.id===ie.data.vscodeSetImmediateId){ne.splice(F,1),Q.callback();return}}});let ee=0;return ie=>{const F=++ee;ne.push({id:F,callback:ie}),S.postMessage({vscodeSetImmediateId:F},"*")}}if(typeof(R==null?void 0:R.nextTick)=="function")return R.nextTick.bind(R);const ue=Promise.resolve();return ne=>ue.then(ne)}(),ae=f||x?2:c?1:3;let le=!0,q=!1;function J(){if(!q){q=!0;const Y=new Uint8Array(2);Y[0]=1,Y[1]=2,le=new Uint16Array(Y.buffer)[0]===513}return le}},95830:function(d,g,e){"use strict";e.d(g,{G:function(){return l}});var r=e(23345);const i=r.li.performance&&typeof r.li.performance.now=="function";class l{constructor(f){this._highResolution=i&&f,this._startTime=this._now(),this._stopTime=-1}static create(f=!0){return new l(f)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?r.li.performance.now():Date.now()}}},82983:function(d,g,e){"use strict";e.d(g,{$i:function(){return we},C8:function(){return _t},GF:function(){return p},HO:function(){return ee},IO:function(){return y},K7:function(){return Ft},Kw:function(){return er},LC:function(){return S},Mh:function(){return oe},P1:function(){return ae},PJ:function(){return Jt},Qe:function(){return Ce},R1:function(){return x},RP:function(){return Q},S6:function(){return Xe},TT:function(){return D},Ut:function(){return F},V8:function(){return R},WU:function(){return l},YK:function(){return q},YU:function(){return c},ZG:function(){return le},ZH:function(){return Y},ab:function(){return je},c1:function(){return Pt},df:function(){return K},ec:function(){return f},fi:function(){return It},fy:function(){return s},j3:function(){return h},j_:function(){return $},m5:function(){return r},mK:function(){return U},mr:function(){return _},oH:function(){return bt},oL:function(){return u},ok:function(){return G},ow:function(){return L},qq:function(){return V},qu:function(){return C},rL:function(){return J},uS:function(){return qt},un:function(){return a},uq:function(){return b},vH:function(){return ne},xe:function(){return Fe},zY:function(){return B}});function r(ge){return!ge||typeof ge!="string"?!0:ge.trim().length===0}const i=/{(\d+)}/g;function l(ge,...Ae){return Ae.length===0?ge:ge.replace(i,function(Me,$e){const He=parseInt($e,10);return isNaN(He)||He<0||He>=Ae.length?Me:Ae[He]})}function c(ge){return ge.replace(/[<>&]/g,function(Ae){switch(Ae){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return Ae}})}function f(ge){return ge.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function s(ge,Ae=" "){const Me=h(ge,Ae);return u(Me,Ae)}function h(ge,Ae){if(!ge||!Ae)return ge;const Me=Ae.length;if(Me===0||ge.length===0)return ge;let $e=0;for(;ge.indexOf(Ae,$e)===$e;)$e=$e+Me;return ge.substring($e)}function u(ge,Ae){if(!ge||!Ae)return ge;const Me=Ae.length,$e=ge.length;if(Me===0||$e===0)return ge;let He=$e,nt=-1;for(;nt=ge.lastIndexOf(Ae,He-1),!(nt===-1||nt+Me!==He);){if(nt===0)return"";He=nt}return ge.substring(0,He)}function a(ge){return ge.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function x(ge){return ge.replace(/\*/g,"")}function p(ge,Ae,Me={}){if(!ge)throw new Error("Cannot create regex from empty string");Ae||(ge=f(ge)),Me.wholeWord&&(/\B/.test(ge.charAt(0))||(ge="\\b"+ge),/\B/.test(ge.charAt(ge.length-1))||(ge=ge+"\\b"));let $e="";return Me.global&&($e+="g"),Me.matchCase||($e+="i"),Me.multiline&&($e+="m"),Me.unicode&&($e+="u"),new RegExp(ge,$e)}function y(ge){return ge.source==="^"||ge.source==="^$"||ge.source==="$"||ge.source==="^\\s*$"?!1:!!(ge.exec("")&&ge.lastIndex===0)}function _(ge){return(ge.global?"g":"")+(ge.ignoreCase?"i":"")+(ge.multiline?"m":"")+(ge.unicode?"u":"")}function b(ge){return ge.split(/\r\n|\r|\n/)}function S(ge){for(let Ae=0,Me=ge.length;Ae<Me;Ae++){const $e=ge.charCodeAt(Ae);if($e!==32&&$e!==9)return Ae}return-1}function R(ge,Ae=0,Me=ge.length){for(let $e=Ae;$e<Me;$e++){const He=ge.charCodeAt($e);if(He!==32&&He!==9)return ge.substring(Ae,$e)}return ge.substring(Ae,Me)}function L(ge,Ae=ge.length-1){for(let Me=Ae;Me>=0;Me--){const $e=ge.charCodeAt(Me);if($e!==32&&$e!==9)return Me}return-1}function C(ge,Ae){return ge<Ae?-1:ge>Ae?1:0}function D(ge,Ae,Me=0,$e=ge.length,He=0,nt=Ae.length){for(;Me<$e&&He<nt;Me++,He++){let Wt=ge.charCodeAt(Me),De=Ae.charCodeAt(He);if(Wt<De)return-1;if(Wt>De)return 1}const ct=$e-Me,Vt=nt-He;return ct<Vt?-1:ct>Vt?1:0}function B(ge,Ae){return $(ge,Ae,0,ge.length,0,Ae.length)}function $(ge,Ae,Me=0,$e=ge.length,He=0,nt=Ae.length){for(;Me<$e&&He<nt;Me++,He++){let Wt=ge.charCodeAt(Me),De=Ae.charCodeAt(He);if(Wt===De)continue;if(Wt>=128||De>=128)return D(ge.toLowerCase(),Ae.toLowerCase(),Me,$e,He,nt);U(Wt)&&(Wt-=32),U(De)&&(De-=32);const qe=Wt-De;if(qe!==0)return qe}const ct=$e-Me,Vt=nt-He;return ct<Vt?-1:ct>Vt?1:0}function U(ge){return ge>=97&&ge<=122}function K(ge){return ge>=65&&ge<=90}function V(ge,Ae){return ge.length===Ae.length&&$(ge,Ae)===0}function G(ge,Ae){const Me=Ae.length;return Ae.length>ge.length?!1:$(ge,Ae,0,Me)===0}function oe(ge,Ae){let Me,$e=Math.min(ge.length,Ae.length);for(Me=0;Me<$e;Me++)if(ge.charCodeAt(Me)!==Ae.charCodeAt(Me))return Me;return $e}function ae(ge,Ae){let Me,$e=Math.min(ge.length,Ae.length);const He=ge.length-1,nt=Ae.length-1;for(Me=0;Me<$e;Me++)if(ge.charCodeAt(He-Me)!==Ae.charCodeAt(nt-Me))return Me;return $e}function le(ge){return 55296<=ge&&ge<=56319}function q(ge){return 56320<=ge&&ge<=57343}function J(ge,Ae){return(ge-55296<<10)+(Ae-56320)+65536}function Y(ge,Ae,Me){const $e=ge.charCodeAt(Me);if(le($e)&&Me+1<Ae){const He=ge.charCodeAt(Me+1);if(q(He))return J($e,He)}return $e}function ue(ge,Ae){const Me=ge.charCodeAt(Ae-1);if(q(Me)&&Ae>1){const $e=ge.charCodeAt(Ae-2);if(le($e))return J($e,Me)}return Me}function ne(ge,Ae){const Me=zt.getInstance(),$e=Ae,He=ge.length,nt=Y(ge,He,Ae);Ae+=nt>=65536?2:1;let ct=Me.getGraphemeBreakType(nt);for(;Ae<He;){const Vt=Y(ge,He,Ae),Wt=Me.getGraphemeBreakType(Vt);if(It(ct,Wt))break;Ae+=Vt>=65536?2:1,ct=Wt}return Ae-$e}function ee(ge,Ae){const Me=zt.getInstance(),$e=Ae,He=ue(ge,Ae);Ae-=He>=65536?2:1;let nt=Me.getGraphemeBreakType(He);for(;Ae>0;){const ct=ue(ge,Ae),Vt=Me.getGraphemeBreakType(ct);if(It(Vt,nt))break;Ae-=ct>=65536?2:1,nt=Vt}return $e-Ae}const ie=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function F(ge){return ie.test(ge)}const M=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function Q(ge){return M.test(ge)}const de=/^[\t\n\r\x20-\x7E]*$/;function we(ge){return de.test(ge)}const Ce=/[\u2028\u2029]/;function je(ge){return Ce.test(ge)}function Fe(ge){for(let Ae=0,Me=ge.length;Ae<Me;Ae++)if(Ft(ge.charCodeAt(Ae)))return!0;return!1}function Ft(ge){return ge=+ge,ge>=11904&&ge<=55215||ge>=63744&&ge<=64255||ge>=65281&&ge<=65374}function _t(ge){return ge>=127462&&ge<=127487||ge===8986||ge===8987||ge===9200||ge===9203||ge>=9728&&ge<=10175||ge===11088||ge===11093||ge>=127744&&ge<=128591||ge>=128640&&ge<=128764||ge>=128992&&ge<=129003||ge>=129280&&ge<=129535||ge>=129648&&ge<=129750}const Pt="\uFEFF";function qt(ge){return!!(ge&&ge.length>0&&ge.charCodeAt(0)===65279)}function er(ge,Ae=!1){return ge?(Ae&&(ge=ge.replace(/\\./g,"")),ge.toLowerCase()!==ge):!1}function Jt(ge){return ge=ge%52,ge<26?String.fromCharCode(97+ge):String.fromCharCode(65+ge-26)}function Xe(ge){return zt.getInstance().getGraphemeBreakType(ge)}function It(ge,Ae){return ge===0?Ae!==5&&Ae!==7:ge===2&&Ae===3?!1:ge===4||ge===2||ge===3||Ae===4||Ae===2||Ae===3?!0:!(ge===8&&(Ae===8||Ae===9||Ae===11||Ae===12)||(ge===11||ge===9)&&(Ae===9||Ae===10)||(ge===12||ge===10)&&Ae===10||Ae===5||Ae===13||Ae===7||ge===1||ge===13&&Ae===14||ge===6&&Ae===6)}class zt{constructor(){this._data=st()}static getInstance(){return zt._INSTANCE||(zt._INSTANCE=new zt),zt._INSTANCE}getGraphemeBreakType(Ae){if(Ae<32)return Ae===10?3:Ae===13?2:4;if(Ae<127)return 0;const Me=this._data,$e=Me.length/3;let He=1;for(;He<=$e;)if(Ae<Me[3*He])He=2*He;else if(Ae>Me[3*He+1])He=2*He+1;else return Me[3*He+2];return 0}}zt._INSTANCE=null;function st(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function bt(ge,Ae){if(ge===0)return 0;const Me=ht(ge,Ae);if(Me!==void 0)return Me;const $e=ue(Ae,ge);return ge-=Je($e),ge}function ht(ge,Ae){let Me=ue(Ae,ge);for(ge-=Je(Me);Ue(Me)||Me===65039||Me===8419;){if(ge===0)return;Me=ue(Ae,ge),ge-=Je(Me)}if(_t(Me)){if(ge>=0){const $e=ue(Ae,ge);$e===8205&&(ge-=Je($e))}return ge}}function Je(ge){return ge>=65536?2:1}function Ue(ge){return 127995<=ge&&ge<=127999}},72999:function(d,g,e){"use strict";e.d(g,{$E:function(){return S},$K:function(){return h},D8:function(){return y},HD:function(){return i},IU:function(){return R},Jp:function(){return u},Kn:function(){return l},cW:function(){return x},f6:function(){return L},hj:function(){return c},jn:function(){return f},kJ:function(){return r},mf:function(){return p},o8:function(){return s},p_:function(){return a},vE:function(){return C}});function r(D){return Array.isArray(D)}function i(D){return typeof D=="string"}function l(D){return typeof D=="object"&&D!==null&&!Array.isArray(D)&&!(D instanceof RegExp)&&!(D instanceof Date)}function c(D){return typeof D=="number"&&!isNaN(D)}function f(D){return D===!0||D===!1}function s(D){return typeof D=="undefined"}function h(D){return!u(D)}function u(D){return s(D)||D===null}function a(D,B){if(!D)throw new Error(B?`Unexpected type, expected '${B}'`:"Unexpected type")}function x(D){if(u(D))throw new Error("Assertion Failed: argument is undefined or null");return D}function p(D){return typeof D=="function"}function y(D,B){const $=Math.min(D.length,B.length);for(let U=0;U<$;U++)_(D[U],B[U])}function _(D,B){if(i(B)){if(typeof D!==B)throw new Error(`argument does not match constraint: typeof ${B}`)}else if(p(B)){try{if(D instanceof B)return}catch($){}if(!u(D)&&D.constructor===B||B.length===1&&B.call(void 0,D)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function b(D){let B=[],$=Object.getPrototypeOf(D);for(;Object.prototype!==$;)B=B.concat(Object.getOwnPropertyNames($)),$=Object.getPrototypeOf($);return B}function S(D){const B=[];for(const $ of b(D))typeof D[$]=="function"&&B.push($);return B}function R(D,B){const $=K=>function(){const V=Array.prototype.slice.call(arguments,0);return B(K,V)};let U={};for(const K of D)U[K]=$(K);return U}function L(D){return D===null?void 0:D}function C(D,B="Unreachable"){throw new Error(B)}},13268:function(d,g,e){"use strict";e.d(g,{N:function(){return i}});function r(l,c){let f;return c.length===0?f=l:f=l.replace(/\{(\d+)\}/g,function(s,h){const u=h[0];return typeof c[u]!="undefined"?c[u]:s}),f}function i(l,c,...f){return r(c,f)}},96236:function(d,g,e){"use strict";e.d(g,{BH:function(){return R},NZ:function(){return L},U8:function(){return C},co:function(){return S},eH:function(){return b},vr:function(){return _}});var r=e(75918),i=e(52615),l=e(4348),c=e(88226),f=e(69323),s=e(34502),h=e(35884),u=e(90689),a=e(16925),x=e(49055),p=function(D,B,$,U){var K=arguments.length,V=K<3?B:U===null?U=Object.getOwnPropertyDescriptor(B,$):U,G;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")V=Reflect.decorate(D,B,$,U);else for(var oe=D.length-1;oe>=0;oe--)(G=D[oe])&&(V=(K<3?G(V):K>3?G(B,$,V):G(B,$))||V);return K>3&&V&&Object.defineProperty(B,$,V),V},y=function(D,B){return function($,U){B($,U,D)}};function _(D){return D.command!==void 0}class b{constructor(B){this.id=b._idPool++,this._debugName=B}}b._idPool=0,b.CommandPalette=new b("CommandPalette"),b.EditorContext=new b("EditorContext"),b.SimpleEditorContext=new b("SimpleEditorContext"),b.EditorContextCopy=new b("EditorContextCopy"),b.EditorContextPeek=new b("EditorContextPeek"),b.MenubarEditMenu=new b("MenubarEditMenu"),b.MenubarCopy=new b("MenubarCopy"),b.MenubarGoMenu=new b("MenubarGoMenu"),b.MenubarSelectionMenu=new b("MenubarSelectionMenu"),b.InlineCompletionsActions=new b("InlineCompletionsActions");const S=(0,a.yh)("menuService"),R=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new l.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:D=>D===b.CommandPalette}}addCommand(D){return this.addCommands(c.$.single(D))}addCommands(D){for(const B of D)this._commands.set(B.id,B);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,f.OF)(()=>{let B=!1;for(const $ of D)B=this._commands.delete($.id)||B;B&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(D){return this._commands.get(D)}getCommands(){const D=new Map;return this._commands.forEach((B,$)=>D.set($,B)),D}appendMenuItem(D,B){return this.appendMenuItems(c.$.single({id:D,item:B}))}appendMenuItems(D){const B=new Set,$=new s.S;for(const{id:U,item:K}of D){let V=this._menuItems.get(U);V||(V=new s.S,this._menuItems.set(U,V)),$.push(V.push(K)),B.add(U)}return this._onDidChangeMenu.fire(B),(0,f.OF)(()=>{if($.size>0){for(let U of $)U();this._onDidChangeMenu.fire(B),$.clear()}})}getMenuItems(D){let B;return this._menuItems.has(D)?B=[...this._menuItems.get(D)]:B=[],D===b.CommandPalette&&this._appendImplicitItems(B),B}_appendImplicitItems(D){const B=new Set;for(const $ of D)_($)&&(B.add($.command.id),$.alt&&B.add($.alt.id));this._commands.forEach(($,U)=>{B.has(U)||D.push({command:$})})}};class L extends r.wY{constructor(B,$,U,K){super(`submenuitem.${B.submenu.id}`,typeof B.title=="string"?B.title:B.title.value,[],"submenu"),this.item=B,this._menuService=$,this._contextKeyService=U,this._options=K}get actions(){const B=[],$=this._menuService.createMenu(this.item.submenu,this._contextKeyService),U=$.getActions(this._options);$.dispose();for(const[,K]of U)K.length>0&&(B.push(...K),B.push(new r.Z0));return B.length&&B.pop(),B}}let C=class Ld{constructor(B,$,U,K,V){var G,oe;if(this._commandService=V,this.id=B.id,this.label=U!=null&&U.renderShortTitle&&B.shortTitle?typeof B.shortTitle=="string"?B.shortTitle:B.shortTitle.value:typeof B.title=="string"?B.title:B.title.value,this.tooltip=(oe=typeof B.tooltip=="string"?B.tooltip:(G=B.tooltip)===null||G===void 0?void 0:G.value)!==null&&oe!==void 0?oe:"",this.enabled=!B.precondition||K.contextMatchesRules(B.precondition),this.checked=void 0,B.toggled){const ae=B.toggled.condition?B.toggled:{condition:B.toggled};this.checked=K.contextMatchesRules(ae.condition),this.checked&&ae.tooltip&&(this.tooltip=typeof ae.tooltip=="string"?ae.tooltip:ae.tooltip.value),ae.title&&(this.label=typeof ae.title=="string"?ae.title:ae.title.value)}this.item=B,this.alt=$?new Ld($,void 0,U,K,V):void 0,this._options=U,x.kS.isThemeIcon(B.icon)&&(this.class=i.dT.asClassName(B.icon))}dispose(){}run(...B){var $,U;let K=[];return!(($=this._options)===null||$===void 0)&&$.arg&&(K=[...K,this._options.arg]),!((U=this._options)===null||U===void 0)&&U.shouldForwardArgs&&(K=[...K,...B]),this._commandService.executeCommand(this.id,...K)}};C=p([y(3,u.i6),y(4,h.H)],C)},35884:function(d,g,e){"use strict";e.d(g,{H:function(){return h},P:function(){return u}});var r=e(4348),i=e(88226),l=e(69323),c=e(34502),f=e(72999),s=e(16925);const h=(0,s.yh)("commandService"),u=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new r.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(a,x){if(!a)throw new Error("invalid command");if(typeof a=="string"){if(!x)throw new Error("invalid command");return this.registerCommand({id:a,handler:x})}if(a.description){const S=[];for(let L of a.description.args)S.push(L.constraint);const R=a.handler;a.handler=function(L,...C){return(0,f.D8)(C,S),R(L,...C)}}const{id:p}=a;let y=this._commands.get(p);y||(y=new c.S,this._commands.set(p,y));let _=y.unshift(a),b=(0,l.OF)(()=>{_();const S=this._commands.get(p);S!=null&&S.isEmpty()&&this._commands.delete(p)});return this._onDidRegisterCommand.fire(p),b}registerCommandAlias(a,x){return u.registerCommand(a,(p,...y)=>p.get(h).executeCommand(x,...y))}getCommand(a){const x=this._commands.get(a);if(!(!x||x.isEmpty()))return i.$.first(x)}getCommands(){const a=new Map;for(const x of this._commands.keys()){const p=this.getCommand(x);p&&a.set(x,p)}return a}};u.registerCommand("noop",()=>{})},90689:function(d,g,e){"use strict";e.d(g,{Ao:function(){return h},Eq:function(){return J},Fb:function(){return u},K8:function(){return ne},i6:function(){return q},uy:function(){return le}});var r=e(23345),i=e(82983),l=e(16925);let c=r.WE||"";const f=new Map;f.set("false",!1),f.set("true",!0),f.set("isMac",r.dz),f.set("isLinux",r.IJ),f.set("isWindows",r.ED),f.set("isWeb",r.$L),f.set("isMacNative",r.dz&&!r.$L),f.set("isEdge",c.indexOf("Edg/")>=0),f.set("isFirefox",c.indexOf("Firefox")>=0),f.set("isChrome",c.indexOf("Chrome")>=0),f.set("isSafari",c.indexOf("Safari")>=0);const s=Object.prototype.hasOwnProperty;class h{static has(F){return y.create(F)}static equals(F,M){return _.create(F,M)}static regex(F,M){return K.create(F,M)}static not(F){return L.create(F)}static and(...F){return oe.create(F,null)}static or(...F){return ae.create(F,null,!0)}static deserialize(F,M=!1){if(F)return this._deserializeOrExpression(F,M)}static _deserializeOrExpression(F,M){let Q=F.split("||");return ae.create(Q.map(de=>this._deserializeAndExpression(de,M)),null,!0)}static _deserializeAndExpression(F,M){let Q=F.split("&&");return oe.create(Q.map(de=>this._deserializeOne(de,M)),null)}static _deserializeOne(F,M){if(F=F.trim(),F.indexOf("!=")>=0){let Q=F.split("!=");return R.create(Q[0].trim(),this._deserializeValue(Q[1],M))}if(F.indexOf("==")>=0){let Q=F.split("==");return _.create(Q[0].trim(),this._deserializeValue(Q[1],M))}if(F.indexOf("=~")>=0){let Q=F.split("=~");return K.create(Q[0].trim(),this._deserializeRegexValue(Q[1],M))}if(F.indexOf(" in ")>=0){let Q=F.split(" in ");return b.create(Q[0].trim(),Q[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(F)){const Q=F.split(">=");return B.create(Q[0].trim(),Q[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(F)){const Q=F.split(">");return D.create(Q[0].trim(),Q[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(F)){const Q=F.split("<=");return U.create(Q[0].trim(),Q[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(F)){const Q=F.split("<");return $.create(Q[0].trim(),Q[1].trim())}return/^\!\s*/.test(F)?L.create(F.substr(1).trim()):y.create(F)}static _deserializeValue(F,M){if(F=F.trim(),F==="true")return!0;if(F==="false")return!1;let Q=/^'([^']*)'$/.exec(F);return Q?Q[1].trim():F}static _deserializeRegexValue(F,M){if((0,i.m5)(F)){if(M)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let Q=F.indexOf("/"),de=F.lastIndexOf("/");if(Q===de||Q<0){if(M)throw new Error(`bad regexp-value '${F}', missing /-enclosure`);return console.warn(`bad regexp-value '${F}', missing /-enclosure`),null}let we=F.slice(Q+1,de),Ce=F[de+1]==="i"?"i":"";try{return new RegExp(we,Ce)}catch(je){if(M)throw new Error(`bad regexp-value '${F}', parse error: ${je}`);return console.warn(`bad regexp-value '${F}', parse error: ${je}`),null}}}function u(ie,F){const M=ie?ie.substituteConstants():void 0,Q=F?F.substituteConstants():void 0;return!M&&!Q?!0:!M||!Q?!1:M.equals(Q)}function a(ie,F){return ie.cmp(F)}class x{constructor(){this.type=0}cmp(F){return this.type-F.type}equals(F){return F.type===this.type}substituteConstants(){return this}evaluate(F){return!1}serialize(){return"false"}keys(){return[]}negate(){return p.INSTANCE}}x.INSTANCE=new x;class p{constructor(){this.type=1}cmp(F){return this.type-F.type}equals(F){return F.type===this.type}substituteConstants(){return this}evaluate(F){return!0}serialize(){return"true"}keys(){return[]}negate(){return x.INSTANCE}}p.INSTANCE=new p;class y{constructor(F,M){this.key=F,this.negated=M,this.type=2}static create(F,M=null){const Q=f.get(F);return typeof Q=="boolean"?Q?p.INSTANCE:x.INSTANCE:new y(F,M)}cmp(F){return F.type!==this.type?this.type-F.type:Y(this.key,F.key)}equals(F){return F.type===this.type?this.key===F.key:!1}substituteConstants(){const F=f.get(this.key);return typeof F=="boolean"?F?p.INSTANCE:x.INSTANCE:this}evaluate(F){return!!F.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=L.create(this.key,this)),this.negated}}class _{constructor(F,M,Q){this.key=F,this.value=M,this.negated=Q,this.type=4}static create(F,M,Q=null){if(typeof M=="boolean")return M?y.create(F,Q):L.create(F,Q);const de=f.get(F);return typeof de=="boolean"?M===(de?"true":"false")?p.INSTANCE:x.INSTANCE:new _(F,M,Q)}cmp(F){return F.type!==this.type?this.type-F.type:ue(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){const F=f.get(this.key);if(typeof F=="boolean"){const M=F?"true":"false";return this.value===M?p.INSTANCE:x.INSTANCE}return this}evaluate(F){return F.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=R.create(this.key,this.value,this)),this.negated}}class b{constructor(F,M){this.key=F,this.valueKey=M,this.type=10,this.negated=null}static create(F,M){return new b(F,M)}cmp(F){return F.type!==this.type?this.type-F.type:ue(this.key,this.valueKey,F.key,F.valueKey)}equals(F){return F.type===this.type?this.key===F.key&&this.valueKey===F.valueKey:!1}substituteConstants(){return this}evaluate(F){const M=F.getValue(this.valueKey),Q=F.getValue(this.key);return Array.isArray(M)?M.indexOf(Q)>=0:typeof Q=="string"&&typeof M=="object"&&M!==null?s.call(M,Q):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=S.create(this)),this.negated}}class S{constructor(F){this._actual=F,this.type=11}static create(F){return new S(F)}cmp(F){return F.type!==this.type?this.type-F.type:this._actual.cmp(F._actual)}equals(F){return F.type===this.type?this._actual.equals(F._actual):!1}substituteConstants(){return this}evaluate(F){return!this._actual.evaluate(F)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class R{constructor(F,M,Q){this.key=F,this.value=M,this.negated=Q,this.type=5}static create(F,M,Q=null){if(typeof M=="boolean")return M?L.create(F,Q):y.create(F,Q);const de=f.get(F);return typeof de=="boolean"?M===(de?"true":"false")?x.INSTANCE:p.INSTANCE:new R(F,M,Q)}cmp(F){return F.type!==this.type?this.type-F.type:ue(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){const F=f.get(this.key);if(typeof F=="boolean"){const M=F?"true":"false";return this.value===M?x.INSTANCE:p.INSTANCE}return this}evaluate(F){return F.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=_.create(this.key,this.value,this)),this.negated}}class L{constructor(F,M){this.key=F,this.negated=M,this.type=3}static create(F,M=null){const Q=f.get(F);return typeof Q=="boolean"?Q?x.INSTANCE:p.INSTANCE:new L(F,M)}cmp(F){return F.type!==this.type?this.type-F.type:Y(this.key,F.key)}equals(F){return F.type===this.type?this.key===F.key:!1}substituteConstants(){const F=f.get(this.key);return typeof F=="boolean"?F?x.INSTANCE:p.INSTANCE:this}evaluate(F){return!F.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=y.create(this.key,this)),this.negated}}function C(ie,F){if(typeof ie=="string"){const M=parseFloat(ie);isNaN(M)||(ie=M)}return typeof ie=="string"||typeof ie=="number"?F(ie):x.INSTANCE}class D{constructor(F,M,Q){this.key=F,this.value=M,this.negated=Q,this.type=12}static create(F,M,Q=null){return C(M,de=>new D(F,de,Q))}cmp(F){return F.type!==this.type?this.type-F.type:ue(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){return this}evaluate(F){return typeof this.value=="string"?!1:parseFloat(F.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=U.create(this.key,this.value,this)),this.negated}}class B{constructor(F,M,Q){this.key=F,this.value=M,this.negated=Q,this.type=13}static create(F,M,Q=null){return C(M,de=>new B(F,de,Q))}cmp(F){return F.type!==this.type?this.type-F.type:ue(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){return this}evaluate(F){return typeof this.value=="string"?!1:parseFloat(F.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=$.create(this.key,this.value,this)),this.negated}}class ${constructor(F,M,Q){this.key=F,this.value=M,this.negated=Q,this.type=14}static create(F,M,Q=null){return C(M,de=>new $(F,de,Q))}cmp(F){return F.type!==this.type?this.type-F.type:ue(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){return this}evaluate(F){return typeof this.value=="string"?!1:parseFloat(F.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=B.create(this.key,this.value,this)),this.negated}}class U{constructor(F,M,Q){this.key=F,this.value=M,this.negated=Q,this.type=15}static create(F,M,Q=null){return C(M,de=>new U(F,de,Q))}cmp(F){return F.type!==this.type?this.type-F.type:ue(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){return this}evaluate(F){return typeof this.value=="string"?!1:parseFloat(F.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=D.create(this.key,this.value,this)),this.negated}}class K{constructor(F,M){this.key=F,this.regexp=M,this.type=7,this.negated=null}static create(F,M){return new K(F,M)}cmp(F){if(F.type!==this.type)return this.type-F.type;if(this.key<F.key)return-1;if(this.key>F.key)return 1;const M=this.regexp?this.regexp.source:"",Q=F.regexp?F.regexp.source:"";return M<Q?-1:M>Q?1:0}equals(F){if(F.type===this.type){const M=this.regexp?this.regexp.source:"",Q=F.regexp?F.regexp.source:"";return this.key===F.key&&M===Q}return!1}substituteConstants(){return this}evaluate(F){let M=F.getValue(this.key);return this.regexp?this.regexp.test(M):!1}serialize(){const F=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${F}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=V.create(this)),this.negated}}class V{constructor(F){this._actual=F,this.type=8}static create(F){return new V(F)}cmp(F){return F.type!==this.type?this.type-F.type:this._actual.cmp(F._actual)}equals(F){return F.type===this.type?this._actual.equals(F._actual):!1}substituteConstants(){return this}evaluate(F){return!this._actual.evaluate(F)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function G(ie){let F=null;for(let M=0,Q=ie.length;M<Q;M++){const de=ie[M].substituteConstants();if(ie[M]!==de&&F===null){F=[];for(let we=0;we<M;we++)F[we]=ie[we]}F!==null&&(F[M]=de)}return F===null?ie:F}class oe{constructor(F,M){this.expr=F,this.negated=M,this.type=6}static create(F,M){return oe._normalizeArr(F,M)}cmp(F){if(F.type!==this.type)return this.type-F.type;if(this.expr.length<F.expr.length)return-1;if(this.expr.length>F.expr.length)return 1;for(let M=0,Q=this.expr.length;M<Q;M++){const de=a(this.expr[M],F.expr[M]);if(de!==0)return de}return 0}equals(F){if(F.type===this.type){if(this.expr.length!==F.expr.length)return!1;for(let M=0,Q=this.expr.length;M<Q;M++)if(!this.expr[M].equals(F.expr[M]))return!1;return!0}return!1}substituteConstants(){const F=G(this.expr);return F===this.expr?this:oe.create(F,this.negated)}evaluate(F){for(let M=0,Q=this.expr.length;M<Q;M++)if(!this.expr[M].evaluate(F))return!1;return!0}static _normalizeArr(F,M){const Q=[];let de=!1;for(const we of F)if(we){if(we.type===1){de=!0;continue}if(we.type===0)return x.INSTANCE;if(we.type===6){Q.push(...we.expr);continue}Q.push(we)}if(Q.length===0&&de)return p.INSTANCE;if(Q.length!==0){if(Q.length===1)return Q[0];Q.sort(a);for(let we=1;we<Q.length;we++)Q[we-1].equals(Q[we])&&(Q.splice(we,1),we--);if(Q.length===1)return Q[0];for(;Q.length>1;){const we=Q[Q.length-1];if(we.type!==9)break;Q.pop();const Ce=Q.pop(),je=Q.length===0,Fe=ae.create(we.expr.map(Ft=>oe.create([Ft,Ce],null)),null,je);Fe&&(Q.push(Fe),Q.sort(a))}return Q.length===1?Q[0]:new oe(Q,M)}}serialize(){return this.expr.map(F=>F.serialize()).join(" && ")}keys(){const F=[];for(let M of this.expr)F.push(...M.keys());return F}negate(){if(!this.negated){const F=[];for(let M of this.expr)F.push(M.negate());this.negated=ae.create(F,this,!0)}return this.negated}}class ae{constructor(F,M){this.expr=F,this.negated=M,this.type=9}static create(F,M,Q){return ae._normalizeArr(F,M,Q)}cmp(F){if(F.type!==this.type)return this.type-F.type;if(this.expr.length<F.expr.length)return-1;if(this.expr.length>F.expr.length)return 1;for(let M=0,Q=this.expr.length;M<Q;M++){const de=a(this.expr[M],F.expr[M]);if(de!==0)return de}return 0}equals(F){if(F.type===this.type){if(this.expr.length!==F.expr.length)return!1;for(let M=0,Q=this.expr.length;M<Q;M++)if(!this.expr[M].equals(F.expr[M]))return!1;return!0}return!1}substituteConstants(){const F=G(this.expr);return F===this.expr?this:ae.create(F,this.negated,!1)}evaluate(F){for(let M=0,Q=this.expr.length;M<Q;M++)if(this.expr[M].evaluate(F))return!0;return!1}static _normalizeArr(F,M,Q){let de=[],we=!1;if(F){for(let Ce=0,je=F.length;Ce<je;Ce++){const Fe=F[Ce];if(Fe){if(Fe.type===0){we=!0;continue}if(Fe.type===1)return p.INSTANCE;if(Fe.type===9){de=de.concat(Fe.expr);continue}de.push(Fe)}}if(de.length===0&&we)return x.INSTANCE;de.sort(a)}if(de.length!==0){if(de.length===1)return de[0];for(let Ce=1;Ce<de.length;Ce++)de[Ce-1].equals(de[Ce])&&(de.splice(Ce,1),Ce--);if(de.length===1)return de[0];if(Q){for(let Ce=0;Ce<de.length;Ce++)for(let je=Ce+1;je<de.length;je++)ne(de[Ce],de[je])&&(de.splice(je,1),je--);if(de.length===1)return de[0]}return new ae(de,M)}}serialize(){return this.expr.map(F=>F.serialize()).join(" || ")}keys(){const F=[];for(let M of this.expr)F.push(...M.keys());return F}negate(){if(!this.negated){let F=[];for(let M of this.expr)F.push(M.negate());for(;F.length>1;){const M=F.shift(),Q=F.shift(),de=[];for(const Ce of ee(M))for(const je of ee(Q))de.push(oe.create([Ce,je],null));const we=F.length===0;F.unshift(ae.create(de,null,we))}this.negated=F[0]}return this.negated}}class le extends y{constructor(F,M,Q){super(F,null),this._defaultValue=M,typeof Q=="object"?le._info.push(Object.assign(Object.assign({},Q),{key:F})):Q!==!0&&le._info.push({key:F,description:Q,type:M!=null?typeof M:void 0})}static all(){return le._info.values()}bindTo(F){return F.createKey(this.key,this._defaultValue)}getValue(F){return F.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(F){return _.create(this.key,F)}}le._info=[];const q=(0,l.yh)("contextKeyService"),J="setContext";function Y(ie,F){return ie<F?-1:ie>F?1:0}function ue(ie,F,M,Q){return ie<M?-1:ie>M?1:F<Q?-1:F>Q?1:0}function ne(ie,F){if(F.type===6&&ie.type!==9&&ie.type!==6){for(const de of F.expr)if(ie.equals(de))return!0}const M=ie.negate(),Q=ee(M).concat(ee(F));Q.sort(a);for(let de=0;de<Q.length;de++){const Ce=Q[de].negate();for(let je=de+1;je<Q.length;je++){const Fe=Q[je];if(Ce.equals(Fe))return!0}}return!1}function ee(ie){return ie.type===9?ie.expr:[ie]}},16925:function(d,g,e){"use strict";e.d(g,{I8:function(){return r},TG:function(){return i},jt:function(){return f},yh:function(){return c}});var r;(function(s){s.serviceIds=new Map,s.DI_TARGET="$di$target",s.DI_DEPENDENCIES="$di$dependencies";function h(u){return u[s.DI_DEPENDENCIES]||[]}s.getServiceDependencies=h})(r||(r={}));const i=c("instantiationService");function l(s,h,u,a){h[r.DI_TARGET]===h?h[r.DI_DEPENDENCIES].push({id:s,index:u,optional:a}):(h[r.DI_DEPENDENCIES]=[{id:s,index:u,optional:a}],h[r.DI_TARGET]=h)}function c(s){if(r.serviceIds.has(s))return r.serviceIds.get(s);const h=function(u,a,x){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");l(h,u,x,!1)};return h.toString=()=>s,r.serviceIds.set(s,h),h}function f(s){return function(h,u,a){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");l(s,h,a,!0)}}},44650:function(d,g,e){"use strict";e.d(g,{B:function(){return c}});var r=e(76068),i=e(72999);class l{constructor(){this.data=new Map}add(s,h){r.ok(i.HD(s)),r.ok(i.Kn(h)),r.ok(!this.data.has(s),"There is already an extension with this id"),this.data.set(s,h)}as(s){return this.data.get(s)||null}}const c=new l},66213:function(d,g,e){"use strict";e.d(g,{e:function(){return r}});var r;(function(i){i.DARK="dark",i.LIGHT="light",i.HIGH_CONTRAST="hc"})(r||(r={}))},49055:function(d,g,e){"use strict";e.d(g,{EN:function(){return a},IP:function(){return y},Ic:function(){return S},XE:function(){return h},bB:function(){return R},kS:function(){return x},m6:function(){return p}});var r=e(52615),i=e(4348),l=e(69323),c=e(16925),f=e(44650),s=e(66213);const h=(0,c.yh)("themeService");var u;(function(L){function C(D){return D&&typeof D=="object"&&typeof D.id=="string"}L.isThemeColor=C})(u||(u={}));function a(L){return{id:L}}var x;(function(L){function C(V){return V&&typeof V=="object"&&typeof V.id=="string"&&(typeof V.color=="undefined"||u.isThemeColor(V.color))}L.isThemeIcon=C;const D=new RegExp(`^\\$\\((${r.dT.iconNameExpression}(?:${r.dT.iconModifierExpression})?)\\)$`);function B(V){const G=D.exec(V);if(!G)return;let[,oe]=G;return{id:oe}}L.fromString=B;function $(V,G){let oe=V.id;const ae=oe.lastIndexOf("~");return ae!==-1&&(oe=oe.substring(0,ae)),G&&(oe=`${oe}~${G}`),{id:oe}}L.modify=$;function U(V,G){var oe,ae;return V.id===G.id&&((oe=V.color)===null||oe===void 0?void 0:oe.id)===((ae=G.color)===null||ae===void 0?void 0:ae.id)}L.isEqual=U;function K(V,G){return{id:V.id,color:G?a(G):void 0}}L.asThemeIcon=K,L.asClassNameArray=r.dT.asClassNameArray,L.asClassName=r.dT.asClassName,L.asCSSSelector=r.dT.asCSSSelector})(x||(x={}));function p(L){switch(L){case s.e.DARK:return"vs-dark";case s.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const y={ThemingContribution:"base.contributions.theming"};class _{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new i.Q5}onColorThemeChange(C){return this.themingParticipants.push(C),this.onThemingParticipantAddedEmitter.fire(C),(0,l.OF)(()=>{const D=this.themingParticipants.indexOf(C);this.themingParticipants.splice(D,1)})}getThemingParticipants(){return this.themingParticipants}}let b=new _;f.B.add(y.ThemingContribution,b);function S(L){return b.onColorThemeChange(L)}class R extends l.JT{constructor(C){super(),this.themeService=C,this.theme=C.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(D=>this.onThemeChange(D)))}onThemeChange(C){this.theme=C,this.updateStyles()}updateStyles(){}}},84126:function(d){"use strict";var g=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function l(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var f={},s=0;s<10;s++)f["_"+String.fromCharCode(s)]=s;var h=Object.getOwnPropertyNames(f).map(function(a){return f[a]});if(h.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(a){u[a]=a}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch(a){return!1}}d.exports=l()?Object.assign:function(c,f){for(var s,h=i(c),u,a=1;a<arguments.length;a++){s=Object(arguments[a]);for(var x in s)e.call(s,x)&&(h[x]=s[x]);if(g){u=g(s);for(var p=0;p<u.length;p++)r.call(s,u[p])&&(h[u[p]]=s[u[p]])}}return h}},97671:function(d){var g=d.exports={},e,r;function i(){throw new Error("setTimeout has not been defined")}function l(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=i}catch(b){e=i}try{typeof clearTimeout=="function"?r=clearTimeout:r=l}catch(b){r=l}})();function c(b){if(e===setTimeout)return setTimeout(b,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(b,0);try{return e(b,0)}catch(S){try{return e.call(null,b,0)}catch(R){return e.call(this,b,0)}}}function f(b){if(r===clearTimeout)return clearTimeout(b);if((r===l||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(b);try{return r(b)}catch(S){try{return r.call(null,b)}catch(R){return r.call(this,b)}}}var s=[],h=!1,u,a=-1;function x(){!h||!u||(h=!1,u.length?s=u.concat(s):a=-1,s.length&&p())}function p(){if(!h){var b=c(x);h=!0;for(var S=s.length;S;){for(u=s,s=[];++a<S;)u&&u[a].run();a=-1,S=s.length}u=null,h=!1,f(b)}}g.nextTick=function(b){var S=new Array(arguments.length-1);if(arguments.length>1)for(var R=1;R<arguments.length;R++)S[R-1]=arguments[R];s.push(new y(b,S)),s.length===1&&!h&&c(p)};function y(b,S){this.fun=b,this.array=S}y.prototype.run=function(){this.fun.apply(null,this.array)},g.title="browser",g.browser=!0,g.env={},g.argv=[],g.version="",g.versions={};function _(){}g.on=_,g.addListener=_,g.once=_,g.off=_,g.removeListener=_,g.removeAllListeners=_,g.emit=_,g.prependListener=_,g.prependOnceListener=_,g.listeners=function(b){return[]},g.binding=function(b){throw new Error("process.binding is not supported")},g.cwd=function(){return"/"},g.chdir=function(b){throw new Error("process.chdir is not supported")},g.umask=function(){return 0}},79442:function(d,g,e){"use strict";var r=e(97825);function i(){}function l(){}l.resetWarningCache=i,d.exports=function(){function c(h,u,a,x,p,y){if(y!==r){var _=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw _.name="Invariant Violation",_}}c.isRequired=c;function f(){return c}var s={array:c,bigint:c,bool:c,func:c,number:c,object:c,string:c,symbol:c,any:c,arrayOf:f,element:c,elementType:c,instanceOf:f,node:c,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:l,resetWarningCache:i};return s.PropTypes=s,s}},12708:function(d,g,e){if(0)var r,i;else d.exports=e(79442)()},97825:function(d){"use strict";var g="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";d.exports=g},86923:function(d,g,e){"use strict";e.d(g,{s:function(){return $},Z:function(){return le}});var r=e(72308),i=e(52487),l=e(43403),c=e(59301),f=c.createContext({}),s=e(77321),h=e(92310),u=e.n(h),a=e(48519),x=e(80402),p=e(10228),y=e(26112);function _(q,J,Y){var ue=J;return!ue&&Y&&(ue="".concat(q,"-").concat(Y)),ue}function b(q,J){var Y=q["page".concat(J?"Y":"X","Offset")],ue="scroll".concat(J?"Top":"Left");if(typeof Y!="number"){var ne=q.document;Y=ne.documentElement[ue],typeof Y!="number"&&(Y=ne.body[ue])}return Y}function S(q){var J=q.getBoundingClientRect(),Y={left:J.left,top:J.top},ue=q.ownerDocument,ne=ue.defaultView||ue.parentWindow;return Y.left+=b(ne),Y.top+=b(ne,!0),Y}var R=e(77900),L=e(8654),C=c.memo(function(q){var J=q.children;return J},function(q,J){var Y=J.shouldUpdate;return!Y}),D={width:0,height:0,overflow:"hidden",outline:"none"},B=c.forwardRef(function(q,J){var Y=q.prefixCls,ue=q.className,ne=q.style,ee=q.title,ie=q.ariaId,F=q.footer,M=q.closable,Q=q.closeIcon,de=q.onClose,we=q.children,Ce=q.bodyStyle,je=q.bodyProps,Fe=q.modalRender,Ft=q.onMouseDown,_t=q.onMouseUp,Pt=q.holderRef,qt=q.visible,er=q.forceRender,Jt=q.width,Xe=q.height,It=c.useContext(f),zt=It.panel,st=(0,L.x1)(Pt,zt),bt=(0,c.useRef)(),ht=(0,c.useRef)();c.useImperativeHandle(J,function(){return{focus:function(){var He;(He=bt.current)===null||He===void 0||He.focus()},changeActive:function(He){var nt=document,ct=nt.activeElement;He&&ct===ht.current?bt.current.focus():!He&&ct===bt.current&&ht.current.focus()}}});var Je={};Jt!==void 0&&(Je.width=Jt),Xe!==void 0&&(Je.height=Xe);var Ue;F&&(Ue=c.createElement("div",{className:"".concat(Y,"-footer")},F));var ge;ee&&(ge=c.createElement("div",{className:"".concat(Y,"-header")},c.createElement("div",{className:"".concat(Y,"-title"),id:ie},ee)));var Ae;M&&(Ae=c.createElement("button",{type:"button",onClick:de,"aria-label":"Close",className:"".concat(Y,"-close")},Q||c.createElement("span",{className:"".concat(Y,"-close-x")})));var Me=c.createElement("div",{className:"".concat(Y,"-content")},Ae,ge,c.createElement("div",(0,r.Z)({className:"".concat(Y,"-body"),style:Ce},je),we),Ue);return c.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":ee?ie:null,"aria-modal":"true",ref:st,style:(0,s.Z)((0,s.Z)({},ne),Je),className:u()(Y,ue),onMouseDown:Ft,onMouseUp:_t},c.createElement("div",{tabIndex:0,ref:bt,style:D,"aria-hidden":"true"}),c.createElement(C,{shouldUpdate:qt||er},Fe?Fe(Me):Me),c.createElement("div",{tabIndex:0,ref:ht,style:D,"aria-hidden":"true"}))}),$=B,U=c.forwardRef(function(q,J){var Y=q.prefixCls,ue=q.title,ne=q.style,ee=q.className,ie=q.visible,F=q.forceRender,M=q.destroyOnClose,Q=q.motionName,de=q.ariaId,we=q.onVisibleChanged,Ce=q.mousePosition,je=(0,c.useRef)(),Fe=c.useState(),Ft=(0,i.Z)(Fe,2),_t=Ft[0],Pt=Ft[1],qt={};_t&&(qt.transformOrigin=_t);function er(){var Jt=S(je.current);Pt(Ce?"".concat(Ce.x-Jt.left,"px ").concat(Ce.y-Jt.top,"px"):"")}return c.createElement(R.default,{visible:ie,onVisibleChanged:we,onAppearPrepare:er,onEnterPrepare:er,forceRender:F,motionName:Q,removeOnLeave:M,ref:je},function(Jt,Xe){var It=Jt.className,zt=Jt.style;return c.createElement($,(0,r.Z)({},q,{ref:J,title:ue,ariaId:de,prefixCls:Y,holderRef:Xe,style:(0,s.Z)((0,s.Z)((0,s.Z)({},zt),ne),qt),className:u()(ee,It)}))})});U.displayName="Content";var K=U;function V(q){var J=q.prefixCls,Y=q.style,ue=q.visible,ne=q.maskProps,ee=q.motionName;return c.createElement(R.default,{key:"mask",visible:ue,motionName:ee,leavedClassName:"".concat(J,"-mask-hidden")},function(ie,F){var M=ie.className,Q=ie.style;return c.createElement("div",(0,r.Z)({ref:F,style:(0,s.Z)((0,s.Z)({},Q),Y),className:u()("".concat(J,"-mask"),M)},ne))})}function G(q){var J=q.prefixCls,Y=J===void 0?"rc-dialog":J,ue=q.zIndex,ne=q.visible,ee=ne===void 0?!1:ne,ie=q.keyboard,F=ie===void 0?!0:ie,M=q.focusTriggerAfterClose,Q=M===void 0?!0:M,de=q.wrapStyle,we=q.wrapClassName,Ce=q.wrapProps,je=q.onClose,Fe=q.afterOpenChange,Ft=q.afterClose,_t=q.transitionName,Pt=q.animation,qt=q.closable,er=qt===void 0?!0:qt,Jt=q.mask,Xe=Jt===void 0?!0:Jt,It=q.maskTransitionName,zt=q.maskAnimation,st=q.maskClosable,bt=st===void 0?!0:st,ht=q.maskStyle,Je=q.maskProps,Ue=q.rootClassName,ge=(0,c.useRef)(),Ae=(0,c.useRef)(),Me=(0,c.useRef)(),$e=c.useState(ee),He=(0,i.Z)($e,2),nt=He[0],ct=He[1],Vt=(0,x.Z)();function Wt(){(0,a.Z)(Ae.current,document.activeElement)||(ge.current=document.activeElement)}function De(){if(!(0,a.Z)(Ae.current,document.activeElement)){var fe;(fe=Me.current)===null||fe===void 0||fe.focus()}}function qe(fe){if(fe)De();else{if(ct(!1),Xe&&ge.current&&Q){try{ge.current.focus({preventScroll:!0})}catch(_e){}ge.current=null}nt&&(Ft==null||Ft())}Fe==null||Fe(fe)}function Gt(fe){je==null||je(fe)}var kt=(0,c.useRef)(!1),Ht=(0,c.useRef)(),$t=function(){clearTimeout(Ht.current),kt.current=!0},Ct=function(){Ht.current=setTimeout(function(){kt.current=!1})},Yt=null;bt&&(Yt=function(_e){kt.current?kt.current=!1:Ae.current===_e.target&&Gt(_e)});function We(fe){if(F&&fe.keyCode===p.Z.ESC){fe.stopPropagation(),Gt(fe);return}ee&&fe.keyCode===p.Z.TAB&&Me.current.changeActive(!fe.shiftKey)}return(0,c.useEffect)(function(){ee&&(ct(!0),Wt())},[ee]),(0,c.useEffect)(function(){return function(){clearTimeout(Ht.current)}},[]),c.createElement("div",(0,r.Z)({className:u()("".concat(Y,"-root"),Ue)},(0,y.Z)(q,{data:!0})),c.createElement(V,{prefixCls:Y,visible:Xe&&ee,motionName:_(Y,It,zt),style:(0,s.Z)({zIndex:ue},ht),maskProps:Je}),c.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:We,className:u()("".concat(Y,"-wrap"),we),ref:Ae,onClick:Yt,style:(0,s.Z)((0,s.Z)({zIndex:ue},de),{},{display:nt?null:"none"})},Ce),c.createElement(K,(0,r.Z)({},q,{onMouseDown:$t,onMouseUp:Ct,ref:Me,closable:er,ariaId:Vt,prefixCls:Y,visible:ee&&nt,onClose:Gt,onVisibleChanged:qe,motionName:_(Y,_t,Pt)}))))}var oe=function(J){var Y=J.visible,ue=J.getContainer,ne=J.forceRender,ee=J.destroyOnClose,ie=ee===void 0?!1:ee,F=J.afterClose,M=J.panelRef,Q=c.useState(Y),de=(0,i.Z)(Q,2),we=de[0],Ce=de[1],je=c.useMemo(function(){return{panel:M}},[M]);return c.useEffect(function(){Y&&Ce(!0)},[Y]),!ne&&ie&&!we?null:c.createElement(f.Provider,{value:je},c.createElement(l.Z,{open:Y||ne||we,autoDestroy:!1,getContainer:ue,autoLock:Y||we},c.createElement(G,(0,r.Z)({},J,{destroyOnClose:ie,afterClose:function(){F==null||F(),Ce(!1)}}))))};oe.displayName="Dialog";var ae=oe,le=ae},95013:function(d,g,e){"use strict";e.r(g),e.d(g,{Field:function(){return Mr},FieldContext:function(){return B},FormProvider:function(){return Xi},List:function(){return Zn},ListContext:function(){return U},default:function(){return En},useForm:function(){return Ei},useWatch:function(){return Gi}});var r=e(59301),i=e(72308),l=e(74416),c=e(65736),f=e(72633),s=e(77321),h=e(80702),u=e(96949),a=e(55090),x=e(80237),p=e(77205),y=e(38793),_=e(49618),b=e(11592),S=e(13697),R=e(48736),L="RC_FORM_INTERNAL_HOOKS",C=function(){(0,R.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},D=r.createContext({getFieldValue:C,getFieldsValue:C,getFieldError:C,getFieldWarning:C,getFieldsError:C,isFieldsTouched:C,isFieldTouched:C,isFieldValidating:C,isFieldsValidating:C,resetFields:C,setFields:C,setFieldValue:C,setFieldsValue:C,validateFields:C,submit:C,getInternalHooks:function(){return C(),{dispatch:C,initEntityValue:C,registerField:C,useSubscribe:C,setInitialValues:C,destroyForm:C,setCallbacks:C,registerWatch:C,getFields:C,setValidateMessages:C,setPreserve:C,getInitialValue:C}}}),B=D,$=r.createContext(null),U=$;function K(tr){return tr==null?[]:Array.isArray(tr)?tr:[tr]}function V(tr){return tr&&!!tr._init}var G=e(97671);function oe(){return oe=Object.assign?Object.assign.bind():function(tr){for(var mt=1;mt<arguments.length;mt++){var rt=arguments[mt];for(var Dt in rt)Object.prototype.hasOwnProperty.call(rt,Dt)&&(tr[Dt]=rt[Dt])}return tr},oe.apply(this,arguments)}function ae(tr,mt){tr.prototype=Object.create(mt.prototype),tr.prototype.constructor=tr,q(tr,mt)}function le(tr){return le=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(rt){return rt.__proto__||Object.getPrototypeOf(rt)},le(tr)}function q(tr,mt){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Dt,pt){return Dt.__proto__=pt,Dt},q(tr,mt)}function J(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(tr){return!1}}function Y(tr,mt,rt){return J()?Y=Reflect.construct.bind():Y=function(pt,lr,fr){var Ir=[null];Ir.push.apply(Ir,lr);var Hr=Function.bind.apply(pt,Ir),Ze=new Hr;return fr&&q(Ze,fr.prototype),Ze},Y.apply(null,arguments)}function ue(tr){return Function.toString.call(tr).indexOf("[native code]")!==-1}function ne(tr){var mt=typeof Map=="function"?new Map:void 0;return ne=function(Dt){if(Dt===null||!ue(Dt))return Dt;if(typeof Dt!="function")throw new TypeError("Super expression must either be null or a function");if(typeof mt!="undefined"){if(mt.has(Dt))return mt.get(Dt);mt.set(Dt,pt)}function pt(){return Y(Dt,arguments,le(this).constructor)}return pt.prototype=Object.create(Dt.prototype,{constructor:{value:pt,enumerable:!1,writable:!0,configurable:!0}}),q(pt,Dt)},ne(tr)}var ee=/%[sdj%]/g,ie=function(){};function F(tr){if(!tr||!tr.length)return null;var mt={};return tr.forEach(function(rt){var Dt=rt.field;mt[Dt]=mt[Dt]||[],mt[Dt].push(rt)}),mt}function M(tr){for(var mt=arguments.length,rt=new Array(mt>1?mt-1:0),Dt=1;Dt<mt;Dt++)rt[Dt-1]=arguments[Dt];var pt=0,lr=rt.length;if(typeof tr=="function")return tr.apply(null,rt);if(typeof tr=="string"){var fr=tr.replace(ee,function(Ir){if(Ir==="%%")return"%";if(pt>=lr)return Ir;switch(Ir){case"%s":return String(rt[pt++]);case"%d":return Number(rt[pt++]);case"%j":try{return JSON.stringify(rt[pt++])}catch(Hr){return"[Circular]"}break;default:return Ir}});return fr}return tr}function Q(tr){return tr==="string"||tr==="url"||tr==="hex"||tr==="email"||tr==="date"||tr==="pattern"}function de(tr,mt){return!!(tr==null||mt==="array"&&Array.isArray(tr)&&!tr.length||Q(mt)&&typeof tr=="string"&&!tr)}function we(tr,mt,rt){var Dt=[],pt=0,lr=tr.length;function fr(Ir){Dt.push.apply(Dt,Ir||[]),pt++,pt===lr&&rt(Dt)}tr.forEach(function(Ir){mt(Ir,fr)})}function Ce(tr,mt,rt){var Dt=0,pt=tr.length;function lr(fr){if(fr&&fr.length){rt(fr);return}var Ir=Dt;Dt=Dt+1,Ir<pt?mt(tr[Ir],lr):rt([])}lr([])}function je(tr){var mt=[];return Object.keys(tr).forEach(function(rt){mt.push.apply(mt,tr[rt]||[])}),mt}var Fe=function(tr){ae(mt,tr);function mt(rt,Dt){var pt;return pt=tr.call(this,"Async Validation Error")||this,pt.errors=rt,pt.fields=Dt,pt}return mt}(ne(Error));function Ft(tr,mt,rt,Dt,pt){if(mt.first){var lr=new Promise(function(it,ir){var Dr=function($r){return Dt($r),$r.length?ir(new Fe($r,F($r))):it(pt)},Er=je(tr);Ce(Er,rt,Dr)});return lr.catch(function(it){return it}),lr}var fr=mt.firstFields===!0?Object.keys(tr):mt.firstFields||[],Ir=Object.keys(tr),Hr=Ir.length,Ze=0,et=[],Ee=new Promise(function(it,ir){var Dr=function(Or){if(et.push.apply(et,Or),Ze++,Ze===Hr)return Dt(et),et.length?ir(new Fe(et,F(et))):it(pt)};Ir.length||(Dt(et),it(pt)),Ir.forEach(function(Er){var Or=tr[Er];fr.indexOf(Er)!==-1?Ce(Or,rt,Dr):we(Or,rt,Dr)})});return Ee.catch(function(it){return it}),Ee}function _t(tr){return!!(tr&&tr.message!==void 0)}function Pt(tr,mt){for(var rt=tr,Dt=0;Dt<mt.length;Dt++){if(rt==null)return rt;rt=rt[mt[Dt]]}return rt}function qt(tr,mt){return function(rt){var Dt;return tr.fullFields?Dt=Pt(mt,tr.fullFields):Dt=mt[rt.field||tr.fullField],_t(rt)?(rt.field=rt.field||tr.fullField,rt.fieldValue=Dt,rt):{message:typeof rt=="function"?rt():rt,fieldValue:Dt,field:rt.field||tr.fullField}}}function er(tr,mt){if(mt){for(var rt in mt)if(mt.hasOwnProperty(rt)){var Dt=mt[rt];typeof Dt=="object"&&typeof tr[rt]=="object"?tr[rt]=oe({},tr[rt],Dt):tr[rt]=Dt}}return tr}var Jt=function(mt,rt,Dt,pt,lr,fr){mt.required&&(!Dt.hasOwnProperty(mt.field)||de(rt,fr||mt.type))&&pt.push(M(lr.messages.required,mt.fullField))},Xe=function(mt,rt,Dt,pt,lr){(/^\s+$/.test(rt)||rt==="")&&pt.push(M(lr.messages.whitespace,mt.fullField))},It,zt=function(){if(It)return It;var tr="[a-fA-F\\d:]",mt=function(un){return un&&un.includeBoundaries?"(?:(?<=\\s|^)(?="+tr+")|(?<="+tr+")(?=\\s|$))":""},rt="(?: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}",Dt="[a-fA-F\\d]{1,4}",pt=(`
(?:
(?:`+Dt+":){7}(?:"+Dt+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
(?:`+Dt+":){6}(?:"+rt+"|:"+Dt+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
(?:`+Dt+":){5}(?::"+rt+"|(?::"+Dt+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
(?:`+Dt+":){4}(?:(?::"+Dt+"){0,1}:"+rt+"|(?::"+Dt+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
(?:`+Dt+":){3}(?:(?::"+Dt+"){0,2}:"+rt+"|(?::"+Dt+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
(?:`+Dt+":){2}(?:(?::"+Dt+"){0,3}:"+rt+"|(?::"+Dt+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
(?:`+Dt+":){1}(?:(?::"+Dt+"){0,4}:"+rt+"|(?::"+Dt+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
(?::(?:(?::`+Dt+"){0,5}:"+rt+"|(?::"+Dt+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),lr=new RegExp("(?:^"+rt+"$)|(?:^"+pt+"$)"),fr=new RegExp("^"+rt+"$"),Ir=new RegExp("^"+pt+"$"),Hr=function(un){return un&&un.exact?lr:new RegExp("(?:"+mt(un)+rt+mt(un)+")|(?:"+mt(un)+pt+mt(un)+")","g")};Hr.v4=function(Pr){return Pr&&Pr.exact?fr:new RegExp(""+mt(Pr)+rt+mt(Pr),"g")},Hr.v6=function(Pr){return Pr&&Pr.exact?Ir:new RegExp(""+mt(Pr)+pt+mt(Pr),"g")};var Ze="(?:(?:[a-z]+:)?//)",et="(?:\\S+(?::\\S*)?@)?",Ee=Hr.v4().source,it=Hr.v6().source,ir="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",Dr="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",Er="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Or="(?::\\d{2,5})?",$r='(?:[/?#][^\\s"]*)?',bn="(?:"+Ze+"|www\\.)"+et+"(?:localhost|"+Ee+"|"+it+"|"+ir+Dr+Er+")"+Or+$r;return It=new RegExp("(?:^"+bn+"$)","i"),It},st={email:/^(([^<>()\[\]\\.,;:\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,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},bt={integer:function(mt){return bt.number(mt)&&parseInt(mt,10)===mt},float:function(mt){return bt.number(mt)&&!bt.integer(mt)},array:function(mt){return Array.isArray(mt)},regexp:function(mt){if(mt instanceof RegExp)return!0;try{return!!new RegExp(mt)}catch(rt){return!1}},date:function(mt){return typeof mt.getTime=="function"&&typeof mt.getMonth=="function"&&typeof mt.getYear=="function"&&!isNaN(mt.getTime())},number:function(mt){return isNaN(mt)?!1:typeof mt=="number"},object:function(mt){return typeof mt=="object"&&!bt.array(mt)},method:function(mt){return typeof mt=="function"},email:function(mt){return typeof mt=="string"&&mt.length<=320&&!!mt.match(st.email)},url:function(mt){return typeof mt=="string"&&mt.length<=2048&&!!mt.match(zt())},hex:function(mt){return typeof mt=="string"&&!!mt.match(st.hex)}},ht=function(mt,rt,Dt,pt,lr){if(mt.required&&rt===void 0){Jt(mt,rt,Dt,pt,lr);return}var fr=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Ir=mt.type;fr.indexOf(Ir)>-1?bt[Ir](rt)||pt.push(M(lr.messages.types[Ir],mt.fullField,mt.type)):Ir&&typeof rt!==mt.type&&pt.push(M(lr.messages.types[Ir],mt.fullField,mt.type))},Je=function(mt,rt,Dt,pt,lr){var fr=typeof mt.len=="number",Ir=typeof mt.min=="number",Hr=typeof mt.max=="number",Ze=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,et=rt,Ee=null,it=typeof rt=="number",ir=typeof rt=="string",Dr=Array.isArray(rt);if(it?Ee="number":ir?Ee="string":Dr&&(Ee="array"),!Ee)return!1;Dr&&(et=rt.length),ir&&(et=rt.replace(Ze,"_").length),fr?et!==mt.len&&pt.push(M(lr.messages[Ee].len,mt.fullField,mt.len)):Ir&&!Hr&&et<mt.min?pt.push(M(lr.messages[Ee].min,mt.fullField,mt.min)):Hr&&!Ir&&et>mt.max?pt.push(M(lr.messages[Ee].max,mt.fullField,mt.max)):Ir&&Hr&&(et<mt.min||et>mt.max)&&pt.push(M(lr.messages[Ee].range,mt.fullField,mt.min,mt.max))},Ue="enum",ge=function(mt,rt,Dt,pt,lr){mt[Ue]=Array.isArray(mt[Ue])?mt[Ue]:[],mt[Ue].indexOf(rt)===-1&&pt.push(M(lr.messages[Ue],mt.fullField,mt[Ue].join(", ")))},Ae=function(mt,rt,Dt,pt,lr){if(mt.pattern){if(mt.pattern instanceof RegExp)mt.pattern.lastIndex=0,mt.pattern.test(rt)||pt.push(M(lr.messages.pattern.mismatch,mt.fullField,rt,mt.pattern));else if(typeof mt.pattern=="string"){var fr=new RegExp(mt.pattern);fr.test(rt)||pt.push(M(lr.messages.pattern.mismatch,mt.fullField,rt,mt.pattern))}}},Me={required:Jt,whitespace:Xe,type:ht,range:Je,enum:ge,pattern:Ae},$e=function(mt,rt,Dt,pt,lr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt,"string")&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,lr,"string"),de(rt,"string")||(Me.type(mt,rt,pt,fr,lr),Me.range(mt,rt,pt,fr,lr),Me.pattern(mt,rt,pt,fr,lr),mt.whitespace===!0&&Me.whitespace(mt,rt,pt,fr,lr))}Dt(fr)},He=function(mt,rt,Dt,pt,lr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,lr),rt!==void 0&&Me.type(mt,rt,pt,fr,lr)}Dt(fr)},nt=function(mt,rt,Dt,pt,lr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(rt===""&&(rt=void 0),de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,lr),rt!==void 0&&(Me.type(mt,rt,pt,fr,lr),Me.range(mt,rt,pt,fr,lr))}Dt(fr)},ct=function(mt,rt,Dt,pt,lr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,lr),rt!==void 0&&Me.type(mt,rt,pt,fr,lr)}Dt(fr)},Vt=function(mt,rt,Dt,pt,lr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,lr),de(rt)||Me.type(mt,rt,pt,fr,lr)}Dt(fr)},Wt=function(mt,rt,Dt,pt,lr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,lr),rt!==void 0&&(Me.type(mt,rt,pt,fr,lr),Me.range(mt,rt,pt,fr,lr))}Dt(fr)},De=function(mt,rt,Dt,pt,lr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,lr),rt!==void 0&&(Me.type(mt,rt,pt,fr,lr),Me.range(mt,rt,pt,fr,lr))}Dt(fr)},qe=function(mt,rt,Dt,pt,lr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(rt==null&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,lr,"array"),rt!=null&&(Me.type(mt,rt,pt,fr,lr),Me.range(mt,rt,pt,fr,lr))}Dt(fr)},Gt=function(mt,rt,Dt,pt,lr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,lr),rt!==void 0&&Me.type(mt,rt,pt,fr,lr)}Dt(fr)},kt="enum",Ht=function(mt,rt,Dt,pt,lr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,lr),rt!==void 0&&Me[kt](mt,rt,pt,fr,lr)}Dt(fr)},$t=function(mt,rt,Dt,pt,lr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt,"string")&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,lr),de(rt,"string")||Me.pattern(mt,rt,pt,fr,lr)}Dt(fr)},Ct=function(mt,rt,Dt,pt,lr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt,"date")&&!mt.required)return Dt();if(Me.required(mt,rt,pt,fr,lr),!de(rt,"date")){var Hr;rt instanceof Date?Hr=rt:Hr=new Date(rt),Me.type(mt,Hr,pt,fr,lr),Hr&&Me.range(mt,Hr.getTime(),pt,fr,lr)}}Dt(fr)},Yt=function(mt,rt,Dt,pt,lr){var fr=[],Ir=Array.isArray(rt)?"array":typeof rt;Me.required(mt,rt,pt,fr,lr,Ir),Dt(fr)},We=function(mt,rt,Dt,pt,lr){var fr=mt.type,Ir=[],Hr=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Hr){if(de(rt,fr)&&!mt.required)return Dt();Me.required(mt,rt,pt,Ir,lr,fr),de(rt,fr)||Me.type(mt,rt,pt,Ir,lr)}Dt(Ir)},fe=function(mt,rt,Dt,pt,lr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,lr)}Dt(fr)},_e={string:$e,method:He,number:nt,boolean:ct,regexp:Vt,integer:Wt,float:De,array:qe,object:Gt,enum:Ht,pattern:$t,date:Ct,url:We,hex:We,email:We,required:Yt,any:fe};function Ot(){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 mt=JSON.parse(JSON.stringify(this));return mt.clone=this.clone,mt}}}var Pe=Ot(),dt=function(){function tr(rt){this.rules=null,this._messages=Pe,this.define(rt)}var mt=tr.prototype;return mt.define=function(Dt){var pt=this;if(!Dt)throw new Error("Cannot configure a schema with no rules");if(typeof Dt!="object"||Array.isArray(Dt))throw new Error("Rules must be an object");this.rules={},Object.keys(Dt).forEach(function(lr){var fr=Dt[lr];pt.rules[lr]=Array.isArray(fr)?fr:[fr]})},mt.messages=function(Dt){return Dt&&(this._messages=er(Ot(),Dt)),this._messages},mt.validate=function(Dt,pt,lr){var fr=this;pt===void 0&&(pt={}),lr===void 0&&(lr=function(){});var Ir=Dt,Hr=pt,Ze=lr;if(typeof Hr=="function"&&(Ze=Hr,Hr={}),!this.rules||Object.keys(this.rules).length===0)return Ze&&Ze(null,Ir),Promise.resolve(Ir);function et(Er){var Or=[],$r={};function bn(un){if(Array.isArray(un)){var rn;Or=(rn=Or).concat.apply(rn,un)}else Or.push(un)}for(var Pr=0;Pr<Er.length;Pr++)bn(Er[Pr]);Or.length?($r=F(Or),Ze(Or,$r)):Ze(null,Ir)}if(Hr.messages){var Ee=this.messages();Ee===Pe&&(Ee=Ot()),er(Ee,Hr.messages),Hr.messages=Ee}else Hr.messages=this.messages();var it={},ir=Hr.keys||Object.keys(this.rules);ir.forEach(function(Er){var Or=fr.rules[Er],$r=Ir[Er];Or.forEach(function(bn){var Pr=bn;typeof Pr.transform=="function"&&(Ir===Dt&&(Ir=oe({},Ir)),$r=Ir[Er]=Pr.transform($r)),typeof Pr=="function"?Pr={validator:Pr}:Pr=oe({},Pr),Pr.validator=fr.getValidationMethod(Pr),Pr.validator&&(Pr.field=Er,Pr.fullField=Pr.fullField||Er,Pr.type=fr.getType(Pr),it[Er]=it[Er]||[],it[Er].push({rule:Pr,value:$r,source:Ir,field:Er}))})});var Dr={};return Ft(it,Hr,function(Er,Or){var $r=Er.rule,bn=($r.type==="object"||$r.type==="array")&&(typeof $r.fields=="object"||typeof $r.defaultField=="object");bn=bn&&($r.required||!$r.required&&Er.value),$r.field=Er.field;function Pr(ln,An){return oe({},An,{fullField:$r.fullField+"."+ln,fullFields:$r.fullFields?[].concat($r.fullFields,[ln]):[ln]})}function un(ln){ln===void 0&&(ln=[]);var An=Array.isArray(ln)?ln:[ln];!Hr.suppressWarning&&An.length&&tr.warning("async-validator:",An),An.length&&$r.message!==void 0&&(An=[].concat($r.message));var pa=An.map(qt($r,Ir));if(Hr.first&&pa.length)return Dr[$r.field]=1,Or(pa);if(!bn)Or(pa);else{if($r.required&&!Er.value)return $r.message!==void 0?pa=[].concat($r.message).map(qt($r,Ir)):Hr.error&&(pa=[Hr.error($r,M(Hr.messages.required,$r.field))]),Or(pa);var Pi={};$r.defaultField&&Object.keys(Er.value).map(function(ui){Pi[ui]=$r.defaultField}),Pi=oe({},Pi,Er.rule.fields);var gi={};Object.keys(Pi).forEach(function(ui){var Ni=Pi[ui],la=Array.isArray(Ni)?Ni:[Ni];gi[ui]=la.map(Pr.bind(null,ui))});var pn=new tr(gi);pn.messages(Hr.messages),Er.rule.options&&(Er.rule.options.messages=Hr.messages,Er.rule.options.error=Hr.error),pn.validate(Er.value,Er.rule.options||Hr,function(ui){var Ni=[];pa&&pa.length&&Ni.push.apply(Ni,pa),ui&&ui.length&&Ni.push.apply(Ni,ui),Or(Ni.length?Ni:null)})}}var rn;if($r.asyncValidator)rn=$r.asyncValidator($r,Er.value,un,Er.source,Hr);else if($r.validator){try{rn=$r.validator($r,Er.value,un,Er.source,Hr)}catch(ln){console.error==null||console.error(ln),Hr.suppressValidatorError||setTimeout(function(){throw ln},0),un(ln.message)}rn===!0?un():rn===!1?un(typeof $r.message=="function"?$r.message($r.fullField||$r.field):$r.message||($r.fullField||$r.field)+" fails"):rn instanceof Array?un(rn):rn instanceof Error&&un(rn.message)}rn&&rn.then&&rn.then(function(){return un()},function(ln){return un(ln)})},function(Er){et(Er)},Ir)},mt.getType=function(Dt){if(Dt.type===void 0&&Dt.pattern instanceof RegExp&&(Dt.type="pattern"),typeof Dt.validator!="function"&&Dt.type&&!_e.hasOwnProperty(Dt.type))throw new Error(M("Unknown rule type %s",Dt.type));return Dt.type||"string"},mt.getValidationMethod=function(Dt){if(typeof Dt.validator=="function")return Dt.validator;var pt=Object.keys(Dt),lr=pt.indexOf("message");return lr!==-1&&pt.splice(lr,1),pt.length===1&&pt[0]==="required"?_e.required:_e[this.getType(Dt)]||void 0},tr}();dt.register=function(mt,rt){if(typeof rt!="function")throw new Error("Cannot register a validator by type, validator is not a function");_e[mt]=rt},dt.warning=ie,dt.messages=Pe,dt.validators=_e;var Zt="'${name}' is not a valid ${type}",Tt={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Zt,method:Zt,array:Zt,object:Zt,number:Zt,date:Zt,boolean:Zt,integer:Zt,float:Zt,regexp:Zt,email:Zt,url:Zt,hex:Zt},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},ke=e(24434),St=dt;function be(tr,mt){return tr.replace(/\$\{\w+\}/g,function(rt){var Dt=rt.slice(2,-1);return mt[Dt]})}var Ke="CODE_LOGIC_ERROR";function gt(tr,mt,rt,Dt,pt){return Rt.apply(this,arguments)}function Rt(){return Rt=(0,f.Z)((0,c.Z)().mark(function tr(mt,rt,Dt,pt,lr){var fr,Ir,Hr,Ze,et,Ee,it,ir,Dr;return(0,c.Z)().wrap(function(Or){for(;;)switch(Or.prev=Or.next){case 0:return fr=(0,s.Z)({},Dt),delete fr.ruleIndex,St.warning=function(){},fr.validator&&(Ir=fr.validator,fr.validator=function(){try{return Ir.apply(void 0,arguments)}catch($r){return console.error($r),Promise.reject(Ke)}}),Hr=null,fr&&fr.type==="array"&&fr.defaultField&&(Hr=fr.defaultField,delete fr.defaultField),Ze=new St((0,_.Z)({},mt,[fr])),et=(0,ke.T)(Tt,pt.validateMessages),Ze.messages(et),Ee=[],Or.prev=10,Or.next=13,Promise.resolve(Ze.validate((0,_.Z)({},mt,rt),(0,s.Z)({},pt)));case 13:Or.next=18;break;case 15:Or.prev=15,Or.t0=Or.catch(10),Or.t0.errors&&(Ee=Or.t0.errors.map(function($r,bn){var Pr=$r.message,un=Pr===Ke?et.default:Pr;return r.isValidElement(un)?r.cloneElement(un,{key:"error_".concat(bn)}):un}));case 18:if(!(!Ee.length&&Hr)){Or.next=23;break}return Or.next=21,Promise.all(rt.map(function($r,bn){return gt("".concat(mt,".").concat(bn),$r,Hr,pt,lr)}));case 21:return it=Or.sent,Or.abrupt("return",it.reduce(function($r,bn){return[].concat((0,h.Z)($r),(0,h.Z)(bn))},[]));case 23:return ir=(0,s.Z)((0,s.Z)({},Dt),{},{name:mt,enum:(Dt.enum||[]).join(", ")},lr),Dr=Ee.map(function($r){return typeof $r=="string"?be($r,ir):$r}),Or.abrupt("return",Dr);case 26:case"end":return Or.stop()}},tr,null,[[10,15]])})),Rt.apply(this,arguments)}function Be(tr,mt,rt,Dt,pt,lr){var fr=tr.join("."),Ir=rt.map(function(et,Ee){var it=et.validator,ir=(0,s.Z)((0,s.Z)({},et),{},{ruleIndex:Ee});return it&&(ir.validator=function(Dr,Er,Or){var $r=!1,bn=function(){for(var rn=arguments.length,ln=new Array(rn),An=0;An<rn;An++)ln[An]=arguments[An];Promise.resolve().then(function(){(0,R.ZP)(!$r,"Your validator function has already return a promise. `callback` will be ignored."),$r||Or.apply(void 0,ln)})},Pr=it(Dr,Er,bn);$r=Pr&&typeof Pr.then=="function"&&typeof Pr.catch=="function",(0,R.ZP)($r,"`callback` is deprecated. Please return a promise instead."),$r&&Pr.then(function(){Or()}).catch(function(un){Or(un||" ")})}),ir}).sort(function(et,Ee){var it=et.warningOnly,ir=et.ruleIndex,Dr=Ee.warningOnly,Er=Ee.ruleIndex;return!!it==!!Dr?ir-Er:it?1:-1}),Hr;if(pt===!0)Hr=new Promise(function(){var et=(0,f.Z)((0,c.Z)().mark(function Ee(it,ir){var Dr,Er,Or;return(0,c.Z)().wrap(function(bn){for(;;)switch(bn.prev=bn.next){case 0:Dr=0;case 1:if(!(Dr<Ir.length)){bn.next=12;break}return Er=Ir[Dr],bn.next=5,gt(fr,mt,Er,Dt,lr);case 5:if(Or=bn.sent,!Or.length){bn.next=9;break}return ir([{errors:Or,rule:Er}]),bn.abrupt("return");case 9:Dr+=1,bn.next=1;break;case 12:it([]);case 13:case"end":return bn.stop()}},Ee)}));return function(Ee,it){return et.apply(this,arguments)}}());else{var Ze=Ir.map(function(et){return gt(fr,mt,et,Dt,lr).then(function(Ee){return{errors:Ee,rule:et}})});Hr=(pt?Kr(Ze):kr(Ze)).then(function(et){return Promise.reject(et)})}return Hr.catch(function(et){return et}),Hr}function kr(tr){return At.apply(this,arguments)}function At(){return At=(0,f.Z)((0,c.Z)().mark(function tr(mt){return(0,c.Z)().wrap(function(Dt){for(;;)switch(Dt.prev=Dt.next){case 0:return Dt.abrupt("return",Promise.all(mt).then(function(pt){var lr,fr=(lr=[]).concat.apply(lr,(0,h.Z)(pt));return fr}));case 1:case"end":return Dt.stop()}},tr)})),At.apply(this,arguments)}function Kr(tr){return qr.apply(this,arguments)}function qr(){return qr=(0,f.Z)((0,c.Z)().mark(function tr(mt){var rt;return(0,c.Z)().wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:return rt=0,pt.abrupt("return",new Promise(function(lr){mt.forEach(function(fr){fr.then(function(Ir){Ir.errors.length&&lr([Ir]),rt+=1,rt===mt.length&&lr([])})})}));case 2:case"end":return pt.stop()}},tr)})),qr.apply(this,arguments)}var Ar=e(62853),Br=e(97938);function _r(tr){return K(tr)}function Ur(tr,mt){var rt={};return mt.forEach(function(Dt){var pt=(0,Br.Z)(tr,Dt);rt=(0,ke.Z)(rt,Dt,pt)}),rt}function sn(tr,mt){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return tr&&tr.some(function(Dt){return cn(mt,Dt,rt)})}function cn(tr,mt){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!tr||!mt||!rt&&tr.length!==mt.length?!1:mt.every(function(Dt,pt){return tr[pt]===Dt})}function or(tr,mt){if(tr===mt)return!0;if(!tr&&mt||tr&&!mt||!tr||!mt||(0,Ar.Z)(tr)!=="object"||(0,Ar.Z)(mt)!=="object")return!1;var rt=Object.keys(tr),Dt=Object.keys(mt),pt=new Set([].concat(rt,Dt));return(0,h.Z)(pt).every(function(lr){var fr=tr[lr],Ir=mt[lr];return typeof fr=="function"&&typeof Ir=="function"?!0:fr===Ir})}function Lt(tr){var mt=arguments.length<=1?void 0:arguments[1];return mt&&mt.target&&(0,Ar.Z)(mt.target)==="object"&&tr in mt.target?mt.target[tr]:mt}function vt(tr,mt,rt){var Dt=tr.length;if(mt<0||mt>=Dt||rt<0||rt>=Dt)return tr;var pt=tr[mt],lr=mt-rt;return lr>0?[].concat((0,h.Z)(tr.slice(0,rt)),[pt],(0,h.Z)(tr.slice(rt,mt)),(0,h.Z)(tr.slice(mt+1,Dt))):lr<0?[].concat((0,h.Z)(tr.slice(0,mt)),(0,h.Z)(tr.slice(mt+1,rt+1)),[pt],(0,h.Z)(tr.slice(rt+1,Dt))):tr}var yt=["name"],jt=[];function Cr(tr,mt,rt,Dt,pt,lr){return typeof tr=="function"?tr(mt,rt,"source"in lr?{source:lr.source}:{}):Dt!==pt}var gr=function(tr){(0,p.Z)(rt,tr);var mt=(0,y.Z)(rt);function rt(Dt){var pt;if((0,u.Z)(this,rt),pt=mt.call(this,Dt),(0,_.Z)((0,x.Z)(pt),"state",{resetCount:0}),(0,_.Z)((0,x.Z)(pt),"cancelRegisterFunc",null),(0,_.Z)((0,x.Z)(pt),"mounted",!1),(0,_.Z)((0,x.Z)(pt),"touched",!1),(0,_.Z)((0,x.Z)(pt),"dirty",!1),(0,_.Z)((0,x.Z)(pt),"validatePromise",void 0),(0,_.Z)((0,x.Z)(pt),"prevValidating",void 0),(0,_.Z)((0,x.Z)(pt),"errors",jt),(0,_.Z)((0,x.Z)(pt),"warnings",jt),(0,_.Z)((0,x.Z)(pt),"cancelRegister",function(){var Hr=pt.props,Ze=Hr.preserve,et=Hr.isListField,Ee=Hr.name;pt.cancelRegisterFunc&&pt.cancelRegisterFunc(et,Ze,_r(Ee)),pt.cancelRegisterFunc=null}),(0,_.Z)((0,x.Z)(pt),"getNamePath",function(){var Hr=pt.props,Ze=Hr.name,et=Hr.fieldContext,Ee=et.prefixName,it=Ee===void 0?[]:Ee;return Ze!==void 0?[].concat((0,h.Z)(it),(0,h.Z)(Ze)):[]}),(0,_.Z)((0,x.Z)(pt),"getRules",function(){var Hr=pt.props,Ze=Hr.rules,et=Ze===void 0?[]:Ze,Ee=Hr.fieldContext;return et.map(function(it){return typeof it=="function"?it(Ee):it})}),(0,_.Z)((0,x.Z)(pt),"refresh",function(){pt.mounted&&pt.setState(function(Hr){var Ze=Hr.resetCount;return{resetCount:Ze+1}})}),(0,_.Z)((0,x.Z)(pt),"metaCache",null),(0,_.Z)((0,x.Z)(pt),"triggerMetaEvent",function(Hr){var Ze=pt.props.onMetaChange;if(Ze){var et=(0,s.Z)((0,s.Z)({},pt.getMeta()),{},{destroy:Hr});(0,S.Z)(pt.metaCache,et)||Ze(et),pt.metaCache=et}else pt.metaCache=null}),(0,_.Z)((0,x.Z)(pt),"onStoreChange",function(Hr,Ze,et){var Ee=pt.props,it=Ee.shouldUpdate,ir=Ee.dependencies,Dr=ir===void 0?[]:ir,Er=Ee.onReset,Or=et.store,$r=pt.getNamePath(),bn=pt.getValue(Hr),Pr=pt.getValue(Or),un=Ze&&sn(Ze,$r);switch(et.type==="valueUpdate"&&et.source==="external"&&bn!==Pr&&(pt.touched=!0,pt.dirty=!0,pt.validatePromise=null,pt.errors=jt,pt.warnings=jt,pt.triggerMetaEvent()),et.type){case"reset":if(!Ze||un){pt.touched=!1,pt.dirty=!1,pt.validatePromise=void 0,pt.errors=jt,pt.warnings=jt,pt.triggerMetaEvent(),Er==null||Er(),pt.refresh();return}break;case"remove":{if(it){pt.reRender();return}break}case"setField":{var rn=et.data;if(un){"touched"in rn&&(pt.touched=rn.touched),"validating"in rn&&!("originRCField"in rn)&&(pt.validatePromise=rn.validating?Promise.resolve([]):null),"errors"in rn&&(pt.errors=rn.errors||jt),"warnings"in rn&&(pt.warnings=rn.warnings||jt),pt.dirty=!0,pt.triggerMetaEvent(),pt.reRender();return}else if("value"in rn&&sn(Ze,$r,!0)){pt.reRender();return}if(it&&!$r.length&&Cr(it,Hr,Or,bn,Pr,et)){pt.reRender();return}break}case"dependenciesUpdate":{var ln=Dr.map(_r);if(ln.some(function(An){return sn(et.relatedFields,An)})){pt.reRender();return}break}default:if(un||(!Dr.length||$r.length||it)&&Cr(it,Hr,Or,bn,Pr,et)){pt.reRender();return}break}it===!0&&pt.reRender()}),(0,_.Z)((0,x.Z)(pt),"validateRules",function(Hr){var Ze=pt.getNamePath(),et=pt.getValue(),Ee=Hr||{},it=Ee.triggerName,ir=Ee.validateOnly,Dr=ir===void 0?!1:ir,Er=Promise.resolve().then((0,f.Z)((0,c.Z)().mark(function Or(){var $r,bn,Pr,un,rn,ln,An;return(0,c.Z)().wrap(function(Pi){for(;;)switch(Pi.prev=Pi.next){case 0:if(pt.mounted){Pi.next=2;break}return Pi.abrupt("return",[]);case 2:if($r=pt.props,bn=$r.validateFirst,Pr=bn===void 0?!1:bn,un=$r.messageVariables,rn=$r.validateDebounce,ln=pt.getRules(),it&&(ln=ln.filter(function(gi){return gi}).filter(function(gi){var pn=gi.validateTrigger;if(!pn)return!0;var ui=K(pn);return ui.includes(it)})),!(rn&&it)){Pi.next=10;break}return Pi.next=8,new Promise(function(gi){setTimeout(gi,rn)});case 8:if(pt.validatePromise===Er){Pi.next=10;break}return Pi.abrupt("return",[]);case 10:return An=Be(Ze,et,ln,Hr,Pr,un),An.catch(function(gi){return gi}).then(function(){var gi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:jt;if(pt.validatePromise===Er){var pn;pt.validatePromise=null;var ui=[],Ni=[];(pn=gi.forEach)===null||pn===void 0||pn.call(gi,function(la){var xs=la.rule.warningOnly,Pa=la.errors,Na=Pa===void 0?jt:Pa;xs?Ni.push.apply(Ni,(0,h.Z)(Na)):ui.push.apply(ui,(0,h.Z)(Na))}),pt.errors=ui,pt.warnings=Ni,pt.triggerMetaEvent(),pt.reRender()}}),Pi.abrupt("return",An);case 13:case"end":return Pi.stop()}},Or)})));return Dr||(pt.validatePromise=Er,pt.dirty=!0,pt.errors=jt,pt.warnings=jt,pt.triggerMetaEvent(),pt.reRender()),Er}),(0,_.Z)((0,x.Z)(pt),"isFieldValidating",function(){return!!pt.validatePromise}),(0,_.Z)((0,x.Z)(pt),"isFieldTouched",function(){return pt.touched}),(0,_.Z)((0,x.Z)(pt),"isFieldDirty",function(){if(pt.dirty||pt.props.initialValue!==void 0)return!0;var Hr=pt.props.fieldContext,Ze=Hr.getInternalHooks(L),et=Ze.getInitialValue;return et(pt.getNamePath())!==void 0}),(0,_.Z)((0,x.Z)(pt),"getErrors",function(){return pt.errors}),(0,_.Z)((0,x.Z)(pt),"getWarnings",function(){return pt.warnings}),(0,_.Z)((0,x.Z)(pt),"isListField",function(){return pt.props.isListField}),(0,_.Z)((0,x.Z)(pt),"isList",function(){return pt.props.isList}),(0,_.Z)((0,x.Z)(pt),"isPreserve",function(){return pt.props.preserve}),(0,_.Z)((0,x.Z)(pt),"getMeta",function(){pt.prevValidating=pt.isFieldValidating();var Hr={touched:pt.isFieldTouched(),validating:pt.prevValidating,errors:pt.errors,warnings:pt.warnings,name:pt.getNamePath(),validated:pt.validatePromise===null};return Hr}),(0,_.Z)((0,x.Z)(pt),"getOnlyChild",function(Hr){if(typeof Hr=="function"){var Ze=pt.getMeta();return(0,s.Z)((0,s.Z)({},pt.getOnlyChild(Hr(pt.getControlled(),Ze,pt.props.fieldContext))),{},{isFunction:!0})}var et=(0,b.Z)(Hr);return et.length!==1||!r.isValidElement(et[0])?{child:et,isFunction:!1}:{child:et[0],isFunction:!1}}),(0,_.Z)((0,x.Z)(pt),"getValue",function(Hr){var Ze=pt.props.fieldContext.getFieldsValue,et=pt.getNamePath();return(0,Br.Z)(Hr||Ze(!0),et)}),(0,_.Z)((0,x.Z)(pt),"getControlled",function(){var Hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ze=pt.props,et=Ze.trigger,Ee=Ze.validateTrigger,it=Ze.getValueFromEvent,ir=Ze.normalize,Dr=Ze.valuePropName,Er=Ze.getValueProps,Or=Ze.fieldContext,$r=Ee!==void 0?Ee:Or.validateTrigger,bn=pt.getNamePath(),Pr=Or.getInternalHooks,un=Or.getFieldsValue,rn=Pr(L),ln=rn.dispatch,An=pt.getValue(),pa=Er||function(ui){return(0,_.Z)({},Dr,ui)},Pi=Hr[et],gi=(0,s.Z)((0,s.Z)({},Hr),pa(An));gi[et]=function(){pt.touched=!0,pt.dirty=!0,pt.triggerMetaEvent();for(var ui,Ni=arguments.length,la=new Array(Ni),xs=0;xs<Ni;xs++)la[xs]=arguments[xs];it?ui=it.apply(void 0,la):ui=Lt.apply(void 0,[Dr].concat(la)),ir&&(ui=ir(ui,An,un(!0))),ln({type:"updateValue",namePath:bn,value:ui}),Pi&&Pi.apply(void 0,la)};var pn=K($r||[]);return pn.forEach(function(ui){var Ni=gi[ui];gi[ui]=function(){Ni&&Ni.apply(void 0,arguments);var la=pt.props.rules;la&&la.length&&ln({type:"validateField",namePath:bn,triggerName:ui})}}),gi}),Dt.fieldContext){var lr=Dt.fieldContext.getInternalHooks,fr=lr(L),Ir=fr.initEntityValue;Ir((0,x.Z)(pt))}return pt}return(0,a.Z)(rt,[{key:"componentDidMount",value:function(){var pt=this.props,lr=pt.shouldUpdate,fr=pt.fieldContext;if(this.mounted=!0,fr){var Ir=fr.getInternalHooks,Hr=Ir(L),Ze=Hr.registerField;this.cancelRegisterFunc=Ze(this)}lr===!0&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var pt=this.state.resetCount,lr=this.props.children,fr=this.getOnlyChild(lr),Ir=fr.child,Hr=fr.isFunction,Ze;return Hr?Ze=Ir:r.isValidElement(Ir)?Ze=r.cloneElement(Ir,this.getControlled(Ir.props)):((0,R.ZP)(!Ir,"`children` of Field is not validate ReactElement."),Ze=Ir),r.createElement(r.Fragment,{key:pt},Ze)}}]),rt}(r.Component);(0,_.Z)(gr,"contextType",B),(0,_.Z)(gr,"defaultProps",{trigger:"onChange",valuePropName:"value"});function ot(tr){var mt=tr.name,rt=(0,l.Z)(tr,yt),Dt=r.useContext(B),pt=r.useContext(U),lr=mt!==void 0?_r(mt):void 0,fr="keep";return rt.isListField||(fr="_".concat((lr||[]).join("_"))),r.createElement(gr,(0,i.Z)({key:fr,name:lr,isListField:!!pt},rt,{fieldContext:Dt}))}var Mr=ot;function yn(tr){var mt=tr.name,rt=tr.initialValue,Dt=tr.children,pt=tr.rules,lr=tr.validateTrigger,fr=tr.isListField,Ir=r.useContext(B),Hr=r.useContext(U),Ze=r.useRef({keys:[],id:0}),et=Ze.current,Ee=r.useMemo(function(){var Er=_r(Ir.prefixName)||[];return[].concat((0,h.Z)(Er),(0,h.Z)(_r(mt)))},[Ir.prefixName,mt]),it=r.useMemo(function(){return(0,s.Z)((0,s.Z)({},Ir),{},{prefixName:Ee})},[Ir,Ee]),ir=r.useMemo(function(){return{getKey:function(Or){var $r=Ee.length,bn=Or[$r];return[et.keys[bn],Or.slice($r+1)]}}},[Ee]);if(typeof Dt!="function")return(0,R.ZP)(!1,"Form.List only accepts function as children."),null;var Dr=function(Or,$r,bn){var Pr=bn.source;return Pr==="internal"?!1:Or!==$r};return r.createElement(U.Provider,{value:ir},r.createElement(B.Provider,{value:it},r.createElement(Mr,{name:[],shouldUpdate:Dr,rules:pt,validateTrigger:lr,initialValue:rt,isList:!0,isListField:fr!=null?fr:!!Hr},function(Er,Or){var $r=Er.value,bn=$r===void 0?[]:$r,Pr=Er.onChange,un=Ir.getFieldValue,rn=function(){var Pi=un(Ee||[]);return Pi||[]},ln={add:function(Pi,gi){var pn=rn();gi>=0&&gi<=pn.length?(et.keys=[].concat((0,h.Z)(et.keys.slice(0,gi)),[et.id],(0,h.Z)(et.keys.slice(gi))),Pr([].concat((0,h.Z)(pn.slice(0,gi)),[Pi],(0,h.Z)(pn.slice(gi))))):(et.keys=[].concat((0,h.Z)(et.keys),[et.id]),Pr([].concat((0,h.Z)(pn),[Pi]))),et.id+=1},remove:function(Pi){var gi=rn(),pn=new Set(Array.isArray(Pi)?Pi:[Pi]);pn.size<=0||(et.keys=et.keys.filter(function(ui,Ni){return!pn.has(Ni)}),Pr(gi.filter(function(ui,Ni){return!pn.has(Ni)})))},move:function(Pi,gi){if(Pi!==gi){var pn=rn();Pi<0||Pi>=pn.length||gi<0||gi>=pn.length||(et.keys=vt(et.keys,Pi,gi),Pr(vt(pn,Pi,gi)))}}},An=bn||[];return Array.isArray(An)||(An=[]),Dt(An.map(function(pa,Pi){var gi=et.keys[Pi];return gi===void 0&&(et.keys[Pi]=et.id,gi=et.keys[Pi],et.id+=1),{name:Pi,key:gi,isListField:!0}}),ln,Or)})))}var Zn=yn,mr=e(52487);function tn(tr){var mt=!1,rt=tr.length,Dt=[];return tr.length?new Promise(function(pt,lr){tr.forEach(function(fr,Ir){fr.catch(function(Hr){return mt=!0,Hr}).then(function(Hr){rt-=1,Dt[Ir]=Hr,!(rt>0)&&(mt&&lr(Dt),pt(Dt))})})}):Promise.resolve([])}var hn="__@field_split__";function Fn(tr){return tr.map(function(mt){return"".concat((0,Ar.Z)(mt),":").concat(mt)}).join(hn)}var ti=function(){function tr(){(0,u.Z)(this,tr),(0,_.Z)(this,"kvs",new Map)}return(0,a.Z)(tr,[{key:"set",value:function(rt,Dt){this.kvs.set(Fn(rt),Dt)}},{key:"get",value:function(rt){return this.kvs.get(Fn(rt))}},{key:"update",value:function(rt,Dt){var pt=this.get(rt),lr=Dt(pt);lr?this.set(rt,lr):this.delete(rt)}},{key:"delete",value:function(rt){this.kvs.delete(Fn(rt))}},{key:"map",value:function(rt){return(0,h.Z)(this.kvs.entries()).map(function(Dt){var pt=(0,mr.Z)(Dt,2),lr=pt[0],fr=pt[1],Ir=lr.split(hn);return rt({key:Ir.map(function(Hr){var Ze=Hr.match(/^([^:]*):(.*)$/),et=(0,mr.Z)(Ze,3),Ee=et[1],it=et[2];return Ee==="number"?Number(it):it}),value:fr})})}},{key:"toJSON",value:function(){var rt={};return this.map(function(Dt){var pt=Dt.key,lr=Dt.value;return rt[pt.join(".")]=lr,null}),rt}}]),tr}(),jn=ti,Zi=["name"],xi=(0,a.Z)(function tr(mt){var rt=this;(0,u.Z)(this,tr),(0,_.Z)(this,"formHooked",!1),(0,_.Z)(this,"forceRootUpdate",void 0),(0,_.Z)(this,"subscribable",!0),(0,_.Z)(this,"store",{}),(0,_.Z)(this,"fieldEntities",[]),(0,_.Z)(this,"initialValues",{}),(0,_.Z)(this,"callbacks",{}),(0,_.Z)(this,"validateMessages",null),(0,_.Z)(this,"preserve",null),(0,_.Z)(this,"lastValidatePromise",null),(0,_.Z)(this,"getForm",function(){return{getFieldValue:rt.getFieldValue,getFieldsValue:rt.getFieldsValue,getFieldError:rt.getFieldError,getFieldWarning:rt.getFieldWarning,getFieldsError:rt.getFieldsError,isFieldsTouched:rt.isFieldsTouched,isFieldTouched:rt.isFieldTouched,isFieldValidating:rt.isFieldValidating,isFieldsValidating:rt.isFieldsValidating,resetFields:rt.resetFields,setFields:rt.setFields,setFieldValue:rt.setFieldValue,setFieldsValue:rt.setFieldsValue,validateFields:rt.validateFields,submit:rt.submit,_init:!0,getInternalHooks:rt.getInternalHooks}}),(0,_.Z)(this,"getInternalHooks",function(Dt){return Dt===L?(rt.formHooked=!0,{dispatch:rt.dispatch,initEntityValue:rt.initEntityValue,registerField:rt.registerField,useSubscribe:rt.useSubscribe,setInitialValues:rt.setInitialValues,destroyForm:rt.destroyForm,setCallbacks:rt.setCallbacks,setValidateMessages:rt.setValidateMessages,getFields:rt.getFields,setPreserve:rt.setPreserve,getInitialValue:rt.getInitialValue,registerWatch:rt.registerWatch}):((0,R.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,_.Z)(this,"useSubscribe",function(Dt){rt.subscribable=Dt}),(0,_.Z)(this,"prevWithoutPreserves",null),(0,_.Z)(this,"setInitialValues",function(Dt,pt){if(rt.initialValues=Dt||{},pt){var lr,fr=(0,ke.T)(Dt,rt.store);(lr=rt.prevWithoutPreserves)===null||lr===void 0||lr.map(function(Ir){var Hr=Ir.key;fr=(0,ke.Z)(fr,Hr,(0,Br.Z)(Dt,Hr))}),rt.prevWithoutPreserves=null,rt.updateStore(fr)}}),(0,_.Z)(this,"destroyForm",function(){var Dt=new jn;rt.getFieldEntities(!0).forEach(function(pt){rt.isMergedPreserve(pt.isPreserve())||Dt.set(pt.getNamePath(),!0)}),rt.prevWithoutPreserves=Dt}),(0,_.Z)(this,"getInitialValue",function(Dt){var pt=(0,Br.Z)(rt.initialValues,Dt);return Dt.length?(0,ke.T)(pt):pt}),(0,_.Z)(this,"setCallbacks",function(Dt){rt.callbacks=Dt}),(0,_.Z)(this,"setValidateMessages",function(Dt){rt.validateMessages=Dt}),(0,_.Z)(this,"setPreserve",function(Dt){rt.preserve=Dt}),(0,_.Z)(this,"watchList",[]),(0,_.Z)(this,"registerWatch",function(Dt){return rt.watchList.push(Dt),function(){rt.watchList=rt.watchList.filter(function(pt){return pt!==Dt})}}),(0,_.Z)(this,"notifyWatch",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(rt.watchList.length){var pt=rt.getFieldsValue(),lr=rt.getFieldsValue(!0);rt.watchList.forEach(function(fr){fr(pt,lr,Dt)})}}),(0,_.Z)(this,"timeoutId",null),(0,_.Z)(this,"warningUnhooked",function(){}),(0,_.Z)(this,"updateStore",function(Dt){rt.store=Dt}),(0,_.Z)(this,"getFieldEntities",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return Dt?rt.fieldEntities.filter(function(pt){return pt.getNamePath().length}):rt.fieldEntities}),(0,_.Z)(this,"getFieldsMap",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,pt=new jn;return rt.getFieldEntities(Dt).forEach(function(lr){var fr=lr.getNamePath();pt.set(fr,lr)}),pt}),(0,_.Z)(this,"getFieldEntitiesForNamePathList",function(Dt){if(!Dt)return rt.getFieldEntities(!0);var pt=rt.getFieldsMap(!0);return Dt.map(function(lr){var fr=_r(lr);return pt.get(fr)||{INVALIDATE_NAME_PATH:_r(lr)}})}),(0,_.Z)(this,"getFieldsValue",function(Dt,pt){rt.warningUnhooked();var lr,fr,Ir;if(Dt===!0||Array.isArray(Dt)?(lr=Dt,fr=pt):Dt&&(0,Ar.Z)(Dt)==="object"&&(Ir=Dt.strict,fr=Dt.filter),lr===!0&&!fr)return rt.store;var Hr=rt.getFieldEntitiesForNamePathList(Array.isArray(lr)?lr:null),Ze=[];return Hr.forEach(function(et){var Ee,it,ir="INVALIDATE_NAME_PATH"in et?et.INVALIDATE_NAME_PATH:et.getNamePath();if(Ir){var Dr,Er;if((Dr=(Er=et).isList)!==null&&Dr!==void 0&&Dr.call(Er))return}else if(!lr&&(Ee=(it=et).isListField)!==null&&Ee!==void 0&&Ee.call(it))return;if(!fr)Ze.push(ir);else{var Or="getMeta"in et?et.getMeta():null;fr(Or)&&Ze.push(ir)}}),Ur(rt.store,Ze.map(_r))}),(0,_.Z)(this,"getFieldValue",function(Dt){rt.warningUnhooked();var pt=_r(Dt);return(0,Br.Z)(rt.store,pt)}),(0,_.Z)(this,"getFieldsError",function(Dt){rt.warningUnhooked();var pt=rt.getFieldEntitiesForNamePathList(Dt);return pt.map(function(lr,fr){return lr&&!("INVALIDATE_NAME_PATH"in lr)?{name:lr.getNamePath(),errors:lr.getErrors(),warnings:lr.getWarnings()}:{name:_r(Dt[fr]),errors:[],warnings:[]}})}),(0,_.Z)(this,"getFieldError",function(Dt){rt.warningUnhooked();var pt=_r(Dt),lr=rt.getFieldsError([pt])[0];return lr.errors}),(0,_.Z)(this,"getFieldWarning",function(Dt){rt.warningUnhooked();var pt=_r(Dt),lr=rt.getFieldsError([pt])[0];return lr.warnings}),(0,_.Z)(this,"isFieldsTouched",function(){rt.warningUnhooked();for(var Dt=arguments.length,pt=new Array(Dt),lr=0;lr<Dt;lr++)pt[lr]=arguments[lr];var fr=pt[0],Ir=pt[1],Hr,Ze=!1;pt.length===0?Hr=null:pt.length===1?Array.isArray(fr)?(Hr=fr.map(_r),Ze=!1):(Hr=null,Ze=fr):(Hr=fr.map(_r),Ze=Ir);var et=rt.getFieldEntities(!0),Ee=function(Or){return Or.isFieldTouched()};if(!Hr)return Ze?et.every(Ee):et.some(Ee);var it=new jn;Hr.forEach(function(Er){it.set(Er,[])}),et.forEach(function(Er){var Or=Er.getNamePath();Hr.forEach(function($r){$r.every(function(bn,Pr){return Or[Pr]===bn})&&it.update($r,function(bn){return[].concat((0,h.Z)(bn),[Er])})})});var ir=function(Or){return Or.some(Ee)},Dr=it.map(function(Er){var Or=Er.value;return Or});return Ze?Dr.every(ir):Dr.some(ir)}),(0,_.Z)(this,"isFieldTouched",function(Dt){return rt.warningUnhooked(),rt.isFieldsTouched([Dt])}),(0,_.Z)(this,"isFieldsValidating",function(Dt){rt.warningUnhooked();var pt=rt.getFieldEntities();if(!Dt)return pt.some(function(fr){return fr.isFieldValidating()});var lr=Dt.map(_r);return pt.some(function(fr){var Ir=fr.getNamePath();return sn(lr,Ir)&&fr.isFieldValidating()})}),(0,_.Z)(this,"isFieldValidating",function(Dt){return rt.warningUnhooked(),rt.isFieldsValidating([Dt])}),(0,_.Z)(this,"resetWithFieldInitialValue",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pt=new jn,lr=rt.getFieldEntities(!0);lr.forEach(function(Hr){var Ze=Hr.props.initialValue,et=Hr.getNamePath();if(Ze!==void 0){var Ee=pt.get(et)||new Set;Ee.add({entity:Hr,value:Ze}),pt.set(et,Ee)}});var fr=function(Ze){Ze.forEach(function(et){var Ee=et.props.initialValue;if(Ee!==void 0){var it=et.getNamePath(),ir=rt.getInitialValue(it);if(ir!==void 0)(0,R.ZP)(!1,"Form already set 'initialValues' with path '".concat(it.join("."),"'. Field can not overwrite it."));else{var Dr=pt.get(it);if(Dr&&Dr.size>1)(0,R.ZP)(!1,"Multiple Field with path '".concat(it.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(Dr){var Er=rt.getFieldValue(it);(!Dt.skipExist||Er===void 0)&&rt.updateStore((0,ke.Z)(rt.store,it,(0,h.Z)(Dr)[0].value))}}}})},Ir;Dt.entities?Ir=Dt.entities:Dt.namePathList?(Ir=[],Dt.namePathList.forEach(function(Hr){var Ze=pt.get(Hr);if(Ze){var et;(et=Ir).push.apply(et,(0,h.Z)((0,h.Z)(Ze).map(function(Ee){return Ee.entity})))}})):Ir=lr,fr(Ir)}),(0,_.Z)(this,"resetFields",function(Dt){rt.warningUnhooked();var pt=rt.store;if(!Dt){rt.updateStore((0,ke.T)(rt.initialValues)),rt.resetWithFieldInitialValue(),rt.notifyObservers(pt,null,{type:"reset"}),rt.notifyWatch();return}var lr=Dt.map(_r);lr.forEach(function(fr){var Ir=rt.getInitialValue(fr);rt.updateStore((0,ke.Z)(rt.store,fr,Ir))}),rt.resetWithFieldInitialValue({namePathList:lr}),rt.notifyObservers(pt,lr,{type:"reset"}),rt.notifyWatch(lr)}),(0,_.Z)(this,"setFields",function(Dt){rt.warningUnhooked();var pt=rt.store,lr=[];Dt.forEach(function(fr){var Ir=fr.name,Hr=(0,l.Z)(fr,Zi),Ze=_r(Ir);lr.push(Ze),"value"in Hr&&rt.updateStore((0,ke.Z)(rt.store,Ze,Hr.value)),rt.notifyObservers(pt,[Ze],{type:"setField",data:fr})}),rt.notifyWatch(lr)}),(0,_.Z)(this,"getFields",function(){var Dt=rt.getFieldEntities(!0),pt=Dt.map(function(lr){var fr=lr.getNamePath(),Ir=lr.getMeta(),Hr=(0,s.Z)((0,s.Z)({},Ir),{},{name:fr,value:rt.getFieldValue(fr)});return Object.defineProperty(Hr,"originRCField",{value:!0}),Hr});return pt}),(0,_.Z)(this,"initEntityValue",function(Dt){var pt=Dt.props.initialValue;if(pt!==void 0){var lr=Dt.getNamePath(),fr=(0,Br.Z)(rt.store,lr);fr===void 0&&rt.updateStore((0,ke.Z)(rt.store,lr,pt))}}),(0,_.Z)(this,"isMergedPreserve",function(Dt){var pt=Dt!==void 0?Dt:rt.preserve;return pt!=null?pt:!0}),(0,_.Z)(this,"registerField",function(Dt){rt.fieldEntities.push(Dt);var pt=Dt.getNamePath();if(rt.notifyWatch([pt]),Dt.props.initialValue!==void 0){var lr=rt.store;rt.resetWithFieldInitialValue({entities:[Dt],skipExist:!0}),rt.notifyObservers(lr,[Dt.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(fr,Ir){var Hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(rt.fieldEntities=rt.fieldEntities.filter(function(Ee){return Ee!==Dt}),!rt.isMergedPreserve(Ir)&&(!fr||Hr.length>1)){var Ze=fr?void 0:rt.getInitialValue(pt);if(pt.length&&rt.getFieldValue(pt)!==Ze&&rt.fieldEntities.every(function(Ee){return!cn(Ee.getNamePath(),pt)})){var et=rt.store;rt.updateStore((0,ke.Z)(et,pt,Ze,!0)),rt.notifyObservers(et,[pt],{type:"remove"}),rt.triggerDependenciesUpdate(et,pt)}}rt.notifyWatch([pt])}}),(0,_.Z)(this,"dispatch",function(Dt){switch(Dt.type){case"updateValue":{var pt=Dt.namePath,lr=Dt.value;rt.updateValue(pt,lr);break}case"validateField":{var fr=Dt.namePath,Ir=Dt.triggerName;rt.validateFields([fr],{triggerName:Ir});break}default:}}),(0,_.Z)(this,"notifyObservers",function(Dt,pt,lr){if(rt.subscribable){var fr=(0,s.Z)((0,s.Z)({},lr),{},{store:rt.getFieldsValue(!0)});rt.getFieldEntities().forEach(function(Ir){var Hr=Ir.onStoreChange;Hr(Dt,pt,fr)})}else rt.forceRootUpdate()}),(0,_.Z)(this,"triggerDependenciesUpdate",function(Dt,pt){var lr=rt.getDependencyChildrenFields(pt);return lr.length&&rt.validateFields(lr),rt.notifyObservers(Dt,lr,{type:"dependenciesUpdate",relatedFields:[pt].concat((0,h.Z)(lr))}),lr}),(0,_.Z)(this,"updateValue",function(Dt,pt){var lr=_r(Dt),fr=rt.store;rt.updateStore((0,ke.Z)(rt.store,lr,pt)),rt.notifyObservers(fr,[lr],{type:"valueUpdate",source:"internal"}),rt.notifyWatch([lr]);var Ir=rt.triggerDependenciesUpdate(fr,lr),Hr=rt.callbacks.onValuesChange;if(Hr){var Ze=Ur(rt.store,[lr]);Hr(Ze,rt.getFieldsValue())}rt.triggerOnFieldsChange([lr].concat((0,h.Z)(Ir)))}),(0,_.Z)(this,"setFieldsValue",function(Dt){rt.warningUnhooked();var pt=rt.store;if(Dt){var lr=(0,ke.T)(rt.store,Dt);rt.updateStore(lr)}rt.notifyObservers(pt,null,{type:"valueUpdate",source:"external"}),rt.notifyWatch()}),(0,_.Z)(this,"setFieldValue",function(Dt,pt){rt.setFields([{name:Dt,value:pt}])}),(0,_.Z)(this,"getDependencyChildrenFields",function(Dt){var pt=new Set,lr=[],fr=new jn;rt.getFieldEntities().forEach(function(Hr){var Ze=Hr.props.dependencies;(Ze||[]).forEach(function(et){var Ee=_r(et);fr.update(Ee,function(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return it.add(Hr),it})})});var Ir=function Hr(Ze){var et=fr.get(Ze)||new Set;et.forEach(function(Ee){if(!pt.has(Ee)){pt.add(Ee);var it=Ee.getNamePath();Ee.isFieldDirty()&&it.length&&(lr.push(it),Hr(it))}})};return Ir(Dt),lr}),(0,_.Z)(this,"triggerOnFieldsChange",function(Dt,pt){var lr=rt.callbacks.onFieldsChange;if(lr){var fr=rt.getFields();if(pt){var Ir=new jn;pt.forEach(function(Ze){var et=Ze.name,Ee=Ze.errors;Ir.set(et,Ee)}),fr.forEach(function(Ze){Ze.errors=Ir.get(Ze.name)||Ze.errors})}var Hr=fr.filter(function(Ze){var et=Ze.name;return sn(Dt,et)});Hr.length&&lr(Hr,fr)}}),(0,_.Z)(this,"validateFields",function(Dt,pt){var lr;rt.warningUnhooked();var fr,Ir;Array.isArray(Dt)||typeof Dt=="string"||typeof pt=="string"?(fr=Dt,Ir=pt):Ir=Dt;var Hr=!!fr,Ze=Hr?fr.map(_r):[],et=[],Ee=String(Date.now()),it=new Set,ir=(lr=Ir)===null||lr===void 0?void 0:lr.recursive;rt.getFieldEntities(!0).forEach(function($r){if(Hr||Ze.push($r.getNamePath()),!(!$r.props.rules||!$r.props.rules.length)){var bn=$r.getNamePath();if(it.add(bn.join(Ee)),!Hr||sn(Ze,bn,ir)){var Pr=$r.validateRules((0,s.Z)({validateMessages:(0,s.Z)((0,s.Z)({},Tt),rt.validateMessages)},Ir));et.push(Pr.then(function(){return{name:bn,errors:[],warnings:[]}}).catch(function(un){var rn,ln=[],An=[];return(rn=un.forEach)===null||rn===void 0||rn.call(un,function(pa){var Pi=pa.rule.warningOnly,gi=pa.errors;Pi?An.push.apply(An,(0,h.Z)(gi)):ln.push.apply(ln,(0,h.Z)(gi))}),ln.length?Promise.reject({name:bn,errors:ln,warnings:An}):{name:bn,errors:ln,warnings:An}}))}}});var Dr=tn(et);rt.lastValidatePromise=Dr,Dr.catch(function($r){return $r}).then(function($r){var bn=$r.map(function(Pr){var un=Pr.name;return un});rt.notifyObservers(rt.store,bn,{type:"validateFinish"}),rt.triggerOnFieldsChange(bn,$r)});var Er=Dr.then(function(){return rt.lastValidatePromise===Dr?Promise.resolve(rt.getFieldsValue(Ze)):Promise.reject([])}).catch(function($r){var bn=$r.filter(function(Pr){return Pr&&Pr.errors.length});return Promise.reject({values:rt.getFieldsValue(Ze),errorFields:bn,outOfDate:rt.lastValidatePromise!==Dr})});Er.catch(function($r){return $r});var Or=Ze.filter(function($r){return it.has($r.join(Ee))});return rt.triggerOnFieldsChange(Or),Er}),(0,_.Z)(this,"submit",function(){rt.warningUnhooked(),rt.validateFields().then(function(Dt){var pt=rt.callbacks.onFinish;if(pt)try{pt(Dt)}catch(lr){console.error(lr)}}).catch(function(Dt){var pt=rt.callbacks.onFinishFailed;pt&&pt(Dt)})}),this.forceRootUpdate=mt});function Si(tr){var mt=r.useRef(),rt=r.useState({}),Dt=(0,mr.Z)(rt,2),pt=Dt[1];if(!mt.current)if(tr)mt.current=tr;else{var lr=function(){pt({})},fr=new xi(lr);mt.current=fr.getForm()}return[mt.current]}var Ei=Si,mi=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Xi=function(mt){var rt=mt.validateMessages,Dt=mt.onFormChange,pt=mt.onFormFinish,lr=mt.children,fr=r.useContext(mi),Ir=r.useRef({});return r.createElement(mi.Provider,{value:(0,s.Z)((0,s.Z)({},fr),{},{validateMessages:(0,s.Z)((0,s.Z)({},fr.validateMessages),rt),triggerFormChange:function(Ze,et){Dt&&Dt(Ze,{changedFields:et,forms:Ir.current}),fr.triggerFormChange(Ze,et)},triggerFormFinish:function(Ze,et){pt&&pt(Ze,{values:et,forms:Ir.current}),fr.triggerFormFinish(Ze,et)},registerForm:function(Ze,et){Ze&&(Ir.current=(0,s.Z)((0,s.Z)({},Ir.current),{},(0,_.Z)({},Ze,et))),fr.registerForm(Ze,et)},unregisterForm:function(Ze){var et=(0,s.Z)({},Ir.current);delete et[Ze],Ir.current=et,fr.unregisterForm(Ze)}})},lr)},qn=mi,Yi=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],wt=function(mt,rt){var Dt=mt.name,pt=mt.initialValues,lr=mt.fields,fr=mt.form,Ir=mt.preserve,Hr=mt.children,Ze=mt.component,et=Ze===void 0?"form":Ze,Ee=mt.validateMessages,it=mt.validateTrigger,ir=it===void 0?"onChange":it,Dr=mt.onValuesChange,Er=mt.onFieldsChange,Or=mt.onFinish,$r=mt.onFinishFailed,bn=(0,l.Z)(mt,Yi),Pr=r.useContext(qn),un=Ei(fr),rn=(0,mr.Z)(un,1),ln=rn[0],An=ln.getInternalHooks(L),pa=An.useSubscribe,Pi=An.setInitialValues,gi=An.setCallbacks,pn=An.setValidateMessages,ui=An.setPreserve,Ni=An.destroyForm;r.useImperativeHandle(rt,function(){return ln}),r.useEffect(function(){return Pr.registerForm(Dt,ln),function(){Pr.unregisterForm(Dt)}},[Pr,ln,Dt]),pn((0,s.Z)((0,s.Z)({},Pr.validateMessages),Ee)),gi({onValuesChange:Dr,onFieldsChange:function(yi){if(Pr.triggerFormChange(Dt,yi),Er){for(var Ga=arguments.length,Ds=new Array(Ga>1?Ga-1:0),$i=1;$i<Ga;$i++)Ds[$i-1]=arguments[$i];Er.apply(void 0,[yi].concat(Ds))}},onFinish:function(yi){Pr.triggerFormFinish(Dt,yi),Or&&Or(yi)},onFinishFailed:$r}),ui(Ir);var la=r.useRef(null);Pi(pt,!la.current),la.current||(la.current=!0),r.useEffect(function(){return Ni},[]);var xs,Pa=typeof Hr=="function";if(Pa){var Na=ln.getFieldsValue(!0);xs=Hr(Na,ln)}else xs=Hr;pa(!Pa);var Is=r.useRef();r.useEffect(function(){or(Is.current||[],lr||[])||ln.setFields(lr||[]),Is.current=lr},[lr,ln]);var $a=r.useMemo(function(){return(0,s.Z)((0,s.Z)({},ln),{},{validateTrigger:ir})},[ln,ir]),hs=r.createElement(U.Provider,{value:null},r.createElement(B.Provider,{value:$a},xs));return et===!1?hs:r.createElement(et,(0,i.Z)({},bn,{onSubmit:function(yi){yi.preventDefault(),yi.stopPropagation(),ln.submit()},onReset:function(yi){var Ga;yi.preventDefault(),ln.resetFields(),(Ga=bn.onReset)===null||Ga===void 0||Ga.call(bn,yi)}}),hs)},ut=wt;function Jn(tr){try{return JSON.stringify(tr)}catch(mt){return Math.random()}}var Ai=function(){};function ei(){for(var tr=arguments.length,mt=new Array(tr),rt=0;rt<tr;rt++)mt[rt]=arguments[rt];var Dt=mt[0],pt=Dt===void 0?[]:Dt,lr=mt[1],fr=lr===void 0?{}:lr,Ir=V(fr)?{form:fr}:fr,Hr=Ir.form,Ze=(0,r.useState)(),et=(0,mr.Z)(Ze,2),Ee=et[0],it=et[1],ir=(0,r.useMemo)(function(){return Jn(Ee)},[Ee]),Dr=(0,r.useRef)(ir);Dr.current=ir;var Er=(0,r.useContext)(B),Or=Hr||Er,$r=Or&&Or._init,bn=_r(pt),Pr=(0,r.useRef)(bn);return Pr.current=bn,Ai(bn),(0,r.useEffect)(function(){if($r){var un=Or.getFieldsValue,rn=Or.getInternalHooks,ln=rn(L),An=ln.registerWatch,pa=An(function(gi,pn){var ui=(0,Br.Z)(Ir.preserve?pn:gi,Pr.current),Ni=Jn(ui);Dr.current!==Ni&&(Dr.current=Ni,it(ui))}),Pi=(0,Br.Z)(Ir.preserve?un(!0):un(),Pr.current);return Ee!==Pi&&it(Pi),pa}},[$r]),Ee}var Gi=ei,vi=r.forwardRef(ut),si=vi;si.FormProvider=Xi,si.Field=Mr,si.List=Zn,si.useForm=Ei,si.useWatch=Gi;var En=si},77900:function(d,g,e){"use strict";e.r(g),e.d(g,{CSSMotionList:function(){return We},Provider:function(){return _},default:function(){return fe}});var r=e(49618),i=e(77321),l=e(52487),c=e(62853),f=e(92310),s=e.n(f),h=e(76846),u=e(8654),a=e(59301),x=e(74416),p=["children"],y=a.createContext({});function _(_e){var Ot=_e.children,Pe=(0,x.Z)(_e,p);return a.createElement(y.Provider,{value:Pe},Ot)}var b=e(96949),S=e(55090),R=e(77205),L=e(38793),C=function(_e){(0,R.Z)(Pe,_e);var Ot=(0,L.Z)(Pe);function Pe(){return(0,b.Z)(this,Pe),Ot.apply(this,arguments)}return(0,S.Z)(Pe,[{key:"render",value:function(){return this.props.children}}]),Pe}(a.Component),D=C,B=e(70425),$=e(41799),U=e(6089);function K(_e){var Ot=a.useReducer(function(St){return St+1},0),Pe=(0,l.Z)(Ot,2),dt=Pe[1],Zt=a.useRef(_e),Tt=(0,U.Z)(function(){return Zt.current}),ke=(0,U.Z)(function(St){Zt.current=typeof St=="function"?St(Zt.current):St,dt()});return[Tt,ke]}var V="none",G="appear",oe="enter",ae="leave",le="none",q="prepare",J="start",Y="active",ue="end",ne="prepared",ee=e(47273);function ie(_e,Ot){var Pe={};return Pe[_e.toLowerCase()]=Ot.toLowerCase(),Pe["Webkit".concat(_e)]="webkit".concat(Ot),Pe["Moz".concat(_e)]="moz".concat(Ot),Pe["ms".concat(_e)]="MS".concat(Ot),Pe["O".concat(_e)]="o".concat(Ot.toLowerCase()),Pe}function F(_e,Ot){var Pe={animationend:ie("Animation","AnimationEnd"),transitionend:ie("Transition","TransitionEnd")};return _e&&("AnimationEvent"in Ot||delete Pe.animationend.animation,"TransitionEvent"in Ot||delete Pe.transitionend.transition),Pe}var M=F((0,ee.Z)(),typeof window!="undefined"?window:{}),Q={};if((0,ee.Z)()){var de=document.createElement("div");Q=de.style}var we={};function Ce(_e){if(we[_e])return we[_e];var Ot=M[_e];if(Ot)for(var Pe=Object.keys(Ot),dt=Pe.length,Zt=0;Zt<dt;Zt+=1){var Tt=Pe[Zt];if(Object.prototype.hasOwnProperty.call(Ot,Tt)&&Tt in Q)return we[_e]=Ot[Tt],we[_e]}return""}var je=Ce("animationend"),Fe=Ce("transitionend"),Ft=!!(je&&Fe),_t=je||"animationend",Pt=Fe||"transitionend";function qt(_e,Ot){if(!_e)return null;if((0,c.Z)(_e)==="object"){var Pe=Ot.replace(/-\w/g,function(dt){return dt[1].toUpperCase()});return _e[Pe]}return"".concat(_e,"-").concat(Ot)}var er=function(_e){var Ot=(0,a.useRef)();function Pe(Zt){Zt&&(Zt.removeEventListener(Pt,_e),Zt.removeEventListener(_t,_e))}function dt(Zt){Ot.current&&Ot.current!==Zt&&Pe(Ot.current),Zt&&Zt!==Ot.current&&(Zt.addEventListener(Pt,_e),Zt.addEventListener(_t,_e),Ot.current=Zt)}return a.useEffect(function(){return function(){Pe(Ot.current)}},[]),[dt,Pe]},Jt=(0,ee.Z)()?a.useLayoutEffect:a.useEffect,Xe=Jt,It=e(16089),zt=function(){var _e=a.useRef(null);function Ot(){It.Z.cancel(_e.current)}function Pe(dt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Ot();var Tt=(0,It.Z)(function(){Zt<=1?dt({isCanceled:function(){return Tt!==_e.current}}):Pe(dt,Zt-1)});_e.current=Tt}return a.useEffect(function(){return function(){Ot()}},[]),[Pe,Ot]},st=[q,J,Y,ue],bt=[q,ne],ht=!1,Je=!0;function Ue(_e){return _e===Y||_e===ue}var ge=function(_e,Ot,Pe){var dt=(0,$.Z)(le),Zt=(0,l.Z)(dt,2),Tt=Zt[0],ke=Zt[1],St=zt(),be=(0,l.Z)(St,2),Ke=be[0],gt=be[1];function Rt(){ke(q,!0)}var Be=Ot?bt:st;return Xe(function(){if(Tt!==le&&Tt!==ue){var kr=Be.indexOf(Tt),At=Be[kr+1],Kr=Pe(Tt);Kr===ht?ke(At,!0):At&&Ke(function(qr){function Ar(){qr.isCanceled()||ke(At,!0)}Kr===!0?Ar():Promise.resolve(Kr).then(Ar)})}},[_e,Tt]),a.useEffect(function(){return function(){gt()}},[]),[Rt,Tt]};function Ae(_e,Ot,Pe,dt){var Zt=dt.motionEnter,Tt=Zt===void 0?!0:Zt,ke=dt.motionAppear,St=ke===void 0?!0:ke,be=dt.motionLeave,Ke=be===void 0?!0:be,gt=dt.motionDeadline,Rt=dt.motionLeaveImmediately,Be=dt.onAppearPrepare,kr=dt.onEnterPrepare,At=dt.onLeavePrepare,Kr=dt.onAppearStart,qr=dt.onEnterStart,Ar=dt.onLeaveStart,Br=dt.onAppearActive,_r=dt.onEnterActive,Ur=dt.onLeaveActive,sn=dt.onAppearEnd,cn=dt.onEnterEnd,or=dt.onLeaveEnd,Lt=dt.onVisibleChanged,vt=(0,$.Z)(),yt=(0,l.Z)(vt,2),jt=yt[0],Cr=yt[1],gr=K(V),ot=(0,l.Z)(gr,2),Mr=ot[0],yn=ot[1],Zn=(0,$.Z)(null),mr=(0,l.Z)(Zn,2),tn=mr[0],hn=mr[1],Fn=Mr(),ti=(0,a.useRef)(!1),jn=(0,a.useRef)(null);function Zi(){return Pe()}var xi=(0,a.useRef)(!1);function Si(){yn(V),hn(null,!0)}var Ei=(0,B.useEvent)(function(tr){var mt=Mr();if(mt!==V){var rt=Zi();if(!(tr&&!tr.deadline&&tr.target!==rt)){var Dt=xi.current,pt;mt===G&&Dt?pt=sn==null?void 0:sn(rt,tr):mt===oe&&Dt?pt=cn==null?void 0:cn(rt,tr):mt===ae&&Dt&&(pt=or==null?void 0:or(rt,tr)),Dt&&pt!==!1&&Si()}}}),mi=er(Ei),Xi=(0,l.Z)(mi,1),qn=Xi[0],Yi=function(mt){switch(mt){case G:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Be),J,Kr),Y,Br);case oe:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,kr),J,qr),Y,_r);case ae:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,At),J,Ar),Y,Ur);default:return{}}},wt=a.useMemo(function(){return Yi(Fn)},[Fn]),ut=ge(Fn,!_e,function(tr){if(tr===q){var mt=wt[q];return mt?mt(Zi()):ht}if(ei in wt){var rt;hn(((rt=wt[ei])===null||rt===void 0?void 0:rt.call(wt,Zi(),null))||null)}return ei===Y&&Fn!==V&&(qn(Zi()),gt>0&&(clearTimeout(jn.current),jn.current=setTimeout(function(){Ei({deadline:!0})},gt))),ei===ne&&Si(),Je}),Jn=(0,l.Z)(ut,2),Ai=Jn[0],ei=Jn[1],Gi=Ue(ei);xi.current=Gi;var vi=(0,a.useRef)(null);Xe(function(){if(!(ti.current&&vi.current===Ot)){Cr(Ot);var tr=ti.current;ti.current=!0;var mt;!tr&&Ot&&St&&(mt=G),tr&&Ot&&Tt&&(mt=oe),(tr&&!Ot&&Ke||!tr&&Rt&&!Ot&&Ke)&&(mt=ae);var rt=Yi(mt);mt&&(_e||rt[q])?(yn(mt),Ai()):yn(V),vi.current=Ot}},[Ot]),(0,a.useEffect)(function(){(Fn===G&&!St||Fn===oe&&!Tt||Fn===ae&&!Ke)&&yn(V)},[St,Tt,Ke]),(0,a.useEffect)(function(){return function(){ti.current=!1,clearTimeout(jn.current)}},[]);var si=a.useRef(!1);(0,a.useEffect)(function(){jt&&(si.current=!0),jt!==void 0&&Fn===V&&((si.current||jt)&&(Lt==null||Lt(jt)),si.current=!0)},[jt,Fn]);var En=tn;return wt[q]&&ei===J&&(En=(0,i.Z)({transition:"none"},En)),[Fn,ei,En,jt!=null?jt:Ot]}function Me(_e){var Ot=_e;(0,c.Z)(_e)==="object"&&(Ot=_e.transitionSupport);function Pe(Zt,Tt){return!!(Zt.motionName&&Ot&&Tt!==!1)}var dt=a.forwardRef(function(Zt,Tt){var ke=Zt.visible,St=ke===void 0?!0:ke,be=Zt.removeOnLeave,Ke=be===void 0?!0:be,gt=Zt.forceRender,Rt=Zt.children,Be=Zt.motionName,kr=Zt.leavedClassName,At=Zt.eventProps,Kr=a.useContext(y),qr=Kr.motion,Ar=Pe(Zt,qr),Br=(0,a.useRef)(),_r=(0,a.useRef)();function Ur(){try{return Br.current instanceof HTMLElement?Br.current:(0,h.ZP)(_r.current)}catch(mr){return null}}var sn=Ae(Ar,St,Ur,Zt),cn=(0,l.Z)(sn,4),or=cn[0],Lt=cn[1],vt=cn[2],yt=cn[3],jt=a.useRef(yt);yt&&(jt.current=!0);var Cr=a.useCallback(function(mr){Br.current=mr,(0,u.mH)(Tt,mr)},[Tt]),gr,ot=(0,i.Z)((0,i.Z)({},At),{},{visible:St});if(!Rt)gr=null;else if(or===V)yt?gr=Rt((0,i.Z)({},ot),Cr):!Ke&&jt.current&&kr?gr=Rt((0,i.Z)((0,i.Z)({},ot),{},{className:kr}),Cr):gt||!Ke&&!kr?gr=Rt((0,i.Z)((0,i.Z)({},ot),{},{style:{display:"none"}}),Cr):gr=null;else{var Mr;Lt===q?Mr="prepare":Ue(Lt)?Mr="active":Lt===J&&(Mr="start");var yn=qt(Be,"".concat(or,"-").concat(Mr));gr=Rt((0,i.Z)((0,i.Z)({},ot),{},{className:s()(qt(Be,or),(0,r.Z)((0,r.Z)({},yn,yn&&Mr),Be,typeof Be=="string")),style:vt}),Cr)}if(a.isValidElement(gr)&&(0,u.Yr)(gr)){var Zn=(0,u.C4)(gr);Zn||(gr=a.cloneElement(gr,{ref:Cr}))}return a.createElement(D,{ref:_r},gr)});return dt.displayName="CSSMotion",dt}var $e=Me(Ft),He=e(72308),nt=e(80237),ct="add",Vt="keep",Wt="remove",De="removed";function qe(_e){var Ot;return _e&&(0,c.Z)(_e)==="object"&&"key"in _e?Ot=_e:Ot={key:_e},(0,i.Z)((0,i.Z)({},Ot),{},{key:String(Ot.key)})}function Gt(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return _e.map(qe)}function kt(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Pe=[],dt=0,Zt=Ot.length,Tt=Gt(_e),ke=Gt(Ot);Tt.forEach(function(Ke){for(var gt=!1,Rt=dt;Rt<Zt;Rt+=1){var Be=ke[Rt];if(Be.key===Ke.key){dt<Rt&&(Pe=Pe.concat(ke.slice(dt,Rt).map(function(kr){return(0,i.Z)((0,i.Z)({},kr),{},{status:ct})})),dt=Rt),Pe.push((0,i.Z)((0,i.Z)({},Be),{},{status:Vt})),dt+=1,gt=!0;break}}gt||Pe.push((0,i.Z)((0,i.Z)({},Ke),{},{status:Wt}))}),dt<Zt&&(Pe=Pe.concat(ke.slice(dt).map(function(Ke){return(0,i.Z)((0,i.Z)({},Ke),{},{status:ct})})));var St={};Pe.forEach(function(Ke){var gt=Ke.key;St[gt]=(St[gt]||0)+1});var be=Object.keys(St).filter(function(Ke){return St[Ke]>1});return be.forEach(function(Ke){Pe=Pe.filter(function(gt){var Rt=gt.key,Be=gt.status;return Rt!==Ke||Be!==Wt}),Pe.forEach(function(gt){gt.key===Ke&&(gt.status=Vt)})}),Pe}var Ht=["component","children","onVisibleChanged","onAllRemoved"],$t=["status"],Ct=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Yt(_e){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e,Pe=function(dt){(0,R.Z)(Tt,dt);var Zt=(0,L.Z)(Tt);function Tt(){var ke;(0,b.Z)(this,Tt);for(var St=arguments.length,be=new Array(St),Ke=0;Ke<St;Ke++)be[Ke]=arguments[Ke];return ke=Zt.call.apply(Zt,[this].concat(be)),(0,r.Z)((0,nt.Z)(ke),"state",{keyEntities:[]}),(0,r.Z)((0,nt.Z)(ke),"removeKey",function(gt){ke.setState(function(Rt){var Be=Rt.keyEntities.map(function(kr){return kr.key!==gt?kr:(0,i.Z)((0,i.Z)({},kr),{},{status:De})});return{keyEntities:Be}},function(){var Rt=ke.state.keyEntities,Be=Rt.filter(function(kr){var At=kr.status;return At!==De}).length;Be===0&&ke.props.onAllRemoved&&ke.props.onAllRemoved()})}),ke}return(0,S.Z)(Tt,[{key:"render",value:function(){var St=this,be=this.state.keyEntities,Ke=this.props,gt=Ke.component,Rt=Ke.children,Be=Ke.onVisibleChanged,kr=Ke.onAllRemoved,At=(0,x.Z)(Ke,Ht),Kr=gt||a.Fragment,qr={};return Ct.forEach(function(Ar){qr[Ar]=At[Ar],delete At[Ar]}),delete At.keys,a.createElement(Kr,At,be.map(function(Ar,Br){var _r=Ar.status,Ur=(0,x.Z)(Ar,$t),sn=_r===ct||_r===Vt;return a.createElement(Ot,(0,He.Z)({},qr,{key:Ur.key,visible:sn,eventProps:Ur,onVisibleChanged:function(or){Be==null||Be(or,{key:Ur.key}),or||St.removeKey(Ur.key)}}),function(cn,or){return Rt((0,i.Z)((0,i.Z)({},cn),{},{index:Br}),or)})}))}}],[{key:"getDerivedStateFromProps",value:function(St,be){var Ke=St.keys,gt=be.keyEntities,Rt=Gt(Ke),Be=kt(gt,Rt);return{keyEntities:Be.filter(function(kr){var At=gt.find(function(Kr){var qr=Kr.key;return kr.key===qr});return!(At&&At.status===De&&kr.status===Wt)})}}}]),Tt}(a.Component);return(0,r.Z)(Pe,"defaultProps",{component:"div"}),Pe}var We=Yt(Ft),fe=$e},581:function(d,g,e){"use strict";e.d(g,{qX:function(){return b},JB:function(){return L},lm:function(){return oe}});var r=e(80702),i=e(52487),l=e(74416),c=e(59301),f=e(77321),s=e(4676),h=e(72308),u=e(92310),a=e.n(u),x=e(77900),p=e(49618),y=e(10228),_=c.forwardRef(function(ae,le){var q=ae.prefixCls,J=ae.style,Y=ae.className,ue=ae.duration,ne=ue===void 0?4.5:ue,ee=ae.eventKey,ie=ae.content,F=ae.closable,M=ae.closeIcon,Q=M===void 0?"x":M,de=ae.props,we=ae.onClick,Ce=ae.onNoticeClose,je=ae.times,Fe=c.useState(!1),Ft=(0,i.Z)(Fe,2),_t=Ft[0],Pt=Ft[1],qt=function(){Ce(ee)},er=function(It){(It.key==="Enter"||It.code==="Enter"||It.keyCode===y.Z.ENTER)&&qt()};c.useEffect(function(){if(!_t&&ne>0){var Xe=setTimeout(function(){qt()},ne*1e3);return function(){clearTimeout(Xe)}}},[ne,_t,je]);var Jt="".concat(q,"-notice");return c.createElement("div",(0,h.Z)({},de,{ref:le,className:a()(Jt,Y,(0,p.Z)({},"".concat(Jt,"-closable"),F)),style:J,onMouseEnter:function(){Pt(!0)},onMouseLeave:function(){Pt(!1)},onClick:we}),c.createElement("div",{className:"".concat(Jt,"-content")},ie),F&&c.createElement("a",{tabIndex:0,className:"".concat(Jt,"-close"),onKeyDown:er,onClick:function(It){It.preventDefault(),It.stopPropagation(),qt()}},Q))}),b=_,S=c.createContext({}),R=function(le){var q=le.children,J=le.classNames;return c.createElement(S.Provider,{value:{classNames:J}},q)},L=R,C=function(le){var q=le.configList,J=le.placement,Y=le.prefixCls,ue=le.className,ne=le.style,ee=le.motion,ie=le.onAllNoticeRemoved,F=le.onNoticeClose,M=(0,c.useContext)(S),Q=M.classNames,de=q.map(function(Ce){return{config:Ce,key:Ce.key}}),we=typeof ee=="function"?ee(J):ee;return c.createElement(x.CSSMotionList,(0,h.Z)({key:J,className:a()(Y,"".concat(Y,"-").concat(J),Q==null?void 0:Q.list,ue),style:ne,keys:de,motionAppear:!0},we,{onAllRemoved:function(){ie(J)}}),function(Ce,je){var Fe=Ce.config,Ft=Ce.className,_t=Ce.style,Pt=Fe,qt=Pt.key,er=Pt.times,Jt=Fe,Xe=Jt.className,It=Jt.style;return c.createElement(b,(0,h.Z)({},Fe,{ref:je,prefixCls:Y,className:a()(Ft,Xe,Q==null?void 0:Q.notice),style:(0,f.Z)((0,f.Z)({},_t),It),times:er,key:qt,eventKey:qt,onNoticeClose:F}))})},D=C,B=c.forwardRef(function(ae,le){var q=ae.prefixCls,J=q===void 0?"rc-notification":q,Y=ae.container,ue=ae.motion,ne=ae.maxCount,ee=ae.className,ie=ae.style,F=ae.onAllRemoved,M=ae.renderNotifications,Q=c.useState([]),de=(0,i.Z)(Q,2),we=de[0],Ce=de[1],je=function(It){var zt,st=we.find(function(bt){return bt.key===It});st==null||(zt=st.onClose)===null||zt===void 0||zt.call(st),Ce(function(bt){return bt.filter(function(ht){return ht.key!==It})})};c.useImperativeHandle(le,function(){return{open:function(It){Ce(function(zt){var st=(0,r.Z)(zt),bt=st.findIndex(function(Ue){return Ue.key===It.key}),ht=(0,f.Z)({},It);if(bt>=0){var Je;ht.times=(((Je=zt[bt])===null||Je===void 0?void 0:Je.times)||0)+1,st[bt]=ht}else ht.times=0,st.push(ht);return ne>0&&st.length>ne&&(st=st.slice(-ne)),st})},close:function(It){je(It)},destroy:function(){Ce([])}}});var Fe=c.useState({}),Ft=(0,i.Z)(Fe,2),_t=Ft[0],Pt=Ft[1];c.useEffect(function(){var Xe={};we.forEach(function(It){var zt=It.placement,st=zt===void 0?"topRight":zt;st&&(Xe[st]=Xe[st]||[],Xe[st].push(It))}),Object.keys(_t).forEach(function(It){Xe[It]=Xe[It]||[]}),Pt(Xe)},[we]);var qt=function(It){Pt(function(zt){var st=(0,f.Z)({},zt),bt=st[It]||[];return bt.length||delete st[It],st})},er=c.useRef(!1);if(c.useEffect(function(){Object.keys(_t).length>0?er.current=!0:er.current&&(F==null||F(),er.current=!1)},[_t]),!Y)return null;var Jt=Object.keys(_t);return(0,s.createPortal)(c.createElement(c.Fragment,null,Jt.map(function(Xe){var It=_t[Xe],zt=c.createElement(D,{key:Xe,configList:It,placement:Xe,prefixCls:J,className:ee==null?void 0:ee(Xe),style:ie==null?void 0:ie(Xe),motion:ue,onNoticeClose:je,onAllNoticeRemoved:qt});return M?M(zt,{prefixCls:J,key:Xe}):zt})),Y)}),$=B,U=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],K=function(){return document.body},V=0;function G(){for(var ae={},le=arguments.length,q=new Array(le),J=0;J<le;J++)q[J]=arguments[J];return q.forEach(function(Y){Y&&Object.keys(Y).forEach(function(ue){var ne=Y[ue];ne!==void 0&&(ae[ue]=ne)})}),ae}function oe(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},le=ae.getContainer,q=le===void 0?K:le,J=ae.motion,Y=ae.prefixCls,ue=ae.maxCount,ne=ae.className,ee=ae.style,ie=ae.onAllRemoved,F=ae.renderNotifications,M=(0,l.Z)(ae,U),Q=c.useState(),de=(0,i.Z)(Q,2),we=de[0],Ce=de[1],je=c.useRef(),Fe=c.createElement($,{container:we,ref:je,prefixCls:Y,motion:J,maxCount:ue,className:ne,style:ee,onAllRemoved:ie,renderNotifications:F}),Ft=c.useState([]),_t=(0,i.Z)(Ft,2),Pt=_t[0],qt=_t[1],er=c.useMemo(function(){return{open:function(Xe){var It=G(M,Xe);(It.key===null||It.key===void 0)&&(It.key="rc-notification-".concat(V),V+=1),qt(function(zt){return[].concat((0,r.Z)(zt),[{type:"open",config:It}])})},close:function(Xe){qt(function(It){return[].concat((0,r.Z)(It),[{type:"close",key:Xe}])})},destroy:function(){qt(function(Xe){return[].concat((0,r.Z)(Xe),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){Ce(q())}),c.useEffect(function(){je.current&&Pt.length&&(Pt.forEach(function(Jt){switch(Jt.type){case"open":je.current.open(Jt.config);break;case"close":je.current.close(Jt.key);break;case"destroy":je.current.destroy();break}}),qt(function(Jt){return Jt.filter(function(Xe){return!Pt.includes(Xe)})}))},[Pt]),[er,Fe]}},22075:function(d,g){"use strict";g.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},91735:function(d,g){"use strict";g.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},29301:function(d,g,e){"use strict";e.d(g,{Z:function(){return J}});var r=e(72308),i=e(59301),l=e(11592),c=e(48736),f=e(77321),s=e(62853),h=e(76846),u=e(8654),a=i.createContext(null);function x(Y){var ue=Y.children,ne=Y.onBatchResize,ee=i.useRef(0),ie=i.useRef([]),F=i.useContext(a),M=i.useCallback(function(Q,de,we){ee.current+=1;var Ce=ee.current;ie.current.push({size:Q,element:de,data:we}),Promise.resolve().then(function(){Ce===ee.current&&(ne==null||ne(ie.current),ie.current=[])}),F==null||F(Q,de,we)},[ne,F]);return i.createElement(a.Provider,{value:M},ue)}var p=e(76374),y=new Map;function _(Y){Y.forEach(function(ue){var ne,ee=ue.target;(ne=y.get(ee))===null||ne===void 0||ne.forEach(function(ie){return ie(ee)})})}var b=new p.Z(_),S=null,R=null;function L(Y,ue){y.has(Y)||(y.set(Y,new Set),b.observe(Y)),y.get(Y).add(ue)}function C(Y,ue){y.has(Y)&&(y.get(Y).delete(ue),y.get(Y).size||(b.unobserve(Y),y.delete(Y)))}var D=e(96949),B=e(55090),$=e(77205),U=e(38793),K=function(Y){(0,$.Z)(ne,Y);var ue=(0,U.Z)(ne);function ne(){return(0,D.Z)(this,ne),ue.apply(this,arguments)}return(0,B.Z)(ne,[{key:"render",value:function(){return this.props.children}}]),ne}(i.Component);function V(Y,ue){var ne=Y.children,ee=Y.disabled,ie=i.useRef(null),F=i.useRef(null),M=i.useContext(a),Q=typeof ne=="function",de=Q?ne(ie):ne,we=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Ce=!Q&&i.isValidElement(de)&&(0,u.Yr)(de),je=Ce?(0,u.C4)(de):null,Fe=(0,u.x1)(je,ie),Ft=function(){var er;return(0,h.ZP)(ie.current)||(ie.current&&(0,s.Z)(ie.current)==="object"?(0,h.ZP)((er=ie.current)===null||er===void 0?void 0:er.nativeElement):null)||(0,h.ZP)(F.current)};i.useImperativeHandle(ue,function(){return Ft()});var _t=i.useRef(Y);_t.current=Y;var Pt=i.useCallback(function(qt){var er=_t.current,Jt=er.onResize,Xe=er.data,It=qt.getBoundingClientRect(),zt=It.width,st=It.height,bt=qt.offsetWidth,ht=qt.offsetHeight,Je=Math.floor(zt),Ue=Math.floor(st);if(we.current.width!==Je||we.current.height!==Ue||we.current.offsetWidth!==bt||we.current.offsetHeight!==ht){var ge={width:Je,height:Ue,offsetWidth:bt,offsetHeight:ht};we.current=ge;var Ae=bt===Math.round(zt)?zt:bt,Me=ht===Math.round(st)?st:ht,$e=(0,f.Z)((0,f.Z)({},ge),{},{offsetWidth:Ae,offsetHeight:Me});M==null||M($e,qt,Xe),Jt&&Promise.resolve().then(function(){Jt($e,qt)})}},[]);return i.useEffect(function(){var qt=Ft();return qt&&!ee&&L(qt,Pt),function(){return C(qt,Pt)}},[ie.current,ee]),i.createElement(K,{ref:F},Ce?i.cloneElement(de,{ref:Fe}):de)}var G=i.forwardRef(V),oe=G,ae="rc-observer-key";function le(Y,ue){var ne=Y.children,ee=typeof ne=="function"?[ne]:(0,l.Z)(ne);return ee.map(function(ie,F){var M=(ie==null?void 0:ie.key)||"".concat(ae,"-").concat(F);return i.createElement(oe,(0,r.Z)({},Y,{key:M,ref:F===0?ue:void 0}),ie)})}var q=i.forwardRef(le);q.Collection=x;var J=q},55477:function(d,g,e){"use strict";e.d(g,{G:function(){return _},Z:function(){return L}});var r=e(72308),i=e(77321),l=e(74416),c=e(35593),f=e(59301),s={shiftX:64,adjustY:1},h={adjustX:1,shiftY:!0},u=[0,0],a={left:{points:["cr","cl"],overflow:h,offset:[-4,0],targetOffset:u},right:{points:["cl","cr"],overflow:h,offset:[4,0],targetOffset:u},top:{points:["bc","tc"],overflow:s,offset:[0,-4],targetOffset:u},bottom:{points:["tc","bc"],overflow:s,offset:[0,4],targetOffset:u},topLeft:{points:["bl","tl"],overflow:s,offset:[0,-4],targetOffset:u},leftTop:{points:["tr","tl"],overflow:h,offset:[-4,0],targetOffset:u},topRight:{points:["br","tr"],overflow:s,offset:[0,-4],targetOffset:u},rightTop:{points:["tl","tr"],overflow:h,offset:[4,0],targetOffset:u},bottomRight:{points:["tr","br"],overflow:s,offset:[0,4],targetOffset:u},rightBottom:{points:["bl","br"],overflow:h,offset:[4,0],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:s,offset:[0,4],targetOffset:u},leftBottom:{points:["br","bl"],overflow:h,offset:[-4,0],targetOffset:u}},x=null,p=e(92310),y=e.n(p);function _(C){var D=C.children,B=C.prefixCls,$=C.id,U=C.overlayInnerStyle,K=C.className,V=C.style;return f.createElement("div",{className:y()("".concat(B,"-content"),K),style:V},f.createElement("div",{className:"".concat(B,"-inner"),id:$,role:"tooltip",style:U},typeof D=="function"?D():D))}var b=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],S=function(D,B){var $=D.overlayClassName,U=D.trigger,K=U===void 0?["hover"]:U,V=D.mouseEnterDelay,G=V===void 0?0:V,oe=D.mouseLeaveDelay,ae=oe===void 0?.1:oe,le=D.overlayStyle,q=D.prefixCls,J=q===void 0?"rc-tooltip":q,Y=D.children,ue=D.onVisibleChange,ne=D.afterVisibleChange,ee=D.transitionName,ie=D.animation,F=D.motion,M=D.placement,Q=M===void 0?"right":M,de=D.align,we=de===void 0?{}:de,Ce=D.destroyTooltipOnHide,je=Ce===void 0?!1:Ce,Fe=D.defaultVisible,Ft=D.getTooltipContainer,_t=D.overlayInnerStyle,Pt=D.arrowContent,qt=D.overlay,er=D.id,Jt=D.showArrow,Xe=Jt===void 0?!0:Jt,It=(0,l.Z)(D,b),zt=(0,f.useRef)(null);(0,f.useImperativeHandle)(B,function(){return zt.current});var st=(0,i.Z)({},It);"visible"in D&&(st.popupVisible=D.visible);var bt=function(){return f.createElement(_,{key:"content",prefixCls:J,id:er,overlayInnerStyle:_t},qt)};return f.createElement(c.Z,(0,r.Z)({popupClassName:$,prefixCls:J,popup:bt,action:K,builtinPlacements:a,popupPlacement:Q,ref:zt,popupAlign:we,getPopupContainer:Ft,onPopupVisibleChange:ue,afterPopupVisibleChange:ne,popupTransitionName:ee,popupAnimation:ie,popupMotion:F,defaultPopupVisible:Fe,autoDestroy:je,mouseLeaveDelay:ae,popupStyle:le,mouseEnterDelay:G,arrow:Xe},st),Y)},R=(0,f.forwardRef)(S),L=R},11592:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(34678),i=e(59301);function l(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=[];return i.Children.forEach(c,function(h){h==null&&!f.keepEmpty||(Array.isArray(h)?s=s.concat(l(h)):(0,r.Z)(h)&&h.props?s=s.concat(l(h.props.children,f)):s.push(h))}),s}},47273:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},48519:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){if(!i)return!1;if(i.contains)return i.contains(l);for(var c=l;c;){if(c===i)return!0;c=c.parentNode}return!1}},810:function(d,g,e){"use strict";e.d(g,{hq:function(){return L},jL:function(){return b}});var r=e(77321),i=e(47273),l=e(48519),c="data-rc-order",f="data-rc-priority",s="rc-util-key",h=new Map;function u(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=C.mark;return D?D.startsWith("data-")?D:"data-".concat(D):s}function a(C){if(C.attachTo)return C.attachTo;var D=document.querySelector("head");return D||document.body}function x(C){return C==="queue"?"prependQueue":C?"prepend":"append"}function p(C){return Array.from((h.get(C)||C).children).filter(function(D){return D.tagName==="STYLE"})}function y(C){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,i.Z)())return null;var B=D.csp,$=D.prepend,U=D.priority,K=U===void 0?0:U,V=x($),G=V==="prependQueue",oe=document.createElement("style");oe.setAttribute(c,V),G&&K&&oe.setAttribute(f,"".concat(K)),B!=null&&B.nonce&&(oe.nonce=B==null?void 0:B.nonce),oe.innerHTML=C;var ae=a(D),le=ae.firstChild;if($){if(G){var q=(D.styles||p(ae)).filter(function(J){if(!["prepend","prependQueue"].includes(J.getAttribute(c)))return!1;var Y=Number(J.getAttribute(f)||0);return K>=Y});if(q.length)return ae.insertBefore(oe,q[q.length-1].nextSibling),oe}ae.insertBefore(oe,le)}else ae.appendChild(oe);return oe}function _(C){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=a(D);return(D.styles||p(B)).find(function($){return $.getAttribute(u(D))===C})}function b(C){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=_(C,D);if(B){var $=a(D);$.removeChild(B)}}function S(C,D){var B=h.get(C);if(!B||!(0,l.Z)(document,B)){var $=y("",D),U=$.parentNode;h.set(C,U),C.removeChild($)}}function R(){h.clear()}function L(C,D){var B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},$=a(B),U=p($),K=(0,r.Z)((0,r.Z)({},B),{},{styles:U});S($,K);var V=_(D,K);if(V){var G,oe;if((G=K.csp)!==null&&G!==void 0&&G.nonce&&V.nonce!==((oe=K.csp)===null||oe===void 0?void 0:oe.nonce)){var ae;V.nonce=(ae=K.csp)===null||ae===void 0?void 0:ae.nonce}return V.innerHTML!==C&&(V.innerHTML=C),V}var le=y(C,K);return le.setAttribute(u(K),D),le}},76846:function(d,g,e){"use strict";e.d(g,{Sh:function(){return c},ZP:function(){return s}});var r=e(62853),i=e(59301),l=e(4676);function c(h){return h instanceof HTMLElement||h instanceof SVGElement}function f(h){return h&&(0,r.Z)(h)==="object"&&c(h.nativeElement)?h.nativeElement:c(h)?h:null}function s(h){var u=f(h);if(u)return u;if(h instanceof i.Component){var a;return(a=l.findDOMNode)===null||a===void 0?void 0:a.call(l,h)}return null}},29194:function(d,g){"use strict";g.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var r=e.getBBox(),i=r.width,l=r.height;if(i||l)return!0}if(e.getBoundingClientRect){var c=e.getBoundingClientRect(),f=c.width,s=c.height;if(f||s)return!0}}return!1}},96452:function(d,g,e){"use strict";e.d(g,{A:function(){return l}});function r(c){var f;return c==null||(f=c.getRootNode)===null||f===void 0?void 0:f.call(c)}function i(c){return r(c)instanceof ShadowRoot}function l(c){return i(c)?r(c):null}},10228:function(d,g){"use strict";var e={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(i){var l=i.keyCode;if(i.altKey&&!i.ctrlKey||i.metaKey||l>=e.F1&&l<=e.F12)return!1;switch(l){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(i){if(i>=e.ZERO&&i<=e.NINE||i>=e.NUM_ZERO&&i<=e.NUM_MULTIPLY||i>=e.A&&i<=e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&i===0)return!0;switch(i){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};g.Z=e},34678:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r=e(62853),i=Symbol.for("react.element"),l=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function f(s){return s&&(0,r.Z)(s)==="object"&&(s.$$typeof===i||s.$$typeof===l)&&s.type===c}},1585:function(d,g,e){"use strict";var r;e.d(g,{s:function(){return C},v:function(){return K}});var i=e(65736),l=e(72633),c=e(62853),f=e(77321),s=e(4676),h=(0,f.Z)({},r||(r=e.t(s,2))),u=h.version,a=h.render,x=h.unmountComponentAtNode,p;try{var y=Number((u||"").split(".")[0]);y>=18&&(p=h.createRoot)}catch(G){}function _(G){var oe=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;oe&&(0,c.Z)(oe)==="object"&&(oe.usingClientEntryPoint=G)}var b="__rc_react_root__";function S(G,oe){_(!0);var ae=oe[b]||p(oe);_(!1),ae.render(G),oe[b]=ae}function R(G,oe){a==null||a(G,oe)}function L(G,oe){}function C(G,oe){if(p){S(G,oe);return}R(G,oe)}function D(G){return B.apply(this,arguments)}function B(){return B=(0,l.Z)((0,i.Z)().mark(function G(oe){return(0,i.Z)().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.abrupt("return",Promise.resolve().then(function(){var q;(q=oe[b])===null||q===void 0||q.unmount(),delete oe[b]}));case 1:case"end":return le.stop()}},G)})),B.apply(this,arguments)}function $(G){x(G)}function U(G){}function K(G){return V.apply(this,arguments)}function V(){return V=(0,l.Z)((0,i.Z)().mark(function G(oe){return(0,i.Z)().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:if(p===void 0){le.next=2;break}return le.abrupt("return",D(oe));case 2:$(oe);case 3:case"end":return le.stop()}},G)})),V.apply(this,arguments)}},75152:function(d,g,e){"use strict";e.d(g,{Z:function(){return c},o:function(){return f}});var r=e(810),i;function l(s){var h="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),u=document.createElement("div");u.id=h;var a=u.style;a.position="absolute",a.left="0",a.top="0",a.width="100px",a.height="100px",a.overflow="scroll";var x,p;if(s){var y=getComputedStyle(s);a.scrollbarColor=y.scrollbarColor,a.scrollbarWidth=y.scrollbarWidth;var _=getComputedStyle(s,"::-webkit-scrollbar"),b=parseInt(_.width,10),S=parseInt(_.height,10);try{var R=b?"width: ".concat(_.width,";"):"",L=S?"height: ".concat(_.height,";"):"";(0,r.hq)(`
#`.concat(h,`::-webkit-scrollbar {
`).concat(R,`
`).concat(L,`
}`),h)}catch(B){console.error(B),x=b,p=S}}document.body.appendChild(u);var C=s&&x&&!isNaN(x)?x:u.offsetWidth-u.clientWidth,D=s&&p&&!isNaN(p)?p:u.offsetHeight-u.clientHeight;return document.body.removeChild(u),(0,r.jL)(h),{width:C,height:D}}function c(s){return typeof document=="undefined"?0:((s||i===void 0)&&(i=l()),i.width)}function f(s){return typeof document=="undefined"||!s||!(s instanceof Element)?{width:0,height:0}:l(s)}},6089:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(59301);function i(l){var c=r.useRef();c.current=l;var f=r.useCallback(function(){for(var s,h=arguments.length,u=new Array(h),a=0;a<h;a++)u[a]=arguments[a];return(s=c.current)===null||s===void 0?void 0:s.call.apply(s,[c].concat(u))},[]);return f}},80402:function(d,g,e){"use strict";var r,i=e(52487),l=e(77321),c=e(59301);function f(){var a=(0,l.Z)({},r||(r=e.t(c,2)));return a.useId}var s=0;function h(){}var u=f();g.Z=u?function(x){var p=u();return x||p}:function(x){var p=c.useState("ssr-id"),y=(0,i.Z)(p,2),_=y[0],b=y[1];return c.useEffect(function(){var S=s;s+=1,b("rc_unique_".concat(S))},[]),x||_}},34280:function(d,g,e){"use strict";e.d(g,{o:function(){return f}});var r=e(59301),i=e(47273),l=(0,i.Z)()?r.useLayoutEffect:r.useEffect,c=function(h,u){var a=r.useRef(!0);l(function(){return h(a.current)},u),l(function(){return a.current=!1,function(){a.current=!0}},[])},f=function(h,u){c(function(a){if(!a)return h()},u)};g.Z=c},80547:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(59301);function i(l,c,f){var s=r.useRef({});return(!("value"in s.current)||f(s.current.condition,c))&&(s.current.value=l(),s.current.condition=c),s.current.value}},18929:function(d,g,e){"use strict";e.d(g,{Z:function(){return s}});var r=e(52487),i=e(6089),l=e(34280),c=e(41799);function f(h){return h!==void 0}function s(h,u){var a=u||{},x=a.defaultValue,p=a.value,y=a.onChange,_=a.postState,b=(0,c.Z)(function(){return f(p)?p:f(x)?typeof x=="function"?x():x:typeof h=="function"?h():h}),S=(0,r.Z)(b,2),R=S[0],L=S[1],C=p!==void 0?p:R,D=_?_(C):C,B=(0,i.Z)(y),$=(0,c.Z)([C]),U=(0,r.Z)($,2),K=U[0],V=U[1];(0,l.o)(function(){var oe=K[0];R!==oe&&B(R,oe)},[K]),(0,l.o)(function(){f(p)||L(p)},[p]);var G=(0,i.Z)(function(oe,ae){L(oe,ae),V([C],ae)});return[D,G]}},41799:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(52487),i=e(59301);function l(c){var f=i.useRef(!1),s=i.useState(c),h=(0,r.Z)(s,2),u=h[0],a=h[1];i.useEffect(function(){return f.current=!1,function(){f.current=!0}},[]);function x(p,y){y&&f.current||a(p)}return[u,x]}},70425:function(d,g,e){"use strict";e.r(g),e.d(g,{get:function(){return c.Z},set:function(){return f.Z},supportNodeRef:function(){return l.t4},supportRef:function(){return l.Yr},useComposeRef:function(){return l.x1},useEvent:function(){return r.Z},useMergedState:function(){return i.Z},warning:function(){return s.ZP}});var r=e(6089),i=e(18929),l=e(8654),c=e(97938),f=e(24434),s=e(48736)},13697:function(d,g,e){"use strict";var r=e(62853),i=e(48736);function l(c,f){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,h=new Set;function u(a,x){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,y=h.has(a);if((0,i.ZP)(!y,"Warning: There may be circular references"),y)return!1;if(a===x)return!0;if(s&&p>1)return!1;h.add(a);var _=p+1;if(Array.isArray(a)){if(!Array.isArray(x)||a.length!==x.length)return!1;for(var b=0;b<a.length;b++)if(!u(a[b],x[b],_))return!1;return!0}if(a&&x&&(0,r.Z)(a)==="object"&&(0,r.Z)(x)==="object"){var S=Object.keys(a);return S.length!==Object.keys(x).length?!1:S.every(function(R){return u(a[R],x[R],_)})}return!1}return u(c,f)}g.Z=l},49658:function(d,g){"use strict";g.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))}},2738:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){var c=Object.assign({},i);return Array.isArray(l)&&l.forEach(function(f){delete c[f]}),c}},26112:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(77321),i=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,l=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,c="".concat(i," ").concat(l).split(/[\s\n]+/),f="aria-",s="data-";function h(a,x){return a.indexOf(x)===0}function u(a){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,p;x===!1?p={aria:!0,data:!0,attr:!0}:x===!0?p={aria:!0}:p=(0,r.Z)({},x);var y={};return Object.keys(a).forEach(function(_){(p.aria&&(_==="role"||h(_,f))||p.data&&h(_,s)||p.attr&&c.includes(_))&&(y[_]=a[_])}),y}},16089:function(d,g){"use strict";var e=function(h){return+setTimeout(h,16)},r=function(h){return clearTimeout(h)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(e=function(h){return window.requestAnimationFrame(h)},r=function(h){return window.cancelAnimationFrame(h)});var i=0,l=new Map;function c(s){l.delete(s)}var f=function(h){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;i+=1;var a=i;function x(p){if(p===0)c(a),h();else{var y=e(function(){x(p-1)});l.set(a,y)}}return x(u),a};f.cancel=function(s){var h=l.get(s);return c(s),r(h)},g.Z=f},8654:function(d,g,e){"use strict";e.d(g,{C4:function(){return _},Yr:function(){return x},mH:function(){return h},sQ:function(){return u},t4:function(){return y},x1:function(){return a}});var r=e(62853),i=e(59301),l=e(23265),c=e(80547),f=e(34678),s=Number(i.version.split(".")[0]),h=function(S,R){typeof S=="function"?S(R):(0,r.Z)(S)==="object"&&S&&"current"in S&&(S.current=R)},u=function(){for(var S=arguments.length,R=new Array(S),L=0;L<S;L++)R[L]=arguments[L];var C=R.filter(Boolean);return C.length<=1?C[0]:function(D){R.forEach(function(B){h(B,D)})}},a=function(){for(var S=arguments.length,R=new Array(S),L=0;L<S;L++)R[L]=arguments[L];return(0,c.Z)(function(){return u.apply(void 0,R)},R,function(C,D){return C.length!==D.length||C.every(function(B,$){return B!==D[$]})})},x=function(S){var R,L;if(!S)return!1;if(p(S)&&s>=19)return!0;var C=(0,l.isMemo)(S)?S.type.type:S.type;return!(typeof C=="function"&&!((R=C.prototype)!==null&&R!==void 0&&R.render)&&C.$$typeof!==l.ForwardRef||typeof S=="function"&&!((L=S.prototype)!==null&&L!==void 0&&L.render)&&S.$$typeof!==l.ForwardRef)};function p(b){return(0,i.isValidElement)(b)&&!(0,f.Z)(b)}var y=function(S){return p(S)&&x(S)},_=function(S){if(S&&p(S)){var R=S;return R.props.propertyIsEnumerable("ref")?R.props.ref:R.ref}return null}},97938:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){for(var c=i,f=0;f<l.length;f+=1){if(c==null)return;c=c[l[f]]}return c}},24434:function(d,g,e){"use strict";e.d(g,{T:function(){return p},Z:function(){return h}});var r=e(62853),i=e(77321),l=e(80702),c=e(68413),f=e(97938);function s(y,_,b,S){if(!_.length)return b;var R=(0,c.Z)(_),L=R[0],C=R.slice(1),D;return!y&&typeof L=="number"?D=[]:Array.isArray(y)?D=(0,l.Z)(y):D=(0,i.Z)({},y),S&&b===void 0&&C.length===1?delete D[L][C[0]]:D[L]=s(D[L],C,b,S),D}function h(y,_,b){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return _.length&&S&&b===void 0&&!(0,f.Z)(y,_.slice(0,-1))?y:s(y,_,b,S)}function u(y){return(0,r.Z)(y)==="object"&&y!==null&&Object.getPrototypeOf(y)===Object.prototype}function a(y){return Array.isArray(y)?[]:{}}var x=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function p(){for(var y=arguments.length,_=new Array(y),b=0;b<y;b++)_[b]=arguments[b];var S=a(_[0]);return _.forEach(function(R){function L(C,D){var B=new Set(D),$=(0,f.Z)(R,C),U=Array.isArray($);if(U||u($)){if(!B.has($)){B.add($);var K=(0,f.Z)(S,C);U?S=h(S,C,[]):(!K||(0,r.Z)(K)!=="object")&&(S=h(S,C,a($))),x($).forEach(function(V){L([].concat((0,l.Z)(C),[V]),B)})}}else S=h(S,C,$)}L([])}),S}},48736:function(d,g,e){"use strict";e.d(g,{ET:function(){return a},Kp:function(){return c}});var r={},i=[],l=function(p){i.push(p)};function c(x,p){if(0)var y}function f(x,p){if(0)var y}function s(){r={}}function h(x,p,y){!p&&!r[y]&&(x(!1,y),r[y]=!0)}function u(x,p){h(c,x,p)}function a(x,p){h(f,x,p)}u.preMessage=l,u.resetWarned=s,u.noteOnce=a,g.ZP=u},83145:function(d,g,e){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.CopyToClipboard=void 0;var r=l(e(59301)),i=l(e(25769));function l(D){return D&&D.__esModule?D:{default:D}}function c(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function($){return typeof $}:c=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},c(D)}function f(D,B){var $=Object.keys(D);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(D);B&&(U=U.filter(function(K){return Object.getOwnPropertyDescriptor(D,K).enumerable})),$.push.apply($,U)}return $}function s(D){for(var B=1;B<arguments.length;B++){var $=arguments[B]!=null?arguments[B]:{};B%2?f($,!0).forEach(function(U){L(D,U,$[U])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors($)):f($).forEach(function(U){Object.defineProperty(D,U,Object.getOwnPropertyDescriptor($,U))})}return D}function h(D,B){if(D==null)return{};var $=u(D,B),U,K;if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(D);for(K=0;K<V.length;K++)U=V[K],!(B.indexOf(U)>=0)&&Object.prototype.propertyIsEnumerable.call(D,U)&&($[U]=D[U])}return $}function u(D,B){if(D==null)return{};var $={},U=Object.keys(D),K,V;for(V=0;V<U.length;V++)K=U[V],!(B.indexOf(K)>=0)&&($[K]=D[K]);return $}function a(D,B){if(!(D instanceof B))throw new TypeError("Cannot call a class as a function")}function x(D,B){for(var $=0;$<B.length;$++){var U=B[$];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(D,U.key,U)}}function p(D,B,$){return B&&x(D.prototype,B),$&&x(D,$),D}function y(D,B){return B&&(c(B)==="object"||typeof B=="function")?B:b(D)}function _(D){return _=Object.setPrototypeOf?Object.getPrototypeOf:function($){return $.__proto__||Object.getPrototypeOf($)},_(D)}function b(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function S(D,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(B&&B.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),B&&R(D,B)}function R(D,B){return R=Object.setPrototypeOf||function(U,K){return U.__proto__=K,U},R(D,B)}function L(D,B,$){return B in D?Object.defineProperty(D,B,{value:$,enumerable:!0,configurable:!0,writable:!0}):D[B]=$,D}var C=function(D){S(B,D);function B(){var $,U;a(this,B);for(var K=arguments.length,V=new Array(K),G=0;G<K;G++)V[G]=arguments[G];return U=y(this,($=_(B)).call.apply($,[this].concat(V))),L(b(U),"onClick",function(oe){var ae=U.props,le=ae.text,q=ae.onCopy,J=ae.children,Y=ae.options,ue=r.default.Children.only(J),ne=(0,i.default)(le,Y);q&&q(le,ne),ue&&ue.props&&typeof ue.props.onClick=="function"&&ue.props.onClick(oe)}),U}return p(B,[{key:"render",value:function(){var U=this.props,K=U.text,V=U.onCopy,G=U.options,oe=U.children,ae=h(U,["text","onCopy","options","children"]),le=r.default.Children.only(oe);return r.default.cloneElement(le,s({},ae,{onClick:this.onClick}))}}]),B}(r.default.PureComponent);g.CopyToClipboard=C,L(C,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(d,g,e){"use strict";var r=e(83145),i=r.CopyToClipboard;i.CopyToClipboard=i,d.exports=i},23675:function(d,g,e){"use strict";var r=e(59301),i=e(84126),l=e(43014);function c(v){for(var A="https://reactjs.org/docs/error-decoder.html?invariant="+v,Z=1;Z<arguments.length;Z++)A+="&args[]="+encodeURIComponent(arguments[Z]);return"Minified React error #"+v+"; visit "+A+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(c(227));var f=new Set,s={};function h(v,A){u(v,A),u(v+"Capture",A)}function u(v,A){for(s[v]=A,v=0;v<A.length;v++)f.add(A[v])}var a=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),x=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,y={},_={};function b(v){return p.call(_,v)?!0:p.call(y,v)?!1:x.test(v)?_[v]=!0:(y[v]=!0,!1)}function S(v,A,Z,ve){if(Z!==null&&Z.type===0)return!1;switch(typeof A){case"function":case"symbol":return!0;case"boolean":return ve?!1:Z!==null?!Z.acceptsBooleans:(v=v.toLowerCase().slice(0,5),v!=="data-"&&v!=="aria-");default:return!1}}function R(v,A,Z,ve){if(A===null||typeof A=="undefined"||S(v,A,Z,ve))return!0;if(ve)return!1;if(Z!==null)switch(Z.type){case 3:return!A;case 4:return A===!1;case 5:return isNaN(A);case 6:return isNaN(A)||1>A}return!1}function L(v,A,Z,ve,Le,lt,Ut){this.acceptsBooleans=A===2||A===3||A===4,this.attributeName=ve,this.attributeNamespace=Le,this.mustUseProperty=Z,this.propertyName=v,this.type=A,this.sanitizeURL=lt,this.removeEmptyString=Ut}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(v){C[v]=new L(v,0,!1,v,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(v){var A=v[0];C[A]=new L(A,1,!1,v[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(v){C[v]=new L(v,2,!1,v.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(v){C[v]=new L(v,2,!1,v,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(v){C[v]=new L(v,3,!1,v.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(v){C[v]=new L(v,3,!0,v,null,!1,!1)}),["capture","download"].forEach(function(v){C[v]=new L(v,4,!1,v,null,!1,!1)}),["cols","rows","size","span"].forEach(function(v){C[v]=new L(v,6,!1,v,null,!1,!1)}),["rowSpan","start"].forEach(function(v){C[v]=new L(v,5,!1,v.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function B(v){return v[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(v){var A=v.replace(D,B);C[A]=new L(A,1,!1,v,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(v){var A=v.replace(D,B);C[A]=new L(A,1,!1,v,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(v){var A=v.replace(D,B);C[A]=new L(A,1,!1,v,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(v){C[v]=new L(v,1,!1,v.toLowerCase(),null,!1,!1)}),C.xlinkHref=new L("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(v){C[v]=new L(v,1,!1,v.toLowerCase(),null,!0,!0)});function $(v,A,Z,ve){var Le=C.hasOwnProperty(A)?C[A]:null,lt=Le!==null?Le.type===0:ve?!1:!(!(2<A.length)||A[0]!=="o"&&A[0]!=="O"||A[1]!=="n"&&A[1]!=="N");lt||(R(A,Z,Le,ve)&&(Z=null),ve||Le===null?b(A)&&(Z===null?v.removeAttribute(A):v.setAttribute(A,""+Z)):Le.mustUseProperty?v[Le.propertyName]=Z===null?Le.type===3?!1:"":Z:(A=Le.attributeName,ve=Le.attributeNamespace,Z===null?v.removeAttribute(A):(Le=Le.type,Z=Le===3||Le===4&&Z===!0?"":""+Z,ve?v.setAttributeNS(ve,A,Z):v.setAttribute(A,Z))))}var U=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,K=60103,V=60106,G=60107,oe=60108,ae=60114,le=60109,q=60110,J=60112,Y=60113,ue=60120,ne=60115,ee=60116,ie=60121,F=60128,M=60129,Q=60130,de=60131;if(typeof Symbol=="function"&&Symbol.for){var we=Symbol.for;K=we("react.element"),V=we("react.portal"),G=we("react.fragment"),oe=we("react.strict_mode"),ae=we("react.profiler"),le=we("react.provider"),q=we("react.context"),J=we("react.forward_ref"),Y=we("react.suspense"),ue=we("react.suspense_list"),ne=we("react.memo"),ee=we("react.lazy"),ie=we("react.block"),we("react.scope"),F=we("react.opaque.id"),M=we("react.debug_trace_mode"),Q=we("react.offscreen"),de=we("react.legacy_hidden")}var Ce=typeof Symbol=="function"&&Symbol.iterator;function je(v){return v===null||typeof v!="object"?null:(v=Ce&&v[Ce]||v["@@iterator"],typeof v=="function"?v:null)}var Fe;function Ft(v){if(Fe===void 0)try{throw Error()}catch(Z){var A=Z.stack.trim().match(/\n( *(at )?)/);Fe=A&&A[1]||""}return`
`+Fe+v}var _t=!1;function Pt(v,A){if(!v||_t)return"";_t=!0;var Z=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(A)if(A=function(){throw Error()},Object.defineProperty(A.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(A,[])}catch(P){var ve=P}Reflect.construct(v,[],A)}else{try{A.call()}catch(P){ve=P}v.call(A.prototype)}else{try{throw Error()}catch(P){ve=P}v()}}catch(P){if(P&&ve&&typeof P.stack=="string"){for(var Le=P.stack.split(`
`),lt=ve.stack.split(`
`),Ut=Le.length-1,rr=lt.length-1;1<=Ut&&0<=rr&&Le[Ut]!==lt[rr];)rr--;for(;1<=Ut&&0<=rr;Ut--,rr--)if(Le[Ut]!==lt[rr]){if(Ut!==1||rr!==1)do if(Ut--,rr--,0>rr||Le[Ut]!==lt[rr])return`
`+Le[Ut].replace(" at new "," at ");while(1<=Ut&&0<=rr);break}}}finally{_t=!1,Error.prepareStackTrace=Z}return(v=v?v.displayName||v.name:"")?Ft(v):""}function qt(v){switch(v.tag){case 5:return Ft(v.type);case 16:return Ft("Lazy");case 13:return Ft("Suspense");case 19:return Ft("SuspenseList");case 0:case 2:case 15:return v=Pt(v.type,!1),v;case 11:return v=Pt(v.type.render,!1),v;case 22:return v=Pt(v.type._render,!1),v;case 1:return v=Pt(v.type,!0),v;default:return""}}function er(v){if(v==null)return null;if(typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;switch(v){case G:return"Fragment";case V:return"Portal";case ae:return"Profiler";case oe:return"StrictMode";case Y:return"Suspense";case ue:return"SuspenseList"}if(typeof v=="object")switch(v.$$typeof){case q:return(v.displayName||"Context")+".Consumer";case le:return(v._context.displayName||"Context")+".Provider";case J:var A=v.render;return A=A.displayName||A.name||"",v.displayName||(A!==""?"ForwardRef("+A+")":"ForwardRef");case ne:return er(v.type);case ie:return er(v._render);case ee:A=v._payload,v=v._init;try{return er(v(A))}catch(Z){}}return null}function Jt(v){switch(typeof v){case"boolean":case"number":case"object":case"string":case"undefined":return v;default:return""}}function Xe(v){var A=v.type;return(v=v.nodeName)&&v.toLowerCase()==="input"&&(A==="checkbox"||A==="radio")}function It(v){var A=Xe(v)?"checked":"value",Z=Object.getOwnPropertyDescriptor(v.constructor.prototype,A),ve=""+v[A];if(!v.hasOwnProperty(A)&&typeof Z!="undefined"&&typeof Z.get=="function"&&typeof Z.set=="function"){var Le=Z.get,lt=Z.set;return Object.defineProperty(v,A,{configurable:!0,get:function(){return Le.call(this)},set:function(Ut){ve=""+Ut,lt.call(this,Ut)}}),Object.defineProperty(v,A,{enumerable:Z.enumerable}),{getValue:function(){return ve},setValue:function(Ut){ve=""+Ut},stopTracking:function(){v._valueTracker=null,delete v[A]}}}}function zt(v){v._valueTracker||(v._valueTracker=It(v))}function st(v){if(!v)return!1;var A=v._valueTracker;if(!A)return!0;var Z=A.getValue(),ve="";return v&&(ve=Xe(v)?v.checked?"true":"false":v.value),v=ve,v!==Z?(A.setValue(v),!0):!1}function bt(v){if(v=v||(typeof document!="undefined"?document:void 0),typeof v=="undefined")return null;try{return v.activeElement||v.body}catch(A){return v.body}}function ht(v,A){var Z=A.checked;return i({},A,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:Z!=null?Z:v._wrapperState.initialChecked})}function Je(v,A){var Z=A.defaultValue==null?"":A.defaultValue,ve=A.checked!=null?A.checked:A.defaultChecked;Z=Jt(A.value!=null?A.value:Z),v._wrapperState={initialChecked:ve,initialValue:Z,controlled:A.type==="checkbox"||A.type==="radio"?A.checked!=null:A.value!=null}}function Ue(v,A){A=A.checked,A!=null&&$(v,"checked",A,!1)}function ge(v,A){Ue(v,A);var Z=Jt(A.value),ve=A.type;if(Z!=null)ve==="number"?(Z===0&&v.value===""||v.value!=Z)&&(v.value=""+Z):v.value!==""+Z&&(v.value=""+Z);else if(ve==="submit"||ve==="reset"){v.removeAttribute("value");return}A.hasOwnProperty("value")?Me(v,A.type,Z):A.hasOwnProperty("defaultValue")&&Me(v,A.type,Jt(A.defaultValue)),A.checked==null&&A.defaultChecked!=null&&(v.defaultChecked=!!A.defaultChecked)}function Ae(v,A,Z){if(A.hasOwnProperty("value")||A.hasOwnProperty("defaultValue")){var ve=A.type;if(!(ve!=="submit"&&ve!=="reset"||A.value!==void 0&&A.value!==null))return;A=""+v._wrapperState.initialValue,Z||A===v.value||(v.value=A),v.defaultValue=A}Z=v.name,Z!==""&&(v.name=""),v.defaultChecked=!!v._wrapperState.initialChecked,Z!==""&&(v.name=Z)}function Me(v,A,Z){(A!=="number"||bt(v.ownerDocument)!==v)&&(Z==null?v.defaultValue=""+v._wrapperState.initialValue:v.defaultValue!==""+Z&&(v.defaultValue=""+Z))}function $e(v){var A="";return r.Children.forEach(v,function(Z){Z!=null&&(A+=Z)}),A}function He(v,A){return v=i({children:void 0},A),(A=$e(A.children))&&(v.children=A),v}function nt(v,A,Z,ve){if(v=v.options,A){A={};for(var Le=0;Le<Z.length;Le++)A["$"+Z[Le]]=!0;for(Z=0;Z<v.length;Z++)Le=A.hasOwnProperty("$"+v[Z].value),v[Z].selected!==Le&&(v[Z].selected=Le),Le&&ve&&(v[Z].defaultSelected=!0)}else{for(Z=""+Jt(Z),A=null,Le=0;Le<v.length;Le++){if(v[Le].value===Z){v[Le].selected=!0,ve&&(v[Le].defaultSelected=!0);return}A!==null||v[Le].disabled||(A=v[Le])}A!==null&&(A.selected=!0)}}function ct(v,A){if(A.dangerouslySetInnerHTML!=null)throw Error(c(91));return i({},A,{value:void 0,defaultValue:void 0,children:""+v._wrapperState.initialValue})}function Vt(v,A){var Z=A.value;if(Z==null){if(Z=A.children,A=A.defaultValue,Z!=null){if(A!=null)throw Error(c(92));if(Array.isArray(Z)){if(!(1>=Z.length))throw Error(c(93));Z=Z[0]}A=Z}A==null&&(A=""),Z=A}v._wrapperState={initialValue:Jt(Z)}}function Wt(v,A){var Z=Jt(A.value),ve=Jt(A.defaultValue);Z!=null&&(Z=""+Z,Z!==v.value&&(v.value=Z),A.defaultValue==null&&v.defaultValue!==Z&&(v.defaultValue=Z)),ve!=null&&(v.defaultValue=""+ve)}function De(v){var A=v.textContent;A===v._wrapperState.initialValue&&A!==""&&A!==null&&(v.value=A)}var qe={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Gt(v){switch(v){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function kt(v,A){return v==null||v==="http://www.w3.org/1999/xhtml"?Gt(A):v==="http://www.w3.org/2000/svg"&&A==="foreignObject"?"http://www.w3.org/1999/xhtml":v}var Ht,$t=function(v){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(A,Z,ve,Le){MSApp.execUnsafeLocalFunction(function(){return v(A,Z,ve,Le)})}:v}(function(v,A){if(v.namespaceURI!==qe.svg||"innerHTML"in v)v.innerHTML=A;else{for(Ht=Ht||document.createElement("div"),Ht.innerHTML="<svg>"+A.valueOf().toString()+"</svg>",A=Ht.firstChild;v.firstChild;)v.removeChild(v.firstChild);for(;A.firstChild;)v.appendChild(A.firstChild)}});function Ct(v,A){if(A){var Z=v.firstChild;if(Z&&Z===v.lastChild&&Z.nodeType===3){Z.nodeValue=A;return}}v.textContent=A}var Yt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},We=["Webkit","ms","Moz","O"];Object.keys(Yt).forEach(function(v){We.forEach(function(A){A=A+v.charAt(0).toUpperCase()+v.substring(1),Yt[A]=Yt[v]})});function fe(v,A,Z){return A==null||typeof A=="boolean"||A===""?"":Z||typeof A!="number"||A===0||Yt.hasOwnProperty(v)&&Yt[v]?(""+A).trim():A+"px"}function _e(v,A){v=v.style;for(var Z in A)if(A.hasOwnProperty(Z)){var ve=Z.indexOf("--")===0,Le=fe(Z,A[Z],ve);Z==="float"&&(Z="cssFloat"),ve?v.setProperty(Z,Le):v[Z]=Le}}var Ot=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Pe(v,A){if(A){if(Ot[v]&&(A.children!=null||A.dangerouslySetInnerHTML!=null))throw Error(c(137,v));if(A.dangerouslySetInnerHTML!=null){if(A.children!=null)throw Error(c(60));if(!(typeof A.dangerouslySetInnerHTML=="object"&&"__html"in A.dangerouslySetInnerHTML))throw Error(c(61))}if(A.style!=null&&typeof A.style!="object")throw Error(c(62))}}function dt(v,A){if(v.indexOf("-")===-1)return typeof A.is=="string";switch(v){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Zt(v){return v=v.target||v.srcElement||window,v.correspondingUseElement&&(v=v.correspondingUseElement),v.nodeType===3?v.parentNode:v}var Tt=null,ke=null,St=null;function be(v){if(v=Ka(v)){if(typeof Tt!="function")throw Error(c(280));var A=v.stateNode;A&&(A=qa(A),Tt(v.stateNode,v.type,A))}}function Ke(v){ke?St?St.push(v):St=[v]:ke=v}function gt(){if(ke){var v=ke,A=St;if(St=ke=null,be(v),A)for(v=0;v<A.length;v++)be(A[v])}}function Rt(v,A){return v(A)}function Be(v,A,Z,ve,Le){return v(A,Z,ve,Le)}function kr(){}var At=Rt,Kr=!1,qr=!1;function Ar(){(ke!==null||St!==null)&&(kr(),gt())}function Br(v,A,Z){if(qr)return v(A,Z);qr=!0;try{return At(v,A,Z)}finally{qr=!1,Ar()}}function _r(v,A){var Z=v.stateNode;if(Z===null)return null;var ve=qa(Z);if(ve===null)return null;Z=ve[A];e:switch(A){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(ve=!ve.disabled)||(v=v.type,ve=!(v==="button"||v==="input"||v==="select"||v==="textarea")),v=!ve;break e;default:v=!1}if(v)return null;if(Z&&typeof Z!="function")throw Error(c(231,A,typeof Z));return Z}var Ur=!1;if(a)try{var sn={};Object.defineProperty(sn,"passive",{get:function(){Ur=!0}}),window.addEventListener("test",sn,sn),window.removeEventListener("test",sn,sn)}catch(v){Ur=!1}function cn(v,A,Z,ve,Le,lt,Ut,rr,P){var t=Array.prototype.slice.call(arguments,3);try{A.apply(Z,t)}catch(n){this.onError(n)}}var or=!1,Lt=null,vt=!1,yt=null,jt={onError:function(v){or=!0,Lt=v}};function Cr(v,A,Z,ve,Le,lt,Ut,rr,P){or=!1,Lt=null,cn.apply(jt,arguments)}function gr(v,A,Z,ve,Le,lt,Ut,rr,P){if(Cr.apply(this,arguments),or){if(or){var t=Lt;or=!1,Lt=null}else throw Error(c(198));vt||(vt=!0,yt=t)}}function ot(v){var A=v,Z=v;if(v.alternate)for(;A.return;)A=A.return;else{v=A;do A=v,A.flags&1026&&(Z=A.return),v=A.return;while(v)}return A.tag===3?Z:null}function Mr(v){if(v.tag===13){var A=v.memoizedState;if(A===null&&(v=v.alternate,v!==null&&(A=v.memoizedState)),A!==null)return A.dehydrated}return null}function yn(v){if(ot(v)!==v)throw Error(c(188))}function Zn(v){var A=v.alternate;if(!A){if(A=ot(v),A===null)throw Error(c(188));return A!==v?null:v}for(var Z=v,ve=A;;){var Le=Z.return;if(Le===null)break;var lt=Le.alternate;if(lt===null){if(ve=Le.return,ve!==null){Z=ve;continue}break}if(Le.child===lt.child){for(lt=Le.child;lt;){if(lt===Z)return yn(Le),v;if(lt===ve)return yn(Le),A;lt=lt.sibling}throw Error(c(188))}if(Z.return!==ve.return)Z=Le,ve=lt;else{for(var Ut=!1,rr=Le.child;rr;){if(rr===Z){Ut=!0,Z=Le,ve=lt;break}if(rr===ve){Ut=!0,ve=Le,Z=lt;break}rr=rr.sibling}if(!Ut){for(rr=lt.child;rr;){if(rr===Z){Ut=!0,Z=lt,ve=Le;break}if(rr===ve){Ut=!0,ve=lt,Z=Le;break}rr=rr.sibling}if(!Ut)throw Error(c(189))}}if(Z.alternate!==ve)throw Error(c(190))}if(Z.tag!==3)throw Error(c(188));return Z.stateNode.current===Z?v:A}function mr(v){if(v=Zn(v),!v)return null;for(var A=v;;){if(A.tag===5||A.tag===6)return A;if(A.child)A.child.return=A,A=A.child;else{if(A===v)break;for(;!A.sibling;){if(!A.return||A.return===v)return null;A=A.return}A.sibling.return=A.return,A=A.sibling}}return null}function tn(v,A){for(var Z=v.alternate;A!==null;){if(A===v||A===Z)return!0;A=A.return}return!1}var hn,Fn,ti,jn,Zi=!1,xi=[],Si=null,Ei=null,mi=null,Xi=new Map,qn=new Map,Yi=[],wt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ut(v,A,Z,ve,Le){return{blockedOn:v,domEventName:A,eventSystemFlags:Z|16,nativeEvent:Le,targetContainers:[ve]}}function Jn(v,A){switch(v){case"focusin":case"focusout":Si=null;break;case"dragenter":case"dragleave":Ei=null;break;case"mouseover":case"mouseout":mi=null;break;case"pointerover":case"pointerout":Xi.delete(A.pointerId);break;case"gotpointercapture":case"lostpointercapture":qn.delete(A.pointerId)}}function Ai(v,A,Z,ve,Le,lt){return v===null||v.nativeEvent!==lt?(v=ut(A,Z,ve,Le,lt),A!==null&&(A=Ka(A),A!==null&&Fn(A)),v):(v.eventSystemFlags|=ve,A=v.targetContainers,Le!==null&&A.indexOf(Le)===-1&&A.push(Le),v)}function ei(v,A,Z,ve,Le){switch(A){case"focusin":return Si=Ai(Si,v,A,Z,ve,Le),!0;case"dragenter":return Ei=Ai(Ei,v,A,Z,ve,Le),!0;case"mouseover":return mi=Ai(mi,v,A,Z,ve,Le),!0;case"pointerover":var lt=Le.pointerId;return Xi.set(lt,Ai(Xi.get(lt)||null,v,A,Z,ve,Le)),!0;case"gotpointercapture":return lt=Le.pointerId,qn.set(lt,Ai(qn.get(lt)||null,v,A,Z,ve,Le)),!0}return!1}function Gi(v){var A=Ba(v.target);if(A!==null){var Z=ot(A);if(Z!==null){if(A=Z.tag,A===13){if(A=Mr(Z),A!==null){v.blockedOn=A,jn(v.lanePriority,function(){l.unstable_runWithPriority(v.priority,function(){ti(Z)})});return}}else if(A===3&&Z.stateNode.hydrate){v.blockedOn=Z.tag===3?Z.stateNode.containerInfo:null;return}}}v.blockedOn=null}function vi(v){if(v.blockedOn!==null)return!1;for(var A=v.targetContainers;0<A.length;){var Z=hs(v.domEventName,v.eventSystemFlags,A[0],v.nativeEvent);if(Z!==null)return A=Ka(Z),A!==null&&Fn(A),v.blockedOn=Z,!1;A.shift()}return!0}function si(v,A,Z){vi(v)&&Z.delete(A)}function En(){for(Zi=!1;0<xi.length;){var v=xi[0];if(v.blockedOn!==null){v=Ka(v.blockedOn),v!==null&&hn(v);break}for(var A=v.targetContainers;0<A.length;){var Z=hs(v.domEventName,v.eventSystemFlags,A[0],v.nativeEvent);if(Z!==null){v.blockedOn=Z;break}A.shift()}v.blockedOn===null&&xi.shift()}Si!==null&&vi(Si)&&(Si=null),Ei!==null&&vi(Ei)&&(Ei=null),mi!==null&&vi(mi)&&(mi=null),Xi.forEach(si),qn.forEach(si)}function tr(v,A){v.blockedOn===A&&(v.blockedOn=null,Zi||(Zi=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,En)))}function mt(v){function A(Le){return tr(Le,v)}if(0<xi.length){tr(xi[0],v);for(var Z=1;Z<xi.length;Z++){var ve=xi[Z];ve.blockedOn===v&&(ve.blockedOn=null)}}for(Si!==null&&tr(Si,v),Ei!==null&&tr(Ei,v),mi!==null&&tr(mi,v),Xi.forEach(A),qn.forEach(A),Z=0;Z<Yi.length;Z++)ve=Yi[Z],ve.blockedOn===v&&(ve.blockedOn=null);for(;0<Yi.length&&(Z=Yi[0],Z.blockedOn===null);)Gi(Z),Z.blockedOn===null&&Yi.shift()}function rt(v,A){var Z={};return Z[v.toLowerCase()]=A.toLowerCase(),Z["Webkit"+v]="webkit"+A,Z["Moz"+v]="moz"+A,Z}var Dt={animationend:rt("Animation","AnimationEnd"),animationiteration:rt("Animation","AnimationIteration"),animationstart:rt("Animation","AnimationStart"),transitionend:rt("Transition","TransitionEnd")},pt={},lr={};a&&(lr=document.createElement("div").style,"AnimationEvent"in window||(delete Dt.animationend.animation,delete Dt.animationiteration.animation,delete Dt.animationstart.animation),"TransitionEvent"in window||delete Dt.transitionend.transition);function fr(v){if(pt[v])return pt[v];if(!Dt[v])return v;var A=Dt[v],Z;for(Z in A)if(A.hasOwnProperty(Z)&&Z in lr)return pt[v]=A[Z];return v}var Ir=fr("animationend"),Hr=fr("animationiteration"),Ze=fr("animationstart"),et=fr("transitionend"),Ee=new Map,it=new Map,ir=["abort","abort",Ir,"animationEnd",Hr,"animationIteration",Ze,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",et,"transitionEnd","waiting","waiting"];function Dr(v,A){for(var Z=0;Z<v.length;Z+=2){var ve=v[Z],Le=v[Z+1];Le="on"+(Le[0].toUpperCase()+Le.slice(1)),it.set(ve,A),Ee.set(ve,Le),h(Le,[ve])}}var Er=l.unstable_now;Er();var Or=8;function $r(v){if(1&v)return Or=15,1;if(2&v)return Or=14,2;if(4&v)return Or=13,4;var A=24&v;return A!==0?(Or=12,A):v&32?(Or=11,32):(A=192&v,A!==0?(Or=10,A):v&256?(Or=9,256):(A=3584&v,A!==0?(Or=8,A):v&4096?(Or=7,4096):(A=4186112&v,A!==0?(Or=6,A):(A=62914560&v,A!==0?(Or=5,A):v&67108864?(Or=4,67108864):v&134217728?(Or=3,134217728):(A=805306368&v,A!==0?(Or=2,A):1073741824&v?(Or=1,1073741824):(Or=8,v))))))}function bn(v){switch(v){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Pr(v){switch(v){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(c(358,v))}}function un(v,A){var Z=v.pendingLanes;if(Z===0)return Or=0;var ve=0,Le=0,lt=v.expiredLanes,Ut=v.suspendedLanes,rr=v.pingedLanes;if(lt!==0)ve=lt,Le=Or=15;else if(lt=Z&134217727,lt!==0){var P=lt&~Ut;P!==0?(ve=$r(P),Le=Or):(rr&=lt,rr!==0&&(ve=$r(rr),Le=Or))}else lt=Z&~Ut,lt!==0?(ve=$r(lt),Le=Or):rr!==0&&(ve=$r(rr),Le=Or);if(ve===0)return 0;if(ve=31-gi(ve),ve=Z&((0>ve?0:1<<ve)<<1)-1,A!==0&&A!==ve&&!(A&Ut)){if($r(A),Le<=Or)return A;Or=Le}if(A=v.entangledLanes,A!==0)for(v=v.entanglements,A&=ve;0<A;)Z=31-gi(A),Le=1<<Z,ve|=v[Z],A&=~Le;return ve}function rn(v){return v=v.pendingLanes&-1073741825,v!==0?v:v&1073741824?1073741824:0}function ln(v,A){switch(v){case 15:return 1;case 14:return 2;case 12:return v=An(24&~A),v===0?ln(10,A):v;case 10:return v=An(192&~A),v===0?ln(8,A):v;case 8:return v=An(3584&~A),v===0&&(v=An(4186112&~A),v===0&&(v=512)),v;case 2:return A=An(805306368&~A),A===0&&(A=268435456),A}throw Error(c(358,v))}function An(v){return v&-v}function pa(v){for(var A=[],Z=0;31>Z;Z++)A.push(v);return A}function Pi(v,A,Z){v.pendingLanes|=A;var ve=A-1;v.suspendedLanes&=ve,v.pingedLanes&=ve,v=v.eventTimes,A=31-gi(A),v[A]=Z}var gi=Math.clz32?Math.clz32:Ni,pn=Math.log,ui=Math.LN2;function Ni(v){return v===0?32:31-(pn(v)/ui|0)|0}var la=l.unstable_UserBlockingPriority,xs=l.unstable_runWithPriority,Pa=!0;function Na(v,A,Z,ve){Kr||kr();var Le=$a,lt=Kr;Kr=!0;try{Be(Le,v,A,Z,ve)}finally{(Kr=lt)||Ar()}}function Is(v,A,Z,ve){xs(la,$a.bind(null,v,A,Z,ve))}function $a(v,A,Z,ve){if(Pa){var Le;if((Le=(A&4)===0)&&0<xi.length&&-1<wt.indexOf(v))v=ut(null,v,A,Z,ve),xi.push(v);else{var lt=hs(v,A,Z,ve);if(lt===null)Le&&Jn(v,ve);else{if(Le){if(-1<wt.indexOf(v)){v=ut(lt,v,A,Z,ve),xi.push(v);return}if(ei(lt,v,A,Z,ve))return;Jn(v,ve)}jr(v,A,ve,null,Z)}}}}function hs(v,A,Z,ve){var Le=Zt(ve);if(Le=Ba(Le),Le!==null){var lt=ot(Le);if(lt===null)Le=null;else{var Ut=lt.tag;if(Ut===13){if(Le=Mr(lt),Le!==null)return Le;Le=null}else if(Ut===3){if(lt.stateNode.hydrate)return lt.tag===3?lt.stateNode.containerInfo:null;Le=null}else lt!==Le&&(Le=null)}}return jr(v,A,ve,Le,Z),null}var oa=null,yi=null,Ga=null;function Ds(){if(Ga)return Ga;var v,A=yi,Z=A.length,ve,Le="value"in oa?oa.value:oa.textContent,lt=Le.length;for(v=0;v<Z&&A[v]===Le[v];v++);var Ut=Z-v;for(ve=1;ve<=Ut&&A[Z-ve]===Le[lt-ve];ve++);return Ga=Le.slice(v,1<ve?1-ve:void 0)}function $i(v){var A=v.keyCode;return"charCode"in v?(v=v.charCode,v===0&&A===13&&(v=13)):v=A,v===10&&(v=13),32<=v||v===13?v:0}function ps(){return!0}function Co(){return!1}function La(v){function A(Z,ve,Le,lt,Ut){this._reactName=Z,this._targetInst=Le,this.type=ve,this.nativeEvent=lt,this.target=Ut,this.currentTarget=null;for(var rr in v)v.hasOwnProperty(rr)&&(Z=v[rr],this[rr]=Z?Z(lt):lt[rr]);return this.isDefaultPrevented=(lt.defaultPrevented!=null?lt.defaultPrevented:lt.returnValue===!1)?ps:Co,this.isPropagationStopped=Co,this}return i(A.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Z=this.nativeEvent;Z&&(Z.preventDefault?Z.preventDefault():typeof Z.returnValue!="unknown"&&(Z.returnValue=!1),this.isDefaultPrevented=ps)},stopPropagation:function(){var Z=this.nativeEvent;Z&&(Z.stopPropagation?Z.stopPropagation():typeof Z.cancelBubble!="unknown"&&(Z.cancelBubble=!0),this.isPropagationStopped=ps)},persist:function(){},isPersistent:ps}),A}var _s={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(v){return v.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ji=La(_s),Gs=i({},_s,{view:0,detail:0}),Rn=La(Gs),ja,ns,ls,Vi=i({},Gs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fa,button:0,buttons:0,relatedTarget:function(v){return v.relatedTarget===void 0?v.fromElement===v.srcElement?v.toElement:v.fromElement:v.relatedTarget},movementX:function(v){return"movementX"in v?v.movementX:(v!==ls&&(ls&&v.type==="mousemove"?(ja=v.screenX-ls.screenX,ns=v.screenY-ls.screenY):ns=ja=0,ls=v),ja)},movementY:function(v){return"movementY"in v?v.movementY:ns}}),Ia=La(Vi),Da=i({},Vi,{dataTransfer:0}),ms=La(Da),Bs=i({},Gs,{relatedTarget:0}),_o=La(Bs),To=i({},_s,{animationName:0,elapsedTime:0,pseudoElement:0}),Vo=La(To),uo=i({},_s,{clipboardData:function(v){return"clipboardData"in v?v.clipboardData:window.clipboardData}}),ca=La(uo),cs=i({},_s,{data:0}),mo=La(cs),vo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},go={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hi={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function oi(v){var A=this.nativeEvent;return A.getModifierState?A.getModifierState(v):(v=hi[v])?!!A[v]:!1}function Fa(){return oi}var Va=i({},Gs,{key:function(v){if(v.key){var A=vo[v.key]||v.key;if(A!=="Unidentified")return A}return v.type==="keypress"?(v=$i(v),v===13?"Enter":String.fromCharCode(v)):v.type==="keydown"||v.type==="keyup"?go[v.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fa,charCode:function(v){return v.type==="keypress"?$i(v):0},keyCode:function(v){return v.type==="keydown"||v.type==="keyup"?v.keyCode:0},which:function(v){return v.type==="keypress"?$i(v):v.type==="keydown"||v.type==="keyup"?v.keyCode:0}}),Xa=La(Va),lo=i({},Vi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),co=La(lo),Po=i({},Gs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fa}),Qa=La(Po),Lo=i({},_s,{propertyName:0,elapsedTime:0,pseudoElement:0}),yo=La(Lo),Ko=i({},Vi,{deltaX:function(v){return"deltaX"in v?v.deltaX:"wheelDeltaX"in v?-v.wheelDeltaX:0},deltaY:function(v){return"deltaY"in v?v.deltaY:"wheelDeltaY"in v?-v.wheelDeltaY:"wheelDelta"in v?-v.wheelDelta:0},deltaZ:0,deltaMode:0}),Tu=La(Ko),_u=[9,13,27,32],fo=a&&"CompositionEvent"in window,fs=null;a&&"documentMode"in document&&(fs=document.documentMode);var zu=a&&"TextEvent"in window&&!fs,Mo=a&&(!fo||fs&&8<fs&&11>=fs),Io=" ",Us=!1;function ou(v,A){switch(v){case"keyup":return _u.indexOf(A.keyCode)!==-1;case"keydown":return A.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jo(v){return v=v.detail,typeof v=="object"&&"data"in v?v.data:null}var Do=!1;function Ls(v,A){switch(v){case"compositionend":return jo(A);case"keypress":return A.which!==32?null:(Us=!0,Io);case"textInput":return v=A.data,v===Io&&Us?null:v;default:return null}}function bo(v,A){if(Do)return v==="compositionend"||!fo&&ou(v,A)?(v=Ds(),Ga=yi=oa=null,Do=!1,v):null;switch(v){case"paste":return null;case"keypress":if(!(A.ctrlKey||A.altKey||A.metaKey)||A.ctrlKey&&A.altKey){if(A.char&&1<A.char.length)return A.char;if(A.which)return String.fromCharCode(A.which)}return null;case"compositionend":return Mo&&A.locale!=="ko"?null:A.data;default:return null}}var mu={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Fo(v){var A=v&&v.nodeName&&v.nodeName.toLowerCase();return A==="input"?!!mu[v.type]:A==="textarea"}function Qt(v,A,Z,ve){Ke(ve),A=nn(A,"onChange"),0<A.length&&(Z=new ji("onChange","change",null,Z,ve),v.push({event:Z,listeners:A}))}var cr=null,sr=null;function vr(v){Ye(v,0)}function wr(v){var A=eo(v);if(st(A))return v}function xn(v,A){if(v==="change")return A}var Sn=!1;if(a){var Un;if(a){var Ln="oninput"in document;if(!Ln){var Gn=document.createElement("div");Gn.setAttribute("oninput","return;"),Ln=typeof Gn.oninput=="function"}Un=Ln}else Un=!1;Sn=Un&&(!document.documentMode||9<document.documentMode)}function ur(){cr&&(cr.detachEvent("onpropertychange",Fr),sr=cr=null)}function Fr(v){if(v.propertyName==="value"&&wr(sr)){var A=[];if(Qt(A,sr,v,Zt(v)),v=vr,Kr)v(A);else{Kr=!0;try{Rt(v,A)}finally{Kr=!1,Ar()}}}}function xr(v,A,Z){v==="focusin"?(ur(),cr=A,sr=Z,cr.attachEvent("onpropertychange",Fr)):v==="focusout"&&ur()}function mn(v){if(v==="selectionchange"||v==="keyup"||v==="keydown")return wr(sr)}function Hn(v,A){if(v==="click")return wr(A)}function ft(v,A){if(v==="input"||v==="change")return wr(A)}function Pn(v,A){return v===A&&(v!==0||1/v===1/A)||v!==v&&A!==A}var Vn=typeof Object.is=="function"?Object.is:Pn,li=Object.prototype.hasOwnProperty;function Qi(v,A){if(Vn(v,A))return!0;if(typeof v!="object"||v===null||typeof A!="object"||A===null)return!1;var Z=Object.keys(v),ve=Object.keys(A);if(Z.length!==ve.length)return!1;for(ve=0;ve<Z.length;ve++)if(!li.call(A,Z[ve])||!Vn(v[Z[ve]],A[Z[ve]]))return!1;return!0}function Nr(v){for(;v&&v.firstChild;)v=v.firstChild;return v}function Li(v,A){var Z=Nr(v);v=0;for(var ve;Z;){if(Z.nodeType===3){if(ve=v+Z.textContent.length,v<=A&&ve>=A)return{node:Z,offset:A-v};v=ve}e:{for(;Z;){if(Z.nextSibling){Z=Z.nextSibling;break e}Z=Z.parentNode}Z=void 0}Z=Nr(Z)}}function ba(v,A){return v&&A?v===A?!0:v&&v.nodeType===3?!1:A&&A.nodeType===3?ba(v,A.parentNode):"contains"in v?v.contains(A):v.compareDocumentPosition?!!(v.compareDocumentPosition(A)&16):!1:!1}function zr(){for(var v=window,A=bt();A instanceof v.HTMLIFrameElement;){try{var Z=typeof A.contentWindow.location.href=="string"}catch(ve){Z=!1}if(Z)v=A.contentWindow;else break;A=bt(v.document)}return A}function na(v){var A=v&&v.nodeName&&v.nodeName.toLowerCase();return A&&(A==="input"&&(v.type==="text"||v.type==="search"||v.type==="tel"||v.type==="url"||v.type==="password")||A==="textarea"||v.contentEditable==="true")}var Ss=a&&"documentMode"in document&&11>=document.documentMode,ci=null,Vs=null,xo=null,Os=!1;function xa(v,A,Z){var ve=Z.window===Z?Z.document:Z.nodeType===9?Z:Z.ownerDocument;Os||ci==null||ci!==bt(ve)||(ve=ci,"selectionStart"in ve&&na(ve)?ve={start:ve.selectionStart,end:ve.selectionEnd}:(ve=(ve.ownerDocument&&ve.ownerDocument.defaultView||window).getSelection(),ve={anchorNode:ve.anchorNode,anchorOffset:ve.anchorOffset,focusNode:ve.focusNode,focusOffset:ve.focusOffset}),xo&&Qi(xo,ve)||(xo=ve,ve=nn(Vs,"onSelect"),0<ve.length&&(A=new ji("onSelect","select",null,A,Z),v.push({event:A,listeners:ve}),A.target=ci)))}Dr("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Dr("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Dr(ir,2);for(var ds="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),ks=0;ks<ds.length;ks++)it.set(ds[ks],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var In="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),gs=new Set("cancel close invalid load scroll toggle".split(" ").concat(In));function Ns(v,A,Z){var ve=v.type||"unknown-event";v.currentTarget=Z,gr(ve,A,void 0,v),v.currentTarget=null}function Ye(v,A){A=(A&4)!==0;for(var Z=0;Z<v.length;Z++){var ve=v[Z],Le=ve.event;ve=ve.listeners;e:{var lt=void 0;if(A)for(var Ut=ve.length-1;0<=Ut;Ut--){var rr=ve[Ut],P=rr.instance,t=rr.currentTarget;if(rr=rr.listener,P!==lt&&Le.isPropagationStopped())break e;Ns(Le,rr,t),lt=P}else for(Ut=0;Ut<ve.length;Ut++){if(rr=ve[Ut],P=rr.instance,t=rr.currentTarget,rr=rr.listener,P!==lt&&Le.isPropagationStopped())break e;Ns(Le,rr,t),lt=P}}}if(vt)throw v=yt,vt=!1,yt=null,v}function Qe(v,A){var Z=so(A),ve=v+"__bubble";Z.has(ve)||(Rr(A,v,2,!1),Z.add(ve))}var Mt="_reactListening"+Math.random().toString(36).slice(2);function Kt(v){v[Mt]||(v[Mt]=!0,f.forEach(function(A){gs.has(A)||hr(A,!1,v,null),hr(A,!0,v,null)}))}function hr(v,A,Z,ve){var Le=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,lt=Z;if(v==="selectionchange"&&Z.nodeType!==9&&(lt=Z.ownerDocument),ve!==null&&!A&&gs.has(v)){if(v!=="scroll")return;Le|=2,lt=ve}var Ut=so(lt),rr=v+"__"+(A?"capture":"bubble");Ut.has(rr)||(A&&(Le|=4),Rr(lt,v,Le,A),Ut.add(rr))}function Rr(v,A,Z,ve){var Le=it.get(A);switch(Le===void 0?2:Le){case 0:Le=Na;break;case 1:Le=Is;break;default:Le=$a}Z=Le.bind(null,A,Z,v),Le=void 0,!Ur||A!=="touchstart"&&A!=="touchmove"&&A!=="wheel"||(Le=!0),ve?Le!==void 0?v.addEventListener(A,Z,{capture:!0,passive:Le}):v.addEventListener(A,Z,!0):Le!==void 0?v.addEventListener(A,Z,{passive:Le}):v.addEventListener(A,Z,!1)}function jr(v,A,Z,ve,Le){var lt=ve;if(!(A&1)&&!(A&2)&&ve!==null)e:for(;;){if(ve===null)return;var Ut=ve.tag;if(Ut===3||Ut===4){var rr=ve.stateNode.containerInfo;if(rr===Le||rr.nodeType===8&&rr.parentNode===Le)break;if(Ut===4)for(Ut=ve.return;Ut!==null;){var P=Ut.tag;if((P===3||P===4)&&(P=Ut.stateNode.containerInfo,P===Le||P.nodeType===8&&P.parentNode===Le))return;Ut=Ut.return}for(;rr!==null;){if(Ut=Ba(rr),Ut===null)return;if(P=Ut.tag,P===5||P===6){ve=lt=Ut;continue e}rr=rr.parentNode}}ve=ve.return}Br(function(){var t=lt,n=Zt(Z),o=[];e:{var m=Ee.get(v);if(m!==void 0){var E=ji,T=v;switch(v){case"keypress":if($i(Z)===0)break e;case"keydown":case"keyup":E=Xa;break;case"focusin":T="focus",E=_o;break;case"focusout":T="blur",E=_o;break;case"beforeblur":case"afterblur":E=_o;break;case"click":if(Z.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":E=Ia;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":E=ms;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":E=Qa;break;case Ir:case Hr:case Ze:E=Vo;break;case et:E=yo;break;case"scroll":E=Rn;break;case"wheel":E=Tu;break;case"copy":case"cut":case"paste":E=ca;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":E=co}var z=(A&4)!==0,H=!z&&v==="scroll",j=z?m!==null?m+"Capture":null:m;z=[];for(var se=t,ce;se!==null;){ce=se;var xe=ce.stateNode;if(ce.tag===5&&xe!==null&&(ce=xe,j!==null&&(xe=_r(se,j),xe!=null&&z.push(vn(se,xe,ce)))),H)break;se=se.return}0<z.length&&(m=new E(m,T,null,Z,n),o.push({event:m,listeners:z}))}}if(!(A&7)){e:{if(m=v==="mouseover"||v==="pointerover",E=v==="mouseout"||v==="pointerout",m&&!(A&16)&&(T=Z.relatedTarget||Z.fromElement)&&(Ba(T)||T[ki]))break e;if((E||m)&&(m=n.window===n?n:(m=n.ownerDocument)?m.defaultView||m.parentWindow:window,E?(T=Z.relatedTarget||Z.toElement,E=t,T=T?Ba(T):null,T!==null&&(H=ot(T),T!==H||T.tag!==5&&T.tag!==6)&&(T=null)):(E=null,T=t),E!==T)){if(z=Ia,xe="onMouseLeave",j="onMouseEnter",se="mouse",(v==="pointerout"||v==="pointerover")&&(z=co,xe="onPointerLeave",j="onPointerEnter",se="pointer"),H=E==null?m:eo(E),ce=T==null?m:eo(T),m=new z(xe,se+"leave",E,Z,n),m.target=H,m.relatedTarget=ce,xe=null,Ba(n)===t&&(z=new z(j,se+"enter",T,Z,n),z.target=ce,z.relatedTarget=H,xe=z),H=xe,E&&T)t:{for(z=E,j=T,se=0,ce=z;ce;ce=gn(ce))se++;for(ce=0,xe=j;xe;xe=gn(xe))ce++;for(;0<se-ce;)z=gn(z),se--;for(;0<ce-se;)j=gn(j),ce--;for(;se--;){if(z===j||j!==null&&z===j.alternate)break t;z=gn(z),j=gn(j)}z=null}else z=null;E!==null&&Qn(o,m,E,z,!1),T!==null&&H!==null&&Qn(o,H,T,z,!0)}}e:{if(m=t?eo(t):window,E=m.nodeName&&m.nodeName.toLowerCase(),E==="select"||E==="input"&&m.type==="file")var Ie=xn;else if(Fo(m))if(Sn)Ie=ft;else{Ie=mn;var Oe=xr}else(E=m.nodeName)&&E.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(Ie=Hn);if(Ie&&(Ie=Ie(v,t))){Qt(o,Ie,Z,n);break e}Oe&&Oe(v,m,t),v==="focusout"&&(Oe=m._wrapperState)&&Oe.controlled&&m.type==="number"&&Me(m,"number",m.value)}switch(Oe=t?eo(t):window,v){case"focusin":(Fo(Oe)||Oe.contentEditable==="true")&&(ci=Oe,Vs=t,xo=null);break;case"focusout":xo=Vs=ci=null;break;case"mousedown":Os=!0;break;case"contextmenu":case"mouseup":case"dragend":Os=!1,xa(o,Z,n);break;case"selectionchange":if(Ss)break;case"keydown":case"keyup":xa(o,Z,n)}var tt;if(fo)e:{switch(v){case"compositionstart":var at="onCompositionStart";break e;case"compositionend":at="onCompositionEnd";break e;case"compositionupdate":at="onCompositionUpdate";break e}at=void 0}else Do?ou(v,Z)&&(at="onCompositionEnd"):v==="keydown"&&Z.keyCode===229&&(at="onCompositionStart");at&&(Mo&&Z.locale!=="ko"&&(Do||at!=="onCompositionStart"?at==="onCompositionEnd"&&Do&&(tt=Ds()):(oa=n,yi="value"in oa?oa.value:oa.textContent,Do=!0)),Oe=nn(t,at),0<Oe.length&&(at=new mo(at,v,null,Z,n),o.push({event:at,listeners:Oe}),tt?at.data=tt:(tt=jo(Z),tt!==null&&(at.data=tt)))),(tt=zu?Ls(v,Z):bo(v,Z))&&(t=nn(t,"onBeforeInput"),0<t.length&&(n=new mo("onBeforeInput","beforeinput",null,Z,n),o.push({event:n,listeners:t}),n.data=tt))}Ye(o,A)})}function vn(v,A,Z){return{instance:v,listener:A,currentTarget:Z}}function nn(v,A){for(var Z=A+"Capture",ve=[];v!==null;){var Le=v,lt=Le.stateNode;Le.tag===5&&lt!==null&&(Le=lt,lt=_r(v,Z),lt!=null&&ve.unshift(vn(v,lt,Le)),lt=_r(v,A),lt!=null&&ve.push(vn(v,lt,Le))),v=v.return}return ve}function gn(v){if(v===null)return null;do v=v.return;while(v&&v.tag!==5);return v||null}function Qn(v,A,Z,ve,Le){for(var lt=A._reactName,Ut=[];Z!==null&&Z!==ve;){var rr=Z,P=rr.alternate,t=rr.stateNode;if(P!==null&&P===ve)break;rr.tag===5&&t!==null&&(rr=t,Le?(P=_r(Z,lt),P!=null&&Ut.unshift(vn(Z,P,rr))):Le||(P=_r(Z,lt),P!=null&&Ut.push(vn(Z,P,rr)))),Z=Z.return}Ut.length!==0&&v.push({event:A,listeners:Ut})}function ni(){}var _i=null,Ii=null;function Hi(v,A){switch(v){case"button":case"input":case"select":case"textarea":return!!A.autoFocus}return!1}function Mi(v,A){return v==="textarea"||v==="option"||v==="noscript"||typeof A.children=="string"||typeof A.children=="number"||typeof A.dangerouslySetInnerHTML=="object"&&A.dangerouslySetInnerHTML!==null&&A.dangerouslySetInnerHTML.__html!=null}var wi=typeof setTimeout=="function"?setTimeout:void 0,ma=typeof clearTimeout=="function"?clearTimeout:void 0;function Ci(v){v.nodeType===1?v.textContent="":v.nodeType===9&&(v=v.body,v!=null&&(v.textContent=""))}function bi(v){for(;v!=null;v=v.nextSibling){var A=v.nodeType;if(A===1||A===3)break}return v}function fa(v){v=v.previousSibling;for(var A=0;v;){if(v.nodeType===8){var Z=v.data;if(Z==="$"||Z==="$!"||Z==="$?"){if(A===0)return v;A--}else Z==="/$"&&A++}v=v.previousSibling}return null}var Ks=0;function Es(v){return{$$typeof:F,toString:v,valueOf:v}}var Wi=Math.random().toString(36).slice(2),ka="__reactFiber$"+Wi,ea="__reactProps$"+Wi,ki="__reactContainer$"+Wi,va="__reactEvents$"+Wi;function Ba(v){var A=v[ka];if(A)return A;for(var Z=v.parentNode;Z;){if(A=Z[ki]||Z[ka]){if(Z=A.alternate,A.child!==null||Z!==null&&Z.child!==null)for(v=fa(v);v!==null;){if(Z=v[ka])return Z;v=fa(v)}return A}v=Z,Z=v.parentNode}return null}function Ka(v){return v=v[ka]||v[ki],!v||v.tag!==5&&v.tag!==6&&v.tag!==13&&v.tag!==3?null:v}function eo(v){if(v.tag===5||v.tag===6)return v.stateNode;throw Error(c(33))}function qa(v){return v[ea]||null}function so(v){var A=v[va];return A===void 0&&(A=v[va]=new Set),A}var Ya=[],Ys=-1;function Ms(v){return{current:v}}function da(v){0>Ys||(v.current=Ya[Ys],Ya[Ys]=null,Ys--)}function Ua(v,A){Ys++,Ya[Ys]=v.current,v.current=A}var As={},ga=Ms(As),ye=Ms(!1),Se=As;function yr(v,A){var Z=v.type.contextTypes;if(!Z)return As;var ve=v.stateNode;if(ve&&ve.__reactInternalMemoizedUnmaskedChildContext===A)return ve.__reactInternalMemoizedMaskedChildContext;var Le={},lt;for(lt in Z)Le[lt]=A[lt];return ve&&(v=v.stateNode,v.__reactInternalMemoizedUnmaskedChildContext=A,v.__reactInternalMemoizedMaskedChildContext=Le),Le}function Jr(v){return v=v.childContextTypes,v!=null}function br(){da(ye),da(ga)}function Qr(v,A,Z){if(ga.current!==As)throw Error(c(168));Ua(ga,A),Ua(ye,Z)}function Cn(v,A,Z){var ve=v.stateNode;if(v=A.childContextTypes,typeof ve.getChildContext!="function")return Z;ve=ve.getChildContext();for(var Le in ve)if(!(Le in v))throw Error(c(108,er(A)||"Unknown",Le));return i({},Z,ve)}function ri(v){return v=(v=v.stateNode)&&v.__reactInternalMemoizedMergedChildContext||As,Se=ga.current,Ua(ga,v),Ua(ye,ye.current),!0}function Fi(v,A,Z){var ve=v.stateNode;if(!ve)throw Error(c(169));Z?(v=Cn(v,A,Se),ve.__reactInternalMemoizedMergedChildContext=v,da(ye),da(ga),Ua(ga,v)):da(ye),Ua(ye,Z)}var Mn=null,Dn=null,Bn=l.unstable_runWithPriority,ia=l.unstable_scheduleCallback,Ui=l.unstable_cancelCallback,ho=l.unstable_shouldYield,Xs=l.unstable_requestPaint,eu=l.unstable_now,hl=l.unstable_getCurrentPriorityLevel,qu=l.unstable_ImmediatePriority,vu=l.unstable_UserBlockingPriority,Uc=l.unstable_NormalPriority,Pu=l.unstable_LowPriority,Ve=l.unstable_IdlePriority,W={},X=Xs!==void 0?Xs:function(){},te=null,pe=null,Te=!1,Ge=eu(),xt=1e4>Ge?eu:function(){return eu()-Ge};function Bt(){switch(hl()){case qu:return 99;case vu:return 98;case Uc:return 97;case Pu:return 96;case Ve:return 95;default:throw Error(c(332))}}function nr(v){switch(v){case 99:return qu;case 98:return vu;case 97:return Uc;case 96:return Pu;case 95:return Ve;default:throw Error(c(332))}}function Tr(v,A){return v=nr(v),Bn(v,A)}function Wr(v,A,Z){return v=nr(v),ia(v,A,Z)}function an(){if(pe!==null){var v=pe;pe=null,Ui(v)}wn()}function wn(){if(!Te&&te!==null){Te=!0;var v=0;try{var A=te;Tr(99,function(){for(;v<A.length;v++){var Z=A[v];do Z=Z(!0);while(Z!==null)}}),te=null}catch(Z){throw te!==null&&(te=te.slice(v+1)),ia(qu,an),Z}finally{Te=!1}}}var Nn=U.ReactCurrentBatchConfig;function Wn(v,A){if(v&&v.defaultProps){A=i({},A),v=v.defaultProps;for(var Z in v)A[Z]===void 0&&(A[Z]=v[Z]);return A}return A}var pi=Ms(null),Sr=null,aa=null,sa=null;function is(){sa=aa=Sr=null}function Za(v){var A=pi.current;da(pi),v.type._context._currentValue=A}function ws(v,A){for(;v!==null;){var Z=v.alternate;if((v.childLanes&A)===A){if(Z===null||(Z.childLanes&A)===A)break;Z.childLanes|=A}else v.childLanes|=A,Z!==null&&(Z.childLanes|=A);v=v.return}}function as(v,A){Sr=v,sa=aa=null,v=v.dependencies,v!==null&&v.firstContext!==null&&(v.lanes&A&&(Ru=!0),v.firstContext=null)}function Aa(v,A){if(sa!==v&&A!==!1&&A!==0)if((typeof A!="number"||A===1073741823)&&(sa=v,A=1073741823),A={context:v,observedBits:A,next:null},aa===null){if(Sr===null)throw Error(c(308));aa=A,Sr.dependencies={lanes:0,firstContext:A,responders:null}}else aa=aa.next=A;return v._currentValue}var Fs=!1;function Rs(v){v.updateQueue={baseState:v.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function fi(v,A){v=v.updateQueue,A.updateQueue===v&&(A.updateQueue={baseState:v.baseState,firstBaseUpdate:v.firstBaseUpdate,lastBaseUpdate:v.lastBaseUpdate,shared:v.shared,effects:v.effects})}function Qs(v,A){return{eventTime:v,lane:A,tag:0,payload:null,callback:null,next:null}}function po(v,A){if(v=v.updateQueue,v!==null){v=v.shared;var Z=v.pending;Z===null?A.next=A:(A.next=Z.next,Z.next=A),v.pending=A}}function Oo(v,A){var Z=v.updateQueue,ve=v.alternate;if(ve!==null&&(ve=ve.updateQueue,Z===ve)){var Le=null,lt=null;if(Z=Z.firstBaseUpdate,Z!==null){do{var Ut={eventTime:Z.eventTime,lane:Z.lane,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null};lt===null?Le=lt=Ut:lt=lt.next=Ut,Z=Z.next}while(Z!==null);lt===null?Le=lt=A:lt=lt.next=A}else Le=lt=A;Z={baseState:ve.baseState,firstBaseUpdate:Le,lastBaseUpdate:lt,shared:ve.shared,effects:ve.effects},v.updateQueue=Z;return}v=Z.lastBaseUpdate,v===null?Z.firstBaseUpdate=A:v.next=A,Z.lastBaseUpdate=A}function za(v,A,Z,ve){var Le=v.updateQueue;Fs=!1;var lt=Le.firstBaseUpdate,Ut=Le.lastBaseUpdate,rr=Le.shared.pending;if(rr!==null){Le.shared.pending=null;var P=rr,t=P.next;P.next=null,Ut===null?lt=t:Ut.next=t,Ut=P;var n=v.alternate;if(n!==null){n=n.updateQueue;var o=n.lastBaseUpdate;o!==Ut&&(o===null?n.firstBaseUpdate=t:o.next=t,n.lastBaseUpdate=P)}}if(lt!==null){o=Le.baseState,Ut=0,n=t=P=null;do{rr=lt.lane;var m=lt.eventTime;if((ve&rr)===rr){n!==null&&(n=n.next={eventTime:m,lane:0,tag:lt.tag,payload:lt.payload,callback:lt.callback,next:null});e:{var E=v,T=lt;switch(rr=A,m=Z,T.tag){case 1:if(E=T.payload,typeof E=="function"){o=E.call(m,o,rr);break e}o=E;break e;case 3:E.flags=E.flags&-4097|64;case 0:if(E=T.payload,rr=typeof E=="function"?E.call(m,o,rr):E,rr==null)break e;o=i({},o,rr);break e;case 2:Fs=!0}}lt.callback!==null&&(v.flags|=32,rr=Le.effects,rr===null?Le.effects=[lt]:rr.push(lt))}else m={eventTime:m,lane:rr,tag:lt.tag,payload:lt.payload,callback:lt.callback,next:null},n===null?(t=n=m,P=o):n=n.next=m,Ut|=rr;if(lt=lt.next,lt===null){if(rr=Le.shared.pending,rr===null)break;lt=rr.next,rr.next=null,Le.lastBaseUpdate=rr,Le.shared.pending=null}}while(!0);n===null&&(P=o),Le.baseState=P,Le.firstBaseUpdate=t,Le.lastBaseUpdate=n,io|=Ut,v.lanes=Ut,v.memoizedState=o}}function Eo(v,A,Z){if(v=A.effects,A.effects=null,v!==null)for(A=0;A<v.length;A++){var ve=v[A],Le=ve.callback;if(Le!==null){if(ve.callback=null,ve=Z,typeof Le!="function")throw Error(c(191,Le));Le.call(ve)}}}var zs=new r.Component().refs;function Al(v,A,Z,ve){A=v.memoizedState,Z=Z(ve,A),Z=Z==null?A:i({},A,Z),v.memoizedState=Z,v.lanes===0&&(v.updateQueue.baseState=Z)}var Ju={isMounted:function(v){return(v=v._reactInternals)?ot(v)===v:!1},enqueueSetState:function(v,A,Z){v=v._reactInternals;var ve=hu(),Le=$u(v),lt=Qs(ve,Le);lt.payload=A,Z!=null&&(lt.callback=Z),po(v,lt),El(v,Le,ve)},enqueueReplaceState:function(v,A,Z){v=v._reactInternals;var ve=hu(),Le=$u(v),lt=Qs(ve,Le);lt.tag=1,lt.payload=A,Z!=null&&(lt.callback=Z),po(v,lt),El(v,Le,ve)},enqueueForceUpdate:function(v,A){v=v._reactInternals;var Z=hu(),ve=$u(v),Le=Qs(Z,ve);Le.tag=2,A!=null&&(Le.callback=A),po(v,Le),El(v,ve,Z)}};function el(v,A,Z,ve,Le,lt,Ut){return v=v.stateNode,typeof v.shouldComponentUpdate=="function"?v.shouldComponentUpdate(ve,lt,Ut):A.prototype&&A.prototype.isPureReactComponent?!Qi(Z,ve)||!Qi(Le,lt):!0}function gu(v,A,Z){var ve=!1,Le=As,lt=A.contextType;return typeof lt=="object"&&lt!==null?lt=Aa(lt):(Le=Jr(A)?Se:ga.current,ve=A.contextTypes,lt=(ve=ve!=null)?yr(v,Le):As),A=new A(Z,lt),v.memoizedState=A.state!==null&&A.state!==void 0?A.state:null,A.updater=Ju,v.stateNode=A,A._reactInternals=v,ve&&(v=v.stateNode,v.__reactInternalMemoizedUnmaskedChildContext=Le,v.__reactInternalMemoizedMaskedChildContext=lt),A}function ss(v,A,Z,ve){v=A.state,typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps(Z,ve),typeof A.UNSAFE_componentWillReceiveProps=="function"&&A.UNSAFE_componentWillReceiveProps(Z,ve),A.state!==v&&Ju.enqueueReplaceState(A,A.state,null)}function uu(v,A,Z,ve){var Le=v.stateNode;Le.props=Z,Le.state=v.memoizedState,Le.refs=zs,Rs(v);var lt=A.contextType;typeof lt=="object"&&lt!==null?Le.context=Aa(lt):(lt=Jr(A)?Se:ga.current,Le.context=yr(v,lt)),za(v,Z,Le,ve),Le.state=v.memoizedState,lt=A.getDerivedStateFromProps,typeof lt=="function"&&(Al(v,A,lt,Z),Le.state=v.memoizedState),typeof A.getDerivedStateFromProps=="function"||typeof Le.getSnapshotBeforeUpdate=="function"||typeof Le.UNSAFE_componentWillMount!="function"&&typeof Le.componentWillMount!="function"||(A=Le.state,typeof Le.componentWillMount=="function"&&Le.componentWillMount(),typeof Le.UNSAFE_componentWillMount=="function"&&Le.UNSAFE_componentWillMount(),A!==Le.state&&Ju.enqueueReplaceState(Le,Le.state,null),za(v,Z,Le,ve),Le.state=v.memoizedState),typeof Le.componentDidMount=="function"&&(v.flags|=4)}var yu=Array.isArray;function wo(v,A,Z){if(v=Z.ref,v!==null&&typeof v!="function"&&typeof v!="object"){if(Z._owner){if(Z=Z._owner,Z){if(Z.tag!==1)throw Error(c(309));var ve=Z.stateNode}if(!ve)throw Error(c(147,v));var Le=""+v;return A!==null&&A.ref!==null&&typeof A.ref=="function"&&A.ref._stringRef===Le?A.ref:(A=function(lt){var Ut=ve.refs;Ut===zs&&(Ut=ve.refs={}),lt===null?delete Ut[Le]:Ut[Le]=lt},A._stringRef=Le,A)}if(typeof v!="string")throw Error(c(284));if(!Z._owner)throw Error(c(290,v))}return v}function tl(v,A){if(v.type!=="textarea")throw Error(c(31,Object.prototype.toString.call(A)==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":A))}function Iu(v){function A(H,j){if(v){var se=H.lastEffect;se!==null?(se.nextEffect=j,H.lastEffect=j):H.firstEffect=H.lastEffect=j,j.nextEffect=null,j.flags=8}}function Z(H,j){if(!v)return null;for(;j!==null;)A(H,j),j=j.sibling;return null}function ve(H,j){for(H=new Map;j!==null;)j.key!==null?H.set(j.key,j):H.set(j.index,j),j=j.sibling;return H}function Le(H,j){return H=fl(H,j),H.index=0,H.sibling=null,H}function lt(H,j,se){return H.index=se,v?(se=H.alternate,se!==null?(se=se.index,se<j?(H.flags=2,j):se):(H.flags=2,j)):j}function Ut(H){return v&&H.alternate===null&&(H.flags=2),H}function rr(H,j,se,ce){return j===null||j.tag!==6?(j=_f(se,H.mode,ce),j.return=H,j):(j=Le(j,se),j.return=H,j)}function P(H,j,se,ce){return j!==null&&j.elementType===se.type?(ce=Le(j,se.props),ce.ref=wo(H,j,se),ce.return=H,ce):(ce=Bl(se.type,se.key,se.props,null,H.mode,ce),ce.ref=wo(H,j,se),ce.return=H,ce)}function t(H,j,se,ce){return j===null||j.tag!==4||j.stateNode.containerInfo!==se.containerInfo||j.stateNode.implementation!==se.implementation?(j=Mc(se,H.mode,ce),j.return=H,j):(j=Le(j,se.children||[]),j.return=H,j)}function n(H,j,se,ce,xe){return j===null||j.tag!==7?(j=Wo(se,H.mode,ce,xe),j.return=H,j):(j=Le(j,se),j.return=H,j)}function o(H,j,se){if(typeof j=="string"||typeof j=="number")return j=_f(""+j,H.mode,se),j.return=H,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case K:return se=Bl(j.type,j.key,j.props,null,H.mode,se),se.ref=wo(H,null,j),se.return=H,se;case V:return j=Mc(j,H.mode,se),j.return=H,j}if(yu(j)||je(j))return j=Wo(j,H.mode,se,null),j.return=H,j;tl(H,j)}return null}function m(H,j,se,ce){var xe=j!==null?j.key:null;if(typeof se=="string"||typeof se=="number")return xe!==null?null:rr(H,j,""+se,ce);if(typeof se=="object"&&se!==null){switch(se.$$typeof){case K:return se.key===xe?se.type===G?n(H,j,se.props.children,ce,xe):P(H,j,se,ce):null;case V:return se.key===xe?t(H,j,se,ce):null}if(yu(se)||je(se))return xe!==null?null:n(H,j,se,ce,null);tl(H,se)}return null}function E(H,j,se,ce,xe){if(typeof ce=="string"||typeof ce=="number")return H=H.get(se)||null,rr(j,H,""+ce,xe);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case K:return H=H.get(ce.key===null?se:ce.key)||null,ce.type===G?n(j,H,ce.props.children,xe,ce.key):P(j,H,ce,xe);case V:return H=H.get(ce.key===null?se:ce.key)||null,t(j,H,ce,xe)}if(yu(ce)||je(ce))return H=H.get(se)||null,n(j,H,ce,xe,null);tl(j,ce)}return null}function T(H,j,se,ce){for(var xe=null,Ie=null,Oe=j,tt=j=0,at=null;Oe!==null&&tt<se.length;tt++){Oe.index>tt?(at=Oe,Oe=null):at=Oe.sibling;var Nt=m(H,Oe,se[tt],ce);if(Nt===null){Oe===null&&(Oe=at);break}v&&Oe&&Nt.alternate===null&&A(H,Oe),j=lt(Nt,j,tt),Ie===null?xe=Nt:Ie.sibling=Nt,Ie=Nt,Oe=at}if(tt===se.length)return Z(H,Oe),xe;if(Oe===null){for(;tt<se.length;tt++)Oe=o(H,se[tt],ce),Oe!==null&&(j=lt(Oe,j,tt),Ie===null?xe=Oe:Ie.sibling=Oe,Ie=Oe);return xe}for(Oe=ve(H,Oe);tt<se.length;tt++)at=E(Oe,H,tt,se[tt],ce),at!==null&&(v&&at.alternate!==null&&Oe.delete(at.key===null?tt:at.key),j=lt(at,j,tt),Ie===null?xe=at:Ie.sibling=at,Ie=at);return v&&Oe.forEach(function(dr){return A(H,dr)}),xe}function z(H,j,se,ce){var xe=je(se);if(typeof xe!="function")throw Error(c(150));if(se=xe.call(se),se==null)throw Error(c(151));for(var Ie=xe=null,Oe=j,tt=j=0,at=null,Nt=se.next();Oe!==null&&!Nt.done;tt++,Nt=se.next()){Oe.index>tt?(at=Oe,Oe=null):at=Oe.sibling;var dr=m(H,Oe,Nt.value,ce);if(dr===null){Oe===null&&(Oe=at);break}v&&Oe&&dr.alternate===null&&A(H,Oe),j=lt(dr,j,tt),Ie===null?xe=dr:Ie.sibling=dr,Ie=dr,Oe=at}if(Nt.done)return Z(H,Oe),xe;if(Oe===null){for(;!Nt.done;tt++,Nt=se.next())Nt=o(H,Nt.value,ce),Nt!==null&&(j=lt(Nt,j,tt),Ie===null?xe=Nt:Ie.sibling=Nt,Ie=Nt);return xe}for(Oe=ve(H,Oe);!Nt.done;tt++,Nt=se.next())Nt=E(Oe,H,tt,Nt.value,ce),Nt!==null&&(v&&Nt.alternate!==null&&Oe.delete(Nt.key===null?tt:Nt.key),j=lt(Nt,j,tt),Ie===null?xe=Nt:Ie.sibling=Nt,Ie=Nt);return v&&Oe.forEach(function(ar){return A(H,ar)}),xe}return function(H,j,se,ce){var xe=typeof se=="object"&&se!==null&&se.type===G&&se.key===null;xe&&(se=se.props.children);var Ie=typeof se=="object"&&se!==null;if(Ie)switch(se.$$typeof){case K:e:{for(Ie=se.key,xe=j;xe!==null;){if(xe.key===Ie){switch(xe.tag){case 7:if(se.type===G){Z(H,xe.sibling),j=Le(xe,se.props.children),j.return=H,H=j;break e}break;default:if(xe.elementType===se.type){Z(H,xe.sibling),j=Le(xe,se.props),j.ref=wo(H,xe,se),j.return=H,H=j;break e}}Z(H,xe);break}else A(H,xe);xe=xe.sibling}se.type===G?(j=Wo(se.props.children,H.mode,ce,se.key),j.return=H,H=j):(ce=Bl(se.type,se.key,se.props,null,H.mode,ce),ce.ref=wo(H,j,se),ce.return=H,H=ce)}return Ut(H);case V:e:{for(xe=se.key;j!==null;){if(j.key===xe)if(j.tag===4&&j.stateNode.containerInfo===se.containerInfo&&j.stateNode.implementation===se.implementation){Z(H,j.sibling),j=Le(j,se.children||[]),j.return=H,H=j;break e}else{Z(H,j);break}else A(H,j);j=j.sibling}j=Mc(se,H.mode,ce),j.return=H,H=j}return Ut(H)}if(typeof se=="string"||typeof se=="number")return se=""+se,j!==null&&j.tag===6?(Z(H,j.sibling),j=Le(j,se),j.return=H,H=j):(Z(H,j),j=_f(se,H.mode,ce),j.return=H,H=j),Ut(H);if(yu(se))return T(H,j,se,ce);if(je(se))return z(H,j,se,ce);if(Ie&&tl(H,se),typeof se=="undefined"&&!xe)switch(H.tag){case 1:case 22:case 0:case 11:case 15:throw Error(c(152,er(H.type)||"Component"))}return Z(H,j)}}var Yo=Iu(!0),zl=Iu(!1),Zs={},Uo=Ms(Zs),Du=Ms(Zs),Zl=Ms(Zs);function lu(v){if(v===Zs)throw Error(c(174));return v}function oc(v,A){switch(Ua(Zl,A),Ua(Du,v),Ua(Uo,Zs),v=A.nodeType,v){case 9:case 11:A=(A=A.documentElement)?A.namespaceURI:kt(null,"");break;default:v=v===8?A.parentNode:A,A=v.namespaceURI||null,v=v.tagName,A=kt(A,v)}da(Uo),Ua(Uo,A)}function Zu(){da(Uo),da(Du),da(Zl)}function ai(v){lu(Zl.current);var A=lu(Uo.current),Z=kt(A,v.type);A!==Z&&(Ua(Du,v),Ua(Uo,Z))}function Sc(v){Du.current===v&&(da(Uo),da(Du))}var to=Ms(0);function uc(v){for(var A=v;A!==null;){if(A.tag===13){var Z=A.memoizedState;if(Z!==null&&(Z=Z.dehydrated,Z===null||Z.data==="$?"||Z.data==="$!"))return A}else if(A.tag===19&&A.memoizedProps.revealOrder!==void 0){if(A.flags&64)return A}else if(A.child!==null){A.child.return=A,A=A.child;continue}if(A===v)break;for(;A.sibling===null;){if(A.return===null||A.return===v)return null;A=A.return}A.sibling.return=A.return,A=A.sibling}return null}var tu=null,rl=null,Hu=!1;function lc(v,A){var Z=Ho(5,null,null,0);Z.elementType="DELETED",Z.type="DELETED",Z.stateNode=A,Z.return=v,Z.flags=8,v.lastEffect!==null?(v.lastEffect.nextEffect=Z,v.lastEffect=Z):v.firstEffect=v.lastEffect=Z}function Ac(v,A){switch(v.tag){case 5:var Z=v.type;return A=A.nodeType!==1||Z.toLowerCase()!==A.nodeName.toLowerCase()?null:A,A!==null?(v.stateNode=A,!0):!1;case 6:return A=v.pendingProps===""||A.nodeType!==3?null:A,A!==null?(v.stateNode=A,!0):!1;case 13:return!1;default:return!1}}function qs(v){if(Hu){var A=rl;if(A){var Z=A;if(!Ac(v,A)){if(A=bi(Z.nextSibling),!A||!Ac(v,A)){v.flags=v.flags&-1025|2,Hu=!1,tu=v;return}lc(tu,Z)}tu=v,rl=bi(A.firstChild)}else v.flags=v.flags&-1025|2,Hu=!1,tu=v}}function cc(v){for(v=v.return;v!==null&&v.tag!==5&&v.tag!==3&&v.tag!==13;)v=v.return;tu=v}function uf(v){if(v!==tu)return!1;if(!Hu)return cc(v),Hu=!0,!1;var A=v.type;if(v.tag!==5||A!=="head"&&A!=="body"&&!Mi(A,v.memoizedProps))for(A=rl;A;)lc(v,A),A=bi(A.nextSibling);if(cc(v),v.tag===13){if(v=v.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(c(317));e:{for(v=v.nextSibling,A=0;v;){if(v.nodeType===8){var Z=v.data;if(Z==="/$"){if(A===0){rl=bi(v.nextSibling);break e}A--}else Z!=="$"&&Z!=="$!"&&Z!=="$?"||A++}v=v.nextSibling}rl=null}}else rl=tu?bi(v.stateNode.nextSibling):null;return!0}function Bo(){rl=tu=null,Hu=!1}var Cl=[];function Cc(){for(var v=0;v<Cl.length;v++)Cl[v]._workInProgressVersionPrimary=null;Cl.length=0}var Hl=U.ReactCurrentDispatcher,bu=U.ReactCurrentBatchConfig,Wl=0,Hs=null,ro=null,No=null,Wu=!1,Tl=!1;function ru(){throw Error(c(321))}function Tc(v,A){if(A===null)return!1;for(var Z=0;Z<A.length&&Z<v.length;Z++)if(!Vn(v[Z],A[Z]))return!1;return!0}function cu(v,A,Z,ve,Le,lt){if(Wl=lt,Hs=A,A.memoizedState=null,A.updateQueue=null,A.lanes=0,Hl.current=v===null||v.memoizedState===null?no:Gc,v=Z(ve,Le),Tl){lt=0;do{if(Tl=!1,!(25>lt))throw Error(c(301));lt+=1,No=ro=null,A.updateQueue=null,Hl.current=Ic,v=Z(ve,Le)}while(Tl)}if(Hl.current=Vl,A=ro!==null&&ro.next!==null,Wl=0,No=ro=Hs=null,Wu=!1,A)throw Error(c(300));return v}function Xo(){var v={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return No===null?Hs.memoizedState=No=v:No=No.next=v,No}function pl(){if(ro===null){var v=Hs.alternate;v=v!==null?v.memoizedState:null}else v=ro.next;var A=No===null?Hs.memoizedState:No.next;if(A!==null)No=A,ro=v;else{if(v===null)throw Error(c(310));ro=v,v={memoizedState:ro.memoizedState,baseState:ro.baseState,baseQueue:ro.baseQueue,queue:ro.queue,next:null},No===null?Hs.memoizedState=No=v:No=No.next=v}return No}function xu(v,A){return typeof A=="function"?A(v):A}function fc(v){var A=pl(),Z=A.queue;if(Z===null)throw Error(c(311));Z.lastRenderedReducer=v;var ve=ro,Le=ve.baseQueue,lt=Z.pending;if(lt!==null){if(Le!==null){var Ut=Le.next;Le.next=lt.next,lt.next=Ut}ve.baseQueue=Le=lt,Z.pending=null}if(Le!==null){Le=Le.next,ve=ve.baseState;var rr=Ut=lt=null,P=Le;do{var t=P.lane;if((Wl&t)===t)rr!==null&&(rr=rr.next={lane:0,action:P.action,eagerReducer:P.eagerReducer,eagerState:P.eagerState,next:null}),ve=P.eagerReducer===v?P.eagerState:v(ve,P.action);else{var n={lane:t,action:P.action,eagerReducer:P.eagerReducer,eagerState:P.eagerState,next:null};rr===null?(Ut=rr=n,lt=ve):rr=rr.next=n,Hs.lanes|=t,io|=t}P=P.next}while(P!==null&&P!==Le);rr===null?lt=ve:rr.next=Ut,Vn(ve,A.memoizedState)||(Ru=!0),A.memoizedState=ve,A.baseState=lt,A.baseQueue=rr,Z.lastRenderedState=ve}return[A.memoizedState,Z.dispatch]}function _l(v){var A=pl(),Z=A.queue;if(Z===null)throw Error(c(311));Z.lastRenderedReducer=v;var ve=Z.dispatch,Le=Z.pending,lt=A.memoizedState;if(Le!==null){Z.pending=null;var Ut=Le=Le.next;do lt=v(lt,Ut.action),Ut=Ut.next;while(Ut!==Le);Vn(lt,A.memoizedState)||(Ru=!0),A.memoizedState=lt,A.baseQueue===null&&(A.baseState=lt),Z.lastRenderedState=lt}return[lt,ve]}function Ra(v,A,Z){var ve=A._getVersion;ve=ve(A._source);var Le=A._workInProgressVersionPrimary;if(Le!==null?v=Le===ve:(v=v.mutableReadLanes,(v=(Wl&v)===v)&&(A._workInProgressVersionPrimary=ve,Cl.push(A))),v)return Z(A._source);throw Cl.push(A),Error(c(350))}function lf(v,A,Z,ve){var Le=en;if(Le===null)throw Error(c(349));var lt=A._getVersion,Ut=lt(A._source),rr=Hl.current,P=rr.useState(function(){return Ra(Le,A,Z)}),t=P[1],n=P[0];P=No;var o=v.memoizedState,m=o.refs,E=m.getSnapshot,T=o.source;o=o.subscribe;var z=Hs;return v.memoizedState={refs:m,source:A,subscribe:ve},rr.useEffect(function(){m.getSnapshot=Z,m.setSnapshot=t;var H=lt(A._source);if(!Vn(Ut,H)){H=Z(A._source),Vn(n,H)||(t(H),H=$u(z),Le.mutableReadLanes|=H&Le.pendingLanes),H=Le.mutableReadLanes,Le.entangledLanes|=H;for(var j=Le.entanglements,se=H;0<se;){var ce=31-gi(se),xe=1<<ce;j[ce]|=H,se&=~xe}}},[Z,A,ve]),rr.useEffect(function(){return ve(A._source,function(){var H=m.getSnapshot,j=m.setSnapshot;try{j(H(A._source));var se=$u(z);Le.mutableReadLanes|=se&Le.pendingLanes}catch(ce){j(function(){throw ce})}})},[A,ve]),Vn(E,Z)&&Vn(T,A)&&Vn(o,ve)||(v={pending:null,dispatch:null,lastRenderedReducer:xu,lastRenderedState:n},v.dispatch=t=Wc.bind(null,Hs,v),P.queue=v,P.baseQueue=null,n=Ra(Le,A,Z),P.memoizedState=P.baseState=n),n}function zc(v,A,Z){var ve=pl();return lf(ve,v,A,Z)}function Ou(v){var A=Xo();return typeof v=="function"&&(v=v()),A.memoizedState=A.baseState=v,v=A.queue={pending:null,dispatch:null,lastRenderedReducer:xu,lastRenderedState:v},v=v.dispatch=Wc.bind(null,Hs,v),[A.memoizedState,v]}function Pc(v,A,Z,ve){return v={tag:v,create:A,destroy:Z,deps:ve,next:null},A=Hs.updateQueue,A===null?(A={lastEffect:null},Hs.updateQueue=A,A.lastEffect=v.next=v):(Z=A.lastEffect,Z===null?A.lastEffect=v.next=v:(ve=Z.next,Z.next=v,v.next=ve,A.lastEffect=v)),v}function cf(v){var A=Xo();return v={current:v},A.memoizedState=v}function dc(){return pl().memoizedState}function nu(v,A,Z,ve){var Le=Xo();Hs.flags|=v,Le.memoizedState=Pc(1|A,Z,void 0,ve===void 0?null:ve)}function Zc(v,A,Z,ve){var Le=pl();ve=ve===void 0?null:ve;var lt=void 0;if(ro!==null){var Ut=ro.memoizedState;if(lt=Ut.destroy,ve!==null&&Tc(ve,Ut.deps)){Pc(A,Z,lt,ve);return}}Hs.flags|=v,Le.memoizedState=Pc(1|A,Z,lt,ve)}function hc(v,A){return nu(516,4,v,A)}function Gl(v,A){return Zc(516,4,v,A)}function Hc(v,A){return Zc(4,2,v,A)}function pc(v,A){if(typeof A=="function")return v=v(),A(v),function(){A(null)};if(A!=null)return v=v(),A.current=v,function(){A.current=null}}function zo(v,A,Z){return Z=Z!=null?Z.concat([v]):null,Zc(4,2,pc.bind(null,A,v),Z)}function Gu(){}function Pl(v,A){var Z=pl();A=A===void 0?null:A;var ve=Z.memoizedState;return ve!==null&&A!==null&&Tc(A,ve[1])?ve[0]:(Z.memoizedState=[v,A],v)}function Eu(v,A){var Z=pl();A=A===void 0?null:A;var ve=Z.memoizedState;return ve!==null&&A!==null&&Tc(A,ve[1])?ve[0]:(v=v(),Z.memoizedState=[v,A],v)}function _c(v,A){var Z=Bt();Tr(98>Z?98:Z,function(){v(!0)}),Tr(97<Z?97:Z,function(){var ve=bu.transition;bu.transition=1;try{v(!1),A()}finally{bu.transition=ve}})}function Wc(v,A,Z){var ve=hu(),Le=$u(v),lt={lane:Le,action:Z,eagerReducer:null,eagerState:null,next:null},Ut=A.pending;if(Ut===null?lt.next=lt:(lt.next=Ut.next,Ut.next=lt),A.pending=lt,Ut=v.alternate,v===Hs||Ut!==null&&Ut===Hs)Tl=Wu=!0;else{if(v.lanes===0&&(Ut===null||Ut.lanes===0)&&(Ut=A.lastRenderedReducer,Ut!==null))try{var rr=A.lastRenderedState,P=Ut(rr,Z);if(lt.eagerReducer=Ut,lt.eagerState=P,Vn(P,rr))return}catch(t){}finally{}El(v,Le,ve)}}var Vl={readContext:Aa,useCallback:ru,useContext:ru,useEffect:ru,useImperativeHandle:ru,useLayoutEffect:ru,useMemo:ru,useReducer:ru,useRef:ru,useState:ru,useDebugValue:ru,useDeferredValue:ru,useTransition:ru,useMutableSource:ru,useOpaqueIdentifier:ru,unstable_isNewReconciler:!1},no={readContext:Aa,useCallback:function(v,A){return Xo().memoizedState=[v,A===void 0?null:A],v},useContext:Aa,useEffect:hc,useImperativeHandle:function(v,A,Z){return Z=Z!=null?Z.concat([v]):null,nu(4,2,pc.bind(null,A,v),Z)},useLayoutEffect:function(v,A){return nu(4,2,v,A)},useMemo:function(v,A){var Z=Xo();return A=A===void 0?null:A,v=v(),Z.memoizedState=[v,A],v},useReducer:function(v,A,Z){var ve=Xo();return A=Z!==void 0?Z(A):A,ve.memoizedState=ve.baseState=A,v=ve.queue={pending:null,dispatch:null,lastRenderedReducer:v,lastRenderedState:A},v=v.dispatch=Wc.bind(null,Hs,v),[ve.memoizedState,v]},useRef:cf,useState:Ou,useDebugValue:Gu,useDeferredValue:function(v){var A=Ou(v),Z=A[0],ve=A[1];return hc(function(){var Le=bu.transition;bu.transition=1;try{ve(v)}finally{bu.transition=Le}},[v]),Z},useTransition:function(){var v=Ou(!1),A=v[0];return v=_c.bind(null,v[1]),cf(v),[v,A]},useMutableSource:function(v,A,Z){var ve=Xo();return ve.memoizedState={refs:{getSnapshot:A,setSnapshot:null},source:v,subscribe:Z},lf(ve,v,A,Z)},useOpaqueIdentifier:function(){if(Hu){var v=!1,A=Es(function(){throw v||(v=!0,Z("r:"+(Ks++).toString(36))),Error(c(355))}),Z=Ou(A)[1];return!(Hs.mode&2)&&(Hs.flags|=516,Pc(5,function(){Z("r:"+(Ks++).toString(36))},void 0,null)),A}return A="r:"+(Ks++).toString(36),Ou(A),A},unstable_isNewReconciler:!1},Gc={readContext:Aa,useCallback:Pl,useContext:Aa,useEffect:Gl,useImperativeHandle:zo,useLayoutEffect:Hc,useMemo:Eu,useReducer:fc,useRef:dc,useState:function(){return fc(xu)},useDebugValue:Gu,useDeferredValue:function(v){var A=fc(xu),Z=A[0],ve=A[1];return Gl(function(){var Le=bu.transition;bu.transition=1;try{ve(v)}finally{bu.transition=Le}},[v]),Z},useTransition:function(){var v=fc(xu)[0];return[dc().current,v]},useMutableSource:zc,useOpaqueIdentifier:function(){return fc(xu)[0]},unstable_isNewReconciler:!1},Ic={readContext:Aa,useCallback:Pl,useContext:Aa,useEffect:Gl,useImperativeHandle:zo,useLayoutEffect:Hc,useMemo:Eu,useReducer:_l,useRef:dc,useState:function(){return _l(xu)},useDebugValue:Gu,useDeferredValue:function(v){var A=_l(xu),Z=A[0],ve=A[1];return Gl(function(){var Le=bu.transition;bu.transition=1;try{ve(v)}finally{bu.transition=Le}},[v]),Z},useTransition:function(){var v=_l(xu)[0];return[dc().current,v]},useMutableSource:zc,useOpaqueIdentifier:function(){return _l(xu)[0]},unstable_isNewReconciler:!1},ku=U.ReactCurrentOwner,Ru=!1;function $s(v,A,Z,ve){A.child=v===null?zl(A,null,Z,ve):Yo(A,v.child,Z,ve)}function ml(v,A,Z,ve,Le){Z=Z.render;var lt=A.ref;return as(A,Le),ve=cu(v,A,Z,ve,lt,Le),v!==null&&!Ru?(A.updateQueue=v.updateQueue,A.flags&=-517,v.lanes&=~Le,Su(v,A,Le)):(A.flags|=1,$s(v,A,ve,Le),A.child)}function ff(v,A,Z,ve,Le,lt){if(v===null){var Ut=Z.type;return typeof Ut=="function"&&!tf(Ut)&&Ut.defaultProps===void 0&&Z.compare===null&&Z.defaultProps===void 0?(A.tag=15,A.type=Ut,mc(v,A,Ut,ve,Le,lt)):(v=Bl(Z.type,null,ve,A,A.mode,lt),v.ref=A.ref,v.return=A,A.child=v)}return Ut=v.child,!(Le&lt)&&(Le=Ut.memoizedProps,Z=Z.compare,Z=Z!==null?Z:Qi,Z(Le,ve)&&v.ref===A.ref)?Su(v,A,lt):(A.flags|=1,v=fl(Ut,ve),v.ref=A.ref,v.return=A,A.child=v)}function mc(v,A,Z,ve,Le,lt){if(v!==null&&Qi(v.memoizedProps,ve)&&v.ref===A.ref)if(Ru=!1,(lt&Le)!==0)v.flags&16384&&(Ru=!0);else return A.lanes=v.lanes,Su(v,A,lt);return ko(v,A,Z,ve,lt)}function Vc(v,A,Z){var ve=A.pendingProps,Le=ve.children,lt=v!==null?v.memoizedState:null;if(ve.mode==="hidden"||ve.mode==="unstable-defer-without-hiding")if(!(A.mode&4))A.memoizedState={baseLanes:0},zi(A,Z);else if(Z&1073741824)A.memoizedState={baseLanes:0},zi(A,lt!==null?lt.baseLanes:Z);else return v=lt!==null?lt.baseLanes|Z:Z,A.lanes=A.childLanes=1073741824,A.memoizedState={baseLanes:v},zi(A,v),null;else lt!==null?(ve=lt.baseLanes|Z,A.memoizedState=null):ve=Z,zi(A,ve);return $s(v,A,Le,Z),A.child}function vl(v,A){var Z=A.ref;(v===null&&Z!==null||v!==null&&v.ref!==Z)&&(A.flags|=128)}function ko(v,A,Z,ve,Le){var lt=Jr(Z)?Se:ga.current;return lt=yr(A,lt),as(A,Le),Z=cu(v,A,Z,ve,lt,Le),v!==null&&!Ru?(A.updateQueue=v.updateQueue,A.flags&=-517,v.lanes&=~Le,Su(v,A,Le)):(A.flags|=1,$s(v,A,Z,Le),A.child)}function Il(v,A,Z,ve,Le){if(Jr(Z)){var lt=!0;ri(A)}else lt=!1;if(as(A,Le),A.stateNode===null)v!==null&&(v.alternate=null,A.alternate=null,A.flags|=2),gu(A,Z,ve),uu(A,Z,ve,Le),ve=!0;else if(v===null){var Ut=A.stateNode,rr=A.memoizedProps;Ut.props=rr;var P=Ut.context,t=Z.contextType;typeof t=="object"&&t!==null?t=Aa(t):(t=Jr(Z)?Se:ga.current,t=yr(A,t));var n=Z.getDerivedStateFromProps,o=typeof n=="function"||typeof Ut.getSnapshotBeforeUpdate=="function";o||typeof Ut.UNSAFE_componentWillReceiveProps!="function"&&typeof Ut.componentWillReceiveProps!="function"||(rr!==ve||P!==t)&&ss(A,Ut,ve,t),Fs=!1;var m=A.memoizedState;Ut.state=m,za(A,ve,Ut,Le),P=A.memoizedState,rr!==ve||m!==P||ye.current||Fs?(typeof n=="function"&&(Al(A,Z,n,ve),P=A.memoizedState),(rr=Fs||el(A,Z,rr,ve,m,P,t))?(o||typeof Ut.UNSAFE_componentWillMount!="function"&&typeof Ut.componentWillMount!="function"||(typeof Ut.componentWillMount=="function"&&Ut.componentWillMount(),typeof Ut.UNSAFE_componentWillMount=="function"&&Ut.UNSAFE_componentWillMount()),typeof Ut.componentDidMount=="function"&&(A.flags|=4)):(typeof Ut.componentDidMount=="function"&&(A.flags|=4),A.memoizedProps=ve,A.memoizedState=P),Ut.props=ve,Ut.state=P,Ut.context=t,ve=rr):(typeof Ut.componentDidMount=="function"&&(A.flags|=4),ve=!1)}else{Ut=A.stateNode,fi(v,A),rr=A.memoizedProps,t=A.type===A.elementType?rr:Wn(A.type,rr),Ut.props=t,o=A.pendingProps,m=Ut.context,P=Z.contextType,typeof P=="object"&&P!==null?P=Aa(P):(P=Jr(Z)?Se:ga.current,P=yr(A,P));var E=Z.getDerivedStateFromProps;(n=typeof E=="function"||typeof Ut.getSnapshotBeforeUpdate=="function")||typeof Ut.UNSAFE_componentWillReceiveProps!="function"&&typeof Ut.componentWillReceiveProps!="function"||(rr!==o||m!==P)&&ss(A,Ut,ve,P),Fs=!1,m=A.memoizedState,Ut.state=m,za(A,ve,Ut,Le);var T=A.memoizedState;rr!==o||m!==T||ye.current||Fs?(typeof E=="function"&&(Al(A,Z,E,ve),T=A.memoizedState),(t=Fs||el(A,Z,t,ve,m,T,P))?(n||typeof Ut.UNSAFE_componentWillUpdate!="function"&&typeof Ut.componentWillUpdate!="function"||(typeof Ut.componentWillUpdate=="function"&&Ut.componentWillUpdate(ve,T,P),typeof Ut.UNSAFE_componentWillUpdate=="function"&&Ut.UNSAFE_componentWillUpdate(ve,T,P)),typeof Ut.componentDidUpdate=="function"&&(A.flags|=4),typeof Ut.getSnapshotBeforeUpdate=="function"&&(A.flags|=256)):(typeof Ut.componentDidUpdate!="function"||rr===v.memoizedProps&&m===v.memoizedState||(A.flags|=4),typeof Ut.getSnapshotBeforeUpdate!="function"||rr===v.memoizedProps&&m===v.memoizedState||(A.flags|=256),A.memoizedProps=ve,A.memoizedState=T),Ut.props=ve,Ut.state=T,Ut.context=P,ve=t):(typeof Ut.componentDidUpdate!="function"||rr===v.memoizedProps&&m===v.memoizedState||(A.flags|=4),typeof Ut.getSnapshotBeforeUpdate!="function"||rr===v.memoizedProps&&m===v.memoizedState||(A.flags|=256),ve=!1)}return ze(v,A,Z,ve,lt,Le)}function ze(v,A,Z,ve,Le,lt){vl(v,A);var Ut=(A.flags&64)!==0;if(!ve&&!Ut)return Le&&Fi(A,Z,!1),Su(v,A,lt);ve=A.stateNode,ku.current=A;var rr=Ut&&typeof Z.getDerivedStateFromError!="function"?null:ve.render();return A.flags|=1,v!==null&&Ut?(A.child=Yo(A,v.child,null,lt),A.child=Yo(A,null,rr,lt)):$s(v,A,rr,lt),A.memoizedState=ve.state,Le&&Fi(A,Z,!0),A.child}function wu(v){var A=v.stateNode;A.pendingContext?Qr(v,A.pendingContext,A.pendingContext!==A.context):A.context&&Qr(v,A.context,!1),oc(v,A.containerInfo)}var Qo={dehydrated:null,retryLane:0};function Kl(v,A,Z){var ve=A.pendingProps,Le=to.current,lt=!1,Ut;return(Ut=(A.flags&64)!==0)||(Ut=v!==null&&v.memoizedState===null?!1:(Le&2)!==0),Ut?(lt=!0,A.flags&=-65):v!==null&&v.memoizedState===null||ve.fallback===void 0||ve.unstable_avoidThisFallback===!0||(Le|=1),Ua(to,Le&1),v===null?(ve.fallback!==void 0&&qs(A),v=ve.children,Le=ve.fallback,lt?(v=$o(A,v,Le,Z),A.child.memoizedState={baseLanes:Z},A.memoizedState=Qo,v):typeof ve.unstable_expectedLoadTime=="number"?(v=$o(A,v,Le,Z),A.child.memoizedState={baseLanes:Z},A.memoizedState=Qo,A.lanes=33554432,v):(Z=Ec({mode:"visible",children:v},A.mode,Z,null),Z.return=A,A.child=Z)):v.memoizedState!==null?lt?(ve=Yl(v,A,ve.children,ve.fallback,Z),lt=A.child,Le=v.child.memoizedState,lt.memoizedState=Le===null?{baseLanes:Z}:{baseLanes:Le.baseLanes|Z},lt.childLanes=v.childLanes&~Z,A.memoizedState=Qo,ve):(Z=fu(v,A,ve.children,Z),A.memoizedState=null,Z):lt?(ve=Yl(v,A,ve.children,ve.fallback,Z),lt=A.child,Le=v.child.memoizedState,lt.memoizedState=Le===null?{baseLanes:Z}:{baseLanes:Le.baseLanes|Z},lt.childLanes=v.childLanes&~Z,A.memoizedState=Qo,ve):(Z=fu(v,A,ve.children,Z),A.memoizedState=null,Z)}function $o(v,A,Z,ve){var Le=v.mode,lt=v.child;return A={mode:"hidden",children:A},!(Le&2)&&lt!==null?(lt.childLanes=0,lt.pendingProps=A):lt=Ec(A,Le,0,null),Z=Wo(Z,Le,ve,null),lt.return=v,Z.return=v,lt.sibling=Z,v.child=lt,Z}function fu(v,A,Z,ve){var Le=v.child;return v=Le.sibling,Z=fl(Le,{mode:"visible",children:Z}),!(A.mode&2)&&(Z.lanes=ve),Z.return=A,Z.sibling=null,v!==null&&(v.nextEffect=null,v.flags=8,A.firstEffect=A.lastEffect=v),A.child=Z}function Yl(v,A,Z,ve,Le){var lt=A.mode,Ut=v.child;v=Ut.sibling;var rr={mode:"hidden",children:Z};return!(lt&2)&&A.child!==Ut?(Z=A.child,Z.childLanes=0,Z.pendingProps=rr,Ut=Z.lastEffect,Ut!==null?(A.firstEffect=Z.firstEffect,A.lastEffect=Ut,Ut.nextEffect=null):A.firstEffect=A.lastEffect=null):Z=fl(Ut,rr),v!==null?ve=fl(v,ve):(ve=Wo(ve,lt,Le,null),ve.flags|=2),ve.return=A,Z.return=A,Z.sibling=ve,A.child=Z,ve}function Lu(v,A){v.lanes|=A;var Z=v.alternate;Z!==null&&(Z.lanes|=A),ws(v.return,A)}function So(v,A,Z,ve,Le,lt){var Ut=v.memoizedState;Ut===null?v.memoizedState={isBackwards:A,rendering:null,renderingStartTime:0,last:ve,tail:Z,tailMode:Le,lastEffect:lt}:(Ut.isBackwards=A,Ut.rendering=null,Ut.renderingStartTime=0,Ut.last=ve,Ut.tail=Z,Ut.tailMode=Le,Ut.lastEffect=lt)}function nl(v,A,Z){var ve=A.pendingProps,Le=ve.revealOrder,lt=ve.tail;if($s(v,A,ve.children,Z),ve=to.current,ve&2)ve=ve&1|2,A.flags|=64;else{if(v!==null&&v.flags&64)e:for(v=A.child;v!==null;){if(v.tag===13)v.memoizedState!==null&&Lu(v,Z);else if(v.tag===19)Lu(v,Z);else if(v.child!==null){v.child.return=v,v=v.child;continue}if(v===A)break e;for(;v.sibling===null;){if(v.return===null||v.return===A)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}ve&=1}if(Ua(to,ve),!(A.mode&2))A.memoizedState=null;else switch(Le){case"forwards":for(Z=A.child,Le=null;Z!==null;)v=Z.alternate,v!==null&&uc(v)===null&&(Le=Z),Z=Z.sibling;Z=Le,Z===null?(Le=A.child,A.child=null):(Le=Z.sibling,Z.sibling=null),So(A,!1,Le,Z,lt,A.lastEffect);break;case"backwards":for(Z=null,Le=A.child,A.child=null;Le!==null;){if(v=Le.alternate,v!==null&&uc(v)===null){A.child=Le;break}v=Le.sibling,Le.sibling=Z,Z=Le,Le=v}So(A,!0,Z,null,lt,A.lastEffect);break;case"together":So(A,!1,null,null,void 0,A.lastEffect);break;default:A.memoizedState=null}return A.child}function Su(v,A,Z){if(v!==null&&(A.dependencies=v.dependencies),io|=A.lanes,Z&A.childLanes){if(v!==null&&A.child!==v.child)throw Error(c(153));if(A.child!==null){for(v=A.child,Z=fl(v,v.pendingProps),A.child=Z,Z.return=A;v.sibling!==null;)v=v.sibling,Z=Z.sibling=fl(v,v.pendingProps),Z.return=A;Z.sibling=null}return A.child}return null}var vc,Mu,Zo,il;vc=function(v,A){for(var Z=A.child;Z!==null;){if(Z.tag===5||Z.tag===6)v.appendChild(Z.stateNode);else if(Z.tag!==4&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===A)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===A)return;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}},Mu=function(){},Zo=function(v,A,Z,ve){var Le=v.memoizedProps;if(Le!==ve){v=A.stateNode,lu(Uo.current);var lt=null;switch(Z){case"input":Le=ht(v,Le),ve=ht(v,ve),lt=[];break;case"option":Le=He(v,Le),ve=He(v,ve),lt=[];break;case"select":Le=i({},Le,{value:void 0}),ve=i({},ve,{value:void 0}),lt=[];break;case"textarea":Le=ct(v,Le),ve=ct(v,ve),lt=[];break;default:typeof Le.onClick!="function"&&typeof ve.onClick=="function"&&(v.onclick=ni)}Pe(Z,ve);var Ut;Z=null;for(t in Le)if(!ve.hasOwnProperty(t)&&Le.hasOwnProperty(t)&&Le[t]!=null)if(t==="style"){var rr=Le[t];for(Ut in rr)rr.hasOwnProperty(Ut)&&(Z||(Z={}),Z[Ut]="")}else t!=="dangerouslySetInnerHTML"&&t!=="children"&&t!=="suppressContentEditableWarning"&&t!=="suppressHydrationWarning"&&t!=="autoFocus"&&(s.hasOwnProperty(t)?lt||(lt=[]):(lt=lt||[]).push(t,null));for(t in ve){var P=ve[t];if(rr=Le!=null?Le[t]:void 0,ve.hasOwnProperty(t)&&P!==rr&&(P!=null||rr!=null))if(t==="style")if(rr){for(Ut in rr)!rr.hasOwnProperty(Ut)||P&&P.hasOwnProperty(Ut)||(Z||(Z={}),Z[Ut]="");for(Ut in P)P.hasOwnProperty(Ut)&&rr[Ut]!==P[Ut]&&(Z||(Z={}),Z[Ut]=P[Ut])}else Z||(lt||(lt=[]),lt.push(t,Z)),Z=P;else t==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,rr=rr?rr.__html:void 0,P!=null&&rr!==P&&(lt=lt||[]).push(t,P)):t==="children"?typeof P!="string"&&typeof P!="number"||(lt=lt||[]).push(t,""+P):t!=="suppressContentEditableWarning"&&t!=="suppressHydrationWarning"&&(s.hasOwnProperty(t)?(P!=null&&t==="onScroll"&&Qe("scroll",v),lt||rr===P||(lt=[])):typeof P=="object"&&P!==null&&P.$$typeof===F?P.toString():(lt=lt||[]).push(t,P))}Z&&(lt=lt||[]).push("style",Z);var t=lt;(A.updateQueue=t)&&(A.flags|=4)}},il=function(v,A,Z,ve){Z!==ve&&(A.flags|=4)};function Au(v,A){if(!Hu)switch(v.tailMode){case"hidden":A=v.tail;for(var Z=null;A!==null;)A.alternate!==null&&(Z=A),A=A.sibling;Z===null?v.tail=null:Z.sibling=null;break;case"collapsed":Z=v.tail;for(var ve=null;Z!==null;)Z.alternate!==null&&(ve=Z),Z=Z.sibling;ve===null?A||v.tail===null?v.tail=null:v.tail.sibling=null:ve.sibling=null}}function Dc(v,A,Z){var ve=A.pendingProps;switch(A.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Jr(A.type)&&br(),null;case 3:return Zu(),da(ye),da(ga),Cc(),ve=A.stateNode,ve.pendingContext&&(ve.context=ve.pendingContext,ve.pendingContext=null),(v===null||v.child===null)&&(uf(A)?A.flags|=4:ve.hydrate||(A.flags|=256)),Mu(A),null;case 5:Sc(A);var Le=lu(Zl.current);if(Z=A.type,v!==null&&A.stateNode!=null)Zo(v,A,Z,ve,Le),v.ref!==A.ref&&(A.flags|=128);else{if(!ve){if(A.stateNode===null)throw Error(c(166));return null}if(v=lu(Uo.current),uf(A)){ve=A.stateNode,Z=A.type;var lt=A.memoizedProps;switch(ve[ka]=A,ve[ea]=lt,Z){case"dialog":Qe("cancel",ve),Qe("close",ve);break;case"iframe":case"object":case"embed":Qe("load",ve);break;case"video":case"audio":for(v=0;v<In.length;v++)Qe(In[v],ve);break;case"source":Qe("error",ve);break;case"img":case"image":case"link":Qe("error",ve),Qe("load",ve);break;case"details":Qe("toggle",ve);break;case"input":Je(ve,lt),Qe("invalid",ve);break;case"select":ve._wrapperState={wasMultiple:!!lt.multiple},Qe("invalid",ve);break;case"textarea":Vt(ve,lt),Qe("invalid",ve)}Pe(Z,lt),v=null;for(var Ut in lt)lt.hasOwnProperty(Ut)&&(Le=lt[Ut],Ut==="children"?typeof Le=="string"?ve.textContent!==Le&&(v=["children",Le]):typeof Le=="number"&&ve.textContent!==""+Le&&(v=["children",""+Le]):s.hasOwnProperty(Ut)&&Le!=null&&Ut==="onScroll"&&Qe("scroll",ve));switch(Z){case"input":zt(ve),Ae(ve,lt,!0);break;case"textarea":zt(ve),De(ve);break;case"select":case"option":break;default:typeof lt.onClick=="function"&&(ve.onclick=ni)}ve=v,A.updateQueue=ve,ve!==null&&(A.flags|=4)}else{switch(Ut=Le.nodeType===9?Le:Le.ownerDocument,v===qe.html&&(v=Gt(Z)),v===qe.html?Z==="script"?(v=Ut.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild)):typeof ve.is=="string"?v=Ut.createElement(Z,{is:ve.is}):(v=Ut.createElement(Z),Z==="select"&&(Ut=v,ve.multiple?Ut.multiple=!0:ve.size&&(Ut.size=ve.size))):v=Ut.createElementNS(v,Z),v[ka]=A,v[ea]=ve,vc(v,A,!1,!1),A.stateNode=v,Ut=dt(Z,ve),Z){case"dialog":Qe("cancel",v),Qe("close",v),Le=ve;break;case"iframe":case"object":case"embed":Qe("load",v),Le=ve;break;case"video":case"audio":for(Le=0;Le<In.length;Le++)Qe(In[Le],v);Le=ve;break;case"source":Qe("error",v),Le=ve;break;case"img":case"image":case"link":Qe("error",v),Qe("load",v),Le=ve;break;case"details":Qe("toggle",v),Le=ve;break;case"input":Je(v,ve),Le=ht(v,ve),Qe("invalid",v);break;case"option":Le=He(v,ve);break;case"select":v._wrapperState={wasMultiple:!!ve.multiple},Le=i({},ve,{value:void 0}),Qe("invalid",v);break;case"textarea":Vt(v,ve),Le=ct(v,ve),Qe("invalid",v);break;default:Le=ve}Pe(Z,Le);var rr=Le;for(lt in rr)if(rr.hasOwnProperty(lt)){var P=rr[lt];lt==="style"?_e(v,P):lt==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,P!=null&&$t(v,P)):lt==="children"?typeof P=="string"?(Z!=="textarea"||P!=="")&&Ct(v,P):typeof P=="number"&&Ct(v,""+P):lt!=="suppressContentEditableWarning"&&lt!=="suppressHydrationWarning"&&lt!=="autoFocus"&&(s.hasOwnProperty(lt)?P!=null&&lt==="onScroll"&&Qe("scroll",v):P!=null&&$(v,lt,P,Ut))}switch(Z){case"input":zt(v),Ae(v,ve,!1);break;case"textarea":zt(v),De(v);break;case"option":ve.value!=null&&v.setAttribute("value",""+Jt(ve.value));break;case"select":v.multiple=!!ve.multiple,lt=ve.value,lt!=null?nt(v,!!ve.multiple,lt,!1):ve.defaultValue!=null&&nt(v,!!ve.multiple,ve.defaultValue,!0);break;default:typeof Le.onClick=="function"&&(v.onclick=ni)}Hi(Z,ve)&&(A.flags|=4)}A.ref!==null&&(A.flags|=128)}return null;case 6:if(v&&A.stateNode!=null)il(v,A,v.memoizedProps,ve);else{if(typeof ve!="string"&&A.stateNode===null)throw Error(c(166));Z=lu(Zl.current),lu(Uo.current),uf(A)?(ve=A.stateNode,Z=A.memoizedProps,ve[ka]=A,ve.nodeValue!==Z&&(A.flags|=4)):(ve=(Z.nodeType===9?Z:Z.ownerDocument).createTextNode(ve),ve[ka]=A,A.stateNode=ve)}return null;case 13:return da(to),ve=A.memoizedState,A.flags&64?(A.lanes=Z,A):(ve=ve!==null,Z=!1,v===null?A.memoizedProps.fallback!==void 0&&uf(A):Z=v.memoizedState!==null,ve&&!Z&&A.mode&2&&(v===null&&A.memoizedProps.unstable_avoidThisFallback!==!0||to.current&1?Oa===0&&(Oa=3):((Oa===0||Oa===3)&&(Oa=4),en===null||!(io&134217727)&&!(ys&134217727)||Ml(en,dn))),(ve||Z)&&(A.flags|=4),null);case 4:return Zu(),Mu(A),v===null&&Kt(A.stateNode.containerInfo),null;case 10:return Za(A),null;case 17:return Jr(A.type)&&br(),null;case 19:if(da(to),ve=A.memoizedState,ve===null)return null;if(lt=(A.flags&64)!==0,Ut=ve.rendering,Ut===null)if(lt)Au(ve,!1);else{if(Oa!==0||v!==null&&v.flags&64)for(v=A.child;v!==null;){if(Ut=uc(v),Ut!==null){for(A.flags|=64,Au(ve,!1),lt=Ut.updateQueue,lt!==null&&(A.updateQueue=lt,A.flags|=4),ve.lastEffect===null&&(A.firstEffect=null),A.lastEffect=ve.lastEffect,ve=Z,Z=A.child;Z!==null;)lt=Z,v=ve,lt.flags&=2,lt.nextEffect=null,lt.firstEffect=null,lt.lastEffect=null,Ut=lt.alternate,Ut===null?(lt.childLanes=0,lt.lanes=v,lt.child=null,lt.memoizedProps=null,lt.memoizedState=null,lt.updateQueue=null,lt.dependencies=null,lt.stateNode=null):(lt.childLanes=Ut.childLanes,lt.lanes=Ut.lanes,lt.child=Ut.child,lt.memoizedProps=Ut.memoizedProps,lt.memoizedState=Ut.memoizedState,lt.updateQueue=Ut.updateQueue,lt.type=Ut.type,v=Ut.dependencies,lt.dependencies=v===null?null:{lanes:v.lanes,firstContext:v.firstContext}),Z=Z.sibling;return Ua(to,to.current&1|2),A.child}v=v.sibling}ve.tail!==null&&xt()>bc&&(A.flags|=64,lt=!0,Au(ve,!1),A.lanes=33554432)}else{if(!lt)if(v=uc(Ut),v!==null){if(A.flags|=64,lt=!0,Z=v.updateQueue,Z!==null&&(A.updateQueue=Z,A.flags|=4),Au(ve,!0),ve.tail===null&&ve.tailMode==="hidden"&&!Ut.alternate&&!Hu)return A=A.lastEffect=ve.lastEffect,A!==null&&(A.nextEffect=null),null}else 2*xt()-ve.renderingStartTime>bc&&Z!==1073741824&&(A.flags|=64,lt=!0,Au(ve,!1),A.lanes=33554432);ve.isBackwards?(Ut.sibling=A.child,A.child=Ut):(Z=ve.last,Z!==null?Z.sibling=Ut:A.child=Ut,ve.last=Ut)}return ve.tail!==null?(Z=ve.tail,ve.rendering=Z,ve.tail=Z.sibling,ve.lastEffect=A.lastEffect,ve.renderingStartTime=xt(),Z.sibling=null,A=to.current,Ua(to,lt?A&1|2:A&1),Z):null;case 23:case 24:return ua(),v!==null&&v.memoizedState!==null!=(A.memoizedState!==null)&&ve.mode!=="unstable-defer-without-hiding"&&(A.flags|=4),null}throw Error(c(156,A.tag))}function Kc(v){switch(v.tag){case 1:Jr(v.type)&&br();var A=v.flags;return A&4096?(v.flags=A&-4097|64,v):null;case 3:if(Zu(),da(ye),da(ga),Cc(),A=v.flags,A&64)throw Error(c(285));return v.flags=A&-4097|64,v;case 5:return Sc(v),null;case 13:return da(to),A=v.flags,A&4096?(v.flags=A&-4097|64,v):null;case 19:return da(to),null;case 4:return Zu(),null;case 10:return Za(v),null;case 23:case 24:return ua(),null;default:return null}}function oo(v,A){try{var Z="",ve=A;do Z+=qt(ve),ve=ve.return;while(ve);var Le=Z}catch(lt){Le=`
Error generating stack: `+lt.message+`
`+lt.stack}return{value:v,source:A,stack:Le}}function du(v,A){try{console.error(A.value)}catch(Z){setTimeout(function(){throw Z})}}var Dl=typeof WeakMap=="function"?WeakMap:Map;function Xl(v,A,Z){Z=Qs(-1,Z),Z.tag=3,Z.payload={element:null};var ve=A.value;return Z.callback=function(){tc||(tc=!0,Rl=ve),du(v,A)},Z}function Ql(v,A,Z){Z=Qs(-1,Z),Z.tag=3;var ve=v.type.getDerivedStateFromError;if(typeof ve=="function"){var Le=A.value;Z.payload=function(){return du(v,A),ve(Le)}}var lt=v.stateNode;return lt!==null&&typeof lt.componentDidCatch=="function"&&(Z.callback=function(){typeof ve!="function"&&(Ro===null?Ro=new Set([this]):Ro.add(this),du(v,A));var Ut=A.stack;this.componentDidCatch(A.value,{componentStack:Ut!==null?Ut:""})}),Z}var gl=typeof WeakSet=="function"?WeakSet:Set;function Ol(v){var A=v.ref;if(A!==null)if(typeof A=="function")try{A(null)}catch(Z){cl(v,Z)}else A.current=null}function df(v,A){switch(A.tag){case 0:case 11:case 15:case 22:return;case 1:if(A.flags&256&&v!==null){var Z=v.memoizedProps,ve=v.memoizedState;v=A.stateNode,A=v.getSnapshotBeforeUpdate(A.elementType===A.type?Z:Wn(A.type,Z),ve),v.__reactInternalSnapshotBeforeUpdate=A}return;case 3:A.flags&256&&Ci(A.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(c(163))}function kl(v,A,Z){switch(Z.tag){case 0:case 11:case 15:case 22:if(A=Z.updateQueue,A=A!==null?A.lastEffect:null,A!==null){v=A=A.next;do{if((v.tag&3)===3){var ve=v.create;v.destroy=ve()}v=v.next}while(v!==A)}if(A=Z.updateQueue,A=A!==null?A.lastEffect:null,A!==null){v=A=A.next;do{var Le=v;ve=Le.next,Le=Le.tag,Le&4&&Le&1&&(xc(Z,v),Sf(Z,v)),v=ve}while(v!==A)}return;case 1:v=Z.stateNode,Z.flags&4&&(A===null?v.componentDidMount():(ve=Z.elementType===Z.type?A.memoizedProps:Wn(Z.type,A.memoizedProps),v.componentDidUpdate(ve,A.memoizedState,v.__reactInternalSnapshotBeforeUpdate))),A=Z.updateQueue,A!==null&&Eo(Z,A,v);return;case 3:if(A=Z.updateQueue,A!==null){if(v=null,Z.child!==null)switch(Z.child.tag){case 5:v=Z.child.stateNode;break;case 1:v=Z.child.stateNode}Eo(Z,A,v)}return;case 5:v=Z.stateNode,A===null&&Z.flags&4&&Hi(Z.type,Z.memoizedProps)&&v.focus();return;case 6:return;case 4:return;case 12:return;case 13:Z.memoizedState===null&&(Z=Z.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null&&mt(Z))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(c(163))}function ql(v,A){for(var Z=v;;){if(Z.tag===5){var ve=Z.stateNode;if(A)ve=ve.style,typeof ve.setProperty=="function"?ve.setProperty("display","none","important"):ve.display="none";else{ve=Z.stateNode;var Le=Z.memoizedProps.style;Le=Le!=null&&Le.hasOwnProperty("display")?Le.display:null,ve.style.display=fe("display",Le)}}else if(Z.tag===6)Z.stateNode.nodeValue=A?"":Z.memoizedProps;else if((Z.tag!==23&&Z.tag!==24||Z.memoizedState===null||Z===v)&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===v)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===v)return;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}}function yl(v,A){if(Dn&&typeof Dn.onCommitFiberUnmount=="function")try{Dn.onCommitFiberUnmount(Mn,A)}catch(lt){}switch(A.tag){case 0:case 11:case 14:case 15:case 22:if(v=A.updateQueue,v!==null&&(v=v.lastEffect,v!==null)){var Z=v=v.next;do{var ve=Z,Le=ve.destroy;if(ve=ve.tag,Le!==void 0)if(ve&4)xc(A,Z);else{ve=A;try{Le()}catch(lt){cl(ve,lt)}}Z=Z.next}while(Z!==v)}break;case 1:if(Ol(A),v=A.stateNode,typeof v.componentWillUnmount=="function")try{v.props=A.memoizedProps,v.state=A.memoizedState,v.componentWillUnmount()}catch(lt){cl(A,lt)}break;case 5:Ol(A);break;case 4:gc(v,A)}}function Yc(v){v.alternate=null,v.child=null,v.dependencies=null,v.firstEffect=null,v.lastEffect=null,v.memoizedProps=null,v.memoizedState=null,v.pendingProps=null,v.return=null,v.updateQueue=null}function Fu(v){return v.tag===5||v.tag===3||v.tag===4}function Bu(v){e:{for(var A=v.return;A!==null;){if(Fu(A))break e;A=A.return}throw Error(c(160))}var Z=A;switch(A=Z.stateNode,Z.tag){case 5:var ve=!1;break;case 3:A=A.containerInfo,ve=!0;break;case 4:A=A.containerInfo,ve=!0;break;default:throw Error(c(161))}Z.flags&16&&(Ct(A,""),Z.flags&=-17);e:t:for(Z=v;;){for(;Z.sibling===null;){if(Z.return===null||Fu(Z.return)){Z=null;break e}Z=Z.return}for(Z.sibling.return=Z.return,Z=Z.sibling;Z.tag!==5&&Z.tag!==6&&Z.tag!==18;){if(Z.flags&2||Z.child===null||Z.tag===4)continue t;Z.child.return=Z,Z=Z.child}if(!(Z.flags&2)){Z=Z.stateNode;break e}}ve?iu(v,Z,A):qo(v,Z,A)}function iu(v,A,Z){var ve=v.tag,Le=ve===5||ve===6;if(Le)v=Le?v.stateNode:v.stateNode.instance,A?Z.nodeType===8?Z.parentNode.insertBefore(v,A):Z.insertBefore(v,A):(Z.nodeType===8?(A=Z.parentNode,A.insertBefore(v,Z)):(A=Z,A.appendChild(v)),Z=Z._reactRootContainer,Z!=null||A.onclick!==null||(A.onclick=ni));else if(ve!==4&&(v=v.child,v!==null))for(iu(v,A,Z),v=v.sibling;v!==null;)iu(v,A,Z),v=v.sibling}function qo(v,A,Z){var ve=v.tag,Le=ve===5||ve===6;if(Le)v=Le?v.stateNode:v.stateNode.instance,A?Z.insertBefore(v,A):Z.appendChild(v);else if(ve!==4&&(v=v.child,v!==null))for(qo(v,A,Z),v=v.sibling;v!==null;)qo(v,A,Z),v=v.sibling}function gc(v,A){for(var Z=A,ve=!1,Le,lt;;){if(!ve){ve=Z.return;e:for(;;){if(ve===null)throw Error(c(160));switch(Le=ve.stateNode,ve.tag){case 5:lt=!1;break e;case 3:Le=Le.containerInfo,lt=!0;break e;case 4:Le=Le.containerInfo,lt=!0;break e}ve=ve.return}ve=!0}if(Z.tag===5||Z.tag===6){e:for(var Ut=v,rr=Z,P=rr;;)if(yl(Ut,P),P.child!==null&&P.tag!==4)P.child.return=P,P=P.child;else{if(P===rr)break e;for(;P.sibling===null;){if(P.return===null||P.return===rr)break e;P=P.return}P.sibling.return=P.return,P=P.sibling}lt?(Ut=Le,rr=Z.stateNode,Ut.nodeType===8?Ut.parentNode.removeChild(rr):Ut.removeChild(rr)):Le.removeChild(Z.stateNode)}else if(Z.tag===4){if(Z.child!==null){Le=Z.stateNode.containerInfo,lt=!0,Z.child.return=Z,Z=Z.child;continue}}else if(yl(v,Z),Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===A)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===A)return;Z=Z.return,Z.tag===4&&(ve=!1)}Z.sibling.return=Z.return,Z=Z.sibling}}function yc(v,A){switch(A.tag){case 0:case 11:case 14:case 15:case 22:var Z=A.updateQueue;if(Z=Z!==null?Z.lastEffect:null,Z!==null){var ve=Z=Z.next;do(ve.tag&3)===3&&(v=ve.destroy,ve.destroy=void 0,v!==void 0&&v()),ve=ve.next;while(ve!==Z)}return;case 1:return;case 5:if(Z=A.stateNode,Z!=null){ve=A.memoizedProps;var Le=v!==null?v.memoizedProps:ve;v=A.type;var lt=A.updateQueue;if(A.updateQueue=null,lt!==null){for(Z[ea]=ve,v==="input"&&ve.type==="radio"&&ve.name!=null&&Ue(Z,ve),dt(v,Le),A=dt(v,ve),Le=0;Le<lt.length;Le+=2){var Ut=lt[Le],rr=lt[Le+1];Ut==="style"?_e(Z,rr):Ut==="dangerouslySetInnerHTML"?$t(Z,rr):Ut==="children"?Ct(Z,rr):$(Z,Ut,rr,A)}switch(v){case"input":ge(Z,ve);break;case"textarea":Wt(Z,ve);break;case"select":v=Z._wrapperState.wasMultiple,Z._wrapperState.wasMultiple=!!ve.multiple,lt=ve.value,lt!=null?nt(Z,!!ve.multiple,lt,!1):v!==!!ve.multiple&&(ve.defaultValue!=null?nt(Z,!!ve.multiple,ve.defaultValue,!0):nt(Z,!!ve.multiple,ve.multiple?[]:"",!1))}}}return;case 6:if(A.stateNode===null)throw Error(c(162));A.stateNode.nodeValue=A.memoizedProps;return;case 3:Z=A.stateNode,Z.hydrate&&(Z.hydrate=!1,mt(Z.containerInfo));return;case 12:return;case 13:A.memoizedState!==null&&(ec=xt(),ql(A.child,!0)),Oc(A);return;case 19:Oc(A);return;case 17:return;case 23:case 24:ql(A,A.memoizedState!==null);return}throw Error(c(163))}function Oc(v){var A=v.updateQueue;if(A!==null){v.updateQueue=null;var Z=v.stateNode;Z===null&&(Z=v.stateNode=new gl),A.forEach(function(ve){var Le=Xu.bind(null,v,ve);Z.has(ve)||(Z.add(ve),ve.then(Le,Le))})}}function I(v,A){return v!==null&&(v=v.memoizedState,v===null||v.dehydrated!==null)?(A=A.memoizedState,A!==null&&A.dehydrated===null):!1}var O=Math.ceil,k=U.ReactCurrentDispatcher,me=U.ReactCurrentOwner,Re=0,en=null,$n=null,dn=0,Di=0,Ha=Ms(0),Oa=0,Ao=null,Ma=0,io=0,ys=0,kc=0,Jl=null,ec=0,bc=1/0;function Nu(){bc=xt()+500}var Oi=null,tc=!1,Rl=null,Ro=null,Ws=!1,Ja=null,al=90,sl=[],bl=[],xl=null,ol=0,Xc=null,Rc=-1,Vu=0,Qc=0,Ll=null,qc=!1;function hu(){return Re&48?xt():Rc!==-1?Rc:Rc=xt()}function $u(v){if(v=v.mode,!(v&2))return 1;if(!(v&4))return Bt()===99?1:2;if(Vu===0&&(Vu=Ma),Nn.transition!==0){Qc!==0&&(Qc=Jl!==null?Jl.pendingLanes:0),v=Vu;var A=4186112&~Qc;return A&=-A,A===0&&(v=4186112&~v,A=v&-v,A===0&&(A=8192)),A}return v=Bt(),Re&4&&v===98?v=ln(12,Vu):(v=bn(v),v=ln(v,Vu)),v}function El(v,A,Z){if(50<ol)throw ol=0,Xc=null,Error(c(185));if(v=rc(v,A),v===null)return null;Pi(v,A,Z),v===en&&(ys|=A,Oa===4&&Ml(v,dn));var ve=Bt();A===1?Re&8&&!(Re&48)?Tn(v):(Cu(v,Z),Re===0&&(Nu(),an())):(!(Re&4)||ve!==98&&ve!==99||(xl===null?xl=new Set([v]):xl.add(v)),Cu(v,Z)),Jl=v}function rc(v,A){v.lanes|=A;var Z=v.alternate;for(Z!==null&&(Z.lanes|=A),Z=v,v=v.return;v!==null;)v.childLanes|=A,Z=v.alternate,Z!==null&&(Z.childLanes|=A),Z=v,v=v.return;return Z.tag===3?Z.stateNode:null}function Cu(v,A){for(var Z=v.callbackNode,ve=v.suspendedLanes,Le=v.pingedLanes,lt=v.expirationTimes,Ut=v.pendingLanes;0<Ut;){var rr=31-gi(Ut),P=1<<rr,t=lt[rr];if(t===-1){if(!(P&ve)||P&Le){t=A,$r(P);var n=Or;lt[rr]=10<=n?t+250:6<=n?t+5e3:-1}}else t<=A&&(v.expiredLanes|=P);Ut&=~P}if(ve=un(v,v===en?dn:0),A=Or,ve===0)Z!==null&&(Z!==W&&Ui(Z),v.callbackNode=null,v.callbackPriority=0);else{if(Z!==null){if(v.callbackPriority===A)return;Z!==W&&Ui(Z)}A===15?(Z=Tn.bind(null,v),te===null?(te=[Z],pe=ia(qu,wn)):te.push(Z),Z=W):A===14?Z=Wr(99,Tn.bind(null,v)):(Z=Pr(A),Z=Wr(Z,nc.bind(null,v))),v.callbackPriority=A,v.callbackNode=Z}}function nc(v){if(Rc=-1,Qc=Vu=0,Re&48)throw Error(c(327));var A=v.callbackNode;if(Fl()&&v.callbackNode!==A)return null;var Z=un(v,v===en?dn:0);if(Z===0)return null;var ve=Z,Le=Re;Re|=16;var lt=Ki();(en!==v||dn!==ve)&&(Nu(),ha(v,ve));do try{ju();break}catch(rr){vs(v,rr)}while(!0);if(is(),k.current=lt,Re=Le,$n!==null?ve=0:(en=null,dn=0,ve=Oa),Ma&ys)ha(v,0);else if(ve!==0){if(ve===2&&(Re|=64,v.hydrate&&(v.hydrate=!1,Ci(v.containerInfo)),Z=rn(v),Z!==0&&(ve=es(v,Z))),ve===1)throw A=Ao,ha(v,0),Ml(v,Z),Cu(v,xt()),A;switch(v.finishedWork=v.current.alternate,v.finishedLanes=Z,ve){case 0:case 1:throw Error(c(345));case 2:ll(v);break;case 3:if(Ml(v,Z),(Z&62914560)===Z&&(ve=ec+500-xt(),10<ve)){if(un(v,0)!==0)break;if(Le=v.suspendedLanes,(Le&Z)!==Z){hu(),v.pingedLanes|=v.suspendedLanes&Le;break}v.timeoutHandle=wi(ll.bind(null,v),ve);break}ll(v);break;case 4:if(Ml(v,Z),(Z&4186112)===Z)break;for(ve=v.eventTimes,Le=-1;0<Z;){var Ut=31-gi(Z);lt=1<<Ut,Ut=ve[Ut],Ut>Le&&(Le=Ut),Z&=~lt}if(Z=Le,Z=xt()-Z,Z=(120>Z?120:480>Z?480:1080>Z?1080:1920>Z?1920:3e3>Z?3e3:4320>Z?4320:1960*O(Z/1960))-Z,10<Z){v.timeoutHandle=wi(ll.bind(null,v),Z);break}ll(v);break;case 5:ll(v);break;default:throw Error(c(329))}}return Cu(v,xt()),v.callbackNode===A?nc.bind(null,v):null}function Ml(v,A){for(A&=~kc,A&=~ys,v.suspendedLanes|=A,v.pingedLanes&=~A,v=v.expirationTimes;0<A;){var Z=31-gi(A),ve=1<<Z;v[Z]=-1,A&=~ve}}function Tn(v){if(Re&48)throw Error(c(327));if(Fl(),v===en&&v.expiredLanes&dn){var A=dn,Z=es(v,A);Ma&ys&&(A=un(v,A),Z=es(v,A))}else A=un(v,0),Z=es(v,A);if(v.tag!==0&&Z===2&&(Re|=64,v.hydrate&&(v.hydrate=!1,Ci(v.containerInfo)),A=rn(v),A!==0&&(Z=es(v,A))),Z===1)throw Z=Ao,ha(v,0),Ml(v,A),Cu(v,xt()),Z;return v.finishedWork=v.current.alternate,v.finishedLanes=A,ll(v),Cu(v,xt()),null}function Kn(){if(xl!==null){var v=xl;xl=null,v.forEach(function(A){A.expiredLanes|=24&A.pendingLanes,Cu(A,xt())})}an()}function Bi(v,A){var Z=Re;Re|=1;try{return v(A)}finally{Re=Z,Re===0&&(Nu(),an())}}function Ea(v,A){var Z=Re;Re&=-2,Re|=8;try{return v(A)}finally{Re=Z,Re===0&&(Nu(),an())}}function zi(v,A){Ua(Ha,Di),Di|=A,Ma|=A}function ua(){Di=Ha.current,da(Ha)}function ha(v,A){v.finishedWork=null,v.finishedLanes=0;var Z=v.timeoutHandle;if(Z!==-1&&(v.timeoutHandle=-1,ma(Z)),$n!==null)for(Z=$n.return;Z!==null;){var ve=Z;switch(ve.tag){case 1:ve=ve.type.childContextTypes,ve!=null&&br();break;case 3:Zu(),da(ye),da(ga),Cc();break;case 5:Sc(ve);break;case 4:Zu();break;case 13:da(to);break;case 19:da(to);break;case 10:Za(ve);break;case 23:case 24:ua()}Z=Z.return}en=v,$n=fl(v.current,null),dn=Di=Ma=A,Oa=0,Ao=null,kc=ys=io=0}function vs(v,A){do{var Z=$n;try{if(is(),Hl.current=Vl,Wu){for(var ve=Hs.memoizedState;ve!==null;){var Le=ve.queue;Le!==null&&(Le.pending=null),ve=ve.next}Wu=!1}if(Wl=0,No=ro=Hs=null,Tl=!1,me.current=null,Z===null||Z.return===null){Oa=1,Ao=A,$n=null;break}e:{var lt=v,Ut=Z.return,rr=Z,P=A;if(A=dn,rr.flags|=2048,rr.firstEffect=rr.lastEffect=null,P!==null&&typeof P=="object"&&typeof P.then=="function"){var t=P;if(!(rr.mode&2)){var n=rr.alternate;n?(rr.updateQueue=n.updateQueue,rr.memoizedState=n.memoizedState,rr.lanes=n.lanes):(rr.updateQueue=null,rr.memoizedState=null)}var o=(to.current&1)!==0,m=Ut;do{var E;if(E=m.tag===13){var T=m.memoizedState;if(T!==null)E=T.dehydrated!==null;else{var z=m.memoizedProps;E=z.fallback===void 0?!1:z.unstable_avoidThisFallback!==!0?!0:!o}}if(E){var H=m.updateQueue;if(H===null){var j=new Set;j.add(t),m.updateQueue=j}else H.add(t);if(!(m.mode&2)){if(m.flags|=64,rr.flags|=16384,rr.flags&=-2981,rr.tag===1)if(rr.alternate===null)rr.tag=17;else{var se=Qs(-1,1);se.tag=2,po(rr,se)}rr.lanes|=1;break e}P=void 0,rr=A;var ce=lt.pingCache;if(ce===null?(ce=lt.pingCache=new Dl,P=new Set,ce.set(t,P)):(P=ce.get(t),P===void 0&&(P=new Set,ce.set(t,P))),!P.has(rr)){P.add(rr);var xe=Of.bind(null,lt,t,rr);t.then(xe,xe)}m.flags|=4096,m.lanes=A;break e}m=m.return}while(m!==null);P=Error((er(rr.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Oa!==5&&(Oa=2),P=oo(P,rr),m=Ut;do{switch(m.tag){case 3:lt=P,m.flags|=4096,A&=-A,m.lanes|=A;var Ie=Xl(m,lt,A);Oo(m,Ie);break e;case 1:lt=P;var Oe=m.type,tt=m.stateNode;if(!(m.flags&64)&&(typeof Oe.getDerivedStateFromError=="function"||tt!==null&&typeof tt.componentDidCatch=="function"&&(Ro===null||!Ro.has(tt)))){m.flags|=4096,A&=-A,m.lanes|=A;var at=Ql(m,lt,A);Oo(m,at);break e}}m=m.return}while(m!==null)}ul(Z)}catch(Nt){A=Nt,$n===Z&&Z!==null&&($n=Z=Z.return);continue}break}while(!0)}function Ki(){var v=k.current;return k.current=Vl,v===null?Vl:v}function es(v,A){var Z=Re;Re|=16;var ve=Ki();en===v&&dn===A||ha(v,A);do try{Ku();break}catch(Le){vs(v,Le)}while(!0);if(is(),Re=Z,k.current=ve,$n!==null)throw Error(c(261));return en=null,dn=0,Oa}function Ku(){for(;$n!==null;)Yu($n)}function ju(){for(;$n!==null&&!ho();)Yu($n)}function Yu(v){var A=Lc(v.alternate,v,Di);v.memoizedProps=v.pendingProps,A===null?ul(v):$n=A,me.current=null}function ul(v){var A=v;do{var Z=A.alternate;if(v=A.return,A.flags&2048){if(Z=Kc(A),Z!==null){Z.flags&=2047,$n=Z;return}v!==null&&(v.firstEffect=v.lastEffect=null,v.flags|=2048)}else{if(Z=Dc(Z,A,Di),Z!==null){$n=Z;return}if(Z=A,Z.tag!==24&&Z.tag!==23||Z.memoizedState===null||Di&1073741824||!(Z.mode&4)){for(var ve=0,Le=Z.child;Le!==null;)ve|=Le.lanes|Le.childLanes,Le=Le.sibling;Z.childLanes=ve}v!==null&&!(v.flags&2048)&&(v.firstEffect===null&&(v.firstEffect=A.firstEffect),A.lastEffect!==null&&(v.lastEffect!==null&&(v.lastEffect.nextEffect=A.firstEffect),v.lastEffect=A.lastEffect),1<A.flags&&(v.lastEffect!==null?v.lastEffect.nextEffect=A:v.firstEffect=A,v.lastEffect=A))}if(A=A.sibling,A!==null){$n=A;return}$n=A=v}while(A!==null);Oa===0&&(Oa=5)}function ll(v){var A=Bt();return Tr(99,Df.bind(null,v,A)),null}function Df(v,A){do Fl();while(Ja!==null);if(Re&48)throw Error(c(327));var Z=v.finishedWork;if(Z===null)return null;if(v.finishedWork=null,v.finishedLanes=0,Z===v.current)throw Error(c(177));v.callbackNode=null;var ve=Z.lanes|Z.childLanes,Le=ve,lt=v.pendingLanes&~Le;v.pendingLanes=Le,v.suspendedLanes=0,v.pingedLanes=0,v.expiredLanes&=Le,v.mutableReadLanes&=Le,v.entangledLanes&=Le,Le=v.entanglements;for(var Ut=v.eventTimes,rr=v.expirationTimes;0<lt;){var P=31-gi(lt),t=1<<P;Le[P]=0,Ut[P]=-1,rr[P]=-1,lt&=~t}if(xl!==null&&!(ve&24)&&xl.has(v)&&xl.delete(v),v===en&&($n=en=null,dn=0),1<Z.flags?Z.lastEffect!==null?(Z.lastEffect.nextEffect=Z,ve=Z.firstEffect):ve=Z:ve=Z.firstEffect,ve!==null){if(Le=Re,Re|=32,me.current=null,_i=Pa,Ut=zr(),na(Ut)){if("selectionStart"in Ut)rr={start:Ut.selectionStart,end:Ut.selectionEnd};else e:if(rr=(rr=Ut.ownerDocument)&&rr.defaultView||window,(t=rr.getSelection&&rr.getSelection())&&t.rangeCount!==0){rr=t.anchorNode,lt=t.anchorOffset,P=t.focusNode,t=t.focusOffset;try{rr.nodeType,P.nodeType}catch(Nt){rr=null;break e}var n=0,o=-1,m=-1,E=0,T=0,z=Ut,H=null;t:for(;;){for(var j;z!==rr||lt!==0&&z.nodeType!==3||(o=n+lt),z!==P||t!==0&&z.nodeType!==3||(m=n+t),z.nodeType===3&&(n+=z.nodeValue.length),(j=z.firstChild)!==null;)H=z,z=j;for(;;){if(z===Ut)break t;if(H===rr&&++E===lt&&(o=n),H===P&&++T===t&&(m=n),(j=z.nextSibling)!==null)break;z=H,H=z.parentNode}z=j}rr=o===-1||m===-1?null:{start:o,end:m}}else rr=null;rr=rr||{start:0,end:0}}else rr=null;Ii={focusedElem:Ut,selectionRange:rr},Pa=!1,Ll=null,qc=!1,Oi=ve;do try{wf()}catch(Nt){if(Oi===null)throw Error(c(330));cl(Oi,Nt),Oi=Oi.nextEffect}while(Oi!==null);Ll=null,Oi=ve;do try{for(Ut=v;Oi!==null;){var se=Oi.flags;if(se&16&&Ct(Oi.stateNode,""),se&128){var ce=Oi.alternate;if(ce!==null){var xe=ce.ref;xe!==null&&(typeof xe=="function"?xe(null):xe.current=null)}}switch(se&1038){case 2:Bu(Oi),Oi.flags&=-3;break;case 6:Bu(Oi),Oi.flags&=-3,yc(Oi.alternate,Oi);break;case 1024:Oi.flags&=-1025;break;case 1028:Oi.flags&=-1025,yc(Oi.alternate,Oi);break;case 4:yc(Oi.alternate,Oi);break;case 8:rr=Oi,gc(Ut,rr);var Ie=rr.alternate;Yc(rr),Ie!==null&&Yc(Ie)}Oi=Oi.nextEffect}}catch(Nt){if(Oi===null)throw Error(c(330));cl(Oi,Nt),Oi=Oi.nextEffect}while(Oi!==null);if(xe=Ii,ce=zr(),se=xe.focusedElem,Ut=xe.selectionRange,ce!==se&&se&&se.ownerDocument&&ba(se.ownerDocument.documentElement,se)){for(Ut!==null&&na(se)&&(ce=Ut.start,xe=Ut.end,xe===void 0&&(xe=ce),"selectionStart"in se?(se.selectionStart=ce,se.selectionEnd=Math.min(xe,se.value.length)):(xe=(ce=se.ownerDocument||document)&&ce.defaultView||window,xe.getSelection&&(xe=xe.getSelection(),rr=se.textContent.length,Ie=Math.min(Ut.start,rr),Ut=Ut.end===void 0?Ie:Math.min(Ut.end,rr),!xe.extend&&Ie>Ut&&(rr=Ut,Ut=Ie,Ie=rr),rr=Li(se,Ie),lt=Li(se,Ut),rr&&lt&&(xe.rangeCount!==1||xe.anchorNode!==rr.node||xe.anchorOffset!==rr.offset||xe.focusNode!==lt.node||xe.focusOffset!==lt.offset)&&(ce=ce.createRange(),ce.setStart(rr.node,rr.offset),xe.removeAllRanges(),Ie>Ut?(xe.addRange(ce),xe.extend(lt.node,lt.offset)):(ce.setEnd(lt.node,lt.offset),xe.addRange(ce)))))),ce=[],xe=se;xe=xe.parentNode;)xe.nodeType===1&&ce.push({element:xe,left:xe.scrollLeft,top:xe.scrollTop});for(typeof se.focus=="function"&&se.focus(),se=0;se<ce.length;se++)xe=ce[se],xe.element.scrollLeft=xe.left,xe.element.scrollTop=xe.top}Pa=!!_i,Ii=_i=null,v.current=Z,Oi=ve;do try{for(se=v;Oi!==null;){var Oe=Oi.flags;if(Oe&36&&kl(se,Oi.alternate,Oi),Oe&128){ce=void 0;var tt=Oi.ref;if(tt!==null){var at=Oi.stateNode;switch(Oi.tag){case 5:ce=at;break;default:ce=at}typeof tt=="function"?tt(ce):tt.current=ce}}Oi=Oi.nextEffect}}catch(Nt){if(Oi===null)throw Error(c(330));cl(Oi,Nt),Oi=Oi.nextEffect}while(Oi!==null);Oi=null,X(),Re=Le}else v.current=Z;if(Ws)Ws=!1,Ja=v,al=A;else for(Oi=ve;Oi!==null;)A=Oi.nextEffect,Oi.nextEffect=null,Oi.flags&8&&(Oe=Oi,Oe.sibling=null,Oe.stateNode=null),Oi=A;if(ve=v.pendingLanes,ve===0&&(Ro=null),ve===1?v===Xc?ol++:(ol=0,Xc=v):ol=0,Z=Z.stateNode,Dn&&typeof Dn.onCommitFiberRoot=="function")try{Dn.onCommitFiberRoot(Mn,Z,void 0,(Z.current.flags&64)===64)}catch(Nt){}if(Cu(v,xt()),tc)throw tc=!1,v=Rl,Rl=null,v;return Re&8||an(),null}function wf(){for(;Oi!==null;){var v=Oi.alternate;qc||Ll===null||(Oi.flags&8?tn(Oi,Ll)&&(qc=!0):Oi.tag===13&&I(v,Oi)&&tn(Oi,Ll)&&(qc=!0));var A=Oi.flags;A&256&&df(v,Oi),!(A&512)||Ws||(Ws=!0,Wr(97,function(){return Fl(),null})),Oi=Oi.nextEffect}}function Fl(){if(al!==90){var v=97<al?97:al;return al=90,Tr(v,Jc)}return!1}function Sf(v,A){sl.push(A,v),Ws||(Ws=!0,Wr(97,function(){return Fl(),null}))}function xc(v,A){bl.push(A,v),Ws||(Ws=!0,Wr(97,function(){return Fl(),null}))}function Jc(){if(Ja===null)return!1;var v=Ja;if(Ja=null,Re&48)throw Error(c(331));var A=Re;Re|=32;var Z=bl;bl=[];for(var ve=0;ve<Z.length;ve+=2){var Le=Z[ve],lt=Z[ve+1],Ut=Le.destroy;if(Le.destroy=void 0,typeof Ut=="function")try{Ut()}catch(P){if(lt===null)throw Error(c(330));cl(lt,P)}}for(Z=sl,sl=[],ve=0;ve<Z.length;ve+=2){Le=Z[ve],lt=Z[ve+1];try{var rr=Le.create;Le.destroy=rr()}catch(P){if(lt===null)throw Error(c(330));cl(lt,P)}}for(rr=v.current.firstEffect;rr!==null;)v=rr.nextEffect,rr.nextEffect=null,rr.flags&8&&(rr.sibling=null,rr.stateNode=null),rr=v;return Re=A,an(),!0}function hf(v,A,Z){A=oo(Z,A),A=Xl(v,A,1),po(v,A),A=hu(),v=rc(v,1),v!==null&&(Pi(v,1,A),Cu(v,A))}function cl(v,A){if(v.tag===3)hf(v,v,A);else for(var Z=v.return;Z!==null;){if(Z.tag===3){hf(Z,v,A);break}else if(Z.tag===1){var ve=Z.stateNode;if(typeof Z.type.getDerivedStateFromError=="function"||typeof ve.componentDidCatch=="function"&&(Ro===null||!Ro.has(ve))){v=oo(A,v);var Le=Ql(Z,v,1);if(po(Z,Le),Le=hu(),Z=rc(Z,1),Z!==null)Pi(Z,1,Le),Cu(Z,Le);else if(typeof ve.componentDidCatch=="function"&&(Ro===null||!Ro.has(ve)))try{ve.componentDidCatch(A,v)}catch(lt){}break}}Z=Z.return}}function Of(v,A,Z){var ve=v.pingCache;ve!==null&&ve.delete(A),A=hu(),v.pingedLanes|=v.suspendedLanes&Z,en===v&&(dn&Z)===Z&&(Oa===4||Oa===3&&(dn&62914560)===dn&&500>xt()-ec?ha(v,0):kc|=Z),Cu(v,A)}function Xu(v,A){var Z=v.stateNode;Z!==null&&Z.delete(A),A=0,A===0&&(A=v.mode,A&2?A&4?(Vu===0&&(Vu=Ma),A=An(62914560&~Vu),A===0&&(A=4194304)):A=Bt()===99?1:2:A=1),Z=hu(),v=rc(v,A),v!==null&&(Pi(v,A,Z),Cu(v,Z))}var Lc;Lc=function(v,A,Z){var ve=A.lanes;if(v!==null)if(v.memoizedProps!==A.pendingProps||ye.current)Ru=!0;else if(Z&ve)Ru=!!(v.flags&16384);else{switch(Ru=!1,A.tag){case 3:wu(A),Bo();break;case 5:ai(A);break;case 1:Jr(A.type)&&ri(A);break;case 4:oc(A,A.stateNode.containerInfo);break;case 10:ve=A.memoizedProps.value;var Le=A.type._context;Ua(pi,Le._currentValue),Le._currentValue=ve;break;case 13:if(A.memoizedState!==null)return Z&A.child.childLanes?Kl(v,A,Z):(Ua(to,to.current&1),A=Su(v,A,Z),A!==null?A.sibling:null);Ua(to,to.current&1);break;case 19:if(ve=(Z&A.childLanes)!==0,v.flags&64){if(ve)return nl(v,A,Z);A.flags|=64}if(Le=A.memoizedState,Le!==null&&(Le.rendering=null,Le.tail=null,Le.lastEffect=null),Ua(to,to.current),ve)break;return null;case 23:case 24:return A.lanes=0,Vc(v,A,Z)}return Su(v,A,Z)}else Ru=!1;switch(A.lanes=0,A.tag){case 2:if(ve=A.type,v!==null&&(v.alternate=null,A.alternate=null,A.flags|=2),v=A.pendingProps,Le=yr(A,ga.current),as(A,Z),Le=cu(null,A,ve,v,Le,Z),A.flags|=1,typeof Le=="object"&&Le!==null&&typeof Le.render=="function"&&Le.$$typeof===void 0){if(A.tag=1,A.memoizedState=null,A.updateQueue=null,Jr(ve)){var lt=!0;ri(A)}else lt=!1;A.memoizedState=Le.state!==null&&Le.state!==void 0?Le.state:null,Rs(A);var Ut=ve.getDerivedStateFromProps;typeof Ut=="function"&&Al(A,ve,Ut,v),Le.updater=Ju,A.stateNode=Le,Le._reactInternals=A,uu(A,ve,v,Z),A=ze(null,A,ve,!0,lt,Z)}else A.tag=0,$s(null,A,Le,Z),A=A.child;return A;case 16:Le=A.elementType;e:{switch(v!==null&&(v.alternate=null,A.alternate=null,A.flags|=2),v=A.pendingProps,lt=Le._init,Le=lt(Le._payload),A.type=Le,lt=A.tag=pf(Le),v=Wn(Le,v),lt){case 0:A=ko(null,A,Le,v,Z);break e;case 1:A=Il(null,A,Le,v,Z);break e;case 11:A=ml(null,A,Le,v,Z);break e;case 14:A=ff(null,A,Le,Wn(Le.type,v),ve,Z);break e}throw Error(c(306,Le,""))}return A;case 0:return ve=A.type,Le=A.pendingProps,Le=A.elementType===ve?Le:Wn(ve,Le),ko(v,A,ve,Le,Z);case 1:return ve=A.type,Le=A.pendingProps,Le=A.elementType===ve?Le:Wn(ve,Le),Il(v,A,ve,Le,Z);case 3:if(wu(A),ve=A.updateQueue,v===null||ve===null)throw Error(c(282));if(ve=A.pendingProps,Le=A.memoizedState,Le=Le!==null?Le.element:null,fi(v,A),za(A,ve,null,Z),ve=A.memoizedState.element,ve===Le)Bo(),A=Su(v,A,Z);else{if(Le=A.stateNode,(lt=Le.hydrate)&&(rl=bi(A.stateNode.containerInfo.firstChild),tu=A,lt=Hu=!0),lt){if(v=Le.mutableSourceEagerHydrationData,v!=null)for(Le=0;Le<v.length;Le+=2)lt=v[Le],lt._workInProgressVersionPrimary=v[Le+1],Cl.push(lt);for(Z=zl(A,null,ve,Z),A.child=Z;Z;)Z.flags=Z.flags&-3|1024,Z=Z.sibling}else $s(v,A,ve,Z),Bo();A=A.child}return A;case 5:return ai(A),v===null&&qs(A),ve=A.type,Le=A.pendingProps,lt=v!==null?v.memoizedProps:null,Ut=Le.children,Mi(ve,Le)?Ut=null:lt!==null&&Mi(ve,lt)&&(A.flags|=16),vl(v,A),$s(v,A,Ut,Z),A.child;case 6:return v===null&&qs(A),null;case 13:return Kl(v,A,Z);case 4:return oc(A,A.stateNode.containerInfo),ve=A.pendingProps,v===null?A.child=Yo(A,null,ve,Z):$s(v,A,ve,Z),A.child;case 11:return ve=A.type,Le=A.pendingProps,Le=A.elementType===ve?Le:Wn(ve,Le),ml(v,A,ve,Le,Z);case 7:return $s(v,A,A.pendingProps,Z),A.child;case 8:return $s(v,A,A.pendingProps.children,Z),A.child;case 12:return $s(v,A,A.pendingProps.children,Z),A.child;case 10:e:{ve=A.type._context,Le=A.pendingProps,Ut=A.memoizedProps,lt=Le.value;var rr=A.type._context;if(Ua(pi,rr._currentValue),rr._currentValue=lt,Ut!==null)if(rr=Ut.value,lt=Vn(rr,lt)?0:(typeof ve._calculateChangedBits=="function"?ve._calculateChangedBits(rr,lt):1073741823)|0,lt===0){if(Ut.children===Le.children&&!ye.current){A=Su(v,A,Z);break e}}else for(rr=A.child,rr!==null&&(rr.return=A);rr!==null;){var P=rr.dependencies;if(P!==null){Ut=rr.child;for(var t=P.firstContext;t!==null;){if(t.context===ve&&t.observedBits&lt){rr.tag===1&&(t=Qs(-1,Z&-Z),t.tag=2,po(rr,t)),rr.lanes|=Z,t=rr.alternate,t!==null&&(t.lanes|=Z),ws(rr.return,Z),P.lanes|=Z;break}t=t.next}}else Ut=rr.tag===10&&rr.type===A.type?null:rr.child;if(Ut!==null)Ut.return=rr;else for(Ut=rr;Ut!==null;){if(Ut===A){Ut=null;break}if(rr=Ut.sibling,rr!==null){rr.return=Ut.return,Ut=rr;break}Ut=Ut.return}rr=Ut}$s(v,A,Le.children,Z),A=A.child}return A;case 9:return Le=A.type,lt=A.pendingProps,ve=lt.children,as(A,Z),Le=Aa(Le,lt.unstable_observedBits),ve=ve(Le),A.flags|=1,$s(v,A,ve,Z),A.child;case 14:return Le=A.type,lt=Wn(Le,A.pendingProps),lt=Wn(Le.type,lt),ff(v,A,Le,lt,ve,Z);case 15:return mc(v,A,A.type,A.pendingProps,ve,Z);case 17:return ve=A.type,Le=A.pendingProps,Le=A.elementType===ve?Le:Wn(ve,Le),v!==null&&(v.alternate=null,A.alternate=null,A.flags|=2),A.tag=1,Jr(ve)?(v=!0,ri(A)):v=!1,as(A,Z),gu(A,ve,Le),uu(A,ve,Le,Z),ze(null,A,ve,!0,v,Z);case 19:return nl(v,A,Z);case 23:return Vc(v,A,Z);case 24:return Vc(v,A,Z)}throw Error(c(156,A.tag))};function ef(v,A,Z,ve){this.tag=v,this.key=Z,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=A,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=ve,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Ho(v,A,Z,ve){return new ef(v,A,Z,ve)}function tf(v){return v=v.prototype,!(!v||!v.isReactComponent)}function pf(v){if(typeof v=="function")return tf(v)?1:0;if(v!=null){if(v=v.$$typeof,v===J)return 11;if(v===ne)return 14}return 2}function fl(v,A){var Z=v.alternate;return Z===null?(Z=Ho(v.tag,A,v.key,v.mode),Z.elementType=v.elementType,Z.type=v.type,Z.stateNode=v.stateNode,Z.alternate=v,v.alternate=Z):(Z.pendingProps=A,Z.type=v.type,Z.flags=0,Z.nextEffect=null,Z.firstEffect=null,Z.lastEffect=null),Z.childLanes=v.childLanes,Z.lanes=v.lanes,Z.child=v.child,Z.memoizedProps=v.memoizedProps,Z.memoizedState=v.memoizedState,Z.updateQueue=v.updateQueue,A=v.dependencies,Z.dependencies=A===null?null:{lanes:A.lanes,firstContext:A.firstContext},Z.sibling=v.sibling,Z.index=v.index,Z.ref=v.ref,Z}function Bl(v,A,Z,ve,Le,lt){var Ut=2;if(ve=v,typeof v=="function")tf(v)&&(Ut=1);else if(typeof v=="string")Ut=5;else e:switch(v){case G:return Wo(Z.children,Le,lt,A);case M:Ut=8,Le|=16;break;case oe:Ut=8,Le|=1;break;case ae:return v=Ho(12,Z,A,Le|8),v.elementType=ae,v.type=ae,v.lanes=lt,v;case Y:return v=Ho(13,Z,A,Le),v.type=Y,v.elementType=Y,v.lanes=lt,v;case ue:return v=Ho(19,Z,A,Le),v.elementType=ue,v.lanes=lt,v;case Q:return Ec(Z,Le,lt,A);case de:return v=Ho(24,Z,A,Le),v.elementType=de,v.lanes=lt,v;default:if(typeof v=="object"&&v!==null)switch(v.$$typeof){case le:Ut=10;break e;case q:Ut=9;break e;case J:Ut=11;break e;case ne:Ut=14;break e;case ee:Ut=16,ve=null;break e;case ie:Ut=22;break e}throw Error(c(130,v==null?v:typeof v,""))}return A=Ho(Ut,Z,A,Le),A.elementType=v,A.type=ve,A.lanes=lt,A}function Wo(v,A,Z,ve){return v=Ho(7,v,ve,A),v.lanes=Z,v}function Ec(v,A,Z,ve){return v=Ho(23,v,ve,A),v.elementType=Q,v.lanes=Z,v}function _f(v,A,Z){return v=Ho(6,v,null,A),v.lanes=Z,v}function Mc(v,A,Z){return A=Ho(4,v.children!==null?v.children:[],v.key,A),A.lanes=Z,A.stateNode={containerInfo:v.containerInfo,pendingChildren:null,implementation:v.implementation},A}function Fc(v,A,Z){this.tag=A,this.containerInfo=v,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=Z,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=pa(0),this.expirationTimes=pa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pa(0),this.mutableSourceEagerHydrationData=null}function mf(v,A,Z){var ve=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:V,key:ve==null?null:""+ve,children:v,containerInfo:A,implementation:Z}}function Bc(v,A,Z,ve){var Le=A.current,lt=hu(),Ut=$u(Le);e:if(Z){Z=Z._reactInternals;t:{if(ot(Z)!==Z||Z.tag!==1)throw Error(c(170));var rr=Z;do{switch(rr.tag){case 3:rr=rr.stateNode.context;break t;case 1:if(Jr(rr.type)){rr=rr.stateNode.__reactInternalMemoizedMergedChildContext;break t}}rr=rr.return}while(rr!==null);throw Error(c(171))}if(Z.tag===1){var P=Z.type;if(Jr(P)){Z=Cn(Z,P,rr);break e}}Z=rr}else Z=As;return A.context===null?A.context=Z:A.pendingContext=Z,A=Qs(lt,Ut),A.payload={element:v},ve=ve===void 0?null:ve,ve!==null&&(A.callback=ve),po(Le,A),El(Le,Ut,lt),Ut}function Af(v){if(v=v.current,!v.child)return null;switch(v.child.tag){case 5:return v.child.stateNode;default:return v.child.stateNode}}function Mf(v,A){if(v=v.memoizedState,v!==null&&v.dehydrated!==null){var Z=v.retryLane;v.retryLane=Z!==0&&Z<A?Z:A}}function Nc(v,A){Mf(v,A),(v=v.alternate)&&Mf(v,A)}function Ff(){return null}function rf(v,A,Z){var ve=Z!=null&&Z.hydrationOptions!=null&&Z.hydrationOptions.mutableSources||null;if(Z=new Fc(v,A,Z!=null&&Z.hydrate===!0),A=Ho(3,null,null,A===2?7:A===1?3:0),Z.current=A,A.stateNode=Z,Rs(A),v[ki]=Z.current,Kt(v.nodeType===8?v.parentNode:v),ve)for(v=0;v<ve.length;v++){A=ve[v];var Le=A._getVersion;Le=Le(A._source),Z.mutableSourceEagerHydrationData==null?Z.mutableSourceEagerHydrationData=[A,Le]:Z.mutableSourceEagerHydrationData.push(A,Le)}this._internalRoot=Z}rf.prototype.render=function(v){Bc(v,this._internalRoot,null,null)},rf.prototype.unmount=function(){var v=this._internalRoot,A=v.containerInfo;Bc(null,v,null,function(){A[ki]=null})};function vf(v){return!(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11&&(v.nodeType!==8||v.nodeValue!==" react-mount-point-unstable "))}function Hf(v,A){if(A||(A=v?v.nodeType===9?v.documentElement:v.firstChild:null,A=!(!A||A.nodeType!==1||!A.hasAttribute("data-reactroot"))),!A)for(var Z;Z=v.lastChild;)v.removeChild(Z);return new rf(v,0,A?{hydrate:!0}:void 0)}function Cf(v,A,Z,ve,Le){var lt=Z._reactRootContainer;if(lt){var Ut=lt._internalRoot;if(typeof Le=="function"){var rr=Le;Le=function(){var t=Af(Ut);rr.call(t)}}Bc(A,Ut,v,Le)}else{if(lt=Z._reactRootContainer=Hf(Z,ve),Ut=lt._internalRoot,typeof Le=="function"){var P=Le;Le=function(){var t=Af(Ut);P.call(t)}}Ea(function(){Bc(A,Ut,v,Le)})}return Af(Ut)}hn=function(v){if(v.tag===13){var A=hu();El(v,4,A),Nc(v,4)}},Fn=function(v){if(v.tag===13){var A=hu();El(v,67108864,A),Nc(v,67108864)}},ti=function(v){if(v.tag===13){var A=hu(),Z=$u(v);El(v,Z,A),Nc(v,Z)}},jn=function(v,A){return A()},Tt=function(v,A,Z){switch(A){case"input":if(ge(v,Z),A=Z.name,Z.type==="radio"&&A!=null){for(Z=v;Z.parentNode;)Z=Z.parentNode;for(Z=Z.querySelectorAll("input[name="+JSON.stringify(""+A)+'][type="radio"]'),A=0;A<Z.length;A++){var ve=Z[A];if(ve!==v&&ve.form===v.form){var Le=qa(ve);if(!Le)throw Error(c(90));st(ve),ge(ve,Le)}}}break;case"textarea":Wt(v,Z);break;case"select":A=Z.value,A!=null&&nt(v,!!Z.multiple,A,!1)}},Rt=Bi,Be=function(v,A,Z,ve,Le){var lt=Re;Re|=4;try{return Tr(98,v.bind(null,A,Z,ve,Le))}finally{Re=lt,Re===0&&(Nu(),an())}},kr=function(){!(Re&49)&&(Kn(),Fl())},At=function(v,A){var Z=Re;Re|=2;try{return v(A)}finally{Re=Z,Re===0&&(Nu(),an())}};function Bf(v,A){var Z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!vf(A))throw Error(c(200));return mf(v,A,null,Z)}var Nf={Events:[Ka,eo,qa,Ke,gt,Fl,{current:!1}]},nf={findFiberByHostInstance:Ba,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},$f={bundleType:nf.bundleType,version:nf.version,rendererPackageName:nf.rendererPackageName,rendererConfig:nf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:U.ReactCurrentDispatcher,findHostInstanceByFiber:function(v){return v=mr(v),v===null?null:v.stateNode},findFiberByHostInstance:nf.findFiberByHostInstance||Ff,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Tf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Tf.isDisabled&&Tf.supportsFiber)try{Mn=Tf.inject($f),Dn=Tf}catch(v){}}g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Nf,g.createPortal=Bf,g.findDOMNode=function(v){if(v==null)return null;if(v.nodeType===1)return v;var A=v._reactInternals;if(A===void 0)throw typeof v.render=="function"?Error(c(188)):Error(c(268,Object.keys(v)));return v=mr(A),v=v===null?null:v.stateNode,v},g.flushSync=function(v,A){var Z=Re;if(Z&48)return v(A);Re|=1;try{if(v)return Tr(99,v.bind(null,A))}finally{Re=Z,an()}},g.hydrate=function(v,A,Z){if(!vf(A))throw Error(c(200));return Cf(null,v,A,!0,Z)},g.render=function(v,A,Z){if(!vf(A))throw Error(c(200));return Cf(null,v,A,!1,Z)},g.unmountComponentAtNode=function(v){if(!vf(v))throw Error(c(40));return v._reactRootContainer?(Ea(function(){Cf(null,null,v,!1,function(){v._reactRootContainer=null,v[ki]=null})}),!0):!1},g.unstable_batchedUpdates=Bi,g.unstable_createPortal=function(v,A){return Bf(v,A,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},g.unstable_renderSubtreeIntoContainer=function(v,A,Z,ve){if(!vf(Z))throw Error(c(200));if(v==null||v._reactInternals===void 0)throw Error(c(38));return Cf(v,A,Z,!1,ve)},g.version="17.0.2"},4676:function(d,g,e){"use strict";function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}r(),d.exports=e(23675)},12373:function(d){var g=typeof Element!="undefined",e=typeof Map=="function",r=typeof Set=="function",i=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(c,f){if(c===f)return!0;if(c&&f&&typeof c=="object"&&typeof f=="object"){if(c.constructor!==f.constructor)return!1;var s,h,u;if(Array.isArray(c)){if(s=c.length,s!=f.length)return!1;for(h=s;h--!==0;)if(!l(c[h],f[h]))return!1;return!0}var a;if(e&&c instanceof Map&&f instanceof Map){if(c.size!==f.size)return!1;for(a=c.entries();!(h=a.next()).done;)if(!f.has(h.value[0]))return!1;for(a=c.entries();!(h=a.next()).done;)if(!l(h.value[1],f.get(h.value[0])))return!1;return!0}if(r&&c instanceof Set&&f instanceof Set){if(c.size!==f.size)return!1;for(a=c.entries();!(h=a.next()).done;)if(!f.has(h.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(c)&&ArrayBuffer.isView(f)){if(s=c.length,s!=f.length)return!1;for(h=s;h--!==0;)if(c[h]!==f[h])return!1;return!0}if(c.constructor===RegExp)return c.source===f.source&&c.flags===f.flags;if(c.valueOf!==Object.prototype.valueOf&&typeof c.valueOf=="function"&&typeof f.valueOf=="function")return c.valueOf()===f.valueOf();if(c.toString!==Object.prototype.toString&&typeof c.toString=="function"&&typeof f.toString=="function")return c.toString()===f.toString();if(u=Object.keys(c),s=u.length,s!==Object.keys(f).length)return!1;for(h=s;h--!==0;)if(!Object.prototype.hasOwnProperty.call(f,u[h]))return!1;if(g&&c instanceof Element)return!1;for(h=s;h--!==0;)if(!((u[h]==="_owner"||u[h]==="__v"||u[h]==="__o")&&c.$$typeof)&&!l(c[u[h]],f[u[h]]))return!1;return!0}return c!==c&&f!==f}d.exports=function(f,s){try{return l(f,s)}catch(h){if((h.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw h}}},30508:function(d,g){"use strict";var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,l=e?Symbol.for("react.fragment"):60107,c=e?Symbol.for("react.strict_mode"):60108,f=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,h=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,a=e?Symbol.for("react.concurrent_mode"):60111,x=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,_=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,S=e?Symbol.for("react.block"):60121,R=e?Symbol.for("react.fundamental"):60117,L=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function D($){if(typeof $=="object"&&$!==null){var U=$.$$typeof;switch(U){case r:switch($=$.type,$){case u:case a:case l:case f:case c:case p:return $;default:switch($=$&&$.$$typeof,$){case h:case x:case b:case _:case s:return $;default:return U}}case i:return U}}}function B($){return D($)===a}g.AsyncMode=u,g.ConcurrentMode=a,g.ContextConsumer=h,g.ContextProvider=s,g.Element=r,g.ForwardRef=x,g.Fragment=l,g.Lazy=b,g.Memo=_,g.Portal=i,g.Profiler=f,g.StrictMode=c,g.Suspense=p,g.isAsyncMode=function($){return B($)||D($)===u},g.isConcurrentMode=B,g.isContextConsumer=function($){return D($)===h},g.isContextProvider=function($){return D($)===s},g.isElement=function($){return typeof $=="object"&&$!==null&&$.$$typeof===r},g.isForwardRef=function($){return D($)===x},g.isFragment=function($){return D($)===l},g.isLazy=function($){return D($)===b},g.isMemo=function($){return D($)===_},g.isPortal=function($){return D($)===i},g.isProfiler=function($){return D($)===f},g.isStrictMode=function($){return D($)===c},g.isSuspense=function($){return D($)===p},g.isValidElementType=function($){return typeof $=="string"||typeof $=="function"||$===l||$===a||$===f||$===c||$===p||$===y||typeof $=="object"&&$!==null&&($.$$typeof===b||$.$$typeof===_||$.$$typeof===s||$.$$typeof===h||$.$$typeof===x||$.$$typeof===R||$.$$typeof===L||$.$$typeof===C||$.$$typeof===S)},g.typeOf=D},99234:function(d,g,e){"use strict";d.exports=e(30508)},88172:function(d,g){"use strict";var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),s=Symbol.for("react.context"),h=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),a=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),b;b=Symbol.for("react.module.reference");function S(R){if(typeof R=="object"&&R!==null){var L=R.$$typeof;switch(L){case e:switch(R=R.type,R){case i:case c:case l:case a:case x:return R;default:switch(R=R&&R.$$typeof,R){case h:case s:case u:case y:case p:case f:return R;default:return L}}case r:return L}}}g.ContextConsumer=s,g.ContextProvider=f,g.Element=e,g.ForwardRef=u,g.Fragment=i,g.Lazy=y,g.Memo=p,g.Portal=r,g.Profiler=c,g.StrictMode=l,g.Suspense=a,g.SuspenseList=x,g.isAsyncMode=function(){return!1},g.isConcurrentMode=function(){return!1},g.isContextConsumer=function(R){return S(R)===s},g.isContextProvider=function(R){return S(R)===f},g.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===e},g.isForwardRef=function(R){return S(R)===u},g.isFragment=function(R){return S(R)===i},g.isLazy=function(R){return S(R)===y},g.isMemo=function(R){return S(R)===p},g.isPortal=function(R){return S(R)===r},g.isProfiler=function(R){return S(R)===c},g.isStrictMode=function(R){return S(R)===l},g.isSuspense=function(R){return S(R)===a},g.isSuspenseList=function(R){return S(R)===x},g.isValidElementType=function(R){return typeof R=="string"||typeof R=="function"||R===i||R===c||R===l||R===a||R===x||R===_||typeof R=="object"&&R!==null&&(R.$$typeof===y||R.$$typeof===p||R.$$typeof===f||R.$$typeof===s||R.$$typeof===u||R.$$typeof===b||R.getModuleId!==void 0)},g.typeOf=S},23265:function(d,g,e){"use strict";d.exports=e(88172)},32451:function(d,g,e){"use strict";e.d(g,{lr:function(){return R},rU:function(){return _}});var r=e(59301),i=e(35338),l=e(19340);function c(){return c=Object.assign||function(C){for(var D=1;D<arguments.length;D++){var B=arguments[D];for(var $ in B)Object.prototype.hasOwnProperty.call(B,$)&&(C[$]=B[$])}return C},c.apply(this,arguments)}function f(C,D){if(C==null)return{};var B={},$=Object.keys(C),U,K;for(K=0;K<$.length;K++)U=$[K],!(D.indexOf(U)>=0)&&(B[U]=C[U]);return B}const s=["onClick","reloadDocument","replace","state","target","to"],h=null;function u(C,D){if(!C){typeof console!="undefined"&&console.warn(D);try{throw new Error(D)}catch(B){}}}function a(C){let{basename:D,children:B,window:$}=C,U=useRef();U.current==null&&(U.current=createBrowserHistory({window:$}));let K=U.current,[V,G]=useState({action:K.action,location:K.location});return useLayoutEffect(()=>K.listen(G),[K]),createElement(Router,{basename:D,children:B,location:V.location,navigationType:V.action,navigator:K})}function x(C){let{basename:D,children:B,window:$}=C,U=useRef();U.current==null&&(U.current=createHashHistory({window:$}));let K=U.current,[V,G]=useState({action:K.action,location:K.location});return useLayoutEffect(()=>K.listen(G),[K]),createElement(Router,{basename:D,children:B,location:V.location,navigationType:V.action,navigator:K})}function p(C){let{basename:D,children:B,history:$}=C;const[U,K]=useState({action:$.action,location:$.location});return useLayoutEffect(()=>$.listen(K),[$]),createElement(Router,{basename:D,children:B,location:U.location,navigationType:U.action,navigator:$})}function y(C){return!!(C.metaKey||C.altKey||C.ctrlKey||C.shiftKey)}const _=(0,r.forwardRef)(function(D,B){let{onClick:$,reloadDocument:U,replace:K=!1,state:V,target:G,to:oe}=D,ae=f(D,s),le=(0,i.oQ)(oe),q=S(oe,{replace:K,state:V,target:G});function J(Y){$&&$(Y),!Y.defaultPrevented&&!U&&q(Y)}return(0,r.createElement)("a",c({},ae,{href:le,onClick:J,ref:B,target:G}))}),b=null;function S(C,D){let{target:B,replace:$,state:U}=D===void 0?{}:D,K=(0,i.s0)(),V=(0,i.TH)(),G=(0,i.WU)(C);return(0,r.useCallback)(oe=>{if(oe.button===0&&(!B||B==="_self")&&!y(oe)){oe.preventDefault();let ae=!!$||(0,l.Ep)(V)===(0,l.Ep)(G);K(C,{replace:ae,state:U})}},[V,K,G,$,U,B,C])}function R(C){let D=(0,r.useRef)(L(C)),B=(0,i.TH)(),$=(0,r.useMemo)(()=>{let V=L(B.search);for(let G of D.current.keys())V.has(G)||D.current.getAll(G).forEach(oe=>{V.append(G,oe)});return V},[B.search]),U=(0,i.s0)(),K=(0,r.useCallback)((V,G)=>{U("?"+L(V),G)},[U]);return[$,K]}function L(C){return C===void 0&&(C=""),new URLSearchParams(typeof C=="string"||Array.isArray(C)||C instanceof URLSearchParams?C:Object.keys(C).reduce((D,B)=>{let $=C[B];return D.concat(Array.isArray($)?$.map(U=>[B,U]):[[B,$]])},[]))}},35338:function(d,g,e){"use strict";e.d(g,{F0:function(){return st},Fg:function(){return Xe},Gn:function(){return x},TH:function(){return Q},UO:function(){return _t},V$:function(){return qt},WU:function(){return Pt},bx:function(){return Fe},fp:function(){return p},j3:function(){return It},oQ:function(){return F},s0:function(){return Ce}});var r=e(19340),i=e(59301);const l=(0,i.createContext)(null),c=(0,i.createContext)(null),f=(0,i.createContext)({outlet:null,matches:[]});function s(Ue,ge){if(!Ue)throw new Error(ge)}function h(Ue,ge){if(!Ue){typeof console!="undefined"&&console.warn(ge);try{throw new Error(ge)}catch(Ae){}}}const u={};function a(Ue,ge,Ae){!ge&&!u[Ue]&&(u[Ue]=!0)}function x(Ue,ge){return ge===void 0&&(ge={}),Ue.replace(/:(\w+)/g,(Ae,Me)=>(ge[Me]==null&&s(!1),ge[Me])).replace(/\/*\*$/,Ae=>ge["*"]==null?"":ge["*"].replace(/^\/*/,"/"))}function p(Ue,ge,Ae){Ae===void 0&&(Ae="/");let Me=typeof ge=="string"?(0,r.cP)(ge):ge,$e=Y(Me.pathname||"/",Ae);if($e==null)return null;let He=y(Ue);_(He);let nt=null;for(let ct=0;nt==null&&ct<He.length;++ct)nt=K(He[ct],$e);return nt}function y(Ue,ge,Ae,Me){return ge===void 0&&(ge=[]),Ae===void 0&&(Ae=[]),Me===void 0&&(Me=""),Ue.forEach(($e,He)=>{let nt={relativePath:$e.path||"",caseSensitive:$e.caseSensitive===!0,childrenIndex:He,route:$e};nt.relativePath.startsWith("/")&&(nt.relativePath.startsWith(Me)||s(!1),nt.relativePath=nt.relativePath.slice(Me.length));let ct=ue([Me,nt.relativePath]),Vt=Ae.concat(nt);$e.children&&$e.children.length>0&&($e.index===!0&&s(!1),y($e.children,ge,Vt,ct)),!($e.path==null&&!$e.index)&&ge.push({path:ct,score:$(ct,$e.index),routesMeta:Vt})}),ge}function _(Ue){Ue.sort((ge,Ae)=>ge.score!==Ae.score?Ae.score-ge.score:U(ge.routesMeta.map(Me=>Me.childrenIndex),Ae.routesMeta.map(Me=>Me.childrenIndex)))}const b=/^:\w+$/,S=3,R=2,L=1,C=10,D=-2,B=Ue=>Ue==="*";function $(Ue,ge){let Ae=Ue.split("/"),Me=Ae.length;return Ae.some(B)&&(Me+=D),ge&&(Me+=R),Ae.filter($e=>!B($e)).reduce(($e,He)=>$e+(b.test(He)?S:He===""?L:C),Me)}function U(Ue,ge){return Ue.length===ge.length&&Ue.slice(0,-1).every((Me,$e)=>Me===ge[$e])?Ue[Ue.length-1]-ge[ge.length-1]:0}function K(Ue,ge){let{routesMeta:Ae}=Ue,Me={},$e="/",He=[];for(let nt=0;nt<Ae.length;++nt){let ct=Ae[nt],Vt=nt===Ae.length-1,Wt=$e==="/"?ge:ge.slice($e.length)||"/",De=V({path:ct.relativePath,caseSensitive:ct.caseSensitive,end:Vt},Wt);if(!De)return null;Object.assign(Me,De.params);let qe=ct.route;He.push({params:Me,pathname:ue([$e,De.pathname]),pathnameBase:ne(ue([$e,De.pathnameBase])),route:qe}),De.pathnameBase!=="/"&&($e=ue([$e,De.pathnameBase]))}return He}function V(Ue,ge){typeof Ue=="string"&&(Ue={path:Ue,caseSensitive:!1,end:!0});let[Ae,Me]=G(Ue.path,Ue.caseSensitive,Ue.end),$e=ge.match(Ae);if(!$e)return null;let He=$e[0],nt=He.replace(/(.)\/+$/,"$1"),ct=$e.slice(1);return{params:Me.reduce((Wt,De,qe)=>{if(De==="*"){let Gt=ct[qe]||"";nt=He.slice(0,He.length-Gt.length).replace(/(.)\/+$/,"$1")}return Wt[De]=oe(ct[qe]||"",De),Wt},{}),pathname:He,pathnameBase:nt,pattern:Ue}}function G(Ue,ge,Ae){ge===void 0&&(ge=!1),Ae===void 0&&(Ae=!0);let Me=[],$e="^"+Ue.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(nt,ct)=>(Me.push(ct),"([^\\/]+)"));return Ue.endsWith("*")?(Me.push("*"),$e+=Ue==="*"||Ue==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):$e+=Ae?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp($e,ge?void 0:"i"),Me]}function oe(Ue,ge){try{return decodeURIComponent(Ue)}catch(Ae){return Ue}}function ae(Ue,ge){ge===void 0&&(ge="/");let{pathname:Ae,search:Me="",hash:$e=""}=typeof Ue=="string"?(0,r.cP)(Ue):Ue;return{pathname:Ae?Ae.startsWith("/")?Ae:le(Ae,ge):ge,search:ee(Me),hash:ie($e)}}function le(Ue,ge){let Ae=ge.replace(/\/+$/,"").split("/");return Ue.split("/").forEach($e=>{$e===".."?Ae.length>1&&Ae.pop():$e!=="."&&Ae.push($e)}),Ae.length>1?Ae.join("/"):"/"}function q(Ue,ge,Ae){let Me=typeof Ue=="string"?(0,r.cP)(Ue):Ue,$e=Ue===""||Me.pathname===""?"/":Me.pathname,He;if($e==null)He=Ae;else{let ct=ge.length-1;if($e.startsWith("..")){let Vt=$e.split("/");for(;Vt[0]==="..";)Vt.shift(),ct-=1;Me.pathname=Vt.join("/")}He=ct>=0?ge[ct]:"/"}let nt=ae(Me,He);return $e&&$e!=="/"&&$e.endsWith("/")&&!nt.pathname.endsWith("/")&&(nt.pathname+="/"),nt}function J(Ue){return Ue===""||Ue.pathname===""?"/":typeof Ue=="string"?(0,r.cP)(Ue).pathname:Ue.pathname}function Y(Ue,ge){if(ge==="/")return Ue;if(!Ue.toLowerCase().startsWith(ge.toLowerCase()))return null;let Ae=Ue.charAt(ge.length);return Ae&&Ae!=="/"?null:Ue.slice(ge.length)||"/"}const ue=Ue=>Ue.join("/").replace(/\/\/+/g,"/"),ne=Ue=>Ue.replace(/\/+$/,"").replace(/^\/*/,"/"),ee=Ue=>!Ue||Ue==="?"?"":Ue.startsWith("?")?Ue:"?"+Ue,ie=Ue=>!Ue||Ue==="#"?"":Ue.startsWith("#")?Ue:"#"+Ue;function F(Ue){M()||s(!1);let{basename:ge,navigator:Ae}=(0,i.useContext)(l),{hash:Me,pathname:$e,search:He}=Pt(Ue),nt=$e;if(ge!=="/"){let ct=J(Ue),Vt=ct!=null&&ct.endsWith("/");nt=$e==="/"?ge+(Vt?"/":""):ue([ge,$e])}return Ae.createHref({pathname:nt,search:He,hash:Me})}function M(){return(0,i.useContext)(c)!=null}function Q(){return M()||s(!1),(0,i.useContext)(c).location}function de(){return useContext(c).navigationType}function we(Ue){M()||s(!1);let{pathname:ge}=Q();return useMemo(()=>V(Ue,ge),[ge,Ue])}function Ce(){M()||s(!1);let{basename:Ue,navigator:ge}=(0,i.useContext)(l),{matches:Ae}=(0,i.useContext)(f),{pathname:Me}=Q(),$e=JSON.stringify(Ae.map(ct=>ct.pathnameBase)),He=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{He.current=!0}),(0,i.useCallback)(function(ct,Vt){if(Vt===void 0&&(Vt={}),!He.current)return;if(typeof ct=="number"){ge.go(ct);return}let Wt=q(ct,JSON.parse($e),Me);Ue!=="/"&&(Wt.pathname=ue([Ue,Wt.pathname])),(Vt.replace?ge.replace:ge.push)(Wt,Vt.state)},[Ue,ge,$e,Me])}const je=(0,i.createContext)(null);function Fe(){return(0,i.useContext)(je)}function Ft(Ue){let ge=(0,i.useContext)(f).outlet;return ge&&(0,i.createElement)(je.Provider,{value:Ue},ge)}function _t(){let{matches:Ue}=(0,i.useContext)(f),ge=Ue[Ue.length-1];return ge?ge.params:{}}function Pt(Ue){let{matches:ge}=(0,i.useContext)(f),{pathname:Ae}=Q(),Me=JSON.stringify(ge.map($e=>$e.pathnameBase));return(0,i.useMemo)(()=>q(Ue,JSON.parse(Me),Ae),[Ue,Me,Ae])}function qt(Ue,ge){M()||s(!1);let{matches:Ae}=(0,i.useContext)(f),Me=Ae[Ae.length-1],$e=Me?Me.params:{},He=Me?Me.pathname:"/",nt=Me?Me.pathnameBase:"/",ct=Me&&Me.route,Vt=Q(),Wt;if(ge){var De;let Ht=typeof ge=="string"?(0,r.cP)(ge):ge;nt==="/"||(De=Ht.pathname)!=null&&De.startsWith(nt)||s(!1),Wt=Ht}else Wt=Vt;let qe=Wt.pathname||"/",Gt=nt==="/"?qe:qe.slice(nt.length)||"/",kt=p(Ue,{pathname:Gt});return er(kt&&kt.map(Ht=>Object.assign({},Ht,{params:Object.assign({},$e,Ht.params),pathname:ue([nt,Ht.pathname]),pathnameBase:Ht.pathnameBase==="/"?nt:ue([nt,Ht.pathnameBase])})),Ae)}function er(Ue,ge){return ge===void 0&&(ge=[]),Ue==null?null:Ue.reduceRight((Ae,Me,$e)=>(0,i.createElement)(f.Provider,{children:Me.route.element!==void 0?Me.route.element:Ae,value:{outlet:Ae,matches:ge.concat(Ue.slice(0,$e+1))}}),null)}function Jt(Ue){let{basename:ge,children:Ae,initialEntries:Me,initialIndex:$e}=Ue,He=useRef();He.current==null&&(He.current=createMemoryHistory({initialEntries:Me,initialIndex:$e}));let nt=He.current,[ct,Vt]=useState({action:nt.action,location:nt.location});return useLayoutEffect(()=>nt.listen(Vt),[nt]),createElement(st,{basename:ge,children:Ae,location:ct.location,navigationType:ct.action,navigator:nt})}function Xe(Ue){let{to:ge,replace:Ae,state:Me}=Ue;M()||s(!1);let $e=Ce();return(0,i.useEffect)(()=>{$e(ge,{replace:Ae,state:Me})}),null}function It(Ue){return Ft(Ue.context)}function zt(Ue){s(!1)}function st(Ue){let{basename:ge="/",children:Ae=null,location:Me,navigationType:$e=r.aU.Pop,navigator:He,static:nt=!1}=Ue;M()&&s(!1);let ct=ne(ge),Vt=(0,i.useMemo)(()=>({basename:ct,navigator:He,static:nt}),[ct,He,nt]);typeof Me=="string"&&(Me=(0,r.cP)(Me));let{pathname:Wt="/",search:De="",hash:qe="",state:Gt=null,key:kt="default"}=Me,Ht=(0,i.useMemo)(()=>{let $t=Y(Wt,ct);return $t==null?null:{pathname:$t,search:De,hash:qe,state:Gt,key:kt}},[ct,Wt,De,qe,Gt,kt]);return Ht==null?null:(0,i.createElement)(l.Provider,{value:Vt},(0,i.createElement)(c.Provider,{children:Ae,value:{location:Ht,navigationType:$e}}))}function bt(Ue){let{children:ge,location:Ae}=Ue;return qt(ht(ge),Ae)}function ht(Ue){let ge=[];return Children.forEach(Ue,Ae=>{if(!isValidElement(Ae))return;if(Ae.type===Fragment){ge.push.apply(ge,ht(Ae.props.children));return}Ae.type!==zt&&s(!1);let Me={caseSensitive:Ae.props.caseSensitive,element:Ae.props.element,index:Ae.props.index,path:Ae.props.path};Ae.props.children&&(Me.children=ht(Ae.props.children)),ge.push(Me)}),ge}function Je(Ue){return er(Ue)}},76100:function(d,g,e){"use strict";var r=e(84126),i=60103,l=60106;g.Fragment=60107,g.StrictMode=60108,g.Profiler=60114;var c=60109,f=60110,s=60112;g.Suspense=60113;var h=60115,u=60116;if(typeof Symbol=="function"&&Symbol.for){var a=Symbol.for;i=a("react.element"),l=a("react.portal"),g.Fragment=a("react.fragment"),g.StrictMode=a("react.strict_mode"),g.Profiler=a("react.profiler"),c=a("react.provider"),f=a("react.context"),s=a("react.forward_ref"),g.Suspense=a("react.suspense"),h=a("react.memo"),u=a("react.lazy")}var x=typeof Symbol=="function"&&Symbol.iterator;function p(ee){return ee===null||typeof ee!="object"?null:(ee=x&&ee[x]||ee["@@iterator"],typeof ee=="function"?ee:null)}function y(ee){for(var ie="https://reactjs.org/docs/error-decoder.html?invariant="+ee,F=1;F<arguments.length;F++)ie+="&args[]="+encodeURIComponent(arguments[F]);return"Minified React error #"+ee+"; visit "+ie+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function S(ee,ie,F){this.props=ee,this.context=ie,this.refs=b,this.updater=F||_}S.prototype.isReactComponent={},S.prototype.setState=function(ee,ie){if(typeof ee!="object"&&typeof ee!="function"&&ee!=null)throw Error(y(85));this.updater.enqueueSetState(this,ee,ie,"setState")},S.prototype.forceUpdate=function(ee){this.updater.enqueueForceUpdate(this,ee,"forceUpdate")};function R(){}R.prototype=S.prototype;function L(ee,ie,F){this.props=ee,this.context=ie,this.refs=b,this.updater=F||_}var C=L.prototype=new R;C.constructor=L,r(C,S.prototype),C.isPureReactComponent=!0;var D={current:null},B=Object.prototype.hasOwnProperty,$={key:!0,ref:!0,__self:!0,__source:!0};function U(ee,ie,F){var M,Q={},de=null,we=null;if(ie!=null)for(M in ie.ref!==void 0&&(we=ie.ref),ie.key!==void 0&&(de=""+ie.key),ie)B.call(ie,M)&&!$.hasOwnProperty(M)&&(Q[M]=ie[M]);var Ce=arguments.length-2;if(Ce===1)Q.children=F;else if(1<Ce){for(var je=Array(Ce),Fe=0;Fe<Ce;Fe++)je[Fe]=arguments[Fe+2];Q.children=je}if(ee&&ee.defaultProps)for(M in Ce=ee.defaultProps,Ce)Q[M]===void 0&&(Q[M]=Ce[M]);return{$$typeof:i,type:ee,key:de,ref:we,props:Q,_owner:D.current}}function K(ee,ie){return{$$typeof:i,type:ee.type,key:ie,ref:ee.ref,props:ee.props,_owner:ee._owner}}function V(ee){return typeof ee=="object"&&ee!==null&&ee.$$typeof===i}function G(ee){var ie={"=":"=0",":":"=2"};return"$"+ee.replace(/[=:]/g,function(F){return ie[F]})}var oe=/\/+/g;function ae(ee,ie){return typeof ee=="object"&&ee!==null&&ee.key!=null?G(""+ee.key):ie.toString(36)}function le(ee,ie,F,M,Q){var de=typeof ee;(de==="undefined"||de==="boolean")&&(ee=null);var we=!1;if(ee===null)we=!0;else switch(de){case"string":case"number":we=!0;break;case"object":switch(ee.$$typeof){case i:case l:we=!0}}if(we)return we=ee,Q=Q(we),ee=M===""?"."+ae(we,0):M,Array.isArray(Q)?(F="",ee!=null&&(F=ee.replace(oe,"$&/")+"/"),le(Q,ie,F,"",function(Fe){return Fe})):Q!=null&&(V(Q)&&(Q=K(Q,F+(!Q.key||we&&we.key===Q.key?"":(""+Q.key).replace(oe,"$&/")+"/")+ee)),ie.push(Q)),1;if(we=0,M=M===""?".":M+":",Array.isArray(ee))for(var Ce=0;Ce<ee.length;Ce++){de=ee[Ce];var je=M+ae(de,Ce);we+=le(de,ie,F,je,Q)}else if(je=p(ee),typeof je=="function")for(ee=je.call(ee),Ce=0;!(de=ee.next()).done;)de=de.value,je=M+ae(de,Ce++),we+=le(de,ie,F,je,Q);else if(de==="object")throw ie=""+ee,Error(y(31,ie==="[object Object]"?"object with keys {"+Object.keys(ee).join(", ")+"}":ie));return we}function q(ee,ie,F){if(ee==null)return ee;var M=[],Q=0;return le(ee,M,"","",function(de){return ie.call(F,de,Q++)}),M}function J(ee){if(ee._status===-1){var ie=ee._result;ie=ie(),ee._status=0,ee._result=ie,ie.then(function(F){ee._status===0&&(F=F.default,ee._status=1,ee._result=F)},function(F){ee._status===0&&(ee._status=2,ee._result=F)})}if(ee._status===1)return ee._result;throw ee._result}var Y={current:null};function ue(){var ee=Y.current;if(ee===null)throw Error(y(321));return ee}var ne={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:D,IsSomeRendererActing:{current:!1},assign:r};g.Children={map:q,forEach:function(ee,ie,F){q(ee,function(){ie.apply(this,arguments)},F)},count:function(ee){var ie=0;return q(ee,function(){ie++}),ie},toArray:function(ee){return q(ee,function(ie){return ie})||[]},only:function(ee){if(!V(ee))throw Error(y(143));return ee}},g.Component=S,g.PureComponent=L,g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ne,g.cloneElement=function(ee,ie,F){if(ee==null)throw Error(y(267,ee));var M=r({},ee.props),Q=ee.key,de=ee.ref,we=ee._owner;if(ie!=null){if(ie.ref!==void 0&&(de=ie.ref,we=D.current),ie.key!==void 0&&(Q=""+ie.key),ee.type&&ee.type.defaultProps)var Ce=ee.type.defaultProps;for(je in ie)B.call(ie,je)&&!$.hasOwnProperty(je)&&(M[je]=ie[je]===void 0&&Ce!==void 0?Ce[je]:ie[je])}var je=arguments.length-2;if(je===1)M.children=F;else if(1<je){Ce=Array(je);for(var Fe=0;Fe<je;Fe++)Ce[Fe]=arguments[Fe+2];M.children=Ce}return{$$typeof:i,type:ee.type,key:Q,ref:de,props:M,_owner:we}},g.createContext=function(ee,ie){return ie===void 0&&(ie=null),ee={$$typeof:f,_calculateChangedBits:ie,_currentValue:ee,_currentValue2:ee,_threadCount:0,Provider:null,Consumer:null},ee.Provider={$$typeof:c,_context:ee},ee.Consumer=ee},g.createElement=U,g.createFactory=function(ee){var ie=U.bind(null,ee);return ie.type=ee,ie},g.createRef=function(){return{current:null}},g.forwardRef=function(ee){return{$$typeof:s,render:ee}},g.isValidElement=V,g.lazy=function(ee){return{$$typeof:u,_payload:{_status:-1,_result:ee},_init:J}},g.memo=function(ee,ie){return{$$typeof:h,type:ee,compare:ie===void 0?null:ie}},g.useCallback=function(ee,ie){return ue().useCallback(ee,ie)},g.useContext=function(ee,ie){return ue().useContext(ee,ie)},g.useDebugValue=function(){},g.useEffect=function(ee,ie){return ue().useEffect(ee,ie)},g.useImperativeHandle=function(ee,ie,F){return ue().useImperativeHandle(ee,ie,F)},g.useLayoutEffect=function(ee,ie){return ue().useLayoutEffect(ee,ie)},g.useMemo=function(ee,ie){return ue().useMemo(ee,ie)},g.useReducer=function(ee,ie,F){return ue().useReducer(ee,ie,F)},g.useRef=function(ee){return ue().useRef(ee)},g.useState=function(ee){return ue().useState(ee)},g.version="17.0.2"},59301:function(d,g,e){"use strict";d.exports=e(76100)},59781:function(d,g,e){"use strict";e.d(g,{DE:function(){return D},MT:function(){return y},UY:function(){return L},md:function(){return $},qC:function(){return B}});var r=e(77321);function i(U){return"Minified Redux error #"+U+"; visit https://redux.js.org/Errors?code="+U+" for the full message or use the non-minified dev environment for full errors. "}var l=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),c=function(){return Math.random().toString(36).substring(7).split("").join(".")},f={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function s(U){if(typeof U!="object"||U===null)return!1;for(var K=U;Object.getPrototypeOf(K)!==null;)K=Object.getPrototypeOf(K);return Object.getPrototypeOf(U)===K}function h(U){if(U===void 0)return"undefined";if(U===null)return"null";var K=typeof U;switch(K){case"boolean":case"string":case"number":case"symbol":case"function":return K}if(Array.isArray(U))return"array";if(x(U))return"date";if(a(U))return"error";var V=u(U);switch(V){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return V}return K.slice(8,-1).toLowerCase().replace(/\s/g,"")}function u(U){return typeof U.constructor=="function"?U.constructor.name:null}function a(U){return U instanceof Error||typeof U.message=="string"&&U.constructor&&typeof U.constructor.stackTraceLimit=="number"}function x(U){return U instanceof Date?!0:typeof U.toDateString=="function"&&typeof U.getDate=="function"&&typeof U.setDate=="function"}function p(U){var K=typeof U;return K}function y(U,K,V){var G;if(typeof K=="function"&&typeof V=="function"||typeof V=="function"&&typeof arguments[3]=="function")throw new Error(i(0));if(typeof K=="function"&&typeof V=="undefined"&&(V=K,K=void 0),typeof V!="undefined"){if(typeof V!="function")throw new Error(i(1));return V(y)(U,K)}if(typeof U!="function")throw new Error(i(2));var oe=U,ae=K,le=[],q=le,J=!1;function Y(){q===le&&(q=le.slice())}function ue(){if(J)throw new Error(i(3));return ae}function ne(M){if(typeof M!="function")throw new Error(i(4));if(J)throw new Error(i(5));var Q=!0;return Y(),q.push(M),function(){if(Q){if(J)throw new Error(i(6));Q=!1,Y();var we=q.indexOf(M);q.splice(we,1),le=null}}}function ee(M){if(!s(M))throw new Error(i(7));if(typeof M.type=="undefined")throw new Error(i(8));if(J)throw new Error(i(9));try{J=!0,ae=oe(ae,M)}finally{J=!1}for(var Q=le=q,de=0;de<Q.length;de++){var we=Q[de];we()}return M}function ie(M){if(typeof M!="function")throw new Error(i(10));oe=M,ee({type:f.REPLACE})}function F(){var M,Q=ne;return M={subscribe:function(we){if(typeof we!="object"||we===null)throw new Error(i(11));function Ce(){we.next&&we.next(ue())}Ce();var je=Q(Ce);return{unsubscribe:je}}},M[l]=function(){return this},M}return ee({type:f.INIT}),G={dispatch:ee,subscribe:ne,getState:ue,replaceReducer:ie},G[l]=F,G}var _=null;function b(U){typeof console!="undefined"&&typeof console.error=="function"&&console.error(U);try{throw new Error(U)}catch(K){}}function S(U,K,V,G){var oe=Object.keys(K),ae=V&&V.type===f.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(oe.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!s(U))return"The "+ae+' has unexpected type of "'+p(U)+'". Expected argument to be an object with the following '+('keys: "'+oe.join('", "')+'"');var le=Object.keys(U).filter(function(q){return!K.hasOwnProperty(q)&&!G[q]});if(le.forEach(function(q){G[q]=!0}),!(V&&V.type===f.REPLACE)&&le.length>0)return"Unexpected "+(le.length>1?"keys":"key")+" "+('"'+le.join('", "')+'" found in '+ae+". ")+"Expected to find one of the known reducer keys instead: "+('"'+oe.join('", "')+'". Unexpected keys will be ignored.')}function R(U){Object.keys(U).forEach(function(K){var V=U[K],G=V(void 0,{type:f.INIT});if(typeof G=="undefined")throw new Error(i(12));if(typeof V(void 0,{type:f.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(i(13))})}function L(U){for(var K=Object.keys(U),V={},G=0;G<K.length;G++){var oe=K[G];typeof U[oe]=="function"&&(V[oe]=U[oe])}var ae=Object.keys(V),le,q;try{R(V)}catch(J){q=J}return function(Y,ue){if(Y===void 0&&(Y={}),q)throw q;if(0)var ne;for(var ee=!1,ie={},F=0;F<ae.length;F++){var M=ae[F],Q=V[M],de=Y[M],we=Q(de,ue);if(typeof we=="undefined"){var Ce=ue&&ue.type;throw new Error(i(14))}ie[M]=we,ee=ee||we!==de}return ee=ee||ae.length!==Object.keys(Y).length,ee?ie:Y}}function C(U,K){return function(){return K(U.apply(this,arguments))}}function D(U,K){if(typeof U=="function")return C(U,K);if(typeof U!="object"||U===null)throw new Error(i(16));var V={};for(var G in U){var oe=U[G];typeof oe=="function"&&(V[G]=C(oe,K))}return V}function B(){for(var U=arguments.length,K=new Array(U),V=0;V<U;V++)K[V]=arguments[V];return K.length===0?function(G){return G}:K.length===1?K[0]:K.reduce(function(G,oe){return function(){return G(oe.apply(void 0,arguments))}})}function $(){for(var U=arguments.length,K=new Array(U),V=0;V<U;V++)K[V]=arguments[V];return function(G){return function(){var oe=G.apply(void 0,arguments),ae=function(){throw new Error(i(15))},le={getState:oe.getState,dispatch:function(){return ae.apply(void 0,arguments)}},q=K.map(function(J){return J(le)});return ae=B.apply(void 0,q)(oe.dispatch),(0,r.Z)((0,r.Z)({},oe),{},{dispatch:ae})}}}},58246:function(d){var g=function(e){"use strict";var r=Object.prototype,i=r.hasOwnProperty,l=Object.defineProperty||function(ne,ee,ie){ne[ee]=ie.value},c,f=typeof Symbol=="function"?Symbol:{},s=f.iterator||"@@iterator",h=f.asyncIterator||"@@asyncIterator",u=f.toStringTag||"@@toStringTag";function a(ne,ee,ie){return Object.defineProperty(ne,ee,{value:ie,enumerable:!0,configurable:!0,writable:!0}),ne[ee]}try{a({},"")}catch(ne){a=function(ee,ie,F){return ee[ie]=F}}function x(ne,ee,ie,F){var M=ee&&ee.prototype instanceof L?ee:L,Q=Object.create(M.prototype),de=new J(F||[]);return l(Q,"_invoke",{value:oe(ne,ie,de)}),Q}e.wrap=x;function p(ne,ee,ie){try{return{type:"normal",arg:ne.call(ee,ie)}}catch(F){return{type:"throw",arg:F}}}var y="suspendedStart",_="suspendedYield",b="executing",S="completed",R={};function L(){}function C(){}function D(){}var B={};a(B,s,function(){return this});var $=Object.getPrototypeOf,U=$&&$($(Y([])));U&&U!==r&&i.call(U,s)&&(B=U);var K=D.prototype=L.prototype=Object.create(B);C.prototype=D,l(K,"constructor",{value:D,configurable:!0}),l(D,"constructor",{value:C,configurable:!0}),C.displayName=a(D,u,"GeneratorFunction");function V(ne){["next","throw","return"].forEach(function(ee){a(ne,ee,function(ie){return this._invoke(ee,ie)})})}e.isGeneratorFunction=function(ne){var ee=typeof ne=="function"&&ne.constructor;return ee?ee===C||(ee.displayName||ee.name)==="GeneratorFunction":!1},e.mark=function(ne){return Object.setPrototypeOf?Object.setPrototypeOf(ne,D):(ne.__proto__=D,a(ne,u,"GeneratorFunction")),ne.prototype=Object.create(K),ne},e.awrap=function(ne){return{__await:ne}};function G(ne,ee){function ie(Q,de,we,Ce){var je=p(ne[Q],ne,de);if(je.type==="throw")Ce(je.arg);else{var Fe=je.arg,Ft=Fe.value;return Ft&&typeof Ft=="object"&&i.call(Ft,"__await")?ee.resolve(Ft.__await).then(function(_t){ie("next",_t,we,Ce)},function(_t){ie("throw",_t,we,Ce)}):ee.resolve(Ft).then(function(_t){Fe.value=_t,we(Fe)},function(_t){return ie("throw",_t,we,Ce)})}}var F;function M(Q,de){function we(){return new ee(function(Ce,je){ie(Q,de,Ce,je)})}return F=F?F.then(we,we):we()}l(this,"_invoke",{value:M})}V(G.prototype),a(G.prototype,h,function(){return this}),e.AsyncIterator=G,e.async=function(ne,ee,ie,F,M){M===void 0&&(M=Promise);var Q=new G(x(ne,ee,ie,F),M);return e.isGeneratorFunction(ee)?Q:Q.next().then(function(de){return de.done?de.value:Q.next()})};function oe(ne,ee,ie){var F=y;return function(Q,de){if(F===b)throw new Error("Generator is already running");if(F===S){if(Q==="throw")throw de;return ue()}for(ie.method=Q,ie.arg=de;;){var we=ie.delegate;if(we){var Ce=ae(we,ie);if(Ce){if(Ce===R)continue;return Ce}}if(ie.method==="next")ie.sent=ie._sent=ie.arg;else if(ie.method==="throw"){if(F===y)throw F=S,ie.arg;ie.dispatchException(ie.arg)}else ie.method==="return"&&ie.abrupt("return",ie.arg);F=b;var je=p(ne,ee,ie);if(je.type==="normal"){if(F=ie.done?S:_,je.arg===R)continue;return{value:je.arg,done:ie.done}}else je.type==="throw"&&(F=S,ie.method="throw",ie.arg=je.arg)}}}function ae(ne,ee){var ie=ee.method,F=ne.iterator[ie];if(F===c)return ee.delegate=null,ie==="throw"&&ne.iterator.return&&(ee.method="return",ee.arg=c,ae(ne,ee),ee.method==="throw")||ie!=="return"&&(ee.method="throw",ee.arg=new TypeError("The iterator does not provide a '"+ie+"' method")),R;var M=p(F,ne.iterator,ee.arg);if(M.type==="throw")return ee.method="throw",ee.arg=M.arg,ee.delegate=null,R;var Q=M.arg;if(!Q)return ee.method="throw",ee.arg=new TypeError("iterator result is not an object"),ee.delegate=null,R;if(Q.done)ee[ne.resultName]=Q.value,ee.next=ne.nextLoc,ee.method!=="return"&&(ee.method="next",ee.arg=c);else return Q;return ee.delegate=null,R}V(K),a(K,u,"Generator"),a(K,s,function(){return this}),a(K,"toString",function(){return"[object Generator]"});function le(ne){var ee={tryLoc:ne[0]};1 in ne&&(ee.catchLoc=ne[1]),2 in ne&&(ee.finallyLoc=ne[2],ee.afterLoc=ne[3]),this.tryEntries.push(ee)}function q(ne){var ee=ne.completion||{};ee.type="normal",delete ee.arg,ne.completion=ee}function J(ne){this.tryEntries=[{tryLoc:"root"}],ne.forEach(le,this),this.reset(!0)}e.keys=function(ne){var ee=Object(ne),ie=[];for(var F in ee)ie.push(F);return ie.reverse(),function M(){for(;ie.length;){var Q=ie.pop();if(Q in ee)return M.value=Q,M.done=!1,M}return M.done=!0,M}};function Y(ne){if(ne){var ee=ne[s];if(ee)return ee.call(ne);if(typeof ne.next=="function")return ne;if(!isNaN(ne.length)){var ie=-1,F=function M(){for(;++ie<ne.length;)if(i.call(ne,ie))return M.value=ne[ie],M.done=!1,M;return M.value=c,M.done=!0,M};return F.next=F}}return{next:ue}}e.values=Y;function ue(){return{value:c,done:!0}}return J.prototype={constructor:J,reset:function(ne){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(q),!ne)for(var ee in this)ee.charAt(0)==="t"&&i.call(this,ee)&&!isNaN(+ee.slice(1))&&(this[ee]=c)},stop:function(){this.done=!0;var ne=this.tryEntries[0],ee=ne.completion;if(ee.type==="throw")throw ee.arg;return this.rval},dispatchException:function(ne){if(this.done)throw ne;var ee=this;function ie(Ce,je){return Q.type="throw",Q.arg=ne,ee.next=Ce,je&&(ee.method="next",ee.arg=c),!!je}for(var F=this.tryEntries.length-1;F>=0;--F){var M=this.tryEntries[F],Q=M.completion;if(M.tryLoc==="root")return ie("end");if(M.tryLoc<=this.prev){var de=i.call(M,"catchLoc"),we=i.call(M,"finallyLoc");if(de&&we){if(this.prev<M.catchLoc)return ie(M.catchLoc,!0);if(this.prev<M.finallyLoc)return ie(M.finallyLoc)}else if(de){if(this.prev<M.catchLoc)return ie(M.catchLoc,!0)}else if(we){if(this.prev<M.finallyLoc)return ie(M.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(ne,ee){for(var ie=this.tryEntries.length-1;ie>=0;--ie){var F=this.tryEntries[ie];if(F.tryLoc<=this.prev&&i.call(F,"finallyLoc")&&this.prev<F.finallyLoc){var M=F;break}}M&&(ne==="break"||ne==="continue")&&M.tryLoc<=ee&&ee<=M.finallyLoc&&(M=null);var Q=M?M.completion:{};return Q.type=ne,Q.arg=ee,M?(this.method="next",this.next=M.finallyLoc,R):this.complete(Q)},complete:function(ne,ee){if(ne.type==="throw")throw ne.arg;return ne.type==="break"||ne.type==="continue"?this.next=ne.arg:ne.type==="return"?(this.rval=this.arg=ne.arg,this.method="return",this.next="end"):ne.type==="normal"&&ee&&(this.next=ee),R},finish:function(ne){for(var ee=this.tryEntries.length-1;ee>=0;--ee){var ie=this.tryEntries[ee];if(ie.finallyLoc===ne)return this.complete(ie.completion,ie.afterLoc),q(ie),R}},catch:function(ne){for(var ee=this.tryEntries.length-1;ee>=0;--ee){var ie=this.tryEntries[ee];if(ie.tryLoc===ne){var F=ie.completion;if(F.type==="throw"){var M=F.arg;q(ie)}return M}}throw new Error("illegal catch attempt")},delegateYield:function(ne,ee,ie){return this.delegate={iterator:Y(ne),resultName:ee,nextLoc:ie},this.method==="next"&&(this.arg=c),R}},e}(d.exports);try{regeneratorRuntime=g}catch(e){typeof globalThis=="object"?globalThis.regeneratorRuntime=g:Function("r","regeneratorRuntime = r")(g)}},76374:function(d,g,e){"use strict";var r=function(){if(typeof Map!="undefined")return Map;function J(Y,ue){var ne=-1;return Y.some(function(ee,ie){return ee[0]===ue?(ne=ie,!0):!1}),ne}return function(){function Y(){this.__entries__=[]}return Object.defineProperty(Y.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),Y.prototype.get=function(ue){var ne=J(this.__entries__,ue),ee=this.__entries__[ne];return ee&&ee[1]},Y.prototype.set=function(ue,ne){var ee=J(this.__entries__,ue);~ee?this.__entries__[ee][1]=ne:this.__entries__.push([ue,ne])},Y.prototype.delete=function(ue){var ne=this.__entries__,ee=J(ne,ue);~ee&&ne.splice(ee,1)},Y.prototype.has=function(ue){return!!~J(this.__entries__,ue)},Y.prototype.clear=function(){this.__entries__.splice(0)},Y.prototype.forEach=function(ue,ne){ne===void 0&&(ne=null);for(var ee=0,ie=this.__entries__;ee<ie.length;ee++){var F=ie[ee];ue.call(ne,F[1],F[0])}},Y}()}(),i=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,l=function(){return typeof e.g!="undefined"&&e.g.Math===Math?e.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),c=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(l):function(J){return setTimeout(function(){return J(Date.now())},1e3/60)}}(),f=2;function s(J,Y){var ue=!1,ne=!1,ee=0;function ie(){ue&&(ue=!1,J()),ne&&M()}function F(){c(ie)}function M(){var Q=Date.now();if(ue){if(Q-ee<f)return;ne=!0}else ue=!0,ne=!1,setTimeout(F,Y);ee=Q}return M}var h=20,u=["top","right","bottom","left","width","height","size","weight"],a=typeof MutationObserver!="undefined",x=function(){function J(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),h)}return J.prototype.addObserver=function(Y){~this.observers_.indexOf(Y)||this.observers_.push(Y),this.connected_||this.connect_()},J.prototype.removeObserver=function(Y){var ue=this.observers_,ne=ue.indexOf(Y);~ne&&ue.splice(ne,1),!ue.length&&this.connected_&&this.disconnect_()},J.prototype.refresh=function(){var Y=this.updateObservers_();Y&&this.refresh()},J.prototype.updateObservers_=function(){var Y=this.observers_.filter(function(ue){return ue.gatherActive(),ue.hasActive()});return Y.forEach(function(ue){return ue.broadcastActive()}),Y.length>0},J.prototype.connect_=function(){!i||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(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)},J.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)},J.prototype.onTransitionEnd_=function(Y){var ue=Y.propertyName,ne=ue===void 0?"":ue,ee=u.some(function(ie){return!!~ne.indexOf(ie)});ee&&this.refresh()},J.getInstance=function(){return this.instance_||(this.instance_=new J),this.instance_},J.instance_=null,J}(),p=function(J,Y){for(var ue=0,ne=Object.keys(Y);ue<ne.length;ue++){var ee=ne[ue];Object.defineProperty(J,ee,{value:Y[ee],enumerable:!1,writable:!1,configurable:!0})}return J},y=function(J){var Y=J&&J.ownerDocument&&J.ownerDocument.defaultView;return Y||l},_=K(0,0,0,0);function b(J){return parseFloat(J)||0}function S(J){for(var Y=[],ue=1;ue<arguments.length;ue++)Y[ue-1]=arguments[ue];return Y.reduce(function(ne,ee){var ie=J["border-"+ee+"-width"];return ne+b(ie)},0)}function R(J){for(var Y=["top","right","bottom","left"],ue={},ne=0,ee=Y;ne<ee.length;ne++){var ie=ee[ne],F=J["padding-"+ie];ue[ie]=b(F)}return ue}function L(J){var Y=J.getBBox();return K(0,0,Y.width,Y.height)}function C(J){var Y=J.clientWidth,ue=J.clientHeight;if(!Y&&!ue)return _;var ne=y(J).getComputedStyle(J),ee=R(ne),ie=ee.left+ee.right,F=ee.top+ee.bottom,M=b(ne.width),Q=b(ne.height);if(ne.boxSizing==="border-box"&&(Math.round(M+ie)!==Y&&(M-=S(ne,"left","right")+ie),Math.round(Q+F)!==ue&&(Q-=S(ne,"top","bottom")+F)),!B(J)){var de=Math.round(M+ie)-Y,we=Math.round(Q+F)-ue;Math.abs(de)!==1&&(M-=de),Math.abs(we)!==1&&(Q-=we)}return K(ee.left,ee.top,M,Q)}var D=function(){return typeof SVGGraphicsElement!="undefined"?function(J){return J instanceof y(J).SVGGraphicsElement}:function(J){return J instanceof y(J).SVGElement&&typeof J.getBBox=="function"}}();function B(J){return J===y(J).document.documentElement}function $(J){return i?D(J)?L(J):C(J):_}function U(J){var Y=J.x,ue=J.y,ne=J.width,ee=J.height,ie=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,F=Object.create(ie.prototype);return p(F,{x:Y,y:ue,width:ne,height:ee,top:ue,right:Y+ne,bottom:ee+ue,left:Y}),F}function K(J,Y,ue,ne){return{x:J,y:Y,width:ue,height:ne}}var V=function(){function J(Y){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=K(0,0,0,0),this.target=Y}return J.prototype.isActive=function(){var Y=$(this.target);return this.contentRect_=Y,Y.width!==this.broadcastWidth||Y.height!==this.broadcastHeight},J.prototype.broadcastRect=function(){var Y=this.contentRect_;return this.broadcastWidth=Y.width,this.broadcastHeight=Y.height,Y},J}(),G=function(){function J(Y,ue){var ne=U(ue);p(this,{target:Y,contentRect:ne})}return J}(),oe=function(){function J(Y,ue,ne){if(this.activeObservations_=[],this.observations_=new r,typeof Y!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=Y,this.controller_=ue,this.callbackCtx_=ne}return J.prototype.observe=function(Y){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(Y instanceof y(Y).Element))throw new TypeError('parameter 1 is not of type "Element".');var ue=this.observations_;ue.has(Y)||(ue.set(Y,new V(Y)),this.controller_.addObserver(this),this.controller_.refresh())}},J.prototype.unobserve=function(Y){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(Y instanceof y(Y).Element))throw new TypeError('parameter 1 is not of type "Element".');var ue=this.observations_;ue.has(Y)&&(ue.delete(Y),ue.size||this.controller_.removeObserver(this))}},J.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},J.prototype.gatherActive=function(){var Y=this;this.clearActive(),this.observations_.forEach(function(ue){ue.isActive()&&Y.activeObservations_.push(ue)})},J.prototype.broadcastActive=function(){if(this.hasActive()){var Y=this.callbackCtx_,ue=this.activeObservations_.map(function(ne){return new G(ne.target,ne.broadcastRect())});this.callback_.call(Y,ue,Y),this.clearActive()}},J.prototype.clearActive=function(){this.activeObservations_.splice(0)},J.prototype.hasActive=function(){return this.activeObservations_.length>0},J}(),ae=typeof WeakMap!="undefined"?new WeakMap:new r,le=function(){function J(Y){if(!(this instanceof J))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var ue=x.getInstance(),ne=new oe(Y,ue,this);ae.set(this,ne)}return J}();["observe","unobserve","disconnect"].forEach(function(J){le.prototype[J]=function(){var Y;return(Y=ae.get(this))[J].apply(Y,arguments)}});var q=function(){return typeof l.ResizeObserver!="undefined"?l.ResizeObserver:le}();g.Z=q},74284:function(d,g){"use strict";var e,r,i,l;if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;g.unstable_now=function(){return c.now()}}else{var f=Date,s=f.now();g.unstable_now=function(){return f.now()-s}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var h=null,u=null,a=function(){if(h!==null)try{var F=g.unstable_now();h(!0,F),h=null}catch(M){throw setTimeout(a,0),M}};e=function(F){h!==null?setTimeout(e,0,F):(h=F,setTimeout(a,0))},r=function(F,M){u=setTimeout(F,M)},i=function(){clearTimeout(u)},g.unstable_shouldYield=function(){return!1},l=g.unstable_forceFrameRate=function(){}}else{var x=window.setTimeout,p=window.clearTimeout;if(typeof console!="undefined"){var y=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof y!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var _=!1,b=null,S=-1,R=5,L=0;g.unstable_shouldYield=function(){return g.unstable_now()>=L},l=function(){},g.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<F?Math.floor(1e3/F):5};var C=new MessageChannel,D=C.port2;C.port1.onmessage=function(){if(b!==null){var F=g.unstable_now();L=F+R;try{b(!0,F)?D.postMessage(null):(_=!1,b=null)}catch(M){throw D.postMessage(null),M}}else _=!1},e=function(F){b=F,_||(_=!0,D.postMessage(null))},r=function(F,M){S=x(function(){F(g.unstable_now())},M)},i=function(){p(S),S=-1}}function B(F,M){var Q=F.length;F.push(M);e:for(;;){var de=Q-1>>>1,we=F[de];if(we!==void 0&&0<K(we,M))F[de]=M,F[Q]=we,Q=de;else break e}}function $(F){return F=F[0],F===void 0?null:F}function U(F){var M=F[0];if(M!==void 0){var Q=F.pop();if(Q!==M){F[0]=Q;e:for(var de=0,we=F.length;de<we;){var Ce=2*(de+1)-1,je=F[Ce],Fe=Ce+1,Ft=F[Fe];if(je!==void 0&&0>K(je,Q))Ft!==void 0&&0>K(Ft,je)?(F[de]=Ft,F[Fe]=Q,de=Fe):(F[de]=je,F[Ce]=Q,de=Ce);else if(Ft!==void 0&&0>K(Ft,Q))F[de]=Ft,F[Fe]=Q,de=Fe;else break e}}return M}return null}function K(F,M){var Q=F.sortIndex-M.sortIndex;return Q!==0?Q:F.id-M.id}var V=[],G=[],oe=1,ae=null,le=3,q=!1,J=!1,Y=!1;function ue(F){for(var M=$(G);M!==null;){if(M.callback===null)U(G);else if(M.startTime<=F)U(G),M.sortIndex=M.expirationTime,B(V,M);else break;M=$(G)}}function ne(F){if(Y=!1,ue(F),!J)if($(V)!==null)J=!0,e(ee);else{var M=$(G);M!==null&&r(ne,M.startTime-F)}}function ee(F,M){J=!1,Y&&(Y=!1,i()),q=!0;var Q=le;try{for(ue(M),ae=$(V);ae!==null&&(!(ae.expirationTime>M)||F&&!g.unstable_shouldYield());){var de=ae.callback;if(typeof de=="function"){ae.callback=null,le=ae.priorityLevel;var we=de(ae.expirationTime<=M);M=g.unstable_now(),typeof we=="function"?ae.callback=we:ae===$(V)&&U(V),ue(M)}else U(V);ae=$(V)}if(ae!==null)var Ce=!0;else{var je=$(G);je!==null&&r(ne,je.startTime-M),Ce=!1}return Ce}finally{ae=null,le=Q,q=!1}}var ie=l;g.unstable_IdlePriority=5,g.unstable_ImmediatePriority=1,g.unstable_LowPriority=4,g.unstable_NormalPriority=3,g.unstable_Profiling=null,g.unstable_UserBlockingPriority=2,g.unstable_cancelCallback=function(F){F.callback=null},g.unstable_continueExecution=function(){J||q||(J=!0,e(ee))},g.unstable_getCurrentPriorityLevel=function(){return le},g.unstable_getFirstCallbackNode=function(){return $(V)},g.unstable_next=function(F){switch(le){case 1:case 2:case 3:var M=3;break;default:M=le}var Q=le;le=M;try{return F()}finally{le=Q}},g.unstable_pauseExecution=function(){},g.unstable_requestPaint=ie,g.unstable_runWithPriority=function(F,M){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var Q=le;le=F;try{return M()}finally{le=Q}},g.unstable_scheduleCallback=function(F,M,Q){var de=g.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?de+Q:de):Q=de,F){case 1:var we=-1;break;case 2:we=250;break;case 5:we=1073741823;break;case 4:we=1e4;break;default:we=5e3}return we=Q+we,F={id:oe++,callback:M,priorityLevel:F,startTime:Q,expirationTime:we,sortIndex:-1},Q>de?(F.sortIndex=Q,B(G,F),$(V)===null&&F===$(G)&&(Y?i():Y=!0,r(ne,Q-de))):(F.sortIndex=we,B(V,F),J||q||(J=!0,e(ee))),F},g.unstable_wrapCallback=function(F){var M=le;return function(){var Q=le;le=M;try{return F.apply(this,arguments)}finally{le=Q}}}},43014:function(d,g,e){"use strict";d.exports=e(74284)},18947:function(d){"use strict";function g(e,r){if(e===r)return!0;if(!e||!r)return!1;var i=Object.keys(e),l=Object.keys(r),c=i.length;if(l.length!==c)return!1;for(var f=0;f<c;f++){var s=i[f];if(e[s]!==r[s]||!Object.prototype.hasOwnProperty.call(r,s))return!1}return!0}d.exports=g},19747:function(d){d.exports=function(e,r,i,l){var c=i?i.call(l,e,r):void 0;if(c!==void 0)return!!c;if(e===r)return!0;if(typeof e!="object"||!e||typeof r!="object"||!r)return!1;var f=Object.keys(e),s=Object.keys(r);if(f.length!==s.length)return!1;for(var h=Object.prototype.hasOwnProperty.bind(r),u=0;u<f.length;u++){var a=f[u];if(!h(a))return!1;var x=e[a],p=r[a];if(c=i?i.call(l,x,p,a):void 0,c===!1||c===void 0&&x!==p)return!1}return!0}},98040:function(d){d.exports=function(){var g=document.getSelection();if(!g.rangeCount)return function(){};for(var e=document.activeElement,r=[],i=0;i<g.rangeCount;i++)r.push(g.getRangeAt(i));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return g.removeAllRanges(),function(){g.type==="Caret"&&g.removeAllRanges(),g.rangeCount||r.forEach(function(l){g.addRange(l)}),e&&e.focus()}}},797:function(d,g,e){"use strict";var r=e(54723);d.exports=function(i){if(typeof i!="function"||!hasOwnProperty.call(i,"length"))return!1;try{if(typeof i.length!="number"||typeof i.call!="function"||typeof i.apply!="function")return!1}catch(l){return!1}return!r(i)}},95562:function(d,g,e){"use strict";var r=e(57046),i={object:!0,function:!0,undefined:!0};d.exports=function(l){return r(l)?hasOwnProperty.call(i,typeof l):!1}},69574:function(d,g,e){"use strict";var r=e(797),i=/^\s*class[\s{/}]/,l=Function.prototype.toString;d.exports=function(c){return!(!r(c)||i.test(l.call(c)))}},54723:function(d,g,e){"use strict";var r=e(95562);d.exports=function(i){if(!r(i))return!1;try{return i.constructor?i.constructor.prototype===i:!1}catch(l){return!1}}},57046:function(d){"use strict";var g=void 0;d.exports=function(e){return e!==g&&e!==null}},36736:function(d,g,e){"use strict";var r=e(59301);function i(y,_){return y===_&&(y!==0||1/y===1/_)||y!==y&&_!==_}var l=typeof Object.is=="function"?Object.is:i,c=r.useState,f=r.useEffect,s=r.useLayoutEffect,h=r.useDebugValue;function u(y,_){var b=_(),S=c({inst:{value:b,getSnapshot:_}}),R=S[0].inst,L=S[1];return s(function(){R.value=b,R.getSnapshot=_,a(R)&&L({inst:R})},[y,b,_]),f(function(){return a(R)&&L({inst:R}),y(function(){a(R)&&L({inst:R})})},[y]),h(b),b}function a(y){var _=y.getSnapshot;y=y.value;try{var b=_();return!l(y,b)}catch(S){return!0}}function x(y,_){return _()}var p=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?x:u;g.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:p},1719:function(d,g,e){"use strict";var r=e(59301),i=e(37573);function l(x,p){return x===p&&(x!==0||1/x===1/p)||x!==x&&p!==p}var c=typeof Object.is=="function"?Object.is:l,f=i.useSyncExternalStore,s=r.useRef,h=r.useEffect,u=r.useMemo,a=r.useDebugValue;g.useSyncExternalStoreWithSelector=function(x,p,y,_,b){var S=s(null);if(S.current===null){var R={hasValue:!1,value:null};S.current=R}else R=S.current;S=u(function(){function C(K){if(!D){if(D=!0,B=K,K=_(K),b!==void 0&&R.hasValue){var V=R.value;if(b(V,K))return $=V}return $=K}if(V=$,c(B,K))return V;var G=_(K);return b!==void 0&&b(V,G)?(B=K,V):(B=K,$=G)}var D=!1,B,$,U=y===void 0?null:y;return[function(){return C(p())},U===null?void 0:function(){return C(U())}]},[p,y,_,b]);var L=f(x,S[0],S[1]);return h(function(){R.hasValue=!0,R.value=L},[L]),a(L),L}},37573:function(d,g,e){"use strict";d.exports=e(36736)},45097:function(d,g,e){"use strict";d.exports=e(1719)},1012:function(d,g,e){"use strict";e.d(g,{Z:function(){return y}});var r=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),i=new Uint8Array(16);function l(){if(!r)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}var c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function f(_){return typeof _=="string"&&c.test(_)}for(var s=f,h=[],u=0;u<256;++u)h.push((u+256).toString(16).substr(1));function a(_){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,S=(h[_[b+0]]+h[_[b+1]]+h[_[b+2]]+h[_[b+3]]+"-"+h[_[b+4]]+h[_[b+5]]+"-"+h[_[b+6]]+h[_[b+7]]+"-"+h[_[b+8]]+h[_[b+9]]+"-"+h[_[b+10]]+h[_[b+11]]+h[_[b+12]]+h[_[b+13]]+h[_[b+14]]+h[_[b+15]]).toLowerCase();if(!s(S))throw TypeError("Stringified UUID is invalid");return S}var x=a;function p(_,b,S){_=_||{};var R=_.random||(_.rng||l)();if(R[6]=R[6]&15|64,R[8]=R[8]&63|128,b){S=S||0;for(var L=0;L<16;++L)b[S+L]=R[L];return b}return x(R)}var y=p},56754:function(d){"use strict";var g=function(){};d.exports=g},85239:function(d){"use strict";var g=!1,e=function(){};if(g){var r=function(l,c){var f=arguments.length;c=new Array(f>1?f-1:0);for(var s=1;s<f;s++)c[s-1]=arguments[s];var h=0,u="Warning: "+l.replace(/%s/g,function(){return c[h++]});typeof console!="undefined"&&console.error(u);try{throw new Error(u)}catch(a){}};e=function(i,l,c){var f=arguments.length;c=new Array(f>2?f-2:0);for(var s=2;s<f;s++)c[s-2]=arguments[s];if(l===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");i||r.apply(null,[l].concat(c))}}d.exports=e},4977:function(d){"use strict";d.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},3828:function(){},32021:function(d,g,e){var r=e(85163).default;function i(){"use strict";d.exports=i=function(){return c},d.exports.__esModule=!0,d.exports.default=d.exports;var l,c={},f=Object.prototype,s=f.hasOwnProperty,h=Object.defineProperty||function(ie,F,M){ie[F]=M.value},u=typeof Symbol=="function"?Symbol:{},a=u.iterator||"@@iterator",x=u.asyncIterator||"@@asyncIterator",p=u.toStringTag||"@@toStringTag";function y(ie,F,M){return Object.defineProperty(ie,F,{value:M,enumerable:!0,configurable:!0,writable:!0}),ie[F]}try{y({},"")}catch(ie){y=function(M,Q,de){return M[Q]=de}}function _(ie,F,M,Q){var de=F&&F.prototype instanceof B?F:B,we=Object.create(de.prototype),Ce=new ne(Q||[]);return h(we,"_invoke",{value:q(ie,M,Ce)}),we}function b(ie,F,M){try{return{type:"normal",arg:ie.call(F,M)}}catch(Q){return{type:"throw",arg:Q}}}c.wrap=_;var S="suspendedStart",R="suspendedYield",L="executing",C="completed",D={};function B(){}function $(){}function U(){}var K={};y(K,a,function(){return this});var V=Object.getPrototypeOf,G=V&&V(V(ee([])));G&&G!==f&&s.call(G,a)&&(K=G);var oe=U.prototype=B.prototype=Object.create(K);function ae(ie){["next","throw","return"].forEach(function(F){y(ie,F,function(M){return this._invoke(F,M)})})}function le(ie,F){function M(de,we,Ce,je){var Fe=b(ie[de],ie,we);if(Fe.type!=="throw"){var Ft=Fe.arg,_t=Ft.value;return _t&&r(_t)=="object"&&s.call(_t,"__await")?F.resolve(_t.__await).then(function(Pt){M("next",Pt,Ce,je)},function(Pt){M("throw",Pt,Ce,je)}):F.resolve(_t).then(function(Pt){Ft.value=Pt,Ce(Ft)},function(Pt){return M("throw",Pt,Ce,je)})}je(Fe.arg)}var Q;h(this,"_invoke",{value:function(we,Ce){function je(){return new F(function(Fe,Ft){M(we,Ce,Fe,Ft)})}return Q=Q?Q.then(je,je):je()}})}function q(ie,F,M){var Q=S;return function(de,we){if(Q===L)throw Error("Generator is already running");if(Q===C){if(de==="throw")throw we;return{value:l,done:!0}}for(M.method=de,M.arg=we;;){var Ce=M.delegate;if(Ce){var je=J(Ce,M);if(je){if(je===D)continue;return je}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(Q===S)throw Q=C,M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);Q=L;var Fe=b(ie,F,M);if(Fe.type==="normal"){if(Q=M.done?C:R,Fe.arg===D)continue;return{value:Fe.arg,done:M.done}}Fe.type==="throw"&&(Q=C,M.method="throw",M.arg=Fe.arg)}}}function J(ie,F){var M=F.method,Q=ie.iterator[M];if(Q===l)return F.delegate=null,M==="throw"&&ie.iterator.return&&(F.method="return",F.arg=l,J(ie,F),F.method==="throw")||M!=="return"&&(F.method="throw",F.arg=new TypeError("The iterator does not provide a '"+M+"' method")),D;var de=b(Q,ie.iterator,F.arg);if(de.type==="throw")return F.method="throw",F.arg=de.arg,F.delegate=null,D;var we=de.arg;return we?we.done?(F[ie.resultName]=we.value,F.next=ie.nextLoc,F.method!=="return"&&(F.method="next",F.arg=l),F.delegate=null,D):we:(F.method="throw",F.arg=new TypeError("iterator result is not an object"),F.delegate=null,D)}function Y(ie){var F={tryLoc:ie[0]};1 in ie&&(F.catchLoc=ie[1]),2 in ie&&(F.finallyLoc=ie[2],F.afterLoc=ie[3]),this.tryEntries.push(F)}function ue(ie){var F=ie.completion||{};F.type="normal",delete F.arg,ie.completion=F}function ne(ie){this.tryEntries=[{tryLoc:"root"}],ie.forEach(Y,this),this.reset(!0)}function ee(ie){if(ie||ie===""){var F=ie[a];if(F)return F.call(ie);if(typeof ie.next=="function")return ie;if(!isNaN(ie.length)){var M=-1,Q=function de(){for(;++M<ie.length;)if(s.call(ie,M))return de.value=ie[M],de.done=!1,de;return de.value=l,de.done=!0,de};return Q.next=Q}}throw new TypeError(r(ie)+" is not iterable")}return $.prototype=U,h(oe,"constructor",{value:U,configurable:!0}),h(U,"constructor",{value:$,configurable:!0}),$.displayName=y(U,p,"GeneratorFunction"),c.isGeneratorFunction=function(ie){var F=typeof ie=="function"&&ie.constructor;return!!F&&(F===$||(F.displayName||F.name)==="GeneratorFunction")},c.mark=function(ie){return Object.setPrototypeOf?Object.setPrototypeOf(ie,U):(ie.__proto__=U,y(ie,p,"GeneratorFunction")),ie.prototype=Object.create(oe),ie},c.awrap=function(ie){return{__await:ie}},ae(le.prototype),y(le.prototype,x,function(){return this}),c.AsyncIterator=le,c.async=function(ie,F,M,Q,de){de===void 0&&(de=Promise);var we=new le(_(ie,F,M,Q),de);return c.isGeneratorFunction(F)?we:we.next().then(function(Ce){return Ce.done?Ce.value:we.next()})},ae(oe),y(oe,p,"Generator"),y(oe,a,function(){return this}),y(oe,"toString",function(){return"[object Generator]"}),c.keys=function(ie){var F=Object(ie),M=[];for(var Q in F)M.push(Q);return M.reverse(),function de(){for(;M.length;){var we=M.pop();if(we in F)return de.value=we,de.done=!1,de}return de.done=!0,de}},c.values=ee,ne.prototype={constructor:ne,reset:function(F){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(ue),!F)for(var M in this)M.charAt(0)==="t"&&s.call(this,M)&&!isNaN(+M.slice(1))&&(this[M]=l)},stop:function(){this.done=!0;var F=this.tryEntries[0].completion;if(F.type==="throw")throw F.arg;return this.rval},dispatchException:function(F){if(this.done)throw F;var M=this;function Q(Ft,_t){return Ce.type="throw",Ce.arg=F,M.next=Ft,_t&&(M.method="next",M.arg=l),!!_t}for(var de=this.tryEntries.length-1;de>=0;--de){var we=this.tryEntries[de],Ce=we.completion;if(we.tryLoc==="root")return Q("end");if(we.tryLoc<=this.prev){var je=s.call(we,"catchLoc"),Fe=s.call(we,"finallyLoc");if(je&&Fe){if(this.prev<we.catchLoc)return Q(we.catchLoc,!0);if(this.prev<we.finallyLoc)return Q(we.finallyLoc)}else if(je){if(this.prev<we.catchLoc)return Q(we.catchLoc,!0)}else{if(!Fe)throw Error("try statement without catch or finally");if(this.prev<we.finallyLoc)return Q(we.finallyLoc)}}}},abrupt:function(F,M){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var de=this.tryEntries[Q];if(de.tryLoc<=this.prev&&s.call(de,"finallyLoc")&&this.prev<de.finallyLoc){var we=de;break}}we&&(F==="break"||F==="continue")&&we.tryLoc<=M&&M<=we.finallyLoc&&(we=null);var Ce=we?we.completion:{};return Ce.type=F,Ce.arg=M,we?(this.method="next",this.next=we.finallyLoc,D):this.complete(Ce)},complete:function(F,M){if(F.type==="throw")throw F.arg;return F.type==="break"||F.type==="continue"?this.next=F.arg:F.type==="return"?(this.rval=this.arg=F.arg,this.method="return",this.next="end"):F.type==="normal"&&M&&(this.next=M),D},finish:function(F){for(var M=this.tryEntries.length-1;M>=0;--M){var Q=this.tryEntries[M];if(Q.finallyLoc===F)return this.complete(Q.completion,Q.afterLoc),ue(Q),D}},catch:function(F){for(var M=this.tryEntries.length-1;M>=0;--M){var Q=this.tryEntries[M];if(Q.tryLoc===F){var de=Q.completion;if(de.type==="throw"){var we=de.arg;ue(Q)}return we}}throw Error("illegal catch attempt")},delegateYield:function(F,M,Q){return this.delegate={iterator:ee(F),resultName:M,nextLoc:Q},this.method==="next"&&(this.arg=l),D}},c}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},85163:function(d){function g(e){"@babel/helpers - typeof";return d.exports=g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},d.exports.__esModule=!0,d.exports.default=d.exports,g(e)}d.exports=g,d.exports.__esModule=!0,d.exports.default=d.exports},14759:function(d,g,e){var r=e(32021)();d.exports=r;try{regeneratorRuntime=r}catch(i){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},92310:function(d,g){var e,r;(function(){"use strict";var i={}.hasOwnProperty;function l(){for(var s="",h=0;h<arguments.length;h++){var u=arguments[h];u&&(s=f(s,c(u)))}return s}function c(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return l.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var h="";for(var u in s)i.call(s,u)&&s[u]&&(h=f(h,u));return h}function f(s,h){return h?s?s+" "+h:s+h:s}d.exports?(l.default=l,d.exports=l):(e=[],r=function(){return l}.apply(g,e),r!==void 0&&(d.exports=r))})()},63335:function(d,g,e){"use strict";var r=e(55327),i=e(40593),l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not a function")}},6086:function(d,g,e){"use strict";var r=e(39812),i=e(40593),l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not a constructor")}},42683:function(d,g,e){"use strict";var r=e(2786).has;d.exports=function(i){return r(i),i}},557:function(d,g,e){"use strict";var r=e(55327),i=String,l=TypeError;d.exports=function(c){if(typeof c=="object"||r(c))return c;throw new l("Can't set "+i(c)+" as a prototype")}},17442:function(d,g,e){"use strict";var r=e(19691).has;d.exports=function(i){return r(i),i}},79606:function(d){"use strict";var g=TypeError;d.exports=function(e){if(typeof e=="string")return e;throw new g("Argument is not a string")}},63619:function(d,g,e){"use strict";var r=e(42530).has;d.exports=function(i){return r(i),i}},18888:function(d,g,e){"use strict";var r=e(91385).has;d.exports=function(i){return r(i),i}},5978:function(d,g,e){"use strict";var r=e(89945),i=e(94237),l=e(80666),c=e(80449),f=e(63335),s=e(4112),h=e(53776),u=e(59893),a=u("asyncDispose"),x=u("dispose"),p=i([].push),y=function(b,S){if(S==="async-dispose"){var R=h(b,a);return R!==void 0?R:(R=h(b,x),function(){r(R,this)})}return h(b,x)},_=function(b,S,R){return arguments.length<3&&!s(b)&&(R=f(y(c(b),S))),R===void 0?function(){}:l(R,b)};d.exports=function(b,S,R,L){var C;if(arguments.length<4){if(s(S)&&R==="sync-dispose")return;C=_(S,R)}else C=_(void 0,R,L);p(b.stack,C)}},81181:function(d,g,e){"use strict";var r=e(59893),i=e(20132),l=e(37691).f,c=r("unscopables"),f=Array.prototype;f[c]===void 0&&l(f,c,{configurable:!0,value:i(null)}),d.exports=function(s){f[c][s]=!0}},52216:function(d,g,e){"use strict";var r=e(13764).charAt;d.exports=function(i,l,c){return l+(c?r(i,l).length:1)}},56472:function(d,g,e){"use strict";var r=e(16332),i=TypeError;d.exports=function(l,c){if(r(c,l))return l;throw new i("Incorrect invocation")}},1674:function(d,g,e){"use strict";var r=e(31946),i=String,l=TypeError;d.exports=function(c){if(c===void 0||r(c))return c;throw new l(i(c)+" is not an object or undefined")}},80449:function(d,g,e){"use strict";var r=e(31946),i=String,l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not an object")}},27270:function(d,g,e){"use strict";var r=e(97607),i=TypeError;d.exports=function(l){if(r(l)==="Uint8Array")return l;throw new i("Argument is not an Uint8Array")}},3737:function(d){"use strict";d.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},78244:function(d,g,e){"use strict";var r=e(37758),i=e(29076),l=TypeError;d.exports=r(ArrayBuffer.prototype,"byteLength","get")||function(c){if(i(c)!=="ArrayBuffer")throw new l("ArrayBuffer expected");return c.byteLength}},93683:function(d,g,e){"use strict";var r=e(94237),i=e(78244),l=r(ArrayBuffer.prototype.slice);d.exports=function(c){if(i(c)!==0)return!1;try{return l(c,0,0),!1}catch(f){return!0}}},51424:function(d,g,e){"use strict";var r=e(3338);d.exports=r(function(){if(typeof ArrayBuffer=="function"){var i=new ArrayBuffer(8);Object.isExtensible(i)&&Object.defineProperty(i,"a",{value:8})}})},39760:function(d,g,e){"use strict";var r=e(92916),i=e(94237),l=e(37758),c=e(24225),f=e(93683),s=e(78244),h=e(39311),u=e(80426),a=r.structuredClone,x=r.ArrayBuffer,p=r.DataView,y=r.TypeError,_=Math.min,b=x.prototype,S=p.prototype,R=i(b.slice),L=l(b,"resizable","get"),C=l(b,"maxByteLength","get"),D=i(S.getInt8),B=i(S.setInt8);d.exports=(u||h)&&function($,U,K){var V=s($),G=U===void 0?V:c(U),oe=!L||!L($),ae;if(f($))throw new y("ArrayBuffer is detached");if(u&&($=a($,{transfer:[$]}),V===G&&(K||oe)))return $;if(V>=G&&(!K||oe))ae=R($,0,G);else{var le=K&&!oe&&C?{maxByteLength:C($)}:void 0;ae=new x(G,le);for(var q=new p($),J=new p(ae),Y=_(G,V),ue=0;ue<Y;ue++)B(J,ue,D(q,ue))}return u||h($),ae}},58261:function(d,g,e){"use strict";var r=e(3737),i=e(35454),l=e(92916),c=e(55327),f=e(31946),s=e(32621),h=e(97607),u=e(40593),a=e(68151),x=e(2291),p=e(64110),y=e(16332),_=e(53456),b=e(58218),S=e(59893),R=e(6145),L=e(94844),C=L.enforce,D=L.get,B=l.Int8Array,$=B&&B.prototype,U=l.Uint8ClampedArray,K=U&&U.prototype,V=B&&_(B),G=$&&_($),oe=Object.prototype,ae=l.TypeError,le=S("toStringTag"),q=R("TYPED_ARRAY_TAG"),J="TypedArrayConstructor",Y=r&&!!b&&h(l.opera)!=="Opera",ue=!1,ne,ee,ie,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},M={BigInt64Array:8,BigUint64Array:8},Q=function(Pt){if(!f(Pt))return!1;var qt=h(Pt);return qt==="DataView"||s(F,qt)||s(M,qt)},de=function(_t){var Pt=_(_t);if(f(Pt)){var qt=D(Pt);return qt&&s(qt,J)?qt[J]:de(Pt)}},we=function(_t){if(!f(_t))return!1;var Pt=h(_t);return s(F,Pt)||s(M,Pt)},Ce=function(_t){if(we(_t))return _t;throw new ae("Target is not a typed array")},je=function(_t){if(c(_t)&&(!b||y(V,_t)))return _t;throw new ae(u(_t)+" is not a typed array constructor")},Fe=function(_t,Pt,qt,er){if(i){if(qt)for(var Jt in F){var Xe=l[Jt];if(Xe&&s(Xe.prototype,_t))try{delete Xe.prototype[_t]}catch(It){try{Xe.prototype[_t]=Pt}catch(zt){}}}(!G[_t]||qt)&&x(G,_t,qt?Pt:Y&&$[_t]||Pt,er)}},Ft=function(_t,Pt,qt){var er,Jt;if(i){if(b){if(qt){for(er in F)if(Jt=l[er],Jt&&s(Jt,_t))try{delete Jt[_t]}catch(Xe){}}if(!V[_t]||qt)try{return x(V,_t,qt?Pt:Y&&V[_t]||Pt)}catch(Xe){}else return}for(er in F)Jt=l[er],Jt&&(!Jt[_t]||qt)&&x(Jt,_t,Pt)}};for(ne in F)ee=l[ne],ie=ee&&ee.prototype,ie?C(ie)[J]=ee:Y=!1;for(ne in M)ee=l[ne],ie=ee&&ee.prototype,ie&&(C(ie)[J]=ee);if((!Y||!c(V)||V===Function.prototype)&&(V=function(){throw new ae("Incorrect invocation")},Y))for(ne in F)l[ne]&&b(l[ne],V);if((!Y||!G||G===oe)&&(G=V.prototype,Y))for(ne in F)l[ne]&&b(l[ne].prototype,G);if(Y&&_(K)!==G&&b(K,G),i&&!s(G,le)){ue=!0,p(G,le,{configurable:!0,get:function(){return f(this)?this[q]:void 0}});for(ne in F)l[ne]&&a(l[ne],q,ne)}d.exports={NATIVE_ARRAY_BUFFER_VIEWS:Y,TYPED_ARRAY_TAG:ue&&q,aTypedArray:Ce,aTypedArrayConstructor:je,exportTypedArrayMethod:Fe,exportTypedArrayStaticMethod:Ft,getTypedArrayConstructor:de,isView:Q,isTypedArray:we,TypedArray:V,TypedArrayPrototype:G}},91669:function(d,g,e){"use strict";var r=e(92916),i=e(94237),l=e(35454),c=e(3737),f=e(8090),s=e(68151),h=e(64110),u=e(66477),a=e(3338),x=e(56472),p=e(56902),y=e(61578),_=e(24225),b=e(14894),S=e(61618),R=e(53456),L=e(58218),C=e(80689).f,D=e(75202),B=e(71698),$=e(94573),U=e(94844),K=f.PROPER,V=f.CONFIGURABLE,G="ArrayBuffer",oe="DataView",ae="prototype",le="Wrong length",q="Wrong index",J=U.getterFor(G),Y=U.getterFor(oe),ue=U.set,ne=r[G],ee=ne,ie=ee&&ee[ae],F=r[oe],M=F&&F[ae],Q=Object.prototype,de=r.Array,we=r.RangeError,Ce=i(D),je=i([].reverse),Fe=S.pack,Ft=S.unpack,_t=function(Me){return[Me&255]},Pt=function(Me){return[Me&255,Me>>8&255]},qt=function(Me){return[Me&255,Me>>8&255,Me>>16&255,Me>>24&255]},er=function(Me){return Me[3]<<24|Me[2]<<16|Me[1]<<8|Me[0]},Jt=function(Me){return Fe(b(Me),23,4)},Xe=function(Me){return Fe(Me,52,8)},It=function(Me,$e,He){h(Me[ae],$e,{configurable:!0,get:function(){return He(this)[$e]}})},zt=function(Me,$e,He,nt){var ct=Y(Me),Vt=_(He),Wt=!!nt;if(Vt+$e>ct.byteLength)throw new we(q);var De=ct.bytes,qe=Vt+ct.byteOffset,Gt=B(De,qe,qe+$e);return Wt?Gt:je(Gt)},st=function(Me,$e,He,nt,ct,Vt){var Wt=Y(Me),De=_(He),qe=nt(+ct),Gt=!!Vt;if(De+$e>Wt.byteLength)throw new we(q);for(var kt=Wt.bytes,Ht=De+Wt.byteOffset,$t=0;$t<$e;$t++)kt[Ht+$t]=qe[Gt?$t:$e-$t-1]};if(!c)ee=function($e){x(this,ie);var He=_($e);ue(this,{type:G,bytes:Ce(de(He),0),byteLength:He}),l||(this.byteLength=He,this.detached=!1)},ie=ee[ae],F=function($e,He,nt){x(this,M),x($e,ie);var ct=J($e),Vt=ct.byteLength,Wt=p(He);if(Wt<0||Wt>Vt)throw new we("Wrong offset");if(nt=nt===void 0?Vt-Wt:y(nt),Wt+nt>Vt)throw new we(le);ue(this,{type:oe,buffer:$e,byteLength:nt,byteOffset:Wt,bytes:ct.bytes}),l||(this.buffer=$e,this.byteLength=nt,this.byteOffset=Wt)},M=F[ae],l&&(It(ee,"byteLength",J),It(F,"buffer",Y),It(F,"byteLength",Y),It(F,"byteOffset",Y)),u(M,{getInt8:function($e){return zt(this,1,$e)[0]<<24>>24},getUint8:function($e){return zt(this,1,$e)[0]},getInt16:function($e){var He=zt(this,2,$e,arguments.length>1?arguments[1]:!1);return(He[1]<<8|He[0])<<16>>16},getUint16:function($e){var He=zt(this,2,$e,arguments.length>1?arguments[1]:!1);return He[1]<<8|He[0]},getInt32:function($e){return er(zt(this,4,$e,arguments.length>1?arguments[1]:!1))},getUint32:function($e){return er(zt(this,4,$e,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function($e){return Ft(zt(this,4,$e,arguments.length>1?arguments[1]:!1),23)},getFloat64:function($e){return Ft(zt(this,8,$e,arguments.length>1?arguments[1]:!1),52)},setInt8:function($e,He){st(this,1,$e,_t,He)},setUint8:function($e,He){st(this,1,$e,_t,He)},setInt16:function($e,He){st(this,2,$e,Pt,He,arguments.length>2?arguments[2]:!1)},setUint16:function($e,He){st(this,2,$e,Pt,He,arguments.length>2?arguments[2]:!1)},setInt32:function($e,He){st(this,4,$e,qt,He,arguments.length>2?arguments[2]:!1)},setUint32:function($e,He){st(this,4,$e,qt,He,arguments.length>2?arguments[2]:!1)},setFloat32:function($e,He){st(this,4,$e,Jt,He,arguments.length>2?arguments[2]:!1)},setFloat64:function($e,He){st(this,8,$e,Xe,He,arguments.length>2?arguments[2]:!1)}});else{var bt=K&&ne.name!==G;if(!a(function(){ne(1)})||!a(function(){new ne(-1)})||a(function(){return new ne,new ne(1.5),new ne(NaN),ne.length!==1||bt&&!V})){ee=function($e){return x(this,ie),new ne(_($e))},ee[ae]=ie;for(var ht=C(ne),Je=0,Ue;ht.length>Je;)(Ue=ht[Je++])in ee||s(ee,Ue,ne[Ue]);ie.constructor=ee}else bt&&V&&s(ne,"name",G);L&&R(M)!==Q&&L(M,Q);var ge=new F(new ee(2)),Ae=i(M.setInt8);ge.setInt8(0,2147483648),ge.setInt8(1,2147483649),(ge.getInt8(0)||!ge.getInt8(1))&&u(M,{setInt8:function($e,He){Ae(this,$e,He<<24>>24)},setUint8:function($e,He){Ae(this,$e,He<<24>>24)}},{unsafe:!0})}$(ee,G),$(F,oe),d.exports={ArrayBuffer:ee,DataView:F}},92670:function(d,g,e){"use strict";var r=e(94029),i=e(51981),l=e(82762),c=e(84233),f=Math.min;d.exports=[].copyWithin||function(h,u){var a=r(this),x=l(a),p=i(h,x),y=i(u,x),_=arguments.length>2?arguments[2]:void 0,b=f((_===void 0?x:i(_,x))-y,x-p),S=1;for(y<p&&p<y+b&&(S=-1,y+=b-1,p+=b-1);b-- >0;)y in a?a[p]=a[y]:c(a,p),p+=S,y+=S;return a}},75202:function(d,g,e){"use strict";var r=e(94029),i=e(51981),l=e(82762);d.exports=function(f){for(var s=r(this),h=l(s),u=arguments.length,a=i(u>1?arguments[1]:void 0,h),x=u>2?arguments[2]:void 0,p=x===void 0?h:i(x,h);p>a;)s[a++]=f;return s}},59594:function(d,g,e){"use strict";var r=e(90560).forEach,i=e(45601),l=i("forEach");d.exports=l?[].forEach:function(f){return r(this,f,arguments.length>1?arguments[1]:void 0)}},32278:function(d,g,e){"use strict";var r=e(80666),i=e(94237),l=e(94029),c=e(39812),f=e(69034),s=e(85428),h=e(10731),u=e(26006),a=e(53776),x=e(65911),p=e(55174),y=e(59893),_=e(57975),b=e(55266).toArray,S=y("asyncIterator"),R=i(p("Array","values")),L=i(R([]).next),C=function(){return new D(this)},D=function(B){this.iterator=R(B)};D.prototype.next=function(){return L(this.iterator)},d.exports=function($){var U=this,K=arguments.length,V=K>1?arguments[1]:void 0,G=K>2?arguments[2]:void 0;return new(x("Promise"))(function(oe){var ae=l($);V!==void 0&&(V=r(V,G));var le=a(ae,S),q=le?void 0:u(ae)||C,J=c(U)?new U:[],Y=le?f(ae,le):new _(h(s(ae,q)));oe(b(Y,V,J))})}},69478:function(d,g,e){"use strict";var r=e(82762);d.exports=function(i,l,c){for(var f=0,s=arguments.length>2?c:r(l),h=new i(s);s>f;)h[f]=l[f++];return h}},60255:function(d,g,e){"use strict";var r=e(80666),i=e(89945),l=e(94029),c=e(46319),f=e(345),s=e(39812),h=e(82762),u=e(69392),a=e(85428),x=e(26006),p=Array;d.exports=function(_){var b=l(_),S=s(this),R=arguments.length,L=R>1?arguments[1]:void 0,C=L!==void 0;C&&(L=r(L,R>2?arguments[2]:void 0));var D=x(b),B=0,$,U,K,V,G,oe;if(D&&!(this===p&&f(D)))for(V=a(b,D),G=V.next,U=S?new this:[];!(K=i(G,V)).done;B++)oe=C?c(V,L,[K.value,B],!0):K.value,u(U,B,oe);else for($=h(b),U=S?new this($):p($);$>B;B++)oe=C?L(b[B],B):b[B],u(U,B,oe);return U.length=B,U}},33940:function(d,g,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(82762),s=e(2786),h=s.Map,u=s.get,a=s.has,x=s.set,p=i([].push);d.exports=function(_){for(var b=c(this),S=l(b),R=r(_,arguments.length>1?arguments[1]:void 0),L=new h,C=f(S),D=0,B,$;C>D;D++)$=S[D],B=R($,D,b),a(L,B)?p(u(L,B),$):x(L,B,[$]);return L}},36444:function(d,g,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(17818),s=e(82762),h=e(20132),u=e(69478),a=Array,x=i([].push);d.exports=function(p,y,_,b){for(var S=c(p),R=l(S),L=r(y,_),C=h(null),D=s(R),B=0,$,U,K;D>B;B++)K=R[B],U=f(L(K,B,S)),U in C?x(C[U],K):C[U]=[K];if(b&&($=b(S),$!==a))for(U in C)C[U]=u($,C[U]);return C}},22999:function(d,g,e){"use strict";var r=e(80524),i=e(51981),l=e(82762),c=function(f){return function(s,h,u){var a=r(s),x=l(a),p=i(u,x),y;if(f&&h!==h){for(;x>p;)if(y=a[p++],y!==y)return!0}else for(;x>p;p++)if((f||p in a)&&a[p]===h)return f||p||0;return!f&&-1}};d.exports={includes:c(!0),indexOf:c(!1)}},53279:function(d,g,e){"use strict";var r=e(80666),i=e(1835),l=e(94029),c=e(82762),f=function(s){var h=s===1;return function(u,a,x){for(var p=l(u),y=i(p),_=c(y),b=r(a,x),S,R;_-- >0;)if(S=y[_],R=b(S,_,p),R)switch(s){case 0:return S;case 1:return _}return h?-1:void 0}};d.exports={findLast:f(0),findLastIndex:f(1)}},90560:function(d,g,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(82762),s=e(81427),h=i([].push),u=function(a){var x=a===1,p=a===2,y=a===3,_=a===4,b=a===6,S=a===7,R=a===5||b;return function(L,C,D,B){for(var $=c(L),U=l($),K=f(U),V=r(C,D),G=0,oe=B||s,ae=x?oe(L,K):p||S?oe(L,0):void 0,le,q;K>G;G++)if((R||G in U)&&(le=U[G],q=V(le,G,$),a))if(x)ae[G]=q;else if(q)switch(a){case 3:return!0;case 5:return le;case 6:return G;case 2:h(ae,le)}else switch(a){case 4:return!1;case 7:h(ae,le)}return b?-1:y||_?_:ae}};d.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},55009:function(d,g,e){"use strict";var r=e(13743),i=e(80524),l=e(56902),c=e(82762),f=e(45601),s=Math.min,h=[].lastIndexOf,u=!!h&&1/[1].lastIndexOf(1,-0)<0,a=f("lastIndexOf"),x=u||!a;d.exports=x?function(y){if(u)return r(h,this,arguments)||0;var _=i(this),b=c(_),S=b-1;for(arguments.length>1&&(S=s(S,l(arguments[1]))),S<0&&(S=b+S);S>=0;S--)if(S in _&&_[S]===y)return S||0;return-1}:h},17480:function(d,g,e){"use strict";var r=e(3338),i=e(59893),l=e(46573),c=i("species");d.exports=function(f){return l>=51||!r(function(){var s=[],h=s.constructor={};return h[c]=function(){return{foo:1}},s[f](Boolean).foo!==1})}},45601:function(d,g,e){"use strict";var r=e(3338);d.exports=function(i,l){var c=[][i];return!!c&&r(function(){c.call(null,l||function(){return 1},1)})}},16370:function(d,g,e){"use strict";var r=e(63335),i=e(94029),l=e(1835),c=e(82762),f=TypeError,s=function(h){return function(u,a,x,p){var y=i(u),_=l(y),b=c(y);r(a);var S=h?b-1:0,R=h?-1:1;if(x<2)for(;;){if(S in _){p=_[S],S+=R;break}if(S+=R,h?S<0:b<=S)throw new f("Reduce of empty array with no initial value")}for(;h?S>=0:b>S;S+=R)S in _&&(p=a(p,_[S],S,y));return p}};d.exports={left:s(!1),right:s(!0)}},39428:function(d,g,e){"use strict";var r=e(35454),i=e(18589),l=TypeError,c=Object.getOwnPropertyDescriptor,f=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(s){return s instanceof TypeError}}();d.exports=f?function(s,h){if(i(s)&&!c(s,"length").writable)throw new l("Cannot set read only .length");return s.length=h}:function(s,h){return s.length=h}},71698:function(d,g,e){"use strict";var r=e(51981),i=e(82762),l=e(69392),c=Array,f=Math.max;d.exports=function(s,h,u){for(var a=i(s),x=r(h,a),p=r(u===void 0?a:u,a),y=c(f(p-x,0)),_=0;x<p;x++,_++)l(y,_,s[x]);return y.length=_,y}},30867:function(d,g,e){"use strict";var r=e(94237);d.exports=r([].slice)},63668:function(d,g,e){"use strict";var r=e(71698),i=Math.floor,l=function(s,h){var u=s.length,a=i(u/2);return u<8?c(s,h):f(s,l(r(s,0,a),h),l(r(s,a),h),h)},c=function(s,h){for(var u=s.length,a=1,x,p;a<u;){for(p=a,x=s[a];p&&h(s[p-1],x)>0;)s[p]=s[--p];p!==a++&&(s[p]=x)}return s},f=function(s,h,u,a){for(var x=h.length,p=u.length,y=0,_=0;y<x||_<p;)s[y+_]=y<x&&_<p?a(h[y],u[_])<=0?h[y++]:u[_++]:y<x?h[y++]:u[_++];return s};d.exports=l},34487:function(d,g,e){"use strict";var r=e(18589),i=e(39812),l=e(31946),c=e(59893),f=c("species"),s=Array;d.exports=function(h){var u;return r(h)&&(u=h.constructor,i(u)&&(u===s||r(u.prototype))?u=void 0:l(u)&&(u=u[f],u===null&&(u=void 0))),u===void 0?s:u}},81427:function(d,g,e){"use strict";var r=e(34487);d.exports=function(i,l){return new(r(i))(l===0?0:l)}},85903:function(d,g,e){"use strict";var r=e(82762);d.exports=function(i,l){for(var c=r(i),f=new l(c),s=0;s<c;s++)f[s]=i[c-s-1];return f}},65621:function(d,g,e){"use strict";var r=e(94237),i=e(63335),l=e(4112),c=e(82762),f=e(94029),s=e(2786),h=e(95037),u=s.Map,a=s.has,x=s.set,p=r([].push);d.exports=function(_){var b=f(this),S=c(b),R=[],L=new u,C=l(_)?function(U){return U}:i(_),D,B,$;for(D=0;D<S;D++)B=b[D],$=C(B),a(L,$)||x(L,$,B);return h(L,function(U){p(R,U)}),R}},82041:function(d,g,e){"use strict";var r=e(82762),i=e(56902),l=RangeError;d.exports=function(c,f,s,h){var u=r(c),a=i(s),x=a<0?u+a:a;if(x>=u||x<0)throw new l("Incorrect index");for(var p=new f(u),y=0;y<u;y++)p[y]=y===x?h:c[y];return p}},57975:function(d,g,e){"use strict";var r=e(89945),i=e(80449),l=e(20132),c=e(53776),f=e(66477),s=e(94844),h=e(65911),u=e(14052),a=e(25587),x=h("Promise"),p="AsyncFromSyncIterator",y=s.set,_=s.getterFor(p),b=function(R,L,C){var D=R.done;x.resolve(R.value).then(function(B){L(a(B,D))},C)},S=function(L){L.type=p,y(this,L)};S.prototype=f(l(u),{next:function(){var L=_(this);return new x(function(C,D){var B=i(r(L.next,L.iterator));b(B,C,D)})},return:function(){var R=_(this).iterator;return new x(function(L,C){var D=c(R,"return");if(D===void 0)return L(a(void 0,!0));var B=i(r(D,R));b(B,L,C)})}}),d.exports=S},28255:function(d,g,e){"use strict";var r=e(89945),i=e(65911),l=e(53776);d.exports=function(c,f,s,h){try{var u=l(c,"return");if(u)return i("Promise").resolve(r(u,c)).then(function(){f(s)},function(a){h(a)})}catch(a){return h(a)}f(s)}},31342:function(d,g,e){"use strict";var r=e(89945),i=e(80734),l=e(80449),c=e(20132),f=e(68151),s=e(66477),h=e(59893),u=e(94844),a=e(65911),x=e(53776),p=e(14052),y=e(25587),_=e(67996),b=a("Promise"),S=h("toStringTag"),R="AsyncIteratorHelper",L="WrapForValidAsyncIterator",C=u.set,D=function(U){var K=!U,V=u.getterFor(U?L:R),G=function(oe){var ae=i(function(){return V(oe)}),le=ae.error,q=ae.value;return le||K&&q.done?{exit:!0,value:le?b.reject(q):b.resolve(y(void 0,!0))}:{exit:!1,value:q}};return s(c(p),{next:function(){var ae=G(this),le=ae.value;if(ae.exit)return le;var q=i(function(){return l(le.nextHandler(b))}),J=q.error,Y=q.value;return J&&(le.done=!0),J?b.reject(Y):b.resolve(Y)},return:function(){var oe=G(this),ae=oe.value;if(oe.exit)return ae;ae.done=!0;var le=ae.iterator,q,J,Y=i(function(){if(ae.inner)try{_(ae.inner.iterator,"normal")}catch(ue){return _(le,"throw",ue)}return x(le,"return")});return q=J=Y.value,Y.error?b.reject(J):q===void 0?b.resolve(y(void 0,!0)):(Y=i(function(){return r(q,le)}),J=Y.value,Y.error?b.reject(J):U?b.resolve(J):b.resolve(J).then(function(ue){return l(ue),y(void 0,!0)}))}})},B=D(!0),$=D(!1);f($,S,"Async Iterator Helper"),d.exports=function(U,K){var V=function(oe,ae){ae?(ae.iterator=oe.iterator,ae.next=oe.next):ae=oe,ae.type=K?L:R,ae.nextHandler=U,ae.counter=0,ae.done=!1,C(this,ae)};return V.prototype=K?B:$,V}},34535:function(d,g,e){"use strict";var r=e(89945),i=e(41586),l=function(c,f){return[f,c]};d.exports=function(){return r(i,this,l)}},55266:function(d,g,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(31946),f=e(66434),s=e(65911),h=e(10731),u=e(28255),a=function(x){var p=x===0,y=x===1,_=x===2,b=x===3;return function(S,R,L){l(S);var C=R!==void 0;(C||!p)&&i(R);var D=h(S),B=s("Promise"),$=D.iterator,U=D.next,K=0;return new B(function(V,G){var oe=function(le){u($,G,le,G)},ae=function(){try{if(C)try{f(K)}catch(le){oe(le)}B.resolve(l(r(U,$))).then(function(le){try{if(l(le).done)p?(L.length=K,V(L)):V(b?!1:_||void 0);else{var q=le.value;try{if(C){var J=R(q,K),Y=function(ue){if(y)ae();else if(_)ue?ae():u($,V,!1,G);else if(p)try{L[K++]=ue,ae()}catch(ne){oe(ne)}else ue?u($,V,b||q,G):ae()};c(J)?B.resolve(J).then(Y,oe):Y(J)}else L[K++]=q,ae()}catch(ue){oe(ue)}}}catch(ue){G(ue)}},G)}catch(le){G(le)}};ae()})}};d.exports={toArray:a(0),forEach:a(1),every:a(2),some:a(3),find:a(4)}},41586:function(d,g,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(31946),f=e(10731),s=e(31342),h=e(25587),u=e(28255),a=s(function(x){var p=this,y=p.iterator,_=p.mapper;return new x(function(b,S){var R=function(C){p.done=!0,S(C)},L=function(C){u(y,R,C,R)};x.resolve(l(r(p.next,y))).then(function(C){try{if(l(C).done)p.done=!0,b(h(void 0,!0));else{var D=C.value;try{var B=_(D,p.counter++),$=function(U){b(h(U,!1))};c(B)?x.resolve(B).then($,L):$(B)}catch(U){L(U)}}}catch(U){R(U)}},R)})});d.exports=function(p){return l(this),i(p),new a(f(this),{mapper:p})}},14052:function(d,g,e){"use strict";var r=e(92916),i=e(77398),l=e(55327),c=e(20132),f=e(53456),s=e(2291),h=e(59893),u=e(16697),a="USE_FUNCTION_CONSTRUCTOR",x=h("asyncIterator"),p=r.AsyncIterator,y=i.AsyncIteratorPrototype,_,b;if(y)_=y;else if(l(p))_=p.prototype;else if(i[a]||r[a])try{b=f(f(f(Function("return async function*(){}()")()))),f(b)===Object.prototype&&(_=b)}catch(S){}_?u&&(_=c(_)):_={},l(_[x])||s(_,x,function(){return this}),d.exports=_},80025:function(d,g,e){"use strict";var r=e(89945),i=e(31342);d.exports=i(function(){return r(this.next,this.iterator)},!0)},66244:function(d){"use strict";var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",e=g+"+/",r=g+"-_",i=function(l){for(var c={},f=0;f<64;f++)c[l.charAt(f)]=f;return c};d.exports={i2c:e,c2i:i(e),i2cUrl:r,c2iUrl:i(r)}},46319:function(d,g,e){"use strict";var r=e(80449),i=e(67996);d.exports=function(l,c,f,s){try{return s?c(r(f)[0],f[1]):c(f)}catch(h){i(l,"throw",h)}}},35221:function(d,g,e){"use strict";var r=e(59893),i=r("iterator"),l=!1;try{var c=0,f={next:function(){return{done:!!c++}},return:function(){l=!0}};f[i]=function(){return this},Array.from(f,function(){throw 2})}catch(s){}d.exports=function(s,h){try{if(!h&&!l)return!1}catch(x){return!1}var u=!1;try{var a={};a[i]=function(){return{next:function(){return{done:u=!0}}}},s(a)}catch(x){}return u}},29076:function(d,g,e){"use strict";var r=e(94237),i=r({}.toString),l=r("".slice);d.exports=function(c){return l(i(c),8,-1)}},97607:function(d,g,e){"use strict";var r=e(68527),i=e(55327),l=e(29076),c=e(59893),f=c("toStringTag"),s=Object,h=l(function(){return arguments}())==="Arguments",u=function(a,x){try{return a[x]}catch(p){}};d.exports=r?l:function(a){var x,p,y;return a===void 0?"Undefined":a===null?"Null":typeof(p=u(x=s(a),f))=="string"?p:h?l(x):(y=l(x))==="Object"&&i(x.callee)?"Arguments":y}},72846:function(d,g,e){"use strict";var r=e(80666),i=e(89945),l=e(63335),c=e(6086),f=e(4112),s=e(62003),h=[].push;d.exports=function(a){var x=arguments.length,p=x>1?arguments[1]:void 0,y,_,b,S;return c(this),y=p!==void 0,y&&l(p),f(a)?new this:(_=[],y?(b=0,S=r(p,x>2?arguments[2]:void 0),s(a,function(R){i(h,_,S(R,b++))})):s(a,h,{that:_}),new this(_))}},48800:function(d,g,e){"use strict";var r=e(30867);d.exports=function(){return new this(r(arguments))}},40942:function(d,g,e){"use strict";var r=e(20132),i=e(64110),l=e(66477),c=e(80666),f=e(56472),s=e(4112),h=e(62003),u=e(24019),a=e(25587),x=e(51996),p=e(35454),y=e(2074).fastKey,_=e(94844),b=_.set,S=_.getterFor;d.exports={getConstructor:function(R,L,C,D){var B=R(function(G,oe){f(G,$),b(G,{type:L,index:r(null),first:void 0,last:void 0,size:0}),p||(G.size=0),s(oe)||h(oe,G[D],{that:G,AS_ENTRIES:C})}),$=B.prototype,U=S(L),K=function(G,oe,ae){var le=U(G),q=V(G,oe),J,Y;return q?q.value=ae:(le.last=q={index:Y=y(oe,!0),key:oe,value:ae,previous:J=le.last,next:void 0,removed:!1},le.first||(le.first=q),J&&(J.next=q),p?le.size++:G.size++,Y!=="F"&&(le.index[Y]=q)),G},V=function(G,oe){var ae=U(G),le=y(oe),q;if(le!=="F")return ae.index[le];for(q=ae.first;q;q=q.next)if(q.key===oe)return q};return l($,{clear:function(){for(var oe=this,ae=U(oe),le=ae.index,q=ae.first;q;)q.removed=!0,q.previous&&(q.previous=q.previous.next=void 0),delete le[q.index],q=q.next;ae.first=ae.last=void 0,p?ae.size=0:oe.size=0},delete:function(G){var oe=this,ae=U(oe),le=V(oe,G);if(le){var q=le.next,J=le.previous;delete ae.index[le.index],le.removed=!0,J&&(J.next=q),q&&(q.previous=J),ae.first===le&&(ae.first=q),ae.last===le&&(ae.last=J),p?ae.size--:oe.size--}return!!le},forEach:function(oe){for(var ae=U(this),le=c(oe,arguments.length>1?arguments[1]:void 0),q;q=q?q.next:ae.first;)for(le(q.value,q.key,this);q&&q.removed;)q=q.previous},has:function(oe){return!!V(this,oe)}}),l($,C?{get:function(oe){var ae=V(this,oe);return ae&&ae.value},set:function(oe,ae){return K(this,oe===0?0:oe,ae)}}:{add:function(oe){return K(this,oe=oe===0?0:oe,oe)}}),p&&i($,"size",{configurable:!0,get:function(){return U(this).size}}),B},setStrong:function(R,L,C){var D=L+" Iterator",B=S(L),$=S(D);u(R,L,function(U,K){b(this,{type:D,target:U,state:B(U),kind:K,last:void 0})},function(){for(var U=$(this),K=U.kind,V=U.last;V&&V.removed;)V=V.previous;return!U.target||!(U.last=V=V?V.next:U.state.first)?(U.target=void 0,a(void 0,!0)):a(K==="keys"?V.key:K==="values"?V.value:[V.key,V.value],!1)},C?"entries":"values",!C,!0),x(L)}}},39656:function(d,g,e){"use strict";var r=e(94237),i=e(66477),l=e(2074).getWeakData,c=e(56472),f=e(80449),s=e(4112),h=e(31946),u=e(62003),a=e(90560),x=e(32621),p=e(94844),y=p.set,_=p.getterFor,b=a.find,S=a.findIndex,R=r([].splice),L=0,C=function($){return $.frozen||($.frozen=new D)},D=function(){this.entries=[]},B=function($,U){return b($.entries,function(K){return K[0]===U})};D.prototype={get:function($){var U=B(this,$);if(U)return U[1]},has:function($){return!!B(this,$)},set:function($,U){var K=B(this,$);K?K[1]=U:this.entries.push([$,U])},delete:function($){var U=S(this.entries,function(K){return K[0]===$});return~U&&R(this.entries,U,1),!!~U}},d.exports={getConstructor:function($,U,K,V){var G=$(function(q,J){c(q,oe),y(q,{type:U,id:L++,frozen:void 0}),s(J)||u(J,q[V],{that:q,AS_ENTRIES:K})}),oe=G.prototype,ae=_(U),le=function(q,J,Y){var ue=ae(q),ne=l(f(J),!0);return ne===!0?C(ue).set(J,Y):ne[ue.id]=Y,q};return i(oe,{delete:function(q){var J=ae(this);if(!h(q))return!1;var Y=l(q);return Y===!0?C(J).delete(q):Y&&x(Y,J.id)&&delete Y[J.id]},has:function(J){var Y=ae(this);if(!h(J))return!1;var ue=l(J);return ue===!0?C(Y).has(J):ue&&x(ue,Y.id)}}),i(oe,K?{get:function(J){var Y=ae(this);if(h(J)){var ue=l(J);return ue===!0?C(Y).get(J):ue?ue[Y.id]:void 0}},set:function(J,Y){return le(this,J,Y)}}:{add:function(J){return le(this,J,!0)}}),G}}},48059:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(20865),f=e(2291),s=e(2074),h=e(62003),u=e(56472),a=e(55327),x=e(4112),p=e(31946),y=e(3338),_=e(35221),b=e(94573),S=e(25576);d.exports=function(R,L,C){var D=R.indexOf("Map")!==-1,B=R.indexOf("Weak")!==-1,$=D?"set":"add",U=i[R],K=U&&U.prototype,V=U,G={},oe=function(ne){var ee=l(K[ne]);f(K,ne,ne==="add"?function(F){return ee(this,F===0?0:F),this}:ne==="delete"?function(ie){return B&&!p(ie)?!1:ee(this,ie===0?0:ie)}:ne==="get"?function(F){return B&&!p(F)?void 0:ee(this,F===0?0:F)}:ne==="has"?function(F){return B&&!p(F)?!1:ee(this,F===0?0:F)}:function(F,M){return ee(this,F===0?0:F,M),this})},ae=c(R,!a(U)||!(B||K.forEach&&!y(function(){new U().entries().next()})));if(ae)V=C.getConstructor(L,R,D,$),s.enable();else if(c(R,!0)){var le=new V,q=le[$](B?{}:-0,1)!==le,J=y(function(){le.has(1)}),Y=_(function(ne){new U(ne)}),ue=!B&&y(function(){for(var ne=new U,ee=5;ee--;)ne[$](ee,ee);return!ne.has(-0)});Y||(V=L(function(ne,ee){u(ne,K);var ie=S(new U,ne,V);return x(ee)||h(ee,ie[$],{that:ie,AS_ENTRIES:D}),ie}),V.prototype=K,K.constructor=V),(J||ue)&&(oe("delete"),oe("has"),D&&oe("get")),(ue||q)&&oe($),B&&K.clear&&delete K.clear}return G[R]=V,r({global:!0,constructor:!0,forced:V!==U},G),b(V,R),B||C.setStrong(V,R,D),V}},32754:function(d,g,e){"use strict";e(34941),e(55410);var r=e(65911),i=e(20132),l=e(31946),c=Object,f=TypeError,s=r("Map"),h=r("WeakMap"),u=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=i(null)};u.prototype.get=function(x,p){return this[x]||(this[x]=p())},u.prototype.next=function(x,p,y){var _=y?this.objectsByIndex[x]||(this.objectsByIndex[x]=new h):this.primitives||(this.primitives=new s),b=_.get(p);return b||_.set(p,b=new u),b};var a=new u;d.exports=function(){var x=a,p=arguments.length,y,_;for(y=0;y<p;y++)l(_=arguments[y])&&(x=x.next(y,_,!0));if(this===c&&x===a)throw new f("Composite keys must contain a non-primitive component");for(y=0;y<p;y++)l(_=arguments[y])||(x=x.next(y,_,!1));return x}},24538:function(d,g,e){"use strict";var r=e(32621),i=e(48662),l=e(71256),c=e(37691);d.exports=function(f,s,h){for(var u=i(s),a=c.f,x=l.f,p=0;p<u.length;p++){var y=u[p];!r(f,y)&&!(h&&r(h,y))&&a(f,y,x(s,y))}}},86266:function(d,g,e){"use strict";var r=e(59893),i=r("match");d.exports=function(l){var c=/./;try{"/./"[l](c)}catch(f){try{return c[i]=!1,"/./"[l](c)}catch(s){}}return!1}},4870:function(d,g,e){"use strict";var r=e(3338);d.exports=!r(function(){function i(){}return i.prototype.constructor=null,Object.getPrototypeOf(new i)!==i.prototype})},95994:function(d,g,e){"use strict";var r=e(94237),i=e(95955),l=e(69905),c=/"/g,f=r("".replace);d.exports=function(s,h,u,a){var x=l(i(s)),p="<"+h;return u!==""&&(p+=" "+u+'="'+f(l(a),c,"&quot;")+'"'),p+">"+x+"</"+h+">"}},25587:function(d){"use strict";d.exports=function(g,e){return{value:g,done:e}}},68151:function(d,g,e){"use strict";var r=e(35454),i=e(37691),l=e(35012);d.exports=r?function(c,f,s){return i.f(c,f,l(1,s))}:function(c,f,s){return c[f]=s,c}},35012:function(d){"use strict";d.exports=function(g,e){return{enumerable:!(g&1),configurable:!(g&2),writable:!(g&4),value:e}}},69392:function(d,g,e){"use strict";var r=e(17818),i=e(37691),l=e(35012);d.exports=function(c,f,s){var h=r(f);h in c?i.f(c,h,l(0,s)):c[h]=s}},32494:function(d,g,e){"use strict";var r=e(94237),i=e(3338),l=e(85571).start,c=RangeError,f=isFinite,s=Math.abs,h=Date.prototype,u=h.toISOString,a=r(h.getTime),x=r(h.getUTCDate),p=r(h.getUTCFullYear),y=r(h.getUTCHours),_=r(h.getUTCMilliseconds),b=r(h.getUTCMinutes),S=r(h.getUTCMonth),R=r(h.getUTCSeconds);d.exports=i(function(){return u.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!i(function(){u.call(new Date(NaN))})?function(){if(!f(a(this)))throw new c("Invalid time value");var C=this,D=p(C),B=_(C),$=D<0?"-":D>9999?"+":"";return $+l(s(D),$?6:4,0)+"-"+l(S(C)+1,2,0)+"-"+l(x(C),2,0)+"T"+l(y(C),2,0)+":"+l(b(C),2,0)+":"+l(R(C),2,0)+"."+l(B,3,0)+"Z"}:u},77119:function(d,g,e){"use strict";var r=e(80449),i=e(44759),l=TypeError;d.exports=function(c){if(r(this),c==="string"||c==="default")c="string";else if(c!=="number")throw new l("Incorrect hint");return i(this,c)}},64110:function(d,g,e){"use strict";var r=e(86528),i=e(37691);d.exports=function(l,c,f){return f.get&&r(f.get,c,{getter:!0}),f.set&&r(f.set,c,{setter:!0}),i.f(l,c,f)}},2291:function(d,g,e){"use strict";var r=e(55327),i=e(37691),l=e(86528),c=e(29539);d.exports=function(f,s,h,u){u||(u={});var a=u.enumerable,x=u.name!==void 0?u.name:s;if(r(h)&&l(h,x,u),u.global)a?f[s]=h:c(s,h);else{try{u.unsafe?f[s]&&(a=!0):delete f[s]}catch(p){}a?f[s]=h:i.f(f,s,{value:h,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return f}},66477:function(d,g,e){"use strict";var r=e(2291);d.exports=function(i,l,c){for(var f in l)r(i,f,l[f],c);return i}},29539:function(d,g,e){"use strict";var r=e(92916),i=Object.defineProperty;d.exports=function(l,c){try{i(r,l,{value:c,configurable:!0,writable:!0})}catch(f){r[l]=c}return c}},84233:function(d,g,e){"use strict";var r=e(40593),i=TypeError;d.exports=function(l,c){if(!delete l[c])throw new i("Cannot delete property "+r(c)+" of "+r(l))}},35454:function(d,g,e){"use strict";var r=e(3338);d.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},39311:function(d,g,e){"use strict";var r=e(92916),i=e(11270),l=e(80426),c=r.structuredClone,f=r.ArrayBuffer,s=r.MessageChannel,h=!1,u,a,x,p;if(l)h=function(y){c(y,{transfer:[y]})};else if(f)try{s||(u=i("worker_threads"),u&&(s=u.MessageChannel)),s&&(a=new s,x=new f(2),p=function(y){a.port1.postMessage(null,[y])},x.byteLength===2&&(p(x),x.byteLength===0&&(h=p)))}catch(y){}d.exports=h},81766:function(d){"use strict";var g=typeof document=="object"&&document.all,e=typeof g=="undefined"&&g!==void 0;d.exports={all:g,IS_HTMLDDA:e}},86060:function(d,g,e){"use strict";var r=e(92916),i=e(31946),l=r.document,c=i(l)&&i(l.createElement);d.exports=function(f){return c?l.createElement(f):{}}},66434:function(d){"use strict";var g=TypeError,e=9007199254740991;d.exports=function(r){if(r>e)throw g("Maximum allowed index exceeded");return r}},52109:function(d){"use strict";d.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},66749:function(d){"use strict";d.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9518:function(d,g,e){"use strict";var r=e(86060),i=r("span").classList,l=i&&i.constructor&&i.constructor.prototype;d.exports=l===Object.prototype?void 0:l},78177:function(d,g,e){"use strict";var r=e(66011),i=r.match(/firefox\/(\d+)/i);d.exports=!!i&&+i[1]},66994:function(d,g,e){"use strict";var r=e(91821),i=e(90946);d.exports=!r&&!i&&typeof window=="object"&&typeof document=="object"},90843:function(d){"use strict";d.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},91821:function(d){"use strict";d.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},17687:function(d,g,e){"use strict";var r=e(66011);d.exports=/MSIE|Trident/.test(r)},1908:function(d,g,e){"use strict";var r=e(66011);d.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},70695:function(d,g,e){"use strict";var r=e(66011);d.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},90946:function(d,g,e){"use strict";var r=e(92916),i=e(29076);d.exports=i(r.process)==="process"},44914:function(d,g,e){"use strict";var r=e(66011);d.exports=/web0s(?!.*chrome)/i.test(r)},66011:function(d){"use strict";d.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},46573:function(d,g,e){"use strict";var r=e(92916),i=e(66011),l=r.process,c=r.Deno,f=l&&l.versions||c&&c.version,s=f&&f.v8,h,u;s&&(h=s.split("."),u=h[0]>0&&h[0]<4?1:+(h[0]+h[1])),!u&&i&&(h=i.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=i.match(/Chrome\/(\d+)/),h&&(u=+h[1]))),d.exports=u},19684:function(d,g,e){"use strict";var r=e(66011),i=r.match(/AppleWebKit\/(\d+)\./);d.exports=!!i&&+i[1]},46678:function(d){"use strict";d.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},80739:function(d,g,e){"use strict";var r=e(94237),i=Error,l=r("".replace),c=function(h){return String(new i(h).stack)}("zxcasd"),f=/\n\s*at [^:]*:[^\n]*/,s=f.test(c);d.exports=function(h,u){if(s&&typeof h=="string"&&!i.prepareStackTrace)for(;u--;)h=l(h,f,"");return h}},61888:function(d,g,e){"use strict";var r=e(68151),i=e(80739),l=e(25406),c=Error.captureStackTrace;d.exports=function(f,s,h,u){l&&(c?c(f,s):r(f,"stack",i(h,u)))}},25406:function(d,g,e){"use strict";var r=e(3338),i=e(35012);d.exports=!r(function(){var l=new Error("a");return"stack"in l?(Object.defineProperty(l,"stack",i(1,7)),l.stack!==7):!0})},13367:function(d,g,e){"use strict";var r=e(35454),i=e(3338),l=e(80449),c=e(7825),f=Error.prototype.toString,s=i(function(){if(r){var h=Object.create(Object.defineProperty({},"name",{get:function(){return this===h}}));if(f.call(h)!=="true")return!0}return f.call({message:1,name:2})!=="2: 1"||f.call({})!=="Error"});d.exports=s?function(){var u=l(this),a=c(u.name,"Error"),x=c(u.message);return a?x?a+": "+x:a:x}:f},94488:function(d,g,e){"use strict";var r=e(92916),i=e(71256).f,l=e(68151),c=e(2291),f=e(29539),s=e(24538),h=e(20865);d.exports=function(u,a){var x=u.target,p=u.global,y=u.stat,_,b,S,R,L,C;if(p?b=r:y?b=r[x]||f(x,{}):b=(r[x]||{}).prototype,b)for(S in a){if(L=a[S],u.dontCallGetSet?(C=i(b,S),R=C&&C.value):R=b[S],_=h(p?S:x+(y?".":"#")+S,u.forced),!_&&R!==void 0){if(typeof L==typeof R)continue;s(L,R)}(u.sham||R&&R.sham)&&l(L,"sham",!0),c(b,S,L,u)}}},3338:function(d){"use strict";d.exports=function(g){try{return!!g()}catch(e){return!0}}},8662:function(d,g,e){"use strict";e(44001);var r=e(34114),i=e(2291),l=e(88736),c=e(3338),f=e(59893),s=e(68151),h=f("species"),u=RegExp.prototype;d.exports=function(a,x,p,y){var _=f(a),b=!c(function(){var C={};return C[_]=function(){return 7},""[a](C)!==7}),S=b&&!c(function(){var C=!1,D=/a/;return a==="split"&&(D={},D.constructor={},D.constructor[h]=function(){return D},D.flags="",D[_]=/./[_]),D.exec=function(){return C=!0,null},D[_](""),!C});if(!b||!S||p){var R=r(/./[_]),L=x(_,""[a],function(C,D,B,$,U){var K=r(C),V=D.exec;return V===l||V===u.exec?b&&!U?{done:!0,value:R(D,B,$)}:{done:!0,value:K(B,D,$)}:{done:!1}});i(String.prototype,a,L[0]),i(u,_,L[1])}y&&s(u[_],"sham",!0)}},3372:function(d,g,e){"use strict";var r=e(18589),i=e(82762),l=e(66434),c=e(80666),f=function(s,h,u,a,x,p,y,_){for(var b=x,S=0,R=y?c(y,_):!1,L,C;S<a;)S in u&&(L=R?R(u[S],S,h):u[S],p>0&&r(L)?(C=i(L),b=f(s,h,L,C,b,p-1)-1):(l(b+1),s[b]=L),b++),S++;return b};d.exports=f},13247:function(d,g,e){"use strict";var r=e(3338);d.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},13743:function(d,g,e){"use strict";var r=e(40486),i=Function.prototype,l=i.apply,c=i.call;d.exports=typeof Reflect=="object"&&Reflect.apply||(r?c.bind(l):function(){return c.apply(l,arguments)})},80666:function(d,g,e){"use strict";var r=e(34114),i=e(63335),l=e(40486),c=r(r.bind);d.exports=function(f,s){return i(f),s===void 0?f:l?c(f,s):function(){return f.apply(s,arguments)}}},40486:function(d,g,e){"use strict";var r=e(3338);d.exports=!r(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})},4645:function(d,g,e){"use strict";var r=e(94237),i=e(63335),l=e(31946),c=e(32621),f=e(30867),s=e(40486),h=Function,u=r([].concat),a=r([].join),x={},p=function(y,_,b){if(!c(x,_)){for(var S=[],R=0;R<_;R++)S[R]="a["+R+"]";x[_]=h("C,a","return new C("+a(S,",")+")")}return x[_](y,b)};d.exports=s?h.bind:function(_){var b=i(this),S=b.prototype,R=f(arguments,1),L=function(){var D=u(R,f(arguments));return this instanceof L?p(b,D.length,D):b.apply(_,D)};return l(S)&&(L.prototype=S),L}},89945:function(d,g,e){"use strict";var r=e(40486),i=Function.prototype.call;d.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},47739:function(d,g,e){"use strict";var r=e(94237),i=e(63335);d.exports=function(){return r(i(this))}},8090:function(d,g,e){"use strict";var r=e(35454),i=e(32621),l=Function.prototype,c=r&&Object.getOwnPropertyDescriptor,f=i(l,"name"),s=f&&function(){}.name==="something",h=f&&(!r||r&&c(l,"name").configurable);d.exports={EXISTS:f,PROPER:s,CONFIGURABLE:h}},37758:function(d,g,e){"use strict";var r=e(94237),i=e(63335);d.exports=function(l,c,f){try{return r(i(Object.getOwnPropertyDescriptor(l,c)[f]))}catch(s){}}},34114:function(d,g,e){"use strict";var r=e(29076),i=e(94237);d.exports=function(l){if(r(l)==="Function")return i(l)}},94237:function(d,g,e){"use strict";var r=e(40486),i=Function.prototype,l=i.call,c=r&&i.bind.bind(l,l);d.exports=r?c:function(f){return function(){return l.apply(f,arguments)}}},81750:function(d){"use strict";var g=TypeError;d.exports=function(e){var r=e&&e.alphabet;if(r===void 0||r==="base64"||r==="base64url")return r||"base64";throw new g("Incorrect `alphabet` option")}},38116:function(d,g,e){"use strict";var r=e(89945),i=e(55327),l=e(80449),c=e(10731),f=e(26006),s=e(53776),h=e(59893),u=e(57975),a=h("asyncIterator");d.exports=function(x){var p=l(x),y=!0,_=s(p,a),b;return i(_)||(_=f(p),y=!1),_!==void 0?b=r(_,p):(b=p,y=!0),l(b),c(y?b:new u(c(b)))}},69034:function(d,g,e){"use strict";var r=e(89945),i=e(57975),l=e(80449),c=e(85428),f=e(10731),s=e(53776),h=e(59893),u=h("asyncIterator");d.exports=function(a,x){var p=arguments.length<2?s(a,u):x;return p?l(r(p,a)):new i(f(c(a)))}},55174:function(d,g,e){"use strict";var r=e(92916);d.exports=function(i,l){var c=r[i],f=c&&c.prototype;return f&&f[l]}},65911:function(d,g,e){"use strict";var r=e(92916),i=e(55327),l=function(c){return i(c)?c:void 0};d.exports=function(c,f){return arguments.length<2?l(r[c]):r[c]&&r[c][f]}},10731:function(d){"use strict";d.exports=function(g){return{iterator:g,next:g.next,done:!1}}},7157:function(d,g,e){"use strict";var r=e(89945),i=e(80449),l=e(10731),c=e(26006);d.exports=function(f,s){(!s||typeof f!="string")&&i(f);var h=c(f);return l(i(h!==void 0?r(h,f):f))}},26006:function(d,g,e){"use strict";var r=e(97607),i=e(53776),l=e(4112),c=e(48074),f=e(59893),s=f("iterator");d.exports=function(h){if(!l(h))return i(h,s)||i(h,"@@iterator")||c[r(h)]}},85428:function(d,g,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(40593),f=e(26006),s=TypeError;d.exports=function(h,u){var a=arguments.length<2?f(h):u;if(i(a))return l(r(a,h));throw new s(c(h)+" is not iterable")}},65451:function(d,g,e){"use strict";var r=e(94237),i=e(18589),l=e(55327),c=e(29076),f=e(69905),s=r([].push);d.exports=function(h){if(l(h))return h;if(i(h)){for(var u=h.length,a=[],x=0;x<u;x++){var p=h[x];typeof p=="string"?s(a,p):(typeof p=="number"||c(p)==="Number"||c(p)==="String")&&s(a,f(p))}var y=a.length,_=!0;return function(b,S){if(_)return _=!1,S;if(i(this))return S;for(var R=0;R<y;R++)if(a[R]===b)return S}}}},53776:function(d,g,e){"use strict";var r=e(63335),i=e(4112);d.exports=function(l,c){var f=l[c];return i(f)?void 0:r(f)}},88203:function(d,g,e){"use strict";var r=e(63335),i=e(80449),l=e(89945),c=e(56902),f=e(10731),s="Invalid size",h=RangeError,u=TypeError,a=Math.max,x=function(p,y,_,b){this.set=p,this.size=y,this.has=_,this.keys=b};x.prototype={getIterator:function(){return f(i(l(this.keys,this.set)))},includes:function(p){return l(this.has,this.set,p)}},d.exports=function(p){i(p);var y=+p.size;if(y!==y)throw new u(s);var _=c(y);if(_<0)throw new h(s);return new x(p,a(_,0),r(p.has),r(p.keys))}},23011:function(d,g,e){"use strict";var r=e(94237),i=e(94029),l=Math.floor,c=r("".charAt),f=r("".replace),s=r("".slice),h=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;d.exports=function(a,x,p,y,_,b){var S=p+a.length,R=y.length,L=u;return _!==void 0&&(_=i(_),L=h),f(b,L,function(C,D){var B;switch(c(D,0)){case"$":return"$";case"&":return a;case"`":return s(x,0,p);case"'":return s(x,S);case"<":B=_[s(D,1,-1)];break;default:var $=+D;if($===0)return C;if($>R){var U=l($/10);return U===0?C:U<=R?y[U-1]===void 0?c(D,1):y[U-1]+c(D,1):C}B=y[$-1]}return B===void 0?"":B})}},92916:function(d,g,e){"use strict";var r=function(i){return i&&i.Math===Math&&i};d.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof e.g=="object"&&e.g)||r(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},32621:function(d,g,e){"use strict";var r=e(94237),i=e(94029),l=r({}.hasOwnProperty);d.exports=Object.hasOwn||function(f,s){return l(i(f),s)}},54406:function(d){"use strict";d.exports={}},61810:function(d){"use strict";d.exports=function(g,e){try{arguments.length===1?console.error(g):console.error(g,e)}catch(r){}}},75171:function(d,g,e){"use strict";var r=e(65911);d.exports=r("document","documentElement")},46796:function(d,g,e){"use strict";var r=e(35454),i=e(3338),l=e(86060);d.exports=!r&&!i(function(){return Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a!==7})},61618:function(d){"use strict";var g=Array,e=Math.abs,r=Math.pow,i=Math.floor,l=Math.log,c=Math.LN2,f=function(h,u,a){var x=g(a),p=a*8-u-1,y=(1<<p)-1,_=y>>1,b=u===23?r(2,-24)-r(2,-77):0,S=h<0||h===0&&1/h<0?1:0,R=0,L,C,D;for(h=e(h),h!==h||h===1/0?(C=h!==h?1:0,L=y):(L=i(l(h)/c),D=r(2,-L),h*D<1&&(L--,D*=2),L+_>=1?h+=b/D:h+=b*r(2,1-_),h*D>=2&&(L++,D/=2),L+_>=y?(C=0,L=y):L+_>=1?(C=(h*D-1)*r(2,u),L+=_):(C=h*r(2,_-1)*r(2,u),L=0));u>=8;)x[R++]=C&255,C/=256,u-=8;for(L=L<<u|C,p+=u;p>0;)x[R++]=L&255,L/=256,p-=8;return x[--R]|=S*128,x},s=function(h,u){var a=h.length,x=a*8-u-1,p=(1<<x)-1,y=p>>1,_=x-7,b=a-1,S=h[b--],R=S&127,L;for(S>>=7;_>0;)R=R*256+h[b--],_-=8;for(L=R&(1<<-_)-1,R>>=-_,_+=u;_>0;)L=L*256+h[b--],_-=8;if(R===0)R=1-y;else{if(R===p)return L?NaN:S?-1/0:1/0;L+=r(2,u),R-=y}return(S?-1:1)*L*r(2,R-u)};d.exports={pack:f,unpack:s}},1835:function(d,g,e){"use strict";var r=e(94237),i=e(3338),l=e(29076),c=Object,f=r("".split);d.exports=i(function(){return!c("z").propertyIsEnumerable(0)})?function(s){return l(s)==="String"?f(s,""):c(s)}:c},25576:function(d,g,e){"use strict";var r=e(55327),i=e(31946),l=e(58218);d.exports=function(c,f,s){var h,u;return l&&r(h=f.constructor)&&h!==s&&i(u=h.prototype)&&u!==s.prototype&&l(c,u),c}},15212:function(d,g,e){"use strict";var r=e(94237),i=e(55327),l=e(77398),c=r(Function.toString);i(l.inspectSource)||(l.inspectSource=function(f){return c(f)}),d.exports=l.inspectSource},73068:function(d,g,e){"use strict";var r=e(31946),i=e(68151);d.exports=function(l,c){r(c)&&"cause"in c&&i(l,"cause",c.cause)}},2074:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(54406),c=e(31946),f=e(32621),s=e(37691).f,h=e(80689),u=e(53393),a=e(12477),x=e(6145),p=e(13247),y=!1,_=x("meta"),b=0,S=function($){s($,_,{value:{objectID:"O"+b++,weakData:{}}})},R=function($,U){if(!c($))return typeof $=="symbol"?$:(typeof $=="string"?"S":"P")+$;if(!f($,_)){if(!a($))return"F";if(!U)return"E";S($)}return $[_].objectID},L=function($,U){if(!f($,_)){if(!a($))return!0;if(!U)return!1;S($)}return $[_].weakData},C=function($){return p&&y&&a($)&&!f($,_)&&S($),$},D=function(){B.enable=function(){},y=!0;var $=h.f,U=i([].splice),K={};K[_]=1,$(K).length&&(h.f=function(V){for(var G=$(V),oe=0,ae=G.length;oe<ae;oe++)if(G[oe]===_){U(G,oe,1);break}return G},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},B=d.exports={enable:D,fastKey:R,getWeakData:L,onFreeze:C};l[_]=!0},94844:function(d,g,e){"use strict";var r=e(40115),i=e(92916),l=e(31946),c=e(68151),f=e(32621),s=e(77398),h=e(11898),u=e(54406),a="Object already initialized",x=i.TypeError,p=i.WeakMap,y,_,b,S=function(D){return b(D)?_(D):y(D,{})},R=function(D){return function(B){var $;if(!l(B)||($=_(B)).type!==D)throw new x("Incompatible receiver, "+D+" required");return $}};if(r||s.state){var L=s.state||(s.state=new p);L.get=L.get,L.has=L.has,L.set=L.set,y=function(D,B){if(L.has(D))throw new x(a);return B.facade=D,L.set(D,B),B},_=function(D){return L.get(D)||{}},b=function(D){return L.has(D)}}else{var C=h("state");u[C]=!0,y=function(D,B){if(f(D,C))throw new x(a);return B.facade=D,c(D,C,B),B},_=function(D){return f(D,C)?D[C]:{}},b=function(D){return f(D,C)}}d.exports={set:y,get:_,has:b,enforce:S,getterFor:R}},345:function(d,g,e){"use strict";var r=e(59893),i=e(48074),l=r("iterator"),c=Array.prototype;d.exports=function(f){return f!==void 0&&(i.Array===f||c[l]===f)}},18589:function(d,g,e){"use strict";var r=e(29076);d.exports=Array.isArray||function(l){return r(l)==="Array"}},75406:function(d,g,e){"use strict";var r=e(97607);d.exports=function(i){var l=r(i);return l==="BigInt64Array"||l==="BigUint64Array"}},55327:function(d,g,e){"use strict";var r=e(81766),i=r.all;d.exports=r.IS_HTMLDDA?function(l){return typeof l=="function"||l===i}:function(l){return typeof l=="function"}},39812:function(d,g,e){"use strict";var r=e(94237),i=e(3338),l=e(55327),c=e(97607),f=e(65911),s=e(15212),h=function(){},u=[],a=f("Reflect","construct"),x=/^\s*(?:class|function)\b/,p=r(x.exec),y=!x.test(h),_=function(R){if(!l(R))return!1;try{return a(h,u,R),!0}catch(L){return!1}},b=function(R){if(!l(R))return!1;switch(c(R)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return y||!!p(x,s(R))}catch(L){return!0}};b.sham=!0,d.exports=!a||i(function(){var S;return _(_.call)||!_(Object)||!_(function(){S=!0})||S})?b:_},60516:function(d,g,e){"use strict";var r=e(32621);d.exports=function(i){return i!==void 0&&(r(i,"value")||r(i,"writable"))}},20865:function(d,g,e){"use strict";var r=e(3338),i=e(55327),l=/#|\.prototype\./,c=function(a,x){var p=s[f(a)];return p===u?!0:p===h?!1:i(x)?r(x):!!x},f=c.normalize=function(a){return String(a).replace(l,".").toLowerCase()},s=c.data={},h=c.NATIVE="N",u=c.POLYFILL="P";d.exports=c},62896:function(d,g,e){"use strict";var r=e(31946),i=Math.floor;d.exports=Number.isInteger||function(c){return!r(c)&&isFinite(c)&&i(c)===c}},30360:function(d,g,e){"use strict";var r=e(97607),i=e(32621),l=e(4112),c=e(59893),f=e(48074),s=c("iterator"),h=Object;d.exports=function(u){if(l(u))return!1;var a=h(u);return a[s]!==void 0||"@@iterator"in a||i(f,r(a))}},4112:function(d){"use strict";d.exports=function(g){return g==null}},31946:function(d,g,e){"use strict";var r=e(55327),i=e(81766),l=i.all;d.exports=i.IS_HTMLDDA?function(c){return typeof c=="object"?c!==null:r(c)||c===l}:function(c){return typeof c=="object"?c!==null:r(c)}},16697:function(d){"use strict";d.exports=!1},83502:function(d,g,e){"use strict";var r=e(31946),i=e(94844).get;d.exports=function(c){if(!r(c))return!1;var f=i(c);return!!f&&f.type==="RawJSON"}},44639:function(d,g,e){"use strict";var r=e(31946),i=e(29076),l=e(59893),c=l("match");d.exports=function(f){var s;return r(f)&&((s=f[c])!==void 0?!!s:i(f)==="RegExp")}},18446:function(d,g,e){"use strict";var r=e(65911),i=e(55327),l=e(16332),c=e(14417),f=Object;d.exports=c?function(s){return typeof s=="symbol"}:function(s){var h=r("Symbol");return i(h)&&l(h.prototype,f(s))}},43545:function(d,g,e){"use strict";var r=e(89945);d.exports=function(i,l,c){for(var f=c?i:i.iterator,s=i.next,h,u;!(h=r(s,f)).done;)if(u=l(h.value),u!==void 0)return u}},62003:function(d,g,e){"use strict";var r=e(80666),i=e(89945),l=e(80449),c=e(40593),f=e(345),s=e(82762),h=e(16332),u=e(85428),a=e(26006),x=e(67996),p=TypeError,y=function(b,S){this.stopped=b,this.result=S},_=y.prototype;d.exports=function(b,S,R){var L=R&&R.that,C=!!(R&&R.AS_ENTRIES),D=!!(R&&R.IS_RECORD),B=!!(R&&R.IS_ITERATOR),$=!!(R&&R.INTERRUPTED),U=r(S,L),K,V,G,oe,ae,le,q,J=function(ue){return K&&x(K,"normal",ue),new y(!0,ue)},Y=function(ue){return C?(l(ue),$?U(ue[0],ue[1],J):U(ue[0],ue[1])):$?U(ue,J):U(ue)};if(D)K=b.iterator;else if(B)K=b;else{if(V=a(b),!V)throw new p(c(b)+" is not iterable");if(f(V)){for(G=0,oe=s(b);oe>G;G++)if(ae=Y(b[G]),ae&&h(_,ae))return ae;return new y(!1)}K=u(b,V)}for(le=D?b.next:K.next;!(q=i(le,K)).done;){try{ae=Y(q.value)}catch(ue){x(K,"throw",ue)}if(typeof ae=="object"&&ae&&h(_,ae))return ae}return new y(!1)}},67996:function(d,g,e){"use strict";var r=e(89945),i=e(80449),l=e(53776);d.exports=function(c,f,s){var h,u;i(c);try{if(h=l(c,"return"),!h){if(f==="throw")throw s;return s}h=r(h,c)}catch(a){u=!0,h=a}if(f==="throw")throw s;if(u)throw h;return i(h),s}},83126:function(d,g,e){"use strict";var r=e(46571).IteratorPrototype,i=e(20132),l=e(35012),c=e(94573),f=e(48074),s=function(){return this};d.exports=function(h,u,a,x){var p=u+" Iterator";return h.prototype=i(r,{next:l(+!x,a)}),c(h,p,!1,!0),f[p]=s,h}},20547:function(d,g,e){"use strict";var r=e(89945),i=e(20132),l=e(68151),c=e(66477),f=e(59893),s=e(94844),h=e(53776),u=e(46571).IteratorPrototype,a=e(25587),x=e(67996),p=f("toStringTag"),y="IteratorHelper",_="WrapForValidIterator",b=s.set,S=function(C){var D=s.getterFor(C?_:y);return c(i(u),{next:function(){var $=D(this);if(C)return $.nextHandler();try{var U=$.done?void 0:$.nextHandler();return a(U,$.done)}catch(K){throw $.done=!0,K}},return:function(){var B=D(this),$=B.iterator;if(B.done=!0,C){var U=h($,"return");return U?r(U,$):a(void 0,!0)}if(B.inner)try{x(B.inner.iterator,"normal")}catch(K){return x($,"throw",K)}return x($,"normal"),a(void 0,!0)}})},R=S(!0),L=S(!1);l(L,p,"Iterator Helper"),d.exports=function(C,D){var B=function(U,K){K?(K.iterator=U.iterator,K.next=U.next):K=U,K.type=D?_:y,K.nextHandler=C,K.counter=0,K.done=!1,b(this,K)};return B.prototype=D?R:L,B}},24019:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(16697),c=e(8090),f=e(55327),s=e(83126),h=e(53456),u=e(58218),a=e(94573),x=e(68151),p=e(2291),y=e(59893),_=e(48074),b=e(46571),S=c.PROPER,R=c.CONFIGURABLE,L=b.IteratorPrototype,C=b.BUGGY_SAFARI_ITERATORS,D=y("iterator"),B="keys",$="values",U="entries",K=function(){return this};d.exports=function(V,G,oe,ae,le,q,J){s(oe,G,ae);var Y=function(Ce){if(Ce===le&&F)return F;if(!C&&Ce&&Ce in ee)return ee[Ce];switch(Ce){case B:return function(){return new oe(this,Ce)};case $:return function(){return new oe(this,Ce)};case U:return function(){return new oe(this,Ce)}}return function(){return new oe(this)}},ue=G+" Iterator",ne=!1,ee=V.prototype,ie=ee[D]||ee["@@iterator"]||le&&ee[le],F=!C&&ie||Y(le),M=G==="Array"&&ee.entries||ie,Q,de,we;if(M&&(Q=h(M.call(new V)),Q!==Object.prototype&&Q.next&&(!l&&h(Q)!==L&&(u?u(Q,L):f(Q[D])||p(Q,D,K)),a(Q,ue,!0,!0),l&&(_[ue]=K))),S&&le===$&&ie&&ie.name!==$&&(!l&&R?x(ee,"name",$):(ne=!0,F=function(){return i(ie,this)})),le)if(de={values:Y($),keys:q?F:Y(B),entries:Y(U)},J)for(we in de)(C||ne||!(we in ee))&&p(ee,we,de[we]);else r({target:G,proto:!0,forced:C||ne},de);return(!l||J)&&ee[D]!==F&&p(ee,D,F,{name:le}),_[G]=F,de}},24771:function(d,g,e){"use strict";var r=e(89945),i=e(2155),l=function(c,f){return[f,c]};d.exports=function(){return r(i,this,l)}},2155:function(d,g,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(10731),f=e(20547),s=e(46319),h=f(function(){var u=this.iterator,a=l(r(this.next,u)),x=this.done=!!a.done;if(!x)return s(u,this.mapper,[a.value,this.counter++],!0)});d.exports=function(a){return l(this),i(a),new h(c(this),{mapper:a})}},46571:function(d,g,e){"use strict";var r=e(3338),i=e(55327),l=e(31946),c=e(20132),f=e(53456),s=e(2291),h=e(59893),u=e(16697),a=h("iterator"),x=!1,p,y,_;[].keys&&(_=[].keys(),"next"in _?(y=f(f(_)),y!==Object.prototype&&(p=y)):x=!0);var b=!l(p)||r(function(){var S={};return p[a].call(S)!==S});b?p={}:u&&(p=c(p)),i(p[a])||s(p,a,function(){return this}),d.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:x}},48074:function(d){"use strict";d.exports={}},82762:function(d,g,e){"use strict";var r=e(61578);d.exports=function(i){return r(i.length)}},86528:function(d,g,e){"use strict";var r=e(94237),i=e(3338),l=e(55327),c=e(32621),f=e(35454),s=e(8090).CONFIGURABLE,h=e(15212),u=e(94844),a=u.enforce,x=u.get,p=String,y=Object.defineProperty,_=r("".slice),b=r("".replace),S=r([].join),R=f&&!i(function(){return y(function(){},"length",{value:8}).length!==8}),L=String(String).split("String"),C=d.exports=function(D,B,$){_(p(B),0,7)==="Symbol("&&(B="["+b(p(B),/^Symbol\(([^)]*)\)/,"$1")+"]"),$&&$.getter&&(B="get "+B),$&&$.setter&&(B="set "+B),(!c(D,"name")||s&&D.name!==B)&&(f?y(D,"name",{value:B,configurable:!0}):D.name=B),R&&$&&c($,"arity")&&D.length!==$.arity&&y(D,"length",{value:$.arity});try{$&&c($,"constructor")&&$.constructor?f&&y(D,"prototype",{writable:!1}):D.prototype&&(D.prototype=void 0)}catch(K){}var U=a(D);return c(U,"source")||(U.source=S(L,typeof B=="string"?B:"")),D};Function.prototype.toString=C(function(){return l(this)&&x(this).source||h(this)},"toString")},2786:function(d,g,e){"use strict";var r=e(94237),i=Map.prototype;d.exports={Map,set:r(i.set),get:r(i.get),has:r(i.has),remove:r(i.delete),proto:i}},95037:function(d,g,e){"use strict";var r=e(94237),i=e(43545),l=e(2786),c=l.Map,f=l.proto,s=r(f.forEach),h=r(f.entries),u=h(new c).next;d.exports=function(a,x,p){return p?i({iterator:h(a),next:u},function(y){return x(y[1],y[0])}):s(a,x)}},14615:function(d,g,e){"use strict";var r=e(89945),i=e(63335),l=e(55327),c=e(80449),f=TypeError;d.exports=function(h,u){var a=c(this),x=i(a.get),p=i(a.has),y=i(a.set),_=arguments.length>2?arguments[2]:void 0,b;if(!l(u)&&!l(_))throw new f("At least one callback required");return r(p,a,h)?(b=r(x,a,h),l(u)&&(b=u(b),r(y,a,h,b))):l(_)&&(b=_(),r(y,a,h,b)),b}},10014:function(d){"use strict";var g=Math.expm1,e=Math.exp;d.exports=!g||g(10)>22025.465794806718||g(10)<22025.465794806718||g(-2e-17)!==-2e-17?function(i){var l=+i;return l===0?l:l>-1e-6&&l<1e-6?l+l*l/2:e(l)-1}:g},35175:function(d,g,e){"use strict";var r=e(77056),i=.0009765625,l=65504,c=6103515625e-14;d.exports=Math.f16round||function(s){return r(s,i,l,c)}},77056:function(d,g,e){"use strict";var r=e(37666),i=Math.abs,l=2220446049250313e-31,c=1/l,f=function(s){return s+c-c};d.exports=function(s,h,u,a){var x=+s,p=i(x),y=r(x);if(p<a)return y*f(p/a/h)*a*h;var _=(1+h/l)*p,b=_-(_-p);return b>u||b!==b?y*(1/0):y*b}},14894:function(d,g,e){"use strict";var r=e(77056),i=11920928955078125e-23,l=34028234663852886e22,c=11754943508222875e-54;d.exports=Math.fround||function(s){return r(s,i,l,c)}},53309:function(d){"use strict";var g=Math.log,e=Math.LOG10E;d.exports=Math.log10||function(i){return g(i)*e}},25726:function(d){"use strict";var g=Math.log;d.exports=Math.log1p||function(r){var i=+r;return i>-1e-8&&i<1e-8?i-i*i/2:g(1+i)}},24619:function(d){"use strict";d.exports=Math.scale||function(e,r,i,l,c){var f=+e,s=+r,h=+i,u=+l,a=+c;return f!==f||s!==s||h!==h||u!==u||a!==a?NaN:f===1/0||f===-1/0?f:(f-s)*(a-u)/(h-s)+u}},37666:function(d){"use strict";d.exports=Math.sign||function(e){var r=+e;return r===0||r!==r?r:r<0?-1:1}},3312:function(d){"use strict";var g=Math.ceil,e=Math.floor;d.exports=Math.trunc||function(i){var l=+i;return(l>0?e:g)(l)}},72933:function(d,g,e){"use strict";var r=e(92916),i=e(80666),l=e(71256).f,c=e(28887).set,f=e(66790),s=e(70695),h=e(1908),u=e(44914),a=e(90946),x=r.MutationObserver||r.WebKitMutationObserver,p=r.document,y=r.process,_=r.Promise,b=l(r,"queueMicrotask"),S=b&&b.value,R,L,C,D,B;if(!S){var $=new f,U=function(){var K,V;for(a&&(K=y.domain)&&K.exit();V=$.get();)try{V()}catch(G){throw $.head&&R(),G}K&&K.enter()};!s&&!a&&!u&&x&&p?(L=!0,C=p.createTextNode(""),new x(U).observe(C,{characterData:!0}),R=function(){C.data=L=!L}):!h&&_&&_.resolve?(D=_.resolve(void 0),D.constructor=_,B=i(D.then,D),R=function(){B(U)}):a?R=function(){y.nextTick(U)}:(c=i(c,r),R=function(){c(U)}),S=function(K){$.head||R(),$.add(K)}}d.exports=S},82778:function(d,g,e){"use strict";var r=e(3338);d.exports=!r(function(){var i="9007199254740993",l=JSON.rawJSON(i);return!JSON.isRawJSON(l)||JSON.stringify(l)!==i})},73446:function(d,g,e){"use strict";var r=e(63335),i=TypeError,l=function(c){var f,s;this.promise=new c(function(h,u){if(f!==void 0||s!==void 0)throw new i("Bad Promise constructor");f=h,s=u}),this.resolve=r(f),this.reject=r(s)};d.exports.f=function(c){return new l(c)}},7825:function(d,g,e){"use strict";var r=e(69905);d.exports=function(i,l){return i===void 0?arguments.length<2?"":l:r(i)}},2279:function(d){"use strict";var g=RangeError;d.exports=function(e){if(e===e)return e;throw new g("NaN is not allowed")}},41696:function(d,g,e){"use strict";var r=e(44639),i=TypeError;d.exports=function(l){if(r(l))throw new i("The method doesn't accept regular expressions");return l}},1222:function(d,g,e){"use strict";var r=e(92916),i=r.isFinite;d.exports=Number.isFinite||function(c){return typeof c=="number"&&i(c)}},31280:function(d,g,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(69905),f=e(52971).trim,s=e(19268),h=l("".charAt),u=r.parseFloat,a=r.Symbol,x=a&&a.iterator,p=1/u(s+"-0")!==-1/0||x&&!i(function(){u(Object(x))});d.exports=p?function(_){var b=f(c(_)),S=u(b);return S===0&&h(b,0)==="-"?-0:S}:u},52446:function(d,g,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(69905),f=e(52971).trim,s=e(19268),h=r.parseInt,u=r.Symbol,a=u&&u.iterator,x=/^[+-]?0x/i,p=l(x.exec),y=h(s+"08")!==8||h(s+"0x16")!==22||a&&!i(function(){h(Object(a))});d.exports=y?function(b,S){var R=f(c(b));return h(R,S>>>0||(p(x,R)?16:10))}:h},17243:function(d,g,e){"use strict";var r=e(94844),i=e(83126),l=e(25587),c=e(4112),f=e(31946),s=e(64110),h=e(35454),u="Incorrect Iterator.range arguments",a="NumericRangeIterator",x=r.set,p=r.getterFor(a),y=RangeError,_=TypeError,b=i(function(L,C,D,B,$,U){if(typeof L!=B||C!==1/0&&C!==-1/0&&typeof C!=B)throw new _(u);if(L===1/0||L===-1/0)throw new y(u);var K=C>L,V=!1,G;if(D===void 0)G=void 0;else if(f(D))G=D.step,V=!!D.inclusive;else if(typeof D==B)G=D;else throw new _(u);if(c(G)&&(G=K?U:-U),typeof G!=B)throw new _(u);if(G===1/0||G===-1/0||G===$&&L!==C)throw new y(u);var oe=L!==L||C!==C||G!==G||C>L!=G>$;x(this,{type:a,start:L,end:C,step:G,inclusive:V,hitsEnd:oe,currentCount:$,zero:$}),h||(this.start=L,this.end=C,this.step=G,this.inclusive=V)},a,function(){var L=p(this);if(L.hitsEnd)return l(void 0,!0);var C=L.start,D=L.end,B=L.step,$=C+B*L.currentCount++;$===D&&(L.hitsEnd=!0);var U=L.inclusive,K;return D>C?K=U?$>D:$>=D:K=U?D>$:D>=$,K?(L.hitsEnd=!0,l(void 0,!0)):l($,!1)}),S=function(R){s(b.prototype,R,{get:function(){return p(this)[R]},set:function(){},configurable:!0,enumerable:!1})};h&&(S("start"),S("end"),S("inclusive"),S("step")),d.exports=b},80530:function(d,g,e){"use strict";var r=e(35454),i=e(94237),l=e(89945),c=e(3338),f=e(7733),s=e(92635),h=e(27597),u=e(94029),a=e(1835),x=Object.assign,p=Object.defineProperty,y=i([].concat);d.exports=!x||c(function(){if(r&&x({b:1},x(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var _={},b={},S=Symbol("assign detection"),R="abcdefghijklmnopqrst";return _[S]=7,R.split("").forEach(function(L){b[L]=L}),x({},_)[S]!==7||f(x({},b)).join("")!==R})?function(b,S){for(var R=u(b),L=arguments.length,C=1,D=s.f,B=h.f;L>C;)for(var $=a(arguments[C++]),U=D?y(f($),D($)):f($),K=U.length,V=0,G;K>V;)G=U[V++],(!r||l(B,$,G))&&(R[G]=$[G]);return R}:x},20132:function(d,g,e){"use strict";var r=e(80449),i=e(55666),l=e(46678),c=e(54406),f=e(75171),s=e(86060),h=e(11898),u=">",a="<",x="prototype",p="script",y=h("IE_PROTO"),_=function(){},b=function(D){return a+p+u+D+a+"/"+p+u},S=function(D){D.write(b("")),D.close();var B=D.parentWindow.Object;return D=null,B},R=function(){var D=s("iframe"),B="java"+p+":",$;return D.style.display="none",f.appendChild(D),D.src=String(B),$=D.contentWindow.document,$.open(),$.write(b("document.F=Object")),$.close(),$.F},L,C=function(){try{L=new ActiveXObject("htmlfile")}catch(B){}C=typeof document!="undefined"?document.domain&&L?S(L):R():S(L);for(var D=l.length;D--;)delete C[x][l[D]];return C()};c[y]=!0,d.exports=Object.create||function(B,$){var U;return B!==null?(_[x]=r(B),U=new _,_[x]=null,U[y]=B):U=C(),$===void 0?U:i.f(U,$)}},55666:function(d,g,e){"use strict";var r=e(35454),i=e(93199),l=e(37691),c=e(80449),f=e(80524),s=e(7733);g.f=r&&!i?Object.defineProperties:function(u,a){c(u);for(var x=f(a),p=s(a),y=p.length,_=0,b;y>_;)l.f(u,b=p[_++],x[b]);return u}},37691:function(d,g,e){"use strict";var r=e(35454),i=e(46796),l=e(93199),c=e(80449),f=e(17818),s=TypeError,h=Object.defineProperty,u=Object.getOwnPropertyDescriptor,a="enumerable",x="configurable",p="writable";g.f=r?l?function(_,b,S){if(c(_),b=f(b),c(S),typeof _=="function"&&b==="prototype"&&"value"in S&&p in S&&!S[p]){var R=u(_,b);R&&R[p]&&(_[b]=S.value,S={configurable:x in S?S[x]:R[x],enumerable:a in S?S[a]:R[a],writable:!1})}return h(_,b,S)}:h:function(_,b,S){if(c(_),b=f(b),c(S),i)try{return h(_,b,S)}catch(R){}if("get"in S||"set"in S)throw new s("Accessors not supported");return"value"in S&&(_[b]=S.value),_}},71256:function(d,g,e){"use strict";var r=e(35454),i=e(89945),l=e(27597),c=e(35012),f=e(80524),s=e(17818),h=e(32621),u=e(46796),a=Object.getOwnPropertyDescriptor;g.f=r?a:function(p,y){if(p=f(p),y=s(y),u)try{return a(p,y)}catch(_){}if(h(p,y))return c(!i(l.f,p,y),p[y])}},53393:function(d,g,e){"use strict";var r=e(29076),i=e(80524),l=e(80689).f,c=e(71698),f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(h){try{return l(h)}catch(u){return c(f)}};d.exports.f=function(u){return f&&r(u)==="Window"?s(u):l(i(u))}},80689:function(d,g,e){"use strict";var r=e(97486),i=e(46678),l=i.concat("length","prototype");g.f=Object.getOwnPropertyNames||function(f){return r(f,l)}},92635:function(d,g){"use strict";g.f=Object.getOwnPropertySymbols},53456:function(d,g,e){"use strict";var r=e(32621),i=e(55327),l=e(94029),c=e(11898),f=e(4870),s=c("IE_PROTO"),h=Object,u=h.prototype;d.exports=f?h.getPrototypeOf:function(a){var x=l(a);if(r(x,s))return x[s];var p=x.constructor;return i(p)&&x instanceof p?p.prototype:x instanceof h?u:null}},12477:function(d,g,e){"use strict";var r=e(3338),i=e(31946),l=e(29076),c=e(51424),f=Object.isExtensible,s=r(function(){f(1)});d.exports=s||c?function(u){return!i(u)||c&&l(u)==="ArrayBuffer"?!1:f?f(u):!0}:f},16332:function(d,g,e){"use strict";var r=e(94237);d.exports=r({}.isPrototypeOf)},20574:function(d,g,e){"use strict";var r=e(94844),i=e(83126),l=e(25587),c=e(32621),f=e(7733),s=e(94029),h="Object Iterator",u=r.set,a=r.getterFor(h);d.exports=i(function(p,y){var _=s(p);u(this,{type:h,mode:y,object:_,keys:f(_),index:0})},"Object",function(){for(var p=a(this),y=p.keys;;){if(y===null||p.index>=y.length)return p.object=p.keys=null,l(void 0,!0);var _=y[p.index++],b=p.object;if(c(b,_)){switch(p.mode){case"keys":return l(_,!1);case"values":return l(b[_],!1)}return l([_,b[_]],!1)}}})},97486:function(d,g,e){"use strict";var r=e(94237),i=e(32621),l=e(80524),c=e(22999).indexOf,f=e(54406),s=r([].push);d.exports=function(h,u){var a=l(h),x=0,p=[],y;for(y in a)!i(f,y)&&i(a,y)&&s(p,y);for(;u.length>x;)i(a,y=u[x++])&&(~c(p,y)||s(p,y));return p}},7733:function(d,g,e){"use strict";var r=e(97486),i=e(46678);d.exports=Object.keys||function(c){return r(c,i)}},27597:function(d,g){"use strict";var e={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!e.call({1:2},1);g.f=i?function(c){var f=r(this,c);return!!f&&f.enumerable}:e},25837:function(d,g,e){"use strict";var r=e(16697),i=e(92916),l=e(3338),c=e(19684);d.exports=r||!l(function(){if(!(c&&c<535)){var f=Math.random();__defineSetter__.call(null,f,function(){}),delete i[f]}})},58218:function(d,g,e){"use strict";var r=e(37758),i=e(80449),l=e(557);d.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,f={},s;try{s=r(Object.prototype,"__proto__","set"),s(f,[]),c=f instanceof Array}catch(h){}return function(u,a){return i(u),l(a),c?s(u,a):u.__proto__=a,u}}():void 0)},88698:function(d,g,e){"use strict";var r=e(35454),i=e(3338),l=e(94237),c=e(53456),f=e(7733),s=e(80524),h=e(27597).f,u=l(h),a=l([].push),x=r&&i(function(){var y=Object.create(null);return y[2]=2,!u(y,2)}),p=function(y){return function(_){for(var b=s(_),S=f(b),R=x&&c(b)===null,L=S.length,C=0,D=[],B;L>C;)B=S[C++],(!r||(R?B in b:u(b,B)))&&a(D,y?[B,b[B]]:b[B]);return D}};d.exports={entries:p(!0),values:p(!1)}},28488:function(d,g,e){"use strict";var r=e(68527),i=e(97607);d.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},44759:function(d,g,e){"use strict";var r=e(89945),i=e(55327),l=e(31946),c=TypeError;d.exports=function(f,s){var h,u;if(s==="string"&&i(h=f.toString)&&!l(u=r(h,f))||i(h=f.valueOf)&&!l(u=r(h,f))||s!=="string"&&i(h=f.toString)&&!l(u=r(h,f)))return u;throw new c("Can't convert object to primitive value")}},48662:function(d,g,e){"use strict";var r=e(65911),i=e(94237),l=e(80689),c=e(92635),f=e(80449),s=i([].concat);d.exports=r("Reflect","ownKeys")||function(u){var a=l.f(f(u)),x=c.f;return x?s(a,x(u)):a}},70913:function(d,g,e){"use strict";var r=e(94237),i=e(32621),l=SyntaxError,c=parseInt,f=String.fromCharCode,s=r("".charAt),h=r("".slice),u=r(/./.exec),a={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":`
`,"\\r":"\r","\\t":" "},x=/^[\da-f]{4}$/i,p=/^[\u0000-\u001F]$/;d.exports=function(y,_){for(var b=!0,S="";_<y.length;){var R=s(y,_);if(R==="\\"){var L=h(y,_,_+2);if(i(a,L))S+=a[L],_+=2;else if(L==="\\u"){_+=2;var C=h(y,_,_+4);if(!u(x,C))throw new l("Bad Unicode escape at: "+_);S+=f(c(C,16)),_+=4}else throw new l('Unknown escape sequence: "'+L+'"')}else if(R==='"'){b=!1,_++;break}else{if(u(p,R))throw new l("Bad control character in string literal at: "+_);S+=R,_++}}if(b)throw new l("Unterminated string at: "+_);return{value:S,end:_}}},9699:function(d,g,e){"use strict";var r=e(92916);d.exports=r},80734:function(d){"use strict";d.exports=function(g){try{return{error:!1,value:g()}}catch(e){return{error:!0,value:e}}}},82830:function(d,g,e){"use strict";var r=e(92916),i=e(2451),l=e(55327),c=e(20865),f=e(15212),s=e(59893),h=e(66994),u=e(91821),a=e(16697),x=e(46573),p=i&&i.prototype,y=s("species"),_=!1,b=l(r.PromiseRejectionEvent),S=c("Promise",function(){var R=f(i),L=R!==String(i);if(!L&&x===66||a&&!(p.catch&&p.finally))return!0;if(!x||x<51||!/native code/.test(R)){var C=new i(function($){$(1)}),D=function($){$(function(){},function(){})},B=C.constructor={};if(B[y]=D,_=C.then(function(){})instanceof D,!_)return!0}return!L&&(h||u)&&!b});d.exports={CONSTRUCTOR:S,REJECTION_EVENT:b,SUBCLASSING:_}},2451:function(d,g,e){"use strict";var r=e(92916);d.exports=r.Promise},15597:function(d,g,e){"use strict";var r=e(80449),i=e(31946),l=e(73446);d.exports=function(c,f){if(r(c),i(f)&&f.constructor===c)return f;var s=l.f(c),h=s.resolve;return h(f),s.promise}},22093:function(d,g,e){"use strict";var r=e(2451),i=e(35221),l=e(82830).CONSTRUCTOR;d.exports=l||!i(function(c){r.all(c).then(void 0,function(){})})},44166:function(d,g,e){"use strict";var r=e(37691).f;d.exports=function(i,l,c){c in i||r(i,c,{configurable:!0,get:function(){return l[c]},set:function(f){l[c]=f}})}},66790:function(d){"use strict";var g=function(){this.head=null,this.tail=null};g.prototype={add:function(e){var r={item:e,next:null},i=this.tail;i?i.next=r:this.head=r,this.tail=r},get:function(){var e=this.head;if(e){var r=this.head=e.next;return r===null&&(this.tail=null),e.item}}},d.exports=g},82584:function(d,g,e){"use strict";e(34941),e(55410);var r=e(65911),i=e(94237),l=e(77898),c=r("Map"),f=r("WeakMap"),s=i([].push),h=l("metadata"),u=h.store||(h.store=new f),a=function(S,R,L){var C=u.get(S);if(!C){if(!L)return;u.set(S,C=new c)}var D=C.get(R);if(!D){if(!L)return;C.set(R,D=new c)}return D},x=function(S,R,L){var C=a(R,L,!1);return C===void 0?!1:C.has(S)},p=function(S,R,L){var C=a(R,L,!1);return C===void 0?void 0:C.get(S)},y=function(S,R,L,C){a(L,C,!0).set(S,R)},_=function(S,R){var L=a(S,R,!1),C=[];return L&&L.forEach(function(D,B){s(C,B)}),C},b=function(S){return S===void 0||typeof S=="symbol"?S:String(S)};d.exports={store:u,getMap:a,has:x,get:p,set:y,keys:_,toKey:b}},94338:function(d,g,e){"use strict";var r=e(89945),i=e(80449),l=e(55327),c=e(29076),f=e(88736),s=TypeError;d.exports=function(h,u){var a=h.exec;if(l(a)){var x=r(a,h,u);return x!==null&&i(x),x}if(c(h)==="RegExp")return r(f,h,u);throw new s("RegExp#exec called on incompatible receiver")}},88736:function(d,g,e){"use strict";var r=e(89945),i=e(94237),l=e(69905),c=e(82163),f=e(19286),s=e(77898),h=e(20132),u=e(94844).get,a=e(6041),x=e(51224),p=s("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,_=y,b=i("".charAt),S=i("".indexOf),R=i("".replace),L=i("".slice),C=function(){var U=/a/,K=/b*/g;return r(y,U,"a"),r(y,K,"a"),U.lastIndex!==0||K.lastIndex!==0}(),D=f.BROKEN_CARET,B=/()??/.exec("")[1]!==void 0,$=C||B||D||a||x;$&&(_=function(K){var V=this,G=u(V),oe=l(K),ae=G.raw,le,q,J,Y,ue,ne,ee;if(ae)return ae.lastIndex=V.lastIndex,le=r(_,ae,oe),V.lastIndex=ae.lastIndex,le;var ie=G.groups,F=D&&V.sticky,M=r(c,V),Q=V.source,de=0,we=oe;if(F&&(M=R(M,"y",""),S(M,"g")===-1&&(M+="g"),we=L(oe,V.lastIndex),V.lastIndex>0&&(!V.multiline||V.multiline&&b(oe,V.lastIndex-1)!==`
`)&&(Q="(?: "+Q+")",we=" "+we,de++),q=new RegExp("^(?:"+Q+")",M)),B&&(q=new RegExp("^"+Q+"$(?!\\s)",M)),C&&(J=V.lastIndex),Y=r(y,F?q:V,we),F?Y?(Y.input=L(Y.input,de),Y[0]=L(Y[0],de),Y.index=V.lastIndex,V.lastIndex+=Y[0].length):V.lastIndex=0:C&&Y&&(V.lastIndex=V.global?Y.index+Y[0].length:J),B&&Y&&Y.length>1&&r(p,Y[0],q,function(){for(ue=1;ue<arguments.length-2;ue++)arguments[ue]===void 0&&(Y[ue]=void 0)}),Y&&ie)for(Y.groups=ne=h(null),ue=0;ue<ie.length;ue++)ee=ie[ue],ne[ee[0]]=Y[ee[1]];return Y}),d.exports=_},82163:function(d,g,e){"use strict";var r=e(80449);d.exports=function(){var i=r(this),l="";return i.hasIndices&&(l+="d"),i.global&&(l+="g"),i.ignoreCase&&(l+="i"),i.multiline&&(l+="m"),i.dotAll&&(l+="s"),i.unicode&&(l+="u"),i.unicodeSets&&(l+="v"),i.sticky&&(l+="y"),l}},81644:function(d,g,e){"use strict";var r=e(89945),i=e(32621),l=e(16332),c=e(82163),f=RegExp.prototype;d.exports=function(s){var h=s.flags;return h===void 0&&!("flags"in f)&&!i(s,"flags")&&l(f,s)?r(c,s):h}},19286:function(d,g,e){"use strict";var r=e(3338),i=e(92916),l=i.RegExp,c=r(function(){var h=l("a","y");return h.lastIndex=2,h.exec("abcd")!==null}),f=c||r(function(){return!l("a","y").sticky}),s=c||r(function(){var h=l("^r","gy");return h.lastIndex=2,h.exec("str")!==null});d.exports={BROKEN_CARET:s,MISSED_STICKY:f,UNSUPPORTED_Y:c}},6041:function(d,g,e){"use strict";var r=e(3338),i=e(92916),l=i.RegExp;d.exports=r(function(){var c=l(".","s");return!(c.dotAll&&c.test(`
`)&&c.flags==="s")})},51224:function(d,g,e){"use strict";var r=e(3338),i=e(92916),l=i.RegExp;d.exports=r(function(){var c=l("(?<a>b)","g");return c.exec("b").groups.a!=="b"||"b".replace(c,"$<a>c")!=="bc"})},95955:function(d,g,e){"use strict";var r=e(4112),i=TypeError;d.exports=function(l){if(r(l))throw new i("Can't call method on "+l);return l}},88134:function(d){"use strict";d.exports=function(g,e){return g===e||g!==g&&e!==e}},5370:function(d){"use strict";d.exports=Object.is||function(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}},93222:function(d,g,e){"use strict";var r=e(92916),i=e(13743),l=e(55327),c=e(90843),f=e(66011),s=e(30867),h=e(57106),u=r.Function,a=/MSIE .\./.test(f)||c&&function(){var x=r.Bun.version.split(".");return x.length<3||x[0]==="0"&&(x[1]<3||x[1]==="3"&&x[2]==="0")}();d.exports=function(x,p){var y=p?2:1;return a?function(_,b){var S=h(arguments.length,1)>y,R=l(_)?_:u(_),L=S?s(arguments,y):[],C=S?function(){i(R,this,L)}:R;return p?x(C,b):x(C)}:x}},61838:function(d,g,e){"use strict";var r=e(19691),i=e(57002),l=r.Set,c=r.add;d.exports=function(f){var s=new l;return i(f,function(h){c(s,h)}),s}},10038:function(d,g,e){"use strict";var r=e(17442),i=e(19691),l=e(61838),c=e(108),f=e(88203),s=e(57002),h=e(43545),u=i.has,a=i.remove;d.exports=function(p){var y=r(this),_=f(p),b=l(y);return c(y)<=_.size?s(y,function(S){_.includes(S)&&a(b,S)}):h(_.getIterator(),function(S){u(y,S)&&a(b,S)}),b}},19691:function(d,g,e){"use strict";var r=e(94237),i=Set.prototype;d.exports={Set,add:r(i.add),has:r(i.has),remove:r(i.delete),proto:i}},16049:function(d,g,e){"use strict";var r=e(17442),i=e(19691),l=e(108),c=e(88203),f=e(57002),s=e(43545),h=i.Set,u=i.add,a=i.has;d.exports=function(p){var y=r(this),_=c(p),b=new h;return l(y)>_.size?s(_.getIterator(),function(S){a(y,S)&&u(b,S)}):f(y,function(S){_.includes(S)&&u(b,S)}),b}},17616:function(d,g,e){"use strict";var r=e(17442),i=e(19691).has,l=e(108),c=e(88203),f=e(57002),s=e(43545),h=e(67996);d.exports=function(a){var x=r(this),p=c(a);if(l(x)<=p.size)return f(x,function(_){if(p.includes(_))return!1},!0)!==!1;var y=p.getIterator();return s(y,function(_){if(i(x,_))return h(y,"normal",!1)})!==!1}},84833:function(d,g,e){"use strict";var r=e(17442),i=e(108),l=e(57002),c=e(88203);d.exports=function(s){var h=r(this),u=c(s);return i(h)>u.size?!1:l(h,function(a){if(!u.includes(a))return!1},!0)!==!1}},51135:function(d,g,e){"use strict";var r=e(17442),i=e(19691).has,l=e(108),c=e(88203),f=e(43545),s=e(67996);d.exports=function(u){var a=r(this),x=c(u);if(l(a)<x.size)return!1;var p=x.getIterator();return f(p,function(y){if(!i(a,y))return s(p,"normal",!1)})!==!1}},57002:function(d,g,e){"use strict";var r=e(94237),i=e(43545),l=e(19691),c=l.Set,f=l.proto,s=r(f.forEach),h=r(f.keys),u=h(new c).next;d.exports=function(a,x,p){return p?i({iterator:h(a),next:u},x):s(a,x)}},22627:function(d,g,e){"use strict";var r=e(65911),i=function(l){return{size:l,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};d.exports=function(l){var c=r("Set");try{new c()[l](i(0));try{return new c()[l](i(-1)),!1}catch(f){return!0}}catch(f){return!1}}},108:function(d,g,e){"use strict";var r=e(37758),i=e(19691);d.exports=r(i.proto,"size","get")||function(l){return l.size}},51996:function(d,g,e){"use strict";var r=e(65911),i=e(64110),l=e(59893),c=e(35454),f=l("species");d.exports=function(s){var h=r(s);c&&h&&!h[f]&&i(h,f,{configurable:!0,get:function(){return this}})}},36312:function(d,g,e){"use strict";var r=e(17442),i=e(19691),l=e(61838),c=e(88203),f=e(43545),s=i.add,h=i.has,u=i.remove;d.exports=function(x){var p=r(this),y=c(x).getIterator(),_=l(p);return f(y,function(b){h(p,b)?u(_,b):s(_,b)}),_}},94573:function(d,g,e){"use strict";var r=e(37691).f,i=e(32621),l=e(59893),c=l("toStringTag");d.exports=function(f,s,h){f&&!h&&(f=f.prototype),f&&!i(f,c)&&r(f,c,{configurable:!0,value:s})}},24667:function(d,g,e){"use strict";var r=e(17442),i=e(19691).add,l=e(61838),c=e(88203),f=e(43545);d.exports=function(h){var u=r(this),a=c(h).getIterator(),x=l(u);return f(a,function(p){i(x,p)}),x}},11898:function(d,g,e){"use strict";var r=e(77898),i=e(6145),l=r("keys");d.exports=function(c){return l[c]||(l[c]=i(c))}},77398:function(d,g,e){"use strict";var r=e(92916),i=e(29539),l="__core-js_shared__",c=r[l]||i(l,{});d.exports=c},77898:function(d,g,e){"use strict";var r=e(16697),i=e(77398);(d.exports=function(l,c){return i[l]||(i[l]=c!==void 0?c:{})})("versions",[]).push({version:"3.34.0",mode:r?"pure":"global",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"})},60473:function(d,g,e){"use strict";var r=e(80449),i=e(6086),l=e(4112),c=e(59893),f=c("species");d.exports=function(s,h){var u=r(s).constructor,a;return u===void 0||l(a=r(u)[f])?h:i(a)}},67410:function(d,g,e){"use strict";var r=e(94237),i=e(80524),l=e(69905),c=e(82762),f=TypeError,s=r([].push),h=r([].join);d.exports=function(a){var x=i(a),p=c(x);if(!p)return"";for(var y=arguments.length,_=[],b=0;;){var S=x[b++];if(S===void 0)throw new f("Incorrect template");if(s(_,l(S)),b===p)return h(_,"");b<y&&s(_,l(arguments[b]))}}},17691:function(d,g,e){"use strict";var r=e(3338);d.exports=function(i){return r(function(){var l=""[i]('"');return l!==l.toLowerCase()||l.split('"').length>3})}},13764:function(d,g,e){"use strict";var r=e(94237),i=e(56902),l=e(69905),c=e(95955),f=r("".charAt),s=r("".charCodeAt),h=r("".slice),u=function(a){return function(x,p){var y=l(c(x)),_=i(p),b=y.length,S,R;return _<0||_>=b?a?"":void 0:(S=s(y,_),S<55296||S>56319||_+1===b||(R=s(y,_+1))<56320||R>57343?a?f(y,_):S:a?h(y,_,_+2):(S-55296<<10)+(R-56320)+65536)}};d.exports={codeAt:u(!1),charAt:u(!0)}},98352:function(d,g,e){"use strict";var r=e(66011);d.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},85571:function(d,g,e){"use strict";var r=e(94237),i=e(61578),l=e(69905),c=e(71049),f=e(95955),s=r(c),h=r("".slice),u=Math.ceil,a=function(x){return function(p,y,_){var b=l(f(p)),S=i(y),R=b.length,L=_===void 0?" ":l(_),C,D;return S<=R||L===""?b:(C=S-R,D=s(L,u(C/L.length)),D.length>C&&(D=h(D,0,C)),x?b+D:D+b)}};d.exports={start:a(!1),end:a(!0)}},79204:function(d,g,e){"use strict";var r=e(65911),i=e(94237),l=String.fromCharCode,c=r("String","fromCodePoint"),f=i("".charAt),s=i("".charCodeAt),h=i("".indexOf),u=i("".slice),a=48,x=57,p=97,y=102,_=65,b=70,S=function(C,D){var B=s(C,D);return B>=a&&B<=x},R=function(C,D,B){if(B>=C.length)return-1;for(var $=0;D<B;D++){var U=L(s(C,D));if(U===-1)return-1;$=$*16+U}return $},L=function(C){return C>=a&&C<=x?C-a:C>=p&&C<=y?C-p+10:C>=_&&C<=b?C-_+10:-1};d.exports=function(C){for(var D="",B=0,$=0,U;($=h(C,"\\",$))>-1;){if(D+=u(C,B,$),++$===C.length)return;var K=f(C,$++);switch(K){case"b":D+="\b";break;case"t":D+=" ";break;case"n":D+=`
`;break;case"v":D+="\v";break;case"f":D+="\f";break;case"r":D+="\r";break;case"\r":$<C.length&&f(C,$)===`
`&&++$;case`
`:case"\u2028":case"\u2029":break;case"0":if(S(C,$))return;D+="\0";break;case"x":if(U=R(C,$,$+2),U===-1)return;$+=2,D+=l(U);break;case"u":if($<C.length&&f(C,$)==="{"){var V=h(C,"}",++$);if(V===-1)return;U=R(C,$,V),$=V+1}else U=R(C,$,$+4),$+=4;if(U===-1||U>1114111)return;D+=c(U);break;default:if(S(K,0))return;D+=K}B=$}return D+u(C,B)}},93245:function(d,g,e){"use strict";var r=e(94237),i=2147483647,l=36,c=1,f=26,s=38,h=700,u=72,a=128,x="-",p=/[^\0-\u007E]/,y=/[.\u3002\uFF0E\uFF61]/g,_="Overflow: input needs wider integers to process",b=l-c,S=RangeError,R=r(y.exec),L=Math.floor,C=String.fromCharCode,D=r("".charCodeAt),B=r([].join),$=r([].push),U=r("".replace),K=r("".split),V=r("".toLowerCase),G=function(q){for(var J=[],Y=0,ue=q.length;Y<ue;){var ne=D(q,Y++);if(ne>=55296&&ne<=56319&&Y<ue){var ee=D(q,Y++);(ee&64512)===56320?$(J,((ne&1023)<<10)+(ee&1023)+65536):($(J,ne),Y--)}else $(J,ne)}return J},oe=function(q){return q+22+75*(q<26)},ae=function(q,J,Y){var ue=0;for(q=Y?L(q/h):q>>1,q+=L(q/J);q>b*f>>1;)q=L(q/b),ue+=l;return L(ue+(b+1)*q/(q+s))},le=function(q){var J=[];q=G(q);var Y=q.length,ue=a,ne=0,ee=u,ie,F;for(ie=0;ie<q.length;ie++)F=q[ie],F<128&&$(J,C(F));var M=J.length,Q=M;for(M&&$(J,x);Q<Y;){var de=i;for(ie=0;ie<q.length;ie++)F=q[ie],F>=ue&&F<de&&(de=F);var we=Q+1;if(de-ue>L((i-ne)/we))throw new S(_);for(ne+=(de-ue)*we,ue=de,ie=0;ie<q.length;ie++){if(F=q[ie],F<ue&&++ne>i)throw new S(_);if(F===ue){for(var Ce=ne,je=l;;){var Fe=je<=ee?c:je>=ee+f?f:je-ee;if(Ce<Fe)break;var Ft=Ce-Fe,_t=l-Fe;$(J,C(oe(Fe+Ft%_t))),Ce=L(Ft/_t),je+=l}$(J,C(oe(Ce))),ee=ae(ne,we,Q===M),ne=0,Q++}}ne++,ue++}return B(J,"")};d.exports=function(q){var J=[],Y=K(U(V(q),y,"."),"."),ue,ne;for(ue=0;ue<Y.length;ue++)ne=Y[ue],$(J,R(p,ne)?"xn--"+le(ne):ne);return B(J,".")}},71049:function(d,g,e){"use strict";var r=e(56902),i=e(69905),l=e(95955),c=RangeError;d.exports=function(s){var h=i(l(this)),u="",a=r(s);if(a<0||a===1/0)throw new c("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(h+=h))a&1&&(u+=h);return u}},9591:function(d,g,e){"use strict";var r=e(52971).end,i=e(18105);d.exports=i("trimEnd")?function(){return r(this)}:"".trimEnd},18105:function(d,g,e){"use strict";var r=e(8090).PROPER,i=e(3338),l=e(19268),c="\u200B\x85\u180E";d.exports=function(f){return i(function(){return!!l[f]()||c[f]()!==c||r&&l[f].name!==f})}},27374:function(d,g,e){"use strict";var r=e(52971).start,i=e(18105);d.exports=i("trimStart")?function(){return r(this)}:"".trimStart},52971:function(d,g,e){"use strict";var r=e(94237),i=e(95955),l=e(69905),c=e(19268),f=r("".replace),s=RegExp("^["+c+"]+"),h=RegExp("(^|[^"+c+"])["+c+"]+$"),u=function(a){return function(x){var p=l(i(x));return a&1&&(p=f(p,s,"")),a&2&&(p=f(p,h,"$1")),p}};d.exports={start:u(1),end:u(2),trim:u(3)}},80426:function(d,g,e){"use strict";var r=e(92916),i=e(3338),l=e(46573),c=e(66994),f=e(91821),s=e(90946),h=r.structuredClone;d.exports=!!h&&!i(function(){if(f&&l>92||s&&l>94||c&&l>97)return!1;var u=new ArrayBuffer(8),a=h(u,{transfer:[u]});return u.byteLength!==0||a.byteLength!==8})},42820:function(d,g,e){"use strict";var r=e(46573),i=e(3338),l=e(92916),c=l.String;d.exports=!!Object.getOwnPropertySymbols&&!i(function(){var f=Symbol("symbol detection");return!c(f)||!(Object(f)instanceof Symbol)||!Symbol.sham&&r&&r<41})},14311:function(d,g,e){"use strict";var r=e(89945),i=e(65911),l=e(59893),c=e(2291);d.exports=function(){var f=i("Symbol"),s=f&&f.prototype,h=s&&s.valueOf,u=l("toPrimitive");s&&!s[u]&&c(s,u,function(a){return r(h,this)},{arity:1})}},69077:function(d,g,e){"use strict";var r=e(65911),i=e(94237),l=r("Symbol"),c=l.keyFor,f=i(l.prototype.valueOf);d.exports=l.isRegisteredSymbol||function(h){try{return c(f(h))!==void 0}catch(u){return!1}}},40443:function(d,g,e){"use strict";for(var r=e(77898),i=e(65911),l=e(94237),c=e(18446),f=e(59893),s=i("Symbol"),h=s.isWellKnownSymbol,u=i("Object","getOwnPropertyNames"),a=l(s.prototype.valueOf),x=r("wks"),p=0,y=u(s),_=y.length;p<_;p++)try{var b=y[p];c(s[b])&&f(b)}catch(S){}d.exports=function(R){if(h&&h(R))return!0;try{for(var L=a(R),C=0,D=u(x),B=D.length;C<B;C++)if(x[D[C]]==L)return!0}catch($){}return!1}},60798:function(d,g,e){"use strict";var r=e(42820);d.exports=r&&!!Symbol.for&&!!Symbol.keyFor},28887:function(d,g,e){"use strict";var r=e(92916),i=e(13743),l=e(80666),c=e(55327),f=e(32621),s=e(3338),h=e(75171),u=e(30867),a=e(86060),x=e(57106),p=e(70695),y=e(90946),_=r.setImmediate,b=r.clearImmediate,S=r.process,R=r.Dispatch,L=r.Function,C=r.MessageChannel,D=r.String,B=0,$={},U="onreadystatechange",K,V,G,oe;s(function(){K=r.location});var ae=function(Y){if(f($,Y)){var ue=$[Y];delete $[Y],ue()}},le=function(Y){return function(){ae(Y)}},q=function(Y){ae(Y.data)},J=function(Y){r.postMessage(D(Y),K.protocol+"//"+K.host)};(!_||!b)&&(_=function(ue){x(arguments.length,1);var ne=c(ue)?ue:L(ue),ee=u(arguments,1);return $[++B]=function(){i(ne,void 0,ee)},V(B),B},b=function(ue){delete $[ue]},y?V=function(Y){S.nextTick(le(Y))}:R&&R.now?V=function(Y){R.now(le(Y))}:C&&!p?(G=new C,oe=G.port2,G.port1.onmessage=q,V=l(oe.postMessage,oe)):r.addEventListener&&c(r.postMessage)&&!r.importScripts&&K&&K.protocol!=="file:"&&!s(J)?(V=J,r.addEventListener("message",q,!1)):U in a("script")?V=function(Y){h.appendChild(a("script"))[U]=function(){h.removeChild(this),ae(Y)}}:V=function(Y){setTimeout(le(Y),0)}),d.exports={set:_,clear:b}},49228:function(d,g,e){"use strict";var r=e(94237);d.exports=r(1 .valueOf)},51981:function(d,g,e){"use strict";var r=e(56902),i=Math.max,l=Math.min;d.exports=function(c,f){var s=r(c);return s<0?i(s+f,0):l(s,f)}},93303:function(d,g,e){"use strict";var r=e(97954),i=TypeError;d.exports=function(l){var c=r(l,"number");if(typeof c=="number")throw new i("Can't convert number to bigint");return BigInt(c)}},24225:function(d,g,e){"use strict";var r=e(56902),i=e(61578),l=RangeError;d.exports=function(c){if(c===void 0)return 0;var f=r(c),s=i(f);if(f!==s)throw new l("Wrong length or index");return s}},80524:function(d,g,e){"use strict";var r=e(1835),i=e(95955);d.exports=function(l){return r(i(l))}},56902:function(d,g,e){"use strict";var r=e(3312);d.exports=function(i){var l=+i;return l!==l||l===0?0:r(l)}},61578:function(d,g,e){"use strict";var r=e(56902),i=Math.min;d.exports=function(l){return l>0?i(r(l),9007199254740991):0}},94029:function(d,g,e){"use strict";var r=e(95955),i=Object;d.exports=function(l){return i(r(l))}},64135:function(d,g,e){"use strict";var r=e(51358),i=RangeError;d.exports=function(l,c){var f=r(l);if(f%c)throw new i("Wrong offset");return f}},51358:function(d,g,e){"use strict";var r=e(56902),i=RangeError;d.exports=function(l){var c=r(l);if(c<0)throw new i("The argument can't be less than 0");return c}},97954:function(d,g,e){"use strict";var r=e(89945),i=e(31946),l=e(18446),c=e(53776),f=e(44759),s=e(59893),h=TypeError,u=s("toPrimitive");d.exports=function(a,x){if(!i(a)||l(a))return a;var p=c(a,u),y;if(p){if(x===void 0&&(x="default"),y=r(p,a,x),!i(y)||l(y))return y;throw new h("Can't convert object to primitive value")}return x===void 0&&(x="number"),f(a,x)}},17818:function(d,g,e){"use strict";var r=e(97954),i=e(18446);d.exports=function(l){var c=r(l,"string");return i(c)?c:c+""}},77999:function(d,g,e){"use strict";var r=e(65911),i=e(55327),l=e(30360),c=e(31946),f=r("Set"),s=function(h){return c(h)&&typeof h.size=="number"&&i(h.has)&&i(h.keys)};d.exports=function(h){return s(h)?h:l(h)?new f(h):h}},68527:function(d,g,e){"use strict";var r=e(59893),i=r("toStringTag"),l={};l[i]="z",d.exports=String(l)==="[object z]"},69905:function(d,g,e){"use strict";var r=e(97607),i=String;d.exports=function(l){if(r(l)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return i(l)}},86350:function(d){"use strict";var g=Math.round;d.exports=function(e){var r=g(e);return r<0?0:r>255?255:r&255}},11270:function(d,g,e){"use strict";var r=e(90946);d.exports=function(i){try{if(r)return Function('return require("'+i+'")')()}catch(l){}}},40593:function(d){"use strict";var g=String;d.exports=function(e){try{return g(e)}catch(r){return"Object"}}},69733:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(89945),c=e(35454),f=e(59627),s=e(58261),h=e(91669),u=e(56472),a=e(35012),x=e(68151),p=e(62896),y=e(61578),_=e(24225),b=e(64135),S=e(86350),R=e(17818),L=e(32621),C=e(97607),D=e(31946),B=e(18446),$=e(20132),U=e(16332),K=e(58218),V=e(80689).f,G=e(50706),oe=e(90560).forEach,ae=e(51996),le=e(64110),q=e(37691),J=e(71256),Y=e(94844),ue=e(25576),ne=Y.get,ee=Y.set,ie=Y.enforce,F=q.f,M=J.f,Q=i.RangeError,de=h.ArrayBuffer,we=de.prototype,Ce=h.DataView,je=s.NATIVE_ARRAY_BUFFER_VIEWS,Fe=s.TYPED_ARRAY_TAG,Ft=s.TypedArray,_t=s.TypedArrayPrototype,Pt=s.aTypedArrayConstructor,qt=s.isTypedArray,er="BYTES_PER_ELEMENT",Jt="Wrong length",Xe=function(Je,Ue){Pt(Je);for(var ge=0,Ae=Ue.length,Me=new Je(Ae);Ae>ge;)Me[ge]=Ue[ge++];return Me},It=function(Je,Ue){le(Je,Ue,{configurable:!0,get:function(){return ne(this)[Ue]}})},zt=function(Je){var Ue;return U(we,Je)||(Ue=C(Je))==="ArrayBuffer"||Ue==="SharedArrayBuffer"},st=function(Je,Ue){return qt(Je)&&!B(Ue)&&Ue in Je&&p(+Ue)&&Ue>=0},bt=function(Ue,ge){return ge=R(ge),st(Ue,ge)?a(2,Ue[ge]):M(Ue,ge)},ht=function(Ue,ge,Ae){return ge=R(ge),st(Ue,ge)&&D(Ae)&&L(Ae,"value")&&!L(Ae,"get")&&!L(Ae,"set")&&!Ae.configurable&&(!L(Ae,"writable")||Ae.writable)&&(!L(Ae,"enumerable")||Ae.enumerable)?(Ue[ge]=Ae.value,Ue):F(Ue,ge,Ae)};c?(je||(J.f=bt,q.f=ht,It(_t,"buffer"),It(_t,"byteOffset"),It(_t,"byteLength"),It(_t,"length")),r({target:"Object",stat:!0,forced:!je},{getOwnPropertyDescriptor:bt,defineProperty:ht}),d.exports=function(Je,Ue,ge){var Ae=Je.match(/\d+/)[0]/8,Me=Je+(ge?"Clamped":"")+"Array",$e="get"+Je,He="set"+Je,nt=i[Me],ct=nt,Vt=ct&&ct.prototype,Wt={},De=function(Ht,$t){var Ct=ne(Ht);return Ct.view[$e]($t*Ae+Ct.byteOffset,!0)},qe=function(Ht,$t,Ct){var Yt=ne(Ht);Yt.view[He]($t*Ae+Yt.byteOffset,ge?S(Ct):Ct,!0)},Gt=function(Ht,$t){F(Ht,$t,{get:function(){return De(this,$t)},set:function(Ct){return qe(this,$t,Ct)},enumerable:!0})};je?f&&(ct=Ue(function(Ht,$t,Ct,Yt){return u(Ht,Vt),ue(function(){return D($t)?zt($t)?Yt!==void 0?new nt($t,b(Ct,Ae),Yt):Ct!==void 0?new nt($t,b(Ct,Ae)):new nt($t):qt($t)?Xe(ct,$t):l(G,ct,$t):new nt(_($t))}(),Ht,ct)}),K&&K(ct,Ft),oe(V(nt),function(Ht){Ht in ct||x(ct,Ht,nt[Ht])}),ct.prototype=Vt):(ct=Ue(function(Ht,$t,Ct,Yt){u(Ht,Vt);var We=0,fe=0,_e,Ot,Pe;if(!D($t))Pe=_($t),Ot=Pe*Ae,_e=new de(Ot);else if(zt($t)){_e=$t,fe=b(Ct,Ae);var dt=$t.byteLength;if(Yt===void 0){if(dt%Ae)throw new Q(Jt);if(Ot=dt-fe,Ot<0)throw new Q(Jt)}else if(Ot=y(Yt)*Ae,Ot+fe>dt)throw new Q(Jt);Pe=Ot/Ae}else return qt($t)?Xe(ct,$t):l(G,ct,$t);for(ee(Ht,{buffer:_e,byteOffset:fe,byteLength:Ot,length:Pe,view:new Ce(_e)});We<Pe;)Gt(Ht,We++)}),K&&K(ct,Ft),Vt=ct.prototype=$(_t)),Vt.constructor!==ct&&x(Vt,"constructor",ct),ie(Vt).TypedArrayConstructor=ct,Fe&&x(Vt,Fe,Me);var kt=ct!==nt;Wt[Me]=ct,r({global:!0,constructor:!0,forced:kt,sham:!je},Wt),er in ct||x(ct,er,Ae),er in Vt||x(Vt,er,Ae),ae(Me)}):d.exports=function(){}},59627:function(d,g,e){"use strict";var r=e(92916),i=e(3338),l=e(35221),c=e(58261).NATIVE_ARRAY_BUFFER_VIEWS,f=r.ArrayBuffer,s=r.Int8Array;d.exports=!c||!i(function(){s(1)})||!i(function(){new s(-1)})||!l(function(h){new s,new s(null),new s(1.5),new s(h)},!0)||i(function(){return new s(new f(2),1,void 0).length!==1})},27607:function(d,g,e){"use strict";var r=e(69478),i=e(31384);d.exports=function(l,c){return r(i(l),c)}},50706:function(d,g,e){"use strict";var r=e(80666),i=e(89945),l=e(6086),c=e(94029),f=e(82762),s=e(85428),h=e(26006),u=e(345),a=e(75406),x=e(58261).aTypedArrayConstructor,p=e(93303);d.exports=function(_){var b=l(this),S=c(_),R=arguments.length,L=R>1?arguments[1]:void 0,C=L!==void 0,D=h(S),B,$,U,K,V,G,oe,ae;if(D&&!u(D))for(oe=s(S,D),ae=oe.next,S=[];!(G=i(ae,oe)).done;)S.push(G.value);for(C&&R>2&&(L=r(L,arguments[2])),$=f(S),U=new(x(b))($),K=a(U),B=0;$>B;B++)V=C?L(S[B],B):S[B],U[B]=K?p(V):+V;return U}},31384:function(d,g,e){"use strict";var r=e(58261),i=e(60473),l=r.aTypedArrayConstructor,c=r.getTypedArrayConstructor;d.exports=function(f){return l(i(f,c(f)))}},6145:function(d,g,e){"use strict";var r=e(94237),i=0,l=Math.random(),c=r(1 .toString);d.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+c(++i+l,36)}},3299:function(d,g,e){"use strict";var r=e(3338),i=e(59893),l=e(35454),c=e(16697),f=i("iterator");d.exports=!r(function(){var s=new URL("b?a=1&b=2&c=3","http://a"),h=s.searchParams,u=new URLSearchParams("a=1&a=2&b=3"),a="";return s.pathname="c%20d",h.forEach(function(x,p){h.delete("b"),a+=p+x}),u.delete("a",2),u.delete("b",void 0),c&&(!s.toJSON||!u.has("a",1)||u.has("a",2)||!u.has("a",void 0)||u.has("b"))||!h.size&&(c||!l)||!h.sort||s.href!=="http://a/c%20d?a=1&c=3"||h.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!h[f]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||a!=="a1c3"||new URL("http://x",void 0).host!=="x"})},14417:function(d,g,e){"use strict";var r=e(42820);d.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},93199:function(d,g,e){"use strict";var r=e(35454),i=e(3338);d.exports=r&&i(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},57106:function(d){"use strict";var g=TypeError;d.exports=function(e,r){if(e<r)throw new g("Not enough arguments");return e}},40115:function(d,g,e){"use strict";var r=e(92916),i=e(55327),l=r.WeakMap;d.exports=i(l)&&/native code/.test(String(l))},42530:function(d,g,e){"use strict";var r=e(94237),i=WeakMap.prototype;d.exports={WeakMap,set:r(i.set),get:r(i.get),has:r(i.has),remove:r(i.delete)}},91385:function(d,g,e){"use strict";var r=e(94237),i=WeakSet.prototype;d.exports={WeakSet,add:r(i.add),has:r(i.has),remove:r(i.delete)}},94674:function(d,g,e){"use strict";var r=e(9699),i=e(32621),l=e(38282),c=e(37691).f;d.exports=function(f){var s=r.Symbol||(r.Symbol={});i(s,f)||c(s,f,{value:l.f(f)})}},38282:function(d,g,e){"use strict";var r=e(59893);g.f=r},59893:function(d,g,e){"use strict";var r=e(92916),i=e(77898),l=e(32621),c=e(6145),f=e(42820),s=e(14417),h=r.Symbol,u=i("wks"),a=s?h.for||h:h&&h.withoutSetter||c;d.exports=function(x){return l(u,x)||(u[x]=f&&l(h,x)?h[x]:a("Symbol."+x)),u[x]}},19268:function(d){"use strict";d.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},78540:function(d,g,e){"use strict";var r=e(65911),i=e(32621),l=e(68151),c=e(16332),f=e(58218),s=e(24538),h=e(44166),u=e(25576),a=e(7825),x=e(73068),p=e(61888),y=e(35454),_=e(16697);d.exports=function(b,S,R,L){var C="stackTraceLimit",D=L?2:1,B=b.split("."),$=B[B.length-1],U=r.apply(null,B);if(U){var K=U.prototype;if(!_&&i(K,"cause")&&delete K.cause,!R)return U;var V=r("Error"),G=S(function(oe,ae){var le=a(L?ae:oe,void 0),q=L?new U(oe):new U;return le!==void 0&&l(q,"message",le),p(q,G,q.stack,2),this&&c(K,this)&&u(q,this,G),arguments.length>D&&x(q,arguments[D]),q});if(G.prototype=K,$!=="Error"?f?f(G,V):s(G,V,{name:!0}):y&&C in U&&(h(G,U,C),h(G,U,"prepareStackTrace")),s(G,U),!_)try{K.name!==$&&l(K,"name",$),K.constructor=G}catch(oe){}return G}}},93074:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(3338),f=e(78540),s="AggregateError",h=i(s),u=!c(function(){return h([1]).errors[0]!==1})&&c(function(){return h([1],s,{cause:7}).cause!==7});r({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:f(s,function(a){return function(p,y){return l(a,this,arguments)}},u,!0)})},6555:function(d,g,e){"use strict";var r=e(94488),i=e(16332),l=e(53456),c=e(58218),f=e(24538),s=e(20132),h=e(68151),u=e(35012),a=e(73068),x=e(61888),p=e(62003),y=e(7825),_=e(59893),b=_("toStringTag"),S=Error,R=[].push,L=function(B,$){var U=i(C,this),K;c?K=c(new S,U?l(this):C):(K=U?this:s(C),h(K,b,"Error")),$!==void 0&&h(K,"message",y($)),x(K,L,K.stack,1),arguments.length>2&&a(K,arguments[2]);var V=[];return p(B,R,{that:V}),h(K,"errors",V),K};c?c(L,S):f(L,S,{name:!0});var C=L.prototype=s(S.prototype,{constructor:u(1,L),message:u(1,""),name:u(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:L})},86357:function(d,g,e){"use strict";e(6555)},89170:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(91669),c=e(51996),f="ArrayBuffer",s=l[f],h=i[f];r({global:!0,constructor:!0,forced:h!==s},{ArrayBuffer:s}),c(f)},71012:function(d,g,e){"use strict";var r=e(94488),i=e(58261),l=i.NATIVE_ARRAY_BUFFER_VIEWS;r({target:"ArrayBuffer",stat:!0,forced:!l},{isView:i.isView})},84203:function(d,g,e){"use strict";var r=e(94488),i=e(34114),l=e(3338),c=e(91669),f=e(80449),s=e(51981),h=e(61578),u=e(60473),a=c.ArrayBuffer,x=c.DataView,p=x.prototype,y=i(a.prototype.slice),_=i(p.getUint8),b=i(p.setUint8),S=l(function(){return!new a(2).slice(1,void 0).byteLength});r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:S},{slice:function(L,C){if(y&&C===void 0)return y(f(this),L);for(var D=f(this).byteLength,B=s(L,D),$=s(C===void 0?D:C,D),U=new(u(this,a))(h($-B)),K=new x(this),V=new x(U),G=0;B<$;)b(V,G++,_(K,B++));return U}})},96331:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(56902),f=e(81181);r({target:"Array",proto:!0},{at:function(h){var u=i(this),a=l(u),x=c(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:u[p]}}),f("at")},2924:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(18589),c=e(31946),f=e(94029),s=e(82762),h=e(66434),u=e(69392),a=e(81427),x=e(17480),p=e(59893),y=e(46573),_=p("isConcatSpreadable"),b=y>=51||!i(function(){var L=[];return L[_]=!1,L.concat()[0]!==L}),S=function(L){if(!c(L))return!1;var C=L[_];return C!==void 0?!!C:l(L)},R=!b||!x("concat");r({target:"Array",proto:!0,arity:1,forced:R},{concat:function(C){var D=f(this),B=a(D,0),$=0,U,K,V,G,oe;for(U=-1,V=arguments.length;U<V;U++)if(oe=U===-1?D:arguments[U],S(oe))for(G=s(oe),h($+G),K=0;K<G;K++,$++)K in oe&&u(B,$,oe[K]);else h($+1),u(B,$++,oe);return B.length=$,B}})},26425:function(d,g,e){"use strict";var r=e(94488),i=e(92670),l=e(81181);r({target:"Array",proto:!0},{copyWithin:i}),l("copyWithin")},32125:function(d,g,e){"use strict";var r=e(94488),i=e(90560).every,l=e(45601),c=l("every");r({target:"Array",proto:!0,forced:!c},{every:function(s){return i(this,s,arguments.length>1?arguments[1]:void 0)}})},16137:function(d,g,e){"use strict";var r=e(94488),i=e(75202),l=e(81181);r({target:"Array",proto:!0},{fill:i}),l("fill")},48435:function(d,g,e){"use strict";var r=e(94488),i=e(90560).filter,l=e(17480),c=l("filter");r({target:"Array",proto:!0,forced:!c},{filter:function(s){return i(this,s,arguments.length>1?arguments[1]:void 0)}})},70365:function(d,g,e){"use strict";var r=e(94488),i=e(90560).findIndex,l=e(81181),c="findIndex",f=!0;c in[]&&Array(1)[c](function(){f=!1}),r({target:"Array",proto:!0,forced:f},{findIndex:function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}}),l(c)},17482:function(d,g,e){"use strict";var r=e(94488),i=e(53279).findLastIndex,l=e(81181);r({target:"Array",proto:!0},{findLastIndex:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("findLastIndex")},33717:function(d,g,e){"use strict";var r=e(94488),i=e(53279).findLast,l=e(81181);r({target:"Array",proto:!0},{findLast:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("findLast")},11553:function(d,g,e){"use strict";var r=e(94488),i=e(90560).find,l=e(81181),c="find",f=!0;c in[]&&Array(1)[c](function(){f=!1}),r({target:"Array",proto:!0,forced:f},{find:function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}}),l(c)},65033:function(d,g,e){"use strict";var r=e(94488),i=e(3372),l=e(63335),c=e(94029),f=e(82762),s=e(81427);r({target:"Array",proto:!0},{flatMap:function(u){var a=c(this),x=f(a),p;return l(u),p=s(a,0),p.length=i(p,a,a,x,0,1,u,arguments.length>1?arguments[1]:void 0),p}})},23708:function(d,g,e){"use strict";var r=e(94488),i=e(3372),l=e(94029),c=e(82762),f=e(56902),s=e(81427);r({target:"Array",proto:!0},{flat:function(){var u=arguments.length?arguments[0]:void 0,a=l(this),x=c(a),p=s(a,0);return p.length=i(p,a,a,x,0,u===void 0?1:f(u)),p}})},52732:function(d,g,e){"use strict";var r=e(94488),i=e(59594);r({target:"Array",proto:!0,forced:[].forEach!==i},{forEach:i})},99382:function(d,g,e){"use strict";var r=e(94488),i=e(60255),l=e(35221),c=!l(function(f){Array.from(f)});r({target:"Array",stat:!0,forced:c},{from:i})},88437:function(d,g,e){"use strict";var r=e(94488),i=e(22999).includes,l=e(3338),c=e(81181),f=l(function(){return!Array(1).includes()});r({target:"Array",proto:!0,forced:f},{includes:function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}}),c("includes")},68440:function(d,g,e){"use strict";var r=e(94488),i=e(34114),l=e(22999).indexOf,c=e(45601),f=i([].indexOf),s=!!f&&1/f([1],1,-0)<0,h=s||!c("indexOf");r({target:"Array",proto:!0,forced:h},{indexOf:function(a){var x=arguments.length>1?arguments[1]:void 0;return s?f(this,a,x)||0:l(this,a,x)}})},13412:function(d,g,e){"use strict";var r=e(94488),i=e(18589);r({target:"Array",stat:!0},{isArray:i})},11005:function(d,g,e){"use strict";var r=e(80524),i=e(81181),l=e(48074),c=e(94844),f=e(37691).f,s=e(24019),h=e(25587),u=e(16697),a=e(35454),x="Array Iterator",p=c.set,y=c.getterFor(x);d.exports=s(Array,"Array",function(b,S){p(this,{type:x,target:r(b),index:0,kind:S})},function(){var b=y(this),S=b.target,R=b.index++;if(!S||R>=S.length)return b.target=void 0,h(void 0,!0);switch(b.kind){case"keys":return h(R,!1);case"values":return h(S[R],!1)}return h([R,S[R]],!1)},"values");var _=l.Arguments=l.Array;if(i("keys"),i("values"),i("entries"),!u&&a&&_.name!=="values")try{f(_,"name",{value:"values"})}catch(b){}},70348:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(1835),c=e(80524),f=e(45601),s=i([].join),h=l!==Object,u=h||!f("join",",");r({target:"Array",proto:!0,forced:u},{join:function(x){return s(c(this),x===void 0?",":x)}})},19801:function(d,g,e){"use strict";var r=e(94488),i=e(55009);r({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},91550:function(d,g,e){"use strict";var r=e(94488),i=e(90560).map,l=e(17480),c=l("map");r({target:"Array",proto:!0,forced:!c},{map:function(s){return i(this,s,arguments.length>1?arguments[1]:void 0)}})},85223:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(39812),c=e(69392),f=Array,s=i(function(){function h(){}return!(f.of.call(h)instanceof h)});r({target:"Array",stat:!0,forced:s},{of:function(){for(var u=0,a=arguments.length,x=new(l(this)?this:f)(a);a>u;)c(x,u,arguments[u++]);return x.length=a,x}})},7154:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(39428),f=e(66434),s=e(3338),h=s(function(){return[].push.call({length:4294967296},1)!==4294967297}),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(x){return x instanceof TypeError}},a=h||!u();r({target:"Array",proto:!0,arity:1,forced:a},{push:function(p){var y=i(this),_=l(y),b=arguments.length;f(_+b);for(var S=0;S<b;S++)y[_]=arguments[S],_++;return c(y,_),_}})},96009:function(d,g,e){"use strict";var r=e(94488),i=e(16370).right,l=e(45601),c=e(46573),f=e(90946),s=!f&&c>79&&c<83,h=s||!l("reduceRight");r({target:"Array",proto:!0,forced:h},{reduceRight:function(a){return i(this,a,arguments.length,arguments.length>1?arguments[1]:void 0)}})},67788:function(d,g,e){"use strict";var r=e(94488),i=e(16370).left,l=e(45601),c=e(46573),f=e(90946),s=!f&&c>79&&c<83,h=s||!l("reduce");r({target:"Array",proto:!0,forced:h},{reduce:function(a){var x=arguments.length;return i(this,a,x,x>1?arguments[1]:void 0)}})},9402:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(18589),c=i([].reverse),f=[1,2];r({target:"Array",proto:!0,forced:String(f)===String(f.reverse())},{reverse:function(){return l(this)&&(this.length=this.length),c(this)}})},62489:function(d,g,e){"use strict";var r=e(94488),i=e(18589),l=e(39812),c=e(31946),f=e(51981),s=e(82762),h=e(80524),u=e(69392),a=e(59893),x=e(17480),p=e(30867),y=x("slice"),_=a("species"),b=Array,S=Math.max;r({target:"Array",proto:!0,forced:!y},{slice:function(L,C){var D=h(this),B=s(D),$=f(L,B),U=f(C===void 0?B:C,B),K,V,G;if(i(D)&&(K=D.constructor,l(K)&&(K===b||i(K.prototype))?K=void 0:c(K)&&(K=K[_],K===null&&(K=void 0)),K===b||K===void 0))return p(D,$,U);for(V=new(K===void 0?b:K)(S(U-$,0)),G=0;$<U;$++,G++)$ in D&&u(V,G,D[$]);return V.length=G,V}})},80881:function(d,g,e){"use strict";var r=e(94488),i=e(90560).some,l=e(45601),c=l("some");r({target:"Array",proto:!0,forced:!c},{some:function(s){return i(this,s,arguments.length>1?arguments[1]:void 0)}})},62837:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(94029),f=e(82762),s=e(84233),h=e(69905),u=e(3338),a=e(63668),x=e(45601),p=e(78177),y=e(17687),_=e(46573),b=e(19684),S=[],R=i(S.sort),L=i(S.push),C=u(function(){S.sort(void 0)}),D=u(function(){S.sort(null)}),B=x("sort"),$=!u(function(){if(_)return _<70;if(!(p&&p>3)){if(y)return!0;if(b)return b<603;var V="",G,oe,ae,le;for(G=65;G<76;G++){switch(oe=String.fromCharCode(G),G){case 66:case 69:case 70:case 72:ae=3;break;case 68:case 71:ae=4;break;default:ae=2}for(le=0;le<47;le++)S.push({k:oe+le,v:ae})}for(S.sort(function(q,J){return J.v-q.v}),le=0;le<S.length;le++)oe=S[le].k.charAt(0),V.charAt(V.length-1)!==oe&&(V+=oe);return V!=="DGBEFHACIJK"}}),U=C||!D||!B||!$,K=function(V){return function(G,oe){return oe===void 0?-1:G===void 0?1:V!==void 0?+V(G,oe)||0:h(G)>h(oe)?1:-1}};r({target:"Array",proto:!0,forced:U},{sort:function(G){G!==void 0&&l(G);var oe=c(this);if($)return G===void 0?R(oe):R(oe,G);var ae=[],le=f(oe),q,J;for(J=0;J<le;J++)J in oe&&L(ae,oe[J]);for(a(ae,K(G)),q=f(ae),J=0;J<q;)oe[J]=ae[J++];for(;J<le;)s(oe,J++);return oe}})},4705:function(d,g,e){"use strict";var r=e(51996);r("Array")},13941:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(51981),c=e(56902),f=e(82762),s=e(39428),h=e(66434),u=e(81427),a=e(69392),x=e(84233),p=e(17480),y=p("splice"),_=Math.max,b=Math.min;r({target:"Array",proto:!0,forced:!y},{splice:function(R,L){var C=i(this),D=f(C),B=l(R,D),$=arguments.length,U,K,V,G,oe,ae;for($===0?U=K=0:$===1?(U=0,K=D-B):(U=$-2,K=b(_(c(L),0),D-B)),h(D+U-K),V=u(C,K),G=0;G<K;G++)oe=B+G,oe in C&&a(V,G,C[oe]);if(V.length=K,U<K){for(G=B;G<D-K;G++)oe=G+K,ae=G+U,oe in C?C[ae]=C[oe]:x(C,ae);for(G=D;G>D-K+U;G--)x(C,G-1)}else if(U>K)for(G=D-K;G>B;G--)oe=G+K-1,ae=G+U-1,oe in C?C[ae]=C[oe]:x(C,ae);for(G=0;G<U;G++)C[G+B]=arguments[G+2];return s(C,D-K+U),V}})},1148:function(d,g,e){"use strict";var r=e(94488),i=e(85903),l=e(80524),c=e(81181),f=Array;r({target:"Array",proto:!0},{toReversed:function(){return i(l(this),f)}}),c("toReversed")},82445:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(80524),f=e(69478),s=e(55174),h=e(81181),u=Array,a=i(s("Array","sort"));r({target:"Array",proto:!0},{toSorted:function(p){p!==void 0&&l(p);var y=c(this),_=f(u,y);return a(_,p)}}),h("toSorted")},27267:function(d,g,e){"use strict";var r=e(94488),i=e(81181),l=e(66434),c=e(82762),f=e(51981),s=e(80524),h=e(56902),u=Array,a=Math.max,x=Math.min;r({target:"Array",proto:!0},{toSpliced:function(y,_){var b=s(this),S=c(b),R=f(y,S),L=arguments.length,C=0,D,B,$,U;for(L===0?D=B=0:L===1?(D=0,B=S-R):(D=L-2,B=x(a(h(_),0),S-R)),$=l(S+D-B),U=u($);C<R;C++)U[C]=b[C];for(;C<R+D;C++)U[C]=arguments[C-R+2];for(;C<$;C++)U[C]=b[C+B-D];return U}}),i("toSpliced")},90308:function(d,g,e){"use strict";var r=e(81181);r("flatMap")},96353:function(d,g,e){"use strict";var r=e(81181);r("flat")},84818:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(39428),f=e(84233),s=e(66434),h=[].unshift(0)!==1,u=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(x){return x instanceof TypeError}},a=h||!u();r({target:"Array",proto:!0,arity:1,forced:a},{unshift:function(p){var y=i(this),_=l(y),b=arguments.length;if(b){s(_+b);for(var S=_;S--;){var R=S+b;S in y?y[R]=y[S]:f(y,R)}for(var L=0;L<b;L++)y[L]=arguments[L]}return c(y,_+b)}})},80585:function(d,g,e){"use strict";var r=e(94488),i=e(82041),l=e(80524),c=Array;r({target:"Array",proto:!0},{with:function(f,s){return i(l(this),c,f,s)}})},40194:function(d,g,e){"use strict";var r=e(94488),i=e(91669),l=e(3737);r({global:!0,constructor:!0,forced:!l},{DataView:i.DataView})},22112:function(d,g,e){"use strict";e(40194)},81440:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(3338),c=l(function(){return new Date(16e11).getYear()!==120}),f=i(Date.prototype.getFullYear);r({target:"Date",proto:!0,forced:c},{getYear:function(){return f(this)-1900}})},25430:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=Date,c=i(l.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return c(new l)}})},70105:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=Date.prototype,f=i(c.getTime),s=i(c.setFullYear);r({target:"Date",proto:!0},{setYear:function(u){f(this);var a=l(u),x=a>=0&&a<=99?a+1900:a;return s(this,x)}})},71390:function(d,g,e){"use strict";var r=e(94488);r({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},96844:function(d,g,e){"use strict";var r=e(94488),i=e(32494);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==i},{toISOString:i})},83578:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(94029),c=e(97954),f=i(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});r({target:"Date",proto:!0,arity:1,forced:f},{toJSON:function(h){var u=l(this),a=c(u,"number");return typeof a=="number"&&!isFinite(a)?null:u.toISOString()}})},69762:function(d,g,e){"use strict";var r=e(32621),i=e(2291),l=e(77119),c=e(59893),f=c("toPrimitive"),s=Date.prototype;r(s,f)||i(s,f,l)},76880:function(d,g,e){"use strict";var r=e(94237),i=e(2291),l=Date.prototype,c="Invalid Date",f="toString",s=r(l[f]),h=r(l.getTime);String(new Date(NaN))!==c&&i(l,f,function(){var a=h(this);return a===a?s(this):c})},31808:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(13743),c=e(78540),f="WebAssembly",s=i[f],h=new Error("e",{cause:7}).cause!==7,u=function(x,p){var y={};y[x]=c(x,p,h),r({global:!0,constructor:!0,arity:1,forced:h},y)},a=function(x,p){if(s&&s[x]){var y={};y[x]=c(f+"."+x,p,h),r({target:f,stat:!0,constructor:!0,arity:1,forced:h},y)}};u("Error",function(x){return function(y){return l(x,this,arguments)}}),u("EvalError",function(x){return function(y){return l(x,this,arguments)}}),u("RangeError",function(x){return function(y){return l(x,this,arguments)}}),u("ReferenceError",function(x){return function(y){return l(x,this,arguments)}}),u("SyntaxError",function(x){return function(y){return l(x,this,arguments)}}),u("TypeError",function(x){return function(y){return l(x,this,arguments)}}),u("URIError",function(x){return function(y){return l(x,this,arguments)}}),a("CompileError",function(x){return function(y){return l(x,this,arguments)}}),a("LinkError",function(x){return function(y){return l(x,this,arguments)}}),a("RuntimeError",function(x){return function(y){return l(x,this,arguments)}})},99953:function(d,g,e){"use strict";var r=e(2291),i=e(13367),l=Error.prototype;l.toString!==i&&r(l,"toString",i)},65009:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(69905),c=i("".charAt),f=i("".charCodeAt),s=i(/./.exec),h=i(1 .toString),u=i("".toUpperCase),a=/[\w*+\-./@]/,x=function(p,y){for(var _=h(p,16);_.length<y;)_="0"+_;return _};r({global:!0},{escape:function(y){for(var _=l(y),b="",S=_.length,R=0,L,C;R<S;)L=c(_,R++),s(a,L)?b+=L:(C=f(L,0),C<256?b+="%"+x(C,2):b+="%u"+u(x(C,4)));return b}})},28796:function(d,g,e){"use strict";var r=e(94488),i=e(4645);r({target:"Function",proto:!0,forced:Function.bind!==i},{bind:i})},56450:function(d,g,e){"use strict";var r=e(55327),i=e(31946),l=e(37691),c=e(53456),f=e(59893),s=e(86528),h=f("hasInstance"),u=Function.prototype;h in u||l.f(u,h,{value:s(function(a){if(!r(this)||!i(a))return!1;var x=this.prototype;if(!i(x))return a instanceof this;for(;a=c(a);)if(x===a)return!0;return!1},h)})},78342:function(d,g,e){"use strict";var r=e(35454),i=e(8090).EXISTS,l=e(94237),c=e(64110),f=Function.prototype,s=l(f.toString),h=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=l(h.exec),a="name";r&&!i&&c(f,a,{configurable:!0,get:function(){try{return u(h,s(this))[1]}catch(x){return""}}})},13161:function(d,g,e){"use strict";var r=e(94488),i=e(92916);r({global:!0,forced:i.globalThis!==i},{globalThis:i})},54226:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(89945),f=e(94237),s=e(3338),h=e(55327),u=e(18446),a=e(30867),x=e(65451),p=e(42820),y=String,_=i("JSON","stringify"),b=f(/./.exec),S=f("".charAt),R=f("".charCodeAt),L=f("".replace),C=f(1 .toString),D=/[\uD800-\uDFFF]/g,B=/^[\uD800-\uDBFF]$/,$=/^[\uDC00-\uDFFF]$/,U=!p||s(function(){var oe=i("Symbol")("stringify detection");return _([oe])!=="[null]"||_({a:oe})!=="{}"||_(Object(oe))!=="{}"}),K=s(function(){return _("\uDF06\uD834")!=='"\\udf06\\ud834"'||_("\uDEAD")!=='"\\udead"'}),V=function(oe,ae){var le=a(arguments),q=x(ae);if(!(!h(q)&&(oe===void 0||u(oe))))return le[1]=function(J,Y){if(h(q)&&(Y=c(q,this,y(J),Y)),!u(Y))return Y},l(_,null,le)},G=function(oe,ae,le){var q=S(le,ae-1),J=S(le,ae+1);return b(B,oe)&&!b($,J)||b($,oe)&&!b(B,q)?"\\u"+C(R(oe,0),16):oe};_&&r({target:"JSON",stat:!0,arity:3,forced:U||K},{stringify:function(ae,le,q){var J=a(arguments),Y=l(U?V:_,null,J);return K&&typeof Y=="string"?L(Y,D,G):Y}})},70201:function(d,g,e){"use strict";var r=e(92916),i=e(94573);i(r.JSON,"JSON",!0)},44781:function(d,g,e){"use strict";var r=e(48059),i=e(40942);r("Map",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},85671:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(95955),f=e(62003),s=e(2786),h=e(16697),u=s.Map,a=s.has,x=s.get,p=s.set,y=i([].push);r({target:"Map",stat:!0,forced:h},{groupBy:function(b,S){c(b),l(S);var R=new u,L=0;return f(b,function(C){var D=S(C,L++);a(R,D)?y(x(R,D),C):p(R,D,[C])}),R}})},34941:function(d,g,e){"use strict";e(44781)},35152:function(d,g,e){"use strict";var r=e(94488),i=e(25726),l=Math.acosh,c=Math.log,f=Math.sqrt,s=Math.LN2,h=!l||Math.floor(l(Number.MAX_VALUE))!==710||l(1/0)!==1/0;r({target:"Math",stat:!0,forced:h},{acosh:function(a){var x=+a;return x<1?NaN:x>9490626562425156e-8?c(x)+s:i(x-1+f(x-1)*f(x+1))}})},85660:function(d,g,e){"use strict";var r=e(94488),i=Math.asinh,l=Math.log,c=Math.sqrt;function f(h){var u=+h;return!isFinite(u)||u===0?u:u<0?-f(-u):l(u+c(u*u+1))}var s=!(i&&1/i(0)>0);r({target:"Math",stat:!0,forced:s},{asinh:f})},80031:function(d,g,e){"use strict";var r=e(94488),i=Math.atanh,l=Math.log,c=!(i&&1/i(-0)<0);r({target:"Math",stat:!0,forced:c},{atanh:function(s){var h=+s;return h===0?h:l((1+h)/(1-h))/2}})},34434:function(d,g,e){"use strict";var r=e(94488),i=e(37666),l=Math.abs,c=Math.pow;r({target:"Math",stat:!0},{cbrt:function(s){var h=+s;return i(h)*c(l(h),.3333333333333333)}})},83579:function(d,g,e){"use strict";var r=e(94488),i=Math.floor,l=Math.log,c=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(s){var h=s>>>0;return h?31-i(l(h+.5)*c):32}})},74307:function(d,g,e){"use strict";var r=e(94488),i=e(10014),l=Math.cosh,c=Math.abs,f=Math.E,s=!l||l(710)===1/0;r({target:"Math",stat:!0,forced:s},{cosh:function(u){var a=i(c(u)-1)+1;return(a+1/(a*f*f))*(f/2)}})},97423:function(d,g,e){"use strict";var r=e(94488),i=e(10014);r({target:"Math",stat:!0,forced:i!==Math.expm1},{expm1:i})},93321:function(d,g,e){"use strict";var r=e(94488),i=e(14894);r({target:"Math",stat:!0},{fround:i})},82277:function(d,g,e){"use strict";var r=e(94488),i=Math.hypot,l=Math.abs,c=Math.sqrt,f=!!i&&i(1/0,NaN)!==1/0;r({target:"Math",stat:!0,arity:2,forced:f},{hypot:function(h,u){for(var a=0,x=0,p=arguments.length,y=0,_,b;x<p;)_=l(arguments[x++]),y<_?(b=y/_,a=a*b*b+1,y=_):_>0?(b=_/y,a+=b*b):a+=_;return y===1/0?1/0:y*c(a)}})},61425:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=Math.imul,c=i(function(){return l(4294967295,5)!==-5||l.length!==2});r({target:"Math",stat:!0,forced:c},{imul:function(s,h){var u=65535,a=+s,x=+h,p=u&a,y=u&x;return 0|p*y+((u&a>>>16)*y+p*(u&x>>>16)<<16>>>0)}})},61873:function(d,g,e){"use strict";var r=e(94488),i=e(53309);r({target:"Math",stat:!0},{log10:i})},9307:function(d,g,e){"use strict";var r=e(94488),i=e(25726);r({target:"Math",stat:!0},{log1p:i})},8821:function(d,g,e){"use strict";var r=e(94488),i=Math.log,l=Math.LN2;r({target:"Math",stat:!0},{log2:function(f){return i(f)/l}})},64385:function(d,g,e){"use strict";var r=e(94488),i=e(37666);r({target:"Math",stat:!0},{sign:i})},64099:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(10014),c=Math.abs,f=Math.exp,s=Math.E,h=i(function(){return Math.sinh(-2e-17)!==-2e-17});r({target:"Math",stat:!0,forced:h},{sinh:function(a){var x=+a;return c(x)<1?(l(x)-l(-x))/2:(f(x-1)-f(-x-1))*(s/2)}})},62455:function(d,g,e){"use strict";var r=e(94488),i=e(10014),l=Math.exp;r({target:"Math",stat:!0},{tanh:function(f){var s=+f,h=i(s),u=i(-s);return h===1/0?1:u===1/0?-1:(h-u)/(l(s)+l(-s))}})},79965:function(d,g,e){"use strict";var r=e(94573);r(Math,"Math",!0)},59118:function(d,g,e){"use strict";var r=e(94488),i=e(3312);r({target:"Math",stat:!0},{trunc:i})},275:function(d,g,e){"use strict";var r=e(94488),i=e(16697),l=e(35454),c=e(92916),f=e(9699),s=e(94237),h=e(20865),u=e(32621),a=e(25576),x=e(16332),p=e(18446),y=e(97954),_=e(3338),b=e(80689).f,S=e(71256).f,R=e(37691).f,L=e(49228),C=e(52971).trim,D="Number",B=c[D],$=f[D],U=B.prototype,K=c.TypeError,V=s("".slice),G=s("".charCodeAt),oe=function(ue){var ne=y(ue,"number");return typeof ne=="bigint"?ne:ae(ne)},ae=function(ue){var ne=y(ue,"number"),ee,ie,F,M,Q,de,we,Ce;if(p(ne))throw new K("Cannot convert a Symbol value to a number");if(typeof ne=="string"&&ne.length>2){if(ne=C(ne),ee=G(ne,0),ee===43||ee===45){if(ie=G(ne,2),ie===88||ie===120)return NaN}else if(ee===48){switch(G(ne,1)){case 66:case 98:F=2,M=49;break;case 79:case 111:F=8,M=55;break;default:return+ne}for(Q=V(ne,2),de=Q.length,we=0;we<de;we++)if(Ce=G(Q,we),Ce<48||Ce>M)return NaN;return parseInt(Q,F)}}return+ne},le=h(D,!B(" 0o1")||!B("0b1")||B("+0x1")),q=function(ue){return x(U,ue)&&_(function(){L(ue)})},J=function(ne){var ee=arguments.length<1?0:B(oe(ne));return q(this)?a(Object(ee),this,J):ee};J.prototype=U,le&&!i&&(U.constructor=J),r({global:!0,constructor:!0,wrap:!0,forced:le},{Number:J});var Y=function(ue,ne){for(var ee=l?b(ne):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),ie=0,F;ee.length>ie;ie++)u(ne,F=ee[ie])&&!u(ue,F)&&R(ue,F,S(ne,F))};i&&$&&Y(f[D],$),(le||i)&&Y(f[D],B)},31919:function(d,g,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},51284:function(d,g,e){"use strict";var r=e(94488),i=e(1222);r({target:"Number",stat:!0},{isFinite:i})},10177:function(d,g,e){"use strict";var r=e(94488),i=e(62896);r({target:"Number",stat:!0},{isInteger:i})},85690:function(d,g,e){"use strict";var r=e(94488);r({target:"Number",stat:!0},{isNaN:function(l){return l!==l}})},92114:function(d,g,e){"use strict";var r=e(94488),i=e(62896),l=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(f){return i(f)&&l(f)<=9007199254740991}})},1017:function(d,g,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},14480:function(d,g,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},40516:function(d,g,e){"use strict";var r=e(94488),i=e(31280);r({target:"Number",stat:!0,forced:Number.parseFloat!==i},{parseFloat:i})},76345:function(d,g,e){"use strict";var r=e(94488),i=e(52446);r({target:"Number",stat:!0,forced:Number.parseInt!==i},{parseInt:i})},7282:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=e(49228),f=e(71049),s=e(53309),h=e(3338),u=RangeError,a=String,x=isFinite,p=Math.abs,y=Math.floor,_=Math.pow,b=Math.round,S=i(1 .toExponential),R=i(f),L=i("".slice),C=S(-69e-12,4)==="-6.9000e-11"&&S(1.255,2)==="1.25e+0"&&S(12345,3)==="1.235e+4"&&S(25,0)==="3e+1",D=function(){return h(function(){S(1,1/0)})&&h(function(){S(1,-1/0)})},B=function(){return!h(function(){S(1/0,1/0),S(NaN,1/0)})},$=!C||!D()||!B();r({target:"Number",proto:!0,forced:$},{toExponential:function(K){var V=c(this);if(K===void 0)return S(V);var G=l(K);if(!x(V))return String(V);if(G<0||G>20)throw new u("Incorrect fraction digits");if(C)return S(V,G);var oe="",ae="",le=0,q="",J="";if(V<0&&(oe="-",V=-V),V===0)le=0,ae=R("0",G+1);else{var Y=s(V);le=y(Y);var ue=0,ne=_(10,le-G);ue=b(V/ne),2*V>=(2*ue+1)*ne&&(ue+=1),ue>=_(10,G+1)&&(ue/=10,le+=1),ae=a(ue)}return G!==0&&(ae=L(ae,0,1)+"."+L(ae,1)),le===0?(q="+",J="0"):(q=le>0?"+":"-",J=a(p(le))),ae+="e"+q+J,oe+ae}})},58055:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=e(49228),f=e(71049),s=e(3338),h=RangeError,u=String,a=Math.floor,x=i(f),p=i("".slice),y=i(1 .toFixed),_=function(D,B,$){return B===0?$:B%2===1?_(D,B-1,$*D):_(D*D,B/2,$)},b=function(D){for(var B=0,$=D;$>=4096;)B+=12,$/=4096;for(;$>=2;)B+=1,$/=2;return B},S=function(D,B,$){for(var U=-1,K=$;++U<6;)K+=B*D[U],D[U]=K%1e7,K=a(K/1e7)},R=function(D,B){for(var $=6,U=0;--$>=0;)U+=D[$],D[$]=a(U/B),U=U%B*1e7},L=function(D){for(var B=6,$="";--B>=0;)if($!==""||B===0||D[B]!==0){var U=u(D[B]);$=$===""?U:$+x("0",7-U.length)+U}return $},C=s(function(){return y(8e-5,3)!=="0.000"||y(.9,0)!=="1"||y(1.255,2)!=="1.25"||y(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!s(function(){y({})});r({target:"Number",proto:!0,forced:C},{toFixed:function(B){var $=c(this),U=l(B),K=[0,0,0,0,0,0],V="",G="0",oe,ae,le,q;if(U<0||U>20)throw new h("Incorrect fraction digits");if($!==$)return"NaN";if($<=-1e21||$>=1e21)return u($);if($<0&&(V="-",$=-$),$>1e-21)if(oe=b($*_(2,69,1))-69,ae=oe<0?$*_(2,-oe,1):$/_(2,oe,1),ae*=4503599627370496,oe=52-oe,oe>0){for(S(K,0,ae),le=U;le>=7;)S(K,1e7,0),le-=7;for(S(K,_(10,le,1),0),le=oe-1;le>=23;)R(K,8388608),le-=23;R(K,1<<le),S(K,1,1),R(K,2),G=L(K)}else S(K,0,ae),S(K,1<<-oe,0),G=L(K)+x("0",U);return U>0?(q=G.length,G=V+(q<=U?"0."+x("0",U-q)+G:p(G,0,q-U)+"."+p(G,q-U))):G=V+G,G}})},93547:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(3338),c=e(49228),f=i(1 .toPrecision),s=l(function(){return f(1,void 0)!=="1"})||!l(function(){f({})});r({target:"Number",proto:!0,forced:s},{toPrecision:function(u){return u===void 0?f(c(this)):f(c(this),u)}})},31237:function(d,g,e){"use strict";var r=e(94488),i=e(80530);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},17954:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(20132);r({target:"Object",stat:!0,sham:!i},{create:l})},58580:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(63335),f=e(94029),s=e(37691);i&&r({target:"Object",proto:!0,forced:l},{__defineGetter__:function(u,a){s.f(f(this),u,{get:c(a),enumerable:!0,configurable:!0})}})},47146:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(55666).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==l,sham:!i},{defineProperties:l})},40416:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(37691).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==l,sham:!i},{defineProperty:l})},7615:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(63335),f=e(94029),s=e(37691);i&&r({target:"Object",proto:!0,forced:l},{__defineSetter__:function(u,a){s.f(f(this),u,{set:c(a),enumerable:!0,configurable:!0})}})},72820:function(d,g,e){"use strict";var r=e(94488),i=e(88698).entries;r({target:"Object",stat:!0},{entries:function(c){return i(c)}})},86070:function(d,g,e){"use strict";var r=e(94488),i=e(13247),l=e(3338),c=e(31946),f=e(2074).onFreeze,s=Object.freeze,h=l(function(){s(1)});r({target:"Object",stat:!0,forced:h,sham:!i},{freeze:function(a){return s&&c(a)?s(f(a)):a}})},23569:function(d,g,e){"use strict";var r=e(94488),i=e(62003),l=e(69392);r({target:"Object",stat:!0},{fromEntries:function(f){var s={};return i(f,function(h,u){l(s,h,u)},{AS_ENTRIES:!0}),s}})},55639:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(80524),c=e(71256).f,f=e(35454),s=!f||i(function(){c(1)});r({target:"Object",stat:!0,forced:s,sham:!f},{getOwnPropertyDescriptor:function(u,a){return c(l(u),a)}})},63046:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(48662),c=e(80524),f=e(71256),s=e(69392);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(u){for(var a=c(u),x=f.f,p=l(a),y={},_=0,b,S;p.length>_;)S=x(a,b=p[_++]),S!==void 0&&s(y,b,S);return y}})},464:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(53393).f,c=i(function(){return!Object.getOwnPropertyNames(1)});r({target:"Object",stat:!0,forced:c},{getOwnPropertyNames:l})},67936:function(d,g,e){"use strict";var r=e(94488),i=e(42820),l=e(3338),c=e(92635),f=e(94029),s=!i||l(function(){c.f(1)});r({target:"Object",stat:!0,forced:s},{getOwnPropertySymbols:function(u){var a=c.f;return a?a(f(u)):[]}})},51082:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(94029),c=e(53456),f=e(4870),s=i(function(){c(1)});r({target:"Object",stat:!0,forced:s,sham:!f},{getPrototypeOf:function(u){return c(l(u))}})},83850:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(94237),c=e(63335),f=e(95955),s=e(17818),h=e(62003),u=i("Object","create"),a=l([].push);r({target:"Object",stat:!0},{groupBy:function(p,y){f(p),c(y);var _=u(null),b=0;return h(p,function(S){var R=s(y(S,b++));R in _?a(_[R],S):_[R]=[S]}),_}})},41990:function(d,g,e){"use strict";var r=e(94488),i=e(32621);r({target:"Object",stat:!0},{hasOwn:i})},55888:function(d,g,e){"use strict";var r=e(94488),i=e(12477);r({target:"Object",stat:!0,forced:Object.isExtensible!==i},{isExtensible:i})},53827:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(31946),c=e(29076),f=e(51424),s=Object.isFrozen,h=f||i(function(){s(1)});r({target:"Object",stat:!0,forced:h},{isFrozen:function(a){return!l(a)||f&&c(a)==="ArrayBuffer"?!0:s?s(a):!1}})},78143:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(31946),c=e(29076),f=e(51424),s=Object.isSealed,h=f||i(function(){s(1)});r({target:"Object",stat:!0,forced:h},{isSealed:function(a){return!l(a)||f&&c(a)==="ArrayBuffer"?!0:s?s(a):!1}})},15787:function(d,g,e){"use strict";var r=e(94488),i=e(5370);r({target:"Object",stat:!0},{is:i})},66419:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(7733),c=e(3338),f=c(function(){l(1)});r({target:"Object",stat:!0,forced:f},{keys:function(h){return l(i(h))}})},75765:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(94029),f=e(17818),s=e(53456),h=e(71256).f;i&&r({target:"Object",proto:!0,forced:l},{__lookupGetter__:function(a){var x=c(this),p=f(a),y;do if(y=h(x,p))return y.get;while(x=s(x))}})},14645:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(94029),f=e(17818),s=e(53456),h=e(71256).f;i&&r({target:"Object",proto:!0,forced:l},{__lookupSetter__:function(a){var x=c(this),p=f(a),y;do if(y=h(x,p))return y.set;while(x=s(x))}})},71122:function(d,g,e){"use strict";var r=e(94488),i=e(31946),l=e(2074).onFreeze,c=e(13247),f=e(3338),s=Object.preventExtensions,h=f(function(){s(1)});r({target:"Object",stat:!0,forced:h,sham:!c},{preventExtensions:function(a){return s&&i(a)?s(l(a)):a}})},42084:function(d,g,e){"use strict";var r=e(35454),i=e(64110),l=e(31946),c=e(94029),f=e(95955),s=Object.getPrototypeOf,h=Object.setPrototypeOf,u=Object.prototype,a="__proto__";if(r&&s&&h&&!(a in u))try{i(u,a,{configurable:!0,get:function(){return s(c(this))},set:function(p){var y=f(this);!l(p)&&p!==null||!l(y)||h(y,p)}})}catch(x){}},25070:function(d,g,e){"use strict";var r=e(94488),i=e(31946),l=e(2074).onFreeze,c=e(13247),f=e(3338),s=Object.seal,h=f(function(){s(1)});r({target:"Object",stat:!0,forced:h,sham:!c},{seal:function(a){return s&&i(a)?s(l(a)):a}})},77140:function(d,g,e){"use strict";var r=e(94488),i=e(58218);r({target:"Object",stat:!0},{setPrototypeOf:i})},15954:function(d,g,e){"use strict";var r=e(68527),i=e(2291),l=e(28488);r||i(Object.prototype,"toString",l,{unsafe:!0})},4266:function(d,g,e){"use strict";var r=e(94488),i=e(88698).values;r({target:"Object",stat:!0},{values:function(c){return i(c)}})},49988:function(d,g,e){"use strict";var r=e(94488),i=e(31280);r({global:!0,forced:parseFloat!==i},{parseFloat:i})},38823:function(d,g,e){"use strict";var r=e(94488),i=e(52446);r({global:!0,forced:parseInt!==i},{parseInt:i})},4045:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(73446),f=e(80734),s=e(62003),h=e(22093);r({target:"Promise",stat:!0,forced:h},{allSettled:function(a){var x=this,p=c.f(x),y=p.resolve,_=p.reject,b=f(function(){var S=l(x.resolve),R=[],L=0,C=1;s(a,function(D){var B=L++,$=!1;C++,i(S,x,D).then(function(U){$||($=!0,R[B]={status:"fulfilled",value:U},--C||y(R))},function(U){$||($=!0,R[B]={status:"rejected",reason:U},--C||y(R))})}),--C||y(R)});return b.error&&_(b.value),p.promise}})},12785:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(73446),f=e(80734),s=e(62003),h=e(22093);r({target:"Promise",stat:!0,forced:h},{all:function(a){var x=this,p=c.f(x),y=p.resolve,_=p.reject,b=f(function(){var S=l(x.resolve),R=[],L=0,C=1;s(a,function(D){var B=L++,$=!1;C++,i(S,x,D).then(function(U){$||($=!0,R[B]=U,--C||y(R))},_)}),--C||y(R)});return b.error&&_(b.value),p.promise}})},50747:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(65911),f=e(73446),s=e(80734),h=e(62003),u=e(22093),a="No one promise resolved";r({target:"Promise",stat:!0,forced:u},{any:function(p){var y=this,_=c("AggregateError"),b=f.f(y),S=b.resolve,R=b.reject,L=s(function(){var C=l(y.resolve),D=[],B=0,$=1,U=!1;h(p,function(K){var V=B++,G=!1;$++,i(C,y,K).then(function(oe){G||U||(U=!0,S(oe))},function(oe){G||U||(G=!0,D[V]=oe,--$||R(new _(D,a)))})}),--$||R(new _(D,a))});return L.error&&R(L.value),b.promise}})},41902:function(d,g,e){"use strict";var r=e(94488),i=e(16697),l=e(82830).CONSTRUCTOR,c=e(2451),f=e(65911),s=e(55327),h=e(2291),u=c&&c.prototype;if(r({target:"Promise",proto:!0,forced:l,real:!0},{catch:function(x){return this.then(void 0,x)}}),!i&&s(c)){var a=f("Promise").prototype.catch;u.catch!==a&&h(u,"catch",a,{unsafe:!0})}},90366:function(d,g,e){"use strict";var r=e(94488),i=e(16697),l=e(90946),c=e(92916),f=e(89945),s=e(2291),h=e(58218),u=e(94573),a=e(51996),x=e(63335),p=e(55327),y=e(31946),_=e(56472),b=e(60473),S=e(28887).set,R=e(72933),L=e(61810),C=e(80734),D=e(66790),B=e(94844),$=e(2451),U=e(82830),K=e(73446),V="Promise",G=U.CONSTRUCTOR,oe=U.REJECTION_EVENT,ae=U.SUBCLASSING,le=B.getterFor(V),q=B.set,J=$&&$.prototype,Y=$,ue=J,ne=c.TypeError,ee=c.document,ie=c.process,F=K.f,M=F,Q=!!(ee&&ee.createEvent&&c.dispatchEvent),de="unhandledrejection",we="rejectionhandled",Ce=0,je=1,Fe=2,Ft=1,_t=2,Pt,qt,er,Jt,Xe=function(Me){var $e;return y(Me)&&p($e=Me.then)?$e:!1},It=function(Me,$e){var He=$e.value,nt=$e.state===je,ct=nt?Me.ok:Me.fail,Vt=Me.resolve,Wt=Me.reject,De=Me.domain,qe,Gt,kt;try{ct?(nt||($e.rejection===_t&&Je($e),$e.rejection=Ft),ct===!0?qe=He:(De&&De.enter(),qe=ct(He),De&&(De.exit(),kt=!0)),qe===Me.promise?Wt(new ne("Promise-chain cycle")):(Gt=Xe(qe))?f(Gt,qe,Vt,Wt):Vt(qe)):Wt(He)}catch(Ht){De&&!kt&&De.exit(),Wt(Ht)}},zt=function(Me,$e){Me.notified||(Me.notified=!0,R(function(){for(var He=Me.reactions,nt;nt=He.get();)It(nt,Me);Me.notified=!1,$e&&!Me.rejection&&bt(Me)}))},st=function(Me,$e,He){var nt,ct;Q?(nt=ee.createEvent("Event"),nt.promise=$e,nt.reason=He,nt.initEvent(Me,!1,!0),c.dispatchEvent(nt)):nt={promise:$e,reason:He},!oe&&(ct=c["on"+Me])?ct(nt):Me===de&&L("Unhandled promise rejection",He)},bt=function(Me){f(S,c,function(){var $e=Me.facade,He=Me.value,nt=ht(Me),ct;if(nt&&(ct=C(function(){l?ie.emit("unhandledRejection",He,$e):st(de,$e,He)}),Me.rejection=l||ht(Me)?_t:Ft,ct.error))throw ct.value})},ht=function(Me){return Me.rejection!==Ft&&!Me.parent},Je=function(Me){f(S,c,function(){var $e=Me.facade;l?ie.emit("rejectionHandled",$e):st(we,$e,Me.value)})},Ue=function(Me,$e,He){return function(nt){Me($e,nt,He)}},ge=function(Me,$e,He){Me.done||(Me.done=!0,He&&(Me=He),Me.value=$e,Me.state=Fe,zt(Me,!0))},Ae=function(Me,$e,He){if(!Me.done){Me.done=!0,He&&(Me=He);try{if(Me.facade===$e)throw new ne("Promise can't be resolved itself");var nt=Xe($e);nt?R(function(){var ct={done:!1};try{f(nt,$e,Ue(Ae,ct,Me),Ue(ge,ct,Me))}catch(Vt){ge(ct,Vt,Me)}}):(Me.value=$e,Me.state=je,zt(Me,!1))}catch(ct){ge({done:!1},ct,Me)}}};if(G&&(Y=function($e){_(this,ue),x($e),f(Pt,this);var He=le(this);try{$e(Ue(Ae,He),Ue(ge,He))}catch(nt){ge(He,nt)}},ue=Y.prototype,Pt=function($e){q(this,{type:V,done:!1,notified:!1,parent:!1,reactions:new D,rejection:!1,state:Ce,value:void 0})},Pt.prototype=s(ue,"then",function($e,He){var nt=le(this),ct=F(b(this,Y));return nt.parent=!0,ct.ok=p($e)?$e:!0,ct.fail=p(He)&&He,ct.domain=l?ie.domain:void 0,nt.state===Ce?nt.reactions.add(ct):R(function(){It(ct,nt)}),ct.promise}),qt=function(){var Me=new Pt,$e=le(Me);this.promise=Me,this.resolve=Ue(Ae,$e),this.reject=Ue(ge,$e)},K.f=F=function(Me){return Me===Y||Me===er?new qt(Me):M(Me)},!i&&p($)&&J!==Object.prototype)){Jt=J.then,ae||s(J,"then",function($e,He){var nt=this;return new Y(function(ct,Vt){f(Jt,nt,ct,Vt)}).then($e,He)},{unsafe:!0});try{delete J.constructor}catch(Me){}h&&h(J,ue)}r({global:!0,constructor:!0,wrap:!0,forced:G},{Promise:Y}),u(Y,V,!1,!0),a(V)},43595:function(d,g,e){"use strict";var r=e(94488),i=e(16697),l=e(2451),c=e(3338),f=e(65911),s=e(55327),h=e(60473),u=e(15597),a=e(2291),x=l&&l.prototype,p=!!l&&c(function(){x.finally.call({then:function(){}},function(){})});if(r({target:"Promise",proto:!0,real:!0,forced:p},{finally:function(_){var b=h(this,f("Promise")),S=s(_);return this.then(S?function(R){return u(b,_()).then(function(){return R})}:_,S?function(R){return u(b,_()).then(function(){throw R})}:_)}}),!i&&s(l)){var y=f("Promise").prototype.finally;x.finally!==y&&a(x,"finally",y,{unsafe:!0})}},24627:function(d,g,e){"use strict";e(90366),e(12785),e(41902),e(20733),e(95693),e(81930)},20733:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(73446),f=e(80734),s=e(62003),h=e(22093);r({target:"Promise",stat:!0,forced:h},{race:function(a){var x=this,p=c.f(x),y=p.reject,_=f(function(){var b=l(x.resolve);s(a,function(S){i(b,x,S).then(p.resolve,y)})});return _.error&&y(_.value),p.promise}})},95693:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(73446),c=e(82830).CONSTRUCTOR;r({target:"Promise",stat:!0,forced:c},{reject:function(s){var h=l.f(this);return i(h.reject,void 0,s),h.promise}})},81930:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(16697),c=e(2451),f=e(82830).CONSTRUCTOR,s=e(15597),h=i("Promise"),u=l&&!f;r({target:"Promise",stat:!0,forced:l||f},{resolve:function(x){return s(u&&this===h?c:this,x)}})},92324:function(d,g,e){"use strict";var r=e(94488),i=e(73446);r({target:"Promise",stat:!0},{withResolvers:function(){var c=i.f(this);return{promise:c.promise,resolve:c.resolve,reject:c.reject}}})},23551:function(d,g,e){"use strict";var r=e(94488),i=e(13743),l=e(63335),c=e(80449),f=e(3338),s=!f(function(){Reflect.apply(function(){})});r({target:"Reflect",stat:!0,forced:s},{apply:function(u,a,x){return i(l(u),a,c(x))}})},74521:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(4645),f=e(6086),s=e(80449),h=e(31946),u=e(20132),a=e(3338),x=i("Reflect","construct"),p=Object.prototype,y=[].push,_=a(function(){function R(){}return!(x(function(){},[],R)instanceof R)}),b=!a(function(){x(function(){})}),S=_||b;r({target:"Reflect",stat:!0,forced:S,sham:S},{construct:function(L,C){f(L),s(C);var D=arguments.length<3?L:f(arguments[2]);if(b&&!_)return x(L,C,D);if(L===D){switch(C.length){case 0:return new L;case 1:return new L(C[0]);case 2:return new L(C[0],C[1]);case 3:return new L(C[0],C[1],C[2]);case 4:return new L(C[0],C[1],C[2],C[3])}var B=[null];return l(y,B,C),new(l(c,L,B))}var $=D.prototype,U=u(h($)?$:p),K=l(L,U,C);return h(K)?K:U}})},57891:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(80449),c=e(17818),f=e(37691),s=e(3338),h=s(function(){Reflect.defineProperty(f.f({},1,{value:1}),1,{value:2})});r({target:"Reflect",stat:!0,forced:h,sham:!i},{defineProperty:function(a,x,p){l(a);var y=c(x);l(p);try{return f.f(a,y,p),!0}catch(_){return!1}}})},84138:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(71256).f;r({target:"Reflect",stat:!0},{deleteProperty:function(f,s){var h=l(i(f),s);return h&&!h.configurable?!1:delete f[s]}})},37135:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(80449),c=e(71256);r({target:"Reflect",stat:!0,sham:!i},{getOwnPropertyDescriptor:function(s,h){return c.f(l(s),h)}})},6474:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(53456),c=e(4870);r({target:"Reflect",stat:!0,sham:!c},{getPrototypeOf:function(s){return l(i(s))}})},51832:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(31946),c=e(80449),f=e(60516),s=e(71256),h=e(53456);function u(a,x){var p=arguments.length<3?a:arguments[2],y,_;if(c(a)===p)return a[x];if(y=s.f(a,x),y)return f(y)?y.value:y.get===void 0?void 0:i(y.get,p);if(l(_=h(a)))return u(_,x,p)}r({target:"Reflect",stat:!0},{get:u})},40135:function(d,g,e){"use strict";var r=e(94488);r({target:"Reflect",stat:!0},{has:function(l,c){return c in l}})},7982:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(12477);r({target:"Reflect",stat:!0},{isExtensible:function(f){return i(f),l(f)}})},14893:function(d,g,e){"use strict";var r=e(94488),i=e(48662);r({target:"Reflect",stat:!0},{ownKeys:i})},49233:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(80449),c=e(13247);r({target:"Reflect",stat:!0,sham:!c},{preventExtensions:function(s){l(s);try{var h=i("Object","preventExtensions");return h&&h(s),!0}catch(u){return!1}}})},42844:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(557),c=e(58218);c&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(s,h){i(s),l(h);try{return c(s,h),!0}catch(u){return!1}}})},92130:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(31946),f=e(60516),s=e(3338),h=e(37691),u=e(71256),a=e(53456),x=e(35012);function p(_,b,S){var R=arguments.length<4?_:arguments[3],L=u.f(l(_),b),C,D,B;if(!L){if(c(D=a(_)))return p(D,b,S,R);L=x(0)}if(f(L)){if(L.writable===!1||!c(R))return!1;if(C=u.f(R,b)){if(C.get||C.set||C.writable===!1)return!1;C.value=S,h.f(R,b,C)}else h.f(R,b,x(0,S))}else{if(B=L.set,B===void 0)return!1;i(B,R,S)}return!0}var y=s(function(){var _=function(){},b=h.f(new _,"a",{configurable:!0});return Reflect.set(_.prototype,"a",1,b)!==!1});r({target:"Reflect",stat:!0,forced:y},{set:p})},6536:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94573);r({global:!0},{Reflect:{}}),l(i.Reflect,"Reflect",!0)},27228:function(d,g,e){"use strict";var r=e(35454),i=e(92916),l=e(94237),c=e(20865),f=e(25576),s=e(68151),h=e(20132),u=e(80689).f,a=e(16332),x=e(44639),p=e(69905),y=e(81644),_=e(19286),b=e(44166),S=e(2291),R=e(3338),L=e(32621),C=e(94844).enforce,D=e(51996),B=e(59893),$=e(6041),U=e(51224),K=B("match"),V=i.RegExp,G=V.prototype,oe=i.SyntaxError,ae=l(G.exec),le=l("".charAt),q=l("".replace),J=l("".indexOf),Y=l("".slice),ue=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ne=/a/g,ee=/a/g,ie=new V(ne)!==ne,F=_.MISSED_STICKY,M=_.UNSUPPORTED_Y,Q=r&&(!ie||F||$||U||R(function(){return ee[K]=!1,V(ne)!==ne||V(ee)===ee||String(V(ne,"i"))!=="/a/i"})),de=function(Ft){for(var _t=Ft.length,Pt=0,qt="",er=!1,Jt;Pt<=_t;Pt++){if(Jt=le(Ft,Pt),Jt==="\\"){qt+=Jt+le(Ft,++Pt);continue}!er&&Jt==="."?qt+="[\\s\\S]":(Jt==="["?er=!0:Jt==="]"&&(er=!1),qt+=Jt)}return qt},we=function(Ft){for(var _t=Ft.length,Pt=0,qt="",er=[],Jt=h(null),Xe=!1,It=!1,zt=0,st="",bt;Pt<=_t;Pt++){if(bt=le(Ft,Pt),bt==="\\")bt+=le(Ft,++Pt);else if(bt==="]")Xe=!1;else if(!Xe)switch(!0){case bt==="[":Xe=!0;break;case bt==="(":ae(ue,Y(Ft,Pt+1))&&(Pt+=2,It=!0),qt+=bt,zt++;continue;case(bt===">"&&It):if(st===""||L(Jt,st))throw new oe("Invalid capture group name");Jt[st]=!0,er[er.length]=[st,zt],It=!1,st="";continue}It?st+=bt:qt+=bt}return[qt,er]};if(c("RegExp",Q)){for(var Ce=function(_t,Pt){var qt=a(G,this),er=x(_t),Jt=Pt===void 0,Xe=[],It=_t,zt,st,bt,ht,Je,Ue;if(!qt&&er&&Jt&&_t.constructor===Ce)return _t;if((er||a(G,_t))&&(_t=_t.source,Jt&&(Pt=y(It))),_t=_t===void 0?"":p(_t),Pt=Pt===void 0?"":p(Pt),It=_t,$&&"dotAll"in ne&&(st=!!Pt&&J(Pt,"s")>-1,st&&(Pt=q(Pt,/s/g,""))),zt=Pt,F&&"sticky"in ne&&(bt=!!Pt&&J(Pt,"y")>-1,bt&&M&&(Pt=q(Pt,/y/g,""))),U&&(ht=we(_t),_t=ht[0],Xe=ht[1]),Je=f(V(_t,Pt),qt?this:G,Ce),(st||bt||Xe.length)&&(Ue=C(Je),st&&(Ue.dotAll=!0,Ue.raw=Ce(de(_t),zt)),bt&&(Ue.sticky=!0),Xe.length&&(Ue.groups=Xe)),_t!==It)try{s(Je,"source",It===""?"(?:)":It)}catch(ge){}return Je},je=u(V),Fe=0;je.length>Fe;)b(Ce,V,je[Fe++]);G.constructor=Ce,Ce.prototype=G,S(i,"RegExp",Ce,{constructor:!0})}D("RegExp")},62921:function(d,g,e){"use strict";var r=e(35454),i=e(6041),l=e(29076),c=e(64110),f=e(94844).get,s=RegExp.prototype,h=TypeError;r&&i&&c(s,"dotAll",{configurable:!0,get:function(){if(this!==s){if(l(this)==="RegExp")return!!f(this).dotAll;throw new h("Incompatible receiver, RegExp required")}}})},44001:function(d,g,e){"use strict";var r=e(94488),i=e(88736);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},92262:function(d,g,e){"use strict";var r=e(92916),i=e(35454),l=e(64110),c=e(82163),f=e(3338),s=r.RegExp,h=s.prototype,u=i&&f(function(){var a=!0;try{s(".","d")}catch(L){a=!1}var x={},p="",y=a?"dgimsy":"gimsy",_=function(L,C){Object.defineProperty(x,L,{get:function(){return p+=C,!0}})},b={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};a&&(b.hasIndices="d");for(var S in b)_(S,b[S]);var R=Object.getOwnPropertyDescriptor(h,"flags").get.call(x);return R!==y||p!==y});u&&l(h,"flags",{configurable:!0,get:c})},54744:function(d,g,e){"use strict";var r=e(35454),i=e(19286).MISSED_STICKY,l=e(29076),c=e(64110),f=e(94844).get,s=RegExp.prototype,h=TypeError;r&&i&&c(s,"sticky",{configurable:!0,get:function(){if(this!==s){if(l(this)==="RegExp")return!!f(this).sticky;throw new h("Incompatible receiver, RegExp required")}}})},38214:function(d,g,e){"use strict";e(44001);var r=e(94488),i=e(89945),l=e(55327),c=e(80449),f=e(69905),s=function(){var u=!1,a=/[ac]/;return a.exec=function(){return u=!0,/./.exec.apply(this,arguments)},a.test("abc")===!0&&u}(),h=/./.test;r({target:"RegExp",proto:!0,forced:!s},{test:function(u){var a=c(this),x=f(u),p=a.exec;if(!l(p))return i(h,a,x);var y=i(p,a,x);return y===null?!1:(c(y),!0)}})},12756:function(d,g,e){"use strict";var r=e(8090).PROPER,i=e(2291),l=e(80449),c=e(69905),f=e(3338),s=e(81644),h="toString",u=RegExp.prototype,a=u[h],x=f(function(){return a.call({source:"a",flags:"b"})!=="/a/b"}),p=r&&a.name!==h;(x||p)&&i(RegExp.prototype,h,function(){var _=l(this),b=c(_.source),S=c(s(_));return"/"+b+"/"+S},{unsafe:!0})},69772:function(d,g,e){"use strict";var r=e(48059),i=e(40942);r("Set",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},93379:function(d,g,e){"use strict";e(69772)},34932:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("anchor")},{anchor:function(f){return i(this,"a","name",f)}})},62007:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(56902),f=e(69905),s=e(3338),h=i("".charAt),u=s(function(){return"\u{20BB7}".at(-2)!=="\uD842"});r({target:"String",proto:!0,forced:u},{at:function(x){var p=f(l(this)),y=p.length,_=c(x),b=_>=0?_:y+_;return b<0||b>=y?void 0:h(p,b)}})},81046:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("big")},{big:function(){return i(this,"big","","")}})},85744:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("blink")},{blink:function(){return i(this,"blink","","")}})},13494:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("bold")},{bold:function(){return i(this,"b","","")}})},90572:function(d,g,e){"use strict";var r=e(94488),i=e(13764).codeAt;r({target:"String",proto:!0},{codePointAt:function(c){return i(this,c)}})},37343:function(d,g,e){"use strict";var r=e(94488),i=e(34114),l=e(71256).f,c=e(61578),f=e(69905),s=e(41696),h=e(95955),u=e(86266),a=e(16697),x=i("".endsWith),p=i("".slice),y=Math.min,_=u("endsWith"),b=!a&&!_&&!!function(){var S=l(String.prototype,"endsWith");return S&&!S.writable}();r({target:"String",proto:!0,forced:!b&&!_},{endsWith:function(R){var L=f(h(this));s(R);var C=arguments.length>1?arguments[1]:void 0,D=L.length,B=C===void 0?D:y(c(C),D),$=f(R);return x?x(L,$,B):p(L,B-$.length,B)===$}})},56338:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fixed")},{fixed:function(){return i(this,"tt","","")}})},66755:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fontcolor")},{fontcolor:function(f){return i(this,"font","color",f)}})},68709:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fontsize")},{fontsize:function(f){return i(this,"font","size",f)}})},45945:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(51981),c=RangeError,f=String.fromCharCode,s=String.fromCodePoint,h=i([].join),u=!!s&&s.length!==1;r({target:"String",stat:!0,arity:1,forced:u},{fromCodePoint:function(x){for(var p=[],y=arguments.length,_=0,b;y>_;){if(b=+arguments[_++],l(b,1114111)!==b)throw new c(b+" is not a valid code point");p[_]=b<65536?f(b):f(((b-=65536)>>10)+55296,b%1024+56320)}return h(p,"")}})},75551:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(41696),c=e(95955),f=e(69905),s=e(86266),h=i("".indexOf);r({target:"String",proto:!0,forced:!s("includes")},{includes:function(a){return!!~h(f(c(this)),f(l(a)),arguments.length>1?arguments[1]:void 0)}})},32493:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(69905),f=i("".charCodeAt);r({target:"String",proto:!0},{isWellFormed:function(){for(var h=c(l(this)),u=h.length,a=0;a<u;a++){var x=f(h,a);if((x&63488)===55296&&(x>=56320||++a>=u||(f(h,a)&64512)!==56320))return!1}return!0}})},4939:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("italics")},{italics:function(){return i(this,"i","","")}})},20852:function(d,g,e){"use strict";var r=e(13764).charAt,i=e(69905),l=e(94844),c=e(24019),f=e(25587),s="String Iterator",h=l.set,u=l.getterFor(s);c(String,"String",function(a){h(this,{type:s,string:i(a),index:0})},function(){var x=u(this),p=x.string,y=x.index,_;return y>=p.length?f(void 0,!0):(_=r(p,y),x.index+=_.length,f(_,!1))})},81927:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("link")},{link:function(f){return i(this,"a","href",f)}})},18827:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(34114),c=e(83126),f=e(25587),s=e(95955),h=e(61578),u=e(69905),a=e(80449),x=e(4112),p=e(29076),y=e(44639),_=e(81644),b=e(53776),S=e(2291),R=e(3338),L=e(59893),C=e(60473),D=e(52216),B=e(94338),$=e(94844),U=e(16697),K=L("matchAll"),V="RegExp String",G=V+" Iterator",oe=$.set,ae=$.getterFor(G),le=RegExp.prototype,q=TypeError,J=l("".indexOf),Y=l("".matchAll),ue=!!Y&&!R(function(){Y("a",/./)}),ne=c(function(F,M,Q,de){oe(this,{type:G,regexp:F,string:M,global:Q,unicode:de,done:!1})},V,function(){var F=ae(this);if(F.done)return f(void 0,!0);var M=F.regexp,Q=F.string,de=B(M,Q);return de===null?(F.done=!0,f(void 0,!0)):F.global?(u(de[0])===""&&(M.lastIndex=D(Q,h(M.lastIndex),F.unicode)),f(de,!1)):(F.done=!0,f(de,!1))}),ee=function(ie){var F=a(this),M=u(ie),Q=C(F,RegExp),de=u(_(F)),we,Ce,je;return we=new Q(Q===RegExp?F.source:F,de),Ce=!!~J(de,"g"),je=!!~J(de,"u"),we.lastIndex=h(F.lastIndex),new ne(we,M,Ce,je)};r({target:"String",proto:!0,forced:ue},{matchAll:function(F){var M=s(this),Q,de,we,Ce;if(x(F)){if(ue)return Y(M,F)}else{if(y(F)&&(Q=u(s(_(F))),!~J(Q,"g")))throw new q("`.matchAll` does not allow non-global regexes");if(ue)return Y(M,F);if(we=b(F,K),we===void 0&&U&&p(F)==="RegExp"&&(we=ee),we)return i(we,F,M)}return de=u(M),Ce=new RegExp(F,"g"),U?i(ee,Ce,de):Ce[K](de)}}),U||K in le||S(le,K,ee)},46302:function(d,g,e){"use strict";var r=e(89945),i=e(8662),l=e(80449),c=e(4112),f=e(61578),s=e(69905),h=e(95955),u=e(53776),a=e(52216),x=e(94338);i("match",function(p,y,_){return[function(S){var R=h(this),L=c(S)?void 0:u(S,p);return L?r(L,S,R):new RegExp(S)[p](s(R))},function(b){var S=l(this),R=s(b),L=_(y,S,R);if(L.done)return L.value;if(!S.global)return x(S,R);var C=S.unicode;S.lastIndex=0;for(var D=[],B=0,$;($=x(S,R))!==null;){var U=s($[0]);D[B]=U,U===""&&(S.lastIndex=a(R,f(S.lastIndex),C)),B++}return B===0?null:D}]})},76718:function(d,g,e){"use strict";var r=e(94488),i=e(85571).end,l=e(98352);r({target:"String",proto:!0,forced:l},{padEnd:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}})},79172:function(d,g,e){"use strict";var r=e(94488),i=e(85571).start,l=e(98352);r({target:"String",proto:!0,forced:l},{padStart:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}})},32192:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(80524),c=e(94029),f=e(69905),s=e(82762),h=i([].push),u=i([].join);r({target:"String",stat:!0},{raw:function(x){var p=l(c(x).raw),y=s(p);if(!y)return"";for(var _=arguments.length,b=[],S=0;;){if(h(b,f(p[S++])),S===y)return u(b,"");S<_&&h(b,f(arguments[S]))}}})},42828:function(d,g,e){"use strict";var r=e(94488),i=e(71049);r({target:"String",proto:!0},{repeat:i})},55629:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(94237),c=e(95955),f=e(55327),s=e(4112),h=e(44639),u=e(69905),a=e(53776),x=e(81644),p=e(23011),y=e(59893),_=e(16697),b=y("replace"),S=TypeError,R=l("".indexOf),L=l("".replace),C=l("".slice),D=Math.max,B=function($,U,K){return K>$.length?-1:U===""?K:R($,U,K)};r({target:"String",proto:!0},{replaceAll:function(U,K){var V=c(this),G,oe,ae,le,q,J,Y,ue,ne,ee=0,ie=0,F="";if(!s(U)){if(G=h(U),G&&(oe=u(c(x(U))),!~R(oe,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if(ae=a(U,b),ae)return i(ae,U,V,K);if(_&&G)return L(u(V),U,K)}for(le=u(V),q=u(U),J=f(K),J||(K=u(K)),Y=q.length,ue=D(1,Y),ee=B(le,q,0);ee!==-1;)ne=J?u(K(q,ee,le)):p(q,le,ee,[],void 0,K),F+=C(le,ie,ee)+ne,ie=ee+Y,ee=B(le,q,ee+ue);return ie<le.length&&(F+=C(le,ie)),F}})},5658:function(d,g,e){"use strict";var r=e(13743),i=e(89945),l=e(94237),c=e(8662),f=e(3338),s=e(80449),h=e(55327),u=e(4112),a=e(56902),x=e(61578),p=e(69905),y=e(95955),_=e(52216),b=e(53776),S=e(23011),R=e(94338),L=e(59893),C=L("replace"),D=Math.max,B=Math.min,$=l([].concat),U=l([].push),K=l("".indexOf),V=l("".slice),G=function(q){return q===void 0?q:String(q)},oe=function(){return"a".replace(/./,"$0")==="$0"}(),ae=function(){return/./[C]?/./[C]("a","$0")==="":!1}(),le=!f(function(){var q=/./;return q.exec=function(){var J=[];return J.groups={a:"7"},J},"".replace(q,"$<a>")!=="7"});c("replace",function(q,J,Y){var ue=ae?"$":"$0";return[function(ee,ie){var F=y(this),M=u(ee)?void 0:b(ee,C);return M?i(M,ee,F,ie):i(J,p(F),ee,ie)},function(ne,ee){var ie=s(this),F=p(ne);if(typeof ee=="string"&&K(ee,ue)===-1&&K(ee,"$<")===-1){var M=Y(J,ie,F,ee);if(M.done)return M.value}var Q=h(ee);Q||(ee=p(ee));var de=ie.global,we;de&&(we=ie.unicode,ie.lastIndex=0);for(var Ce=[],je;je=R(ie,F),!(je===null||(U(Ce,je),!de));){var Fe=p(je[0]);Fe===""&&(ie.lastIndex=_(F,x(ie.lastIndex),we))}for(var Ft="",_t=0,Pt=0;Pt<Ce.length;Pt++){je=Ce[Pt];for(var qt=p(je[0]),er=D(B(a(je.index),F.length),0),Jt=[],Xe,It=1;It<je.length;It++)U(Jt,G(je[It]));var zt=je.groups;if(Q){var st=$([qt],Jt,er,F);zt!==void 0&&U(st,zt),Xe=p(r(ee,void 0,st))}else Xe=S(qt,F,er,Jt,zt,ee);er>=_t&&(Ft+=V(F,_t,er)+Xe,_t=er+qt.length)}return Ft+V(F,_t)}]},!le||!oe||ae)},62925:function(d,g,e){"use strict";var r=e(89945),i=e(8662),l=e(80449),c=e(4112),f=e(95955),s=e(5370),h=e(69905),u=e(53776),a=e(94338);i("search",function(x,p,y){return[function(b){var S=f(this),R=c(b)?void 0:u(b,x);return R?r(R,b,S):new RegExp(b)[x](h(S))},function(_){var b=l(this),S=h(_),R=y(p,b,S);if(R.done)return R.value;var L=b.lastIndex;s(L,0)||(b.lastIndex=0);var C=a(b,S);return s(b.lastIndex,L)||(b.lastIndex=L),C===null?-1:C.index}]})},60462:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("small")},{small:function(){return i(this,"small","","")}})},9595:function(d,g,e){"use strict";var r=e(13743),i=e(89945),l=e(94237),c=e(8662),f=e(80449),s=e(4112),h=e(44639),u=e(95955),a=e(60473),x=e(52216),p=e(61578),y=e(69905),_=e(53776),b=e(71698),S=e(94338),R=e(88736),L=e(19286),C=e(3338),D=L.UNSUPPORTED_Y,B=4294967295,$=Math.min,U=[].push,K=l(/./.exec),V=l(U),G=l("".slice),oe=!C(function(){var ae=/(?:)/,le=ae.exec;ae.exec=function(){return le.apply(this,arguments)};var q="ab".split(ae);return q.length!==2||q[0]!=="a"||q[1]!=="b"});c("split",function(ae,le,q){var J;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?J=function(Y,ue){var ne=y(u(this)),ee=ue===void 0?B:ue>>>0;if(ee===0)return[];if(Y===void 0)return[ne];if(!h(Y))return i(le,ne,Y,ee);for(var ie=[],F=(Y.ignoreCase?"i":"")+(Y.multiline?"m":"")+(Y.unicode?"u":"")+(Y.sticky?"y":""),M=0,Q=new RegExp(Y.source,F+"g"),de,we,Ce;(de=i(R,Q,ne))&&(we=Q.lastIndex,!(we>M&&(V(ie,G(ne,M,de.index)),de.length>1&&de.index<ne.length&&r(U,ie,b(de,1)),Ce=de[0].length,M=we,ie.length>=ee)));)Q.lastIndex===de.index&&Q.lastIndex++;return M===ne.length?(Ce||!K(Q,""))&&V(ie,""):V(ie,G(ne,M)),ie.length>ee?b(ie,0,ee):ie}:"0".split(void 0,0).length?J=function(Y,ue){return Y===void 0&&ue===0?[]:i(le,this,Y,ue)}:J=le,[function(ue,ne){var ee=u(this),ie=s(ue)?void 0:_(ue,ae);return ie?i(ie,ue,ee,ne):i(J,y(ee),ue,ne)},function(Y,ue){var ne=f(this),ee=y(Y),ie=q(J,ne,ee,ue,J!==le);if(ie.done)return ie.value;var F=a(ne,RegExp),M=ne.unicode,Q=(ne.ignoreCase?"i":"")+(ne.multiline?"m":"")+(ne.unicode?"u":"")+(D?"g":"y"),de=new F(D?"^(?:"+ne.source+")":ne,Q),we=ue===void 0?B:ue>>>0;if(we===0)return[];if(ee.length===0)return S(de,ee)===null?[ee]:[];for(var Ce=0,je=0,Fe=[];je<ee.length;){de.lastIndex=D?0:je;var Ft=S(de,D?G(ee,je):ee),_t;if(Ft===null||(_t=$(p(de.lastIndex+(D?je:0)),ee.length))===Ce)je=x(ee,je,M);else{if(V(Fe,G(ee,Ce,je)),Fe.length===we)return Fe;for(var Pt=1;Pt<=Ft.length-1;Pt++)if(V(Fe,Ft[Pt]),Fe.length===we)return Fe;je=Ce=_t}}return V(Fe,G(ee,Ce)),Fe}]},!oe,D)},58127:function(d,g,e){"use strict";var r=e(94488),i=e(34114),l=e(71256).f,c=e(61578),f=e(69905),s=e(41696),h=e(95955),u=e(86266),a=e(16697),x=i("".startsWith),p=i("".slice),y=Math.min,_=u("startsWith"),b=!a&&!_&&!!function(){var S=l(String.prototype,"startsWith");return S&&!S.writable}();r({target:"String",proto:!0,forced:!b&&!_},{startsWith:function(R){var L=f(h(this));s(R);var C=c(y(arguments.length>1?arguments[1]:void 0,L.length)),D=f(R);return x?x(L,D,C):p(L,C,C+D.length)===D}})},72571:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("strike")},{strike:function(){return i(this,"strike","","")}})},71200:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("sub")},{sub:function(){return i(this,"sub","","")}})},70917:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(56902),f=e(69905),s=i("".slice),h=Math.max,u=Math.min,a=!"".substr||"ab".substr(-1)!=="b";r({target:"String",proto:!0,forced:a},{substr:function(p,y){var _=f(l(this)),b=_.length,S=c(p),R,L;return S===1/0&&(S=0),S<0&&(S=h(b+S,0)),R=y===void 0?b:c(y),R<=0||R===1/0?"":(L=u(S+R,b),S>=L?"":s(_,S,L))}})},85767:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("sup")},{sup:function(){return i(this,"sup","","")}})},53427:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(94237),c=e(95955),f=e(69905),s=e(3338),h=Array,u=l("".charAt),a=l("".charCodeAt),x=l([].join),p="".toWellFormed,y="\uFFFD",_=p&&s(function(){return i(p,1)!=="1"});r({target:"String",proto:!0,forced:_},{toWellFormed:function(){var S=f(c(this));if(_)return i(p,S);for(var R=S.length,L=h(R),C=0;C<R;C++){var D=a(S,C);(D&63488)!==55296?L[C]=u(S,C):D>=56320||C+1>=R||(a(S,C+1)&64512)!==56320?L[C]=y:(L[C]=u(S,C),L[++C]=u(S,C))}return x(L,"")}})},49257:function(d,g,e){"use strict";e(20189);var r=e(94488),i=e(9591);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==i},{trimEnd:i})},93980:function(d,g,e){"use strict";var r=e(94488),i=e(27374);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==i},{trimLeft:i})},20189:function(d,g,e){"use strict";var r=e(94488),i=e(9591);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==i},{trimRight:i})},72910:function(d,g,e){"use strict";e(93980);var r=e(94488),i=e(27374);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==i},{trimStart:i})},70878:function(d,g,e){"use strict";var r=e(94488),i=e(52971).trim,l=e(18105);r({target:"String",proto:!0,forced:l("trim")},{trim:function(){return i(this)}})},64003:function(d,g,e){"use strict";var r=e(94674);r("asyncIterator")},39161:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(89945),c=e(94237),f=e(16697),s=e(35454),h=e(42820),u=e(3338),a=e(32621),x=e(16332),p=e(80449),y=e(80524),_=e(17818),b=e(69905),S=e(35012),R=e(20132),L=e(7733),C=e(80689),D=e(53393),B=e(92635),$=e(71256),U=e(37691),K=e(55666),V=e(27597),G=e(2291),oe=e(64110),ae=e(77898),le=e(11898),q=e(54406),J=e(6145),Y=e(59893),ue=e(38282),ne=e(94674),ee=e(14311),ie=e(94573),F=e(94844),M=e(90560).forEach,Q=le("hidden"),de="Symbol",we="prototype",Ce=F.set,je=F.getterFor(de),Fe=Object[we],Ft=i.Symbol,_t=Ft&&Ft[we],Pt=i.RangeError,qt=i.TypeError,er=i.QObject,Jt=$.f,Xe=U.f,It=D.f,zt=V.f,st=c([].push),bt=ae("symbols"),ht=ae("op-symbols"),Je=ae("wks"),Ue=!er||!er[we]||!er[we].findChild,ge=function(qe,Gt,kt){var Ht=Jt(Fe,Gt);Ht&&delete Fe[Gt],Xe(qe,Gt,kt),Ht&&qe!==Fe&&Xe(Fe,Gt,Ht)},Ae=s&&u(function(){return R(Xe({},"a",{get:function(){return Xe(this,"a",{value:7}).a}})).a!==7})?ge:Xe,Me=function(qe,Gt){var kt=bt[qe]=R(_t);return Ce(kt,{type:de,tag:qe,description:Gt}),s||(kt.description=Gt),kt},$e=function(Gt,kt,Ht){Gt===Fe&&$e(ht,kt,Ht),p(Gt);var $t=_(kt);return p(Ht),a(bt,$t)?(Ht.enumerable?(a(Gt,Q)&&Gt[Q][$t]&&(Gt[Q][$t]=!1),Ht=R(Ht,{enumerable:S(0,!1)})):(a(Gt,Q)||Xe(Gt,Q,S(1,{})),Gt[Q][$t]=!0),Ae(Gt,$t,Ht)):Xe(Gt,$t,Ht)},He=function(Gt,kt){p(Gt);var Ht=y(kt),$t=L(Ht).concat(De(Ht));return M($t,function(Ct){(!s||l(ct,Ht,Ct))&&$e(Gt,Ct,Ht[Ct])}),Gt},nt=function(Gt,kt){return kt===void 0?R(Gt):He(R(Gt),kt)},ct=function(Gt){var kt=_(Gt),Ht=l(zt,this,kt);return this===Fe&&a(bt,kt)&&!a(ht,kt)?!1:Ht||!a(this,kt)||!a(bt,kt)||a(this,Q)&&this[Q][kt]?Ht:!0},Vt=function(Gt,kt){var Ht=y(Gt),$t=_(kt);if(!(Ht===Fe&&a(bt,$t)&&!a(ht,$t))){var Ct=Jt(Ht,$t);return Ct&&a(bt,$t)&&!(a(Ht,Q)&&Ht[Q][$t])&&(Ct.enumerable=!0),Ct}},Wt=function(Gt){var kt=It(y(Gt)),Ht=[];return M(kt,function($t){!a(bt,$t)&&!a(q,$t)&&st(Ht,$t)}),Ht},De=function(qe){var Gt=qe===Fe,kt=It(Gt?ht:y(qe)),Ht=[];return M(kt,function($t){a(bt,$t)&&(!Gt||a(Fe,$t))&&st(Ht,bt[$t])}),Ht};h||(Ft=function(){if(x(_t,this))throw new qt("Symbol is not a constructor");var Gt=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),kt=J(Gt),Ht=function($t){var Ct=this===void 0?i:this;Ct===Fe&&l(Ht,ht,$t),a(Ct,Q)&&a(Ct[Q],kt)&&(Ct[Q][kt]=!1);var Yt=S(1,$t);try{Ae(Ct,kt,Yt)}catch(We){if(!(We instanceof Pt))throw We;ge(Ct,kt,Yt)}};return s&&Ue&&Ae(Fe,kt,{configurable:!0,set:Ht}),Me(kt,Gt)},_t=Ft[we],G(_t,"toString",function(){return je(this).tag}),G(Ft,"withoutSetter",function(qe){return Me(J(qe),qe)}),V.f=ct,U.f=$e,K.f=He,$.f=Vt,C.f=D.f=Wt,B.f=De,ue.f=function(qe){return Me(Y(qe),qe)},s&&(oe(_t,"description",{configurable:!0,get:function(){return je(this).description}}),f||G(Fe,"propertyIsEnumerable",ct,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Ft}),M(L(Je),function(qe){ne(qe)}),r({target:de,stat:!0,forced:!h},{useSetter:function(){Ue=!0},useSimple:function(){Ue=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!s},{create:nt,defineProperty:$e,defineProperties:He,getOwnPropertyDescriptor:Vt}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Wt}),ee(),ie(Ft,de),q[Q]=!0},44852:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(92916),c=e(94237),f=e(32621),s=e(55327),h=e(16332),u=e(69905),a=e(64110),x=e(24538),p=l.Symbol,y=p&&p.prototype;if(i&&s(p)&&(!("description"in y)||p().description!==void 0)){var _={},b=function(){var U=arguments.length<1||arguments[0]===void 0?void 0:u(arguments[0]),K=h(y,this)?new p(U):U===void 0?p():p(U);return U===""&&(_[K]=!0),K};x(b,p),b.prototype=y,y.constructor=b;var S=String(p("description detection"))==="Symbol(description detection)",R=c(y.valueOf),L=c(y.toString),C=/^Symbol\((.*)\)[^)]+$/,D=c("".replace),B=c("".slice);a(y,"description",{configurable:!0,get:function(){var U=R(this);if(f(_,U))return"";var K=L(U),V=S?B(K,7,-1):D(K,C,"$1");return V===""?void 0:V}}),r({global:!0,constructor:!0,forced:!0},{Symbol:b})}},54524:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(32621),c=e(69905),f=e(77898),s=e(60798),h=f("string-to-symbol-registry"),u=f("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{for:function(a){var x=c(a);if(l(h,x))return h[x];var p=i("Symbol")(x);return h[x]=p,u[p]=x,p}})},17898:function(d,g,e){"use strict";var r=e(94674);r("hasInstance")},40902:function(d,g,e){"use strict";var r=e(94674);r("isConcatSpreadable")},2259:function(d,g,e){"use strict";var r=e(94674);r("iterator")},68557:function(d,g,e){"use strict";e(39161),e(54524),e(32340),e(54226),e(67936)},32340:function(d,g,e){"use strict";var r=e(94488),i=e(32621),l=e(18446),c=e(40593),f=e(77898),s=e(60798),h=f("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{keyFor:function(a){if(!l(a))throw new TypeError(c(a)+" is not a symbol");if(i(h,a))return h[a]}})},69811:function(d,g,e){"use strict";var r=e(94674);r("matchAll")},14589:function(d,g,e){"use strict";var r=e(94674);r("match")},18114:function(d,g,e){"use strict";var r=e(94674);r("replace")},23844:function(d,g,e){"use strict";var r=e(94674);r("search")},39581:function(d,g,e){"use strict";var r=e(94674);r("species")},40632:function(d,g,e){"use strict";var r=e(94674);r("split")},22690:function(d,g,e){"use strict";var r=e(94674),i=e(14311);r("toPrimitive"),i()},7786:function(d,g,e){"use strict";var r=e(65911),i=e(94674),l=e(94573);i("toStringTag"),l(r("Symbol"),"Symbol")},99062:function(d,g,e){"use strict";var r=e(94674);r("unscopables")},35246:function(d,g,e){"use strict";var r=e(58261),i=e(82762),l=e(56902),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("at",function(h){var u=c(this),a=i(u),x=l(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:u[p]})},83470:function(d,g,e){"use strict";var r=e(94237),i=e(58261),l=e(92670),c=r(l),f=i.aTypedArray,s=i.exportTypedArrayMethod;s("copyWithin",function(u,a){return c(f(this),u,a,arguments.length>2?arguments[2]:void 0)})},79641:function(d,g,e){"use strict";var r=e(58261),i=e(90560).every,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("every",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},72397:function(d,g,e){"use strict";var r=e(58261),i=e(75202),l=e(93303),c=e(97607),f=e(89945),s=e(94237),h=e(3338),u=r.aTypedArray,a=r.exportTypedArrayMethod,x=s("".slice),p=h(function(){var y=0;return new Int8Array(2).fill({valueOf:function(){return y++}}),y!==1});a("fill",function(_){var b=arguments.length;u(this);var S=x(c(this),0,3)==="Big"?l(_):+_;return f(i,this,S,b>1?arguments[1]:void 0,b>2?arguments[2]:void 0)},p)},24860:function(d,g,e){"use strict";var r=e(58261),i=e(90560).filter,l=e(27607),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("filter",function(h){var u=i(c(this),h,arguments.length>1?arguments[1]:void 0);return l(this,u)})},56233:function(d,g,e){"use strict";var r=e(58261),i=e(90560).findIndex,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("findIndex",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},64344:function(d,g,e){"use strict";var r=e(58261),i=e(53279).findLastIndex,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("findLastIndex",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},59419:function(d,g,e){"use strict";var r=e(58261),i=e(53279).findLast,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("findLast",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},19320:function(d,g,e){"use strict";var r=e(58261),i=e(90560).find,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("find",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},84432:function(d,g,e){"use strict";var r=e(69733);r("Float32",function(i){return function(c,f,s){return i(this,c,f,s)}})},59022:function(d,g,e){"use strict";var r=e(69733);r("Float64",function(i){return function(c,f,s){return i(this,c,f,s)}})},5316:function(d,g,e){"use strict";var r=e(58261),i=e(90560).forEach,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("forEach",function(s){i(l(this),s,arguments.length>1?arguments[1]:void 0)})},93744:function(d,g,e){"use strict";var r=e(59627),i=e(58261).exportTypedArrayStaticMethod,l=e(50706);i("from",l,r)},19299:function(d,g,e){"use strict";var r=e(58261),i=e(22999).includes,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("includes",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},15286:function(d,g,e){"use strict";var r=e(58261),i=e(22999).indexOf,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("indexOf",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},51054:function(d,g,e){"use strict";var r=e(69733);r("Int16",function(i){return function(c,f,s){return i(this,c,f,s)}})},60330:function(d,g,e){"use strict";var r=e(69733);r("Int32",function(i){return function(c,f,s){return i(this,c,f,s)}})},19363:function(d,g,e){"use strict";var r=e(69733);r("Int8",function(i){return function(c,f,s){return i(this,c,f,s)}})},91927:function(d,g,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(58261),f=e(11005),s=e(59893),h=s("iterator"),u=r.Uint8Array,a=l(f.values),x=l(f.keys),p=l(f.entries),y=c.aTypedArray,_=c.exportTypedArrayMethod,b=u&&u.prototype,S=!i(function(){b[h].call([1])}),R=!!b&&b.values&&b[h]===b.values&&b.values.name==="values",L=function(){return a(y(this))};_("entries",function(){return p(y(this))},S),_("keys",function(){return x(y(this))},S),_("values",L,S||!R,{name:"values"}),_(h,L,S||!R,{name:"values"})},27730:function(d,g,e){"use strict";var r=e(58261),i=e(94237),l=r.aTypedArray,c=r.exportTypedArrayMethod,f=i([].join);c("join",function(h){return f(l(this),h)})},58707:function(d,g,e){"use strict";var r=e(58261),i=e(13743),l=e(55009),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("lastIndexOf",function(h){var u=arguments.length;return i(l,c(this),u>1?[h,arguments[1]]:[h])})},41356:function(d,g,e){"use strict";var r=e(58261),i=e(90560).map,l=e(31384),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("map",function(h){return i(c(this),h,arguments.length>1?arguments[1]:void 0,function(u,a){return new(l(u))(a)})})},51606:function(d,g,e){"use strict";var r=e(58261),i=e(59627),l=r.aTypedArrayConstructor,c=r.exportTypedArrayStaticMethod;c("of",function(){for(var s=0,h=arguments.length,u=new(l(this))(h);h>s;)u[s]=arguments[s++];return u},i)},38458:function(d,g,e){"use strict";var r=e(58261),i=e(16370).right,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("reduceRight",function(s){var h=arguments.length;return i(l(this),s,h,h>1?arguments[1]:void 0)})},8966:function(d,g,e){"use strict";var r=e(58261),i=e(16370).left,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("reduce",function(s){var h=arguments.length;return i(l(this),s,h,h>1?arguments[1]:void 0)})},71957:function(d,g,e){"use strict";var r=e(58261),i=r.aTypedArray,l=r.exportTypedArrayMethod,c=Math.floor;l("reverse",function(){for(var s=this,h=i(s).length,u=c(h/2),a=0,x;a<u;)x=s[a],s[a++]=s[--h],s[h]=x;return s})},89466:function(d,g,e){"use strict";var r=e(92916),i=e(89945),l=e(58261),c=e(82762),f=e(64135),s=e(94029),h=e(3338),u=r.RangeError,a=r.Int8Array,x=a&&a.prototype,p=x&&x.set,y=l.aTypedArray,_=l.exportTypedArrayMethod,b=!h(function(){var R=new Uint8ClampedArray(2);return i(p,R,{length:1,0:3},1),R[1]!==3}),S=b&&l.NATIVE_ARRAY_BUFFER_VIEWS&&h(function(){var R=new a(2);return R.set(1),R.set("2",1),R[0]!==0||R[1]!==2});_("set",function(L){y(this);var C=f(arguments.length>1?arguments[1]:void 0,1),D=s(L);if(b)return i(p,this,D,C);var B=this.length,$=c(D),U=0;if($+C>B)throw new u("Wrong length");for(;U<$;)this[C+U]=D[U++]},!b||S)},69653:function(d,g,e){"use strict";var r=e(58261),i=e(31384),l=e(3338),c=e(30867),f=r.aTypedArray,s=r.exportTypedArrayMethod,h=l(function(){new Int8Array(1).slice()});s("slice",function(a,x){for(var p=c(f(this),a,x),y=i(this),_=0,b=p.length,S=new y(b);b>_;)S[_]=p[_++];return S},h)},96519:function(d,g,e){"use strict";var r=e(58261),i=e(90560).some,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("some",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},95576:function(d,g,e){"use strict";var r=e(92916),i=e(34114),l=e(3338),c=e(63335),f=e(63668),s=e(58261),h=e(78177),u=e(17687),a=e(46573),x=e(19684),p=s.aTypedArray,y=s.exportTypedArrayMethod,_=r.Uint16Array,b=_&&i(_.prototype.sort),S=!!b&&!(l(function(){b(new _(2),null)})&&l(function(){b(new _(2),{})})),R=!!b&&!l(function(){if(a)return a<74;if(h)return h<67;if(u)return!0;if(x)return x<602;var C=new _(516),D=Array(516),B,$;for(B=0;B<516;B++)$=B%4,C[B]=515-B,D[B]=B-2*$+3;for(b(C,function(U,K){return(U/4|0)-(K/4|0)}),B=0;B<516;B++)if(C[B]!==D[B])return!0}),L=function(C){return function(D,B){return C!==void 0?+C(D,B)||0:B!==B?-1:D!==D?1:D===0&&B===0?1/D>0&&1/B<0?1:-1:D>B}};y("sort",function(D){return D!==void 0&&c(D),R?b(this,D):f(p(this),L(D))},!R||S)},63079:function(d,g,e){"use strict";var r=e(58261),i=e(61578),l=e(51981),c=e(31384),f=r.aTypedArray,s=r.exportTypedArrayMethod;s("subarray",function(u,a){var x=f(this),p=x.length,y=l(u,p),_=c(x);return new _(x.buffer,x.byteOffset+y*x.BYTES_PER_ELEMENT,i((a===void 0?p:l(a,p))-y))})},8995:function(d,g,e){"use strict";var r=e(92916),i=e(13743),l=e(58261),c=e(3338),f=e(30867),s=r.Int8Array,h=l.aTypedArray,u=l.exportTypedArrayMethod,a=[].toLocaleString,x=!!s&&c(function(){a.call(new s(1))}),p=c(function(){return[1,2].toLocaleString()!==new s([1,2]).toLocaleString()})||!c(function(){s.prototype.toLocaleString.call([1,2])});u("toLocaleString",function(){return i(a,x?f(h(this)):h(this),f(arguments))},p)},23080:function(d,g,e){"use strict";var r=e(85903),i=e(58261),l=i.aTypedArray,c=i.exportTypedArrayMethod,f=i.getTypedArrayConstructor;c("toReversed",function(){return r(l(this),f(this))})},74701:function(d,g,e){"use strict";var r=e(58261),i=e(94237),l=e(63335),c=e(69478),f=r.aTypedArray,s=r.getTypedArrayConstructor,h=r.exportTypedArrayMethod,u=i(r.TypedArrayPrototype.sort);h("toSorted",function(x){x!==void 0&&l(x);var p=f(this),y=c(s(p),p);return u(y,x)})},91809:function(d,g,e){"use strict";var r=e(58261).exportTypedArrayMethod,i=e(3338),l=e(92916),c=e(94237),f=l.Uint8Array,s=f&&f.prototype||{},h=[].toString,u=c([].join);i(function(){h.call({})})&&(h=function(){return u(this)});var a=s.toString!==h;r("toString",h,a)},64336:function(d,g,e){"use strict";var r=e(69733);r("Uint16",function(i){return function(c,f,s){return i(this,c,f,s)}})},63914:function(d,g,e){"use strict";var r=e(69733);r("Uint32",function(i){return function(c,f,s){return i(this,c,f,s)}})},55234:function(d,g,e){"use strict";var r=e(69733);r("Uint8",function(i){return function(c,f,s){return i(this,c,f,s)}})},88104:function(d,g,e){"use strict";var r=e(69733);r("Uint8",function(i){return function(c,f,s){return i(this,c,f,s)}},!0)},77517:function(d,g,e){"use strict";var r=e(82041),i=e(58261),l=e(75406),c=e(56902),f=e(93303),s=i.aTypedArray,h=i.getTypedArrayConstructor,u=i.exportTypedArrayMethod,a=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(x){return x===8}}();u("with",function(x,p){var y=s(this),_=c(x),b=l(y)?f(p):+p;return r(y,h(y),_,b)},!a)},30149:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(69905),c=String.fromCharCode,f=i("".charAt),s=i(/./.exec),h=i("".slice),u=/^[\da-f]{2}$/i,a=/^[\da-f]{4}$/i;r({global:!0},{unescape:function(p){for(var y=l(p),_="",b=y.length,S=0,R,L;S<b;){if(R=f(y,S++),R==="%"){if(f(y,S)==="u"){if(L=h(y,S+1,S+5),s(a,L)){_+=c(parseInt(L,16)),S+=5;continue}}else if(L=h(y,S,S+2),s(u,L)){_+=c(parseInt(L,16)),S+=2;continue}}_+=R}return _}})},58453:function(d,g,e){"use strict";var r=e(13247),i=e(92916),l=e(94237),c=e(66477),f=e(2074),s=e(48059),h=e(39656),u=e(31946),a=e(94844).enforce,x=e(3338),p=e(40115),y=Object,_=Array.isArray,b=y.isExtensible,S=y.isFrozen,R=y.isSealed,L=y.freeze,C=y.seal,D={},B={},$=!i.ActiveXObject&&"ActiveXObject"in i,U,K=function(Y){return function(){return Y(this,arguments.length?arguments[0]:void 0)}},V=s("WeakMap",K,h),G=V.prototype,oe=l(G.set),ae=function(){return r&&x(function(){var Y=L([]);return oe(new V,Y,1),!S(Y)})};if(p)if($){U=h.getConstructor(K,"WeakMap",!0),f.enable();var le=l(G.delete),q=l(G.has),J=l(G.get);c(G,{delete:function(Y){if(u(Y)&&!b(Y)){var ue=a(this);return ue.frozen||(ue.frozen=new U),le(this,Y)||ue.frozen.delete(Y)}return le(this,Y)},has:function(ue){if(u(ue)&&!b(ue)){var ne=a(this);return ne.frozen||(ne.frozen=new U),q(this,ue)||ne.frozen.has(ue)}return q(this,ue)},get:function(ue){if(u(ue)&&!b(ue)){var ne=a(this);return ne.frozen||(ne.frozen=new U),q(this,ue)?J(this,ue):ne.frozen.get(ue)}return J(this,ue)},set:function(ue,ne){if(u(ue)&&!b(ue)){var ee=a(this);ee.frozen||(ee.frozen=new U),q(this,ue)?oe(this,ue,ne):ee.frozen.set(ue,ne)}else oe(this,ue,ne);return this}})}else ae()&&c(G,{set:function(ue,ne){var ee;return _(ue)&&(S(ue)?ee=D:R(ue)&&(ee=B)),oe(this,ue,ne),ee===D&&L(ue),ee===B&&C(ue),this}})},55410:function(d,g,e){"use strict";e(58453)},65092:function(d,g,e){"use strict";var r=e(48059),i=e(39656);r("WeakSet",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},46161:function(d,g,e){"use strict";e(65092)},88900:function(d,g,e){"use strict";var r=e(35454),i=e(64110),l=e(93683),c=ArrayBuffer.prototype;r&&!("detached"in c)&&i(c,"detached",{configurable:!0,get:function(){return l(this)}})},81138:function(d,g,e){"use strict";var r=e(94488),i=e(39760);i&&r({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},54815:function(d,g,e){"use strict";var r=e(94488),i=e(39760);i&&r({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},2722:function(d,g,e){"use strict";var r=e(94488),i=e(90560).filterReject,l=e(81181);r({target:"Array",proto:!0,forced:!0},{filterOut:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("filterOut")},55885:function(d,g,e){"use strict";var r=e(94488),i=e(90560).filterReject,l=e(81181);r({target:"Array",proto:!0,forced:!0},{filterReject:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("filterReject")},91130:function(d,g,e){"use strict";var r=e(94488),i=e(32278);r({target:"Array",stat:!0},{fromAsync:i})},64963:function(d,g,e){"use strict";var r=e(94488),i=e(45601),l=e(81181),c=e(33940),f=e(16697);r({target:"Array",proto:!0,name:"groupToMap",forced:f||!i("groupByToMap")},{groupByToMap:c}),l("groupByToMap")},8604:function(d,g,e){"use strict";var r=e(94488),i=e(36444),l=e(45601),c=e(81181);r({target:"Array",proto:!0,forced:!l("groupBy")},{groupBy:function(s){var h=arguments.length>1?arguments[1]:void 0;return i(this,s,h)}}),c("groupBy")},25178:function(d,g,e){"use strict";var r=e(94488),i=e(81181),l=e(33940),c=e(16697);r({target:"Array",proto:!0,forced:c},{groupToMap:l}),i("groupToMap")},39034:function(d,g,e){"use strict";var r=e(94488),i=e(36444),l=e(81181);r({target:"Array",proto:!0},{group:function(f){var s=arguments.length>1?arguments[1]:void 0;return i(this,f,s)}}),l("group")},1905:function(d,g,e){"use strict";var r=e(94488),i=e(18589),l=Object.isFrozen,c=function(f,s){if(!l||!i(f)||!l(f))return!1;for(var h=0,u=f.length,a;h<u;)if(a=f[h++],!(typeof a=="string"||s&&a===void 0))return!1;return u!==0};r({target:"Array",stat:!0,sham:!0,forced:!0},{isTemplateObject:function(s){if(!c(s,!0))return!1;var h=s.raw;return h.length===s.length&&c(h,!1)}})},94306:function(d,g,e){"use strict";var r=e(35454),i=e(81181),l=e(94029),c=e(82762),f=e(64110);r&&(f(Array.prototype,"lastIndex",{configurable:!0,get:function(){var h=l(this),u=c(h);return u===0?0:u-1}}),i("lastIndex"))},11762:function(d,g,e){"use strict";var r=e(35454),i=e(81181),l=e(94029),c=e(82762),f=e(64110);r&&(f(Array.prototype,"lastItem",{configurable:!0,get:function(){var h=l(this),u=c(h);return u===0?void 0:h[u-1]},set:function(h){var u=l(this),a=c(u);return u[a===0?0:a-1]=h}}),i("lastItem"))},93164:function(d,g,e){"use strict";var r=e(94488),i=e(81181),l=e(65621);r({target:"Array",proto:!0,forced:!0},{uniqueBy:l}),i("uniqueBy")},37252:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(65911),c=e(63335),f=e(56472),s=e(2291),h=e(66477),u=e(64110),a=e(59893),x=e(94844),p=e(5978),y=l("Promise"),_=l("SuppressedError"),b=ReferenceError,S=a("asyncDispose"),R=a("toStringTag"),L="AsyncDisposableStack",C=x.set,D=x.getterFor(L),B="async-dispose",$="disposed",U="pending",K=function(oe){var ae=D(oe);if(ae.state===$)throw new b(L+" already disposed");return ae},V=function(){C(f(this,G),{type:L,state:U,stack:[]}),i||(this.disposed=!1)},G=V.prototype;h(G,{disposeAsync:function(){var ae=this;return new y(function(le,q){var J=D(ae);if(J.state===$)return le(void 0);J.state=$,i||(ae.disposed=!0);var Y=J.stack,ue=Y.length,ne=!1,ee,ie=function(M){ne?ee=new _(M,ee):(ne=!0,ee=M),F()},F=function(){if(ue){var M=Y[--ue];Y[ue]=null;try{y.resolve(M()).then(F,ie)}catch(Q){ie(Q)}}else J.stack=null,ne?q(ee):le(void 0)};F()})},use:function(ae){return p(K(this),ae,B),ae},adopt:function(ae,le){var q=K(this);return c(le),p(q,void 0,B,function(){return le(ae)}),ae},defer:function(ae){var le=K(this);c(ae),p(le,void 0,B,ae)},move:function(){var ae=K(this),le=new V;return D(le).stack=ae.stack,ae.stack=[],ae.state=$,i||(this.disposed=!0),le}}),i&&u(G,"disposed",{configurable:!0,get:function(){return D(this).state===$}}),s(G,S,G.disposeAsync,{name:"disposeAsync"}),s(G,R,L,{nonWritable:!0}),r({global:!0,constructor:!0},{AsyncDisposableStack:V})},48966:function(d,g,e){"use strict";var r=e(94488),i=e(34535);r({target:"AsyncIterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:i})},13015:function(d,g,e){"use strict";var r=e(89945),i=e(2291),l=e(65911),c=e(53776),f=e(32621),s=e(59893),h=e(14052),u=s("asyncDispose"),a=l("Promise");f(h,u)||i(h,u,function(){var x=this;return new a(function(p,y){var _=c(x,"return");_?a.resolve(r(_,x)).then(function(){p(void 0)},y):p(void 0)})})},81673:function(d,g,e){"use strict";var r=e(94488),i=e(56472),l=e(53456),c=e(68151),f=e(32621),s=e(59893),h=e(14052),u=e(16697),a=s("toStringTag"),x=TypeError,p=function(){if(i(this,h),l(this)===h)throw new x("Abstract class AsyncIterator not directly constructable")};p.prototype=h,f(h,a)||c(h,a,"AsyncIterator"),(u||!f(h,"constructor")||h.constructor===Object)&&c(h,"constructor",p),r({global:!0,constructor:!0,forced:u},{AsyncIterator:p})},78527:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),s=e(51358),h=e(31342),u=e(25587),a=e(16697),x=h(function(p){var y=this;return new p(function(_,b){var S=function(L){y.done=!0,b(L)},R=function(){try{p.resolve(l(i(y.next,y.iterator))).then(function(L){try{l(L).done?(y.done=!0,_(u(void 0,!0))):y.remaining?(y.remaining--,R()):_(u(L.value,!1))}catch(C){S(C)}},S)}catch(L){S(L)}};R()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:a},{drop:function(y){l(this);var _=s(f(+y));return new x(c(this),{remaining:_})}})},20511:function(d,g,e){"use strict";var r=e(94488),i=e(55266).every;r({target:"AsyncIterator",proto:!0,real:!0},{every:function(c){return i(this,c)}})},78366:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(31946),s=e(10731),h=e(31342),u=e(25587),a=e(28255),x=e(16697),p=h(function(y){var _=this,b=_.iterator,S=_.predicate;return new y(function(R,L){var C=function($){_.done=!0,L($)},D=function($){a(b,C,$,C)},B=function(){try{y.resolve(c(i(_.next,b))).then(function($){try{if(c($).done)_.done=!0,R(u(void 0,!0));else{var U=$.value;try{var K=S(U,_.counter++),V=function(G){G?R(u(U,!1)):B()};f(K)?y.resolve(K).then(V,D):V(K)}catch(G){D(G)}}}catch(G){C(G)}},C)}catch($){C($)}};B()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:x},{filter:function(_){return c(this),l(_),new p(s(this),{predicate:_})}})},27427:function(d,g,e){"use strict";var r=e(94488),i=e(55266).find;r({target:"AsyncIterator",proto:!0,real:!0},{find:function(c){return i(this,c)}})},43890:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(31946),s=e(10731),h=e(31342),u=e(25587),a=e(38116),x=e(28255),p=e(16697),y=h(function(_){var b=this,S=b.iterator,R=b.mapper;return new _(function(L,C){var D=function(K){b.done=!0,C(K)},B=function(K){x(S,D,K,D)},$=function(){try{_.resolve(c(i(b.next,S))).then(function(K){try{if(c(K).done)b.done=!0,L(u(void 0,!0));else{var V=K.value;try{var G=R(V,b.counter++),oe=function(ae){try{b.inner=a(ae),U()}catch(le){B(le)}};f(G)?_.resolve(G).then(oe,B):oe(G)}catch(ae){B(ae)}}}catch(ae){D(ae)}},D)}catch(K){D(K)}},U=function(){var K=b.inner;if(K)try{_.resolve(c(i(K.next,K.iterator))).then(function(V){try{c(V).done?(b.inner=null,$()):L(u(V.value,!1))}catch(G){B(G)}},B)}catch(V){B(V)}else $()};U()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:p},{flatMap:function(b){return c(this),l(b),new y(s(this),{mapper:b,inner:null})}})},55844:function(d,g,e){"use strict";var r=e(94488),i=e(55266).forEach;r({target:"AsyncIterator",proto:!0,real:!0},{forEach:function(c){return i(this,c)}})},71361:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(16332),c=e(38116),f=e(14052),s=e(80025),h=e(16697);r({target:"AsyncIterator",stat:!0,forced:h},{from:function(a){var x=c(typeof a=="string"?i(a):a);return l(f,x.iterator)?x.iterator:new s(x)}})},44550:function(d,g,e){"use strict";var r=e(94488),i=e(34535);r({target:"AsyncIterator",proto:!0,real:!0,forced:!0},{indexed:i})},413:function(d,g,e){"use strict";var r=e(94488),i=e(41586),l=e(16697);r({target:"AsyncIterator",proto:!0,real:!0,forced:l},{map:i})},77464:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(31946),s=e(65911),h=e(10731),u=e(28255),a=s("Promise"),x=TypeError;r({target:"AsyncIterator",proto:!0,real:!0},{reduce:function(y){c(this),l(y);var _=h(this),b=_.iterator,S=_.next,R=arguments.length<2,L=R?void 0:arguments[1],C=0;return new a(function(D,B){var $=function(K){u(b,B,K,B)},U=function(){try{a.resolve(c(i(S,b))).then(function(K){try{if(c(K).done)R?B(new x("Reduce of empty iterator with no initial value")):D(L);else{var V=K.value;if(R)R=!1,L=V,U();else try{var G=y(L,V,C),oe=function(ae){L=ae,U()};f(G)?a.resolve(G).then(oe,$):oe(G)}catch(ae){$(ae)}}C++}catch(ae){B(ae)}},B)}catch(K){B(K)}};U()})}})},77703:function(d,g,e){"use strict";var r=e(94488),i=e(55266).some;r({target:"AsyncIterator",proto:!0,real:!0},{some:function(c){return i(this,c)}})},93854:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),s=e(51358),h=e(31342),u=e(25587),a=e(16697),x=h(function(p){var y=this,_=y.iterator,b;if(!y.remaining--){var S=u(void 0,!0);return y.done=!0,b=_.return,b!==void 0?p.resolve(i(b,_,void 0)).then(function(){return S}):S}return p.resolve(i(y.next,_)).then(function(R){return l(R).done?(y.done=!0,u(void 0,!0)):u(R.value,!1)}).then(null,function(R){throw y.done=!0,R})});r({target:"AsyncIterator",proto:!0,real:!0,forced:a},{take:function(y){l(this);var _=s(f(+y));return new x(c(this),{remaining:_})}})},962:function(d,g,e){"use strict";var r=e(94488),i=e(55266).toArray;r({target:"AsyncIterator",proto:!0,real:!0},{toArray:function(){return i(this,void 0,[])}})},44169:function(d,g,e){"use strict";var r=e(94488),i=e(17243);typeof BigInt=="function"&&r({target:"BigInt",stat:!0,forced:!0},{range:function(c,f,s){return new i(c,f,s,"bigint",BigInt(0),BigInt(1))}})},56272:function(d,g,e){"use strict";var r=e(94488),i=e(13743),l=e(32754),c=e(65911),f=e(20132),s=Object,h=function(){var u=c("Object","freeze");return u?u(f(null)):f(null)};r({global:!0,forced:!0},{compositeKey:function(){return i(l,s,arguments).get("object",h)}})},43466:function(d,g,e){"use strict";var r=e(94488),i=e(32754),l=e(65911),c=e(13743);r({global:!0,forced:!0},{compositeSymbol:function(){return arguments.length===1&&typeof arguments[0]=="string"?l("Symbol").for(arguments[0]):c(i,null,arguments).get("symbol",l("Symbol"))}})},48156:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(61618).unpack,c=i(DataView.prototype.getUint16);r({target:"DataView",proto:!0},{getFloat16:function(s){var h=c(this,s,arguments.length>1?arguments[1]:!1);return l([h&255,h>>8&255],10)}})},93236:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=i(DataView.prototype.getUint8);r({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(f){return l(this,f)}})},42212:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(97607),c=e(24225),f=e(61618).pack,s=e(35175),h=TypeError,u=i(DataView.prototype.setUint16);r({target:"DataView",proto:!0},{setFloat16:function(x,p){if(l(this)!=="DataView")throw new h("Incorrect receiver");var y=c(x),_=f(s(p),10,2);return u(this,y,_[1]<<8|_[0],arguments.length>2?arguments[2]:!1)}})},63923:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(97607),c=e(24225),f=e(86350),s=TypeError,h=i(DataView.prototype.setUint8);r({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(a,x){if(l(this)!=="DataView")throw new s("Incorrect receiver");var p=c(a);return h(this,p,f(x))}})},2278:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(65911),c=e(63335),f=e(56472),s=e(2291),h=e(66477),u=e(64110),a=e(59893),x=e(94844),p=e(5978),y=l("SuppressedError"),_=ReferenceError,b=a("dispose"),S=a("toStringTag"),R="DisposableStack",L=x.set,C=x.getterFor(R),D="sync-dispose",B="disposed",$="pending",U=function(G){var oe=C(G);if(oe.state===B)throw new _(R+" already disposed");return oe},K=function(){L(f(this,V),{type:R,state:$,stack:[]}),i||(this.disposed=!1)},V=K.prototype;h(V,{dispose:function(){var oe=C(this);if(oe.state!==B){oe.state=B,i||(this.disposed=!0);for(var ae=oe.stack,le=ae.length,q=!1,J;le;){var Y=ae[--le];ae[le]=null;try{Y()}catch(ue){q?J=new y(ue,J):(q=!0,J=ue)}}if(oe.stack=null,q)throw J}},use:function(oe){return p(U(this),oe,D),oe},adopt:function(oe,ae){var le=U(this);return c(ae),p(le,void 0,D,function(){ae(oe)}),oe},defer:function(oe){var ae=U(this);c(oe),p(ae,void 0,D,oe)},move:function(){var oe=U(this),ae=new K;return C(ae).stack=oe.stack,oe.stack=[],oe.state=B,i||(this.disposed=!0),ae}}),i&&u(V,"disposed",{configurable:!0,get:function(){return C(this).state===B}}),s(V,b,V.dispose,{name:"dispose"}),s(V,S,R,{nonWritable:!0}),r({global:!0,constructor:!0},{DisposableStack:K})},36955:function(d,g,e){"use strict";var r=e(94488),i=e(47739);r({target:"Function",proto:!0,forced:!0},{demethodize:i})},77326:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(55327),c=e(15212),f=e(32621),s=e(35454),h=Object.getOwnPropertyDescriptor,u=/^\s*class\b/,a=i(u.exec),x=function(p){try{if(!s||!a(u,c(p)))return!1}catch(_){}var y=h(p,"prototype");return!!y&&f(y,"writable")&&!y.writable};r({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(y){return l(y)&&!x(y)}})},53571:function(d,g,e){"use strict";var r=e(94488),i=e(39812);r({target:"Function",stat:!0,forced:!0},{isConstructor:i})},28670:function(d,g,e){"use strict";var r=e(59893),i=e(37691).f,l=r("metadata"),c=Function.prototype;c[l]===void 0&&i(c,l,{value:null})},31050:function(d,g,e){"use strict";var r=e(94488),i=e(47739);r({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:i})},96364:function(d,g,e){"use strict";var r=e(94488),i=e(24771);r({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:i})},25321:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(56472),c=e(80449),f=e(55327),s=e(53456),h=e(64110),u=e(69392),a=e(3338),x=e(32621),p=e(59893),y=e(46571).IteratorPrototype,_=e(35454),b=e(16697),S="constructor",R="Iterator",L=p("toStringTag"),C=TypeError,D=i[R],B=b||!f(D)||D.prototype!==y||!a(function(){D({})}),$=function(){if(l(this,y),s(this)===y)throw new C("Abstract class Iterator not directly constructable")},U=function(K,V){_?h(y,K,{configurable:!0,get:function(){return V},set:function(G){if(c(this),this===y)throw new C("You can't redefine this property");x(this,K)?this[K]=G:u(this,K,G)}}):y[K]=V};x(y,L)||U(L,R),(B||!x(y,S)||y[S]===Object)&&U(S,$),$.prototype=y,r({global:!0,constructor:!0,forced:B},{Iterator:$})},46304:function(d,g,e){"use strict";var r=e(89945),i=e(2291),l=e(53776),c=e(32621),f=e(59893),s=e(46571).IteratorPrototype,h=f("dispose");c(s,h)||i(s,h,function(){var u=l(this,"return");u&&r(u,this)})},55163:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),s=e(51358),h=e(20547),u=e(16697),a=h(function(){for(var x=this.iterator,p=this.next,y,_;this.remaining;)if(this.remaining--,y=l(i(p,x)),_=this.done=!!y.done,_)return;if(y=l(i(p,x)),_=this.done=!!y.done,!_)return y.value});r({target:"Iterator",proto:!0,real:!0,forced:u},{drop:function(p){l(this);var y=s(f(+p));return new a(c(this),{remaining:y})}})},78722:function(d,g,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{every:function(h){c(this),l(h);var u=f(this),a=0;return!i(u,function(x,p){if(!h(x,a++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},35977:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(10731),s=e(20547),h=e(46319),u=e(16697),a=s(function(){for(var x=this.iterator,p=this.predicate,y=this.next,_,b,S;;){if(_=c(i(y,x)),b=this.done=!!_.done,b)return;if(S=_.value,h(x,p,[S,this.counter++],!0))return S}});r({target:"Iterator",proto:!0,real:!0,forced:u},{filter:function(p){return c(this),l(p),new a(f(this),{predicate:p})}})},81848:function(d,g,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{find:function(h){c(this),l(h);var u=f(this),a=0;return i(u,function(x,p){if(h(x,a++))return p(x)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},52867:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(10731),s=e(7157),h=e(20547),u=e(67996),a=e(16697),x=h(function(){for(var p=this.iterator,y=this.mapper,_,b;;){if(b=this.inner)try{if(_=c(i(b.next,b.iterator)),!_.done)return _.value;this.inner=null}catch(S){u(p,"throw",S)}if(_=c(i(this.next,p)),this.done=!!_.done)return;try{this.inner=s(y(_.value,this.counter++),!1)}catch(S){u(p,"throw",S)}}});r({target:"Iterator",proto:!0,real:!0,forced:a},{flatMap:function(y){return c(this),l(y),new x(f(this),{mapper:y,inner:null})}})},72211:function(d,g,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{forEach:function(h){c(this),l(h);var u=f(this),a=0;i(u,function(x){h(x,a++)},{IS_RECORD:!0})}})},84862:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(94029),c=e(16332),f=e(46571).IteratorPrototype,s=e(20547),h=e(7157),u=e(16697),a=s(function(){return i(this.next,this.iterator)},!0);r({target:"Iterator",stat:!0,forced:u},{from:function(p){var y=h(typeof p=="string"?l(p):p,!0);return c(f,y.iterator)?y.iterator:new a(y)}})},92381:function(d,g,e){"use strict";var r=e(94488),i=e(24771);r({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:i})},19517:function(d,g,e){"use strict";var r=e(94488),i=e(2155),l=e(16697);r({target:"Iterator",proto:!0,real:!0,forced:l},{map:i})},69667:function(d,g,e){"use strict";var r=e(94488),i=e(17243),l=TypeError;r({target:"Iterator",stat:!0,forced:!0},{range:function(f,s,h){if(typeof f=="number")return new i(f,s,h,"number",0,1);if(typeof f=="bigint")return new i(f,s,h,"bigint",BigInt(0),BigInt(1));throw new l("Incorrect Iterator.range arguments")}})},80820:function(d,g,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731),s=TypeError;r({target:"Iterator",proto:!0,real:!0},{reduce:function(u){c(this),l(u);var a=f(this),x=arguments.length<2,p=x?void 0:arguments[1],y=0;if(i(a,function(_){x?(x=!1,p=_):p=u(p,_,y),y++},{IS_RECORD:!0}),x)throw new s("Reduce of empty iterator with no initial value");return p}})},87873:function(d,g,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{some:function(h){c(this),l(h);var u=f(this),a=0;return i(u,function(x,p){if(h(x,a++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},54609:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),s=e(51358),h=e(20547),u=e(67996),a=e(16697),x=h(function(){var p=this.iterator;if(!this.remaining--)return this.done=!0,u(p,"normal",void 0);var y=l(i(this.next,p)),_=this.done=!!y.done;if(!_)return y.value});r({target:"Iterator",proto:!0,real:!0,forced:a},{take:function(y){l(this);var _=s(f(+y));return new x(c(this),{remaining:_})}})},28566:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(62003),c=e(10731),f=[].push;r({target:"Iterator",proto:!0,real:!0},{toArray:function(){var h=[];return l(c(i(this)),f,{that:h,IS_RECORD:!0}),h}})},51697:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(57975),c=e(80025),f=e(10731),s=e(16697);r({target:"Iterator",proto:!0,real:!0,forced:s},{toAsync:function(){return new c(f(new l(f(i(this)))))}})},61872:function(d,g,e){"use strict";var r=e(94488),i=e(82778),l=e(83502);r({target:"JSON",stat:!0,forced:!i},{isRawJSON:l})},76077:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(92916),c=e(65911),f=e(94237),s=e(89945),h=e(55327),u=e(31946),a=e(18589),x=e(32621),p=e(69905),y=e(82762),_=e(69392),b=e(3338),S=e(70913),R=e(42820),L=l.JSON,C=l.Number,D=l.SyntaxError,B=L&&L.parse,$=c("Object","keys"),U=Object.getOwnPropertyDescriptor,K=f("".charAt),V=f("".slice),G=f(/./.exec),oe=f([].push),ae=/^\d$/,le=/^[1-9]$/,q=/^(?:-|\d)$/,J=/^[\t\n\r ]$/,Y=0,ue=1,ne=function(we,Ce){we=p(we);var je=new M(we,0,""),Fe=je.parse(),Ft=Fe.value,_t=je.skip(J,Fe.end);if(_t<we.length)throw new D('Unexpected extra character: "'+K(we,_t)+'" after the parsed data at: '+_t);return h(Ce)?ee({"":Ft},"",Ce,Fe):Ft},ee=function(we,Ce,je,Fe){var Ft=we[Ce],_t=Fe&&Ft===Fe.value,Pt=_t&&typeof Fe.source=="string"?{source:Fe.source}:{},qt,er,Jt,Xe,It;if(u(Ft)){var zt=a(Ft),st=_t?Fe.nodes:zt?[]:{};if(zt)for(qt=st.length,Jt=y(Ft),Xe=0;Xe<Jt;Xe++)ie(Ft,Xe,ee(Ft,""+Xe,je,Xe<qt?st[Xe]:void 0));else for(er=$(Ft),Jt=y(er),Xe=0;Xe<Jt;Xe++)It=er[Xe],ie(Ft,It,ee(Ft,It,je,x(st,It)?st[It]:void 0))}return s(je,we,Ce,Ft,Pt)},ie=function(we,Ce,je){if(i){var Fe=U(we,Ce);if(Fe&&!Fe.configurable)return}je===void 0?delete we[Ce]:_(we,Ce,je)},F=function(we,Ce,je,Fe){this.value=we,this.end=Ce,this.source=je,this.nodes=Fe},M=function(we,Ce){this.source=we,this.index=Ce};M.prototype={fork:function(we){return new M(this.source,we)},parse:function(){var we=this.source,Ce=this.skip(J,this.index),je=this.fork(Ce),Fe=K(we,Ce);if(G(q,Fe))return je.number();switch(Fe){case"{":return je.object();case"[":return je.array();case'"':return je.string();case"t":return je.keyword(!0);case"f":return je.keyword(!1);case"n":return je.keyword(null)}throw new D('Unexpected character: "'+Fe+'" at: '+Ce)},node:function(we,Ce,je,Fe,Ft){return new F(Ce,Fe,we?null:V(this.source,je,Fe),Ft)},object:function(){for(var we=this.source,Ce=this.index+1,je=!1,Fe={},Ft={};Ce<we.length;){if(Ce=this.until(['"',"}"],Ce),K(we,Ce)==="}"&&!je){Ce++;break}var _t=this.fork(Ce).string(),Pt=_t.value;Ce=_t.end,Ce=this.until([":"],Ce)+1,Ce=this.skip(J,Ce),_t=this.fork(Ce).parse(),_(Ft,Pt,_t),_(Fe,Pt,_t.value),Ce=this.until([",","}"],_t.end);var qt=K(we,Ce);if(qt===",")je=!0,Ce++;else if(qt==="}"){Ce++;break}}return this.node(ue,Fe,this.index,Ce,Ft)},array:function(){for(var we=this.source,Ce=this.index+1,je=!1,Fe=[],Ft=[];Ce<we.length;){if(Ce=this.skip(J,Ce),K(we,Ce)==="]"&&!je){Ce++;break}var _t=this.fork(Ce).parse();if(oe(Ft,_t),oe(Fe,_t.value),Ce=this.until([",","]"],_t.end),K(we,Ce)===",")je=!0,Ce++;else if(K(we,Ce)==="]"){Ce++;break}}return this.node(ue,Fe,this.index,Ce,Ft)},string:function(){var we=this.index,Ce=S(this.source,this.index+1);return this.node(Y,Ce.value,we,Ce.end)},number:function(){var we=this.source,Ce=this.index,je=Ce;if(K(we,je)==="-"&&je++,K(we,je)==="0")je++;else if(G(le,K(we,je)))je=this.skip(ae,++je);else throw new D("Failed to parse number at: "+je);if(K(we,je)==="."&&(je=this.skip(ae,++je)),K(we,je)==="e"||K(we,je)==="E"){je++,(K(we,je)==="+"||K(we,je)==="-")&&je++;var Fe=je;if(je=this.skip(ae,je),Fe===je)throw new D("Failed to parse number's exponent value at: "+je)}return this.node(Y,C(V(we,Ce,je)),Ce,je)},keyword:function(we){var Ce=""+we,je=this.index,Fe=je+Ce.length;if(V(this.source,je,Fe)!==Ce)throw new D("Failed to parse value at: "+je);return this.node(Y,we,je,Fe)},skip:function(we,Ce){for(var je=this.source;Ce<je.length&&G(we,K(je,Ce));Ce++);return Ce},until:function(we,Ce){Ce=this.skip(J,Ce);for(var je=K(this.source,Ce),Fe=0;Fe<we.length;Fe++)if(we[Fe]===je)return Ce;throw new D('Unexpected character: "'+je+'" at: '+Ce)}};var Q=b(function(){var we="9007199254740993",Ce;return B(we,function(je,Fe,Ft){Ce=Ft.source}),Ce!==we}),de=R&&!b(function(){return 1/B("-0 ")!==-1/0});r({target:"JSON",stat:!0,forced:Q},{parse:function(Ce,je){return de&&!h(je)?B(Ce):ne(Ce,je)}})},9196:function(d,g,e){"use strict";var r=e(94488),i=e(13247),l=e(82778),c=e(65911),f=e(89945),s=e(94237),h=e(55327),u=e(83502),a=e(69905),x=e(69392),p=e(70913),y=e(65451),_=e(6145),b=e(94844).set,S=String,R=SyntaxError,L=c("JSON","parse"),C=c("JSON","stringify"),D=c("Object","create"),B=c("Object","freeze"),$=s("".charAt),U=s("".slice),K=s(/./.exec),V=s([].push),G=_(),oe=G.length,ae="Unacceptable as raw JSON",le=/^[\t\n\r ]$/;r({target:"JSON",stat:!0,forced:!l},{rawJSON:function(J){var Y=a(J);if(Y===""||K(le,$(Y,0))||K(le,$(Y,Y.length-1)))throw new R(ae);var ue=L(Y);if(typeof ue=="object"&&ue!==null)throw new R(ae);var ne=D(null);return b(ne,{type:"RawJSON"}),x(ne,"rawJSON",Y),i?B(ne):ne}}),C&&r({target:"JSON",stat:!0,arity:3,forced:!l},{stringify:function(J,Y,ue){var ne=y(Y),ee=[],ie=C(J,function(je,Fe){var Ft=h(ne)?f(ne,this,S(je),Fe):Fe;return u(Ft)?G+(V(ee,Ft.rawJSON)-1):Ft},ue);if(typeof ie!="string")return ie;for(var F="",M=ie.length,Q=0;Q<M;Q++){var de=$(ie,Q);if(de==='"'){var we=p(ie,++Q).end-1,Ce=U(ie,Q,we);F+=U(Ce,0,oe)===G?ee[U(Ce,oe)]:'"'+Ce+'"',Q=we}else F+=de}return F}})},5369:function(d,g,e){"use strict";var r=e(94488),i=e(42683),l=e(2786).remove;r({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),s=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),s=s&&h;return!!s}})},26259:function(d,g,e){"use strict";var r=e(94488),i=e(42683),l=e(2786),c=l.get,f=l.has,s=l.set;r({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(u,a){var x=i(this),p,y;return f(x,u)?(p=c(x,u),"update"in a&&(p=a.update(p,u,x),s(x,u,p)),p):(y=a.insert(u,x),s(x,u,y),y)}})},47736:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0);return c(h,function(a,x){if(!u(a,x,h))return!1},!0)!==!1}})},28220:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),s=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new s;return f(x,function(_,b){p(_,b,x)&&h(y,b,_)}),y}})},49350:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0),a=c(h,function(x,p){if(u(x,p,h))return{key:p}},!0);return a&&a.key}})},62060:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0),a=c(h,function(x,p){if(u(x,p,h))return{value:x}},!0);return a&&a.value}})},20126:function(d,g,e){"use strict";var r=e(94488),i=e(72846);r({target:"Map",stat:!0,forced:!0},{from:i})},18090:function(d,g,e){"use strict";var r=e(94488),i=e(88134),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(s){return c(l(this),function(h){if(i(h,s))return!0},!0)===!0}})},14309:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(62003),c=e(55327),f=e(63335),s=e(2786).Map;r({target:"Map",stat:!0,forced:!0},{keyBy:function(u,a){var x=c(this)?this:s,p=new x;f(a);var y=f(p.set);return l(u,function(_){i(y,p,a(_),_)}),p}})},17822:function(d,g,e){"use strict";var r=e(94488),i=e(42683),l=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(f){var s=l(i(this),function(h,u){if(h===f)return{key:u}},!0);return s&&s.key}})},83543:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),s=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new s;return f(x,function(_,b){h(y,p(_,b,x),_)}),y}})},13853:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),s=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new s;return f(x,function(_,b){h(y,b,p(_,b,x))}),y}})},25188:function(d,g,e){"use strict";var r=e(94488),i=e(42683),l=e(62003),c=e(2786).set;r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(s){for(var h=i(this),u=arguments.length,a=0;a<u;)l(arguments[a++],function(x,p){c(h,x,p)},{AS_ENTRIES:!0});return h}})},10215:function(d,g,e){"use strict";var r=e(94488),i=e(48800);r({target:"Map",stat:!0,forced:!0},{of:i})},3432:function(d,g,e){"use strict";var r=e(94488),i=e(63335),l=e(42683),c=e(95037),f=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(h){var u=l(this),a=arguments.length<2,x=a?void 0:arguments[1];if(i(h),c(u,function(p,y){a?(a=!1,x=p):x=h(x,p,y,u)}),a)throw new f("Reduce of empty map with no initial value");return x}})},90486:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0);return c(h,function(a,x){if(u(a,x,h))return!0},!0)===!0}})},8774:function(d,g,e){"use strict";var r=e(94488),i=e(14615);r({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:i})},6736:function(d,g,e){"use strict";var r=e(94488),i=e(63335),l=e(42683),c=e(2786),f=TypeError,s=c.get,h=c.has,u=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{update:function(x,p){var y=l(this),_=arguments.length;i(p);var b=h(y,x);if(!b&&_<3)throw new f("Updating absent value");var S=b?s(y,x):i(_>2?arguments[2]:void 0)(x,y);return u(y,x,p(S,x,y)),y}})},94065:function(d,g,e){"use strict";var r=e(94488),i=e(14615);r({target:"Map",proto:!0,real:!0,forced:!0},{upsert:i})},93036:function(d,g,e){"use strict";var r=e(94488),i=Math.min,l=Math.max;r({target:"Math",stat:!0,forced:!0},{clamp:function(f,s,h){return i(h,l(s,f))}})},75708:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},84624:function(d,g,e){"use strict";var r=e(94488),i=180/Math.PI;r({target:"Math",stat:!0,forced:!0},{degrees:function(c){return c*i}})},43710:function(d,g,e){"use strict";var r=e(94488),i=e(35175);r({target:"Math",stat:!0},{f16round:i})},66233:function(d,g,e){"use strict";var r=e(94488),i=e(24619),l=e(14894);r({target:"Math",stat:!0,forced:!0},{fscale:function(f,s,h,u,a){return l(i(f,s,h,u,a))}})},92762:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{iaddh:function(l,c,f,s){var h=l>>>0,u=c>>>0,a=f>>>0;return u+(s>>>0)+((h&a|(h|a)&~(h+a>>>0))>>>31)|0}})},24467:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{imulh:function(l,c){var f=65535,s=+l,h=+c,u=s&f,a=h&f,x=s>>16,p=h>>16,y=(x*a>>>0)+(u*a>>>16);return x*p+(y>>16)+((u*p>>>0)+(y&f)>>16)}})},68465:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{isubh:function(l,c,f,s){var h=l>>>0,u=c>>>0,a=f>>>0;return u-(s>>>0)-((~h&a|~(h^a)&h-a>>>0)>>>31)|0}})},77004:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},83925:function(d,g,e){"use strict";var r=e(94488),i=Math.PI/180;r({target:"Math",stat:!0,forced:!0},{radians:function(c){return c*i}})},51117:function(d,g,e){"use strict";var r=e(94488),i=e(24619);r({target:"Math",stat:!0,forced:!0},{scale:i})},87236:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(1222),c=e(83126),f=e(25587),s=e(94844),h="Seeded Random",u=h+" Generator",a='Math.seededPRNG() argument should have a "seed" field with a finite value.',x=s.set,p=s.getterFor(u),y=TypeError,_=c(function(S){x(this,{type:u,seed:S%2147483647})},h,function(){var S=p(this),R=S.seed=(S.seed*1103515245+12345)%2147483647;return f((R&1073741823)/1073741823,!1)});r({target:"Math",stat:!0,forced:!0},{seededPRNG:function(S){var R=i(S).seed;if(!l(R))throw new y(a);return new _(R)}})},83733:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{signbit:function(l){var c=+l;return c===c&&c===0?1/c===-1/0:c<0}})},92044:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{umulh:function(l,c){var f=65535,s=+l,h=+c,u=s&f,a=h&f,x=s>>>16,p=h>>>16,y=(x*a>>>0)+(u*a>>>16);return x*p+(y>>>16)+((u*p>>>0)+(y&f)>>>16)}})},29190:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c="Invalid number representation",f="Invalid radix",s=RangeError,h=SyntaxError,u=TypeError,a=parseInt,x=Math.pow,p=/^[\d.a-z]+$/,y=i("".charAt),_=i(p.exec),b=i(1 .toString),S=i("".slice),R=i("".split);r({target:"Number",stat:!0,forced:!0},{fromString:function(C,D){var B=1;if(typeof C!="string")throw new u(c);if(!C.length)throw new h(c);if(y(C,0)==="-"&&(B=-1,C=S(C,1),!C.length))throw new h(c);var $=D===void 0?10:l(D);if($<2||$>36)throw new s(f);if(!_(p,C))throw new h(c);var U=R(C,"."),K=a(U[0],$);if(U.length>1&&(K+=a(U[1],$)/x($,U[1].length)),$===10&&b(K,$)!==C)throw new h(c);return B*K}})},10775:function(d,g,e){"use strict";var r=e(94488),i=e(17243);r({target:"Number",stat:!0,forced:!0},{range:function(c,f,s){return new i(c,f,s,"number",0,1)}})},19593:function(d,g,e){"use strict";var r=e(94488),i=e(20574);r({target:"Object",stat:!0,forced:!0},{iterateEntries:function(c){return new i(c,"entries")}})},26502:function(d,g,e){"use strict";var r=e(94488),i=e(20574);r({target:"Object",stat:!0,forced:!0},{iterateKeys:function(c){return new i(c,"keys")}})},10174:function(d,g,e){"use strict";var r=e(94488),i=e(20574);r({target:"Object",stat:!0,forced:!0},{iterateValues:function(c){return new i(c,"values")}})},76867:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(35454),c=e(51996),f=e(63335),s=e(80449),h=e(56472),u=e(55327),a=e(4112),x=e(31946),p=e(53776),y=e(2291),_=e(66477),b=e(64110),S=e(61810),R=e(59893),L=e(94844),C=R("observable"),D="Observable",B="Subscription",$="SubscriptionObserver",U=L.getterFor,K=L.set,V=U(D),G=U(B),oe=U($),ae=function(ue){this.observer=s(ue),this.cleanup=void 0,this.subscriptionObserver=void 0};ae.prototype={type:B,clean:function(){var ue=this.cleanup;if(ue){this.cleanup=void 0;try{ue()}catch(ne){S(ne)}}},close:function(){if(!l){var ue=this.facade,ne=this.subscriptionObserver;ue.closed=!0,ne&&(ne.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var le=function(ue,ne){var ee=K(this,new ae(ue)),ie;l||(this.closed=!1);try{(ie=p(ue,"start"))&&i(ie,ue,this)}catch(de){S(de)}if(!ee.isClosed()){var F=ee.subscriptionObserver=new q(ee);try{var M=ne(F),Q=M;a(M)||(ee.cleanup=u(M.unsubscribe)?function(){Q.unsubscribe()}:f(M))}catch(de){F.error(de);return}ee.isClosed()&&ee.clean()}};le.prototype=_({},{unsubscribe:function(){var ne=G(this);ne.isClosed()||(ne.close(),ne.clean())}}),l&&b(le.prototype,"closed",{configurable:!0,get:function(){return G(this).isClosed()}});var q=function(ue){K(this,{type:$,subscriptionState:ue}),l||(this.closed=!1)};q.prototype=_({},{next:function(ne){var ee=oe(this).subscriptionState;if(!ee.isClosed()){var ie=ee.observer;try{var F=p(ie,"next");F&&i(F,ie,ne)}catch(M){S(M)}}},error:function(ne){var ee=oe(this).subscriptionState;if(!ee.isClosed()){var ie=ee.observer;ee.close();try{var F=p(ie,"error");F?i(F,ie,ne):S(ne)}catch(M){S(M)}ee.clean()}},complete:function(){var ne=oe(this).subscriptionState;if(!ne.isClosed()){var ee=ne.observer;ne.close();try{var ie=p(ee,"complete");ie&&i(ie,ee)}catch(F){S(F)}ne.clean()}}}),l&&b(q.prototype,"closed",{configurable:!0,get:function(){return oe(this).subscriptionState.isClosed()}});var J=function(ne){h(this,Y),K(this,{type:D,subscriber:f(ne)})},Y=J.prototype;_(Y,{subscribe:function(ne){var ee=arguments.length;return new le(u(ne)?{next:ne,error:ee>1?arguments[1]:void 0,complete:ee>2?arguments[2]:void 0}:x(ne)?ne:{},V(this).subscriber)}}),y(Y,C,function(){return this}),r({global:!0,constructor:!0,forced:!0},{Observable:J}),c(D)},14548:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(89945),c=e(80449),f=e(39812),s=e(85428),h=e(53776),u=e(62003),a=e(59893),x=a("observable");r({target:"Observable",stat:!0,forced:!0},{from:function(y){var _=f(this)?this:i("Observable"),b=h(c(y),x);if(b){var S=c(l(b,y));return S.constructor===_?S:new _(function(L){return S.subscribe(L)})}var R=s(y);return new _(function(L){u(R,function(C,D){if(L.next(C),L.closed)return D()},{IS_ITERATOR:!0,INTERRUPTED:!0}),L.complete()})}})},96378:function(d,g,e){"use strict";e(76867),e(14548),e(6053)},6053:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(39812),c=i("Array");r({target:"Observable",stat:!0,forced:!0},{of:function(){for(var s=l(this)?this:i("Observable"),h=arguments.length,u=c(h),a=0;a<h;)u[a]=arguments[a++];return new s(function(x){for(var p=0;p<h;p++)if(x.next(u[p]),x.closed)return;x.complete()})}})},58216:function(d,g,e){"use strict";var r=e(94488),i=e(73446),l=e(80734);r({target:"Promise",stat:!0,forced:!0},{try:function(c){var f=i.f(this),s=l(c);return(s.error?f.reject:f.resolve)(s.value),f.promise}})},41401:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.set;r({target:"Reflect",stat:!0},{defineMetadata:function(h,u,a){var x=arguments.length<4?void 0:c(arguments[3]);f(h,u,l(a),x)}})},79908:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.getMap,s=i.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(u,a){var x=arguments.length<3?void 0:c(arguments[2]),p=f(l(a),x,!1);if(p===void 0||!p.delete(u))return!1;if(p.size)return!0;var y=s.get(a);return y.delete(x),!!y.size||s.delete(a)}})},79890:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(82584),c=e(80449),f=e(53456),s=e(65621),h=i(s),u=i([].concat),a=l.keys,x=l.toKey,p=function(y,_){var b=a(y,_),S=f(y);if(S===null)return b;var R=p(S,_);return R.length?b.length?h(u(b,R)):R:b};r({target:"Reflect",stat:!0},{getMetadataKeys:function(_){var b=arguments.length<2?void 0:x(arguments[1]);return p(c(_),b)}})},82531:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=e(53456),f=i.has,s=i.get,h=i.toKey,u=function(a,x,p){var y=f(a,x,p);if(y)return s(a,x,p);var _=c(x);return _!==null?u(a,_,p):void 0};r({target:"Reflect",stat:!0},{getMetadata:function(x,p){var y=arguments.length<3?void 0:h(arguments[2]);return u(x,l(p),y)}})},38944:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.keys,f=i.toKey;r({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(h){var u=arguments.length<2?void 0:f(arguments[1]);return c(l(h),u)}})},88472:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.get,f=i.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(h,u){var a=arguments.length<3?void 0:f(arguments[2]);return c(h,l(u),a)}})},78423:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=e(53456),f=i.has,s=i.toKey,h=function(u,a,x){var p=f(u,a,x);if(p)return!0;var y=c(a);return y!==null?h(u,y,x):!1};r({target:"Reflect",stat:!0},{hasMetadata:function(a,x){var p=arguments.length<3?void 0:s(arguments[2]);return h(a,l(x),p)}})},65713:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.has,f=i.toKey;r({target:"Reflect",stat:!0},{hasOwnMetadata:function(h,u){var a=arguments.length<3?void 0:f(arguments[2]);return c(h,l(u),a)}})},22968:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.set;r({target:"Reflect",stat:!0},{metadata:function(h,u){return function(x,p){f(h,u,l(x),c(p))}}})},17564:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(69905),c=e(19268),f=i("".charCodeAt),s=i("".replace),h=RegExp("[!\"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^`{|}~"+c+"]","g");r({target:"RegExp",stat:!0,forced:!0},{escape:function(a){var x=l(a),p=f(x,0);return(p>47&&p<58?"\\x3":"")+s(x,h,"\\$&")}})},1220:function(d,g,e){"use strict";var r=e(94488),i=e(17442),l=e(19691).add;r({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var f=i(this),s=0,h=arguments.length;s<h;s++)l(f,arguments[s]);return f}})},44886:function(d,g,e){"use strict";var r=e(94488),i=e(17442),l=e(19691).remove;r({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),s=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),s=s&&h;return!!s}})},35295:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(10038);r({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(s){return i(c,this,l(s))}})},57019:function(d,g,e){"use strict";var r=e(94488),i=e(10038),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("difference")},{difference:i})},80286:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(57002);r({target:"Set",proto:!0,real:!0,forced:!0},{every:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0);return c(h,function(a){if(!u(a,a,h))return!1},!0)!==!1}})},38487:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(19691),f=e(57002),s=c.Set,h=c.add;r({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new s;return f(x,function(_){p(_,_,x)&&h(y,_)}),y}})},29916:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(57002);r({target:"Set",proto:!0,real:!0,forced:!0},{find:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0),a=c(h,function(x){if(u(x,x,h))return{value:x}},!0);return a&&a.value}})},25541:function(d,g,e){"use strict";var r=e(94488),i=e(72846);r({target:"Set",stat:!0,forced:!0},{from:i})},34926:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(16049);r({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(s){return i(c,this,l(s))}})},45612:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(16049),c=e(22627),f=!c("intersection")||i(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});r({target:"Set",proto:!0,real:!0,forced:f},{intersection:l})},68255:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(17616);r({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(s){return i(c,this,l(s))}})},98080:function(d,g,e){"use strict";var r=e(94488),i=e(17616),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("isDisjointFrom")},{isDisjointFrom:i})},16450:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(84833);r({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(s){return i(c,this,l(s))}})},96351:function(d,g,e){"use strict";var r=e(94488),i=e(84833),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("isSubsetOf")},{isSubsetOf:i})},86921:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(51135);r({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(s){return i(c,this,l(s))}})},60244:function(d,g,e){"use strict";var r=e(94488),i=e(51135),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("isSupersetOf")},{isSupersetOf:i})},82928:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(17442),c=e(57002),f=e(69905),s=i([].join),h=i([].push);r({target:"Set",proto:!0,real:!0,forced:!0},{join:function(a){var x=l(this),p=a===void 0?",":f(a),y=[];return c(x,function(_){h(y,_)}),s(y,p)}})},42947:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(19691),f=e(57002),s=c.Set,h=c.add;r({target:"Set",proto:!0,real:!0,forced:!0},{map:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new s;return f(x,function(_){h(y,p(_,_,x))}),y}})},71568:function(d,g,e){"use strict";var r=e(94488),i=e(48800);r({target:"Set",stat:!0,forced:!0},{of:i})},94194:function(d,g,e){"use strict";var r=e(94488),i=e(63335),l=e(17442),c=e(57002),f=TypeError;r({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(h){var u=l(this),a=arguments.length<2,x=a?void 0:arguments[1];if(i(h),c(u,function(p){a?(a=!1,x=p):x=h(x,p,p,u)}),a)throw new f("Reduce of empty set with no initial value");return x}})},30556:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(57002);r({target:"Set",proto:!0,real:!0,forced:!0},{some:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0);return c(h,function(a){if(u(a,a,h))return!0},!0)===!0}})},93102:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(36312);r({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(s){return i(c,this,l(s))}})},32100:function(d,g,e){"use strict";var r=e(94488),i=e(36312),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("symmetricDifference")},{symmetricDifference:i})},82074:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(24667);r({target:"Set",proto:!0,real:!0,forced:!0},{union:function(s){return i(c,this,l(s))}})},1821:function(d,g,e){"use strict";var r=e(94488),i=e(24667),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("union")},{union:i})},13578:function(d,g,e){"use strict";var r=e(94488),i=e(13764).charAt,l=e(95955),c=e(56902),f=e(69905);r({target:"String",proto:!0,forced:!0},{at:function(h){var u=f(l(this)),a=u.length,x=c(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:i(u,p)}})},62882:function(d,g,e){"use strict";var r=e(94488),i=e(83126),l=e(25587),c=e(95955),f=e(69905),s=e(94844),h=e(13764),u=h.codeAt,a=h.charAt,x="String Iterator",p=s.set,y=s.getterFor(x),_=i(function(S){p(this,{type:x,string:S,index:0})},"String",function(){var S=y(this),R=S.string,L=S.index,C;return L>=R.length?l(void 0,!0):(C=a(R,L),S.index+=C.length,l({codePoint:u(C,0),position:L},!1))});r({target:"String",proto:!0,forced:!0},{codePoints:function(){return new _(f(c(this)))}})},59348:function(d,g,e){"use strict";var r=e(94488),i=e(67410);r({target:"String",stat:!0,forced:!0},{cooked:i})},37457:function(d,g,e){"use strict";var r=e(13247),i=e(94488),l=e(86528),c=e(94237),f=e(13743),s=e(80449),h=e(94029),u=e(55327),a=e(82762),x=e(37691).f,p=e(71698),y=e(42530),_=e(67410),b=e(79204),S=e(19268),R=new y.WeakMap,L=y.get,C=y.has,D=y.set,B=Array,$=TypeError,U=Object.freeze||Object,K=Object.isFrozen,V=Math.min,G=c("".charAt),oe=c("".slice),ae=c("".split),le=c(/./.exec),q=/([\n\u2028\u2029]|\r\n?)/g,J=RegExp("^["+S+"]*"),Y=RegExp("[^"+S+"]"),ue="Invalid tag",ne="Invalid opening line",ee="Invalid closing line",ie=function(Ce){var je=Ce.raw;if(r&&!K(je))throw new $("Raw template should be frozen");if(C(R,je))return L(R,je);var Fe=F(je),Ft=Q(Fe);return x(Ft,"raw",{value:U(Fe)}),U(Ft),D(R,je,Ft),Ft},F=function(Ce){var je=h(Ce),Fe=a(je),Ft=B(Fe),_t=B(Fe),Pt=0,qt,er,Jt,Xe;if(!Fe)throw new $(ue);for(;Pt<Fe;Pt++){var It=je[Pt];if(typeof It=="string")Ft[Pt]=ae(It,q);else throw new $(ue)}for(Pt=0;Pt<Fe;Pt++){var zt=Pt+1===Fe;if(qt=Ft[Pt],Pt===0){if(qt.length===1||qt[0].length>0)throw new $(ne);qt[1]=""}if(zt){if(qt.length===1||le(Y,qt[qt.length-1]))throw new $(ee);qt[qt.length-2]="",qt[qt.length-1]=""}for(var st=2;st<qt.length;st+=2){var bt=qt[st],ht=st+1===qt.length&&!zt,Je=le(J,bt)[0];if(!ht&&Je.length===bt.length){qt[st]="";continue}er=M(Je,er)}}var Ue=er?er.length:0;for(Pt=0;Pt<Fe;Pt++){for(qt=Ft[Pt],Jt=qt[0],Xe=1;Xe<qt.length;Xe+=2)Jt+=qt[Xe]+oe(qt[Xe+1],Ue);_t[Pt]=Jt}return _t},M=function(Ce,je){if(je===void 0||Ce===je)return Ce;for(var Fe=0,Ft=V(Ce.length,je.length);Fe<Ft&&G(Ce,Fe)===G(je,Fe);Fe++);return oe(Ce,0,Fe)},Q=function(Ce){for(var je=0,Fe=Ce.length,Ft=B(Fe);je<Fe;je++)Ft[je]=b(Ce[je]);return Ft},de=function(Ce){return l(function(je){var Fe=p(arguments);return Fe[0]=ie(s(je)),f(Ce,this,Fe)},"")},we=de(_);i({target:"String",stat:!0,forced:!0},{dedent:function(je){return s(je),u(je)?de(je):f(we,this,arguments)}})},14800:function(d,g,e){"use strict";var r=e(94488),i=e(16332),l=e(53456),c=e(58218),f=e(24538),s=e(20132),h=e(68151),u=e(35012),a=e(61888),x=e(7825),p=e(59893),y=p("toStringTag"),_=Error,b=function(L,C,D){var B=i(S,this),$;return c?$=c(new _,B?l(this):S):($=B?this:s(S),h($,y,"Error")),D!==void 0&&h($,"message",x(D)),a($,b,$.stack,1),h($,"error",L),h($,"suppressed",C),$};c?c(b,_):f(b,_,{name:!0});var S=b.prototype=s(_.prototype,{constructor:u(1,b),message:u(1,""),name:u(1,"SuppressedError")});r({global:!0,constructor:!0,arity:3},{SuppressedError:b})},70654:function(d,g,e){"use strict";var r=e(92916),i=e(94674),l=e(37691).f,c=e(71256).f,f=r.Symbol;if(i("asyncDispose"),f){var s=c(f,"asyncDispose");s.enumerable&&s.configurable&&s.writable&&l(f,"asyncDispose",{value:s.value,enumerable:!1,configurable:!1,writable:!1})}},90252:function(d,g,e){"use strict";var r=e(92916),i=e(94674),l=e(37691).f,c=e(71256).f,f=r.Symbol;if(i("dispose"),f){var s=c(f,"dispose");s.enumerable&&s.configurable&&s.writable&&l(f,"dispose",{value:s.value,enumerable:!1,configurable:!1,writable:!1})}},29482:function(d,g,e){"use strict";var r=e(94488),i=e(69077);r({target:"Symbol",stat:!0},{isRegisteredSymbol:i})},51630:function(d,g,e){"use strict";var r=e(94488),i=e(69077);r({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:i})},61933:function(d,g,e){"use strict";var r=e(94488),i=e(40443);r({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:i})},619:function(d,g,e){"use strict";var r=e(94488),i=e(40443);r({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:i})},99675:function(d,g,e){"use strict";var r=e(94674);r("matcher")},53637:function(d,g,e){"use strict";var r=e(94674);r("metadataKey")},52548:function(d,g,e){"use strict";var r=e(94674);r("metadata")},57482:function(d,g,e){"use strict";var r=e(94674);r("observable")},59725:function(d,g,e){"use strict";var r=e(94674);r("patternMatch")},17610:function(d,g,e){"use strict";var r=e(94674);r("replaceAll")},11507:function(d,g,e){"use strict";var r=e(58261),i=e(90560).filterReject,l=e(27607),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("filterOut",function(h){var u=i(c(this),h,arguments.length>1?arguments[1]:void 0);return l(this,u)},!0)},16315:function(d,g,e){"use strict";var r=e(58261),i=e(90560).filterReject,l=e(27607),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("filterReject",function(h){var u=i(c(this),h,arguments.length>1?arguments[1]:void 0);return l(this,u)},!0)},56966:function(d,g,e){"use strict";var r=e(65911),i=e(6086),l=e(32278),c=e(58261),f=e(69478),s=c.aTypedArrayConstructor,h=c.exportTypedArrayStaticMethod;h("fromAsync",function(a){var x=this,p=arguments.length,y=p>1?arguments[1]:void 0,_=p>2?arguments[2]:void 0;return new(r("Promise"))(function(b){i(x),b(l(a,y,_))}).then(function(b){return f(s(x),b)})},!0)},60239:function(d,g,e){"use strict";var r=e(58261),i=e(36444),l=e(31384),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("groupBy",function(h){var u=arguments.length>1?arguments[1]:void 0;return i(c(this),h,u,l)},!0)},49381:function(d,g,e){"use strict";var r=e(58261),i=e(82762),l=e(75406),c=e(51981),f=e(93303),s=e(56902),h=e(3338),u=r.aTypedArray,a=r.getTypedArrayConstructor,x=r.exportTypedArrayMethod,p=Math.max,y=Math.min,_=!h(function(){var b=new Int8Array([1]),S=b.toSpliced(1,0,{valueOf:function(){return b[0]=2,3}});return S[0]!==2||S[1]!==3});x("toSpliced",function(S,R){var L=u(this),C=a(L),D=i(L),B=c(S,D),$=arguments.length,U=0,K,V,G,oe,ae,le,q;if($===0)K=V=0;else if($===1)K=0,V=D-B;else if(V=y(p(s(R),0),D-B),K=$-2,K){oe=new C(K),G=l(oe);for(var J=2;J<$;J++)ae=arguments[J],oe[J-2]=G?f(ae):+ae}for(le=D+K-V,q=new C(le);U<B;U++)q[U]=L[U];for(;U<B+K;U++)q[U]=oe[U-B];for(;U<le;U++)q[U]=L[U+V-K];return q},!_)},17230:function(d,g,e){"use strict";var r=e(94237),i=e(58261),l=e(69478),c=e(65621),f=i.aTypedArray,s=i.getTypedArrayConstructor,h=i.exportTypedArrayMethod,u=r(c);h("uniqueBy",function(x){return f(this),l(s(this),u(this,x))},!0)},62720:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(1674),f=e(79606),s=e(32621),h=e(69478),u=e(66244),a=e(81750),x=u.c2i,p=u.c2iUrl,y=i.Uint8Array,_=i.SyntaxError,b=l("".charAt),S=l("".replace),R=l("".slice),L=l([].push),C=/[\t\n\f\r ]/g,D="Extra bits";y&&r({target:"Uint8Array",stat:!0,forced:!0},{fromBase64:function($){f($);var U=arguments.length>1?c(arguments[1]):void 0,K=a(U)==="base64"?x:p,V=U?!!U.strict:!1,G=V?$:S($,C,"");if(G.length%4===0)R(G,-2)==="=="?G=R(G,0,-2):R(G,-1)==="="&&(G=R(G,0,-1));else if(V)throw new _("Input is not correctly padded");var oe=G.length%4;switch(oe){case 1:throw new _("Bad input length");case 2:G+="AA";break;case 3:G+="A"}for(var ae=[],le=0,q=G.length,J=function(ne){var ee=b(G,le+ne);if(!s(K,ee))throw new _('Bad char in input: "'+ee+'"');return K[ee]<<18-6*ne};le<q;le+=4){var Y=J(0)+J(1)+J(2)+J(3);L(ae,Y>>16&255,Y>>8&255,Y&255)}var ue=ae.length;if(oe===2){if(V&&ae[ue-2]!==0)throw new _(D);ue-=2}else if(oe===3){if(V&&ae[ue-1]!==0)throw new _(D);ue--}return h(y,ae,ue)}})},57151:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(79606),f=i.Uint8Array,s=i.SyntaxError,h=i.parseInt,u=/[^\da-f]/i,a=l(u.exec),x=l("".slice);f&&r({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(y){c(y);var _=y.length;if(_%2)throw new s("String should have an even number of characters");if(a(u,y))throw new s("String should only contain hex characters");for(var b=new f(_/2),S=0;S<_;S+=2)b[S/2]=h(x(y,S,S+2),16);return b}})},48732:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(1674),f=e(27270),s=e(66244),h=e(81750),u=s.i2c,a=s.i2cUrl,x=i.Uint8Array,p=l("".charAt);x&&r({target:"Uint8Array",proto:!0,forced:!0},{toBase64:function(){for(var _=f(this),b=arguments.length?c(arguments[0]):void 0,S=h(b)==="base64"?u:a,R="",L=0,C=_.length,D,B=function($){return p(S,D>>6*$&63)};L+2<C;L+=3)D=(_[L]<<16)+(_[L+1]<<8)+_[L+2],R+=B(3)+B(2)+B(1)+B(0);return L+2===C?(D=(_[L]<<16)+(_[L+1]<<8),R+=B(3)+B(2)+B(1)+"="):L+1===C&&(D=_[L]<<16,R+=B(3)+B(2)+"=="),R}})},18481:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(27270),f=i.Uint8Array,s=l(1 .toString);f&&r({target:"Uint8Array",proto:!0,forced:!0},{toHex:function(){c(this);for(var u="",a=0,x=this.length;a<x;a++){var p=s(this[a],16);u+=p.length===1?"0"+p:p}return u}})},55055:function(d,g,e){"use strict";var r=e(94488),i=e(63619),l=e(42530).remove;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),s=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),s=s&&h;return!!s}})},90965:function(d,g,e){"use strict";var r=e(94488),i=e(63619),l=e(42530),c=l.get,f=l.has,s=l.set;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{emplace:function(u,a){var x=i(this),p,y;return f(x,u)?(p=c(x,u),"update"in a&&(p=a.update(p,u,x),s(x,u,p)),p):(y=a.insert(u,x),s(x,u,y),y)}})},7195:function(d,g,e){"use strict";var r=e(94488),i=e(72846);r({target:"WeakMap",stat:!0,forced:!0},{from:i})},89179:function(d,g,e){"use strict";var r=e(94488),i=e(48800);r({target:"WeakMap",stat:!0,forced:!0},{of:i})},67725:function(d,g,e){"use strict";var r=e(94488),i=e(14615);r({target:"WeakMap",proto:!0,real:!0,forced:!0},{upsert:i})},59884:function(d,g,e){"use strict";var r=e(94488),i=e(18888),l=e(91385).add;r({target:"WeakSet",proto:!0,real:!0,forced:!0},{addAll:function(){for(var f=i(this),s=0,h=arguments.length;s<h;s++)l(f,arguments[s]);return f}})},89202:function(d,g,e){"use strict";var r=e(94488),i=e(18888),l=e(91385).remove;r({target:"WeakSet",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),s=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),s=s&&h;return!!s}})},97815:function(d,g,e){"use strict";var r=e(94488),i=e(72846);r({target:"WeakSet",stat:!0,forced:!0},{from:i})},11593:function(d,g,e){"use strict";var r=e(94488),i=e(48800);r({target:"WeakSet",stat:!0,forced:!0},{of:i})},7597:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(94237),f=e(89945),s=e(3338),h=e(69905),u=e(57106),a=e(66244).c2i,x=/[^\d+/a-z]/i,p=/[\t\n\f\r ]+/g,y=/[=]{1,2}$/,_=l("atob"),b=String.fromCharCode,S=c("".charAt),R=c("".replace),L=c(x.exec),C=!!_&&!s(function(){return _("aGk=")!=="hi"}),D=C&&s(function(){return _(" ")!==""}),B=C&&!s(function(){_("a")}),$=C&&!s(function(){_()}),U=C&&_.length!==1,K=!C||D||B||$||U;r({global:!0,bind:!0,enumerable:!0,forced:K},{atob:function(G){if(u(arguments.length,1),C&&!D&&!B)return f(_,i,G);var oe=R(h(G),p,""),ae="",le=0,q=0,J,Y,ue;if(oe.length%4===0&&(oe=R(oe,y,"")),J=oe.length,J%4===1||L(x,oe))throw new(l("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;le<J;)Y=S(oe,le++),ue=q%4?ue*64+a[Y]:a[Y],q++%4&&(ae+=b(255&ue>>(-2*q&6)));return ae}})},55182:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(94237),f=e(89945),s=e(3338),h=e(69905),u=e(57106),a=e(66244).i2c,x=l("btoa"),p=c("".charAt),y=c("".charCodeAt),_=!!x&&!s(function(){return x("hi")!=="aGk="}),b=_&&!s(function(){x()}),S=_&&s(function(){return x(null)!=="bnVsbA=="}),R=_&&x.length!==1;r({global:!0,bind:!0,enumerable:!0,forced:!_||b||S||R},{btoa:function(C){if(u(arguments.length,1),_)return f(x,i,h(C));for(var D=h(C),B="",$=0,U=a,K,V;p(D,$)||(U="=",$%1);){if(V=y(D,$+=.75),V>255)throw new(l("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");K=K<<8|V,B+=p(U,63&K>>8-$%1*8)}return B}})},91472:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(28887).clear;r({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==l},{clearImmediate:l})},34366:function(d,g,e){"use strict";var r=e(92916),i=e(66749),l=e(9518),c=e(59594),f=e(68151),s=function(u){if(u&&u.forEach!==c)try{f(u,"forEach",c)}catch(a){u.forEach=c}};for(var h in i)i[h]&&s(r[h]&&r[h].prototype);s(l)},85425:function(d,g,e){"use strict";var r=e(92916),i=e(66749),l=e(9518),c=e(11005),f=e(68151),s=e(94573),h=e(59893),u=h("iterator"),a=c.values,x=function(y,_){if(y){if(y[u]!==a)try{f(y,u,a)}catch(S){y[u]=a}if(s(y,_,!0),i[_]){for(var b in c)if(y[b]!==c[b])try{f(y,b,c[b])}catch(S){y[b]=c[b]}}}};for(var p in i)x(r[p]&&r[p].prototype,p);x(l,"DOMTokenList")},64522:function(d,g,e){"use strict";var r=e(94488),i=e(11270),l=e(65911),c=e(3338),f=e(20132),s=e(35012),h=e(37691).f,u=e(2291),a=e(64110),x=e(32621),p=e(56472),y=e(80449),_=e(13367),b=e(7825),S=e(52109),R=e(80739),L=e(94844),C=e(35454),D=e(16697),B="DOMException",$="DATA_CLONE_ERR",U=l("Error"),K=l(B)||function(){try{var _t=l("MessageChannel")||i("worker_threads").MessageChannel;new _t().port1.postMessage(new WeakMap)}catch(Pt){if(Pt.name===$&&Pt.code===25)return Pt.constructor}}(),V=K&&K.prototype,G=U.prototype,oe=L.set,ae=L.getterFor(B),le="stack"in new U(B),q=function(_t){return x(S,_t)&&S[_t].m?S[_t].c:0},J=function(){p(this,Y);var Pt=arguments.length,qt=b(Pt<1?void 0:arguments[0]),er=b(Pt<2?void 0:arguments[1],"Error"),Jt=q(er);if(oe(this,{type:B,name:er,message:qt,code:Jt}),C||(this.name=er,this.message=qt,this.code=Jt),le){var Xe=new U(qt);Xe.name=B,h(this,"stack",s(1,R(Xe.stack,1)))}},Y=J.prototype=f(G),ue=function(_t){return{enumerable:!0,configurable:!0,get:_t}},ne=function(_t){return ue(function(){return ae(this)[_t]})};C&&(a(Y,"code",ne("code")),a(Y,"message",ne("message")),a(Y,"name",ne("name"))),h(Y,"constructor",s(1,J));var ee=c(function(){return!(new K instanceof U)}),ie=ee||c(function(){return G.toString!==_||String(new K(1,2))!=="2: 1"}),F=ee||c(function(){return new K(1,"DataCloneError").code!==25}),M=ee||K[$]!==25||V[$]!==25,Q=D?ie||F||M:ee;r({global:!0,constructor:!0,forced:Q},{DOMException:Q?J:K});var de=l(B),we=de.prototype;ie&&(D||K===de)&&u(we,"toString",_),F&&C&&K===de&&a(we,"code",ue(function(){return q(y(this).name)}));for(var Ce in S)if(x(S,Ce)){var je=S[Ce],Fe=je.s,Ft=s(6,je.c);x(de,Fe)||h(de,Fe,Ft),x(we,Fe)||h(we,Fe,Ft)}},41599:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(35012),f=e(37691).f,s=e(32621),h=e(56472),u=e(25576),a=e(7825),x=e(52109),p=e(80739),y=e(35454),_=e(16697),b="DOMException",S=l("Error"),R=l(b),L=function(){h(this,C);var J=arguments.length,Y=a(J<1?void 0:arguments[0]),ue=a(J<2?void 0:arguments[1],"Error"),ne=new R(Y,ue),ee=new S(Y);return ee.name=b,f(ne,"stack",c(1,p(ee.stack,1))),u(ne,this,L),ne},C=L.prototype=R.prototype,D="stack"in new S(b),B="stack"in new R(1,2),$=R&&y&&Object.getOwnPropertyDescriptor(i,b),U=!!$&&!($.writable&&$.configurable),K=D&&!U&&!B;r({global:!0,constructor:!0,forced:_||K},{DOMException:K?L:R});var V=l(b),G=V.prototype;if(G.constructor!==V){_||f(G,"constructor",c(1,V));for(var oe in x)if(s(x,oe)){var ae=x[oe],le=ae.s;s(V,le)||f(V,le,c(6,ae.c))}}},86465:function(d,g,e){"use strict";var r=e(65911),i=e(94573),l="DOMException";i(r(l),l)},78437:function(d,g,e){"use strict";e(91472),e(91700)},73624:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(72933),c=e(63335),f=e(57106),s=e(90946),h=i.process;r({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(a){f(arguments.length,1),c(a);var x=s&&h.domain;l(x?x.bind(a):a)}})},62059:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(64110),c=e(35454),f=TypeError,s=Object.defineProperty,h=i.self!==i;try{if(c){var u=Object.getOwnPropertyDescriptor(i,"self");(h||!u||!u.get||!u.enumerable)&&l(i,"self",{get:function(){return i},set:function(x){if(this!==i)throw new f("Illegal invocation");s(i,"self",{value:x,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else r({global:!0,simple:!0,forced:h},{self:i})}catch(a){}},91700:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(28887).set,c=e(93222),f=i.setImmediate?c(l,!1):l;r({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==f},{setImmediate:f})},88469:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(93222),c=l(i.setInterval,!0);r({global:!0,bind:!0,forced:i.setInterval!==c},{setInterval:c})},91572:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(93222),c=l(i.setTimeout,!0);r({global:!0,bind:!0,forced:i.setTimeout!==c},{setTimeout:c})},10305:function(d,g,e){"use strict";var r=e(16697),i=e(94488),l=e(92916),c=e(65911),f=e(94237),s=e(3338),h=e(6145),u=e(55327),a=e(39812),x=e(4112),p=e(31946),y=e(18446),_=e(62003),b=e(80449),S=e(97607),R=e(32621),L=e(69392),C=e(68151),D=e(82762),B=e(57106),$=e(81644),U=e(2786),K=e(19691),V=e(57002),G=e(39311),oe=e(25406),ae=e(80426),le=l.Object,q=l.Array,J=l.Date,Y=l.Error,ue=l.TypeError,ne=l.PerformanceMark,ee=c("DOMException"),ie=U.Map,F=U.has,M=U.get,Q=U.set,de=K.Set,we=K.add,Ce=K.has,je=c("Object","keys"),Fe=f([].push),Ft=f((!0).valueOf),_t=f(1 .valueOf),Pt=f("".valueOf),qt=f(J.prototype.getTime),er=h("structuredClone"),Jt="DataCloneError",Xe="Transferring",It=function(De){return!s(function(){var qe=new l.Set([7]),Gt=De(qe),kt=De(le(7));return Gt===qe||!Gt.has(7)||!p(kt)||+kt!=7})&&De},zt=function(De,qe){return!s(function(){var Gt=new qe,kt=De({a:Gt,b:Gt});return!(kt&&kt.a===kt.b&&kt.a instanceof qe&&kt.a.stack===Gt.stack)})},st=function(De){return!s(function(){var qe=De(new l.AggregateError([1],er,{cause:3}));return qe.name!=="AggregateError"||qe.errors[0]!==1||qe.message!==er||qe.cause!==3})},bt=l.structuredClone,ht=r||!zt(bt,Y)||!zt(bt,ee)||!st(bt),Je=!bt&&It(function(De){return new ne(er,{detail:De}).detail}),Ue=It(bt)||Je,ge=function(De){throw new ee("Uncloneable type: "+De,Jt)},Ae=function(De,qe){throw new ee((qe||"Cloning")+" of "+De+" cannot be properly polyfilled in this engine",Jt)},Me=function(De,qe){return Ue||Ae(qe),Ue(De)},$e=function(){var De;try{De=new l.DataTransfer}catch(qe){try{De=new l.ClipboardEvent("").clipboardData}catch(Gt){}}return De&&De.items&&De.files?De:null},He=function(De,qe,Gt){if(F(qe,De))return M(qe,De);var kt=Gt||S(De),Ht,$t,Ct,Yt,We,fe;if(kt==="SharedArrayBuffer")Ue?Ht=Ue(De):Ht=De;else{var _e=l.DataView;!_e&&!u(De.slice)&&Ae("ArrayBuffer");try{if(u(De.slice)&&!De.resizable)Ht=De.slice(0);else for($t=De.byteLength,Ct=("maxByteLength"in De)?{maxByteLength:De.maxByteLength}:void 0,Ht=new ArrayBuffer($t,Ct),Yt=new _e(De),We=new _e(Ht),fe=0;fe<$t;fe++)We.setUint8(fe,Yt.getUint8(fe))}catch(Ot){throw new ee("ArrayBuffer is detached",Jt)}}return Q(qe,De,Ht),Ht},nt=function(De,qe,Gt,kt,Ht){var $t=l[qe];return p($t)||Ae(qe),new $t(He(De.buffer,Ht),Gt,kt)},ct=function(De,qe){if(y(De)&&ge("Symbol"),!p(De))return De;if(qe){if(F(qe,De))return M(qe,De)}else qe=new ie;var Gt=S(De),kt,Ht,$t,Ct,Yt,We,fe,_e;switch(Gt){case"Array":$t=q(D(De));break;case"Object":$t={};break;case"Map":$t=new ie;break;case"Set":$t=new de;break;case"RegExp":$t=new RegExp(De.source,$(De));break;case"Error":switch(Ht=De.name,Ht){case"AggregateError":$t=new(c(Ht))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":$t=new(c(Ht));break;case"CompileError":case"LinkError":case"RuntimeError":$t=new(c("WebAssembly",Ht));break;default:$t=new Y}break;case"DOMException":$t=new ee(De.message,De.name);break;case"ArrayBuffer":case"SharedArrayBuffer":$t=He(De,qe,Gt);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":We=Gt==="DataView"?De.byteLength:De.length,$t=nt(De,Gt,De.byteOffset,We,qe);break;case"DOMQuad":try{$t=new DOMQuad(ct(De.p1,qe),ct(De.p2,qe),ct(De.p3,qe),ct(De.p4,qe))}catch(Ot){$t=Me(De,Gt)}break;case"File":if(Ue)try{$t=Ue(De),S($t)!==Gt&&($t=void 0)}catch(Ot){}if(!$t)try{$t=new File([De],De.name,De)}catch(Ot){}$t||Ae(Gt);break;case"FileList":if(Ct=$e(),Ct){for(Yt=0,We=D(De);Yt<We;Yt++)Ct.items.add(ct(De[Yt],qe));$t=Ct.files}else $t=Me(De,Gt);break;case"ImageData":try{$t=new ImageData(ct(De.data,qe),De.width,De.height,{colorSpace:De.colorSpace})}catch(Ot){$t=Me(De,Gt)}break;default:if(Ue)$t=Ue(De);else switch(Gt){case"BigInt":$t=le(De.valueOf());break;case"Boolean":$t=le(Ft(De));break;case"Number":$t=le(_t(De));break;case"String":$t=le(Pt(De));break;case"Date":$t=new J(qt(De));break;case"Blob":try{$t=De.slice(0,De.size,De.type)}catch(Ot){Ae(Gt)}break;case"DOMPoint":case"DOMPointReadOnly":kt=l[Gt];try{$t=kt.fromPoint?kt.fromPoint(De):new kt(De.x,De.y,De.z,De.w)}catch(Ot){Ae(Gt)}break;case"DOMRect":case"DOMRectReadOnly":kt=l[Gt];try{$t=kt.fromRect?kt.fromRect(De):new kt(De.x,De.y,De.width,De.height)}catch(Ot){Ae(Gt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":kt=l[Gt];try{$t=kt.fromMatrix?kt.fromMatrix(De):new kt(De)}catch(Ot){Ae(Gt)}break;case"AudioData":case"VideoFrame":u(De.clone)||Ae(Gt);try{$t=De.clone()}catch(Ot){ge(Gt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":Ae(Gt);default:ge(Gt)}}switch(Q(qe,De,$t),Gt){case"Array":case"Object":for(fe=je(De),Yt=0,We=D(fe);Yt<We;Yt++)_e=fe[Yt],L($t,_e,ct(De[_e],qe));break;case"Map":De.forEach(function(Ot,Pe){Q($t,ct(Pe,qe),ct(Ot,qe))});break;case"Set":De.forEach(function(Ot){we($t,ct(Ot,qe))});break;case"Error":C($t,"message",ct(De.message,qe)),R(De,"cause")&&C($t,"cause",ct(De.cause,qe)),Ht==="AggregateError"?$t.errors=ct(De.errors,qe):Ht==="SuppressedError"&&($t.error=ct(De.error,qe),$t.suppressed=ct(De.suppressed,qe));case"DOMException":oe&&C($t,"stack",ct(De.stack,qe))}return $t},Vt=function(De,qe){if(!p(De))throw new ue("Transfer option cannot be converted to a sequence");var Gt=[];_(De,function(Pe){Fe(Gt,b(Pe))});for(var kt=0,Ht=D(Gt),$t=new de,Ct,Yt,We,fe,_e,Ot;kt<Ht;){if(Ct=Gt[kt++],Yt=S(Ct),Yt==="ArrayBuffer"?Ce($t,Ct):F(qe,Ct))throw new ee("Duplicate transferable",Jt);if(Yt==="ArrayBuffer"){we($t,Ct);continue}if(ae)fe=bt(Ct,{transfer:[Ct]});else switch(Yt){case"ImageBitmap":We=l.OffscreenCanvas,a(We)||Ae(Yt,Xe);try{_e=new We(Ct.width,Ct.height),Ot=_e.getContext("bitmaprenderer"),Ot.transferFromImageBitmap(Ct),fe=_e.transferToImageBitmap()}catch(Pe){}break;case"AudioData":case"VideoFrame":(!u(Ct.clone)||!u(Ct.close))&&Ae(Yt,Xe);try{fe=Ct.clone(),Ct.close()}catch(Pe){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":Ae(Yt,Xe)}if(fe===void 0)throw new ee("This object cannot be transferred: "+Yt,Jt);Q(qe,Ct,fe)}return $t},Wt=function(De){V(De,function(qe){ae?Ue(qe,{transfer:[qe]}):u(qe.transfer)?qe.transfer():G?G(qe):Ae("ArrayBuffer",Xe)})};i({global:!0,enumerable:!0,sham:!ae,forced:ht},{structuredClone:function(qe){var Gt=B(arguments.length,1)>1&&!x(arguments[1])?b(arguments[1]):void 0,kt=Gt?Gt.transfer:void 0,Ht,$t;kt!==void 0&&(Ht=new ie,$t=Vt(kt,Ht));var Ct=ct(qe,Ht);return $t&&Wt($t),Ct}})},41208:function(d,g,e){"use strict";e(88469),e(91572)},91340:function(d,g,e){"use strict";e(11005);var r=e(94488),i=e(92916),l=e(89945),c=e(94237),f=e(35454),s=e(3299),h=e(2291),u=e(64110),a=e(66477),x=e(94573),p=e(83126),y=e(94844),_=e(56472),b=e(55327),S=e(32621),R=e(80666),L=e(97607),C=e(80449),D=e(31946),B=e(69905),$=e(20132),U=e(35012),K=e(85428),V=e(26006),G=e(25587),oe=e(57106),ae=e(59893),le=e(63668),q=ae("iterator"),J="URLSearchParams",Y=J+"Iterator",ue=y.set,ne=y.getterFor(J),ee=y.getterFor(Y),ie=Object.getOwnPropertyDescriptor,F=function(Ht){if(!f)return i[Ht];var $t=ie(i,Ht);return $t&&$t.value},M=F("fetch"),Q=F("Request"),de=F("Headers"),we=Q&&Q.prototype,Ce=de&&de.prototype,je=i.RegExp,Fe=i.TypeError,Ft=i.decodeURIComponent,_t=i.encodeURIComponent,Pt=c("".charAt),qt=c([].join),er=c([].push),Jt=c("".replace),Xe=c([].shift),It=c([].splice),zt=c("".split),st=c("".slice),bt=/\+/g,ht=Array(4),Je=function(Ht){return ht[Ht-1]||(ht[Ht-1]=je("((?:%[\\da-f]{2}){"+Ht+"})","gi"))},Ue=function(Ht){try{return Ft(Ht)}catch($t){return Ht}},ge=function(Ht){var $t=Jt(Ht,bt," "),Ct=4;try{return Ft($t)}catch(Yt){for(;Ct;)$t=Jt($t,Je(Ct--),Ue);return $t}},Ae=/[!'()~]|%20/g,Me={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},$e=function(Ht){return Me[Ht]},He=function(Ht){return Jt(_t(Ht),Ae,$e)},nt=p(function($t,Ct){ue(this,{type:Y,target:ne($t).entries,index:0,kind:Ct})},J,function(){var $t=ee(this),Ct=$t.target,Yt=$t.index++;if(!Ct||Yt>=Ct.length)return $t.target=void 0,G(void 0,!0);var We=Ct[Yt];switch($t.kind){case"keys":return G(We.key,!1);case"values":return G(We.value,!1)}return G([We.key,We.value],!1)},!0),ct=function(Ht){this.entries=[],this.url=null,Ht!==void 0&&(D(Ht)?this.parseObject(Ht):this.parseQuery(typeof Ht=="string"?Pt(Ht,0)==="?"?st(Ht,1):Ht:B(Ht)))};ct.prototype={type:J,bindURL:function(Ht){this.url=Ht,this.update()},parseObject:function(Ht){var $t=this.entries,Ct=V(Ht),Yt,We,fe,_e,Ot,Pe,dt;if(Ct)for(Yt=K(Ht,Ct),We=Yt.next;!(fe=l(We,Yt)).done;){if(_e=K(C(fe.value)),Ot=_e.next,(Pe=l(Ot,_e)).done||(dt=l(Ot,_e)).done||!l(Ot,_e).done)throw new Fe("Expected sequence with length 2");er($t,{key:B(Pe.value),value:B(dt.value)})}else for(var Zt in Ht)S(Ht,Zt)&&er($t,{key:Zt,value:B(Ht[Zt])})},parseQuery:function(Ht){if(Ht)for(var $t=this.entries,Ct=zt(Ht,"&"),Yt=0,We,fe;Yt<Ct.length;)We=Ct[Yt++],We.length&&(fe=zt(We,"="),er($t,{key:ge(Xe(fe)),value:ge(qt(fe,"="))}))},serialize:function(){for(var Ht=this.entries,$t=[],Ct=0,Yt;Ct<Ht.length;)Yt=Ht[Ct++],er($t,He(Yt.key)+"="+He(Yt.value));return qt($t,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Vt=function(){_(this,Wt);var $t=arguments.length>0?arguments[0]:void 0,Ct=ue(this,new ct($t));f||(this.size=Ct.entries.length)},Wt=Vt.prototype;if(a(Wt,{append:function($t,Ct){var Yt=ne(this);oe(arguments.length,2),er(Yt.entries,{key:B($t),value:B(Ct)}),f||this.length++,Yt.updateURL()},delete:function(Ht){for(var $t=ne(this),Ct=oe(arguments.length,1),Yt=$t.entries,We=B(Ht),fe=Ct<2?void 0:arguments[1],_e=fe===void 0?fe:B(fe),Ot=0;Ot<Yt.length;){var Pe=Yt[Ot];if(Pe.key===We&&(_e===void 0||Pe.value===_e)){if(It(Yt,Ot,1),_e!==void 0)break}else Ot++}f||(this.size=Yt.length),$t.updateURL()},get:function($t){var Ct=ne(this).entries;oe(arguments.length,1);for(var Yt=B($t),We=0;We<Ct.length;We++)if(Ct[We].key===Yt)return Ct[We].value;return null},getAll:function($t){var Ct=ne(this).entries;oe(arguments.length,1);for(var Yt=B($t),We=[],fe=0;fe<Ct.length;fe++)Ct[fe].key===Yt&&er(We,Ct[fe].value);return We},has:function($t){for(var Ct=ne(this).entries,Yt=oe(arguments.length,1),We=B($t),fe=Yt<2?void 0:arguments[1],_e=fe===void 0?fe:B(fe),Ot=0;Ot<Ct.length;){var Pe=Ct[Ot++];if(Pe.key===We&&(_e===void 0||Pe.value===_e))return!0}return!1},set:function($t,Ct){var Yt=ne(this);oe(arguments.length,1);for(var We=Yt.entries,fe=!1,_e=B($t),Ot=B(Ct),Pe=0,dt;Pe<We.length;Pe++)dt=We[Pe],dt.key===_e&&(fe?It(We,Pe--,1):(fe=!0,dt.value=Ot));fe||er(We,{key:_e,value:Ot}),f||(this.size=We.length),Yt.updateURL()},sort:function(){var $t=ne(this);le($t.entries,function(Ct,Yt){return Ct.key>Yt.key?1:-1}),$t.updateURL()},forEach:function($t){for(var Ct=ne(this).entries,Yt=R($t,arguments.length>1?arguments[1]:void 0),We=0,fe;We<Ct.length;)fe=Ct[We++],Yt(fe.value,fe.key,this)},keys:function(){return new nt(this,"keys")},values:function(){return new nt(this,"values")},entries:function(){return new nt(this,"entries")}},{enumerable:!0}),h(Wt,q,Wt.entries,{name:"entries"}),h(Wt,"toString",function(){return ne(this).serialize()},{enumerable:!0}),f&&u(Wt,"size",{get:function(){return ne(this).entries.length},configurable:!0,enumerable:!0}),x(Vt,J),r({global:!0,constructor:!0,forced:!s},{URLSearchParams:Vt}),!s&&b(de)){var De=c(Ce.has),qe=c(Ce.set),Gt=function(Ht){if(D(Ht)){var $t=Ht.body,Ct;if(L($t)===J)return Ct=Ht.headers?new de(Ht.headers):new de,De(Ct,"content-type")||qe(Ct,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),$(Ht,{body:U(0,B($t)),headers:U(0,Ct)})}return Ht};if(b(M)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function($t){return M($t,arguments.length>1?Gt(arguments[1]):{})}}),b(Q)){var kt=function($t){return _(this,we),new Q($t,arguments.length>1?Gt(arguments[1]):{})};we.constructor=kt,kt.prototype=we,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:kt})}}d.exports={URLSearchParams:Vt,getState:ne}},4890:function(d,g,e){"use strict";var r=e(2291),i=e(94237),l=e(69905),c=e(57106),f=URLSearchParams,s=f.prototype,h=i(s.append),u=i(s.delete),a=i(s.forEach),x=i([].push),p=new f("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&r(s,"delete",function(y){var _=arguments.length,b=_<2?void 0:arguments[1];if(_&&b===void 0)return u(this,y);var S=[];a(this,function(K,V){x(S,{key:V,value:K})}),c(_,1);for(var R=l(y),L=l(b),C=0,D=0,B=!1,$=S.length,U;C<$;)U=S[C++],B||U.key===R?(B=!0,u(this,U.key)):D++;for(;D<$;)U=S[D++],U.key===R&&U.value===L||h(this,U.key,U.value)},{enumerable:!0,unsafe:!0})},5340:function(d,g,e){"use strict";var r=e(2291),i=e(94237),l=e(69905),c=e(57106),f=URLSearchParams,s=f.prototype,h=i(s.getAll),u=i(s.has),a=new f("a=1");(a.has("a",2)||!a.has("a",void 0))&&r(s,"has",function(p){var y=arguments.length,_=y<2?void 0:arguments[1];if(y&&_===void 0)return u(this,p);var b=h(this,p);c(y,1);for(var S=l(_),R=0;R<b.length;)if(b[R++]===S)return!0;return!1},{enumerable:!0,unsafe:!0})},7893:function(d,g,e){"use strict";e(91340)},61650:function(d,g,e){"use strict";var r=e(35454),i=e(94237),l=e(64110),c=URLSearchParams.prototype,f=i(c.forEach);r&&!("size"in c)&&l(c,"size",{get:function(){var h=0;return f(this,function(){h++}),h},configurable:!0,enumerable:!0})},40061:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(3338),c=e(57106),f=e(69905),s=e(3299),h=i("URL"),u=s&&l(function(){h.canParse()});r({target:"URL",stat:!0,forced:!u},{canParse:function(x){var p=c(arguments.length,1),y=f(x),_=p<2||arguments[1]===void 0?void 0:f(arguments[1]);try{return!!new h(y,_)}catch(b){return!1}}})},13588:function(d,g,e){"use strict";e(20852);var r=e(94488),i=e(35454),l=e(3299),c=e(92916),f=e(80666),s=e(94237),h=e(2291),u=e(64110),a=e(56472),x=e(32621),p=e(80530),y=e(60255),_=e(71698),b=e(13764).codeAt,S=e(93245),R=e(69905),L=e(94573),C=e(57106),D=e(91340),B=e(94844),$=B.set,U=B.getterFor("URL"),K=D.URLSearchParams,V=D.getState,G=c.URL,oe=c.TypeError,ae=c.parseInt,le=Math.floor,q=Math.pow,J=s("".charAt),Y=s(/./.exec),ue=s([].join),ne=s(1 .toString),ee=s([].pop),ie=s([].push),F=s("".replace),M=s([].shift),Q=s("".split),de=s("".slice),we=s("".toLowerCase),Ce=s([].unshift),je="Invalid authority",Fe="Invalid scheme",Ft="Invalid host",_t="Invalid port",Pt=/[a-z]/i,qt=/[\d+-.a-z]/i,er=/\d/,Jt=/^0x/i,Xe=/^[0-7]+$/,It=/^\d+$/,zt=/^[\da-f]+$/i,st=/[\0\t\n\r #%/:<>?@[\\\]^|]/,bt=/[\0\t\n\r #/:<>?@[\\\]^|]/,ht=/^[\u0000-\u0020]+/,Je=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ue=/[\t\n\r]/g,ge,Ae=function(or){var Lt=Q(or,"."),vt,yt,jt,Cr,gr,ot,Mr;if(Lt.length&&Lt[Lt.length-1]===""&&Lt.length--,vt=Lt.length,vt>4)return or;for(yt=[],jt=0;jt<vt;jt++){if(Cr=Lt[jt],Cr==="")return or;if(gr=10,Cr.length>1&&J(Cr,0)==="0"&&(gr=Y(Jt,Cr)?16:8,Cr=de(Cr,gr===8?1:2)),Cr==="")ot=0;else{if(!Y(gr===10?It:gr===8?Xe:zt,Cr))return or;ot=ae(Cr,gr)}ie(yt,ot)}for(jt=0;jt<vt;jt++)if(ot=yt[jt],jt===vt-1){if(ot>=q(256,5-vt))return null}else if(ot>255)return null;for(Mr=ee(yt),jt=0;jt<yt.length;jt++)Mr+=yt[jt]*q(256,3-jt);return Mr},Me=function(or){var Lt=[0,0,0,0,0,0,0,0],vt=0,yt=null,jt=0,Cr,gr,ot,Mr,yn,Zn,mr,tn=function(){return J(or,jt)};if(tn()===":"){if(J(or,1)!==":")return;jt+=2,vt++,yt=vt}for(;tn();){if(vt===8)return;if(tn()===":"){if(yt!==null)return;jt++,vt++,yt=vt;continue}for(Cr=gr=0;gr<4&&Y(zt,tn());)Cr=Cr*16+ae(tn(),16),jt++,gr++;if(tn()==="."){if(gr===0||(jt-=gr,vt>6))return;for(ot=0;tn();){if(Mr=null,ot>0)if(tn()==="."&&ot<4)jt++;else return;if(!Y(er,tn()))return;for(;Y(er,tn());){if(yn=ae(tn(),10),Mr===null)Mr=yn;else{if(Mr===0)return;Mr=Mr*10+yn}if(Mr>255)return;jt++}Lt[vt]=Lt[vt]*256+Mr,ot++,(ot===2||ot===4)&&vt++}if(ot!==4)return;break}else if(tn()===":"){if(jt++,!tn())return}else if(tn())return;Lt[vt++]=Cr}if(yt!==null)for(Zn=vt-yt,vt=7;vt!==0&&Zn>0;)mr=Lt[vt],Lt[vt--]=Lt[yt+Zn-1],Lt[yt+--Zn]=mr;else if(vt!==8)return;return Lt},$e=function(or){for(var Lt=null,vt=1,yt=null,jt=0,Cr=0;Cr<8;Cr++)or[Cr]!==0?(jt>vt&&(Lt=yt,vt=jt),yt=null,jt=0):(yt===null&&(yt=Cr),++jt);return jt>vt&&(Lt=yt,vt=jt),Lt},He=function(or){var Lt,vt,yt,jt;if(typeof or=="number"){for(Lt=[],vt=0;vt<4;vt++)Ce(Lt,or%256),or=le(or/256);return ue(Lt,".")}else if(typeof or=="object"){for(Lt="",yt=$e(or),vt=0;vt<8;vt++)jt&&or[vt]===0||(jt&&(jt=!1),yt===vt?(Lt+=vt?":":"::",jt=!0):(Lt+=ne(or[vt],16),vt<7&&(Lt+=":")));return"["+Lt+"]"}return or},nt={},ct=p({},nt,{" ":1,'"':1,"<":1,">":1,"`":1}),Vt=p({},ct,{"#":1,"?":1,"{":1,"}":1}),Wt=p({},Vt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),De=function(or,Lt){var vt=b(or,0);return vt>32&&vt<127&&!x(Lt,or)?or:encodeURIComponent(or)},qe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Gt=function(or,Lt){var vt;return or.length===2&&Y(Pt,J(or,0))&&((vt=J(or,1))===":"||!Lt&&vt==="|")},kt=function(or){var Lt;return or.length>1&&Gt(de(or,0,2))&&(or.length===2||(Lt=J(or,2))==="/"||Lt==="\\"||Lt==="?"||Lt==="#")},Ht=function(or){return or==="."||we(or)==="%2e"},$t=function(or){return or=we(or),or===".."||or==="%2e."||or===".%2e"||or==="%2e%2e"},Ct={},Yt={},We={},fe={},_e={},Ot={},Pe={},dt={},Zt={},Tt={},ke={},St={},be={},Ke={},gt={},Rt={},Be={},kr={},At={},Kr={},qr={},Ar=function(or,Lt,vt){var yt=R(or),jt,Cr,gr;if(Lt){if(Cr=this.parse(yt),Cr)throw new oe(Cr);this.searchParams=null}else{if(vt!==void 0&&(jt=new Ar(vt,!0)),Cr=this.parse(yt,null,jt),Cr)throw new oe(Cr);gr=V(new K),gr.bindURL(this),this.searchParams=gr}};Ar.prototype={type:"URL",parse:function(or,Lt,vt){var yt=this,jt=Lt||Ct,Cr=0,gr="",ot=!1,Mr=!1,yn=!1,Zn,mr,tn,hn;for(or=R(or),Lt||(yt.scheme="",yt.username="",yt.password="",yt.host=null,yt.port=null,yt.path=[],yt.query=null,yt.fragment=null,yt.cannotBeABaseURL=!1,or=F(or,ht,""),or=F(or,Je,"$1")),or=F(or,Ue,""),Zn=y(or);Cr<=Zn.length;){switch(mr=Zn[Cr],jt){case Ct:if(mr&&Y(Pt,mr))gr+=we(mr),jt=Yt;else{if(Lt)return Fe;jt=We;continue}break;case Yt:if(mr&&(Y(qt,mr)||mr==="+"||mr==="-"||mr==="."))gr+=we(mr);else if(mr===":"){if(Lt&&(yt.isSpecial()!==x(qe,gr)||gr==="file"&&(yt.includesCredentials()||yt.port!==null)||yt.scheme==="file"&&!yt.host))return;if(yt.scheme=gr,Lt){yt.isSpecial()&&qe[yt.scheme]===yt.port&&(yt.port=null);return}gr="",yt.scheme==="file"?jt=Ke:yt.isSpecial()&&vt&&vt.scheme===yt.scheme?jt=fe:yt.isSpecial()?jt=dt:Zn[Cr+1]==="/"?(jt=_e,Cr++):(yt.cannotBeABaseURL=!0,ie(yt.path,""),jt=At)}else{if(Lt)return Fe;gr="",jt=We,Cr=0;continue}break;case We:if(!vt||vt.cannotBeABaseURL&&mr!=="#")return Fe;if(vt.cannotBeABaseURL&&mr==="#"){yt.scheme=vt.scheme,yt.path=_(vt.path),yt.query=vt.query,yt.fragment="",yt.cannotBeABaseURL=!0,jt=qr;break}jt=vt.scheme==="file"?Ke:Ot;continue;case fe:if(mr==="/"&&Zn[Cr+1]==="/")jt=Zt,Cr++;else{jt=Ot;continue}break;case _e:if(mr==="/"){jt=Tt;break}else{jt=kr;continue}case Ot:if(yt.scheme=vt.scheme,mr===ge)yt.username=vt.username,yt.password=vt.password,yt.host=vt.host,yt.port=vt.port,yt.path=_(vt.path),yt.query=vt.query;else if(mr==="/"||mr==="\\"&&yt.isSpecial())jt=Pe;else if(mr==="?")yt.username=vt.username,yt.password=vt.password,yt.host=vt.host,yt.port=vt.port,yt.path=_(vt.path),yt.query="",jt=Kr;else if(mr==="#")yt.username=vt.username,yt.password=vt.password,yt.host=vt.host,yt.port=vt.port,yt.path=_(vt.path),yt.query=vt.query,yt.fragment="",jt=qr;else{yt.username=vt.username,yt.password=vt.password,yt.host=vt.host,yt.port=vt.port,yt.path=_(vt.path),yt.path.length--,jt=kr;continue}break;case Pe:if(yt.isSpecial()&&(mr==="/"||mr==="\\"))jt=Zt;else if(mr==="/")jt=Tt;else{yt.username=vt.username,yt.password=vt.password,yt.host=vt.host,yt.port=vt.port,jt=kr;continue}break;case dt:if(jt=Zt,mr!=="/"||J(gr,Cr+1)!=="/")continue;Cr++;break;case Zt:if(mr!=="/"&&mr!=="\\"){jt=Tt;continue}break;case Tt:if(mr==="@"){ot&&(gr="%40"+gr),ot=!0,tn=y(gr);for(var Fn=0;Fn<tn.length;Fn++){var ti=tn[Fn];if(ti===":"&&!yn){yn=!0;continue}var jn=De(ti,Wt);yn?yt.password+=jn:yt.username+=jn}gr=""}else if(mr===ge||mr==="/"||mr==="?"||mr==="#"||mr==="\\"&&yt.isSpecial()){if(ot&&gr==="")return je;Cr-=y(gr).length+1,gr="",jt=ke}else gr+=mr;break;case ke:case St:if(Lt&&yt.scheme==="file"){jt=Rt;continue}else if(mr===":"&&!Mr){if(gr==="")return Ft;if(hn=yt.parseHost(gr),hn)return hn;if(gr="",jt=be,Lt===St)return}else if(mr===ge||mr==="/"||mr==="?"||mr==="#"||mr==="\\"&&yt.isSpecial()){if(yt.isSpecial()&&gr==="")return Ft;if(Lt&&gr===""&&(yt.includesCredentials()||yt.port!==null))return;if(hn=yt.parseHost(gr),hn)return hn;if(gr="",jt=Be,Lt)return;continue}else mr==="["?Mr=!0:mr==="]"&&(Mr=!1),gr+=mr;break;case be:if(Y(er,mr))gr+=mr;else if(mr===ge||mr==="/"||mr==="?"||mr==="#"||mr==="\\"&&yt.isSpecial()||Lt){if(gr!==""){var Zi=ae(gr,10);if(Zi>65535)return _t;yt.port=yt.isSpecial()&&Zi===qe[yt.scheme]?null:Zi,gr=""}if(Lt)return;jt=Be;continue}else return _t;break;case Ke:if(yt.scheme="file",mr==="/"||mr==="\\")jt=gt;else if(vt&&vt.scheme==="file")switch(mr){case ge:yt.host=vt.host,yt.path=_(vt.path),yt.query=vt.query;break;case"?":yt.host=vt.host,yt.path=_(vt.path),yt.query="",jt=Kr;break;case"#":yt.host=vt.host,yt.path=_(vt.path),yt.query=vt.query,yt.fragment="",jt=qr;break;default:kt(ue(_(Zn,Cr),""))||(yt.host=vt.host,yt.path=_(vt.path),yt.shortenPath()),jt=kr;continue}else{jt=kr;continue}break;case gt:if(mr==="/"||mr==="\\"){jt=Rt;break}vt&&vt.scheme==="file"&&!kt(ue(_(Zn,Cr),""))&&(Gt(vt.path[0],!0)?ie(yt.path,vt.path[0]):yt.host=vt.host),jt=kr;continue;case Rt:if(mr===ge||mr==="/"||mr==="\\"||mr==="?"||mr==="#"){if(!Lt&&Gt(gr))jt=kr;else if(gr===""){if(yt.host="",Lt)return;jt=Be}else{if(hn=yt.parseHost(gr),hn)return hn;if(yt.host==="localhost"&&(yt.host=""),Lt)return;gr="",jt=Be}continue}else gr+=mr;break;case Be:if(yt.isSpecial()){if(jt=kr,mr!=="/"&&mr!=="\\")continue}else if(!Lt&&mr==="?")yt.query="",jt=Kr;else if(!Lt&&mr==="#")yt.fragment="",jt=qr;else if(mr!==ge&&(jt=kr,mr!=="/"))continue;break;case kr:if(mr===ge||mr==="/"||mr==="\\"&&yt.isSpecial()||!Lt&&(mr==="?"||mr==="#")){if($t(gr)?(yt.shortenPath(),mr!=="/"&&!(mr==="\\"&&yt.isSpecial())&&ie(yt.path,"")):Ht(gr)?mr!=="/"&&!(mr==="\\"&&yt.isSpecial())&&ie(yt.path,""):(yt.scheme==="file"&&!yt.path.length&&Gt(gr)&&(yt.host&&(yt.host=""),gr=J(gr,0)+":"),ie(yt.path,gr)),gr="",yt.scheme==="file"&&(mr===ge||mr==="?"||mr==="#"))for(;yt.path.length>1&&yt.path[0]==="";)M(yt.path);mr==="?"?(yt.query="",jt=Kr):mr==="#"&&(yt.fragment="",jt=qr)}else gr+=De(mr,Vt);break;case At:mr==="?"?(yt.query="",jt=Kr):mr==="#"?(yt.fragment="",jt=qr):mr!==ge&&(yt.path[0]+=De(mr,nt));break;case Kr:!Lt&&mr==="#"?(yt.fragment="",jt=qr):mr!==ge&&(mr==="'"&&yt.isSpecial()?yt.query+="%27":mr==="#"?yt.query+="%23":yt.query+=De(mr,nt));break;case qr:mr!==ge&&(yt.fragment+=De(mr,ct));break}Cr++}},parseHost:function(or){var Lt,vt,yt;if(J(or,0)==="["){if(J(or,or.length-1)!=="]"||(Lt=Me(de(or,1,-1)),!Lt))return Ft;this.host=Lt}else if(this.isSpecial()){if(or=S(or),Y(st,or)||(Lt=Ae(or),Lt===null))return Ft;this.host=Lt}else{if(Y(bt,or))return Ft;for(Lt="",vt=y(or),yt=0;yt<vt.length;yt++)Lt+=De(vt[yt],nt);this.host=Lt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return x(qe,this.scheme)},shortenPath:function(){var or=this.path,Lt=or.length;Lt&&(this.scheme!=="file"||Lt!==1||!Gt(or[0],!0))&&or.length--},serialize:function(){var or=this,Lt=or.scheme,vt=or.username,yt=or.password,jt=or.host,Cr=or.port,gr=or.path,ot=or.query,Mr=or.fragment,yn=Lt+":";return jt!==null?(yn+="//",or.includesCredentials()&&(yn+=vt+(yt?":"+yt:"")+"@"),yn+=He(jt),Cr!==null&&(yn+=":"+Cr)):Lt==="file"&&(yn+="//"),yn+=or.cannotBeABaseURL?gr[0]:gr.length?"/"+ue(gr,"/"):"",ot!==null&&(yn+="?"+ot),Mr!==null&&(yn+="#"+Mr),yn},setHref:function(or){var Lt=this.parse(or);if(Lt)throw new oe(Lt);this.searchParams.update()},getOrigin:function(){var or=this.scheme,Lt=this.port;if(or==="blob")try{return new Br(or.path[0]).origin}catch(vt){return"null"}return or==="file"||!this.isSpecial()?"null":or+"://"+He(this.host)+(Lt!==null?":"+Lt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(or){this.parse(R(or)+":",Ct)},getUsername:function(){return this.username},setUsername:function(or){var Lt=y(R(or));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var vt=0;vt<Lt.length;vt++)this.username+=De(Lt[vt],Wt)}},getPassword:function(){return this.password},setPassword:function(or){var Lt=y(R(or));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var vt=0;vt<Lt.length;vt++)this.password+=De(Lt[vt],Wt)}},getHost:function(){var or=this.host,Lt=this.port;return or===null?"":Lt===null?He(or):He(or)+":"+Lt},setHost:function(or){this.cannotBeABaseURL||this.parse(or,ke)},getHostname:function(){var or=this.host;return or===null?"":He(or)},setHostname:function(or){this.cannotBeABaseURL||this.parse(or,St)},getPort:function(){var or=this.port;return or===null?"":R(or)},setPort:function(or){this.cannotHaveUsernamePasswordPort()||(or=R(or),or===""?this.port=null:this.parse(or,be))},getPathname:function(){var or=this.path;return this.cannotBeABaseURL?or[0]:or.length?"/"+ue(or,"/"):""},setPathname:function(or){this.cannotBeABaseURL||(this.path=[],this.parse(or,Be))},getSearch:function(){var or=this.query;return or?"?"+or:""},setSearch:function(or){or=R(or),or===""?this.query=null:(J(or,0)==="?"&&(or=de(or,1)),this.query="",this.parse(or,Kr)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var or=this.fragment;return or?"#"+or:""},setHash:function(or){if(or=R(or),or===""){this.fragment=null;return}J(or,0)==="#"&&(or=de(or,1)),this.fragment="",this.parse(or,qr)},update:function(){this.query=this.searchParams.serialize()||null}};var Br=function(Lt){var vt=a(this,_r),yt=C(arguments.length,1)>1?arguments[1]:void 0,jt=$(vt,new Ar(Lt,!1,yt));i||(vt.href=jt.serialize(),vt.origin=jt.getOrigin(),vt.protocol=jt.getProtocol(),vt.username=jt.getUsername(),vt.password=jt.getPassword(),vt.host=jt.getHost(),vt.hostname=jt.getHostname(),vt.port=jt.getPort(),vt.pathname=jt.getPathname(),vt.search=jt.getSearch(),vt.searchParams=jt.getSearchParams(),vt.hash=jt.getHash())},_r=Br.prototype,Ur=function(or,Lt){return{get:function(){return U(this)[or]()},set:Lt&&function(vt){return U(this)[Lt](vt)},configurable:!0,enumerable:!0}};if(i&&(u(_r,"href",Ur("serialize","setHref")),u(_r,"origin",Ur("getOrigin")),u(_r,"protocol",Ur("getProtocol","setProtocol")),u(_r,"username",Ur("getUsername","setUsername")),u(_r,"password",Ur("getPassword","setPassword")),u(_r,"host",Ur("getHost","setHost")),u(_r,"hostname",Ur("getHostname","setHostname")),u(_r,"port",Ur("getPort","setPort")),u(_r,"pathname",Ur("getPathname","setPathname")),u(_r,"search",Ur("getSearch","setSearch")),u(_r,"searchParams",Ur("getSearchParams")),u(_r,"hash",Ur("getHash","setHash"))),h(_r,"toJSON",function(){return U(this).serialize()},{enumerable:!0}),h(_r,"toString",function(){return U(this).serialize()},{enumerable:!0}),G){var sn=G.createObjectURL,cn=G.revokeObjectURL;sn&&h(Br,"createObjectURL",f(sn,G)),cn&&h(Br,"revokeObjectURL",f(cn,G))}L(Br,"URL"),r({global:!0,constructor:!0,forced:!l,sham:!i},{URL:Br})},25204:function(d,g,e){"use strict";e(13588)},47803:function(d,g,e){"use strict";var r=e(94488),i=e(89945);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},73825:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},65873:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(89878);function i(l,c,f){return c=(0,r.Z)(c),c in l?Object.defineProperty(l,c,{value:f,enumerable:!0,configurable:!0,writable:!0}):l[c]=f,l}},38329:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){return r=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var c=arguments[l];for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(i[f]=c[f])}return i},r.apply(this,arguments)}},66160:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},63579:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(65873);function i(c,f){var s=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);f&&(h=h.filter(function(u){return Object.getOwnPropertyDescriptor(c,u).enumerable})),s.push.apply(s,h)}return s}function l(c){for(var f=1;f<arguments.length;f++){var s=arguments[f]!=null?arguments[f]:{};f%2?i(Object(s),!0).forEach(function(h){(0,r.Z)(c,h,s[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(s)):i(Object(s)).forEach(function(h){Object.defineProperty(c,h,Object.getOwnPropertyDescriptor(s,h))})}return c}},38127:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});function r(l,c){if(l==null)return{};var f={},s=Object.keys(l),h,u;for(u=0;u<s.length;u++)h=s[u],!(c.indexOf(h)>=0)&&(f[h]=l[h]);return f}function i(l,c){if(l==null)return{};var f=r(l,c),s,h;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(l);for(h=0;h<u.length;h++)s=u[h],!(c.indexOf(s)>=0)&&Object.prototype.propertyIsEnumerable.call(l,s)&&(f[s]=l[s])}return f}},87296:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r=e(73825);function i(s,h){var u=s==null?null:typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(u!=null){var a,x,p,y,_=[],b=!0,S=!1;try{if(p=(u=u.call(s)).next,h===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(a=p.call(u)).done)&&(_.push(a.value),_.length!==h);b=!0);}catch(R){S=!0,x=R}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(S)throw x}}return _}}var l=e(99227),c=e(66160);function f(s,h){return(0,r.Z)(s)||i(s,h)||(0,l.Z)(s,h)||(0,c.Z)()}},89878:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(8616);function i(c,f){if((0,r.Z)(c)!="object"||!c)return c;var s=c[Symbol.toPrimitive];if(s!==void 0){var h=s.call(c,f||"default");if((0,r.Z)(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}function l(c){var f=i(c,"string");return(0,r.Z)(f)=="symbol"?f:String(f)}},8616:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},r(i)}},99227:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});function r(l,c){(c==null||c>l.length)&&(c=l.length);for(var f=0,s=new Array(c);f<c;f++)s[f]=l[f];return s}function i(l,c){if(l){if(typeof l=="string")return r(l,c);var f=Object.prototype.toString.call(l).slice(8,-1);if(f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set")return Array.from(l);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return r(l,c)}}},56243:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){(l==null||l>i.length)&&(l=i.length);for(var c=0,f=Array(l);c<l;c++)f[c]=i[c];return f}},29675:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},80237:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}},72633:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});function r(l,c,f,s,h,u,a){try{var x=l[u](a),p=x.value}catch(y){return void f(y)}x.done?c(p):Promise.resolve(p).then(s,h)}function i(l){return function(){var c=this,f=arguments;return new Promise(function(s,h){var u=l.apply(c,f);function a(p){r(u,s,h,a,x,"next",p)}function x(p){r(u,s,h,a,x,"throw",p)}a(void 0)})}}},96949:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){if(!(i instanceof l))throw new TypeError("Cannot call a class as a function")}},55090:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(60254);function i(c,f){for(var s=0;s<f.length;s++){var h=f[s];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(c,(0,r.Z)(h.key),h)}}function l(c,f,s){return f&&i(c.prototype,f),s&&i(c,s),Object.defineProperty(c,"prototype",{writable:!1}),c}},38793:function(d,g,e){"use strict";e.d(g,{Z:function(){return c}});var r=e(75841),i=e(47123),l=e(73447);function c(f){var s=(0,i.Z)();return function(){var h,u=(0,r.Z)(f);if(s){var a=(0,r.Z)(this).constructor;h=Reflect.construct(u,arguments,a)}else h=u.apply(this,arguments);return(0,l.Z)(this,h)}}},49618:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(60254);function i(l,c,f){return(c=(0,r.Z)(c))in l?Object.defineProperty(l,c,{value:f,enumerable:!0,configurable:!0,writable:!0}):l[c]=f,l}},72308:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){return r=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var c=arguments[l];for(var f in c)({}).hasOwnProperty.call(c,f)&&(i[f]=c[f])}return i},r.apply(null,arguments)}},75841:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},r(i)}},77205:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(60039);function i(l,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(c&&c.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),c&&(0,r.Z)(l,c)}},47123:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){try{var i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(l){}return(r=function(){return!!i})()}},97591:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){if(typeof Symbol!="undefined"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}},49787:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},39564:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(49618);function i(l){for(var c=1;c<arguments.length;c++){var f=arguments[c]!=null?Object(arguments[c]):{},s=Object.keys(f);typeof Object.getOwnPropertySymbols=="function"&&s.push.apply(s,Object.getOwnPropertySymbols(f).filter(function(h){return Object.getOwnPropertyDescriptor(f,h).enumerable})),s.forEach(function(h){(0,r.Z)(l,h,f[h])})}return l}},77321:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(49618);function i(c,f){var s=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);f&&(h=h.filter(function(u){return Object.getOwnPropertyDescriptor(c,u).enumerable})),s.push.apply(s,h)}return s}function l(c){for(var f=1;f<arguments.length;f++){var s=arguments[f]!=null?arguments[f]:{};f%2?i(Object(s),!0).forEach(function(h){(0,r.Z)(c,h,s[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(s)):i(Object(s)).forEach(function(h){Object.defineProperty(c,h,Object.getOwnPropertyDescriptor(s,h))})}return c}},74416:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(87488);function i(l,c){if(l==null)return{};var f,s,h=(0,r.Z)(l,c);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(l);for(s=0;s<u.length;s++)f=u[s],c.indexOf(f)===-1&&{}.propertyIsEnumerable.call(l,f)&&(h[f]=l[f])}return h}},87488:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){if(i==null)return{};var c={};for(var f in i)if({}.hasOwnProperty.call(i,f)){if(l.indexOf(f)!==-1)continue;c[f]=i[f]}return c}},73447:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(62853),i=e(80237);function l(c,f){if(f&&((0,r.Z)(f)=="object"||typeof f=="function"))return f;if(f!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(c)}},65736:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(62853);function i(){"use strict";i=function(){return c};var l,c={},f=Object.prototype,s=f.hasOwnProperty,h=Object.defineProperty||function(ie,F,M){ie[F]=M.value},u=typeof Symbol=="function"?Symbol:{},a=u.iterator||"@@iterator",x=u.asyncIterator||"@@asyncIterator",p=u.toStringTag||"@@toStringTag";function y(ie,F,M){return Object.defineProperty(ie,F,{value:M,enumerable:!0,configurable:!0,writable:!0}),ie[F]}try{y({},"")}catch(ie){y=function(M,Q,de){return M[Q]=de}}function _(ie,F,M,Q){var de=F&&F.prototype instanceof B?F:B,we=Object.create(de.prototype),Ce=new ne(Q||[]);return h(we,"_invoke",{value:q(ie,M,Ce)}),we}function b(ie,F,M){try{return{type:"normal",arg:ie.call(F,M)}}catch(Q){return{type:"throw",arg:Q}}}c.wrap=_;var S="suspendedStart",R="suspendedYield",L="executing",C="completed",D={};function B(){}function $(){}function U(){}var K={};y(K,a,function(){return this});var V=Object.getPrototypeOf,G=V&&V(V(ee([])));G&&G!==f&&s.call(G,a)&&(K=G);var oe=U.prototype=B.prototype=Object.create(K);function ae(ie){["next","throw","return"].forEach(function(F){y(ie,F,function(M){return this._invoke(F,M)})})}function le(ie,F){function M(de,we,Ce,je){var Fe=b(ie[de],ie,we);if(Fe.type!=="throw"){var Ft=Fe.arg,_t=Ft.value;return _t&&(0,r.Z)(_t)=="object"&&s.call(_t,"__await")?F.resolve(_t.__await).then(function(Pt){M("next",Pt,Ce,je)},function(Pt){M("throw",Pt,Ce,je)}):F.resolve(_t).then(function(Pt){Ft.value=Pt,Ce(Ft)},function(Pt){return M("throw",Pt,Ce,je)})}je(Fe.arg)}var Q;h(this,"_invoke",{value:function(we,Ce){function je(){return new F(function(Fe,Ft){M(we,Ce,Fe,Ft)})}return Q=Q?Q.then(je,je):je()}})}function q(ie,F,M){var Q=S;return function(de,we){if(Q===L)throw Error("Generator is already running");if(Q===C){if(de==="throw")throw we;return{value:l,done:!0}}for(M.method=de,M.arg=we;;){var Ce=M.delegate;if(Ce){var je=J(Ce,M);if(je){if(je===D)continue;return je}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(Q===S)throw Q=C,M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);Q=L;var Fe=b(ie,F,M);if(Fe.type==="normal"){if(Q=M.done?C:R,Fe.arg===D)continue;return{value:Fe.arg,done:M.done}}Fe.type==="throw"&&(Q=C,M.method="throw",M.arg=Fe.arg)}}}function J(ie,F){var M=F.method,Q=ie.iterator[M];if(Q===l)return F.delegate=null,M==="throw"&&ie.iterator.return&&(F.method="return",F.arg=l,J(ie,F),F.method==="throw")||M!=="return"&&(F.method="throw",F.arg=new TypeError("The iterator does not provide a '"+M+"' method")),D;var de=b(Q,ie.iterator,F.arg);if(de.type==="throw")return F.method="throw",F.arg=de.arg,F.delegate=null,D;var we=de.arg;return we?we.done?(F[ie.resultName]=we.value,F.next=ie.nextLoc,F.method!=="return"&&(F.method="next",F.arg=l),F.delegate=null,D):we:(F.method="throw",F.arg=new TypeError("iterator result is not an object"),F.delegate=null,D)}function Y(ie){var F={tryLoc:ie[0]};1 in ie&&(F.catchLoc=ie[1]),2 in ie&&(F.finallyLoc=ie[2],F.afterLoc=ie[3]),this.tryEntries.push(F)}function ue(ie){var F=ie.completion||{};F.type="normal",delete F.arg,ie.completion=F}function ne(ie){this.tryEntries=[{tryLoc:"root"}],ie.forEach(Y,this),this.reset(!0)}function ee(ie){if(ie||ie===""){var F=ie[a];if(F)return F.call(ie);if(typeof ie.next=="function")return ie;if(!isNaN(ie.length)){var M=-1,Q=function de(){for(;++M<ie.length;)if(s.call(ie,M))return de.value=ie[M],de.done=!1,de;return de.value=l,de.done=!0,de};return Q.next=Q}}throw new TypeError((0,r.Z)(ie)+" is not iterable")}return $.prototype=U,h(oe,"constructor",{value:U,configurable:!0}),h(U,"constructor",{value:$,configurable:!0}),$.displayName=y(U,p,"GeneratorFunction"),c.isGeneratorFunction=function(ie){var F=typeof ie=="function"&&ie.constructor;return!!F&&(F===$||(F.displayName||F.name)==="GeneratorFunction")},c.mark=function(ie){return Object.setPrototypeOf?Object.setPrototypeOf(ie,U):(ie.__proto__=U,y(ie,p,"GeneratorFunction")),ie.prototype=Object.create(oe),ie},c.awrap=function(ie){return{__await:ie}},ae(le.prototype),y(le.prototype,x,function(){return this}),c.AsyncIterator=le,c.async=function(ie,F,M,Q,de){de===void 0&&(de=Promise);var we=new le(_(ie,F,M,Q),de);return c.isGeneratorFunction(F)?we:we.next().then(function(Ce){return Ce.done?Ce.value:we.next()})},ae(oe),y(oe,p,"Generator"),y(oe,a,function(){return this}),y(oe,"toString",function(){return"[object Generator]"}),c.keys=function(ie){var F=Object(ie),M=[];for(var Q in F)M.push(Q);return M.reverse(),function de(){for(;M.length;){var we=M.pop();if(we in F)return de.value=we,de.done=!1,de}return de.done=!0,de}},c.values=ee,ne.prototype={constructor:ne,reset:function(F){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(ue),!F)for(var M in this)M.charAt(0)==="t"&&s.call(this,M)&&!isNaN(+M.slice(1))&&(this[M]=l)},stop:function(){this.done=!0;var F=this.tryEntries[0].completion;if(F.type==="throw")throw F.arg;return this.rval},dispatchException:function(F){if(this.done)throw F;var M=this;function Q(Ft,_t){return Ce.type="throw",Ce.arg=F,M.next=Ft,_t&&(M.method="next",M.arg=l),!!_t}for(var de=this.tryEntries.length-1;de>=0;--de){var we=this.tryEntries[de],Ce=we.completion;if(we.tryLoc==="root")return Q("end");if(we.tryLoc<=this.prev){var je=s.call(we,"catchLoc"),Fe=s.call(we,"finallyLoc");if(je&&Fe){if(this.prev<we.catchLoc)return Q(we.catchLoc,!0);if(this.prev<we.finallyLoc)return Q(we.finallyLoc)}else if(je){if(this.prev<we.catchLoc)return Q(we.catchLoc,!0)}else{if(!Fe)throw Error("try statement without catch or finally");if(this.prev<we.finallyLoc)return Q(we.finallyLoc)}}}},abrupt:function(F,M){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var de=this.tryEntries[Q];if(de.tryLoc<=this.prev&&s.call(de,"finallyLoc")&&this.prev<de.finallyLoc){var we=de;break}}we&&(F==="break"||F==="continue")&&we.tryLoc<=M&&M<=we.finallyLoc&&(we=null);var Ce=we?we.completion:{};return Ce.type=F,Ce.arg=M,we?(this.method="next",this.next=we.finallyLoc,D):this.complete(Ce)},complete:function(F,M){if(F.type==="throw")throw F.arg;return F.type==="break"||F.type==="continue"?this.next=F.arg:F.type==="return"?(this.rval=this.arg=F.arg,this.method="return",this.next="end"):F.type==="normal"&&M&&(this.next=M),D},finish:function(F){for(var M=this.tryEntries.length-1;M>=0;--M){var Q=this.tryEntries[M];if(Q.finallyLoc===F)return this.complete(Q.completion,Q.afterLoc),ue(Q),D}},catch:function(F){for(var M=this.tryEntries.length-1;M>=0;--M){var Q=this.tryEntries[M];if(Q.tryLoc===F){var de=Q.completion;if(de.type==="throw"){var we=de.arg;ue(Q)}return we}}throw Error("illegal catch attempt")},delegateYield:function(F,M,Q){return this.delegate={iterator:ee(F),resultName:M,nextLoc:Q},this.method==="next"&&(this.arg=l),D}},c}},60039:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,f){return c.__proto__=f,c},r(i,l)}},52487:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r=e(29675);function i(s,h){var u=s==null?null:typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(u!=null){var a,x,p,y,_=[],b=!0,S=!1;try{if(p=(u=u.call(s)).next,h===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(a=p.call(u)).done)&&(_.push(a.value),_.length!==h);b=!0);}catch(R){S=!0,x=R}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(S)throw x}}return _}}var l=e(13873),c=e(49787);function f(s,h){return(0,r.Z)(s)||i(s,h)||(0,l.Z)(s,h)||(0,c.Z)()}},68413:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r=e(29675),i=e(97591),l=e(13873),c=e(49787);function f(s){return(0,r.Z)(s)||(0,i.Z)(s)||(0,l.Z)(s)||(0,c.Z)()}},80702:function(d,g,e){"use strict";e.d(g,{Z:function(){return s}});var r=e(56243);function i(h){if(Array.isArray(h))return(0,r.Z)(h)}var l=e(97591),c=e(13873);function f(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(h){return i(h)||(0,l.Z)(h)||(0,c.Z)(h)||f()}},60254:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(62853);function i(c,f){if((0,r.Z)(c)!="object"||!c)return c;var s=c[Symbol.toPrimitive];if(s!==void 0){var h=s.call(c,f||"default");if((0,r.Z)(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}function l(c){var f=i(c,"string");return(0,r.Z)(f)=="symbol"?f:f+""}},62853:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},r(i)}},13873:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(56243);function i(l,c){if(l){if(typeof l=="string")return(0,r.Z)(l,c);var f={}.toString.call(l).slice(8,-1);return f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set"?Array.from(l):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?(0,r.Z)(l,c):void 0}}},79710:function(d,g,e){"use strict";e.d(g,{ZP:function(){return rr}});const r=Number.isFinite||function(P){return typeof P=="number"&&isFinite(P)},i=Number.isSafeInteger||function(P){return typeof P=="number"&&Math.abs(P)<=l},l=Number.MAX_SAFE_INTEGER||9007199254740991;let c=function(P){return P.NETWORK_ERROR="networkError",P.MEDIA_ERROR="mediaError",P.KEY_SYSTEM_ERROR="keySystemError",P.MUX_ERROR="muxError",P.OTHER_ERROR="otherError",P}({}),f=function(P){return P.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",P.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",P.KEY_SYSTEM_NO_SESSION="keySystemNoSession",P.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",P.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",P.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",P.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",P.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",P.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",P.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",P.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",P.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",P.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",P.MANIFEST_LOAD_ERROR="manifestLoadError",P.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",P.MANIFEST_PARSING_ERROR="manifestParsingError",P.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",P.LEVEL_EMPTY_ERROR="levelEmptyError",P.LEVEL_LOAD_ERROR="levelLoadError",P.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",P.LEVEL_PARSING_ERROR="levelParsingError",P.LEVEL_SWITCH_ERROR="levelSwitchError",P.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",P.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",P.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",P.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",P.FRAG_LOAD_ERROR="fragLoadError",P.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",P.FRAG_DECRYPT_ERROR="fragDecryptError",P.FRAG_PARSING_ERROR="fragParsingError",P.FRAG_GAP="fragGap",P.REMUX_ALLOC_ERROR="remuxAllocError",P.KEY_LOAD_ERROR="keyLoadError",P.KEY_LOAD_TIMEOUT="keyLoadTimeOut",P.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",P.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",P.BUFFER_APPEND_ERROR="bufferAppendError",P.BUFFER_APPENDING_ERROR="bufferAppendingError",P.BUFFER_STALLED_ERROR="bufferStalledError",P.BUFFER_FULL_ERROR="bufferFullError",P.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",P.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",P.ASSET_LIST_LOAD_ERROR="assetListLoadError",P.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",P.ASSET_LIST_PARSING_ERROR="assetListParsingError",P.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",P.INTERNAL_EXCEPTION="internalException",P.INTERNAL_ABORTED="aborted",P.ATTACH_MEDIA_ERROR="attachMediaError",P.UNKNOWN="unknown",P}({}),s=function(P){return P.MEDIA_ATTACHING="hlsMediaAttaching",P.MEDIA_ATTACHED="hlsMediaAttached",P.MEDIA_DETACHING="hlsMediaDetaching",P.MEDIA_DETACHED="hlsMediaDetached",P.MEDIA_ENDED="hlsMediaEnded",P.STALL_RESOLVED="hlsStallResolved",P.BUFFER_RESET="hlsBufferReset",P.BUFFER_CODECS="hlsBufferCodecs",P.BUFFER_CREATED="hlsBufferCreated",P.BUFFER_APPENDING="hlsBufferAppending",P.BUFFER_APPENDED="hlsBufferAppended",P.BUFFER_EOS="hlsBufferEos",P.BUFFERED_TO_END="hlsBufferedToEnd",P.BUFFER_FLUSHING="hlsBufferFlushing",P.BUFFER_FLUSHED="hlsBufferFlushed",P.MANIFEST_LOADING="hlsManifestLoading",P.MANIFEST_LOADED="hlsManifestLoaded",P.MANIFEST_PARSED="hlsManifestParsed",P.LEVEL_SWITCHING="hlsLevelSwitching",P.LEVEL_SWITCHED="hlsLevelSwitched",P.LEVEL_LOADING="hlsLevelLoading",P.LEVEL_LOADED="hlsLevelLoaded",P.LEVEL_UPDATED="hlsLevelUpdated",P.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",P.LEVELS_UPDATED="hlsLevelsUpdated",P.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",P.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",P.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",P.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",P.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",P.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",P.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",P.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",P.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",P.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",P.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",P.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",P.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",P.CUES_PARSED="hlsCuesParsed",P.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",P.INIT_PTS_FOUND="hlsInitPtsFound",P.FRAG_LOADING="hlsFragLoading",P.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",P.FRAG_LOADED="hlsFragLoaded",P.FRAG_DECRYPTED="hlsFragDecrypted",P.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",P.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",P.FRAG_PARSING_METADATA="hlsFragParsingMetadata",P.FRAG_PARSED="hlsFragParsed",P.FRAG_BUFFERED="hlsFragBuffered",P.FRAG_CHANGED="hlsFragChanged",P.FPS_DROP="hlsFpsDrop",P.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",P.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",P.ERROR="hlsError",P.DESTROYING="hlsDestroying",P.KEY_LOADING="hlsKeyLoading",P.KEY_LOADED="hlsKeyLoaded",P.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",P.BACK_BUFFER_REACHED="hlsBackBufferReached",P.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",P.ASSET_LIST_LOADING="hlsAssetListLoading",P.ASSET_LIST_LOADED="hlsAssetListLoaded",P.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",P.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",P.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",P.INTERSTITIAL_STARTED="hlsInterstitialStarted",P.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",P.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",P.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",P.INTERSTITIAL_ENDED="hlsInterstitialEnded",P.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",P.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",P.EVENT_CUE_ENTER="hlsEventCueEnter",P}({});var h={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},u={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"};class a{constructor(t,n=0,o=0){this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=t,this.alpha_=t?Math.exp(Math.log(.5)/t):0,this.estimate_=n,this.totalWeight_=o}sample(t,n){const o=Math.pow(this.alpha_,t);this.estimate_=n*(1-o)+o*this.estimate_,this.totalWeight_+=t}getTotalWeight(){return this.totalWeight_}getEstimate(){if(this.alpha_){const t=1-Math.pow(this.alpha_,this.totalWeight_);if(t)return this.estimate_/t}return this.estimate_}}class x{constructor(t,n,o,m=100){this.defaultEstimate_=void 0,this.minWeight_=void 0,this.minDelayMs_=void 0,this.slow_=void 0,this.fast_=void 0,this.defaultTTFB_=void 0,this.ttfb_=void 0,this.defaultEstimate_=o,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new a(t),this.fast_=new a(n),this.defaultTTFB_=m,this.ttfb_=new a(t)}update(t,n){const{slow_:o,fast_:m,ttfb_:E}=this;o.halfLife!==t&&(this.slow_=new a(t,o.getEstimate(),o.getTotalWeight())),m.halfLife!==n&&(this.fast_=new a(n,m.getEstimate(),m.getTotalWeight())),E.halfLife!==t&&(this.ttfb_=new a(t,E.getEstimate(),E.getTotalWeight()))}sample(t,n){t=Math.max(t,this.minDelayMs_);const o=8*n,m=t/1e3,E=o/m;this.fast_.sample(m,E),this.slow_.sample(m,E)}sampleTTFB(t){const n=t/1e3,o=Math.sqrt(2)*Math.exp(-Math.pow(n,2)/2);this.ttfb_.sample(o,Math.max(t,5))}canEstimate(){return this.fast_.getTotalWeight()>=this.minWeight_}getEstimate(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_}getEstimateTTFB(){return this.ttfb_.getTotalWeight()>=this.minWeight_?this.ttfb_.getEstimate():this.defaultTTFB_}get defaultEstimate(){return this.defaultEstimate_}destroy(){}}function p(P,t,n){return(t=R(t))in P?Object.defineProperty(P,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):P[t]=n,P}function y(){return y=Object.assign?Object.assign.bind():function(P){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(P[o]=n[o])}return P},y.apply(null,arguments)}function _(P,t){var n=Object.keys(P);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(P);t&&(o=o.filter(function(m){return Object.getOwnPropertyDescriptor(P,m).enumerable})),n.push.apply(n,o)}return n}function b(P){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(o){p(P,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(o){Object.defineProperty(P,o,Object.getOwnPropertyDescriptor(n,o))})}return P}function S(P,t){if(typeof P!="object"||!P)return P;var n=P[Symbol.toPrimitive];if(n!==void 0){var o=n.call(P,t);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(P)}function R(P){var t=S(P,"string");return typeof t=="symbol"?t:t+""}class L{constructor(t,n){this.trace=void 0,this.debug=void 0,this.log=void 0,this.warn=void 0,this.info=void 0,this.error=void 0;const o=`[${t}]:`;this.trace=C,this.debug=n.debug.bind(null,o),this.log=n.log.bind(null,o),this.warn=n.warn.bind(null,o),this.info=n.info.bind(null,o),this.error=n.error.bind(null,o)}}const C=function(){},D={trace:C,debug:C,log:C,warn:C,info:C,error:C};function B(){return y({},D)}function $(P,t){const n=self.console[P];return n?n.bind(self.console,`${t?"["+t+"] ":""}[${P}] >`):C}function U(P,t,n){return t[P]?t[P].bind(t):$(P,n)}const K=B();function V(P,t,n){const o=B();if(typeof console=="object"&&P===!0||typeof P=="object"){const m=["debug","log","info","warn","error"];m.forEach(E=>{o[E]=U(E,P,n)});try{o.log(`Debug logs enabled for "${t}" in hls.js version 1.6.2`)}catch(E){return B()}m.forEach(E=>{K[E]=U(E,P)})}else y(K,o);return o}const G=K;function oe(P=!0){return typeof self=="undefined"?void 0:(P||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function ae(P){return typeof self!="undefined"&&P===self.ManagedMediaSource}function le(P,t){const n=Object.keys(P),o=Object.keys(t),m=n.length,E=o.length;return!m||!E||m===E&&!n.some(T=>o.indexOf(T)===-1)}function q(P,t=!1){if(typeof TextDecoder!="undefined"){const j=new TextDecoder("utf-8").decode(P);if(t){const se=j.indexOf("\0");return se!==-1?j.substring(0,se):j}return j.replace(/\0/g,"")}const n=P.length;let o,m,E,T="",z=0;for(;z<n;){if(o=P[z++],o===0&&t)return T;if(o===0||o===3)continue;switch(o>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:T+=String.fromCharCode(o);break;case 12:case 13:m=P[z++],T+=String.fromCharCode((o&31)<<6|m&63);break;case 14:m=P[z++],E=P[z++],T+=String.fromCharCode((o&15)<<12|(m&63)<<6|(E&63)<<0);break}}return T}const J={hexDump:function(P){let t="";for(let n=0;n<P.length;n++){let o=P[n].toString(16);o.length<2&&(o="0"+o),t+=o}return t}};function Y(P){return P&&P.__esModule&&Object.prototype.hasOwnProperty.call(P,"default")?P.default:P}var ue={exports:{}},ne;function ee(){return ne||(ne=1,function(P,t){(function(n){var o=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,m=/^(?=([^\/?#]*))\1([^]*)$/,E=/(?:\/|^)\.(?=\/)/g,T=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,z={buildAbsoluteURL:function(H,j,se){if(se=se||{},H=H.trim(),j=j.trim(),!j){if(!se.alwaysNormalize)return H;var ce=z.parseURL(H);if(!ce)throw new Error("Error trying to parse base URL.");return ce.path=z.normalizePath(ce.path),z.buildURLFromParts(ce)}var xe=z.parseURL(j);if(!xe)throw new Error("Error trying to parse relative URL.");if(xe.scheme)return se.alwaysNormalize?(xe.path=z.normalizePath(xe.path),z.buildURLFromParts(xe)):j;var Ie=z.parseURL(H);if(!Ie)throw new Error("Error trying to parse base URL.");if(!Ie.netLoc&&Ie.path&&Ie.path[0]!=="/"){var Oe=m.exec(Ie.path);Ie.netLoc=Oe[1],Ie.path=Oe[2]}Ie.netLoc&&!Ie.path&&(Ie.path="/");var tt={scheme:Ie.scheme,netLoc:xe.netLoc,path:null,params:xe.params,query:xe.query,fragment:xe.fragment};if(!xe.netLoc&&(tt.netLoc=Ie.netLoc,xe.path[0]!=="/"))if(!xe.path)tt.path=Ie.path,xe.params||(tt.params=Ie.params,xe.query||(tt.query=Ie.query));else{var at=Ie.path,Nt=at.substring(0,at.lastIndexOf("/")+1)+xe.path;tt.path=z.normalizePath(Nt)}return tt.path===null&&(tt.path=se.alwaysNormalize?z.normalizePath(xe.path):xe.path),z.buildURLFromParts(tt)},parseURL:function(H){var j=o.exec(H);return j?{scheme:j[1]||"",netLoc:j[2]||"",path:j[3]||"",params:j[4]||"",query:j[5]||"",fragment:j[6]||""}:null},normalizePath:function(H){for(H=H.split("").reverse().join("").replace(E,"");H.length!==(H=H.replace(T,"")).length;);return H.split("").reverse().join("")},buildURLFromParts:function(H){return H.scheme+H.netLoc+H.path+H.params+H.query+H.fragment}};P.exports=z})()}(ue)),ue.exports}var ie=ee();class F{constructor(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}}}var M={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class Q{constructor(t){this._byteRange=null,this._url=null,this._stats=null,this._streams=null,this.base=void 0,this.relurl=void 0,typeof t=="string"&&(t={url:t}),this.base=t,Fe(this,"stats")}setByteRange(t,n){const o=t.split("@",2);let m;o.length===1?m=(n==null?void 0:n.byteRangeEndOffset)||0:m=parseInt(o[1]),this._byteRange=[m,parseInt(o[0])+m]}get baseurl(){return this.base.url}get byteRange(){return this._byteRange===null?[]:this._byteRange}get byteRangeStartOffset(){return this.byteRange[0]}get byteRangeEndOffset(){return this.byteRange[1]}get elementaryStreams(){return this._streams===null&&(this._streams={[M.AUDIO]:null,[M.VIDEO]:null,[M.AUDIOVIDEO]:null}),this._streams}set elementaryStreams(t){this._streams=t}get hasStats(){return this._stats!==null}get hasStreams(){return this._streams!==null}get stats(){return this._stats===null&&(this._stats=new F),this._stats}set stats(t){this._stats=t}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=ie.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(t){this._url=t}clearElementaryStreamInfo(){const{elementaryStreams:t}=this;t[M.AUDIO]=null,t[M.VIDEO]=null,t[M.AUDIOVIDEO]=null}}function de(P){return P.sn!=="initSegment"}class we extends Q{constructor(t,n){super(n),this._decryptdata=null,this._programDateTime=null,this._ref=null,this._bitrate=void 0,this.rawProgramDateTime=null,this.tagList=[],this.duration=0,this.sn=0,this.levelkeys=void 0,this.type=void 0,this.loader=null,this.keyLoader=null,this.level=-1,this.cc=0,this.startPTS=void 0,this.endPTS=void 0,this.startDTS=void 0,this.endDTS=void 0,this.start=0,this.playlistOffset=0,this.deltaPTS=void 0,this.maxStartPTS=void 0,this.minEndPTS=void 0,this.data=void 0,this.bitrateTest=!1,this.title=null,this.initSegment=null,this.endList=void 0,this.gap=void 0,this.urlId=0,this.type=t}get byteLength(){if(this.hasStats){const t=this.stats.total;if(t)return t}if(this.byteRange){const t=this.byteRange[0],n=this.byteRange[1];if(r(t)&&r(n))return n-t}return null}get bitrate(){return this.byteLength?this.byteLength*8/this.duration:this._bitrate?this._bitrate:null}set bitrate(t){this._bitrate=t}get decryptdata(){const{levelkeys:t}=this;if(!t&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){const n=this.levelkeys.identity;if(n)this._decryptdata=n.getDecryptData(this.sn);else{const o=Object.keys(this.levelkeys);if(o.length===1)return this._decryptdata=this.levelkeys[o[0]].getDecryptData(this.sn)}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(this.programDateTime===null)return null;const t=r(this.duration)?this.duration:0;return this.programDateTime+t*1e3}get encrypted(){var t;if((t=this._decryptdata)!=null&&t.encrypted)return!0;if(this.levelkeys){const n=Object.keys(this.levelkeys),o=n.length;if(o>1||o===1&&this.levelkeys[n[0]].encrypted)return!0}return!1}get programDateTime(){return this._programDateTime===null&&this.rawProgramDateTime&&(this.programDateTime=Date.parse(this.rawProgramDateTime)),this._programDateTime}set programDateTime(t){if(!r(t)){this._programDateTime=this.rawProgramDateTime=null;return}this._programDateTime=t}get ref(){return de(this)?(this._ref||(this._ref={base:this.base,start:this.start,duration:this.duration,sn:this.sn,programDateTime:this.programDateTime}),this._ref):null}addStart(t){this.setStart(this.start+t)}setStart(t){this.start=t,this._ref&&(this._ref.start=t)}setDuration(t){this.duration=t,this._ref&&(this._ref.duration=t)}setKeyFormat(t){if(this.levelkeys){const n=this.levelkeys[t];n&&!this._decryptdata&&(this._decryptdata=n.getDecryptData(this.sn))}}abortRequests(){var t,n;(t=this.loader)==null||t.abort(),(n=this.keyLoader)==null||n.abort()}setElementaryStreamInfo(t,n,o,m,E,T=!1){const{elementaryStreams:z}=this,H=z[t];if(!H){z[t]={startPTS:n,endPTS:o,startDTS:m,endDTS:E,partial:T};return}H.startPTS=Math.min(H.startPTS,n),H.endPTS=Math.max(H.endPTS,o),H.startDTS=Math.min(H.startDTS,m),H.endDTS=Math.max(H.endDTS,E)}}class Ce extends Q{constructor(t,n,o,m,E){super(o),this.fragOffset=0,this.duration=0,this.gap=!1,this.independent=!1,this.relurl=void 0,this.fragment=void 0,this.index=void 0,this.duration=t.decimalFloatingPoint("DURATION"),this.gap=t.bool("GAP"),this.independent=t.bool("INDEPENDENT"),this.relurl=t.enumeratedString("URI"),this.fragment=n,this.index=m;const T=t.enumeratedString("BYTERANGE");T&&this.setByteRange(T,E),E&&(this.fragOffset=E.fragOffset+E.duration)}get start(){return this.fragment.start+this.fragOffset}get end(){return this.start+this.duration}get loaded(){const{elementaryStreams:t}=this;return!!(t.audio||t.video||t.audiovideo)}}function je(P,t){const n=Object.getPrototypeOf(P);if(n){const o=Object.getOwnPropertyDescriptor(n,t);return o||je(n,t)}}function Fe(P,t){const n=je(P,t);n&&(n.enumerable=!0,Object.defineProperty(P,t,n))}const Ft=Math.pow(2,32)-1,_t=[].push,Pt={video:1,audio:2,id3:3,text:4};function qt(P){return String.fromCharCode.apply(null,P)}function er(P,t){const n=P[t]<<8|P[t+1];return n<0?65536+n:n}function Jt(P,t){const n=It(P,t);return n<0?4294967296+n:n}function Xe(P,t){let n=Jt(P,t);return n*=Math.pow(2,32),n+=Jt(P,t+4),n}function It(P,t){return P[t]<<24|P[t+1]<<16|P[t+2]<<8|P[t+3]}function zt(P,t,n){P[t]=n>>24,P[t+1]=n>>16&255,P[t+2]=n>>8&255,P[t+3]=n&255}function st(P){const t=P.byteLength;for(let n=0;n<t;){const o=Jt(P,n);if(o>8&&P[n+4]===109&&P[n+5]===111&&P[n+6]===111&&P[n+7]===102)return!0;n=o>1?n+o:t}return!1}function bt(P,t){const n=[];if(!t.length)return n;const o=P.byteLength;for(let m=0;m<o;){const E=Jt(P,m),T=qt(P.subarray(m+4,m+8)),z=E>1?m+E:o;if(T===t[0])if(t.length===1)n.push(P.subarray(m+8,z));else{const H=bt(P.subarray(m+8,z),t.slice(1));H.length&&_t.apply(n,H)}m=z}return n}function ht(P){const t=[],n=P[0];let o=8;const m=Jt(P,o);o+=4;let E=0,T=0;n===0?(E=Jt(P,o),T=Jt(P,o+4),o+=8):(E=Xe(P,o),T=Xe(P,o+8),o+=16),o+=2;let z=P.length+T;const H=er(P,o);o+=2;for(let j=0;j<H;j++){let se=o;const ce=Jt(P,se);se+=4;const xe=ce&2147483647;if((ce&2147483648)>>>31===1)return G.warn("SIDX has hierarchical references (not supported)"),null;const Oe=Jt(P,se);se+=4,t.push({referenceSize:xe,subsegmentDuration:Oe,info:{duration:Oe/m,start:z,end:z+xe-1}}),z+=xe,se+=4,o=se}return{earliestPresentationTime:E,timescale:m,version:n,referencesCount:H,references:t}}function Je(P){const t=[],n=bt(P,["moov","trak"]);for(let m=0;m<n.length;m++){const E=n[m],T=bt(E,["tkhd"])[0];if(T){let z=T[0];const H=Jt(T,z===0?12:20),j=bt(E,["mdia","mdhd"])[0];if(j){z=j[0];const se=Jt(j,z===0?12:20),ce=bt(E,["mdia","hdlr"])[0];if(ce){const xe=qt(ce.subarray(8,12)),Ie={soun:M.AUDIO,vide:M.VIDEO}[xe],Oe=bt(E,["mdia","minf","stbl","stsd"])[0],tt=Ue(Oe);Ie?(t[H]={timescale:se,type:Ie,stsd:tt},t[Ie]=b({timescale:se,id:H},tt)):t[H]={timescale:se,type:xe,stsd:tt}}}}}return bt(P,["moov","mvex","trex"]).forEach(m=>{const E=Jt(m,4),T=t[E];T&&(T.default={duration:Jt(m,12),flags:Jt(m,20)})}),t}function Ue(P){const t=P.subarray(8),n=t.subarray(86),o=qt(t.subarray(4,8));let m=o,E;const T=o==="enca"||o==="encv";if(T){const j=bt(t,[o])[0].subarray(o==="enca"?28:78);bt(j,["sinf"]).forEach(ce=>{const xe=bt(ce,["schm"])[0];if(xe){const Ie=qt(xe.subarray(4,8));if(Ie==="cbcs"||Ie==="cenc"){const Oe=bt(ce,["frma"])[0];Oe&&(m=qt(Oe))}}})}const z=m;switch(m){case"avc1":case"avc2":case"avc3":case"avc4":{const H=bt(n,["avcC"])[0];H&&H.length>3&&(m+="."+Me(H[1])+Me(H[2])+Me(H[3]),E=ge(z==="avc1"?"dva1":"dvav",n));break}case"mp4a":{const H=bt(t,[o])[0],j=bt(H.subarray(28),["esds"])[0];if(j&&j.length>7){let se=4;if(j[se++]!==3)break;se=Ae(j,se),se+=2;const ce=j[se++];if(ce&128&&(se+=2),ce&64&&(se+=j[se++]),j[se++]!==4)break;se=Ae(j,se);const xe=j[se++];if(xe===64)m+="."+Me(xe);else break;if(se+=12,j[se++]!==5)break;se=Ae(j,se);const Ie=j[se++];let Oe=(Ie&248)>>3;Oe===31&&(Oe+=1+((Ie&7)<<3)+((j[se]&224)>>5)),m+="."+Oe}break}case"hvc1":case"hev1":{const H=bt(n,["hvcC"])[0];if(H&&H.length>12){const j=H[1],se=["","A","B","C"][j>>6],ce=j&31,xe=Jt(H,2),Ie=(j&32)>>5?"H":"L",Oe=H[12],tt=H.subarray(6,12);m+="."+se+ce,m+="."+xe.toString(16).toUpperCase(),m+="."+Ie+Oe;let at="";for(let Nt=tt.length;Nt--;){const dr=tt[Nt];(dr||at)&&(at="."+dr.toString(16).toUpperCase()+at)}m+=at}E=ge(z=="hev1"?"dvhe":"dvh1",n);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{m=ge(m,n)||m;break}case"vp09":{const H=bt(n,["vpcC"])[0];if(H&&H.length>6){const j=H[4],se=H[5],ce=H[6]>>4&15;m+="."+$e(j)+"."+$e(se)+"."+$e(ce)}break}case"av01":{const H=bt(n,["av1C"])[0];if(H&&H.length>2){const j=H[1]>>>5,se=H[1]&31,ce=H[2]>>>7?"H":"M",xe=(H[2]&64)>>6,Ie=(H[2]&32)>>5,Oe=j===2&&xe?Ie?12:10:xe?10:8,tt=(H[2]&16)>>4,at=(H[2]&8)>>3,Nt=(H[2]&4)>>2,dr=H[2]&3;m+="."+j+"."+$e(se)+ce+"."+$e(Oe)+"."+tt+"."+at+Nt+dr+"."+$e(1)+"."+$e(1)+"."+$e(1)+"."+0,E=ge("dav1",n)}break}}return{codec:m,encrypted:T,supplemental:E}}function ge(P,t){const n=bt(t,["dvvC"]),o=n.length?n[0]:bt(t,["dvcC"])[0];if(o){const m=o[2]>>1&127,E=o[2]<<5&32|o[3]>>3&31;return P+"."+$e(m)+"."+$e(E)}}function Ae(P,t){const n=t+5;for(;P[t++]&128&&t<n;);return t}function Me(P){return("0"+P.toString(16).toUpperCase()).slice(-2)}function $e(P){return(P<10?"0":"")+P}function He(P,t){if(!P||!t)return P;const n=t.keyId;return n&&t.isCommonEncryption&&bt(P,["moov","trak"]).forEach(m=>{const T=bt(m,["mdia","minf","stbl","stsd"])[0].subarray(8);let z=bt(T,["enca"]);const H=z.length>0;H||(z=bt(T,["encv"])),z.forEach(j=>{const se=H?j.subarray(28):j.subarray(78);bt(se,["sinf"]).forEach(xe=>{const Ie=nt(xe);if(Ie){const Oe=Ie.subarray(8,24);Oe.some(tt=>tt!==0)||(G.log(`[eme] Patching keyId in 'enc${H?"a":"v"}>sinf>>tenc' box: ${J.hexDump(Oe)} -> ${J.hexDump(n)}`),Ie.set(n,8))}})})}),P}function nt(P){const t=bt(P,["schm"])[0];if(t){const n=qt(t.subarray(4,8));if(n==="cbcs"||n==="cenc")return bt(P,["schi","tenc"])[0]}return null}function ct(P,t){return bt(t,["moof","traf"]).reduce((n,o)=>{const m=bt(o,["tfdt"])[0],E=m[0],T=bt(o,["tfhd"]).reduce((z,H)=>{const j=Jt(H,4),se=P[j];if(se){let ce=Jt(m,4);if(E===1){if(ce===Ft)return G.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"),z;ce*=Ft+1,ce+=Jt(m,8)}const xe=se.timescale||9e4,Ie=ce/xe;if(r(Ie)&&(z===null||Ie<z))return Ie}return z},null);return T!==null&&r(T)&&(n===null||T<n)?T:n},null)}function Vt(P,t){let n=0,o=0,m=0;const E=bt(P,["moof","traf"]);for(let T=0;T<E.length;T++){const z=E[T],H=bt(z,["tfhd"])[0],j=Jt(H,4),se=t[j];if(!se)continue;const ce=se.default,xe=Jt(H,0)|(ce==null?void 0:ce.flags);let Ie=ce==null?void 0:ce.duration;xe&8&&(xe&2?Ie=Jt(H,12):Ie=Jt(H,8));const Oe=se.timescale||9e4,tt=bt(z,["trun"]);for(let at=0;at<tt.length;at++){if(n=Wt(tt[at]),!n&&Ie){const Nt=Jt(tt[at],4);n=Ie*Nt}se.type===M.VIDEO?o+=n/Oe:se.type===M.AUDIO&&(m+=n/Oe)}}if(o===0&&m===0){let T=1/0,z=0,H=0;const j=bt(P,["sidx"]);for(let se=0;se<j.length;se++){const ce=ht(j[se]);if(ce!=null&&ce.references){T=Math.min(T,ce.earliestPresentationTime/ce.timescale);const xe=ce.references.reduce((Ie,Oe)=>Ie+Oe.info.duration||0,0);z=Math.max(z,xe+ce.earliestPresentationTime/ce.timescale),H=z-T}}if(H&&r(H))return H}return o||m}function Wt(P){const t=Jt(P,0);let n=8;t&1&&(n+=4),t&4&&(n+=4);let o=0;const m=Jt(P,4);for(let E=0;E<m;E++){if(t&256){const T=Jt(P,n);o+=T,n+=4}t&512&&(n+=4),t&1024&&(n+=4),t&2048&&(n+=4)}return o}function De(P,t,n){bt(t,["moof","traf"]).forEach(o=>{bt(o,["tfhd"]).forEach(m=>{const E=Jt(m,4),T=P[E];if(!T)return;const z=T.timescale||9e4;bt(o,["tfdt"]).forEach(H=>{const j=H[0],se=n*z;if(se){let ce=Jt(H,4);if(j===0)ce-=se,ce=Math.max(ce,0),zt(H,4,ce);else{ce*=Math.pow(2,32),ce+=Jt(H,8),ce-=se,ce=Math.max(ce,0);const xe=Math.floor(ce/(Ft+1)),Ie=Math.floor(ce%(Ft+1));zt(H,4,xe),zt(H,8,Ie)}}})})})}function qe(P){const t={valid:null,remainder:null},n=bt(P,["moof"]);if(n.length<2)return t.remainder=P,t;const o=n[n.length-1];return t.valid=P.slice(0,o.byteOffset-8),t.remainder=P.slice(o.byteOffset-8),t}function Gt(P,t){const n=new Uint8Array(P.length+t.length);return n.set(P),n.set(t,P.length),n}function kt(P,t){const n=[],o=t.samples,m=t.timescale,E=t.id;let T=!1;return bt(o,["moof"]).map(H=>{const j=H.byteOffset-8;bt(H,["traf"]).map(ce=>{const xe=bt(ce,["tfdt"]).map(Ie=>{const Oe=Ie[0];let tt=Jt(Ie,4);return Oe===1&&(tt*=Math.pow(2,32),tt+=Jt(Ie,8)),tt/m})[0];return xe!==void 0&&(P=xe),bt(ce,["tfhd"]).map(Ie=>{const Oe=Jt(Ie,4),tt=Jt(Ie,0)&16777215,at=(tt&1)!==0,Nt=(tt&2)!==0,dr=(tt&8)!==0;let ar=0;const Zr=(tt&16)!==0;let Gr=0;const fn=(tt&32)!==0;let Vr=8;Oe===E&&(at&&(Vr+=8),Nt&&(Vr+=4),dr&&(ar=Jt(Ie,Vr),Vr+=4),Zr&&(Gr=Jt(Ie,Vr),Vr+=4),fn&&(Vr+=4),t.type==="video"&&(T=Ht(t.codec)),bt(ce,["trun"]).map(on=>{const _n=on[0],Xr=Jt(on,0)&16777215,Yn=(Xr&1)!==0;let di=0;const os=(Xr&4)!==0,ya=(Xr&256)!==0;let Ji=0;const Ri=(Xr&512)!==0;let ta=0;const qi=(Xr&1024)!==0,Xn=(Xr&2048)!==0;let ii=0;const wa=Jt(on,4);let Sa=8;Yn&&(di=Jt(on,Sa),Sa+=4),os&&(Sa+=4);let ts=di+j;for(let Cs=0;Cs<wa;Cs++){if(ya?(Ji=Jt(on,Sa),Sa+=4):Ji=ar,Ri?(ta=Jt(on,Sa),Sa+=4):ta=Gr,qi&&(Sa+=4),Xn&&(_n===0?ii=Jt(on,Sa):ii=It(on,Sa),Sa+=4),t.type===M.VIDEO){let js=0;for(;js<ta;){const ao=Jt(o,ts);if(ts+=4,$t(T,o[ts])){const Qu=o.subarray(ts,ts+ao);Ct(Qu,T?2:1,P+ii/m,n)}ts+=ao,js+=ao+4}}P+=Ji/m}}))})})}),n}function Ht(P){if(!P)return!1;const t=P.substring(0,4);return t==="hvc1"||t==="hev1"||t==="dvh1"||t==="dvhe"}function $t(P,t){if(P){const n=t>>1&63;return n===39||n===40}else return(t&31)===6}function Ct(P,t,n,o){const m=Yt(P);let E=0;E+=t;let T=0,z=0,H=0;for(;E<m.length;){T=0;do{if(E>=m.length)break;H=m[E++],T+=H}while(H===255);z=0;do{if(E>=m.length)break;H=m[E++],z+=H}while(H===255);const j=m.length-E;let se=E;if(z<j)E+=z;else if(z>j){G.error(`Malformed SEI payload. ${z} is too small, only ${j} bytes left to parse.`);break}if(T===4){if(m[se++]===181){const xe=er(m,se);if(se+=2,xe===49){const Ie=Jt(m,se);if(se+=4,Ie===1195456820){const Oe=m[se++];if(Oe===3){const tt=m[se++],at=31&tt,Nt=64&tt,dr=Nt?2+at*3:0,ar=new Uint8Array(dr);if(Nt){ar[0]=tt;for(let Zr=1;Zr<dr;Zr++)ar[Zr]=m[se++]}o.push({type:Oe,payloadType:T,pts:n,bytes:ar})}}}}}else if(T===5&&z>16){const ce=[];for(let Oe=0;Oe<16;Oe++){const tt=m[se++].toString(16);ce.push(tt.length==1?"0"+tt:tt),(Oe===3||Oe===5||Oe===7||Oe===9)&&ce.push("-")}const xe=z-16,Ie=new Uint8Array(xe);for(let Oe=0;Oe<xe;Oe++)Ie[Oe]=m[se++];o.push({payloadType:T,pts:n,uuid:ce.join(""),userData:q(Ie),userDataBytes:Ie})}}}function Yt(P){const t=P.byteLength,n=[];let o=1;for(;o<t-2;)P[o]===0&&P[o+1]===0&&P[o+2]===3?(n.push(o+2),o+=2):o++;if(n.length===0)return P;const m=t-n.length,E=new Uint8Array(m);let T=0;for(o=0;o<m;T++,o++)T===n[0]&&(T++,n.shift()),E[o]=P[T];return E}function We(P){const t=P[0];let n="",o="",m=0,E=0,T=0,z=0,H=0,j=0;if(t===0){for(;qt(P.subarray(j,j+1))!=="\0";)n+=qt(P.subarray(j,j+1)),j+=1;for(n+=qt(P.subarray(j,j+1)),j+=1;qt(P.subarray(j,j+1))!=="\0";)o+=qt(P.subarray(j,j+1)),j+=1;o+=qt(P.subarray(j,j+1)),j+=1,m=Jt(P,12),E=Jt(P,16),z=Jt(P,20),H=Jt(P,24),j=28}else if(t===1){j+=4,m=Jt(P,j),j+=4;const ce=Jt(P,j);j+=4;const xe=Jt(P,j);for(j+=4,T=4294967296*ce+xe,i(T)||(T=Number.MAX_SAFE_INTEGER,G.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),z=Jt(P,j),j+=4,H=Jt(P,j),j+=4;qt(P.subarray(j,j+1))!=="\0";)n+=qt(P.subarray(j,j+1)),j+=1;for(n+=qt(P.subarray(j,j+1)),j+=1;qt(P.subarray(j,j+1))!=="\0";)o+=qt(P.subarray(j,j+1)),j+=1;o+=qt(P.subarray(j,j+1)),j+=1}const se=P.subarray(j,P.byteLength);return{schemeIdUri:n,value:o,timeScale:m,presentationTime:T,presentationTimeDelta:E,eventDuration:z,id:H,payload:se}}function fe(P,...t){const n=t.length;let o=8,m=n;for(;m--;)o+=t[m].byteLength;const E=new Uint8Array(o);for(E[0]=o>>24&255,E[1]=o>>16&255,E[2]=o>>8&255,E[3]=o&255,E.set(P,4),m=0,o=8;m<n;m++)E.set(t[m],o),o+=t[m].byteLength;return E}function _e(P,t,n){if(P.byteLength!==16)throw new RangeError("Invalid system id");let o,m;o=0,m=new Uint8Array;let E;o>0?(E=new Uint8Array(4),t.length>0&&new DataView(E.buffer).setUint32(0,t.length,!1)):E=new Uint8Array;const T=new Uint8Array(4);return n&&n.byteLength>0&&new DataView(T.buffer).setUint32(0,n.byteLength,!1),fe([112,115,115,104],new Uint8Array([o,0,0,0]),P,E,m,T,n||new Uint8Array)}function Ot(P){const t=[];if(P instanceof ArrayBuffer){const n=P.byteLength;let o=0;for(;o+32<n;){const m=new DataView(P,o),E=Pe(m);t.push(E),o+=E.size}}return t}function Pe(P){const t=P.getUint32(0),n=P.byteOffset,o=P.byteLength;if(o<t)return{offset:n,size:o};if(P.getUint32(4)!==1886614376)return{offset:n,size:t};const E=P.getUint32(8)>>>24;if(E!==0&&E!==1)return{offset:n,size:t};const T=P.buffer,z=J.hexDump(new Uint8Array(T,n+12,16)),H=P.getUint32(28);let j=null,se=null;if(E===0){if(t-32<H||H<22)return{offset:n,size:t};se=new Uint8Array(T,n+32,H)}else if(E===1){if(!H||o<n+32+H*16+16)return{offset:n,size:t};j=[];for(let ce=0;ce<H;ce++)j.push(new Uint8Array(T,n+32+ce*16,16))}return{version:E,systemId:z,kids:j,data:se,offset:n,size:t}}const dt=()=>/\(Windows.+Firefox\//i.test(navigator.userAgent),Zt={audio:{a3ds:1,"ac-3":.95,"ac-4":1,alac:.9,alaw:1,dra1:1,"dts+":1,"dts-":1,dtsc:1,dtse:1,dtsh:1,"ec-3":.9,enca:1,fLaC:.9,flac:.9,FLAC:.9,g719:1,g726:1,m4ae:1,mha1:1,mha2:1,mhm1:1,mhm2:1,mlpa:1,mp4a:1,"raw ":1,Opus:1,opus:1,samr:1,sawb:1,sawp:1,sevc:1,sqcp:1,ssmv:1,twos:1,ulaw:1},video:{avc1:1,avc2:1,avc3:1,avc4:1,avcp:1,av01:.8,dav1:.8,drac:1,dva1:1,dvav:1,dvh1:.7,dvhe:.7,encv:1,hev1:.75,hvc1:.75,mjp2:1,mp4v:1,mvc1:1,mvc2:1,mvc3:1,mvc4:1,resv:1,rv60:1,s263:1,svc1:1,svc2:1,"vc-1":1,vp08:1,vp09:.9},text:{stpp:1,wvtt:1}};function Tt(P,t){const n=Zt[t];return!!n&&!!n[P.slice(0,4)]}function ke(P,t,n=!0){return!P.split(",").some(o=>!St(o,t,n))}function St(P,t,n=!0){var o;const m=oe(n);return(o=m==null?void 0:m.isTypeSupported(be(P,t)))!=null?o:!1}function be(P,t){return`${t}/mp4;codecs=${P}`}function Ke(P){if(P){const t=P.substring(0,4);return Zt.video[t]}return 2}function gt(P){const t=dt();return P.split(",").reduce((n,o)=>{const E=t&&Ht(o)?9:Zt.video[o];return E?(E*2+n)/(n?3:2):(Zt.audio[o]+n)/(n?2:1)},0)}const Rt={};function Be(P,t=!0){if(Rt[P])return Rt[P];const n={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[P];for(let m=0;m<n.length;m++){var o;if(St(n[m],"audio",t))return Rt[P]=n[m],n[m];if(n[m]==="mp3"&&(o=oe(t))!=null&&o.isTypeSupported("audio/mpeg"))return""}return P}const kr=/flac|opus|mp4a\.40\.34/i;function At(P,t=!0){return P.replace(kr,n=>Be(n.toLowerCase(),t))}function Kr(P,t){const n=[];if(P){const o=P.split(",");for(let m=0;m<o.length;m++)Tt(o[m],"video")||n.push(o[m])}return t&&n.push(t),n.join(",")}function qr(P,t){if(P&&(P.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(P)!==-1))return P;if(t){const n=t.split(",");if(n.length>1){if(P){for(let o=n.length;o--;)if(n[o].substring(0,4)===P.substring(0,4))return n[o]}return n[0]}}return t||P}function Ar(P){const t=P.split(",");for(let n=0;n<t.length;n++){const o=t[n].split(".");if(o.length>2){let m=o.shift()+".";m+=parseInt(o.shift()).toString(16),m+=("000"+parseInt(o.shift()).toString(16)).slice(-4),t[n]=m}}return t.join(",")}function Br(P){if(P.startsWith("av01.")){const t=P.split("."),n=["0","111","01","01","01","0"];for(let o=t.length;o>4&&o<10;o++)t[o]=n[o-4];return t.join(".")}return P}function _r(P){const t=oe(P)||{isTypeSupported:()=>!1};return{mpeg:t.isTypeSupported("audio/mpeg"),mp3:t.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:t.isTypeSupported('audio/mp4; codecs="ac-3"')}}function Ur(P){return P.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const sn={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]};function cn(P,t){return{supported:!1,configurations:t,decodingInfoResults:[{supported:!1,smooth:!1,powerEfficient:!1}],error:P}}const or={};function Lt(P,t,n,o,m,E){const T=P.audioCodec?P.audioGroups:null,z=E==null?void 0:E.audioCodec,H=E==null?void 0:E.channels,j=H?parseInt(H):z?1/0:2;let se=null;if(T!=null&&T.length)try{T.length===1&&T[0]?se=t.groups[T[0]].channels:se=T.reduce((ce,xe)=>{if(xe){const Ie=t.groups[xe];if(!Ie)throw new Error(`Audio track group ${xe} not found`);Object.keys(Ie.channels).forEach(Oe=>{ce[Oe]=(ce[Oe]||0)+Ie.channels[Oe]})}return ce},{2:0})}catch(ce){return!0}return P.videoCodec!==void 0&&(P.width>1920&&P.height>1088||P.height>1920&&P.width>1088||P.frameRate>Math.max(o,30)||P.videoRange!=="SDR"&&P.videoRange!==n||P.bitrate>Math.max(m,8e6))||!!se&&r(j)&&Object.keys(se).some(ce=>parseInt(ce)>j)}function vt(P,t,n){const o=P.videoCodec,m=P.audioCodec;if(!o&&!m||!n)return Promise.resolve(sn);const E=[];if(o){const T={width:P.width,height:P.height,bitrate:Math.ceil(Math.max(P.bitrate*.9,P.averageBitrate)),framerate:P.frameRate||30},z=P.videoRange;z!=="SDR"&&(T.transferFunction=z.toLowerCase());const H=o.split(","),j=navigator.userAgent;if(H.some(se=>Ht(se))&&dt())return Promise.resolve(cn(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent sting: (${j})`),E));E.push.apply(E,H.map(se=>({type:"media-source",video:b(b({},T),{},{contentType:be(Br(se),"video")})})))}return m&&P.audioGroups&&P.audioGroups.forEach(T=>{var z;T&&((z=t.groups[T])==null||z.tracks.forEach(H=>{if(H.groupId===T){const j=H.channels||"",se=parseFloat(j);r(se)&&se>2&&E.push.apply(E,m.split(",").map(ce=>({type:"media-source",audio:{contentType:be(ce,"audio"),channels:""+se}})))}}))}),Promise.all(E.map(T=>{const z=yt(T);return or[z]||(or[z]=n.decodingInfo(T))})).then(T=>({supported:!T.some(z=>!z.supported),configurations:E,decodingInfoResults:T})).catch(T=>({supported:!1,configurations:E,decodingInfoResults:[],error:T}))}function yt(P){const{audio:t,video:n}=P,o=n||t;if(o){const m=Ur(o.contentType);if(n)return`r${n.height}x${n.width}f${Math.ceil(n.framerate)}${n.transferFunction||"sd"}_${m}_${Math.ceil(n.bitrate/1e5)}`;if(t)return`c${t.channels}${t.spatialRendering?"s":"n"}_${m}`}return""}const jt=["NONE","TYPE-0","TYPE-1",null];function Cr(P){return jt.indexOf(P)>-1}const gr=["SDR","PQ","HLG"];function ot(P){return!!P&&gr.indexOf(P)>-1}var Mr={No:"",Yes:"YES",v2:"v2"};function yn(P){const{canSkipUntil:t,canSkipDateRanges:n,age:o}=P,m=o<t/2;return t&&m?n?Mr.v2:Mr.Yes:Mr.No}class Zn{constructor(t,n,o){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=t,this.part=n,this.skip=o}addDirectives(t){const n=new self.URL(t);return this.msn!==void 0&&n.searchParams.set("_HLS_msn",this.msn.toString()),this.part!==void 0&&n.searchParams.set("_HLS_part",this.part.toString()),this.skip&&n.searchParams.set("_HLS_skip",this.skip),n.href}}class mr{constructor(t){if(this._attrs=void 0,this.audioCodec=void 0,this.bitrate=void 0,this.codecSet=void 0,this.url=void 0,this.frameRate=void 0,this.height=void 0,this.id=void 0,this.name=void 0,this.supplemental=void 0,this.videoCodec=void 0,this.width=void 0,this.details=void 0,this.fragmentError=0,this.loadError=0,this.loaded=void 0,this.realBitrate=0,this.supportedPromise=void 0,this.supportedResult=void 0,this._avgBitrate=0,this._audioGroups=void 0,this._subtitleGroups=void 0,this._urlId=0,this.url=[t.url],this._attrs=[t.attrs],this.bitrate=t.bitrate,t.details&&(this.details=t.details),this.id=t.id||0,this.name=t.name,this.width=t.width||0,this.height=t.height||0,this.frameRate=t.attrs.optionalFloat("FRAME-RATE",0),this._avgBitrate=t.attrs.decimalInteger("AVERAGE-BANDWIDTH"),this.audioCodec=t.audioCodec,this.videoCodec=t.videoCodec,this.codecSet=[t.videoCodec,t.audioCodec].filter(o=>!!o).map(o=>o.substring(0,4)).join(","),"supplemental"in t){var n;this.supplemental=t.supplemental;const o=(n=t.supplemental)==null?void 0:n.videoCodec;o&&o!==t.videoCodec&&(this.codecSet+=`,${o.substring(0,4)}`)}this.addGroupId("audio",t.attrs.AUDIO),this.addGroupId("text",t.attrs.SUBTITLES)}get maxBitrate(){return Math.max(this.realBitrate,this.bitrate)}get averageBitrate(){return this._avgBitrate||this.realBitrate||this.bitrate}get attrs(){return this._attrs[0]}get codecs(){return this.attrs.CODECS||""}get pathwayId(){return this.attrs["PATHWAY-ID"]||"."}get videoRange(){return this.attrs["VIDEO-RANGE"]||"SDR"}get score(){return this.attrs.optionalFloat("SCORE",0)}get uri(){return this.url[0]||""}hasAudioGroup(t){return tn(this._audioGroups,t)}hasSubtitleGroup(t){return tn(this._subtitleGroups,t)}get audioGroups(){return this._audioGroups}get subtitleGroups(){return this._subtitleGroups}addGroupId(t,n){if(n){if(t==="audio"){let o=this._audioGroups;o||(o=this._audioGroups=[]),o.indexOf(n)===-1&&o.push(n)}else if(t==="text"){let o=this._subtitleGroups;o||(o=this._subtitleGroups=[]),o.indexOf(n)===-1&&o.push(n)}}}get urlId(){return 0}set urlId(t){}get audioGroupIds(){return this.audioGroups?[this.audioGroupId]:void 0}get textGroupIds(){return this.subtitleGroups?[this.textGroupId]:void 0}get audioGroupId(){var t;return(t=this.audioGroups)==null?void 0:t[0]}get textGroupId(){var t;return(t=this.subtitleGroups)==null?void 0:t[0]}addFallback(){}}function tn(P,t){return!t||!P?!1:P.indexOf(t)!==-1}function hn(){if(typeof matchMedia=="function"){const P=matchMedia("(dynamic-range: high)"),t=matchMedia("bad query");if(P.media!==t.media)return P.matches===!0}return!1}function Fn(P,t){let n=!1,o=[];if(P&&(n=P!=="SDR",o=[P]),t){o=t.allowedVideoRanges||gr.slice(0);const m=o.join("")!=="SDR"&&!t.videoCodec;n=t.preferHDR!==void 0?t.preferHDR:m&&hn(),n||(o=["SDR"])}return{preferHDR:n,allowedVideoRanges:o}}const ti=P=>{const t=new WeakSet;return(n,o)=>{if(P&&(o=P(n,o)),typeof o=="object"&&o!==null){if(t.has(o))return;t.add(o)}return o}},jn=(P,t)=>JSON.stringify(P,ti(t));function Zi(P,t,n,o,m){const E=Object.keys(P),T=o==null?void 0:o.channels,z=o==null?void 0:o.audioCodec,H=m==null?void 0:m.videoCodec,j=T&&parseInt(T)===2;let se=!1,ce=!1,xe=1/0,Ie=1/0,Oe=1/0,tt=1/0,at=0,Nt=[];const{preferHDR:dr,allowedVideoRanges:ar}=Fn(t,m);for(let on=E.length;on--;){const _n=P[E[on]];se||(se=_n.channels[2]>0),xe=Math.min(xe,_n.minHeight),Ie=Math.min(Ie,_n.minFramerate),Oe=Math.min(Oe,_n.minBitrate),ar.filter(Yn=>_n.videoRanges[Yn]>0).length>0&&(ce=!0)}xe=r(xe)?xe:0,Ie=r(Ie)?Ie:0;const Zr=Math.max(1080,xe),Gr=Math.max(30,Ie);Oe=r(Oe)?Oe:n,n=Math.max(Oe,n),ce||(t=void 0);const fn=E.length>1;return{codecSet:E.reduce((on,_n)=>{const Xr=P[_n];if(_n===on)return on;if(Nt=ce?ar.filter(Yn=>Xr.videoRanges[Yn]>0):[],fn){if(Xr.minBitrate>n)return xi(_n,`min bitrate of ${Xr.minBitrate} > current estimate of ${n}`),on;if(!Xr.hasDefaultAudio)return xi(_n,"no renditions with default or auto-select sound found"),on;if(z&&_n.indexOf(z.substring(0,4))%5!==0)return xi(_n,`audio codec preference "${z}" not found`),on;if(T&&!j){if(!Xr.channels[T])return xi(_n,`no renditions with ${T} channel sound found (channels options: ${Object.keys(Xr.channels)})`),on}else if((!z||j)&&se&&Xr.channels[2]===0)return xi(_n,"no renditions with stereo sound found"),on;if(Xr.minHeight>Zr)return xi(_n,`min resolution of ${Xr.minHeight} > maximum of ${Zr}`),on;if(Xr.minFramerate>Gr)return xi(_n,`min framerate of ${Xr.minFramerate} > maximum of ${Gr}`),on;if(!Nt.some(Yn=>Xr.videoRanges[Yn]>0))return xi(_n,`no variants with VIDEO-RANGE of ${jn(Nt)} found`),on;if(H&&_n.indexOf(H.substring(0,4))%5!==0)return xi(_n,`video codec preference "${H}" not found`),on;if(Xr.maxScore<at)return xi(_n,`max score of ${Xr.maxScore} < selected max of ${at}`),on}return on&&(gt(_n)>=gt(on)||Xr.fragmentError>P[on].fragmentError)?on:(tt=Xr.minIndex,at=Xr.maxScore,_n)},void 0),videoRanges:Nt,preferHDR:dr,minFramerate:Ie,minBitrate:Oe,minIndex:tt}}function xi(P,t){G.log(`[abr] start candidates with "${P}" ignored because ${t}`)}function Si(P){return P.reduce((t,n)=>{let o=t.groups[n.groupId];o||(o=t.groups[n.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),o.tracks.push(n);const m=n.channels||"2";return o.channels[m]=(o.channels[m]||0)+1,o.hasDefault=o.hasDefault||n.default,o.hasAutoSelect=o.hasAutoSelect||n.autoselect,o.hasDefault&&(t.hasDefaultAudio=!0),o.hasAutoSelect&&(t.hasAutoSelectAudio=!0),t},{hasDefaultAudio:!1,hasAutoSelectAudio:!1,groups:{}})}function Ei(P,t,n,o){return P.slice(n,o+1).reduce((m,E,T)=>{if(!E.codecSet)return m;const z=E.audioGroups;let H=m[E.codecSet];H||(m[E.codecSet]=H={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:T,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!z,fragmentError:0}),H.minBitrate=Math.min(H.minBitrate,E.bitrate);const j=Math.min(E.height,E.width);return H.minHeight=Math.min(H.minHeight,j),H.minFramerate=Math.min(H.minFramerate,E.frameRate),H.minIndex=Math.min(H.minIndex,T),H.maxScore=Math.max(H.maxScore,E.score),H.fragmentError+=E.fragmentError,H.videoRanges[E.videoRange]=(H.videoRanges[E.videoRange]||0)+1,z&&z.forEach(se=>{if(!se)return;const ce=t.groups[se];ce&&(H.hasDefaultAudio=H.hasDefaultAudio||t.hasDefaultAudio?ce.hasDefault:ce.hasAutoSelect||!t.hasDefaultAudio&&!t.hasAutoSelectAudio,Object.keys(ce.channels).forEach(xe=>{H.channels[xe]=(H.channels[xe]||0)+ce.channels[xe]}))}),m},{})}function mi(P){if(!P)return P;const{lang:t,assocLang:n,characteristics:o,channels:m,audioCodec:E}=P;return{lang:t,assocLang:n,characteristics:o,channels:m,audioCodec:E}}function Xi(P,t,n){if("attrs"in P){const o=t.indexOf(P);if(o!==-1)return o}for(let o=0;o<t.length;o++){const m=t[o];if(qn(P,m,n))return o}return-1}function qn(P,t,n){const{groupId:o,name:m,lang:E,assocLang:T,default:z}=P,H=P.forced;return(o===void 0||t.groupId===o)&&(m===void 0||t.name===m)&&(E===void 0||Yi(E,t.lang))&&(E===void 0||t.assocLang===T)&&(z===void 0||t.default===z)&&(H===void 0||t.forced===H)&&(!("characteristics"in P)||wt(P.characteristics||"",t.characteristics))&&(n===void 0||n(P,t))}function Yi(P,t="--"){return P.length===t.length?P===t:P.startsWith(t)||t.startsWith(P)}function wt(P,t=""){const n=P.split(","),o=t.split(",");return n.length===o.length&&!n.some(m=>o.indexOf(m)===-1)}function ut(P,t){const{audioCodec:n,channels:o}=P;return(n===void 0||(t.audioCodec||"").substring(0,4)===n.substring(0,4))&&(o===void 0||o===(t.channels||"2"))}function Jn(P,t,n,o,m){const E=t[o],z=t.reduce((xe,Ie,Oe)=>{const tt=Ie.uri;return(xe[tt]||(xe[tt]=[])).push(Oe),xe},{})[E.uri];z.length>1&&(o=Math.max.apply(Math,z));const H=E.videoRange,j=E.frameRate,se=E.codecSet.substring(0,4),ce=Ai(t,o,xe=>{if(xe.videoRange!==H||xe.frameRate!==j||xe.codecSet.substring(0,4)!==se)return!1;const Ie=xe.audioGroups,Oe=n.filter(tt=>!Ie||Ie.indexOf(tt.groupId)!==-1);return Xi(P,Oe,m)>-1});return ce>-1?ce:Ai(t,o,xe=>{const Ie=xe.audioGroups,Oe=n.filter(tt=>!Ie||Ie.indexOf(tt.groupId)!==-1);return Xi(P,Oe,m)>-1})}function Ai(P,t,n){for(let o=t;o>-1;o--)if(n(P[o]))return o;for(let o=t+1;o<P.length;o++)if(n(P[o]))return o;return-1}function ei(P,t){var n;return!!P&&P!==((n=t.loadLevelObj)==null?void 0:n.uri)}class Gi extends L{constructor(t){super("abr",t.logger),this.hls=void 0,this.lastLevelLoadSec=0,this.lastLoadedFragLevel=-1,this.firstSelection=-1,this._nextAutoLevel=-1,this.nextAutoLevelKey="",this.audioTracksByGroup=null,this.codecTiers=null,this.timer=-1,this.fragCurrent=null,this.partCurrent=null,this.bitrateTestDelay=0,this.rebufferNotice=-1,this.bwEstimator=void 0,this._abandonRulesCheck=n=>{var o;const{fragCurrent:m,partCurrent:E,hls:T}=this,{autoLevelEnabled:z,media:H}=T;if(!m||!H)return;const j=performance.now(),se=E?E.stats:m.stats,ce=E?E.duration:m.duration,xe=j-se.loading.start,Ie=T.minAutoLevel,Oe=m.level,tt=this._nextAutoLevel;if(se.aborted||se.loaded&&se.loaded===se.total||Oe<=Ie){this.clearTimer(),this._nextAutoLevel=-1;return}if(!z)return;const at=tt>-1&&tt!==Oe,Nt=!!n||at;if(!Nt&&(H.paused||!H.playbackRate||!H.readyState))return;const dr=T.mainForwardBufferInfo;if(!Nt&&dr===null)return;const ar=this.bwEstimator.getEstimateTTFB(),Zr=Math.abs(H.playbackRate);if(xe<=Math.max(ar,1e3*(ce/(Zr*2))))return;const Gr=dr?dr.len/Zr:0,fn=se.loading.first?se.loading.first-se.loading.start:-1,Vr=se.loaded&&fn>-1,on=this.getBwEstimate(),_n=T.levels,Xr=_n[Oe],Yn=Math.max(se.loaded,Math.round(ce*(m.bitrate||Xr.averageBitrate)/8));let di=Vr?xe-fn:xe;di<1&&Vr&&(di=Math.min(xe,se.loaded*8/on));const os=Vr?se.loaded*1e3/di:0,ya=ar/1e3,Ji=os?(Yn-se.loaded)/os:Yn*8/on+ya;if(Ji<=Gr)return;const Ri=os?os*8:on,ta=((o=(n==null?void 0:n.details)||this.hls.latestLevelDetails)==null?void 0:o.live)===!0,qi=this.hls.config.abrBandWidthUpFactor;let Xn=Number.POSITIVE_INFINITY,ii;for(ii=Oe-1;ii>Ie;ii--){const Cs=_n[ii].maxBitrate,js=!_n[ii].details||ta;if(Xn=this.getTimeToLoadFrag(ya,Ri,ce*Cs,js),Xn<Math.min(Gr,ce+ya))break}if(Xn>=Ji||Xn>ce*10)return;Vr?this.bwEstimator.sample(xe-Math.min(ar,fn),se.loaded):this.bwEstimator.sampleTTFB(xe);const wa=_n[ii].maxBitrate;this.getBwEstimate()*qi>wa&&this.resetEstimator(wa);const Sa=this.findBestLevel(wa,Ie,ii,0,Gr,1,1);Sa>-1&&(ii=Sa),this.warn(`Fragment ${m.sn}${E?" part "+E.index:""} of level ${Oe} is loading too slowly;
Fragment duration: ${m.duration.toFixed(3)}
Time to underbuffer: ${Gr.toFixed(3)} s
Estimated load time for current fragment: ${Ji.toFixed(3)} s
Estimated load time for down switch fragment: ${Xn.toFixed(3)} s
TTFB estimate: ${fn|0} ms
Current BW estimate: ${r(on)?on|0:"Unknown"} bps
New BW estimate: ${this.getBwEstimate()|0} bps
Switching to level ${ii} @ ${wa|0} bps`),T.nextLoadLevel=T.nextAutoLevel=ii,this.clearTimer();const ts=()=>{if(this.clearTimer(),this.fragCurrent===m&&this.hls.loadLevel===ii&&ii>0){const Cs=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${ii>0?"and switching down":""}
Fragment duration: ${m.duration.toFixed(3)} s
Time to underbuffer: ${Cs.toFixed(3)} s`),m.abortRequests(),this.fragCurrent=this.partCurrent=null,ii>Ie){let js=this.findBestLevel(this.hls.levels[Ie].bitrate,Ie,ii,0,Cs,1,1);js===-1&&(js=Ie),this.hls.nextLoadLevel=this.hls.nextAutoLevel=js,this.resetEstimator(this.hls.levels[js].bitrate)}}};at||Ji>Xn*2?ts():this.timer=self.setInterval(ts,Xn*1e3),T.trigger(s.FRAG_LOAD_EMERGENCY_ABORTED,{frag:m,part:E,stats:se})},this.hls=t,this.bwEstimator=this.initEstimator(),this.registerListeners()}resetEstimator(t){t&&(this.log(`setting initial bwe to ${t}`),this.hls.config.abrEwmaDefaultEstimate=t),this.firstSelection=-1,this.bwEstimator=this.initEstimator()}initEstimator(){const t=this.hls.config;return new x(t.abrEwmaSlowVoD,t.abrEwmaFastVoD,t.abrEwmaDefaultEstimate)}registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.FRAG_LOADING,this.onFragLoading,this),t.on(s.FRAG_LOADED,this.onFragLoaded,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this),t.on(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.FRAG_LOADING,this.onFragLoading,this),t.off(s.FRAG_LOADED,this.onFragLoaded,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this),t.off(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.off(s.ERROR,this.onError,this))}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(t,n){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.fragCurrent=this.partCurrent=null,this.onLevelsUpdated(),this.clearTimer()}onLevelsUpdated(){this.lastLoadedFragLevel>-1&&this.fragCurrent&&(this.lastLoadedFragLevel=this.fragCurrent.level),this._nextAutoLevel=-1,this.onMaxAutoLevelUpdated(),this.codecTiers=null,this.audioTracksByGroup=null}onMaxAutoLevelUpdated(){this.firstSelection=-1,this.nextAutoLevelKey=""}onFragLoading(t,n){const o=n.frag;if(!this.ignoreFragment(o)){if(!o.bitrateTest){var m;this.fragCurrent=o,this.partCurrent=(m=n.part)!=null?m:null}this.clearTimer(),this.timer=self.setInterval(this._abandonRulesCheck,100)}}onLevelSwitching(t,n){this.clearTimer()}onError(t,n){if(!n.fatal)switch(n.details){case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:this.lastLoadedFragLevel=-1,this.firstSelection=-1;break;case f.FRAG_LOAD_TIMEOUT:{const o=n.frag,{fragCurrent:m,partCurrent:E}=this;if(o&&m&&o.sn===m.sn&&o.level===m.level){const T=performance.now(),z=E?E.stats:o.stats,H=T-z.loading.start,j=z.loading.first?z.loading.first-z.loading.start:-1;if(z.loaded&&j>-1){const ce=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(H-Math.min(ce,j),z.loaded)}else this.bwEstimator.sampleTTFB(H)}break}}}getTimeToLoadFrag(t,n,o,m){const E=t+o/n,T=m?t+this.lastLevelLoadSec:0;return E+T}onLevelLoaded(t,n){const o=this.hls.config,{loading:m}=n.stats,E=m.end-m.first;r(E)&&(this.lastLevelLoadSec=E/1e3),n.details.live?this.bwEstimator.update(o.abrEwmaSlowLive,o.abrEwmaFastLive):this.bwEstimator.update(o.abrEwmaSlowVoD,o.abrEwmaFastVoD),this.timer>-1&&this._abandonRulesCheck(n.levelInfo)}onFragLoaded(t,{frag:n,part:o}){const m=o?o.stats:n.stats;if(n.type===u.MAIN&&this.bwEstimator.sampleTTFB(m.loading.first-m.loading.start),!this.ignoreFragment(n)){if(this.clearTimer(),n.level===this._nextAutoLevel&&(this._nextAutoLevel=-1),this.firstSelection=-1,this.hls.config.abrMaxWithRealBitrate){const E=o?o.duration:n.duration,T=this.hls.levels[n.level],z=(T.loaded?T.loaded.bytes:0)+m.loaded,H=(T.loaded?T.loaded.duration:0)+E;T.loaded={bytes:z,duration:H},T.realBitrate=Math.round(8*z/H)}if(n.bitrateTest){const E={stats:m,frag:n,part:o,id:n.type};this.onFragBuffered(s.FRAG_BUFFERED,E),n.bitrateTest=!1}else this.lastLoadedFragLevel=n.level}}onFragBuffered(t,n){const{frag:o,part:m}=n,E=m!=null&&m.stats.loaded?m.stats:o.stats;if(E.aborted||this.ignoreFragment(o))return;const T=E.parsing.end-E.loading.start-Math.min(E.loading.first-E.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(T,E.loaded),E.bwEstimate=this.getBwEstimate(),o.bitrateTest?this.bitrateTestDelay=T/1e3:this.bitrateTestDelay=0}ignoreFragment(t){return t.type!==u.MAIN||t.sn==="initSegment"}clearTimer(){this.timer>-1&&(self.clearInterval(this.timer),this.timer=-1)}get firstAutoLevel(){const{maxAutoLevel:t,minAutoLevel:n}=this.hls,o=this.getBwEstimate(),m=this.hls.config.maxStarvationDelay,E=this.findBestLevel(o,n,t,0,m,1,1);if(E>-1)return E;const T=this.hls.firstLevel,z=Math.min(Math.max(T,n),t);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${T} clamped to ${z}`),z}get forcedAutoLevel(){return this.nextAutoLevelKey?-1:this._nextAutoLevel}get nextAutoLevel(){const t=this.forcedAutoLevel,o=this.bwEstimator.canEstimate(),m=this.lastLoadedFragLevel>-1;if(t!==-1&&(!o||!m||this.nextAutoLevelKey===this.getAutoLevelKey()))return t;const E=o&&m?this.getNextABRAutoLevel():this.firstAutoLevel;if(t!==-1){const T=this.hls.levels;if(T.length>Math.max(t,E)&&T[t].loadError<=T[E].loadError)return t}return this._nextAutoLevel=E,this.nextAutoLevelKey=this.getAutoLevelKey(),E}getAutoLevelKey(){return`${this.getBwEstimate()}_${this.getStarvationDelay().toFixed(2)}`}getNextABRAutoLevel(){const{fragCurrent:t,partCurrent:n,hls:o}=this;if(o.levels.length<=1)return o.loadLevel;const{maxAutoLevel:m,config:E,minAutoLevel:T}=o,z=n?n.duration:t?t.duration:0,H=this.getBwEstimate(),j=this.getStarvationDelay();let se=E.abrBandWidthFactor,ce=E.abrBandWidthUpFactor;if(j){const at=this.findBestLevel(H,T,m,j,0,se,ce);if(at>=0)return this.rebufferNotice=-1,at}let xe=z?Math.min(z,E.maxStarvationDelay):E.maxStarvationDelay;if(!j){const at=this.bitrateTestDelay;at&&(xe=(z?Math.min(z,E.maxLoadingDelay):E.maxLoadingDelay)-at,this.info(`bitrate test took ${Math.round(1e3*at)}ms, set first fragment max fetchDuration to ${Math.round(1e3*xe)} ms`),se=ce=1)}const Ie=this.findBestLevel(H,T,m,j,xe,se,ce);if(this.rebufferNotice!==Ie&&(this.rebufferNotice=Ie,this.info(`${j?"rebuffering expected":"buffer is empty"}, optimal quality level ${Ie}`)),Ie>-1)return Ie;const Oe=o.levels[T],tt=o.loadLevelObj;return tt&&(Oe==null?void 0:Oe.bitrate)<tt.bitrate?T:o.loadLevel}getStarvationDelay(){const t=this.hls,n=t.media;if(!n)return 1/0;const o=n&&n.playbackRate!==0?Math.abs(n.playbackRate):1,m=t.mainForwardBufferInfo;return(m?m.len:0)/o}getBwEstimate(){return this.bwEstimator.canEstimate()?this.bwEstimator.getEstimate():this.hls.config.abrEwmaDefaultEstimate}findBestLevel(t,n,o,m,E,T,z){var H;const j=m+E,se=this.lastLoadedFragLevel,ce=se===-1?this.hls.firstLevel:se,{fragCurrent:xe,partCurrent:Ie}=this,{levels:Oe,allAudioTracks:tt,loadLevel:at,config:Nt}=this.hls;if(Oe.length===1)return 0;const dr=Oe[ce],ar=!!((H=this.hls.latestLevelDetails)!=null&&H.live),Zr=at===-1||se===-1;let Gr,fn="SDR",Vr=(dr==null?void 0:dr.frameRate)||0;const{audioPreference:on,videoPreference:_n}=Nt,Xr=this.audioTracksByGroup||(this.audioTracksByGroup=Si(tt));let Yn=-1;if(Zr){if(this.firstSelection!==-1)return this.firstSelection;const Ri=this.codecTiers||(this.codecTiers=Ei(Oe,Xr,n,o)),ta=Zi(Ri,fn,t,on,_n),{codecSet:qi,videoRanges:Xn,minFramerate:ii,minBitrate:wa,minIndex:Sa,preferHDR:ts}=ta;Yn=Sa,Gr=qi,fn=ts?Xn[Xn.length-1]:Xn[0],Vr=ii,t=Math.max(t,wa),this.log(`picked start tier ${jn(ta)}`)}else Gr=dr==null?void 0:dr.codecSet,fn=dr==null?void 0:dr.videoRange;const di=Ie?Ie.duration:xe?xe.duration:0,os=this.bwEstimator.getEstimateTTFB()/1e3,ya=[];for(let Ri=o;Ri>=n;Ri--){var Ji;const ta=Oe[Ri],qi=Ri>ce;if(!ta)continue;if(Nt.useMediaCapabilities&&!ta.supportedResult&&!ta.supportedPromise){const js=navigator.mediaCapabilities;typeof(js==null?void 0:js.decodingInfo)=="function"&&(Lt(ta,Xr,fn,Vr,t,on)||Ht(ta.videoCodec))?(ta.supportedPromise=vt(ta,Xr,js),ta.supportedPromise.then(ao=>{if(!this.hls)return;ta.supportedResult=ao;const Qu=this.hls.levels,dl=Qu.indexOf(ta);ao.error?this.warn(`MediaCapabilities decodingInfo error: "${ao.error}" for level ${dl} ${jn(ao)}`):ao.supported||(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${dl} ${jn(ao)}`),dl>-1&&Qu.length>1&&(this.log(`Removing unsupported level ${dl}`),this.hls.removeLevel(dl),this.hls.loadLevel===-1&&(this.hls.nextLoadLevel=0)))})):ta.supportedResult=sn}if((Gr&&ta.codecSet!==Gr||fn&&ta.videoRange!==fn||qi&&Vr>ta.frameRate||!qi&&Vr>0&&Vr<ta.frameRate||ta.supportedResult&&!((Ji=ta.supportedResult.decodingInfoResults)!=null&&Ji[0].smooth))&&(!Zr||Ri!==Yn)){ya.push(Ri);continue}const Xn=ta.details,ii=(Ie?Xn==null?void 0:Xn.partTarget:Xn==null?void 0:Xn.averagetargetduration)||di;let wa;qi?wa=z*t:wa=T*t;const Sa=di&&m>=di*2&&E===0?ta.averageBitrate:ta.maxBitrate,ts=this.getTimeToLoadFrag(os,wa,Sa*ii,Xn===void 0);if(wa>=Sa&&(Ri===se||ta.loadError===0&&ta.fragmentError===0)&&(ts<=os||!r(ts)||ar&&!this.bitrateTestDelay||ts<j)){const js=this.forcedAutoLevel;return Ri!==at&&(js===-1||js!==at)&&(ya.length&&this.trace(`Skipped level(s) ${ya.join(",")} of ${o} max with CODECS and VIDEO-RANGE:"${Oe[ya[0]].codecs}" ${Oe[ya[0]].videoRange}; not compatible with "${Gr}" ${fn}`),this.info(`switch candidate:${ce}->${Ri} adjustedbw(${Math.round(wa)})-bitrate=${Math.round(wa-Sa)} ttfb:${os.toFixed(1)} avgDuration:${ii.toFixed(1)} maxFetchDuration:${j.toFixed(1)} fetchDuration:${ts.toFixed(1)} firstSelection:${Zr} codecSet:${ta.codecSet} videoRange:${ta.videoRange} hls.loadLevel:${at}`)),Zr&&(this.firstSelection=Ri),Ri}}return-1}set nextAutoLevel(t){const n=this.deriveNextAutoLevel(t);this._nextAutoLevel!==n&&(this.nextAutoLevelKey="",this._nextAutoLevel=n)}deriveNextAutoLevel(t){const{maxAutoLevel:n,minAutoLevel:o}=this.hls;return Math.min(Math.max(t,o),n)}}const vi={search:function(P,t){let n=0,o=P.length-1,m=null,E=null;for(;n<=o;){m=(n+o)/2|0,E=P[m];const T=t(E);if(T>0)n=m+1;else if(T<0)o=m-1;else return E}return null}};function si(P,t,n){if(t===null||!Array.isArray(P)||!P.length||!r(t))return null;const o=P[0].programDateTime;if(t<(o||0))return null;const m=P[P.length-1].endProgramDateTime;if(t>=(m||0))return null;n=n||0;for(let E=0;E<P.length;++E){const T=P[E];if(rt(t,n,T))return T}return null}function En(P,t,n=0,o=0,m=.005){let E=null;if(P){E=t[1+P.sn-t[0].sn]||null;const z=P.endDTS-n;z>0&&z<15e-7&&(n+=15e-7),E&&P.level!==E.level&&E.end<=P.end&&(E=t[2+P.sn-t[0].sn]||null)}else n===0&&t[0].start===0&&(E=t[0]);if(E&&((!P||P.level===E.level)&&mt(n,o,E)===0||tr(E,P,Math.min(m,o))))return E;const T=vi.search(t,mt.bind(null,n,o));return T&&(T!==P||!E)?T:E}function tr(P,t,n){if(t&&t.start===0&&t.level<P.level&&(t.endPTS||0)>0){const o=t.tagList.reduce((m,E)=>(E[0]==="INF"&&(m+=parseFloat(E[1])),m),n);return P.start<=o}return!1}function mt(P=0,t=0,n){if(n.start<=P&&n.start+n.duration>P)return 0;const o=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-o<=P?1:n.start-o>P&&n.start?-1:0}function rt(P,t,n){const o=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0))*1e3;return(n.endProgramDateTime||0)-o>P}function Dt(P,t){return vi.search(P,n=>n.cc<t?1:n.cc>t?-1:0)}function pt(P,t,n){if(P&&P.startCC<=t&&P.endCC>=t){const o=n.start,m=n.end;let E=P.fragments;if(!n.relurl){const{fragmentHint:T}=P;T&&(E=E.concat(T))}return vi.search(E,T=>T.cc<t||T.end<=o?1:T.cc>t||T.start>=m?-1:0)}return null}function lr(P){switch(P.details){case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_TIMEOUT:case f.LEVEL_LOAD_TIMEOUT:case f.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function fr(P,t){const n=lr(t);return P.default[`${n?"timeout":"error"}Retry`]}function Ir(P,t){const n=P.backoff==="linear"?1:Math.pow(2,t);return Math.min(n*P.retryDelayMs,P.maxRetryDelayMs)}function Hr(P){return b(b({},P),{errorRetry:null,timeoutRetry:null})}function Ze(P,t,n,o){if(!P)return!1;const m=o==null?void 0:o.code,E=t<P.maxNumRetry&&(et(m)||!!n);return P.shouldRetry?P.shouldRetry(P,t,n,o,E):E}function et(P){return P===0&&navigator.onLine===!1||!!P&&(P<400||P>499)}var Ee={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},it={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class ir extends L{constructor(t){super("error-controller",t.logger),this.hls=void 0,this.playlistError=0,this.penalizedRenditions={},this.hls=t,this.registerListeners()}registerListeners(){const t=this.hls;t.on(s.ERROR,this.onError,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const t=this.hls;t&&(t.off(s.ERROR,this.onError,this),t.off(s.ERROR,this.onErrorOut,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null,this.penalizedRenditions={}}startLoad(t){}stopLoad(){this.playlistError=0}getVariantLevelIndex(t){return(t==null?void 0:t.type)===u.MAIN?t.level:this.hls.loadLevel}onManifestLoading(){this.playlistError=0,this.penalizedRenditions={}}onLevelUpdated(){this.playlistError=0}onError(t,n){var o;if(n.fatal)return;const m=this.hls,E=n.context;switch(n.details){case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:n.errorAction=this.getFragRetryOrSwitchAction(n);return;case f.FRAG_PARSING_ERROR:if((o=n.frag)!=null&&o.gap){n.errorAction=Dr();return}case f.FRAG_GAP:case f.FRAG_DECRYPT_ERROR:{n.errorAction=this.getFragRetryOrSwitchAction(n),n.errorAction.action=Ee.SendAlternateToPenaltyBox;return}case f.LEVEL_EMPTY_ERROR:case f.LEVEL_PARSING_ERROR:{var T,z;const j=n.parent===u.MAIN?n.level:m.loadLevel;n.details===f.LEVEL_EMPTY_ERROR&&((T=n.context)!=null&&(z=T.levelDetails)!=null&&z.live)?n.errorAction=this.getPlaylistRetryOrSwitchAction(n,j):(n.levelRetry=!1,n.errorAction=this.getLevelSwitchAction(n,j))}return;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:typeof(E==null?void 0:E.level)=="number"&&(n.errorAction=this.getPlaylistRetryOrSwitchAction(n,E.level));return;case f.AUDIO_TRACK_LOAD_ERROR:case f.AUDIO_TRACK_LOAD_TIMEOUT:case f.SUBTITLE_LOAD_ERROR:case f.SUBTITLE_TRACK_LOAD_TIMEOUT:if(E){const j=m.loadLevelObj;if(j&&(E.type===h.AUDIO_TRACK&&j.hasAudioGroup(E.groupId)||E.type===h.SUBTITLE_TRACK&&j.hasSubtitleGroup(E.groupId))){n.errorAction=this.getPlaylistRetryOrSwitchAction(n,m.loadLevel),n.errorAction.action=Ee.SendAlternateToPenaltyBox,n.errorAction.flags=it.MoveAllAlternatesMatchingHost;return}}return;case f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const j=m.loadLevelObj,se=j==null?void 0:j.attrs["HDCP-LEVEL"];se?n.errorAction={action:Ee.SendAlternateToPenaltyBox,flags:it.MoveAllAlternatesMatchingHDCP,hdcpLevel:se}:this.keySystemError(n)}return;case f.BUFFER_ADD_CODEC_ERROR:case f.REMUX_ALLOC_ERROR:case f.BUFFER_APPEND_ERROR:if(!n.errorAction){var H;n.errorAction=this.getLevelSwitchAction(n,(H=n.level)!=null?H:m.loadLevel)}return;case f.INTERNAL_EXCEPTION:case f.BUFFER_APPENDING_ERROR:case f.BUFFER_FULL_ERROR:case f.LEVEL_SWITCH_ERROR:case f.BUFFER_STALLED_ERROR:case f.BUFFER_SEEK_OVER_HOLE:case f.BUFFER_NUDGE_ON_STALL:n.errorAction=Dr();return}n.type===c.KEY_SYSTEM_ERROR&&this.keySystemError(n)}keySystemError(t){const n=this.getVariantLevelIndex(t.frag);t.levelRetry=!1,t.errorAction=this.getLevelSwitchAction(t,n)}getPlaylistRetryOrSwitchAction(t,n){const o=this.hls,m=fr(o.config.playlistLoadPolicy,t),E=this.playlistError++;if(Ze(m,E,lr(t),t.response))return{action:Ee.RetryRequest,flags:it.None,retryConfig:m,retryCount:E};const z=this.getLevelSwitchAction(t,n);return m&&(z.retryConfig=m,z.retryCount=E),z}getFragRetryOrSwitchAction(t){const n=this.hls,o=this.getVariantLevelIndex(t.frag),m=n.levels[o],{fragLoadPolicy:E,keyLoadPolicy:T}=n.config,z=fr(t.details.startsWith("key")?T:E,t),H=n.levels.reduce((se,ce)=>se+ce.fragmentError,0);if(m&&(t.details!==f.FRAG_GAP&&m.fragmentError++,Ze(z,H,lr(t),t.response)))return{action:Ee.RetryRequest,flags:it.None,retryConfig:z,retryCount:H};const j=this.getLevelSwitchAction(t,o);return z&&(j.retryConfig=z,j.retryCount=H),j}getLevelSwitchAction(t,n){const o=this.hls;n==null&&(n=o.loadLevel);const m=this.hls.levels[n];if(m){var E,T;const j=t.details;m.loadError++,j===f.BUFFER_APPEND_ERROR&&m.fragmentError++;let se=-1;const{levels:ce,loadLevel:xe,minAutoLevel:Ie,maxAutoLevel:Oe}=o;o.autoLevelEnabled||(o.loadLevel=-1);const tt=(E=t.frag)==null?void 0:E.type,Nt=(tt===u.AUDIO&&j===f.FRAG_PARSING_ERROR||t.sourceBufferName==="audio"&&(j===f.BUFFER_ADD_CODEC_ERROR||j===f.BUFFER_APPEND_ERROR))&&ce.some(({audioCodec:fn})=>m.audioCodec!==fn),ar=t.sourceBufferName==="video"&&(j===f.BUFFER_ADD_CODEC_ERROR||j===f.BUFFER_APPEND_ERROR)&&ce.some(({codecSet:fn,audioCodec:Vr})=>m.codecSet!==fn&&m.audioCodec===Vr),{type:Zr,groupId:Gr}=(T=t.context)!=null?T:{};for(let fn=ce.length;fn--;){const Vr=(fn+xe)%ce.length;if(Vr!==xe&&Vr>=Ie&&Vr<=Oe&&ce[Vr].loadError===0){var z,H;const on=ce[Vr];if(j===f.FRAG_GAP&&tt===u.MAIN&&t.frag){const _n=ce[Vr].details;if(_n){const Xr=En(t.frag,_n.fragments,t.frag.start);if(Xr!=null&&Xr.gap)continue}}else{if(Zr===h.AUDIO_TRACK&&on.hasAudioGroup(Gr)||Zr===h.SUBTITLE_TRACK&&on.hasSubtitleGroup(Gr))continue;if(tt===u.AUDIO&&(z=m.audioGroups)!=null&&z.some(_n=>on.hasAudioGroup(_n))||tt===u.SUBTITLE&&(H=m.subtitleGroups)!=null&&H.some(_n=>on.hasSubtitleGroup(_n))||Nt&&m.audioCodec===on.audioCodec||!Nt&&m.audioCodec!==on.audioCodec||ar&&m.codecSet===on.codecSet)continue}se=Vr;break}}if(se>-1&&o.loadLevel!==se)return t.levelRetry=!0,this.playlistError=0,{action:Ee.SendAlternateToPenaltyBox,flags:it.None,nextAutoLevel:se}}return{action:Ee.SendAlternateToPenaltyBox,flags:it.MoveAllAlternatesMatchingHost}}onErrorOut(t,n){var o;switch((o=n.errorAction)==null?void 0:o.action){case Ee.DoNothing:break;case Ee.SendAlternateToPenaltyBox:this.sendAlternateToPenaltyBox(n),!n.errorAction.resolved&&n.details!==f.FRAG_GAP?n.fatal=!0:/MediaSource readyState: ended/.test(n.error.message)&&(this.warn(`MediaSource ended after "${n.sourceBufferName}" sourceBuffer append error. Attempting to recover from media error.`),this.hls.recoverMediaError());break;case Ee.RetryRequest:break}if(n.fatal){this.hls.stopLoad();return}}sendAlternateToPenaltyBox(t){const n=this.hls,o=t.errorAction;if(!o)return;const{flags:m,hdcpLevel:E,nextAutoLevel:T}=o;switch(m){case it.None:this.switchLevel(t,T);break;case it.MoveAllAlternatesMatchingHDCP:E&&(n.maxHdcpLevel=jt[jt.indexOf(E)-1],o.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${n.maxHdcpLevel}" or lower`);break}o.resolved||this.switchLevel(t,T)}switchLevel(t,n){if(n!==void 0&&t.errorAction&&(this.warn(`switching to level ${n} after ${t.details}`),this.hls.nextAutoLevel=n,t.errorAction.resolved=!0,this.hls.nextLoadLevel=this.hls.nextAutoLevel,t.details===f.BUFFER_ADD_CODEC_ERROR&&t.mimeType&&t.sourceBufferName!=="audiovideo")){const o=Ur(t.mimeType),m=this.hls.levels;for(let E=m.length;E--;)m[E][`${t.sourceBufferName}Codec`]===o&&this.hls.removeLevel(E)}}}function Dr(P){const t={action:Ee.DoNothing,flags:it.None};return P&&(t.resolved=!0),t}var Er={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class Or{constructor(t){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=t,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.BUFFER_APPENDED,this.onBufferAppended,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this),t.on(s.FRAG_LOADED,this.onFragLoaded,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.BUFFER_APPENDED,this.onBufferAppended,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this),t.off(s.FRAG_LOADED,this.onFragLoaded,this)}destroy(){this._unregisterListeners(),this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(t,n){const o=this.activePartLists[n];if(o)for(let m=o.length;m--;){const E=o[m];if(!E)break;const T=E.end;if(E.start<=t&&T!==null&&t<=T)return E}return this.getBufferedFrag(t,n)}getBufferedFrag(t,n){return this.getFragAtPos(t,n,!0)}getFragAtPos(t,n,o){const{fragments:m}=this,E=Object.keys(m);for(let T=E.length;T--;){const z=m[E[T]];if((z==null?void 0:z.body.type)===n&&(!o||z.buffered)){const H=z.body;if(H.start<=t&&t<=H.end)return H}}return null}detectEvictedFragments(t,n,o,m,E){this.timeRanges&&(this.timeRanges[t]=n);const T=(m==null?void 0:m.fragment.sn)||-1;Object.keys(this.fragments).forEach(z=>{const H=this.fragments[z];if(!H||T>=H.body.sn)return;if(!H.buffered&&(!H.loaded||E)){H.body.type===o&&this.removeFragment(H.body);return}const j=H.range[t];if(j){if(j.time.length===0){this.removeFragment(H.body);return}j.time.some(se=>{const ce=!this.isTimeBuffered(se.startPTS,se.endPTS,n);return ce&&this.removeFragment(H.body),ce})}})}detectPartialFragments(t){const n=this.timeRanges;if(!n||t.frag.sn==="initSegment")return;const o=t.frag,m=bn(o),E=this.fragments[m];if(!E||E.buffered&&o.gap)return;const T=!o.relurl;Object.keys(n).forEach(z=>{const H=o.elementaryStreams[z];if(!H)return;const j=n[z],se=T||H.partial===!0;E.range[z]=this.getBufferedTimes(o,t.part,se,j)}),E.loaded=null,Object.keys(E.range).length?(E.buffered=!0,(E.body.endList=o.endList||E.body.endList)&&(this.endListFragments[E.body.type]=E),$r(E)||this.removeParts(o.sn-1,o.type)):this.removeFragment(E.body)}removeParts(t,n){const o=this.activePartLists[n];o&&(this.activePartLists[n]=Pr(o,m=>m.fragment.sn>=t))}fragBuffered(t,n){const o=bn(t);let m=this.fragments[o];!m&&n&&(m=this.fragments[o]={body:t,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},t.gap&&(this.hasGaps=!0)),m&&(m.loaded=null,m.buffered=!0)}getBufferedTimes(t,n,o,m){const E={time:[],partial:o},T=t.start,z=t.end,H=t.minEndPTS||z,j=t.maxStartPTS||T;for(let se=0;se<m.length;se++){const ce=m.start(se)-this.bufferPadding,xe=m.end(se)+this.bufferPadding;if(j>=ce&&H<=xe){E.time.push({startPTS:Math.max(T,m.start(se)),endPTS:Math.min(z,m.end(se))});break}else if(T<xe&&z>ce){const Ie=Math.max(T,m.start(se)),Oe=Math.min(z,m.end(se));Oe>Ie&&(E.partial=!0,E.time.push({startPTS:Ie,endPTS:Oe}))}else if(z<=ce)break}return E}getPartialFragment(t){let n=null,o,m,E,T=0;const{bufferPadding:z,fragments:H}=this;return Object.keys(H).forEach(j=>{const se=H[j];se&&$r(se)&&(m=se.body.start-z,E=se.body.end+z,t>=m&&t<=E&&(o=Math.min(t-m,E-t),T<=o&&(n=se.body,T=o)))}),n}isEndListAppended(t){const n=this.endListFragments[t];return n!==void 0&&(n.buffered||$r(n))}getState(t){const n=bn(t),o=this.fragments[n];return o?o.buffered?$r(o)?Er.PARTIAL:Er.OK:Er.APPENDING:Er.NOT_LOADED}isTimeBuffered(t,n,o){let m,E;for(let T=0;T<o.length;T++){if(m=o.start(T)-this.bufferPadding,E=o.end(T)+this.bufferPadding,t>=m&&n<=E)return!0;if(n<=m)return!1}return!1}onManifestLoading(){this.removeAllFragments()}onFragLoaded(t,n){if(n.frag.sn==="initSegment"||n.frag.bitrateTest)return;const o=n.frag,m=n.part?null:n,E=bn(o);this.fragments[E]={body:o,appendedPTS:null,loaded:m,buffered:!1,range:Object.create(null)}}onBufferAppended(t,n){const{frag:o,part:m,timeRanges:E,type:T}=n;if(o.sn==="initSegment")return;const z=o.type;if(m){let j=this.activePartLists[z];j||(this.activePartLists[z]=j=[]),j.push(m)}this.timeRanges=E;const H=E[T];this.detectEvictedFragments(T,H,z,m)}onFragBuffered(t,n){this.detectPartialFragments(n)}hasFragment(t){const n=bn(t);return!!this.fragments[n]}hasFragments(t){const{fragments:n}=this,o=Object.keys(n);if(!t)return o.length>0;for(let m=o.length;m--;){const E=n[o[m]];if((E==null?void 0:E.body.type)===t)return!0}return!1}hasParts(t){var n;return!!((n=this.activePartLists[t])!=null&&n.length)}removeFragmentsInRange(t,n,o,m,E){m&&!this.hasGaps||Object.keys(this.fragments).forEach(T=>{const z=this.fragments[T];if(!z)return;const H=z.body;H.type!==o||m&&!H.gap||H.start<n&&H.end>t&&(z.buffered||E)&&this.removeFragment(H)})}removeFragment(t){const n=bn(t);t.clearElementaryStreamInfo();const o=this.activePartLists[t.type];if(o){const m=t.sn;this.activePartLists[t.type]=Pr(o,E=>E.fragment.sn!==m)}delete this.fragments[n],t.endList&&delete this.endListFragments[t.type]}removeAllFragments(){var t,n;this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1;const o=(t=this.hls)==null||(n=t.latestLevelDetails)==null?void 0:n.partList;o&&o.forEach(m=>m.clearElementaryStreamInfo())}}function $r(P){var t,n,o;return P.buffered&&(P.body.gap||((t=P.range.video)==null?void 0:t.partial)||((n=P.range.audio)==null?void 0:n.partial)||((o=P.range.audiovideo)==null?void 0:o.partial))}function bn(P){return`${P.type}_${P.level}_${P.sn}`}function Pr(P,t){return P.filter(n=>{const o=t(n);return o||n.clearElementaryStreamInfo(),o})}var un={cbc:0,ctr:1};class rn{constructor(t,n,o){this.subtle=void 0,this.aesIV=void 0,this.aesMode=void 0,this.subtle=t,this.aesIV=n,this.aesMode=o}decrypt(t,n){switch(this.aesMode){case un.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},n,t);case un.ctr:return this.subtle.decrypt({name:"AES-CTR",counter:this.aesIV,length:64},n,t);default:throw new Error(`[AESCrypto] invalid aes mode ${this.aesMode}`)}}}function ln(P){const t=P.byteLength,n=t&&new DataView(P.buffer).getUint8(t-1);return n?P.slice(0,t-n):P}class An{constructor(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.ksRows=0,this.keySize=0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.initTable()}uint8ArrayToUint32Array_(t){const n=new DataView(t),o=new Uint32Array(4);for(let m=0;m<4;m++)o[m]=n.getUint32(m*4);return o}initTable(){const t=this.sBox,n=this.invSBox,o=this.subMix,m=o[0],E=o[1],T=o[2],z=o[3],H=this.invSubMix,j=H[0],se=H[1],ce=H[2],xe=H[3],Ie=new Uint32Array(256);let Oe=0,tt=0,at=0;for(at=0;at<256;at++)at<128?Ie[at]=at<<1:Ie[at]=at<<1^283;for(at=0;at<256;at++){let Nt=tt^tt<<1^tt<<2^tt<<3^tt<<4;Nt=Nt>>>8^Nt&255^99,t[Oe]=Nt,n[Nt]=Oe;const dr=Ie[Oe],ar=Ie[dr],Zr=Ie[ar];let Gr=Ie[Nt]*257^Nt*16843008;m[Oe]=Gr<<24|Gr>>>8,E[Oe]=Gr<<16|Gr>>>16,T[Oe]=Gr<<8|Gr>>>24,z[Oe]=Gr,Gr=Zr*16843009^ar*65537^dr*257^Oe*16843008,j[Nt]=Gr<<24|Gr>>>8,se[Nt]=Gr<<16|Gr>>>16,ce[Nt]=Gr<<8|Gr>>>24,xe[Nt]=Gr,Oe?(Oe=dr^Ie[Ie[Ie[Zr^dr]]],tt^=Ie[Ie[tt]]):Oe=tt=1}}expandKey(t){const n=this.uint8ArrayToUint32Array_(t);let o=!0,m=0;for(;m<n.length&&o;)o=n[m]===this.key[m],m++;if(o)return;this.key=n;const E=this.keySize=n.length;if(E!==4&&E!==6&&E!==8)throw new Error("Invalid aes key size="+E);const T=this.ksRows=(E+6+1)*4;let z,H;const j=this.keySchedule=new Uint32Array(T),se=this.invKeySchedule=new Uint32Array(T),ce=this.sBox,xe=this.rcon,Ie=this.invSubMix,Oe=Ie[0],tt=Ie[1],at=Ie[2],Nt=Ie[3];let dr,ar;for(z=0;z<T;z++){if(z<E){dr=j[z]=n[z];continue}ar=dr,z%E===0?(ar=ar<<8|ar>>>24,ar=ce[ar>>>24]<<24|ce[ar>>>16&255]<<16|ce[ar>>>8&255]<<8|ce[ar&255],ar^=xe[z/E|0]<<24):E>6&&z%E===4&&(ar=ce[ar>>>24]<<24|ce[ar>>>16&255]<<16|ce[ar>>>8&255]<<8|ce[ar&255]),j[z]=dr=(j[z-E]^ar)>>>0}for(H=0;H<T;H++)z=T-H,H&3?ar=j[z]:ar=j[z-4],H<4||z<=4?se[H]=ar:se[H]=Oe[ce[ar>>>24]]^tt[ce[ar>>>16&255]]^at[ce[ar>>>8&255]]^Nt[ce[ar&255]],se[H]=se[H]>>>0}networkToHostOrderSwap(t){return t<<24|(t&65280)<<8|(t&16711680)>>8|t>>>24}decrypt(t,n,o){const m=this.keySize+6,E=this.invKeySchedule,T=this.invSBox,z=this.invSubMix,H=z[0],j=z[1],se=z[2],ce=z[3],xe=this.uint8ArrayToUint32Array_(o);let Ie=xe[0],Oe=xe[1],tt=xe[2],at=xe[3];const Nt=new Int32Array(t),dr=new Int32Array(Nt.length);let ar,Zr,Gr,fn,Vr,on,_n,Xr,Yn,di,os,ya,Ji,Ri;const ta=this.networkToHostOrderSwap;for(;n<Nt.length;){for(Yn=ta(Nt[n]),di=ta(Nt[n+1]),os=ta(Nt[n+2]),ya=ta(Nt[n+3]),Vr=Yn^E[0],on=ya^E[1],_n=os^E[2],Xr=di^E[3],Ji=4,Ri=1;Ri<m;Ri++)ar=H[Vr>>>24]^j[on>>16&255]^se[_n>>8&255]^ce[Xr&255]^E[Ji],Zr=H[on>>>24]^j[_n>>16&255]^se[Xr>>8&255]^ce[Vr&255]^E[Ji+1],Gr=H[_n>>>24]^j[Xr>>16&255]^se[Vr>>8&255]^ce[on&255]^E[Ji+2],fn=H[Xr>>>24]^j[Vr>>16&255]^se[on>>8&255]^ce[_n&255]^E[Ji+3],Vr=ar,on=Zr,_n=Gr,Xr=fn,Ji=Ji+4;ar=T[Vr>>>24]<<24^T[on>>16&255]<<16^T[_n>>8&255]<<8^T[Xr&255]^E[Ji],Zr=T[on>>>24]<<24^T[_n>>16&255]<<16^T[Xr>>8&255]<<8^T[Vr&255]^E[Ji+1],Gr=T[_n>>>24]<<24^T[Xr>>16&255]<<16^T[Vr>>8&255]<<8^T[on&255]^E[Ji+2],fn=T[Xr>>>24]<<24^T[Vr>>16&255]<<16^T[on>>8&255]<<8^T[_n&255]^E[Ji+3],dr[n]=ta(ar^Ie),dr[n+1]=ta(fn^Oe),dr[n+2]=ta(Gr^tt),dr[n+3]=ta(Zr^at),Ie=Yn,Oe=di,tt=os,at=ya,n=n+4}return dr.buffer}}class pa{constructor(t,n,o){this.subtle=void 0,this.key=void 0,this.aesMode=void 0,this.subtle=t,this.key=n,this.aesMode=o}expandKey(){const t=Pi(this.aesMode);return this.subtle.importKey("raw",this.key,{name:t},!1,["encrypt","decrypt"])}}function Pi(P){switch(P){case un.cbc:return"AES-CBC";case un.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${P}`)}}const gi=16;class pn{constructor(t,{removePKCS7Padding:n=!0}={}){if(this.logEnabled=!0,this.removePKCS7Padding=void 0,this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null,this.useSoftware=void 0,this.enableSoftwareAES=void 0,this.enableSoftwareAES=t.enableSoftwareAES,this.removePKCS7Padding=n,n)try{const o=self.crypto;o&&(this.subtle=o.subtle||o.webkitSubtle)}catch(o){}this.useSoftware=!this.subtle}destroy(){this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null}isSync(){return this.useSoftware}flush(){const{currentResult:t,remainderData:n}=this;if(!t||n)return this.reset(),null;const o=new Uint8Array(t);return this.reset(),this.removePKCS7Padding?ln(o):o}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(t,n,o,m){return this.useSoftware?new Promise((E,T)=>{const z=ArrayBuffer.isView(t)?t:new Uint8Array(t);this.softwareDecrypt(z,n,o,m);const H=this.flush();H?E(H.buffer):T(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(t),n,o,m)}softwareDecrypt(t,n,o,m){const{currentIV:E,currentResult:T,remainderData:z}=this;if(m!==un.cbc||n.byteLength!==16)return G.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),z&&(t=Gt(z,t),this.remainderData=null);const H=this.getValidChunk(t);if(!H.length)return null;E&&(o=E);let j=this.softwareDecrypter;j||(j=this.softwareDecrypter=new An),j.expandKey(n);const se=T;return this.currentResult=j.decrypt(H.buffer,0,o),this.currentIV=H.slice(-16).buffer,se||null}webCryptoDecrypt(t,n,o,m){if(this.key!==n||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(t,n,o,m));this.key=n,this.fastAesKey=new pa(this.subtle,n,m)}return this.fastAesKey.expandKey().then(E=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new rn(this.subtle,new Uint8Array(o),m).decrypt(t.buffer,E)):Promise.reject(new Error("web crypto not initialized"))).catch(E=>(G.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${E.name}: ${E.message}`),this.onWebCryptoError(t,n,o,m)))}onWebCryptoError(t,n,o,m){const E=this.enableSoftwareAES;if(E){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(t,n,o,m);const T=this.flush();if(T)return T.buffer}throw new Error("WebCrypto"+(E?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(t){let n=t;const o=t.length-t.length%gi;return o!==t.length&&(n=t.slice(0,o),this.remainderData=t.slice(o)),n}logOnce(t){this.logEnabled&&(G.log(`[decrypter]: ${t}`),this.logEnabled=!1)}}const ui=Math.pow(2,17);class Ni{constructor(t){this.config=void 0,this.loader=null,this.partLoadTimeout=-1,this.config=t}destroy(){this.loader&&(this.loader.destroy(),this.loader=null)}abort(){this.loader&&this.loader.abort()}load(t,n){const o=t.url;if(!o)return Promise.reject(new Na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,error:new Error(`Fragment does not have a ${o?"part list":"url"}`),networkDetails:null}));this.abort();const m=this.config,E=m.fLoader,T=m.loader;return new Promise((z,H)=>{if(this.loader&&this.loader.destroy(),t.gap)if(t.tagList.some(Oe=>Oe[0]==="GAP")){H(xs(t));return}else t.gap=!1;const j=this.loader=E?new E(m):new T(m),se=la(t);t.loader=j;const ce=Hr(m.fragLoadPolicy.default),xe={loadPolicy:ce,timeout:ce.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:t.sn==="initSegment"?1/0:ui};t.stats=j.stats;const Ie={onSuccess:(Oe,tt,at,Nt)=>{this.resetLoader(t,j);let dr=Oe.data;at.resetIV&&t.decryptdata&&(t.decryptdata.iv=new Uint8Array(dr.slice(0,16)),dr=dr.slice(16)),z({frag:t,part:null,payload:dr,networkDetails:Nt})},onError:(Oe,tt,at,Nt)=>{this.resetLoader(t,j),H(new Na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,response:b({url:o,data:void 0},Oe),error:new Error(`HTTP Error ${Oe.code} ${Oe.text}`),networkDetails:at,stats:Nt}))},onAbort:(Oe,tt,at)=>{this.resetLoader(t,j),H(new Na({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,error:new Error("Aborted"),networkDetails:at,stats:Oe}))},onTimeout:(Oe,tt,at)=>{this.resetLoader(t,j),H(new Na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,error:new Error(`Timeout after ${xe.timeout}ms`),networkDetails:at,stats:Oe}))}};n&&(Ie.onProgress=(Oe,tt,at,Nt)=>n({frag:t,part:null,payload:at,networkDetails:Nt})),j.load(se,xe,Ie)})}loadPart(t,n,o){this.abort();const m=this.config,E=m.fLoader,T=m.loader;return new Promise((z,H)=>{if(this.loader&&this.loader.destroy(),t.gap||n.gap){H(xs(t,n));return}const j=this.loader=E?new E(m):new T(m),se=la(t,n);t.loader=j;const ce=Hr(m.fragLoadPolicy.default),xe={loadPolicy:ce,timeout:ce.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:ui};n.stats=j.stats,j.load(se,xe,{onSuccess:(Ie,Oe,tt,at)=>{this.resetLoader(t,j),this.updateStatsFromPart(t,n);const Nt={frag:t,part:n,payload:Ie.data,networkDetails:at};o(Nt),z(Nt)},onError:(Ie,Oe,tt,at)=>{this.resetLoader(t,j),H(new Na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,part:n,response:b({url:se.url,data:void 0},Ie),error:new Error(`HTTP Error ${Ie.code} ${Ie.text}`),networkDetails:tt,stats:at}))},onAbort:(Ie,Oe,tt)=>{t.stats.aborted=n.stats.aborted,this.resetLoader(t,j),H(new Na({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,part:n,error:new Error("Aborted"),networkDetails:tt,stats:Ie}))},onTimeout:(Ie,Oe,tt)=>{this.resetLoader(t,j),H(new Na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,part:n,error:new Error(`Timeout after ${xe.timeout}ms`),networkDetails:tt,stats:Ie}))}})})}updateStatsFromPart(t,n){const o=t.stats,m=n.stats,E=m.total;if(o.loaded+=m.loaded,E){const H=Math.round(t.duration/n.duration),j=Math.min(Math.round(o.loaded/E),H),ce=(H-j)*Math.round(o.loaded/j);o.total=o.loaded+ce}else o.total=Math.max(o.loaded,o.total);const T=o.loading,z=m.loading;T.start?T.first+=z.first-z.start:(T.start=z.start,T.first=z.first),T.end=z.end}resetLoader(t,n){t.loader=null,this.loader===n&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),n.destroy()}}function la(P,t=null){const n=t||P,o={frag:P,part:t,responseType:"arraybuffer",url:n.url,headers:{},rangeStart:0,rangeEnd:0},m=n.byteRangeStartOffset,E=n.byteRangeEndOffset;if(r(m)&&r(E)){var T;let z=m,H=E;if(P.sn==="initSegment"&&Pa((T=P.decryptdata)==null?void 0:T.method)){const j=E-m;j%16&&(H=E+(16-j%16)),m!==0&&(o.resetIV=!0,z=m-16)}o.rangeStart=z,o.rangeEnd=H}return o}function xs(P,t){const n=new Error(`GAP ${P.gap?"tag":"attribute"} found`),o={type:c.MEDIA_ERROR,details:f.FRAG_GAP,fatal:!1,frag:P,error:n,networkDetails:null};return t&&(o.part=t),(t||P).stats.aborted=!0,new Na(o)}function Pa(P){return P==="AES-128"||P==="AES-256"}class Na extends Error{constructor(t){super(t.error.message),this.data=void 0,this.data=t}}class Is extends L{constructor(t,n){super(t,n),this._boundTick=void 0,this._tickTimer=null,this._tickInterval=null,this._tickCallCount=0,this._boundTick=this.tick.bind(this)}destroy(){this.onHandlerDestroying(),this.onHandlerDestroyed()}onHandlerDestroying(){this.clearNextTick(),this.clearInterval()}onHandlerDestroyed(){}hasInterval(){return!!this._tickInterval}hasNextTick(){return!!this._tickTimer}setInterval(t){return this._tickInterval?!1:(this._tickCallCount=0,this._tickInterval=self.setInterval(this._boundTick,t),!0)}clearInterval(){return this._tickInterval?(self.clearInterval(this._tickInterval),this._tickInterval=null,!0):!1}clearNextTick(){return this._tickTimer?(self.clearTimeout(this._tickTimer),this._tickTimer=null,!0):!1}tick(){this._tickCallCount++,this._tickCallCount===1&&(this.doTick(),this._tickCallCount>1&&this.tickImmediate(),this._tickCallCount=0)}tickImmediate(){this.clearNextTick(),this._tickTimer=self.setTimeout(this._boundTick,0)}doTick(){}}class $a{constructor(t,n,o,m=0,E=-1,T=!1){this.level=void 0,this.sn=void 0,this.part=void 0,this.id=void 0,this.size=void 0,this.partial=void 0,this.transmuxing=hs(),this.buffering={audio:hs(),video:hs(),audiovideo:hs()},this.level=t,this.sn=n,this.id=o,this.size=m,this.part=E,this.partial=T}}function hs(){return{start:0,executeStart:0,executeEnd:0,end:0}}const oa={length:0,start:()=>0,end:()=>0};class yi{static isBuffered(t,n){if(t){const o=yi.getBuffered(t);for(let m=o.length;m--;)if(n>=o.start(m)&&n<=o.end(m))return!0}return!1}static bufferedRanges(t){if(t){const n=yi.getBuffered(t);return yi.timeRangesToArray(n)}return[]}static timeRangesToArray(t){const n=[];for(let o=0;o<t.length;o++)n.push({start:t.start(o),end:t.end(o)});return n}static bufferInfo(t,n,o){if(t){const m=yi.bufferedRanges(t);if(m.length)return yi.bufferedInfo(m,n,o)}return{len:0,start:n,end:n,bufferedIndex:-1}}static bufferedInfo(t,n,o){n=Math.max(0,n),t.length>1&&t.sort((se,ce)=>se.start-ce.start||ce.end-se.end);let m=-1,E=[];if(o)for(let se=0;se<t.length;se++){n>=t[se].start&&n<=t[se].end&&(m=se);const ce=E.length;if(ce){const xe=E[ce-1].end;t[se].start-xe<o?t[se].end>xe&&(E[ce-1].end=t[se].end):E.push(t[se])}else E.push(t[se])}else E=t;let T=0,z,H=n,j=n;for(let se=0;se<E.length;se++){const ce=E[se].start,xe=E[se].end;if(m===-1&&n>=ce&&n<=xe&&(m=se),n+o>=ce&&n<xe)H=ce,j=xe,T=j-n;else if(n+o<ce){z=ce;break}}return{len:T,start:H||0,end:j||0,nextStart:z,buffered:t,bufferedIndex:m}}static getBuffered(t){try{return t.buffered||oa}catch(n){return G.log("failed to get media.buffered",n),oa}}}const Ga=/\{\$([a-zA-Z0-9-_]+)\}/g;function Ds(P){return Ga.test(P)}function $i(P,t){if(P.variableList!==null||P.hasVariableRefs){const n=P.variableList;return t.replace(Ga,o=>{const m=o.substring(2,o.length-1),E=n==null?void 0:n[m];return E===void 0?(P.playlistParsingError||(P.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${m}"`)),o):E})}return t}function ps(P,t,n){let o=P.variableList;o||(P.variableList=o={});let m,E;if("QUERYPARAM"in t){m=t.QUERYPARAM;try{const T=new self.URL(n).searchParams;if(T.has(m))E=T.get(m);else throw new Error(`"${m}" does not match any query parameter in URI: "${n}"`)}catch(T){P.playlistParsingError||(P.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${T.message}`))}}else m=t.NAME,E=t.VALUE;m in o?P.playlistParsingError||(P.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${m}"`)):o[m]=E||""}function Co(P,t,n){const o=t.IMPORT;if(n&&o in n){let m=P.variableList;m||(P.variableList=m={}),m[o]=n[o]}else P.playlistParsingError||(P.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${o}"`))}const La=/^(\d+)x(\d+)$/,_s=/(.+?)=(".*?"|.*?)(?:,|$)/g;class ji{constructor(t,n){typeof t=="string"&&(t=ji.parseAttrList(t,n)),y(this,t)}get clientAttrs(){return Object.keys(this).filter(t=>t.substring(0,2)==="X-")}decimalInteger(t){const n=parseInt(this[t],10);return n>Number.MAX_SAFE_INTEGER?1/0:n}hexadecimalInteger(t){if(this[t]){let n=(this[t]||"0x").slice(2);n=(n.length&1?"0":"")+n;const o=new Uint8Array(n.length/2);for(let m=0;m<n.length/2;m++)o[m]=parseInt(n.slice(m*2,m*2+2),16);return o}return null}hexadecimalIntegerAsNumber(t){const n=parseInt(this[t],16);return n>Number.MAX_SAFE_INTEGER?1/0:n}decimalFloatingPoint(t){return parseFloat(this[t])}optionalFloat(t,n){const o=this[t];return o?parseFloat(o):n}enumeratedString(t){return this[t]}enumeratedStringList(t,n){const o=this[t];return(o?o.split(/[ ,]+/):[]).reduce((m,E)=>(m[E.toLowerCase()]=!0,m),n)}bool(t){return this[t]==="YES"}decimalResolution(t){const n=La.exec(this[t]);if(n!==null)return{width:parseInt(n[1],10),height:parseInt(n[2],10)}}static parseAttrList(t,n){let o;const m={},E='"';for(_s.lastIndex=0;(o=_s.exec(t))!==null;){const T=o[1].trim();let z=o[2];const H=z.indexOf(E)===0&&z.lastIndexOf(E)===z.length-1;let j=!1;if(H)z=z.slice(1,-1);else switch(T){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":j=!0}if(n&&(H||j))z=$i(n,z);else if(!j&&!H)switch(T){case"CLOSED-CAPTIONS":if(z==="NONE")break;case"ALLOWED-CPC":case"CLASS":case"ASSOC-LANGUAGE":case"AUDIO":case"BYTERANGE":case"CHANNELS":case"CHARACTERISTICS":case"CODECS":case"DATA-ID":case"END-DATE":case"GROUP-ID":case"ID":case"IMPORT":case"INSTREAM-ID":case"KEYFORMAT":case"KEYFORMATVERSIONS":case"LANGUAGE":case"NAME":case"PATHWAY-ID":case"QUERYPARAM":case"RECENTLY-REMOVED-DATERANGES":case"SERVER-URI":case"STABLE-RENDITION-ID":case"STABLE-VARIANT-ID":case"START-DATE":case"SUBTITLES":case"SUPPLEMENTAL-CODECS":case"URI":case"VALUE":case"VIDEO":case"X-ASSET-LIST":case"X-ASSET-URI":G.warn(`${t}: attribute ${T} is missing quotes`)}m[T]=z}return m}}const Gs="com.apple.hls.interstitial";function Rn(P){return P!=="ID"&&P!=="CLASS"&&P!=="CUE"&&P!=="START-DATE"&&P!=="DURATION"&&P!=="END-DATE"&&P!=="END-ON-NEXT"}function ja(P){return P==="SCTE35-OUT"||P==="SCTE35-IN"||P==="SCTE35-CMD"}class ns{constructor(t,n,o=0){var m;if(this.attr=void 0,this.tagAnchor=void 0,this.tagOrder=void 0,this._startDate=void 0,this._endDate=void 0,this._dateAtEnd=void 0,this._cue=void 0,this._badValueForSameId=void 0,this.tagAnchor=(n==null?void 0:n.tagAnchor)||null,this.tagOrder=(m=n==null?void 0:n.tagOrder)!=null?m:o,n){const E=n.attr;for(const T in E)if(Object.prototype.hasOwnProperty.call(t,T)&&t[T]!==E[T]){G.warn(`DATERANGE tag attribute: "${T}" does not match for tags with ID: "${t.ID}"`),this._badValueForSameId=T;break}t=y(new ji({}),E,t)}if(this.attr=t,n?(this._startDate=n._startDate,this._cue=n._cue,this._endDate=n._endDate,this._dateAtEnd=n._dateAtEnd):this._startDate=new Date(t["START-DATE"]),"END-DATE"in this.attr){const E=(n==null?void 0:n.endDate)||new Date(this.attr["END-DATE"]);r(E.getTime())&&(this._endDate=E)}}get id(){return this.attr.ID}get class(){return this.attr.CLASS}get cue(){const t=this._cue;return t===void 0?this._cue=this.attr.enumeratedStringList(this.attr.CUE?"CUE":"X-CUE",{pre:!1,post:!1,once:!1}):t}get startTime(){const{tagAnchor:t}=this;return t===null||t.programDateTime===null?(G.warn(`Expected tagAnchor Fragment with PDT set for DateRange "${this.id}": ${t}`),NaN):t.start+(this.startDate.getTime()-t.programDateTime)/1e3}get startDate(){return this._startDate}get endDate(){const t=this._endDate||this._dateAtEnd;if(t)return t;const n=this.duration;return n!==null?this._dateAtEnd=new Date(this._startDate.getTime()+n*1e3):null}get duration(){if("DURATION"in this.attr){const t=this.attr.decimalFloatingPoint("DURATION");if(r(t))return t}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}get plannedDuration(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}get endOnNext(){return this.attr.bool("END-ON-NEXT")}get isInterstitial(){return this.class===Gs}get isValid(){return!!this.id&&!this._badValueForSameId&&r(this.startDate.getTime())&&(this.duration===null||this.duration>=0)&&(!this.endOnNext||!!this.class)&&(!this.attr.CUE||!this.cue.pre&&!this.cue.post||this.cue.pre!==this.cue.post)&&(!this.isInterstitial||"X-ASSET-URI"in this.attr||"X-ASSET-LIST"in this.attr)}}const ls=10;class Vi{constructor(t){this.PTSKnown=!1,this.alignedSliding=!1,this.averagetargetduration=void 0,this.endCC=0,this.endSN=0,this.fragments=void 0,this.fragmentHint=void 0,this.partList=null,this.dateRanges=void 0,this.dateRangeTagCount=0,this.live=!0,this.requestScheduled=-1,this.ageHeader=0,this.advancedDateTime=void 0,this.updated=!0,this.advanced=!0,this.misses=0,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=void 0,this.m3u8="",this.version=null,this.canBlockReload=!1,this.canSkipUntil=0,this.canSkipDateRanges=!1,this.skippedSegments=0,this.recentlyRemovedDateranges=void 0,this.partHoldBack=0,this.holdBack=0,this.partTarget=0,this.preloadHint=void 0,this.renditionReports=void 0,this.tuneInGoal=0,this.deltaUpdateFailed=void 0,this.driftStartTime=0,this.driftEndTime=0,this.driftStart=0,this.driftEnd=0,this.encryptedFragments=void 0,this.playlistParsingError=null,this.variableList=null,this.hasVariableRefs=!1,this.appliedTimelineOffset=void 0,this.fragments=[],this.encryptedFragments=[],this.dateRanges={},this.url=t}reloaded(t){if(!t){this.advanced=!0,this.updated=!0;return}const n=this.lastPartSn-t.lastPartSn,o=this.lastPartIndex-t.lastPartIndex;this.updated=this.endSN!==t.endSN||!!o||!!n||!this.live,this.advanced=this.endSN>t.endSN||n>0||n===0&&o>0,this.updated||this.advanced?this.misses=Math.floor(t.misses*.6):this.misses=t.misses+1}get hasProgramDateTime(){return this.fragments.length?r(this.fragments[this.fragments.length-1].programDateTime):!1}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||ls}get drift(){const t=this.driftEndTime-this.driftStartTime;return t>0?(this.driftEnd-this.driftStart)*1e3/t:1}get edge(){return this.partEnd||this.fragmentEnd}get partEnd(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].end:this.fragmentEnd}get fragmentEnd(){var t;return(t=this.fragments)!=null&&t.length?this.fragments[this.fragments.length-1].end:0}get fragmentStart(){var t;return(t=this.fragments)!=null&&t.length?this.fragments[0].start:0}get age(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}get lastPartIndex(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].index:-1}get maxPartIndex(){const t=this.partList;if(t){const n=this.lastPartIndex;if(n!==-1){for(let o=t.length;o--;)if(t[o].index>n)return t[o].index;return n}}return 0}get lastPartSn(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}get expired(){if(this.live&&this.age&&this.misses<3){const t=this.partEnd-this.fragmentStart;return this.age>Math.max(t,this.totalduration)+this.levelTargetDuration}return!1}}function Ia(P){return P==="AES-128"||P==="AES-256"||P==="AES-256-CTR"}function Da(P){switch(P){case"AES-128":case"AES-256":return un.cbc;case"AES-256-CTR":return un.ctr;default:throw new Error(`invalid full segment method ${P}`)}}function ms(P){return Uint8Array.from(atob(P),t=>t.charCodeAt(0))}function Bs(P){return Uint8Array.from(unescape(encodeURIComponent(P)),t=>t.charCodeAt(0))}function _o(P){const t=Bs(P).subarray(0,16),n=new Uint8Array(16);return n.set(t,16-t.length),n}function To(P){const t=function(o,m,E){const T=o[m];o[m]=o[E],o[E]=T};t(P,0,3),t(P,1,2),t(P,4,5),t(P,6,7)}function Vo(P){const t=P.split(":");let n=null;if(t[0]==="data"&&t.length===2){const o=t[1].split(";"),m=o[o.length-1].split(",");if(m.length===2){const E=m[0]==="base64",T=m[1];E?(o.splice(-1,1),n=ms(T)):n=_o(T)}}return n}const uo=typeof self!="undefined"?self:void 0;var ca={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},cs={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function mo(P){switch(P){case cs.FAIRPLAY:return ca.FAIRPLAY;case cs.PLAYREADY:return ca.PLAYREADY;case cs.WIDEVINE:return ca.WIDEVINE;case cs.CLEARKEY:return ca.CLEARKEY}}var vo={CENC:"1077efecc0b24d02ace33c1e52e2fb4b",CLEARKEY:"e2719d58a985b3c9781ab030af78d30e",PLAYREADY:"9a04f07998404286ab92e65be0885f95",WIDEVINE:"edef8ba979d64acea3c827dcd51d21ed"};function go(P){if(P===vo.WIDEVINE)return ca.WIDEVINE;if(P===vo.PLAYREADY)return ca.PLAYREADY;if(P===vo.CENC||P===vo.CLEARKEY)return ca.CLEARKEY}function hi(P){switch(P){case ca.FAIRPLAY:return cs.FAIRPLAY;case ca.PLAYREADY:return cs.PLAYREADY;case ca.WIDEVINE:return cs.WIDEVINE;case ca.CLEARKEY:return cs.CLEARKEY}}function oi(P){const{drmSystems:t,widevineLicenseUrl:n}=P,o=t?[ca.FAIRPLAY,ca.WIDEVINE,ca.PLAYREADY,ca.CLEARKEY].filter(m=>!!t[m]):[];return!o[ca.WIDEVINE]&&n&&o.push(ca.WIDEVINE),o}const Fa=function(P){return uo!=null&&(P=uo.navigator)!=null&&P.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function Va(P,t,n,o){let m;switch(P){case ca.FAIRPLAY:m=["cenc","sinf"];break;case ca.WIDEVINE:case ca.PLAYREADY:m=["cenc"];break;case ca.CLEARKEY:m=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${P}`)}return Xa(m,t,n,o)}function Xa(P,t,n,o){return[{initDataTypes:P,persistentState:o.persistentState||"optional",distinctiveIdentifier:o.distinctiveIdentifier||"optional",sessionTypes:o.sessionTypes||[o.sessionType||"temporary"],audioCapabilities:t.map(E=>({contentType:`audio/mp4; codecs=${E}`,robustness:o.audioRobustness||"",encryptionScheme:o.audioEncryptionScheme||null})),videoCapabilities:n.map(E=>({contentType:`video/mp4; codecs=${E}`,robustness:o.videoRobustness||"",encryptionScheme:o.videoEncryptionScheme||null}))}]}function lo(P){var t;return P.sessionType==="persistent-license"||!!((t=P.sessionTypes)!=null&&t.some(n=>n==="persistent-license"))}function co(P){const t=new Uint16Array(P.buffer,P.byteOffset,P.byteLength/2),n=String.fromCharCode.apply(null,Array.from(t)),o=n.substring(n.indexOf("<"),n.length),T=new DOMParser().parseFromString(o,"text/xml").getElementsByTagName("KID")[0];if(T){const z=T.childNodes[0]?T.childNodes[0].nodeValue:T.getAttribute("VALUE");if(z){const H=ms(z).subarray(0,16);return To(H),H}}return null}let Po={};class Qa{static clearKeyUriToKeyIdMap(){Po={}}constructor(t,n,o,m=[1],E=null){this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pssh=null,this.method=t,this.uri=n,this.keyFormat=o,this.keyFormatVersions=m,this.iv=E,this.encrypted=t?t!=="NONE":!1,this.isCommonEncryption=this.encrypted&&!Ia(t)}isSupported(){if(this.method){if(Ia(this.method)||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case cs.FAIRPLAY:case cs.WIDEVINE:case cs.PLAYREADY:case cs.CLEARKEY:return["ISO-23001-7","SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)!==-1}}return!1}getDecryptData(t){if(!this.encrypted||!this.uri)return null;if(Ia(this.method)&&this.uri&&!this.iv){typeof t!="number"&&(G.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),t=0);const o=Lo(t);return new Qa(this.method,this.uri,"identity",this.keyFormatVersions,o)}const n=Vo(this.uri);if(n)switch(this.keyFormat){case cs.WIDEVINE:this.pssh=n,n.length>=22&&(this.keyId=n.subarray(n.length-22,n.length-6));break;case cs.PLAYREADY:{const o=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=_e(o,null,n),this.keyId=co(n);break}default:{let o=n.subarray(0,16);if(o.length!==16){const m=new Uint8Array(16);m.set(o,16-o.length),o=m}this.keyId=o;break}}if(!this.keyId||this.keyId.byteLength!==16){let o=Po[this.uri];if(!o){const m=Object.keys(Po).length%Number.MAX_SAFE_INTEGER;o=new Uint8Array(16),new DataView(o.buffer,12,4).setUint32(0,m),Po[this.uri]=o}this.keyId=o}return this}}function Lo(P){const t=new Uint8Array(16);for(let n=12;n<16;n++)t[n]=P>>8*(15-n)&255;return t}const yo=/#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g,Ko=/#EXT-X-MEDIA:(.*)/g,Tu=/^#EXT(?:INF|-X-TARGETDURATION):/m,_u=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),fo=new RegExp([/#EXT-X-(PROGRAM-DATE-TIME|BYTERANGE|DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source,/#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source,/#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source,/(#)([^:]*):(.*)/.source,/(#)(.*)(?:.*)\r?\n?/.source].join("|"));class fs{static findGroup(t,n){for(let o=0;o<t.length;o++){const m=t[o];if(m.id===n)return m}}static resolve(t,n){return ie.buildAbsoluteURL(n,t,{alwaysNormalize:!0})}static isMediaPlaylist(t){return Tu.test(t)}static parseMasterPlaylist(t,n){const o=Ds(t),m={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:o},E=[];yo.lastIndex=0;let T;for(;(T=yo.exec(t))!=null;)if(T[1]){var z;const j=new ji(T[1],m),se=$i(m,T[2]),ce={attrs:j,bitrate:j.decimalInteger("BANDWIDTH")||j.decimalInteger("AVERAGE-BANDWIDTH"),name:j.NAME,url:fs.resolve(se,n)},xe=j.decimalResolution("RESOLUTION");xe&&(ce.width=xe.width,ce.height=xe.height),ou(j.CODECS,ce);const Ie=j["SUPPLEMENTAL-CODECS"];Ie&&(ce.supplemental={},ou(Ie,ce.supplemental)),(z=ce.unknownCodecs)!=null&&z.length||E.push(ce),m.levels.push(ce)}else if(T[3]){const j=T[3],se=T[4];switch(j){case"SESSION-DATA":{const ce=new ji(se,m),xe=ce["DATA-ID"];xe&&(m.sessionData===null&&(m.sessionData={}),m.sessionData[xe]=ce);break}case"SESSION-KEY":{const ce=Io(se,n,m);ce.encrypted&&ce.isSupported()?(m.sessionKeys===null&&(m.sessionKeys=[]),m.sessionKeys.push(ce)):G.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${se}"`);break}case"DEFINE":{{const ce=new ji(se,m);ps(m,ce,n)}break}case"CONTENT-STEERING":{const ce=new ji(se,m);m.contentSteering={uri:fs.resolve(ce["SERVER-URI"],n),pathwayId:ce["PATHWAY-ID"]||"."};break}case"START":{m.startTimeOffset=Us(se);break}}}const H=E.length>0&&E.length<m.levels.length;return m.levels=H?E:m.levels,m.levels.length===0&&(m.playlistParsingError=new Error("no levels found in manifest")),m}static parseMasterPlaylistMedia(t,n,o){let m;const E={},T=o.levels,z={AUDIO:T.map(j=>({id:j.attrs.AUDIO,audioCodec:j.audioCodec})),SUBTITLES:T.map(j=>({id:j.attrs.SUBTITLES,textCodec:j.textCodec})),"CLOSED-CAPTIONS":[]};let H=0;for(Ko.lastIndex=0;(m=Ko.exec(t))!==null;){const j=new ji(m[1],o),se=j.TYPE;if(se){const ce=z[se],xe=E[se]||[];E[se]=xe;const Ie=j.LANGUAGE,Oe=j["ASSOC-LANGUAGE"],tt=j.CHANNELS,at=j.CHARACTERISTICS,Nt=j["INSTREAM-ID"],dr={attrs:j,bitrate:0,id:H++,groupId:j["GROUP-ID"]||"",name:j.NAME||Ie||"",type:se,default:j.bool("DEFAULT"),autoselect:j.bool("AUTOSELECT"),forced:j.bool("FORCED"),lang:Ie,url:j.URI?fs.resolve(j.URI,n):""};if(Oe&&(dr.assocLang=Oe),tt&&(dr.channels=tt),at&&(dr.characteristics=at),Nt&&(dr.instreamId=Nt),ce!=null&&ce.length){const ar=fs.findGroup(ce,dr.groupId)||ce[0];jo(dr,ar,"audioCodec"),jo(dr,ar,"textCodec")}xe.push(dr)}}return E}static parseLevelPlaylist(t,n,o,m,E,T){var z;const H={url:n},j=new Vi(n),se=j.fragments,ce=[];let xe=null,Ie=0,Oe=0,tt=0,at=0,Nt=0,dr=null,ar=new we(m,H),Zr,Gr,fn,Vr=-1,on=!1,_n=null,Xr;if(_u.lastIndex=0,j.m3u8=t,j.hasVariableRefs=Ds(t),((z=_u.exec(t))==null?void 0:z[0])!=="#EXTM3U")return j.playlistParsingError=new Error("Missing format identifier #EXTM3U"),j;for(;(Zr=_u.exec(t))!==null;){on&&(on=!1,ar=new we(m,H),ar.playlistOffset=tt,ar.start=tt,ar.sn=Ie,ar.cc=at,Nt&&(ar.bitrate=Nt),ar.level=o,xe&&(ar.initSegment=xe,xe.rawProgramDateTime&&(ar.rawProgramDateTime=xe.rawProgramDateTime,xe.rawProgramDateTime=null),_n&&(ar.setByteRange(_n),_n=null)));const ya=Zr[1];if(ya){ar.duration=parseFloat(ya);const Ji=(" "+Zr[2]).slice(1);ar.title=Ji||null,ar.tagList.push(Ji?["INF",ya,Ji]:["INF",ya])}else if(Zr[3]){if(r(ar.duration)){ar.playlistOffset=tt,ar.start=tt,fn&&mu(ar,fn,j),ar.sn=Ie,ar.level=o,ar.cc=at,se.push(ar);const Ji=(" "+Zr[3]).slice(1);ar.relurl=$i(j,Ji),Ls(ar,dr,ce),dr=ar,tt+=ar.duration,Ie++,Oe=0,on=!0}}else{if(Zr=Zr[0].match(fo),!Zr){G.warn("No matches on slow regex match for level playlist!");continue}for(Gr=1;Gr<Zr.length&&Zr[Gr]===void 0;Gr++);const Ji=(" "+Zr[Gr]).slice(1),Ri=(" "+Zr[Gr+1]).slice(1),ta=Zr[Gr+2]?(" "+Zr[Gr+2]).slice(1):null;switch(Ji){case"BYTERANGE":dr?ar.setByteRange(Ri,dr):ar.setByteRange(Ri);break;case"PROGRAM-DATE-TIME":ar.rawProgramDateTime=Ri,ar.tagList.push(["PROGRAM-DATE-TIME",Ri]),Vr===-1&&(Vr=se.length);break;case"PLAYLIST-TYPE":j.type&&Fo(j,Ji,Zr),j.type=Ri.toUpperCase();break;case"MEDIA-SEQUENCE":j.startSN!==0?Fo(j,Ji,Zr):se.length>0&&Qt(j,Ji,Zr),Ie=j.startSN=parseInt(Ri);break;case"SKIP":{j.skippedSegments&&Fo(j,Ji,Zr);const qi=new ji(Ri,j),Xn=qi.decimalInteger("SKIPPED-SEGMENTS");if(r(Xn)){j.skippedSegments+=Xn;for(let wa=Xn;wa--;)se.push(null);Ie+=Xn}const ii=qi.enumeratedString("RECENTLY-REMOVED-DATERANGES");ii&&(j.recentlyRemovedDateranges=(j.recentlyRemovedDateranges||[]).concat(ii.split(" ")));break}case"TARGETDURATION":j.targetduration!==0&&Fo(j,Ji,Zr),j.targetduration=Math.max(parseInt(Ri),1);break;case"VERSION":j.version!==null&&Fo(j,Ji,Zr),j.version=parseInt(Ri);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":j.live||Fo(j,Ji,Zr),j.live=!1;break;case"#":(Ri||ta)&&ar.tagList.push(ta?[Ri,ta]:[Ri]);break;case"DISCONTINUITY":at++,ar.tagList.push(["DIS"]);break;case"GAP":ar.gap=!0,ar.tagList.push([Ji]);break;case"BITRATE":ar.tagList.push([Ji,Ri]),Nt=parseInt(Ri)*1e3,r(Nt)?ar.bitrate=Nt:Nt=0;break;case"DATERANGE":{const qi=new ji(Ri,j),Xn=new ns(qi,j.dateRanges[qi.ID],j.dateRangeTagCount);j.dateRangeTagCount++,Xn.isValid||j.skippedSegments?j.dateRanges[Xn.id]=Xn:G.warn(`Ignoring invalid DATERANGE tag: "${Ri}"`),ar.tagList.push(["EXT-X-DATERANGE",Ri]);break}case"DEFINE":{{const qi=new ji(Ri,j);"IMPORT"in qi?Co(j,qi,T):ps(j,qi,n)}break}case"DISCONTINUITY-SEQUENCE":j.startCC!==0?Fo(j,Ji,Zr):se.length>0&&Qt(j,Ji,Zr),j.startCC=at=parseInt(Ri);break;case"KEY":{const qi=Io(Ri,n,j);if(qi.isSupported()){if(qi.method==="NONE"){fn=void 0;break}fn||(fn={}),fn[qi.keyFormat]&&(fn=y({},fn)),fn[qi.keyFormat]=qi}else G.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${Ri}"`);break}case"START":j.startTimeOffset=Us(Ri);break;case"MAP":{const qi=new ji(Ri,j);if(ar.duration){const Xn=new we(m,H);bo(Xn,qi,o,fn),xe=Xn,ar.initSegment=xe,xe.rawProgramDateTime&&!ar.rawProgramDateTime&&(ar.rawProgramDateTime=xe.rawProgramDateTime)}else{const Xn=ar.byteRangeEndOffset;if(Xn){const ii=ar.byteRangeStartOffset;_n=`${Xn-ii}@${ii}`}else _n=null;bo(ar,qi,o,fn),xe=ar,on=!0}xe.cc=at;break}case"SERVER-CONTROL":{Xr&&Fo(j,Ji,Zr),Xr=new ji(Ri),j.canBlockReload=Xr.bool("CAN-BLOCK-RELOAD"),j.canSkipUntil=Xr.optionalFloat("CAN-SKIP-UNTIL",0),j.canSkipDateRanges=j.canSkipUntil>0&&Xr.bool("CAN-SKIP-DATERANGES"),j.partHoldBack=Xr.optionalFloat("PART-HOLD-BACK",0),j.holdBack=Xr.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{j.partTarget&&Fo(j,Ji,Zr);const qi=new ji(Ri);j.partTarget=qi.decimalFloatingPoint("PART-TARGET");break}case"PART":{let qi=j.partList;qi||(qi=j.partList=[]);const Xn=Oe>0?qi[qi.length-1]:void 0,ii=Oe++,wa=new ji(Ri,j),Sa=new Ce(wa,ar,H,ii,Xn);qi.push(Sa),ar.duration+=Sa.duration;break}case"PRELOAD-HINT":{const qi=new ji(Ri,j);j.preloadHint=qi;break}case"RENDITION-REPORT":{const qi=new ji(Ri,j);j.renditionReports=j.renditionReports||[],j.renditionReports.push(qi);break}default:G.warn(`line parsed but not handled: ${Zr}`);break}}}dr&&!dr.relurl?(se.pop(),tt-=dr.duration,j.partList&&(j.fragmentHint=dr)):j.partList&&(Ls(ar,dr,ce),ar.cc=at,j.fragmentHint=ar,fn&&mu(ar,fn,j)),j.targetduration||(j.playlistParsingError=new Error("#EXT-X-TARGETDURATION is required"));const Yn=se.length,di=se[0],os=se[Yn-1];if(tt+=j.skippedSegments*j.targetduration,tt>0&&Yn&&os){j.averagetargetduration=tt/Yn;const ya=os.sn;j.endSN=ya!=="initSegment"?ya:0,j.live||(os.endList=!0),di&&j.startCC===void 0&&(j.startCC=di.cc),Vr>0&&(Do(se,Vr),di&&ce.unshift(di))}else j.endSN=0,j.startCC=0;return j.fragmentHint&&(tt+=j.fragmentHint.duration),j.totalduration=tt,ce.length&&j.dateRangeTagCount&&di&&zu(ce,j),j.endCC=at,j}}function zu(P,t){const n=P.length,o=P[n-1],m=t.live?1/0:t.totalduration,E=Object.keys(t.dateRanges);for(let T=E.length;T--;){const z=t.dateRanges[E[T]],H=z.startDate.getTime();z.tagAnchor=o.ref;for(let j=n;j--;){const se=Mo(t,H,P,j,m);if(se!==-1){z.tagAnchor=t.fragments[se].ref;break}}}}function Mo(P,t,n,o,m){const E=n[o];if(E){const z=E.programDateTime;if(t>=z||o===0){var T;const H=(((T=n[o+1])==null?void 0:T.start)||m)-E.start;if(t<=z+H*1e3){const j=n[o].sn-P.startSN,se=P.fragments;if(se.length>n.length){const xe=(n[o+1]||se[se.length-1]).sn-P.startSN;for(let Ie=xe;Ie>j;Ie--){const Oe=se[Ie].programDateTime;if(t>=Oe&&t<Oe+se[Ie].duration*1e3)return Ie}}return j}}}return-1}function Io(P,t,n){var o,m;const E=new ji(P,n),T=(o=E.METHOD)!=null?o:"",z=E.URI,H=E.hexadecimalInteger("IV"),j=E.KEYFORMATVERSIONS,se=(m=E.KEYFORMAT)!=null?m:"identity";z&&E.IV&&!H&&G.error(`Invalid IV: ${E.IV}`);const ce=z?fs.resolve(z,t):"",xe=(j||"1").split("/").map(Number).filter(Number.isFinite);return new Qa(T,ce,se,xe,H)}function Us(P){const n=new ji(P).decimalFloatingPoint("TIME-OFFSET");return r(n)?n:null}function ou(P,t){let n=(P||"").split(/[ ,]+/).filter(o=>o);["video","audio","text"].forEach(o=>{const m=n.filter(E=>Tt(E,o));m.length&&(t[`${o}Codec`]=m.map(E=>E.split("/")[0]).join(","),n=n.filter(E=>m.indexOf(E)===-1))}),t.unknownCodecs=n}function jo(P,t,n){const o=t[n];o&&(P[n]=o)}function Do(P,t){let n=P[t];for(let o=t;o--;){const m=P[o];if(!m)return;m.programDateTime=n.programDateTime-m.duration*1e3,n=m}}function Ls(P,t,n){P.rawProgramDateTime?n.push(P):t!=null&&t.programDateTime&&(P.programDateTime=t.endProgramDateTime)}function bo(P,t,n,o){P.relurl=t.URI,t.BYTERANGE&&P.setByteRange(t.BYTERANGE),P.level=n,P.sn="initSegment",o&&(P.levelkeys=o),P.initSegment=null}function mu(P,t,n){P.levelkeys=t;const{encryptedFragments:o}=n;(!o.length||o[o.length-1].levelkeys!==t)&&Object.keys(t).some(m=>t[m].isCommonEncryption)&&o.push(P)}function Fo(P,t,n){P.playlistParsingError=new Error(`#EXT-X-${t} must not appear more than once (${n[0]})`)}function Qt(P,t,n){P.playlistParsingError=new Error(`#EXT-X-${t} must appear before the first Media Segment (${n[0]})`)}function cr(P,t){const n=t.startPTS;if(r(n)){let o=0,m;t.sn>P.sn?(o=n-P.start,m=P):(o=P.start-n,m=t),m.duration!==o&&m.setDuration(o)}else t.sn>P.sn?P.cc===t.cc&&P.minEndPTS?t.setStart(P.start+(P.minEndPTS-P.start)):t.setStart(P.start+P.duration):t.setStart(Math.max(P.start-t.duration,0))}function sr(P,t,n,o,m,E){o-n<=0&&(G.warn("Fragment should have a positive duration",t),o=n+t.duration,E=m+t.duration);let z=n,H=o;const j=t.startPTS,se=t.endPTS;if(r(j)){const at=Math.abs(j-n);r(t.deltaPTS)?t.deltaPTS=Math.max(at,t.deltaPTS):t.deltaPTS=at,z=Math.max(n,j),n=Math.min(n,j),m=Math.min(m,t.startDTS),H=Math.min(o,se),o=Math.max(o,se),E=Math.max(E,t.endDTS)}const ce=n-t.start;t.start!==0&&t.setStart(n),t.setDuration(o-t.start),t.startPTS=n,t.maxStartPTS=z,t.startDTS=m,t.endPTS=o,t.minEndPTS=H,t.endDTS=E;const xe=t.sn;if(!P||xe<P.startSN||xe>P.endSN)return 0;let Ie;const Oe=xe-P.startSN,tt=P.fragments;for(tt[Oe]=t,Ie=Oe;Ie>0;Ie--)cr(tt[Ie],tt[Ie-1]);for(Ie=Oe;Ie<tt.length-1;Ie++)cr(tt[Ie],tt[Ie+1]);return P.fragmentHint&&cr(tt[tt.length-1],P.fragmentHint),P.PTSKnown=P.alignedSliding=!0,ce}function vr(P,t){if(P===t)return;let n=null;const o=P.fragments;for(let H=o.length-1;H>=0;H--){const j=o[H].initSegment;if(j){n=j;break}}P.fragmentHint&&delete P.fragmentHint.endPTS;let m;Sn(P,t,(H,j,se,ce)=>{if(!t.startCC&&j.cc!==H.cc){var xe,Ie;const Oe=H.cc-j.cc;for(let tt=se;tt<ce.length;tt++)ce[tt].cc+=Oe;t.startCC=(xe=(Ie=Fr(P,t.startSN-1))==null?void 0:Ie.cc)!=null?xe:ce[0].cc,t.endCC=ce[ce.length-1].cc}r(H.startPTS)&&r(H.endPTS)&&(j.setStart(j.startPTS=H.startPTS),j.startDTS=H.startDTS,j.maxStartPTS=H.maxStartPTS,j.endPTS=H.endPTS,j.endDTS=H.endDTS,j.minEndPTS=H.minEndPTS,j.setDuration(H.endPTS-H.startPTS),j.duration&&(m=j),t.PTSKnown=t.alignedSliding=!0),H.hasStreams&&(j.elementaryStreams=H.elementaryStreams),j.loader=H.loader,H.hasStats&&(j.stats=H.stats),H.initSegment&&(j.initSegment=H.initSegment,n=H.initSegment)});const E=t.fragments,T=t.fragmentHint?E.concat(t.fragmentHint):E;if(n&&T.forEach(H=>{var j;H&&(!H.initSegment||H.initSegment.relurl===((j=n)==null?void 0:j.relurl))&&(H.initSegment=n)}),t.skippedSegments)if(t.deltaUpdateFailed=E.some(H=>!H),t.deltaUpdateFailed){G.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let H=t.skippedSegments;H--;)E.shift();t.startSN=E[0].sn}else{t.endCC=E[E.length-1].cc,t.canSkipDateRanges&&(t.dateRanges=wr(P.dateRanges,t));const H=P.fragments.filter(j=>j.rawProgramDateTime);if(P.hasProgramDateTime&&!t.hasProgramDateTime)for(let j=1;j<T.length;j++)T[j].programDateTime===null&&Ls(T[j],T[j-1],H);zu(H,t)}xn(P.partList,t.partList,(H,j)=>{j.elementaryStreams=H.elementaryStreams,j.stats=H.stats}),m?sr(t,m,m.startPTS,m.endPTS,m.startDTS,m.endDTS):Ln(P,t),E.length&&(t.totalduration=t.edge-E[0].start),t.driftStartTime=P.driftStartTime,t.driftStart=P.driftStart;const z=t.advancedDateTime;if(t.advanced&&z){const H=t.edge;t.driftStart||(t.driftStartTime=z,t.driftStart=H),t.driftEndTime=z,t.driftEnd=H}else t.driftEndTime=P.driftEndTime,t.driftEnd=P.driftEnd,t.advancedDateTime=P.advancedDateTime;t.requestScheduled===-1&&(t.requestScheduled=P.requestScheduled)}function wr(P,t){const{dateRanges:n,recentlyRemovedDateranges:o}=t,m=y({},P);o&&o.forEach(z=>{delete m[z]});const T=Object.keys(m).length;return T&&Object.keys(n).forEach(z=>{const H=m[z],j=new ns(n[z].attr,H);j.isValid?(m[z]=j,H||(j.tagOrder+=T)):G.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${jn(n[z].attr)}"`)}),m}function xn(P,t,n){if(P&&t){let o=0;for(let m=0,E=P.length;m<=E;m++){const T=P[m],z=t[m+o];T&&z&&T.index===z.index&&T.fragment.sn===z.fragment.sn?n(T,z):o--}}}function Sn(P,t,n){const o=t.skippedSegments,m=Math.max(P.startSN,t.startSN)-t.startSN,E=(P.fragmentHint?1:0)+(o?t.endSN:Math.min(P.endSN,t.endSN))-t.startSN,T=t.startSN-P.startSN,z=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,H=P.fragmentHint?P.fragments.concat(P.fragmentHint):P.fragments;for(let j=m;j<=E;j++){const se=H[T+j];let ce=z[j];if(o&&!ce&&se&&(ce=t.fragments[j]=se),se&&ce){if(n(se,ce,j,z),se.url&&se.url!==ce.url){t.playlistParsingError=Un(`media sequence mismatch ${ce.sn}:`,P,t,se,ce);return}else if(se.cc!==ce.cc){t.playlistParsingError=Un(`discontinuity sequence mismatch (${se.cc}!=${ce.cc})`,P,t,se,ce);return}}}}function Un(P,t,n,o,m){return new Error(`${P} ${m.url}
Playlist starting @${t.startSN}
${t.m3u8}
Playlist starting @${n.startSN}
${n.m3u8}`)}function Ln(P,t,n=!0){const o=t.startSN+t.skippedSegments-P.startSN,m=P.fragments,E=o>=0;let T=0;if(E&&o<m.length)T=m[o].start;else if(E&&t.startSN===P.endSN+1)T=P.fragmentEnd;else if(E&&n)T=P.fragmentStart+o*t.levelTargetDuration;else if(!t.skippedSegments&&t.fragmentStart===0)T=P.fragmentStart;else return;Gn(t,T)}function Gn(P,t){if(t){const n=P.fragments;for(let o=P.skippedSegments;o<n.length;o++)n[o].addStart(t);P.fragmentHint&&P.fragmentHint.addStart(t)}}function ur(P,t=1/0){let n=1e3*P.targetduration;if(P.updated){const o=P.fragments;if(o.length&&n*4>t){const E=o[o.length-1].duration*1e3;E<n&&(n=E)}}else n/=2;return Math.round(n)}function Fr(P,t,n){if(!P)return null;let o=P.fragments[t-P.startSN];return o||(o=P.fragmentHint,o&&o.sn===t)?o:t<P.startSN&&n&&n.sn===t?n:null}function xr(P,t,n){return P?mn(P.partList,t,n):null}function mn(P,t,n){if(P)for(let o=P.length;o--;){const m=P[o];if(m.index===n&&m.fragment.sn===t)return m}return null}function Hn(P){P.forEach((t,n)=>{var o;(o=t.details)==null||o.fragments.forEach(m=>{m.level=n,m.initSegment&&(m.initSegment.level=n)})})}function ft(P,t){for(let o=0,m=P.length;o<m;o++){var n;if(((n=P[o])==null?void 0:n.cc)===t)return P[o]}return null}function Pn(P,t){return!!(P&&t.startCC<P.endCC&&t.endCC>P.startCC)}function Vn(P,t){if(P){const n=P.start+t;P.start=P.startPTS=n,P.endPTS=n+P.duration}}function li(P,t){const n=t.fragments;for(let o=0,m=n.length;o<m;o++)Vn(n[o],P);t.fragmentHint&&Vn(t.fragmentHint,P),t.alignedSliding=!0}function Qi(P,t){P&&(Nr(t,P),!t.alignedSliding&&P&&Li(t,P),!t.alignedSliding&&P&&!t.skippedSegments&&Ln(P,t,!1))}function Nr(P,t){if(!Pn(t,P))return;const n=Math.min(t.endCC,P.endCC),o=ft(t.fragments,n),m=ft(P.fragments,n);if(!o||!m)return;G.log(`Aligning playlist at start of dicontinuity sequence ${n}`);const E=o.start-m.start;li(E,P)}function Li(P,t){if(!P.hasProgramDateTime||!t.hasProgramDateTime)return;const n=P.fragments,o=t.fragments;if(!n.length||!o.length)return;let m,E;const T=Math.min(t.endCC,P.endCC);t.startCC<T&&P.startCC<T&&(m=ft(o,T),E=ft(n,T)),(!m||!E)&&(m=o[Math.floor(o.length/2)],E=ft(n,m.cc)||n[Math.floor(n.length/2)]);const z=m.programDateTime,H=E.programDateTime;if(!z||!H)return;const j=(H-z)/1e3-(E.start-m.start);li(j,P)}const ba={toString:function(P){let t="";const n=P.length;for(let o=0;o<n;o++)t+=`[${P.start(o).toFixed(3)}-${P.end(o).toFixed(3)}]`;return t}},zr={STOPPED:"STOPPED",IDLE:"IDLE",KEY_LOADING:"KEY_LOADING",FRAG_LOADING:"FRAG_LOADING",FRAG_LOADING_WAITING_RETRY:"FRAG_LOADING_WAITING_RETRY",WAITING_TRACK:"WAITING_TRACK",PARSING:"PARSING",PARSED:"PARSED",ENDED:"ENDED",ERROR:"ERROR",WAITING_INIT_PTS:"WAITING_INIT_PTS",WAITING_LEVEL:"WAITING_LEVEL"};class na extends Is{constructor(t,n,o,m,E){super(m,t.logger),this.hls=void 0,this.fragPrevious=null,this.fragCurrent=null,this.fragmentTracker=void 0,this.transmuxer=null,this._state=zr.STOPPED,this.playlistType=void 0,this.media=null,this.mediaBuffer=null,this.config=void 0,this.bitrateTest=!1,this.lastCurrentTime=0,this.nextLoadPosition=0,this.startPosition=0,this.startTimeOffset=null,this.retryDate=0,this.levels=null,this.fragmentLoader=void 0,this.keyLoader=void 0,this.levelLastLoaded=null,this.startFragRequested=!1,this.decrypter=void 0,this.initPTS=[],this.buffering=!0,this.loadingParts=!1,this.loopSn=void 0,this.onMediaSeeking=()=>{const{config:T,fragCurrent:z,media:H,mediaBuffer:j,state:se}=this,ce=H?H.currentTime:0,xe=yi.bufferInfo(j||H,ce,T.maxBufferHole);if(this.log(`media seeking to ${r(ce)?ce.toFixed(3):ce}, state: ${se}`),this.state===zr.ENDED)this.resetLoadingState();else if(z){const Ie=T.maxFragLookUpTolerance,Oe=z.start-Ie,tt=z.start+z.duration+Ie;if(!xe.len||tt<xe.start||Oe>xe.end){const at=ce>tt;(ce<Oe||at)&&(at&&z.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),z.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(H){this.fragmentTracker.removeFragmentsInRange(ce,1/0,this.playlistType,!0);const Ie=this.lastCurrentTime;if(ce>Ie&&(this.lastCurrentTime=ce),!this.loadingParts){const Oe=Math.max(xe.end,ce),tt=this.shouldLoadParts(this.getLevelDetails(),Oe);tt&&(this.log(`LL-Part loading ON after seeking to ${ce.toFixed(2)} with buffer @${Oe.toFixed(2)}`),this.loadingParts=tt)}}!this.hls.hasEnoughToStart&&!xe.len&&(this.log(`setting startPosition to ${ce} because of seek before start`),this.nextLoadPosition=this.startPosition=ce),this.tickImmediate()},this.onMediaEnded=()=>{this.log("setting startPosition to 0 because media ended"),this.startPosition=this.lastCurrentTime=0},this.playlistType=E,this.hls=t,this.fragmentLoader=new Ni(t.config),this.keyLoader=o,this.fragmentTracker=n,this.config=t.config,this.decrypter=new pn(t.config)}registerListeners(){const{hls:t}=this;t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.ERROR,this.onError,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(t){}stopLoad(){if(this.state===zr.STOPPED)return;this.fragmentLoader.abort(),this.keyLoader.abort(this.playlistType);const t=this.fragCurrent;t!=null&&t.loader&&(t.abortRequests(),this.fragmentTracker.removeFragment(t)),this.resetTransmuxer(),this.fragCurrent=null,this.fragPrevious=null,this.clearInterval(),this.clearNextTick(),this.state=zr.STOPPED}get startPositionValue(){const{nextLoadPosition:t,startPosition:n}=this;return n===-1&&t?t:n}get bufferingEnabled(){return this.buffering}pauseBuffering(){this.buffering=!1}resumeBuffering(){this.buffering=!0}get inFlightFrag(){return{frag:this.fragCurrent,state:this.state}}_streamEnded(t,n){if(n.live||!this.media)return!1;const o=t.end||0,m=this.config.timelineOffset||0;if(o<=m)return!1;const E=t.nextStart;if(E&&E>m&&E<n.edge||this.media.currentTime<t.start)return!1;const z=n.partList;if(z!=null&&z.length){const j=z[z.length-1];return yi.isBuffered(this.media,j.start+j.duration/2)}const H=n.fragments[n.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(H)}getLevelDetails(){if(this.levels&&this.levelLastLoaded!==null){var t;return(t=this.levelLastLoaded)==null?void 0:t.details}}get timelineOffset(){const t=this.config.timelineOffset;if(t){var n;return((n=this.getLevelDetails())==null?void 0:n.appliedTimelineOffset)||t}return 0}onMediaAttached(t,n){const o=this.media=this.mediaBuffer=n.media;o.removeEventListener("seeking",this.onMediaSeeking),o.removeEventListener("ended",this.onMediaEnded),o.addEventListener("seeking",this.onMediaSeeking),o.addEventListener("ended",this.onMediaEnded);const m=this.config;this.levels&&m.autoStartLoad&&this.state===zr.STOPPED&&this.startLoad(m.startPosition)}onMediaDetaching(t,n){const o=!!n.transferMedia,m=this.media;if(m!==null){if(m.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),m.removeEventListener("seeking",this.onMediaSeeking),m.removeEventListener("ended",this.onMediaEnded),this.keyLoader&&!o&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loopSn=void 0,o){this.resetLoadingState(),this.resetTransmuxer();return}this.loadingParts=!1,this.fragmentTracker.removeAllFragments(),this.stopLoad()}}onManifestLoading(){this.initPTS=[],this.levels=this.levelLastLoaded=this.fragCurrent=null,this.lastCurrentTime=this.startPosition=0,this.startFragRequested=!1}onError(t,n){}onManifestLoaded(t,n){this.startTimeOffset=n.startTimeOffset}onHandlerDestroying(){this.stopLoad(),this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null),super.onHandlerDestroying(),this.hls=this.onMediaSeeking=this.onMediaEnded=null}onHandlerDestroyed(){this.state=zr.STOPPED,this.fragmentLoader&&this.fragmentLoader.destroy(),this.keyLoader&&this.keyLoader.destroy(),this.decrypter&&this.decrypter.destroy(),this.hls=this.log=this.warn=this.decrypter=this.keyLoader=this.fragmentLoader=this.fragmentTracker=null,super.onHandlerDestroyed()}loadFragment(t,n,o){this.startFragRequested=!0,this._loadFragForPlayback(t,n,o)}_loadFragForPlayback(t,n,o){const m=E=>{const T=E.frag;if(this.fragContextChanged(T)){this.warn(`${T.type} sn: ${T.sn}${E.part?" part: "+E.part.index:""} of ${this.fragInfo(T,!1,E.part)}) was dropped during download.`),this.fragmentTracker.removeFragment(T);return}T.stats.chunkCount++,this._handleFragmentLoadProgress(E)};this._doFragLoad(t,n,o,m).then(E=>{if(!E)return;const T=this.state,z=E.frag;if(this.fragContextChanged(z)){(T===zr.FRAG_LOADING||!this.fragCurrent&&T===zr.PARSING)&&(this.fragmentTracker.removeFragment(z),this.state=zr.IDLE);return}"payload"in E&&(this.log(`Loaded ${z.type} sn: ${z.sn} of ${this.playlistLabel()} ${z.level}`),this.hls.trigger(s.FRAG_LOADED,E)),this._handleFragmentLoadComplete(E)}).catch(E=>{this.state===zr.STOPPED||this.state===zr.ERROR||(this.warn(`Frag error: ${(E==null?void 0:E.message)||E}`),this.resetFragmentLoading(t))})}clearTrackerIfNeeded(t){var n;const{fragmentTracker:o}=this;if(o.getState(t)===Er.APPENDING){const E=t.type,T=this.getFwdBufferInfo(this.mediaBuffer,E),z=Math.max(t.duration,T?T.len:this.config.maxBufferLength),H=this.backtrackFragment;((H?t.sn-H.sn:0)===1||this.reduceMaxBufferLength(z,t.duration))&&o.removeFragment(t)}else((n=this.mediaBuffer)==null?void 0:n.buffered.length)===0?o.removeAllFragments():o.hasParts(t.type)&&(o.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type}),o.getState(t)===Er.PARTIAL&&o.removeFragment(t))}checkLiveUpdate(t){if(t.updated&&!t.live){const n=t.fragments[t.fragments.length-1];this.fragmentTracker.detectPartialFragments({frag:n,part:null,stats:n.stats,id:n.type})}t.fragments[0]||(t.deltaUpdateFailed=!0)}waitForLive(t){const n=t.details;return(n==null?void 0:n.live)&&n.type!=="EVENT"&&(this.levelLastLoaded!==t||n.expired)}flushMainBuffer(t,n,o=null){if(!(t-n))return;const m={startOffset:t,endOffset:n,type:o};this.hls.trigger(s.BUFFER_FLUSHING,m)}_loadInitSegment(t,n){this._doFragLoad(t,n).then(o=>{const m=o==null?void 0:o.frag;if(!m||this.fragContextChanged(m)||!this.levels)throw new Error("init load aborted");return o}).then(o=>{const{hls:m}=this,{frag:E,payload:T}=o,z=E.decryptdata;if(T&&T.byteLength>0&&z!=null&&z.key&&z.iv&&Ia(z.method)){const H=self.performance.now();return this.decrypter.decrypt(new Uint8Array(T),z.key.buffer,z.iv.buffer,Da(z.method)).catch(j=>{throw m.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:j,reason:j.message,frag:E}),j}).then(j=>{const se=self.performance.now();return m.trigger(s.FRAG_DECRYPTED,{frag:E,payload:j,stats:{tstart:H,tdecrypt:se}}),o.payload=j,this.completeInitSegmentLoad(o)})}return this.completeInitSegmentLoad(o)}).catch(o=>{this.state===zr.STOPPED||this.state===zr.ERROR||(this.warn(o),this.resetFragmentLoading(t))})}completeInitSegmentLoad(t){const{levels:n}=this;if(!n)throw new Error("init load aborted, missing levels");const o=t.frag.stats;this.state!==zr.STOPPED&&(this.state=zr.IDLE),t.frag.data=new Uint8Array(t.payload),o.parsing.start=o.buffering.start=self.performance.now(),o.parsing.end=o.buffering.end=self.performance.now(),this.tick()}fragContextChanged(t){const{fragCurrent:n}=this;return!t||!n||t.sn!==n.sn||t.level!==n.level}fragBufferedComplete(t,n){const o=this.mediaBuffer?this.mediaBuffer:this.media;if(this.log(`Buffered ${t.type} sn: ${t.sn}${n?" part: "+n.index:""} of ${this.fragInfo(t,!1,n)} > buffer:${o?ba.toString(yi.getBuffered(o)):"(detached)"})`),de(t)){var m;if(t.type!==u.SUBTITLE){const T=t.elementaryStreams;if(!Object.keys(T).some(z=>!!T[z])){this.state=zr.IDLE;return}}const E=(m=this.levels)==null?void 0:m[t.level];E!=null&&E.fragmentError&&(this.log(`Resetting level fragment error count of ${E.fragmentError} on frag buffered`),E.fragmentError=0)}this.state=zr.IDLE}_handleFragmentLoadComplete(t){const{transmuxer:n}=this;if(!n)return;const{frag:o,part:m,partsLoaded:E}=t,T=!E||E.length===0||E.some(H=>!H),z=new $a(o.level,o.sn,o.stats.chunkCount+1,0,m?m.index:-1,!T);n.flush(z)}_handleFragmentLoadProgress(t){}_doFragLoad(t,n,o=null,m){var E;this.fragCurrent=t;const T=n==null?void 0:n.details;if(!this.levels||!T)throw new Error(`frag load aborted, missing level${T?"":" detail"}s`);let z=null;t.encrypted&&!((E=t.decryptdata)!=null&&E.key)?(this.log(`Loading key for ${t.sn} of [${T.startSN}-${T.endSN}], ${this.playlistLabel()} ${t.level}`),this.state=zr.KEY_LOADING,this.fragCurrent=t,z=this.keyLoader.load(t).then(ce=>{if(!this.fragContextChanged(ce.frag))return this.hls.trigger(s.KEY_LOADED,ce),this.state===zr.KEY_LOADING&&(this.state=zr.IDLE),ce}),this.hls.trigger(s.KEY_LOADING,{frag:t}),this.fragCurrent===null&&(z=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))):!t.encrypted&&T.encryptedFragments.length&&this.keyLoader.loadClear(t,T.encryptedFragments);const H=this.fragPrevious;if(de(t)&&(!H||t.sn!==H.sn)){const ce=this.shouldLoadParts(n.details,t.end);ce!==this.loadingParts&&(this.log(`LL-Part loading ${ce?"ON":"OFF"} loading sn ${H==null?void 0:H.sn}->${t.sn}`),this.loadingParts=ce)}if(o=Math.max(t.start,o||0),this.loadingParts&&de(t)){const ce=T.partList;if(ce&&m){o>t.end&&T.fragmentHint&&(t=T.fragmentHint);const xe=this.getNextPart(ce,t,o);if(xe>-1){const Ie=ce[xe];t=this.fragCurrent=Ie.fragment,this.log(`Loading ${t.type} sn: ${t.sn} part: ${Ie.index} (${xe}/${ce.length-1}) of ${this.fragInfo(t,!1,Ie)}) cc: ${t.cc} [${T.startSN}-${T.endSN}], target: ${parseFloat(o.toFixed(3))}`),this.nextLoadPosition=Ie.start+Ie.duration,this.state=zr.FRAG_LOADING;let Oe;return z?Oe=z.then(tt=>!tt||this.fragContextChanged(tt.frag)?null:this.doFragPartsLoad(t,Ie,n,m)).catch(tt=>this.handleFragLoadError(tt)):Oe=this.doFragPartsLoad(t,Ie,n,m).catch(tt=>this.handleFragLoadError(tt)),this.hls.trigger(s.FRAG_LOADING,{frag:t,part:Ie,targetBufferTime:o}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):Oe}else if(!t.url||this.loadedEndOfParts(ce,o))return Promise.resolve(null)}}if(de(t)&&this.loadingParts)this.log(`LL-Part loading OFF after next part miss @${o.toFixed(2)}`),this.loadingParts=!1;else if(!t.url)return Promise.resolve(null);this.log(`Loading ${t.type} sn: ${t.sn} of ${this.fragInfo(t,!1)}) cc: ${t.cc} ${T?"["+T.startSN+"-"+T.endSN+"]":""}, target: ${parseFloat(o.toFixed(3))}`),r(t.sn)&&!this.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),this.state=zr.FRAG_LOADING;const j=this.config.progressive;let se;return j&&z?se=z.then(ce=>!ce||this.fragContextChanged(ce==null?void 0:ce.frag)?null:this.fragmentLoader.load(t,m)).catch(ce=>this.handleFragLoadError(ce)):se=Promise.all([this.fragmentLoader.load(t,j?m:void 0),z]).then(([ce])=>(!j&&ce&&m&&m(ce),ce)).catch(ce=>this.handleFragLoadError(ce)),this.hls.trigger(s.FRAG_LOADING,{frag:t,targetBufferTime:o}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):se}doFragPartsLoad(t,n,o,m){return new Promise((E,T)=>{var z;const H=[],j=(z=o.details)==null?void 0:z.partList,se=ce=>{this.fragmentLoader.loadPart(t,ce,m).then(xe=>{H[ce.index]=xe;const Ie=xe.part;this.hls.trigger(s.FRAG_LOADED,xe);const Oe=xr(o.details,t.sn,ce.index+1)||mn(j,t.sn,ce.index+1);if(Oe)se(Oe);else return E({frag:t,part:Ie,partsLoaded:H})}).catch(T)};se(n)})}handleFragLoadError(t){if("data"in t){const n=t.data;t.data&&n.details===f.INTERNAL_ABORTED?this.handleFragLoadAborted(n.frag,n.part):this.hls.trigger(s.ERROR,n)}else this.hls.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,err:t,error:t,fatal:!0});return null}_handleTransmuxerFlush(t){const n=this.getCurrentContext(t);if(!n||this.state!==zr.PARSING){!this.fragCurrent&&this.state!==zr.STOPPED&&this.state!==zr.ERROR&&(this.state=zr.IDLE);return}const{frag:o,part:m,level:E}=n,T=self.performance.now();o.stats.parsing.end=T,m&&(m.stats.parsing.end=T);const z=this.getLevelDetails(),j=z&&o.sn>z.endSN||this.shouldLoadParts(z,o.end);j!==this.loadingParts&&(this.log(`LL-Part loading ${j?"ON":"OFF"} after parsing segment ending @${o.end.toFixed(2)}`),this.loadingParts=j),this.updateLevelTiming(o,m,E,t.partial)}shouldLoadParts(t,n){if(this.config.lowLatencyMode){if(!t)return this.loadingParts;if(t!=null&&t.partList){var o;const E=t.partList[0],T=E.end+(((o=t.fragmentHint)==null?void 0:o.duration)||0);if(n>=T){var m;if((this.hls.hasEnoughToStart?((m=this.media)==null?void 0:m.currentTime)||this.lastCurrentTime:this.getLoadPosition())>E.start-E.fragment.duration)return!0}}}return!1}getCurrentContext(t){const{levels:n,fragCurrent:o}=this,{level:m,sn:E,part:T}=t;if(!(n!=null&&n[m]))return this.warn(`Levels object was unset while buffering fragment ${E} of ${this.playlistLabel()} ${m}. The current chunk will not be buffered.`),null;const z=n[m],H=z.details,j=T>-1?xr(H,E,T):null,se=j?j.fragment:Fr(H,E,o);return se?(o&&o!==se&&(se.stats=o.stats),{frag:se,part:j,level:z}):null}bufferFragmentData(t,n,o,m,E){var T;if(!t||this.state!==zr.PARSING)return;const{data1:z,data2:H}=t;let j=z;if(z&&H&&(j=Gt(z,H)),!((T=j)!=null&&T.length))return;const se={type:t.type,frag:n,part:o,chunkMeta:m,parent:n.type,data:j};if(this.hls.trigger(s.BUFFER_APPENDING,se),t.dropped&&t.independent&&!o){if(E)return;this.flushBufferGap(n)}}flushBufferGap(t){const n=this.media;if(!n)return;if(!yi.isBuffered(n,n.currentTime)){this.flushMainBuffer(0,t.start);return}const o=n.currentTime,m=yi.bufferInfo(n,o,0),E=t.duration,T=Math.min(this.config.maxFragLookUpTolerance*2,E*.25),z=Math.max(Math.min(t.start-T,m.end-T),o+T);t.start-z>T&&this.flushMainBuffer(z,t.start)}getFwdBufferInfo(t,n){var o;const m=this.getLoadPosition();if(!r(m))return null;const T=this.lastCurrentTime>m||(o=this.media)!=null&&o.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(t,m,n,T)}getFwdBufferInfoAtPos(t,n,o,m){const E=yi.bufferInfo(t,n,m);if(E.len===0&&E.nextStart!==void 0){const T=this.fragmentTracker.getBufferedFrag(n,o);if(T&&(E.nextStart<=T.end||T.gap)){const z=Math.max(Math.min(E.nextStart,T.end)-n,m);return yi.bufferInfo(t,n,z)}}return E}getMaxBufferLength(t){const{config:n}=this;let o;return t?o=Math.max(8*n.maxBufferSize/t,n.maxBufferLength):o=n.maxBufferLength,Math.min(o,n.maxMaxBufferLength)}reduceMaxBufferLength(t,n){const o=this.config,m=Math.max(Math.min(t-n,o.maxBufferLength),n),E=Math.max(t-n*3,o.maxMaxBufferLength/2,m);return E>=m?(o.maxMaxBufferLength=E,this.warn(`Reduce max buffer length to ${E}s`),!0):!1}getAppendedFrag(t,n=u.MAIN){var o;const m=(o=this.fragmentTracker)==null?void 0:o.getAppendedFrag(t,n);return m&&"fragment"in m?m.fragment:m}getNextFragment(t,n){const o=n.fragments,m=o.length;if(!m)return null;const{config:E}=this,T=o[0].start,z=E.lowLatencyMode&&!!n.partList;let H=null;if(n.live){const ce=E.initialLiveManifestSize;if(m<ce)return this.warn(`Not enough fragments to start playback (have: ${m}, need: ${ce})`),null;if(!n.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||t<T){var j;z&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),H=this.getInitialLiveFragment(n,o);const xe=this.hls.startPosition,Ie=this.hls.liveSyncPosition,Oe=H?(xe!==-1&&xe>=T?xe:Ie)||H.start:t;this.log(`Setting startPosition to ${Oe} to match start frag at live edge. mainStart: ${xe} liveSyncPosition: ${Ie} frag.start: ${(j=H)==null?void 0:j.start}`),this.startPosition=this.nextLoadPosition=Oe}}else t<=T&&(H=o[0]);if(!H){const ce=this.loadingParts?n.partEnd:n.fragmentEnd;H=this.getFragmentAtPosition(t,ce,n)}let se=this.filterReplacedPrimary(H,n);if(!se&&H){const ce=H.sn-n.startSN;se=this.filterReplacedPrimary(o[ce+1]||null,n)}return this.mapToInitFragWhenRequired(se)}isLoopLoading(t,n){const o=this.fragmentTracker.getState(t);return(o===Er.OK||o===Er.PARTIAL&&!!t.gap)&&this.nextLoadPosition>n}getNextFragmentLoopLoading(t,n,o,m,E){let T=null;if(t.gap&&(T=this.getNextFragment(this.nextLoadPosition,n),T&&!T.gap&&o.nextStart)){const z=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,o.nextStart,m,0);if(z!==null&&o.len+z.len>=E){const H=T.sn;return this.loopSn!==H&&(this.log(`buffer full after gaps in "${m}" playlist starting at sn: ${H}`),this.loopSn=H),null}}return this.loopSn=void 0,T}get primaryPrefetch(){if(Ss(this.hls.config)){var t,n;if((t=this.hls.interstitialsManager)==null||(n=t.playingItem)==null?void 0:n.event)return!0}return!1}filterReplacedPrimary(t,n){if(!t)return t;if(Ss(this.hls.config)&&t.type!==u.SUBTITLE){const o=this.hls.interstitialsManager,m=o==null?void 0:o.bufferingItem;if(m){const T=m.event;if(T){if(T.appendInPlace||Math.abs(t.start-m.start)>1||m.start===0)return null}else if(t.end<=m.start&&(n==null?void 0:n.live)===!1||t.start>m.end&&m.nextEvent&&(m.nextEvent.appendInPlace||t.start-m.end>1))return null}const E=o==null?void 0:o.playerQueue;if(E)for(let T=E.length;T--;){const z=E[T].interstitial;if(z.appendInPlace&&t.start>=z.startTime&&t.end<=z.resumeTime)return null}}return t}mapToInitFragWhenRequired(t){return t!=null&&t.initSegment&&!(t!=null&&t.initSegment.data)&&!this.bitrateTest?t.initSegment:t}getNextPart(t,n,o){let m=-1,E=!1,T=!0;for(let z=0,H=t.length;z<H;z++){const j=t[z];if(T=T&&!j.independent,m>-1&&o<j.start)break;const se=j.loaded;se?m=-1:(E||j.independent||T)&&j.fragment===n&&(m=z),E=se}return m}loadedEndOfParts(t,n){const o=t[t.length-1];return o&&n>o.start&&o.loaded}getInitialLiveFragment(t,n){const o=this.fragPrevious;let m=null;if(o){if(t.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${o.programDateTime}`),m=si(n,o.endProgramDateTime,this.config.maxFragLookUpTolerance)),!m){const E=o.sn+1;if(E>=t.startSN&&E<=t.endSN){const T=n[E-t.startSN];o.cc===T.cc&&(m=T,this.log(`Live playlist, switching playlist, load frag with next SN: ${m.sn}`))}m||(m=Dt(n,o.cc),m&&this.log(`Live playlist, switching playlist, load frag with same CC: ${m.sn}`))}}else{const E=this.hls.liveSyncPosition;E!==null&&(m=this.getFragmentAtPosition(E,this.bitrateTest?t.fragmentEnd:t.edge,t))}return m}getFragmentAtPosition(t,n,o){const{config:m}=this;let{fragPrevious:E}=this,{fragments:T,endSN:z}=o;const{fragmentHint:H}=o,{maxFragLookUpTolerance:j}=m,se=o.partList,ce=!!(this.loadingParts&&se!=null&&se.length&&H);ce&&H&&!this.bitrateTest&&se[se.length-1].fragment.sn===H.sn&&(T=T.concat(H),z=H.sn);let xe;if(t<n){var Ie;const tt=t<this.lastCurrentTime||t>n-j||(Ie=this.media)!=null&&Ie.paused||!this.startFragRequested?0:j;xe=En(E,T,t,tt)}else xe=T[T.length-1];if(xe){const Oe=xe.sn-o.startSN,tt=this.fragmentTracker.getState(xe);if((tt===Er.OK||tt===Er.PARTIAL&&xe.gap)&&(E=xe),E&&xe.sn===E.sn&&(!ce||se[0].fragment.sn>xe.sn||!o.live&&!ce)&&E&&xe.level===E.level){const Nt=T[Oe+1];xe.sn<z&&this.fragmentTracker.getState(Nt)!==Er.OK?xe=Nt:xe=null}}return xe}alignPlaylists(t,n,o){const m=t.fragments.length;if(!m)return this.warn("No fragments in live playlist"),0;const E=t.fragmentStart,T=!n,z=t.alignedSliding&&r(E);if(T||!z&&!E){Qi(o,t);const H=t.fragmentStart;return this.log(`Live playlist sliding: ${H.toFixed(2)} start-sn: ${n?n.startSN:"na"}->${t.startSN} fragments: ${m}`),H}return E}waitForCdnTuneIn(t){return t.live&&t.canBlockReload&&t.partTarget&&t.tuneInGoal>Math.max(t.partHoldBack,t.partTarget*3)}setStartPosition(t,n){let o=this.startPosition;o<n&&(o=-1);const m=this.timelineOffset;if(o===-1){const E=this.startTimeOffset!==null,T=E?this.startTimeOffset:t.startTimeOffset;T!==null&&r(T)?(o=n+T,T<0&&(o+=t.edge),o=Math.min(Math.max(n,o),n+t.totalduration),this.log(`Setting startPosition to ${o} for start time offset ${T} found in ${E?"multivariant":"media"} playlist`),this.startPosition=o):t.live?(o=this.hls.liveSyncPosition||n,this.log(`Setting startPosition to -1 to start at live edge ${o}`),this.startPosition=-1):(this.log("setting startPosition to 0 by default"),this.startPosition=o=0),this.lastCurrentTime=o+m}this.nextLoadPosition=o+m}getLoadPosition(){var t;const{media:n}=this;let o=0;return(t=this.hls)!=null&&t.hasEnoughToStart&&n?o=n.currentTime:this.nextLoadPosition>=0&&(o=this.nextLoadPosition),o}handleFragLoadAborted(t,n){this.transmuxer&&t.type===this.playlistType&&de(t)&&t.stats.aborted&&(this.warn(`Fragment ${t.sn}${n?" part "+n.index:""} of ${this.playlistLabel()} ${t.level} was aborted`),this.resetFragmentLoading(t))}resetFragmentLoading(t){(!this.fragCurrent||!this.fragContextChanged(t)&&this.state!==zr.FRAG_LOADING_WAITING_RETRY)&&(this.state=zr.IDLE)}onFragmentOrKeyLoadError(t,n){if(n.chunkMeta&&!n.frag){const Oe=this.getCurrentContext(n.chunkMeta);Oe&&(n.frag=Oe.frag)}const o=n.frag;if(!o||o.type!==t||!this.levels)return;if(this.fragContextChanged(o)){var m;this.warn(`Frag load error must match current frag to retry ${o.url} > ${(m=this.fragCurrent)==null?void 0:m.url}`);return}const E=n.details===f.FRAG_GAP;E&&this.fragmentTracker.fragBuffered(o,!0);const T=n.errorAction,{action:z,flags:H,retryCount:j=0,retryConfig:se}=T||{},ce=!!T&&!!se,xe=ce&&z===Ee.RetryRequest,Ie=ce&&!T.resolved&&H===it.MoveAllAlternatesMatchingHost;if(!xe&&Ie&&de(o)&&!o.endList)this.resetFragmentErrors(t),this.treatAsGap(o),T.resolved=!0;else if((xe||Ie)&&j<se.maxNumRetry){this.resetStartWhenNotLoaded(this.levelLastLoaded);const Oe=Ir(se,j);this.warn(`Fragment ${o.sn} of ${t} ${o.level} errored with ${n.details}, retrying loading ${j+1}/${se.maxNumRetry} in ${Oe}ms`),T.resolved=!0,this.retryDate=self.performance.now()+Oe,this.state=zr.FRAG_LOADING_WAITING_RETRY}else if(se&&T)if(this.resetFragmentErrors(t),j<se.maxNumRetry)!E&&z!==Ee.RemoveAlternatePermanently&&(T.resolved=!0);else{this.warn(`${n.details} reached or exceeded max retry (${j})`);return}else z===Ee.SendAlternateToPenaltyBox?this.state=zr.WAITING_LEVEL:this.state=zr.ERROR;this.tickImmediate()}reduceLengthAndFlushBuffer(t){if(this.state===zr.PARSING||this.state===zr.PARSED){const n=t.frag,o=t.parent,m=this.getFwdBufferInfo(this.mediaBuffer,o),E=m&&m.len>.5;E&&this.reduceMaxBufferLength(m.len,(n==null?void 0:n.duration)||10);const T=!E;return T&&this.warn(`Buffer full error while media.currentTime is not buffered, flush ${o} buffer`),n&&(this.fragmentTracker.removeFragment(n),this.nextLoadPosition=n.start),this.resetLoadingState(),T}return!1}resetFragmentErrors(t){t===u.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==zr.STOPPED&&(this.state=zr.IDLE)}afterBufferFlushed(t,n,o){if(!t)return;const m=yi.getBuffered(t);this.fragmentTracker.detectEvictedFragments(n,m,o),this.state===zr.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==zr.STOPPED&&(this.state=zr.IDLE)}resetStartWhenNotLoaded(t){if(!this.hls.hasEnoughToStart){this.startFragRequested=!1;const n=t?t.details:null;n!=null&&n.live?(this.log("resetting startPosition for live start"),this.startPosition=-1,this.setStartPosition(n,n.fragmentStart),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}}resetWhenMissingContext(t){this.warn(`The loading context changed while buffering fragment ${t.sn} of ${this.playlistLabel()} ${t.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState()}removeUnbufferedFrags(t=0){this.fragmentTracker.removeFragmentsInRange(t,1/0,this.playlistType,!1,!0)}updateLevelTiming(t,n,o,m){const E=o.details;if(!E){this.warn("level.details undefined");return}if(!Object.keys(t.elementaryStreams).reduce((H,j)=>{const se=t.elementaryStreams[j];if(se){const ce=se.endPTS-se.startPTS;if(ce<=0)return this.warn(`Could not parse fragment ${t.sn} ${j} duration reliably (${ce})`),H||!1;const xe=m?0:sr(E,t,se.startPTS,se.endPTS,se.startDTS,se.endDTS);return this.hls.trigger(s.LEVEL_PTS_UPDATED,{details:E,level:o,drift:xe,type:j,frag:t,start:se.startPTS,end:se.endPTS}),!0}return H},!1)){var z;if(o.fragmentError===0&&this.treatAsGap(t,o),((z=this.transmuxer)==null?void 0:z.error)===null){const H=new Error(`Found no media in fragment ${t.sn} of ${this.playlistLabel()} ${t.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(H.message),this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:H,frag:t,reason:`Found no media in msn ${t.sn} of ${this.playlistLabel()} "${o.url}"`}),!this.hls)return;this.resetTransmuxer()}}this.state=zr.PARSED,this.log(`Parsed ${t.type} sn: ${t.sn}${n?" part: "+n.index:""} of ${this.fragInfo(t,!1,n)})`),this.hls.trigger(s.FRAG_PARSED,{frag:t,part:n})}playlistLabel(){return this.playlistType===u.MAIN?"level":"track"}fragInfo(t,n=!0,o){var m,E;return`${this.playlistLabel()} ${t.level} (${o?"part":"frag"}:[${((m=n&&!o?t.startPTS:(o||t).start)!=null?m:NaN).toFixed(3)}-${((E=n&&!o?t.endPTS:(o||t).end)!=null?E:NaN).toFixed(3)}]${o&&t.type==="main"?"INDEPENDENT="+(o.independent?"YES":"NO"):""}`}treatAsGap(t,n){n&&n.fragmentError++,t.gap=!0,this.fragmentTracker.removeFragment(t),this.fragmentTracker.fragBuffered(t,!0)}resetTransmuxer(){var t;(t=this.transmuxer)==null||t.reset()}recoverWorkerError(t){t.event==="demuxerWorker"&&(this.fragmentTracker.removeAllFragments(),this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState())}set state(t){const n=this._state;n!==t&&(this._state=t,this.log(`${n}->${t}`))}get state(){return this._state}}function Ss(P){return!!P.interstitialsController&&P.enableInterstitialPlayback!==!1}class ci{constructor(){this.chunks=[],this.dataLength=0}push(t){this.chunks.push(t),this.dataLength+=t.length}flush(){const{chunks:t,dataLength:n}=this;let o;if(t.length)t.length===1?o=t[0]:o=Vs(t,n);else return new Uint8Array(0);return this.reset(),o}reset(){this.chunks.length=0,this.dataLength=0}}function Vs(P,t){const n=new Uint8Array(t);let o=0;for(let m=0;m<P.length;m++){const E=P[m];n.set(E,o),o+=E.length}return n}var xo={exports:{}},Os;function xa(){return Os||(Os=1,function(P){var t=Object.prototype.hasOwnProperty,n="~";function o(){}Object.create&&(o.prototype=Object.create(null),new o().__proto__||(n=!1));function m(H,j,se){this.fn=H,this.context=j,this.once=se||!1}function E(H,j,se,ce,xe){if(typeof se!="function")throw new TypeError("The listener must be a function");var Ie=new m(se,ce||H,xe),Oe=n?n+j:j;return H._events[Oe]?H._events[Oe].fn?H._events[Oe]=[H._events[Oe],Ie]:H._events[Oe].push(Ie):(H._events[Oe]=Ie,H._eventsCount++),H}function T(H,j){--H._eventsCount===0?H._events=new o:delete H._events[j]}function z(){this._events=new o,this._eventsCount=0}z.prototype.eventNames=function(){var j=[],se,ce;if(this._eventsCount===0)return j;for(ce in se=this._events)t.call(se,ce)&&j.push(n?ce.slice(1):ce);return Object.getOwnPropertySymbols?j.concat(Object.getOwnPropertySymbols(se)):j},z.prototype.listeners=function(j){var se=n?n+j:j,ce=this._events[se];if(!ce)return[];if(ce.fn)return[ce.fn];for(var xe=0,Ie=ce.length,Oe=new Array(Ie);xe<Ie;xe++)Oe[xe]=ce[xe].fn;return Oe},z.prototype.listenerCount=function(j){var se=n?n+j:j,ce=this._events[se];return ce?ce.fn?1:ce.length:0},z.prototype.emit=function(j,se,ce,xe,Ie,Oe){var tt=n?n+j:j;if(!this._events[tt])return!1;var at=this._events[tt],Nt=arguments.length,dr,ar;if(at.fn){switch(at.once&&this.removeListener(j,at.fn,void 0,!0),Nt){case 1:return at.fn.call(at.context),!0;case 2:return at.fn.call(at.context,se),!0;case 3:return at.fn.call(at.context,se,ce),!0;case 4:return at.fn.call(at.context,se,ce,xe),!0;case 5:return at.fn.call(at.context,se,ce,xe,Ie),!0;case 6:return at.fn.call(at.context,se,ce,xe,Ie,Oe),!0}for(ar=1,dr=new Array(Nt-1);ar<Nt;ar++)dr[ar-1]=arguments[ar];at.fn.apply(at.context,dr)}else{var Zr=at.length,Gr;for(ar=0;ar<Zr;ar++)switch(at[ar].once&&this.removeListener(j,at[ar].fn,void 0,!0),Nt){case 1:at[ar].fn.call(at[ar].context);break;case 2:at[ar].fn.call(at[ar].context,se);break;case 3:at[ar].fn.call(at[ar].context,se,ce);break;case 4:at[ar].fn.call(at[ar].context,se,ce,xe);break;default:if(!dr)for(Gr=1,dr=new Array(Nt-1);Gr<Nt;Gr++)dr[Gr-1]=arguments[Gr];at[ar].fn.apply(at[ar].context,dr)}}return!0},z.prototype.on=function(j,se,ce){return E(this,j,se,ce,!1)},z.prototype.once=function(j,se,ce){return E(this,j,se,ce,!0)},z.prototype.removeListener=function(j,se,ce,xe){var Ie=n?n+j:j;if(!this._events[Ie])return this;if(!se)return T(this,Ie),this;var Oe=this._events[Ie];if(Oe.fn)Oe.fn===se&&(!xe||Oe.once)&&(!ce||Oe.context===ce)&&T(this,Ie);else{for(var tt=0,at=[],Nt=Oe.length;tt<Nt;tt++)(Oe[tt].fn!==se||xe&&!Oe[tt].once||ce&&Oe[tt].context!==ce)&&at.push(Oe[tt]);at.length?this._events[Ie]=at.length===1?at[0]:at:T(this,Ie)}return this},z.prototype.removeAllListeners=function(j){var se;return j?(se=n?n+j:j,this._events[se]&&T(this,se)):(this._events=new o,this._eventsCount=0),this},z.prototype.off=z.prototype.removeListener,z.prototype.addListener=z.prototype.on,z.prefixed=n,z.EventEmitter=z,P.exports=z}(xo)),xo.exports}var ds=xa(),ks=Y(ds);const In="1.6.2",gs={};function Ns(){return typeof __HLS_WORKER_BUNDLE__=="function"}function Ye(){const P=gs[In];if(P)return P.clientCount++,P;const t=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),n=self.URL.createObjectURL(t),m={worker:new self.Worker(n),objectURL:n,clientCount:1};return gs[In]=m,m}function Qe(P){const t=gs[P];if(t)return t.clientCount++,t;const n=new self.URL(P,self.location.href).href,m={worker:new self.Worker(n),scriptURL:n,clientCount:1};return gs[P]=m,m}function Mt(P){const t=gs[P||In];if(t&&t.clientCount--===1){const{worker:o,objectURL:m}=t;delete gs[P||In],m&&self.URL.revokeObjectURL(m),o.terminate()}}function Kt(P,t){return t+10<=P.length&&P[t]===51&&P[t+1]===68&&P[t+2]===73&&P[t+3]<255&&P[t+4]<255&&P[t+6]<128&&P[t+7]<128&&P[t+8]<128&&P[t+9]<128}function hr(P,t){return t+10<=P.length&&P[t]===73&&P[t+1]===68&&P[t+2]===51&&P[t+3]<255&&P[t+4]<255&&P[t+6]<128&&P[t+7]<128&&P[t+8]<128&&P[t+9]<128}function Rr(P,t){let n=0;return n=(P[t]&127)<<21,n|=(P[t+1]&127)<<14,n|=(P[t+2]&127)<<7,n|=P[t+3]&127,n}function jr(P,t){const n=t;let o=0;for(;hr(P,t);){o+=10;const m=Rr(P,t+6);o+=m,Kt(P,t+10)&&(o+=10),t+=o}if(o>0)return P.subarray(n,n+o)}function vn(P,t,n,o){const m=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],E=t[n+2],T=E>>2&15;if(T>12){const Ie=new Error(`invalid ADTS sampling index:${T}`);P.emit(s.ERROR,s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!0,error:Ie,reason:Ie.message});return}const z=(E>>6&3)+1,H=t[n+3]>>6&3|(E&1)<<2,j="mp4a.40."+z,se=m[T];let ce=T;(z===5||z===29)&&(ce-=3);const xe=[z<<3|(ce&14)>>1,(ce&1)<<7|H<<3];return G.log(`manifest codec:${o}, parsed codec:${j}, channels:${H}, rate:${se} (ADTS object type:${z} sampling index:${T})`),{config:xe,samplerate:se,channelCount:H,codec:j,parsedCodec:j,manifestCodec:o}}function nn(P,t){return P[t]===255&&(P[t+1]&246)===240}function gn(P,t){return P[t+1]&1?7:9}function Qn(P,t){return(P[t+3]&3)<<11|P[t+4]<<3|(P[t+5]&224)>>>5}function ni(P,t){return t+5<P.length}function _i(P,t){return t+1<P.length&&nn(P,t)}function Ii(P,t){return ni(P,t)&&nn(P,t)&&Qn(P,t)<=P.length-t}function Hi(P,t){if(_i(P,t)){const n=gn(P,t);if(t+n>=P.length)return!1;const o=Qn(P,t);if(o<=n)return!1;const m=t+o;return m===P.length||_i(P,m)}return!1}function Mi(P,t,n,o,m){if(!P.samplerate){const E=vn(t,n,o,m);if(!E)return;y(P,E)}}function wi(P){return 9216e4/P}function ma(P,t){const n=gn(P,t);if(t+n<=P.length){const o=Qn(P,t)-n;if(o>0)return{headerLength:n,frameLength:o}}}function Ci(P,t,n,o,m){const E=wi(P.samplerate),T=o+m*E,z=ma(t,n);let H;if(z){const{frameLength:ce,headerLength:xe}=z,Ie=xe+ce,Oe=Math.max(0,n+Ie-t.length);Oe?(H=new Uint8Array(Ie-xe),H.set(t.subarray(n+xe,t.length),0)):H=t.subarray(n+xe,n+Ie);const tt={unit:H,pts:T};return Oe||P.samples.push(tt),{sample:tt,length:Ie,missing:Oe}}const j=t.length-n;return H=new Uint8Array(j),H.set(t.subarray(n,t.length),0),{sample:{unit:H,pts:T},length:j,missing:-1}}function bi(P,t){return hr(P,t)&&Rr(P,t+6)+10<=P.length-t}function fa(P){if(P.size<2)return;const t=q(P.data,!0),n=new Uint8Array(P.data.subarray(t.length+1));return{key:P.type,info:t,data:n.buffer}}function Ks(P){if(P.size<2)return;if(P.type==="TXXX"){let n=1;const o=q(P.data.subarray(n),!0);n+=o.length+1;const m=q(P.data.subarray(n));return{key:P.type,info:o,data:m}}const t=q(P.data.subarray(1));return{key:P.type,info:"",data:t}}function Es(P){if(P.type==="WXXX"){if(P.size<2)return;let n=1;const o=q(P.data.subarray(n),!0);n+=o.length+1;const m=q(P.data.subarray(n));return{key:P.type,info:o,data:m}}const t=q(P.data);return{key:P.type,info:"",data:t}}function Wi(P){return btoa(String.fromCharCode(...P))}function ka(P,t){if(P<0)return-ka(-P,t);const n=Math.pow(10,t);if(Math.abs(P*n%1-.5)<Number.EPSILON){const m=Math.floor(P*n);return(m%2===0?m:m+1)/n}else return Math.round(P*n)/n}function ea(P,t){const n=new URL(P),o=new URL(t);if(n.origin!==o.origin)return P;const m=n.pathname.split("/").slice(1),E=o.pathname.split("/").slice(1,-1);for(;m[0]===E[0];)m.shift(),E.shift();for(;E.length;)E.shift(),m.unshift("..");return m.join("/")}function ki(){try{return crypto.randomUUID()}catch(P){try{const t=URL.createObjectURL(new Blob),n=t.toString();return URL.revokeObjectURL(t),n.slice(n.lastIndexOf("/")+1)}catch(t){let n=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,m=>{const E=(n+Math.random()*16)%16|0;return n=Math.floor(n/16),(m=="x"?E:E&3|8).toString(16)})}}}function va(P){return P instanceof ArrayBuffer?P:P.byteOffset==0&&P.byteLength==P.buffer.byteLength?P.buffer:new Uint8Array(P).buffer}function Ba(P,t=0,n=1/0){return Ka(P,t,n,Uint8Array)}function Ka(P,t,n,o){const m=eo(P);let E=1;"BYTES_PER_ELEMENT"in o&&(E=o.BYTES_PER_ELEMENT);const T=qa(P)?P.byteOffset:0,z=(T+P.byteLength)/E,H=(T+t)/E,j=Math.floor(Math.max(0,Math.min(H,z))),se=Math.floor(Math.min(j+Math.max(n,0),z));return new o(m,j,se-j)}function eo(P){return P instanceof ArrayBuffer?P:P.buffer}function qa(P){return P&&P.buffer instanceof ArrayBuffer&&P.byteLength!==void 0&&P.byteOffset!==void 0}function so(P){const t={key:P.type,description:"",data:"",mimeType:null,pictureType:null},n=3;if(P.size<2)return;if(P.data[0]!==n){console.log("Ignore frame with unrecognized character encoding");return}const o=P.data.subarray(1).indexOf(0);if(o===-1)return;const m=q(Ba(P.data,1,o)),E=P.data[2+o],T=P.data.subarray(3+o).indexOf(0);if(T===-1)return;const z=q(Ba(P.data,3+o,T));let H;return m==="-->"?H=q(Ba(P.data,4+o+T)):H=va(P.data.subarray(4+o+T)),t.mimeType=m,t.pictureType=E,t.description=z,t.data=H,t}function Ya(P){return P.type==="PRIV"?fa(P):P.type[0]==="W"?Es(P):P.type==="APIC"?so(P):Ks(P)}function Ys(P){const t=String.fromCharCode(P[0],P[1],P[2],P[3]),n=Rr(P,4),o=10;return{type:t,size:n,data:P.subarray(o,o+n)}}const Ms=10,da=10;function Ua(P){let t=0;const n=[];for(;hr(P,t);){const o=Rr(P,t+6);P[t+5]>>6&1&&(t+=Ms),t+=Ms;const m=t+o;for(;t+da<m;){const E=Ys(P.subarray(t)),T=Ya(E);T&&n.push(T),t+=E.size+Ms}Kt(P,t)&&(t+=Ms)}return n}function As(P){return P&&P.key==="PRIV"&&P.info==="com.apple.streaming.transportStreamTimestamp"}function ga(P){if(P.data.byteLength===8){const t=new Uint8Array(P.data),n=t[3]&1;let o=(t[4]<<23)+(t[5]<<15)+(t[6]<<7)+t[7];return o/=45,n&&(o+=4772185884e-2),Math.round(o)}}function ye(P){const t=Ua(P);for(let n=0;n<t.length;n++){const o=t[n];if(As(o))return ga(o)}}let Se=function(P){return P.audioId3="org.id3",P.dateRange="com.apple.quicktime.HLS",P.emsg="https://aomedia.org/emsg/ID3",P.misbklv="urn:misb:KLV:bin:1910.1",P}({});function yr(P="",t=9e4){return{type:P,id:-1,pid:-1,inputTimeScale:t,sequenceNumber:-1,samples:[],dropped:0}}class Jr{constructor(){this._audioTrack=void 0,this._id3Track=void 0,this.frameIndex=0,this.cachedData=null,this.basePTS=null,this.initPTS=null,this.lastPTS=null}resetInitSegment(t,n,o,m){this._id3Track={type:"id3",id:3,pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0}}resetTimeStamp(t){this.initPTS=t,this.resetContiguity()}resetContiguity(){this.basePTS=null,this.lastPTS=null,this.frameIndex=0}canParse(t,n){return!1}appendFrame(t,n,o){}demux(t,n){this.cachedData&&(t=Gt(this.cachedData,t),this.cachedData=null);let o=jr(t,0),m=o?o.length:0,E;const T=this._audioTrack,z=this._id3Track,H=o?ye(o):void 0,j=t.length;for((this.basePTS===null||this.frameIndex===0&&r(H))&&(this.basePTS=br(H,n,this.initPTS),this.lastPTS=this.basePTS),this.lastPTS===null&&(this.lastPTS=this.basePTS),o&&o.length>0&&z.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:o,type:Se.audioId3,duration:Number.POSITIVE_INFINITY});m<j;){if(this.canParse(t,m)){const se=this.appendFrame(T,t,m);se?(this.frameIndex++,this.lastPTS=se.sample.pts,m+=se.length,E=m):m=j}else bi(t,m)?(o=jr(t,m),z.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:o,type:Se.audioId3,duration:Number.POSITIVE_INFINITY}),m+=o.length,E=m):m++;if(m===j&&E!==j){const se=t.slice(E);this.cachedData?this.cachedData=Gt(this.cachedData,se):this.cachedData=se}}return{audioTrack:T,videoTrack:yr(),id3Track:z,textTrack:yr()}}demuxSampleAes(t,n,o){return Promise.reject(new Error(`[${this}] This demuxer does not support Sample-AES decryption`))}flush(t){const n=this.cachedData;return n&&(this.cachedData=null,this.demux(n,0)),{audioTrack:this._audioTrack,videoTrack:yr(),id3Track:this._id3Track,textTrack:yr()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const br=(P,t,n)=>{if(r(P))return P*90;const o=n?n.baseTime*9e4/n.timescale:0;return t*9e4+o};let Qr=null;const Cn=[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],ri=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Fi=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Mn=[0,1,1,4];function Dn(P,t,n,o,m){if(n+24>t.length)return;const E=Bn(t,n);if(E&&n+E.frameLength<=t.length){const T=E.samplesPerFrame*9e4/E.sampleRate,z=o+m*T,H={unit:t.subarray(n,n+E.frameLength),pts:z,dts:z};return P.config=[],P.channelCount=E.channelCount,P.samplerate=E.sampleRate,P.samples.push(H),{sample:H,length:E.frameLength,missing:0}}}function Bn(P,t){const n=P[t+1]>>3&3,o=P[t+1]>>1&3,m=P[t+2]>>4&15,E=P[t+2]>>2&3;if(n!==1&&m!==0&&m!==15&&E!==3){const T=P[t+2]>>1&1,z=P[t+3]>>6,H=n===3?3-o:o===3?3:4,j=Cn[H*14+m-1]*1e3,ce=ri[(n===3?0:n===2?1:2)*3+E],xe=z===3?1:2,Ie=Fi[n][o],Oe=Mn[o],tt=Ie*8*Oe,at=Math.floor(Ie*j/ce+T)*Oe;if(Qr===null){const ar=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Qr=ar?parseInt(ar[1]):0}return!!Qr&&Qr<=87&&o===2&&j>=224e3&&z===0&&(P[t+3]=P[t+3]|128),{sampleRate:ce,channelCount:xe,frameLength:at,samplesPerFrame:tt}}}function ia(P,t){return P[t]===255&&(P[t+1]&224)===224&&(P[t+1]&6)!==0}function Ui(P,t){return t+1<P.length&&ia(P,t)}function ho(P,t){return ia(P,t)&&4<=P.length-t}function Xs(P,t){if(t+1<P.length&&ia(P,t)){const o=Bn(P,t);let m=4;o!=null&&o.frameLength&&(m=o.frameLength);const E=t+m;return E===P.length||Ui(P,E)}return!1}class eu extends Jr{constructor(t,n){super(),this.observer=void 0,this.config=void 0,this.observer=t,this.config=n}resetInitSegment(t,n,o,m){super.resetInitSegment(t,n,o,m),this._audioTrack={container:"audio/adts",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"aac",samples:[],manifestCodec:n,duration:m,inputTimeScale:9e4,dropped:0}}static probe(t,n){if(!t)return!1;const o=jr(t,0);let m=(o==null?void 0:o.length)||0;if(Xs(t,m))return!1;for(let E=t.length;m<E;m++)if(Hi(t,m))return n.log("ADTS sync word found !"),!0;return!1}canParse(t,n){return Ii(t,n)}appendFrame(t,n,o){Mi(t,this.observer,n,o,t.manifestCodec);const m=Ci(t,n,o,this.basePTS,this.frameIndex);if(m&&m.missing===0)return m}}const hl=(P,t)=>{let n=0,o=5;t+=o;const m=new Uint32Array(1),E=new Uint32Array(1),T=new Uint8Array(1);for(;o>0;){T[0]=P[t];const z=Math.min(o,8),H=8-z;E[0]=4278190080>>>24+H<<H,m[0]=(T[0]&E[0])>>H,n=n?n<<z|m[0]:m[0],t+=1,o-=z}return n};class qu extends Jr{constructor(t){super(),this.observer=void 0,this.observer=t}resetInitSegment(t,n,o,m){super.resetInitSegment(t,n,o,m),this._audioTrack={container:"audio/ac-3",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"ac3",samples:[],manifestCodec:n,duration:m,inputTimeScale:9e4,dropped:0}}canParse(t,n){return n+64<t.length}appendFrame(t,n,o){const m=vu(t,n,o,this.basePTS,this.frameIndex);if(m!==-1)return{sample:t.samples[t.samples.length-1],length:m,missing:0}}static probe(t){if(!t)return!1;const n=jr(t,0);if(!n)return!1;const o=n.length;return t[o]===11&&t[o+1]===119&&ye(n)!==void 0&&hl(t,o)<16}}function vu(P,t,n,o,m){if(n+8>t.length||t[n]!==11||t[n+1]!==119)return-1;const E=t[n+4]>>6;if(E>=3)return-1;const z=[48e3,44100,32e3][E],H=t[n+4]&63,se=[64,69,96,64,70,96,80,87,120,80,88,120,96,104,144,96,105,144,112,121,168,112,122,168,128,139,192,128,140,192,160,174,240,160,175,240,192,208,288,192,209,288,224,243,336,224,244,336,256,278,384,256,279,384,320,348,480,320,349,480,384,417,576,384,418,576,448,487,672,448,488,672,512,557,768,512,558,768,640,696,960,640,697,960,768,835,1152,768,836,1152,896,975,1344,896,976,1344,1024,1114,1536,1024,1115,1536,1152,1253,1728,1152,1254,1728,1280,1393,1920,1280,1394,1920][H*3+E]*2;if(n+se>t.length)return-1;const ce=t[n+6]>>5;let xe=0;ce===2?xe+=2:(ce&1&&ce!==1&&(xe+=2),ce&4&&(xe+=2));const Ie=(t[n+6]<<8|t[n+7])>>12-xe&1,tt=[2,1,2,3,3,4,4,5][ce]+Ie,at=t[n+5]>>3,Nt=t[n+5]&7,dr=new Uint8Array([E<<6|at<<1|Nt>>2,(Nt&3)<<6|ce<<3|Ie<<2|H>>4,H<<4&224]),ar=1536/z*9e4,Zr=o+m*ar,Gr=t.subarray(n,n+se);return P.config=dr,P.channelCount=tt,P.samplerate=z,P.samples.push({unit:Gr,pts:Zr}),se}class Uc extends Jr{resetInitSegment(t,n,o,m){super.resetInitSegment(t,n,o,m),this._audioTrack={container:"audio/mpeg",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"mp3",samples:[],manifestCodec:n,duration:m,inputTimeScale:9e4,dropped:0}}static probe(t){if(!t)return!1;const n=jr(t,0);let o=(n==null?void 0:n.length)||0;if(n&&t[o]===11&&t[o+1]===119&&ye(n)!==void 0&&hl(t,o)<=16)return!1;for(let m=t.length;o<m;o++)if(Xs(t,o))return G.log("MPEG Audio sync word found !"),!0;return!1}canParse(t,n){return ho(t,n)}appendFrame(t,n,o){if(this.basePTS!==null)return Dn(t,n,o,this.basePTS,this.frameIndex)}}const Pu=/\/emsg[-/]ID3/i;class Ve{constructor(t,n){this.remainderData=null,this.timeOffset=0,this.config=void 0,this.videoTrack=void 0,this.audioTrack=void 0,this.id3Track=void 0,this.txtTrack=void 0,this.config=n}resetTimeStamp(){}resetInitSegment(t,n,o,m){const E=this.videoTrack=yr("video",1),T=this.audioTrack=yr("audio",1),z=this.txtTrack=yr("text",1);if(this.id3Track=yr("id3",1),this.timeOffset=0,!(t!=null&&t.byteLength))return;const H=Je(t);if(H.video){const{id:j,timescale:se,codec:ce,supplemental:xe}=H.video;E.id=j,E.timescale=z.timescale=se,E.codec=ce,E.supplemental=xe}if(H.audio){const{id:j,timescale:se,codec:ce}=H.audio;T.id=j,T.timescale=se,T.codec=ce}z.id=Pt.text,E.sampleDuration=0,E.duration=T.duration=m}resetContiguity(){this.remainderData=null}static probe(t){return st(t)}demux(t,n){this.timeOffset=n;let o=t;const m=this.videoTrack,E=this.txtTrack;if(this.config.progressive){this.remainderData&&(o=Gt(this.remainderData,t));const z=qe(o);this.remainderData=z.remainder,m.samples=z.valid||new Uint8Array}else m.samples=o;const T=this.extractID3Track(m,n);return E.samples=kt(n,m),{videoTrack:m,audioTrack:this.audioTrack,id3Track:T,textTrack:this.txtTrack}}flush(){const t=this.timeOffset,n=this.videoTrack,o=this.txtTrack;n.samples=this.remainderData||new Uint8Array,this.remainderData=null;const m=this.extractID3Track(n,this.timeOffset);return o.samples=kt(t,n),{videoTrack:n,audioTrack:yr(),id3Track:m,textTrack:yr()}}extractID3Track(t,n){const o=this.id3Track;if(t.samples.length){const m=bt(t.samples,["emsg"]);m&&m.forEach(E=>{const T=We(E);if(Pu.test(T.schemeIdUri)){const z=W(T,n);let H=T.eventDuration===4294967295?Number.POSITIVE_INFINITY:T.eventDuration/T.timeScale;H<=.001&&(H=Number.POSITIVE_INFINITY);const j=T.payload;o.samples.push({data:j,len:j.byteLength,dts:z,pts:z,type:Se.emsg,duration:H})}else if(this.config.enableEmsgKLVMetadata&&T.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const z=W(T,n);o.samples.push({data:T.payload,len:T.payload.byteLength,dts:z,pts:z,type:Se.misbklv,duration:Number.POSITIVE_INFINITY})}})}return o}demuxSampleAes(t,n,o){return Promise.reject(new Error("The MP4 demuxer does not support SAMPLE-AES decryption"))}destroy(){this.config=null,this.remainderData=null,this.videoTrack=this.audioTrack=this.id3Track=this.txtTrack=void 0}}function W(P,t){return r(P.presentationTime)?P.presentationTime/P.timeScale:t+P.presentationTimeDelta/P.timeScale}class X{constructor(t,n,o){this.keyData=void 0,this.decrypter=void 0,this.keyData=o,this.decrypter=new pn(n,{removePKCS7Padding:!1})}decryptBuffer(t){return this.decrypter.decrypt(t,this.keyData.key.buffer,this.keyData.iv.buffer,un.cbc)}decryptAacSample(t,n,o){const m=t[n].unit;if(m.length<=16)return;const E=m.subarray(16,m.length-m.length%16),T=E.buffer.slice(E.byteOffset,E.byteOffset+E.length);this.decryptBuffer(T).then(z=>{const H=new Uint8Array(z);m.set(H,16),this.decrypter.isSync()||this.decryptAacSamples(t,n+1,o)})}decryptAacSamples(t,n,o){for(;;n++){if(n>=t.length){o();return}if(!(t[n].unit.length<32)&&(this.decryptAacSample(t,n,o),!this.decrypter.isSync()))return}}getAvcEncryptedData(t){const n=Math.floor((t.length-48)/160)*16+16,o=new Int8Array(n);let m=0;for(let E=32;E<t.length-16;E+=160,m+=16)o.set(t.subarray(E,E+16),m);return o}getAvcDecryptedUnit(t,n){const o=new Uint8Array(n);let m=0;for(let E=32;E<t.length-16;E+=160,m+=16)t.set(o.subarray(m,m+16),E);return t}decryptAvcSample(t,n,o,m,E){const T=Yt(E.data),z=this.getAvcEncryptedData(T);this.decryptBuffer(z.buffer).then(H=>{E.data=this.getAvcDecryptedUnit(T,H),this.decrypter.isSync()||this.decryptAvcSamples(t,n,o+1,m)})}decryptAvcSamples(t,n,o,m){if(t instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;n++,o=0){if(n>=t.length){m();return}const E=t[n].units;for(;!(o>=E.length);o++){const T=E[o];if(!(T.data.length<=48||T.type!==1&&T.type!==5)&&(this.decryptAvcSample(t,n,o,m,T),!this.decrypter.isSync()))return}}}}class te{constructor(){this.VideoSample=null}createVideoSample(t,n,o){return{key:t,frame:!1,pts:n,dts:o,units:[],length:0}}getLastNalUnit(t){var n;let o=this.VideoSample,m;if((!o||o.units.length===0)&&(o=t[t.length-1]),(n=o)!=null&&n.units){const E=o.units;m=E[E.length-1]}return m}pushAccessUnit(t,n){if(t.units.length&&t.frame){if(t.pts===void 0){const o=n.samples,m=o.length;if(m){const E=o[m-1];t.pts=E.pts,t.dts=E.dts}else{n.dropped++;return}}n.samples.push(t)}}parseNALu(t,n,o){const m=n.byteLength;let E=t.naluState||0;const T=E,z=[];let H=0,j,se,ce,xe=-1,Ie=0;for(E===-1&&(xe=0,Ie=this.getNALuType(n,0),E=0,H=1);H<m;){if(j=n[H++],!E){E=j?0:1;continue}if(E===1){E=j?0:2;continue}if(!j)E=3;else if(j===1){if(se=H-E-1,xe>=0){const Oe={data:n.subarray(xe,se),type:Ie};z.push(Oe)}else{const Oe=this.getLastNalUnit(t.samples);Oe&&(T&&H<=4-T&&Oe.state&&(Oe.data=Oe.data.subarray(0,Oe.data.byteLength-T)),se>0&&(Oe.data=Gt(Oe.data,n.subarray(0,se)),Oe.state=0))}H<m?(ce=this.getNALuType(n,H),xe=H,Ie=ce,E=0):E=-1}else E=0}if(xe>=0&&E>=0){const Oe={data:n.subarray(xe,m),type:Ie,state:E};z.push(Oe)}if(z.length===0){const Oe=this.getLastNalUnit(t.samples);Oe&&(Oe.data=Gt(Oe.data,n))}return t.naluState=E,z}}class pe{constructor(t){this.data=void 0,this.bytesAvailable=void 0,this.word=void 0,this.bitsAvailable=void 0,this.data=t,this.bytesAvailable=t.byteLength,this.word=0,this.bitsAvailable=0}loadWord(){const t=this.data,n=this.bytesAvailable,o=t.byteLength-n,m=new Uint8Array(4),E=Math.min(4,n);if(E===0)throw new Error("no bytes available");m.set(t.subarray(o,o+E)),this.word=new DataView(m.buffer).getUint32(0),this.bitsAvailable=E*8,this.bytesAvailable-=E}skipBits(t){let n;t=Math.min(t,this.bytesAvailable*8+this.bitsAvailable),this.bitsAvailable>t?(this.word<<=t,this.bitsAvailable-=t):(t-=this.bitsAvailable,n=t>>3,t-=n<<3,this.bytesAvailable-=n,this.loadWord(),this.word<<=t,this.bitsAvailable-=t)}readBits(t){let n=Math.min(this.bitsAvailable,t);const o=this.word>>>32-n;if(t>32&&G.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=n,this.bitsAvailable>0)this.word<<=n;else if(this.bytesAvailable>0)this.loadWord();else throw new Error("no bits available");return n=t-n,n>0&&this.bitsAvailable?o<<n|this.readBits(n):o}skipLZ(){let t;for(t=0;t<this.bitsAvailable;++t)if(this.word&2147483648>>>t)return this.word<<=t,this.bitsAvailable-=t,t;return this.loadWord(),t+this.skipLZ()}skipUEG(){this.skipBits(1+this.skipLZ())}skipEG(){this.skipBits(1+this.skipLZ())}readUEG(){const t=this.skipLZ();return this.readBits(t+1)-1}readEG(){const t=this.readUEG();return 1&t?1+t>>>1:-1*(t>>>1)}readBoolean(){return this.readBits(1)===1}readUByte(){return this.readBits(8)}readUShort(){return this.readBits(16)}readUInt(){return this.readBits(32)}}class Te extends te{parsePES(t,n,o,m){const E=this.parseNALu(t,o.data,m);let T=this.VideoSample,z,H=!1;o.data=null,T&&E.length&&!t.audFound&&(this.pushAccessUnit(T,t),T=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts)),E.forEach(j=>{var se,ce;switch(j.type){case 1:{let tt=!1;z=!0;const at=j.data;if(H&&at.length>4){const Nt=this.readSliceType(at);(Nt===2||Nt===4||Nt===7||Nt===9)&&(tt=!0)}if(tt){var xe;(xe=T)!=null&&xe.frame&&!T.key&&(this.pushAccessUnit(T,t),T=this.VideoSample=null)}T||(T=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),T.frame=!0,T.key=tt;break}case 5:z=!0,(se=T)!=null&&se.frame&&!T.key&&(this.pushAccessUnit(T,t),T=this.VideoSample=null),T||(T=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),T.key=!0,T.frame=!0;break;case 6:{z=!0,Ct(j.data,1,o.pts,n.samples);break}case 7:{var Ie,Oe;z=!0,H=!0;const tt=j.data,at=this.readSPS(tt);if(!t.sps||t.width!==at.width||t.height!==at.height||((Ie=t.pixelRatio)==null?void 0:Ie[0])!==at.pixelRatio[0]||((Oe=t.pixelRatio)==null?void 0:Oe[1])!==at.pixelRatio[1]){t.width=at.width,t.height=at.height,t.pixelRatio=at.pixelRatio,t.sps=[tt];const Nt=tt.subarray(1,4);let dr="avc1.";for(let ar=0;ar<3;ar++){let Zr=Nt[ar].toString(16);Zr.length<2&&(Zr="0"+Zr),dr+=Zr}t.codec=dr}break}case 8:z=!0,t.pps=[j.data];break;case 9:z=!0,t.audFound=!0,(ce=T)!=null&&ce.frame&&(this.pushAccessUnit(T,t),T=null),T||(T=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts));break;case 12:z=!0;break;default:z=!1;break}T&&z&&T.units.push(j)}),m&&T&&(this.pushAccessUnit(T,t),this.VideoSample=null)}getNALuType(t,n){return t[n]&31}readSliceType(t){const n=new pe(t);return n.readUByte(),n.readUEG(),n.readUEG()}skipScalingList(t,n){let o=8,m=8,E;for(let T=0;T<t;T++)m!==0&&(E=n.readEG(),m=(o+E+256)%256),o=m===0?o:m}readSPS(t){const n=new pe(t);let o=0,m=0,E=0,T=0,z,H,j;const se=n.readUByte.bind(n),ce=n.readBits.bind(n),xe=n.readUEG.bind(n),Ie=n.readBoolean.bind(n),Oe=n.skipBits.bind(n),tt=n.skipEG.bind(n),at=n.skipUEG.bind(n),Nt=this.skipScalingList.bind(this);se();const dr=se();if(ce(5),Oe(3),se(),at(),dr===100||dr===110||dr===122||dr===244||dr===44||dr===83||dr===86||dr===118||dr===128){const on=xe();if(on===3&&Oe(1),at(),at(),Oe(1),Ie())for(H=on!==3?8:12,j=0;j<H;j++)Ie()&&(j<6?Nt(16,n):Nt(64,n))}at();const ar=xe();if(ar===0)xe();else if(ar===1)for(Oe(1),tt(),tt(),z=xe(),j=0;j<z;j++)tt();at(),Oe(1);const Zr=xe(),Gr=xe(),fn=ce(1);fn===0&&Oe(1),Oe(1),Ie()&&(o=xe(),m=xe(),E=xe(),T=xe());let Vr=[1,1];if(Ie()&&Ie())switch(se()){case 1:Vr=[1,1];break;case 2:Vr=[12,11];break;case 3:Vr=[10,11];break;case 4:Vr=[16,11];break;case 5:Vr=[40,33];break;case 6:Vr=[24,11];break;case 7:Vr=[20,11];break;case 8:Vr=[32,11];break;case 9:Vr=[80,33];break;case 10:Vr=[18,11];break;case 11:Vr=[15,11];break;case 12:Vr=[64,33];break;case 13:Vr=[160,99];break;case 14:Vr=[4,3];break;case 15:Vr=[3,2];break;case 16:Vr=[2,1];break;case 255:{Vr=[se()<<8|se(),se()<<8|se()];break}}return{width:Math.ceil((Zr+1)*16-o*2-m*2),height:(2-fn)*(Gr+1)*16-(fn?2:4)*(E+T),pixelRatio:Vr}}}class Ge extends te{constructor(...t){super(...t),this.initVPS=null}parsePES(t,n,o,m){const E=this.parseNALu(t,o.data,m);let T=this.VideoSample,z,H=!1;o.data=null,T&&E.length&&!t.audFound&&(this.pushAccessUnit(T,t),T=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts)),E.forEach(j=>{var se,ce;switch(j.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:T||(T=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts)),T.frame=!0,z=!0;break;case 16:case 17:case 18:case 21:if(z=!0,H){var xe;(xe=T)!=null&&xe.frame&&!T.key&&(this.pushAccessUnit(T,t),T=this.VideoSample=null)}T||(T=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),T.key=!0,T.frame=!0;break;case 19:case 20:z=!0,(se=T)!=null&&se.frame&&!T.key&&(this.pushAccessUnit(T,t),T=this.VideoSample=null),T||(T=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),T.key=!0,T.frame=!0;break;case 39:z=!0,Ct(j.data,2,o.pts,n.samples);break;case 32:z=!0,t.vps||(typeof t.params!="object"&&(t.params={}),t.params=y(t.params,this.readVPS(j.data)),this.initVPS=j.data),t.vps=[j.data];break;case 33:if(z=!0,H=!0,t.vps!==void 0&&t.vps[0]!==this.initVPS&&t.sps!==void 0&&!this.matchSPS(t.sps[0],j.data)&&(this.initVPS=t.vps[0],t.sps=t.pps=void 0),!t.sps){const Ie=this.readSPS(j.data);t.width=Ie.width,t.height=Ie.height,t.pixelRatio=Ie.pixelRatio,t.codec=Ie.codecString,t.sps=[],typeof t.params!="object"&&(t.params={});for(const Oe in Ie.params)t.params[Oe]=Ie.params[Oe]}this.pushParameterSet(t.sps,j.data,t.vps),T||(T=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),T.key=!0;break;case 34:if(z=!0,typeof t.params=="object"){if(!t.pps){t.pps=[];const Ie=this.readPPS(j.data);for(const Oe in Ie)t.params[Oe]=Ie[Oe]}this.pushParameterSet(t.pps,j.data,t.vps)}break;case 35:z=!0,t.audFound=!0,(ce=T)!=null&&ce.frame&&(this.pushAccessUnit(T,t),T=null),T||(T=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts));break;default:z=!1;break}T&&z&&T.units.push(j)}),m&&T&&(this.pushAccessUnit(T,t),this.VideoSample=null)}pushParameterSet(t,n,o){(o&&o[0]===this.initVPS||!o&&!t.length)&&t.push(n)}getNALuType(t,n){return(t[n]&126)>>>1}ebsp2rbsp(t){const n=new Uint8Array(t.byteLength);let o=0;for(let m=0;m<t.byteLength;m++)m>=2&&t[m]===3&&t[m-1]===0&&t[m-2]===0||(n[o]=t[m],o++);return new Uint8Array(n.buffer,0,o)}pushAccessUnit(t,n){super.pushAccessUnit(t,n),this.initVPS&&(this.initVPS=null)}readVPS(t){const n=new pe(t);n.readUByte(),n.readUByte(),n.readBits(4),n.skipBits(2),n.readBits(6);const o=n.readBits(3),m=n.readBoolean();return{numTemporalLayers:o+1,temporalIdNested:m}}readSPS(t){const n=new pe(this.ebsp2rbsp(t));n.readUByte(),n.readUByte(),n.readBits(4);const o=n.readBits(3);n.readBoolean();const m=n.readBits(2),E=n.readBoolean(),T=n.readBits(5),z=n.readUByte(),H=n.readUByte(),j=n.readUByte(),se=n.readUByte(),ce=n.readUByte(),xe=n.readUByte(),Ie=n.readUByte(),Oe=n.readUByte(),tt=n.readUByte(),at=n.readUByte(),Nt=n.readUByte(),dr=[],ar=[];for(let Ts=0;Ts<o;Ts++)dr.push(n.readBoolean()),ar.push(n.readBoolean());if(o>0)for(let Ts=o;Ts<8;Ts++)n.readBits(2);for(let Ts=0;Ts<o;Ts++)dr[Ts]&&(n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte()),ar[Ts]&&n.readUByte();n.readUEG();const Zr=n.readUEG();Zr==3&&n.skipBits(1);const Gr=n.readUEG(),fn=n.readUEG(),Vr=n.readBoolean();let on=0,_n=0,Xr=0,Yn=0;Vr&&(on+=n.readUEG(),_n+=n.readUEG(),Xr+=n.readUEG(),Yn+=n.readUEG());const di=n.readUEG(),os=n.readUEG(),ya=n.readUEG(),Ji=n.readBoolean();for(let Ts=Ji?0:o;Ts<=o;Ts++)n.skipUEG(),n.skipUEG(),n.skipUEG();if(n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG(),n.readBoolean()&&n.readBoolean())for(let pu=0;pu<4;pu++)for(let wl=0;wl<(pu===3?2:6);wl++)if(!n.readBoolean())n.readUEG();else{const Nl=Math.min(64,1<<4+(pu<<1));pu>1&&n.readEG();for(let gf=0;gf<Nl;gf++)n.readEG()}n.readBoolean(),n.readBoolean(),n.readBoolean()&&(n.readUByte(),n.skipUEG(),n.skipUEG(),n.readBoolean());const qi=n.readUEG();let Xn=0;for(let Ts=0;Ts<qi;Ts++){let pu=!1;if(Ts!==0&&(pu=n.readBoolean()),pu){Ts===qi&&n.readUEG(),n.readBoolean(),n.readUEG();let wl=0;for(let sf=0;sf<=Xn;sf++){const Nl=n.readBoolean();let gf=!1;Nl||(gf=n.readBoolean()),(Nl||gf)&&wl++}Xn=wl}else{const wl=n.readUEG(),sf=n.readUEG();Xn=wl+sf;for(let Nl=0;Nl<wl;Nl++)n.readUEG(),n.readBoolean();for(let Nl=0;Nl<sf;Nl++)n.readUEG(),n.readBoolean()}}if(n.readBoolean()){const Ts=n.readUEG();for(let pu=0;pu<Ts;pu++){for(let wl=0;wl<ya+4;wl++)n.readBits(1);n.readBits(1)}}let wa=0,Sa=1,ts=1,Cs=!0,js=1,ao=0;n.readBoolean(),n.readBoolean();let Qu=!1;if(n.readBoolean()){if(n.readBoolean()){const yf=n.readUByte(),Yf=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],jf=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];yf>0&&yf<16?(Sa=Yf[yf-1],ts=jf[yf-1]):yf===255&&(Sa=n.readBits(16),ts=n.readBits(16))}if(n.readBoolean()&&n.readBoolean(),n.readBoolean()&&(n.readBits(3),n.readBoolean(),n.readBoolean()&&(n.readUByte(),n.readUByte(),n.readUByte())),n.readBoolean()&&(n.readUEG(),n.readUEG()),n.readBoolean(),n.readBoolean(),n.readBoolean(),Qu=n.readBoolean(),Qu&&(on+=n.readUEG(),_n+=n.readUEG(),Xr+=n.readUEG(),Yn+=n.readUEG()),n.readBoolean()&&(js=n.readBits(32),ao=n.readBits(32),n.readBoolean()&&n.readUEG(),n.readBoolean())){const jf=n.readBoolean(),kf=n.readBoolean();let of=!1;(jf||kf)&&(of=n.readBoolean(),of&&(n.readUByte(),n.readBits(5),n.readBoolean(),n.readBits(5)),n.readBits(4),n.readBits(4),of&&n.readBits(4),n.readBits(5),n.readBits(5),n.readBits(5));for(let Xf=0;Xf<=o;Xf++){Cs=n.readBoolean();const nd=Cs||n.readBoolean();let Uf=!1;nd?n.readEG():Uf=n.readBoolean();const Gf=Uf?1:n.readUEG()+1;if(jf)for(let Rf=0;Rf<Gf;Rf++)n.readUEG(),n.readUEG(),of&&(n.readUEG(),n.readUEG()),n.skipBits(1);if(kf)for(let Rf=0;Rf<Gf;Rf++)n.readUEG(),n.readUEG(),of&&(n.readUEG(),n.readUEG()),n.skipBits(1)}}n.readBoolean()&&(n.readBoolean(),n.readBoolean(),n.readBoolean(),wa=n.readUEG())}let af=Gr,Kf=fn;if(Vr||Qu){let Ts=1,pu=1;Zr===1?Ts=pu=2:Zr==2&&(Ts=2),af=Gr-Ts*_n-Ts*on,Kf=fn-pu*Yn-pu*Xr}const ed=m?["A","B","C"][m]:"",td=z<<24|H<<16|j<<8|se;let Pf=0;for(let Ts=0;Ts<32;Ts++)Pf=(Pf|(td>>Ts&1)<<31-Ts)>>>0;let Wf=Pf.toString(16);return T===1&&Wf==="2"&&(Wf="6"),{codecString:`hvc1.${ed}${T}.${Wf}.${E?"H":"L"}${Nt}.B0`,params:{general_tier_flag:E,general_profile_idc:T,general_profile_space:m,general_profile_compatibility_flags:[z,H,j,se],general_constraint_indicator_flags:[ce,xe,Ie,Oe,tt,at],general_level_idc:Nt,bit_depth:di+8,bit_depth_luma_minus8:di,bit_depth_chroma_minus8:os,min_spatial_segmentation_idc:wa,chroma_format_idc:Zr,frame_rate:{fixed:Cs,fps:ao/js}},width:af,height:Kf,pixelRatio:[Sa,ts]}}readPPS(t){const n=new pe(this.ebsp2rbsp(t));n.readUByte(),n.readUByte(),n.skipUEG(),n.skipUEG(),n.skipBits(2),n.skipBits(3),n.skipBits(2),n.skipUEG(),n.skipUEG(),n.skipEG(),n.skipBits(2),n.readBoolean()&&n.skipUEG(),n.skipEG(),n.skipEG(),n.skipBits(4);const m=n.readBoolean(),E=n.readBoolean();let T=1;return E&&m?T=0:E?T=3:m&&(T=2),{parallelismType:T}}matchSPS(t,n){return String.fromCharCode.apply(null,t).substr(3)===String.fromCharCode.apply(null,n).substr(3)}}const xt=188;class Bt{constructor(t,n,o,m){this.logger=void 0,this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.sampleAes=null,this.pmtParsed=!1,this.audioCodec=void 0,this.videoCodec=void 0,this._pmtId=-1,this._videoTrack=void 0,this._audioTrack=void 0,this._id3Track=void 0,this._txtTrack=void 0,this.aacOverFlow=null,this.remainderData=null,this.videoParser=void 0,this.observer=t,this.config=n,this.typeSupported=o,this.logger=m,this.videoParser=null}static probe(t,n){const o=Bt.syncOffset(t);return o>0&&n.warn(`MPEG2-TS detected but first sync word found @ offset ${o}`),o!==-1}static syncOffset(t){const n=t.length;let o=Math.min(xt*5,n-xt)+1,m=0;for(;m<o;){let E=!1,T=-1,z=0;for(let H=m;H<n;H+=xt)if(t[H]===71&&(n-H===xt||t[H+xt]===71)){if(z++,T===-1&&(T=H,T!==0&&(o=Math.min(T+xt*99,t.length-xt)+1)),E||(E=nr(t,H)===0),E&&z>1&&(T===0&&z>2||H+xt>o))return T}else{if(z)return-1;break}m++}return-1}static createTrack(t,n){return{container:t==="video"||t==="audio"?"video/mp2t":void 0,type:t,id:Pt[t],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:t==="audio"?n:void 0}}resetInitSegment(t,n,o,m){this.pmtParsed=!1,this._pmtId=-1,this._videoTrack=Bt.createTrack("video"),this._videoTrack.duration=m,this._audioTrack=Bt.createTrack("audio",m),this._id3Track=Bt.createTrack("id3"),this._txtTrack=Bt.createTrack("text"),this._audioTrack.segmentCodec="aac",this.aacOverFlow=null,this.remainderData=null,this.audioCodec=n,this.videoCodec=o}resetTimeStamp(){}resetContiguity(){const{_audioTrack:t,_videoTrack:n,_id3Track:o}=this;t&&(t.pesData=null),n&&(n.pesData=null),o&&(o.pesData=null),this.aacOverFlow=null,this.remainderData=null}demux(t,n,o=!1,m=!1){o||(this.sampleAes=null);let E;const T=this._videoTrack,z=this._audioTrack,H=this._id3Track,j=this._txtTrack;let se=T.pid,ce=T.pesData,xe=z.pid,Ie=H.pid,Oe=z.pesData,tt=H.pesData,at=null,Nt=this.pmtParsed,dr=this._pmtId,ar=t.length;if(this.remainderData&&(t=Gt(this.remainderData,t),ar=t.length,this.remainderData=null),ar<xt&&!m)return this.remainderData=t,{audioTrack:z,videoTrack:T,id3Track:H,textTrack:j};const Zr=Math.max(0,Bt.syncOffset(t));ar-=(ar-Zr)%xt,ar<t.byteLength&&!m&&(this.remainderData=new Uint8Array(t.buffer,ar,t.buffer.byteLength-ar));let Gr=0;for(let Vr=Zr;Vr<ar;Vr+=xt)if(t[Vr]===71){const on=!!(t[Vr+1]&64),_n=nr(t,Vr),Xr=(t[Vr+3]&48)>>4;let Yn;if(Xr>1){if(Yn=Vr+5+t[Vr+4],Yn===Vr+xt)continue}else Yn=Vr+4;switch(_n){case se:if(on){if(ce&&(E=Nn(ce,this.logger))){if(this.videoParser===null)switch(T.segmentCodec){case"avc":this.videoParser=new Te;break;case"hevc":this.videoParser=new Ge;break}this.videoParser!==null&&this.videoParser.parsePES(T,j,E,!1)}ce={data:[],size:0}}ce&&(ce.data.push(t.subarray(Yn,Vr+xt)),ce.size+=Vr+xt-Yn);break;case xe:if(on){if(Oe&&(E=Nn(Oe,this.logger)))switch(z.segmentCodec){case"aac":this.parseAACPES(z,E);break;case"mp3":this.parseMPEGPES(z,E);break;case"ac3":this.parseAC3PES(z,E);break}Oe={data:[],size:0}}Oe&&(Oe.data.push(t.subarray(Yn,Vr+xt)),Oe.size+=Vr+xt-Yn);break;case Ie:on&&(tt&&(E=Nn(tt,this.logger))&&this.parseID3PES(H,E),tt={data:[],size:0}),tt&&(tt.data.push(t.subarray(Yn,Vr+xt)),tt.size+=Vr+xt-Yn);break;case 0:on&&(Yn+=t[Yn]+1),dr=this._pmtId=Tr(t,Yn);break;case dr:{on&&(Yn+=t[Yn]+1);const di=Wr(t,Yn,this.typeSupported,o,this.observer,this.logger);se=di.videoPid,se>0&&(T.pid=se,T.segmentCodec=di.segmentVideoCodec),xe=di.audioPid,xe>0&&(z.pid=xe,z.segmentCodec=di.segmentAudioCodec),Ie=di.id3Pid,Ie>0&&(H.pid=Ie),at!==null&&!Nt&&(this.logger.warn(`MPEG-TS PMT found at ${Vr} after unknown PID '${at}'. Backtracking to sync byte @${Zr} to parse all TS packets.`),at=null,Vr=Zr-188),Nt=this.pmtParsed=!0;break}case 17:case 8191:break;default:at=_n;break}}else Gr++;Gr>0&&an(this.observer,new Error(`Found ${Gr} TS packet/s that do not start with 0x47`),void 0,this.logger),T.pesData=ce,z.pesData=Oe,H.pesData=tt;const fn={audioTrack:z,videoTrack:T,id3Track:H,textTrack:j};return m&&this.extractRemainingSamples(fn),fn}flush(){const{remainderData:t}=this;this.remainderData=null;let n;return t?n=this.demux(t,-1,!1,!0):n={videoTrack:this._videoTrack,audioTrack:this._audioTrack,id3Track:this._id3Track,textTrack:this._txtTrack},this.extractRemainingSamples(n),this.sampleAes?this.decrypt(n,this.sampleAes):n}extractRemainingSamples(t){const{audioTrack:n,videoTrack:o,id3Track:m,textTrack:E}=t,T=o.pesData,z=n.pesData,H=m.pesData;let j;if(T&&(j=Nn(T,this.logger))){if(this.videoParser===null)switch(o.segmentCodec){case"avc":this.videoParser=new Te;break;case"hevc":this.videoParser=new Ge;break}this.videoParser!==null&&(this.videoParser.parsePES(o,E,j,!0),o.pesData=null)}else o.pesData=T;if(z&&(j=Nn(z,this.logger))){switch(n.segmentCodec){case"aac":this.parseAACPES(n,j);break;case"mp3":this.parseMPEGPES(n,j);break;case"ac3":this.parseAC3PES(n,j);break}n.pesData=null}else z!=null&&z.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),n.pesData=z;H&&(j=Nn(H,this.logger))?(this.parseID3PES(m,j),m.pesData=null):m.pesData=H}demuxSampleAes(t,n,o){const m=this.demux(t,o,!0,!this.config.progressive),E=this.sampleAes=new X(this.observer,this.config,n);return this.decrypt(m,E)}decrypt(t,n){return new Promise(o=>{const{audioTrack:m,videoTrack:E}=t;m.samples&&m.segmentCodec==="aac"?n.decryptAacSamples(m.samples,0,()=>{E.samples?n.decryptAvcSamples(E.samples,0,0,()=>{o(t)}):o(t)}):E.samples&&n.decryptAvcSamples(E.samples,0,0,()=>{o(t)})})}destroy(){this.observer&&this.observer.removeAllListeners(),this.config=this.logger=this.observer=null,this.aacOverFlow=this.videoParser=this.remainderData=this.sampleAes=null,this._videoTrack=this._audioTrack=this._id3Track=this._txtTrack=void 0}parseAACPES(t,n){let o=0;const m=this.aacOverFlow;let E=n.data;if(m){this.aacOverFlow=null;const ce=m.missing,xe=m.sample.unit.byteLength;if(ce===-1)E=Gt(m.sample.unit,E);else{const Ie=xe-ce;m.sample.unit.set(E.subarray(0,ce),Ie),t.samples.push(m.sample),o=m.missing}}let T,z;for(T=o,z=E.length;T<z-1&&!_i(E,T);T++);if(T!==o){let ce;const xe=T<z-1;if(xe?ce=`AAC PES did not start with ADTS header,offset:${T}`:ce="No ADTS header found in AAC PES",an(this.observer,new Error(ce),xe,this.logger),!xe)return}Mi(t,this.observer,E,T,this.audioCodec);let H;if(n.pts!==void 0)H=n.pts;else if(m){const ce=wi(t.samplerate);H=m.sample.pts+ce}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let j=0,se;for(;T<z;)if(se=Ci(t,E,T,H,j),T+=se.length,se.missing){this.aacOverFlow=se;break}else for(j++;T<z-1&&!_i(E,T);T++);}parseMPEGPES(t,n){const o=n.data,m=o.length;let E=0,T=0;const z=n.pts;if(z===void 0){this.logger.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;T<m;)if(Ui(o,T)){const H=Dn(t,o,T,z,E);if(H)T+=H.length,E++;else break}else T++}parseAC3PES(t,n){{const o=n.data,m=n.pts;if(m===void 0){this.logger.warn("[tsdemuxer]: AC3 PES unknown PTS");return}const E=o.length;let T=0,z=0,H;for(;z<E&&(H=vu(t,o,z,m,T++))>0;)z+=H}}parseID3PES(t,n){if(n.pts===void 0){this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const o=y({},n,{type:this._videoTrack?Se.emsg:Se.audioId3,duration:Number.POSITIVE_INFINITY});t.samples.push(o)}}function nr(P,t){return((P[t+1]&31)<<8)+P[t+2]}function Tr(P,t){return(P[t+10]&31)<<8|P[t+11]}function Wr(P,t,n,o,m,E){const T={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},z=(P[t+1]&15)<<8|P[t+2],H=t+3+z-4,j=(P[t+10]&15)<<8|P[t+11];for(t+=12+j;t<H;){const se=nr(P,t),ce=(P[t+3]&15)<<8|P[t+4];switch(P[t]){case 207:if(!o){wn("ADTS AAC",E);break}case 15:T.audioPid===-1&&(T.audioPid=se);break;case 21:T.id3Pid===-1&&(T.id3Pid=se);break;case 219:if(!o){wn("H.264",E);break}case 27:T.videoPid===-1&&(T.videoPid=se);break;case 3:case 4:!n.mpeg&&!n.mp3?E.log("MPEG audio found, not supported in this browser"):T.audioPid===-1&&(T.audioPid=se,T.segmentAudioCodec="mp3");break;case 193:if(!o){wn("AC-3",E);break}case 129:n.ac3?T.audioPid===-1&&(T.audioPid=se,T.segmentAudioCodec="ac3"):E.log("AC-3 audio found, not supported in this browser");break;case 6:if(T.audioPid===-1&&ce>0){let xe=t+5,Ie=ce;for(;Ie>2;){switch(P[xe]){case 106:n.ac3!==!0?E.log("AC-3 audio found, not supported in this browser for now"):(T.audioPid=se,T.segmentAudioCodec="ac3");break}const tt=P[xe+1]+2;xe+=tt,Ie-=tt}}break;case 194:case 135:return an(m,new Error("Unsupported EC-3 in M2TS found"),void 0,E),T;case 36:T.videoPid===-1&&(T.videoPid=se,T.segmentVideoCodec="hevc",E.log("HEVC in M2TS found"));break}t+=ce+5}return T}function an(P,t,n,o){o.warn(`parsing error: ${t.message}`),P.emit(s.ERROR,s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,levelRetry:n,error:t,reason:t.message})}function wn(P,t){t.log(`${P} with AES-128-CBC encryption found in unencrypted stream`)}function Nn(P,t){let n=0,o,m,E,T,z;const H=P.data;if(!P||P.size===0)return null;for(;H[0].length<19&&H.length>1;)H[0]=Gt(H[0],H[1]),H.splice(1,1);if(o=H[0],(o[0]<<16)+(o[1]<<8)+o[2]===1){if(m=(o[4]<<8)+o[5],m&&m>P.size-6)return null;const se=o[7];se&192&&(T=(o[9]&14)*536870912+(o[10]&255)*4194304+(o[11]&254)*16384+(o[12]&255)*128+(o[13]&254)/2,se&64?(z=(o[14]&14)*536870912+(o[15]&255)*4194304+(o[16]&254)*16384+(o[17]&255)*128+(o[18]&254)/2,T-z>54e5&&(t.warn(`${Math.round((T-z)/9e4)}s delta between PTS and DTS, align them`),T=z)):z=T),E=o[8];let ce=E+9;if(P.size<=ce)return null;P.size-=ce;const xe=new Uint8Array(P.size);for(let Ie=0,Oe=H.length;Ie<Oe;Ie++){o=H[Ie];let tt=o.byteLength;if(ce)if(ce>tt){ce-=tt;continue}else o=o.subarray(ce),tt-=ce,ce=0;xe.set(o,n),n+=tt}return m&&(m-=E+3),{data:xe,pts:T,dts:z,len:m}}return null}class Wn{static getSilentFrame(t,n){switch(t){case"mp4a.40.2":if(n===1)return new Uint8Array([0,200,0,128,35,128]);if(n===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(n===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(n===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(n===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(n===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224]);break;default:if(n===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(n===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(n===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);break}}}const pi=Math.pow(2,32)-1;class Sr{static init(){Sr.types={avc1:[],avcC:[],hvc1:[],hvcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],dac3:[],"ac-3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]};let t;for(t in Sr.types)Sr.types.hasOwnProperty(t)&&(Sr.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);const n=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),o=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);Sr.HDLR_TYPES={video:n,audio:o};const m=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),E=new Uint8Array([0,0,0,0,0,0,0,0]);Sr.STTS=Sr.STSC=Sr.STCO=E,Sr.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Sr.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),Sr.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Sr.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const T=new Uint8Array([105,115,111,109]),z=new Uint8Array([97,118,99,49]),H=new Uint8Array([0,0,0,1]);Sr.FTYP=Sr.box(Sr.types.ftyp,T,H,T,z),Sr.DINF=Sr.box(Sr.types.dinf,Sr.box(Sr.types.dref,m))}static box(t,...n){let o=8,m=n.length;const E=m;for(;m--;)o+=n[m].byteLength;const T=new Uint8Array(o);for(T[0]=o>>24&255,T[1]=o>>16&255,T[2]=o>>8&255,T[3]=o&255,T.set(t,4),m=0,o=8;m<E;m++)T.set(n[m],o),o+=n[m].byteLength;return T}static hdlr(t){return Sr.box(Sr.types.hdlr,Sr.HDLR_TYPES[t])}static mdat(t){return Sr.box(Sr.types.mdat,t)}static mdhd(t,n){n*=t;const o=Math.floor(n/(pi+1)),m=Math.floor(n%(pi+1));return Sr.box(Sr.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,t&255,o>>24,o>>16&255,o>>8&255,o&255,m>>24,m>>16&255,m>>8&255,m&255,85,196,0,0]))}static mdia(t){return Sr.box(Sr.types.mdia,Sr.mdhd(t.timescale||0,t.duration||0),Sr.hdlr(t.type),Sr.minf(t))}static mfhd(t){return Sr.box(Sr.types.mfhd,new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,t&255]))}static minf(t){return t.type==="audio"?Sr.box(Sr.types.minf,Sr.box(Sr.types.smhd,Sr.SMHD),Sr.DINF,Sr.stbl(t)):Sr.box(Sr.types.minf,Sr.box(Sr.types.vmhd,Sr.VMHD),Sr.DINF,Sr.stbl(t))}static moof(t,n,o){return Sr.box(Sr.types.moof,Sr.mfhd(t),Sr.traf(o,n))}static moov(t){let n=t.length;const o=[];for(;n--;)o[n]=Sr.trak(t[n]);return Sr.box.apply(null,[Sr.types.moov,Sr.mvhd(t[0].timescale||0,t[0].duration||0)].concat(o).concat(Sr.mvex(t)))}static mvex(t){let n=t.length;const o=[];for(;n--;)o[n]=Sr.trex(t[n]);return Sr.box.apply(null,[Sr.types.mvex,...o])}static mvhd(t,n){n*=t;const o=Math.floor(n/(pi+1)),m=Math.floor(n%(pi+1)),E=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,t&255,o>>24,o>>16&255,o>>8&255,o&255,m>>24,m>>16&255,m>>8&255,m&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return Sr.box(Sr.types.mvhd,E)}static sdtp(t){const n=t.samples||[],o=new Uint8Array(4+n.length);let m,E;for(m=0;m<n.length;m++)E=n[m].flags,o[m+4]=E.dependsOn<<4|E.isDependedOn<<2|E.hasRedundancy;return Sr.box(Sr.types.sdtp,o)}static stbl(t){return Sr.box(Sr.types.stbl,Sr.stsd(t),Sr.box(Sr.types.stts,Sr.STTS),Sr.box(Sr.types.stsc,Sr.STSC),Sr.box(Sr.types.stsz,Sr.STSZ),Sr.box(Sr.types.stco,Sr.STCO))}static avc1(t){let n=[],o=[],m,E,T;for(m=0;m<t.sps.length;m++)E=t.sps[m],T=E.byteLength,n.push(T>>>8&255),n.push(T&255),n=n.concat(Array.prototype.slice.call(E));for(m=0;m<t.pps.length;m++)E=t.pps[m],T=E.byteLength,o.push(T>>>8&255),o.push(T&255),o=o.concat(Array.prototype.slice.call(E));const z=Sr.box(Sr.types.avcC,new Uint8Array([1,n[3],n[4],n[5],255,224|t.sps.length].concat(n).concat([t.pps.length]).concat(o))),H=t.width,j=t.height,se=t.pixelRatio[0],ce=t.pixelRatio[1];return Sr.box(Sr.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,H>>8&255,H&255,j>>8&255,j&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),z,Sr.box(Sr.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Sr.box(Sr.types.pasp,new Uint8Array([se>>24,se>>16&255,se>>8&255,se&255,ce>>24,ce>>16&255,ce>>8&255,ce&255])))}static esds(t){const n=t.config;return new Uint8Array([0,0,0,0,3,25,0,1,0,4,17,64,21,0,0,0,0,0,0,0,0,0,0,0,5,2,...n,6,1,2])}static audioStsd(t){const n=t.samplerate||0;return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t.channelCount||0,0,16,0,0,0,0,n>>8&255,n&255,0,0])}static mp4a(t){return Sr.box(Sr.types.mp4a,Sr.audioStsd(t),Sr.box(Sr.types.esds,Sr.esds(t)))}static mp3(t){return Sr.box(Sr.types[".mp3"],Sr.audioStsd(t))}static ac3(t){return Sr.box(Sr.types["ac-3"],Sr.audioStsd(t),Sr.box(Sr.types.dac3,t.config))}static stsd(t){const{segmentCodec:n}=t;if(t.type==="audio"){if(n==="aac")return Sr.box(Sr.types.stsd,Sr.STSD,Sr.mp4a(t));if(n==="ac3"&&t.config)return Sr.box(Sr.types.stsd,Sr.STSD,Sr.ac3(t));if(n==="mp3"&&t.codec==="mp3")return Sr.box(Sr.types.stsd,Sr.STSD,Sr.mp3(t))}else if(t.pps&&t.sps){if(n==="avc")return Sr.box(Sr.types.stsd,Sr.STSD,Sr.avc1(t));if(n==="hevc"&&t.vps)return Sr.box(Sr.types.stsd,Sr.STSD,Sr.hvc1(t))}else throw new Error("video track missing pps or sps");throw new Error(`unsupported ${t.type} segment codec (${n}/${t.codec})`)}static tkhd(t){const n=t.id,o=(t.duration||0)*(t.timescale||0),m=t.width||0,E=t.height||0,T=Math.floor(o/(pi+1)),z=Math.floor(o%(pi+1));return Sr.box(Sr.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,n>>24&255,n>>16&255,n>>8&255,n&255,0,0,0,0,T>>24,T>>16&255,T>>8&255,T&255,z>>24,z>>16&255,z>>8&255,z&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,m>>8&255,m&255,0,0,E>>8&255,E&255,0,0]))}static traf(t,n){const o=Sr.sdtp(t),m=t.id,E=Math.floor(n/(pi+1)),T=Math.floor(n%(pi+1));return Sr.box(Sr.types.traf,Sr.box(Sr.types.tfhd,new Uint8Array([0,0,0,0,m>>24,m>>16&255,m>>8&255,m&255])),Sr.box(Sr.types.tfdt,new Uint8Array([1,0,0,0,E>>24,E>>16&255,E>>8&255,E&255,T>>24,T>>16&255,T>>8&255,T&255])),Sr.trun(t,o.length+16+20+8+16+8+8),o)}static trak(t){return t.duration=t.duration||4294967295,Sr.box(Sr.types.trak,Sr.tkhd(t),Sr.mdia(t))}static trex(t){const n=t.id;return Sr.box(Sr.types.trex,new Uint8Array([0,0,0,0,n>>24,n>>16&255,n>>8&255,n&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))}static trun(t,n){const o=t.samples||[],m=o.length,E=12+16*m,T=new Uint8Array(E);let z,H,j,se,ce,xe;for(n+=8+E,T.set([t.type==="video"?1:0,0,15,1,m>>>24&255,m>>>16&255,m>>>8&255,m&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255],0),z=0;z<m;z++)H=o[z],j=H.duration,se=H.size,ce=H.flags,xe=H.cts,T.set([j>>>24&255,j>>>16&255,j>>>8&255,j&255,se>>>24&255,se>>>16&255,se>>>8&255,se&255,ce.isLeading<<2|ce.dependsOn,ce.isDependedOn<<6|ce.hasRedundancy<<4|ce.paddingValue<<1|ce.isNonSync,ce.degradPrio&61440,ce.degradPrio&15,xe>>>24&255,xe>>>16&255,xe>>>8&255,xe&255],12+16*z);return Sr.box(Sr.types.trun,T)}static initSegment(t){Sr.types||Sr.init();const n=Sr.moov(t);return Gt(Sr.FTYP,n)}static hvc1(t){const n=t.params,o=[t.vps,t.sps,t.pps],m=4,E=new Uint8Array([1,n.general_profile_space<<6|(n.general_tier_flag?32:0)|n.general_profile_idc,n.general_profile_compatibility_flags[0],n.general_profile_compatibility_flags[1],n.general_profile_compatibility_flags[2],n.general_profile_compatibility_flags[3],n.general_constraint_indicator_flags[0],n.general_constraint_indicator_flags[1],n.general_constraint_indicator_flags[2],n.general_constraint_indicator_flags[3],n.general_constraint_indicator_flags[4],n.general_constraint_indicator_flags[5],n.general_level_idc,240|n.min_spatial_segmentation_idc>>8,255&n.min_spatial_segmentation_idc,252|n.parallelismType,252|n.chroma_format_idc,248|n.bit_depth_luma_minus8,248|n.bit_depth_chroma_minus8,0,parseInt(n.frame_rate.fps),m-1|n.temporal_id_nested<<2|n.num_temporal_layers<<3|(n.frame_rate.fixed?64:0),o.length]);let T=E.length;for(let Oe=0;Oe<o.length;Oe+=1){T+=3;for(let tt=0;tt<o[Oe].length;tt+=1)T+=2+o[Oe][tt].length}const z=new Uint8Array(T);z.set(E,0),T=E.length;const H=o.length-1;for(let Oe=0;Oe<o.length;Oe+=1){z.set(new Uint8Array([32+Oe|(Oe===H?128:0),0,o[Oe].length]),T),T+=3;for(let tt=0;tt<o[Oe].length;tt+=1)z.set(new Uint8Array([o[Oe][tt].length>>8,o[Oe][tt].length&255]),T),T+=2,z.set(o[Oe][tt],T),T+=o[Oe][tt].length}const j=Sr.box(Sr.types.hvcC,z),se=t.width,ce=t.height,xe=t.pixelRatio[0],Ie=t.pixelRatio[1];return Sr.box(Sr.types.hvc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,se>>8&255,se&255,ce>>8&255,ce&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),j,Sr.box(Sr.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Sr.box(Sr.types.pasp,new Uint8Array([xe>>24,xe>>16&255,xe>>8&255,xe&255,Ie>>24,Ie>>16&255,Ie>>8&255,Ie&255])))}}Sr.types=void 0,Sr.HDLR_TYPES=void 0,Sr.STTS=void 0,Sr.STSC=void 0,Sr.STCO=void 0,Sr.STSZ=void 0,Sr.VMHD=void 0,Sr.SMHD=void 0,Sr.STSD=void 0,Sr.FTYP=void 0,Sr.DINF=void 0;const aa=9e4;function sa(P,t,n=1,o=!1){const m=P*t*n;return o?Math.round(m):m}function is(P,t,n=1,o=!1){return sa(P,t,1/n,o)}function Za(P,t=!1){return sa(P,1e3,1/aa,t)}function ws(P,t=1){return sa(P,aa,1/t)}const as=10*1e3,Aa=1024,Fs=1152,Rs=1536;let fi=null,Qs=null;function po(P,t,n,o){return{duration:t,size:n,cts:o,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:P?2:1,isNonSync:P?0:1}}}class Oo{constructor(t,n,o,m){if(this.logger=void 0,this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextAvcDts=null,this.nextAudioPts=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=t,this.config=n,this.typeSupported=o,this.logger=m,this.ISGenerated=!1,fi===null){const T=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);fi=T?parseInt(T[1]):0}if(Qs===null){const E=navigator.userAgent.match(/Safari\/(\d+)/i);Qs=E?parseInt(E[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(t){this.logger.log("[mp4-remuxer]: initPTS & initDTS reset"),this._initPTS=this._initDTS=t}resetNextTimestamp(){this.logger.log("[mp4-remuxer]: reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){this.logger.log("[mp4-remuxer]: ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(t){let n=!1;const o=t[0].pts,m=t.reduce((E,T)=>{let z=T.pts,H=z-E;return H<-4294967296&&(n=!0,z=za(z,o),H=z-E),H>0?E:z},o);return n&&this.logger.debug("PTS rollover detected"),m}remux(t,n,o,m,E,T,z,H){let j,se,ce,xe,Ie,Oe,tt=E,at=E;const Nt=t.pid>-1,dr=n.pid>-1,ar=n.samples.length,Zr=t.samples.length>0,Gr=z&&ar>0||ar>1;if((!Nt||Zr)&&(!dr||Gr)||this.ISGenerated||z){if(this.ISGenerated){var Vr,on,_n,Xr;const ya=this.videoTrackConfig;(ya&&(n.width!==ya.width||n.height!==ya.height||((Vr=n.pixelRatio)==null?void 0:Vr[0])!==((on=ya.pixelRatio)==null?void 0:on[0])||((_n=n.pixelRatio)==null?void 0:_n[1])!==((Xr=ya.pixelRatio)==null?void 0:Xr[1]))||!ya&&Gr||this.nextAudioPts===null&&Zr)&&this.resetInitSegment()}this.ISGenerated||(ce=this.generateIS(t,n,E,T));const Yn=this.isVideoContiguous;let di=-1,os;if(Gr&&(di=Eo(n.samples),!Yn&&this.config.forceKeyFrameOnDiscontinuity))if(Oe=!0,di>0){this.logger.warn(`[mp4-remuxer]: Dropped ${di} out of ${ar} video samples due to a missing keyframe`);const ya=this.getVideoStartPts(n.samples);n.samples=n.samples.slice(di),n.dropped+=di,at+=(n.samples[0].pts-ya)/n.inputTimeScale,os=at}else di===-1&&(this.logger.warn(`[mp4-remuxer]: No keyframe found out of ${ar} video samples`),Oe=!1);if(this.ISGenerated){if(Zr&&Gr){const ya=this.getVideoStartPts(n.samples),Ri=(za(t.samples[0].pts,ya)-ya)/n.inputTimeScale;tt+=Math.max(0,Ri),at+=Math.max(0,-Ri)}if(Zr){if(t.samplerate||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),ce=this.generateIS(t,n,E,T)),se=this.remuxAudio(t,tt,this.isAudioContiguous,T,dr||Gr||H===u.AUDIO?at:void 0),Gr){const ya=se?se.endPTS-se.startPTS:0;n.inputTimeScale||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),ce=this.generateIS(t,n,E,T)),j=this.remuxVideo(n,at,Yn,ya)}}else Gr&&(j=this.remuxVideo(n,at,Yn,0));j&&(j.firstKeyFrame=di,j.independent=di!==-1,j.firstKeyFramePTS=os)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(o.samples.length&&(Ie=zs(o,E,this._initPTS,this._initDTS)),m.samples.length&&(xe=Al(m,E,this._initPTS))),{audio:se,video:j,initSegment:ce,independent:Oe,text:xe,id3:Ie}}generateIS(t,n,o,m){const E=t.samples,T=n.samples,z=this.typeSupported,H={},j=this._initPTS;let se=!j||m,ce="audio/mp4",xe,Ie,Oe;if(se&&(xe=Ie=1/0),t.config&&E.length){switch(t.timescale=t.samplerate,t.segmentCodec){case"mp3":z.mpeg?(ce="audio/mpeg",t.codec=""):z.mp3&&(t.codec="mp3");break;case"ac3":t.codec="ac-3";break}H.audio={id:"audio",container:ce,codec:t.codec,initSegment:t.segmentCodec==="mp3"&&z.mpeg?new Uint8Array(0):Sr.initSegment([t]),metadata:{channelCount:t.channelCount}},se&&(Oe=t.inputTimeScale,!j||Oe!==j.timescale?xe=Ie=E[0].pts-Math.round(Oe*o):se=!1)}if(n.sps&&n.pps&&T.length){if(n.timescale=n.inputTimeScale,H.video={id:"main",container:"video/mp4",codec:n.codec,initSegment:Sr.initSegment([n]),metadata:{width:n.width,height:n.height}},se)if(Oe=n.inputTimeScale,!j||Oe!==j.timescale){const tt=this.getVideoStartPts(T),at=Math.round(Oe*o);Ie=Math.min(Ie,za(T[0].dts,tt)-at),xe=Math.min(xe,tt-at)}else se=!1;this.videoTrackConfig={width:n.width,height:n.height,pixelRatio:n.pixelRatio}}if(Object.keys(H).length)return this.ISGenerated=!0,se?(this._initPTS={baseTime:xe,timescale:Oe},this._initDTS={baseTime:Ie,timescale:Oe}):xe=Oe=void 0,{tracks:H,initPTS:xe,timescale:Oe}}remuxVideo(t,n,o,m){const E=t.inputTimeScale,T=t.samples,z=[],H=T.length,j=this._initPTS;let se=this.nextAvcDts,ce=8,xe=this.videoSampleDuration,Ie,Oe,tt=Number.POSITIVE_INFINITY,at=Number.NEGATIVE_INFINITY,Nt=!1;if(!o||se===null){const Xn=n*E,ii=T[0].pts-za(T[0].dts,T[0].pts);fi&&se!==null&&Math.abs(Xn-ii-se)<15e3?o=!0:se=Xn-ii}const dr=j.baseTime*E/j.timescale;for(let Xn=0;Xn<H;Xn++){const ii=T[Xn];ii.pts=za(ii.pts-dr,se),ii.dts=za(ii.dts-dr,se),ii.dts<T[Xn>0?Xn-1:Xn].dts&&(Nt=!0)}Nt&&T.sort(function(Xn,ii){const wa=Xn.dts-ii.dts,Sa=Xn.pts-ii.pts;return wa||Sa}),Ie=T[0].dts,Oe=T[T.length-1].dts;const ar=Oe-Ie,Zr=ar?Math.round(ar/(H-1)):xe||t.inputTimeScale/30;if(o){const Xn=Ie-se,ii=Xn>Zr,wa=Xn<-1;if((ii||wa)&&(ii?this.logger.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Za(Xn,!0)} ms (${Xn}dts) hole between fragments detected at ${n.toFixed(3)}`):this.logger.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Za(-Xn,!0)} ms (${Xn}dts) overlapping between fragments detected at ${n.toFixed(3)}`),!wa||se>=T[0].pts||fi)){Ie=se;const Sa=T[0].pts-Xn;if(ii)T[0].dts=Ie,T[0].pts=Sa;else{let ts=!0;for(let Cs=0;Cs<T.length&&!(T[Cs].dts>Sa&&ts);Cs++){const js=T[Cs].pts;if(T[Cs].dts-=Xn,T[Cs].pts-=Xn,Cs<T.length-1){const ao=T[Cs+1].pts,Qu=T[Cs].pts,dl=ao<=Qu,af=ao<=js;ts=dl==af}}}this.logger.log(`Video: Initial PTS/DTS adjusted: ${Za(Sa,!0)}/${Za(Ie,!0)}, delta: ${Za(Xn,!0)} ms`)}}Ie=Math.max(0,Ie);let Gr=0,fn=0,Vr=Ie;for(let Xn=0;Xn<H;Xn++){const ii=T[Xn],wa=ii.units,Sa=wa.length;let ts=0;for(let Cs=0;Cs<Sa;Cs++)ts+=wa[Cs].data.length;fn+=ts,Gr+=Sa,ii.length=ts,ii.dts<Vr?(ii.dts=Vr,Vr+=Zr/4|0||1):Vr=ii.dts,tt=Math.min(ii.pts,tt),at=Math.max(ii.pts,at)}Oe=T[H-1].dts;const on=fn+4*Gr+8;let _n;try{_n=new Uint8Array(on)}catch(Xn){this.observer.emit(s.ERROR,s.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:Xn,bytes:on,reason:`fail allocating video mdat ${on}`});return}const Xr=new DataView(_n.buffer);Xr.setUint32(0,on),_n.set(Sr.types.mdat,4);let Yn=!1,di=Number.POSITIVE_INFINITY,os=Number.POSITIVE_INFINITY,ya=Number.NEGATIVE_INFINITY,Ji=Number.NEGATIVE_INFINITY;for(let Xn=0;Xn<H;Xn++){const ii=T[Xn],wa=ii.units;let Sa=0;for(let js=0,ao=wa.length;js<ao;js++){const Qu=wa[js],dl=Qu.data,af=Qu.data.byteLength;Xr.setUint32(ce,af),ce+=4,_n.set(dl,ce),ce+=af,Sa+=4+af}let ts;if(Xn<H-1)xe=T[Xn+1].dts-ii.dts,ts=T[Xn+1].pts-ii.pts;else{const js=this.config,ao=Xn>0?ii.dts-T[Xn-1].dts:Zr;if(ts=Xn>0?ii.pts-T[Xn-1].pts:Zr,js.stretchShortVideoTrack&&this.nextAudioPts!==null){const Qu=Math.floor(js.maxBufferHole*E),dl=(m?tt+m*E:this.nextAudioPts)-ii.pts;dl>Qu?(xe=dl-ao,xe<0?xe=ao:Yn=!0,this.logger.log(`[mp4-remuxer]: It is approximately ${dl/90} ms to the next segment; using duration ${xe/90} ms for the last video frame.`)):xe=ao}else xe=ao}const Cs=Math.round(ii.pts-ii.dts);di=Math.min(di,xe),ya=Math.max(ya,xe),os=Math.min(os,ts),Ji=Math.max(Ji,ts),z.push(po(ii.key,xe,Sa,Cs))}if(z.length){if(fi){if(fi<70){const Xn=z[0].flags;Xn.dependsOn=2,Xn.isNonSync=0}}else if(Qs&&Ji-os<ya-di&&Zr/ya<.025&&z[0].cts===0){this.logger.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let Xn=Ie;for(let ii=0,wa=z.length;ii<wa;ii++){const Sa=Xn+z[ii].duration,ts=Xn+z[ii].cts;if(ii<wa-1){const Cs=Sa+z[ii+1].cts;z[ii].duration=Cs-ts}else z[ii].duration=ii?z[ii-1].duration:Zr;z[ii].cts=0,Xn=Sa}}}xe=Yn||!xe?Zr:xe,this.nextAvcDts=se=Oe+xe,this.videoSampleDuration=xe,this.isVideoContiguous=!0;const qi={data1:Sr.moof(t.sequenceNumber++,Ie,y(t,{samples:z})),data2:_n,startPTS:tt/E,endPTS:(at+xe)/E,startDTS:Ie/E,endDTS:se/E,type:"video",hasAudio:!1,hasVideo:!0,nb:z.length,dropped:t.dropped};return t.samples=[],t.dropped=0,qi}getSamplesPerFrame(t){switch(t.segmentCodec){case"mp3":return Fs;case"ac3":return Rs;default:return Aa}}remuxAudio(t,n,o,m,E){const T=t.inputTimeScale,z=t.samplerate?t.samplerate:T,H=T/z,j=this.getSamplesPerFrame(t),se=j*H,ce=this._initPTS,xe=t.segmentCodec==="mp3"&&this.typeSupported.mpeg,Ie=[],Oe=E!==void 0;let tt=t.samples,at=xe?0:8,Nt=this.nextAudioPts||-1;const dr=n*T,ar=ce.baseTime*T/ce.timescale;if(this.isAudioContiguous=o=o||tt.length&&Nt>0&&(m&&Math.abs(dr-Nt)<9e3||Math.abs(za(tt[0].pts-ar,dr)-Nt)<20*se),tt.forEach(function(Ri){Ri.pts=za(Ri.pts-ar,dr)}),!o||Nt<0){if(tt=tt.filter(Ri=>Ri.pts>=0),!tt.length)return;E===0?Nt=0:m&&!Oe?Nt=Math.max(0,dr):Nt=tt[0].pts}if(t.segmentCodec==="aac"){const Ri=this.config.maxAudioFramesDrift;for(let ta=0,qi=Nt;ta<tt.length;ta++){const Xn=tt[ta],ii=Xn.pts,wa=ii-qi,Sa=Math.abs(1e3*wa/T);if(wa<=-Ri*se&&Oe)ta===0&&(this.logger.warn(`Audio frame @ ${(ii/T).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3*wa/T)} ms.`),this.nextAudioPts=Nt=qi=ii);else if(wa>=Ri*se&&Sa<as&&Oe){let ts=Math.round(wa/se);qi=ii-ts*se,qi<0&&(ts--,qi+=se),ta===0&&(this.nextAudioPts=Nt=qi),this.logger.warn(`[mp4-remuxer]: Injecting ${ts} audio frame @ ${(qi/T).toFixed(3)}s due to ${Math.round(1e3*wa/T)} ms gap.`);for(let Cs=0;Cs<ts;Cs++){const js=Math.max(qi,0);let ao=Wn.getSilentFrame(t.parsedCodec||t.manifestCodec||t.codec,t.channelCount);ao||(this.logger.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."),ao=Xn.unit.subarray()),tt.splice(ta,0,{unit:ao,pts:js}),qi+=se,ta++}}Xn.pts=qi,qi+=se}}let Zr=null,Gr=null,fn,Vr=0,on=tt.length;for(;on--;)Vr+=tt[on].unit.byteLength;for(let Ri=0,ta=tt.length;Ri<ta;Ri++){const qi=tt[Ri],Xn=qi.unit;let ii=qi.pts;if(Gr!==null){const Sa=Ie[Ri-1];Sa.duration=Math.round((ii-Gr)/H)}else if(o&&t.segmentCodec==="aac"&&(ii=Nt),Zr=ii,Vr>0){Vr+=at;try{fn=new Uint8Array(Vr)}catch(Sa){this.observer.emit(s.ERROR,s.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:Sa,bytes:Vr,reason:`fail allocating audio mdat ${Vr}`});return}xe||(new DataView(fn.buffer).setUint32(0,Vr),fn.set(Sr.types.mdat,4))}else return;fn.set(Xn,at);const wa=Xn.byteLength;at+=wa,Ie.push(po(!0,j,wa,0)),Gr=ii}const _n=Ie.length;if(!_n)return;const Xr=Ie[Ie.length-1];this.nextAudioPts=Nt=Gr+H*Xr.duration;const Yn=xe?new Uint8Array(0):Sr.moof(t.sequenceNumber++,Zr/H,y({},t,{samples:Ie}));t.samples=[];const di=Zr/T,os=Nt/T,Ji={data1:Yn,data2:fn,startPTS:di,endPTS:os,startDTS:di,endDTS:os,type:"audio",hasAudio:!0,hasVideo:!1,nb:_n};return this.isAudioContiguous=!0,Ji}}function za(P,t){let n;if(t===null)return P;for(t<P?n=-8589934592:n=8589934592;Math.abs(P-t)>4294967296;)P+=n;return P}function Eo(P){for(let t=0;t<P.length;t++)if(P[t].key)return t;return-1}function zs(P,t,n,o){const m=P.samples.length;if(!m)return;const E=P.inputTimeScale;for(let z=0;z<m;z++){const H=P.samples[z];H.pts=za(H.pts-n.baseTime*E/n.timescale,t*E)/E,H.dts=za(H.dts-o.baseTime*E/o.timescale,t*E)/E}const T=P.samples;return P.samples=[],{samples:T}}function Al(P,t,n){const o=P.samples.length;if(!o)return;const m=P.inputTimeScale;for(let T=0;T<o;T++){const z=P.samples[T];z.pts=za(z.pts-n.baseTime*m/n.timescale,t*m)/m}P.samples.sort((T,z)=>T.pts-z.pts);const E=P.samples;return P.samples=[],{samples:E}}class Ju{constructor(t,n,o,m){this.logger=void 0,this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null,this.logger=m}destroy(){}resetTimeStamp(t){this.initPTS=t,this.lastEndTime=null}resetNextTimestamp(){this.lastEndTime=null}resetInitSegment(t,n,o,m){this.audioCodec=n,this.videoCodec=o,this.generateInitSegment(He(t,m)),this.emitInitSegment=!0}generateInitSegment(t){let{audioCodec:n,videoCodec:o}=this;if(!(t!=null&&t.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const m=this.initData=Je(t);m.audio&&(n=gu(m.audio,M.AUDIO)),m.video&&(o=gu(m.video,M.VIDEO));const E={};m.audio&&m.video?E.audiovideo={container:"video/mp4",codec:n+","+o,supplemental:m.video.supplemental,initSegment:t,id:"main"}:m.audio?E.audio={container:"audio/mp4",codec:n,initSegment:t,id:"audio"}:m.video?E.video={container:"video/mp4",codec:o,supplemental:m.video.supplemental,initSegment:t,id:"main"}:this.logger.warn("[passthrough-remuxer.ts]: initSegment does not contain moov or trak boxes."),this.initTracks=E}remux(t,n,o,m,E,T){var z,H;let{initPTS:j,lastEndTime:se}=this;const ce={audio:void 0,video:void 0,text:m,id3:o,initSegment:void 0};r(se)||(se=this.lastEndTime=E||0);const xe=n.samples;if(!(xe!=null&&xe.length))return ce;const Ie={initPTS:void 0,timescale:1};let Oe=this.initData;if((z=Oe)!=null&&z.length||(this.generateInitSegment(xe),Oe=this.initData),!((H=Oe)!=null&&H.length))return this.logger.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),ce;this.emitInitSegment&&(Ie.tracks=this.initTracks,this.emitInitSegment=!1);const tt=Vt(xe,Oe),at=ct(Oe,xe),Nt=at===null?E:at;(T||!j)&&(el(j,Nt,E,tt)||Ie.timescale!==j.timescale)&&(Ie.initPTS=Nt-E,j&&j.timescale===1&&this.logger.warn(`Adjusting initPTS @${E} from ${j.baseTime/j.timescale} to ${Ie.initPTS}`),this.initPTS=j={baseTime:Ie.initPTS,timescale:1});const dr=t?Nt-j.baseTime/j.timescale:se,ar=dr+tt;De(Oe,xe,j.baseTime/j.timescale),tt>0?this.lastEndTime=ar:(this.logger.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const Zr=!!Oe.audio,Gr=!!Oe.video;let fn="";Zr&&(fn+="audio"),Gr&&(fn+="video");const Vr={data1:xe,startPTS:dr,startDTS:dr,endPTS:ar,endDTS:ar,type:fn,hasAudio:Zr,hasVideo:Gr,nb:1,dropped:0};return ce.audio=Vr.type==="audio"?Vr:void 0,ce.video=Vr.type!=="audio"?Vr:void 0,ce.initSegment=Ie,ce.id3=zs(o,E,j,j),m.samples.length&&(ce.text=Al(m,E,j)),ce}}function el(P,t,n,o){if(P===null)return!0;const m=Math.max(o,1),E=t-P.baseTime/P.timescale;return Math.abs(E-n)>m}function gu(P,t){const n=P==null?void 0:P.codec;return n&&n.length>4?n:t===M.AUDIO?n==="ec-3"||n==="ac-3"||n==="alac"?n:n==="fLaC"||n==="Opus"?At(n,!1):(G.warn(`Unhandled audio codec "${n}" in mp4 MAP`),n||"mp4a"):(G.warn(`Unhandled video codec "${n}" in mp4 MAP`),n||"avc1")}let ss;try{ss=self.performance.now.bind(self.performance)}catch(P){ss=Date.now}const uu=[{demux:Ve,remux:Ju},{demux:Bt,remux:Oo},{demux:eu,remux:Oo},{demux:Uc,remux:Oo}];uu.splice(2,0,{demux:qu,remux:Oo});class yu{constructor(t,n,o,m,E,T){this.asyncResult=!1,this.logger=void 0,this.observer=void 0,this.typeSupported=void 0,this.config=void 0,this.id=void 0,this.demuxer=void 0,this.remuxer=void 0,this.decrypter=void 0,this.probe=void 0,this.decryptionPromise=null,this.transmuxConfig=void 0,this.currentTransmuxState=void 0,this.observer=t,this.typeSupported=n,this.config=o,this.id=E,this.logger=T}configure(t){this.transmuxConfig=t,this.decrypter&&this.decrypter.reset()}push(t,n,o,m){const E=o.transmuxing;E.executeStart=ss();let T=new Uint8Array(t);const{currentTransmuxState:z,transmuxConfig:H}=this;m&&(this.currentTransmuxState=m);const{contiguous:j,discontinuity:se,trackSwitch:ce,accurateTimeOffset:xe,timeOffset:Ie,initSegmentChange:Oe}=m||z,{audioCodec:tt,videoCodec:at,defaultInitPts:Nt,duration:dr,initSegmentData:ar}=H,Zr=wo(T,n);if(Zr&&Ia(Zr.method)){const on=this.getDecrypter(),_n=Da(Zr.method);if(on.isSync()){let Xr=on.softwareDecrypt(T,Zr.key.buffer,Zr.iv.buffer,_n);if(o.part>-1){const di=on.flush();Xr=di&&di.buffer}if(!Xr)return E.executeEnd=ss(),tl(o);T=new Uint8Array(Xr)}else return this.asyncResult=!0,this.decryptionPromise=on.webCryptoDecrypt(T,Zr.key.buffer,Zr.iv.buffer,_n).then(Xr=>{const Yn=this.push(Xr,null,o);return this.decryptionPromise=null,Yn}),this.decryptionPromise}const Gr=this.needsProbing(se,ce);if(Gr){const on=this.configureTransmuxer(T);if(on)return this.logger.warn(`[transmuxer] ${on.message}`),this.observer.emit(s.ERROR,s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:on,reason:on.message}),E.executeEnd=ss(),tl(o)}(se||ce||Oe||Gr)&&this.resetInitSegment(ar,tt,at,dr,n),(se||Oe||Gr)&&this.resetInitialTimestamp(Nt),j||this.resetContiguity();const fn=this.transmux(T,Zr,Ie,xe,o);this.asyncResult=Iu(fn);const Vr=this.currentTransmuxState;return Vr.contiguous=!0,Vr.discontinuity=!1,Vr.trackSwitch=!1,E.executeEnd=ss(),fn}flush(t){const n=t.transmuxing;n.executeStart=ss();const{decrypter:o,currentTransmuxState:m,decryptionPromise:E}=this;if(E)return this.asyncResult=!0,E.then(()=>this.flush(t));const T=[],{timeOffset:z}=m;if(o){const ce=o.flush();ce&&T.push(this.push(ce.buffer,null,t))}const{demuxer:H,remuxer:j}=this;if(!H||!j){n.executeEnd=ss();const ce=[tl(t)];return this.asyncResult?Promise.resolve(ce):ce}const se=H.flush(z);return Iu(se)?(this.asyncResult=!0,se.then(ce=>(this.flushRemux(T,ce,t),T))):(this.flushRemux(T,se,t),this.asyncResult?Promise.resolve(T):T)}flushRemux(t,n,o){const{audioTrack:m,videoTrack:E,id3Track:T,textTrack:z}=n,{accurateTimeOffset:H,timeOffset:j}=this.currentTransmuxState;this.logger.log(`[transmuxer.ts]: Flushed ${this.id} sn: ${o.sn}${o.part>-1?" part: "+o.part:""} of ${this.id===u.MAIN?"level":"track"} ${o.level}`);const se=this.remuxer.remux(m,E,T,z,j,H,!0,this.id);t.push({remuxResult:se,chunkMeta:o}),o.transmuxing.executeEnd=ss()}resetInitialTimestamp(t){const{demuxer:n,remuxer:o}=this;!n||!o||(n.resetTimeStamp(t),o.resetTimeStamp(t))}resetContiguity(){const{demuxer:t,remuxer:n}=this;!t||!n||(t.resetContiguity(),n.resetNextTimestamp())}resetInitSegment(t,n,o,m,E){const{demuxer:T,remuxer:z}=this;!T||!z||(T.resetInitSegment(t,n,o,m),z.resetInitSegment(t,n,o,E))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(t,n,o,m,E){let T;return n&&n.method==="SAMPLE-AES"?T=this.transmuxSampleAes(t,n,o,m,E):T=this.transmuxUnencrypted(t,o,m,E),T}transmuxUnencrypted(t,n,o,m){const{audioTrack:E,videoTrack:T,id3Track:z,textTrack:H}=this.demuxer.demux(t,n,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(E,T,z,H,n,o,!1,this.id),chunkMeta:m}}transmuxSampleAes(t,n,o,m,E){return this.demuxer.demuxSampleAes(t,n,o).then(T=>({remuxResult:this.remuxer.remux(T.audioTrack,T.videoTrack,T.id3Track,T.textTrack,o,m,!1,this.id),chunkMeta:E}))}configureTransmuxer(t){const{config:n,observer:o,typeSupported:m}=this;let E;for(let ce=0,xe=uu.length;ce<xe;ce++){var T;if((T=uu[ce].demux)!=null&&T.probe(t,this.logger)){E=uu[ce];break}}if(!E)return new Error("Failed to find demuxer by probing fragment data");const z=this.demuxer,H=this.remuxer,j=E.remux,se=E.demux;(!H||!(H instanceof j))&&(this.remuxer=new j(o,n,m,this.logger)),(!z||!(z instanceof se))&&(this.demuxer=new se(o,n,m,this.logger),this.probe=se.probe)}needsProbing(t,n){return!this.demuxer||!this.remuxer||t||n}getDecrypter(){let t=this.decrypter;return t||(t=this.decrypter=new pn(this.config)),t}}function wo(P,t){let n=null;return P.byteLength>0&&(t==null?void 0:t.key)!=null&&t.iv!==null&&t.method!=null&&(n=t),n}const tl=P=>({remuxResult:{},chunkMeta:P});function Iu(P){return"then"in P&&P.then instanceof Function}class Yo{constructor(t,n,o,m,E){this.audioCodec=void 0,this.videoCodec=void 0,this.initSegmentData=void 0,this.duration=void 0,this.defaultInitPts=void 0,this.audioCodec=t,this.videoCodec=n,this.initSegmentData=o,this.duration=m,this.defaultInitPts=E||null}}class zl{constructor(t,n,o,m,E,T){this.discontinuity=void 0,this.contiguous=void 0,this.accurateTimeOffset=void 0,this.trackSwitch=void 0,this.timeOffset=void 0,this.initSegmentChange=void 0,this.discontinuity=t,this.contiguous=n,this.accurateTimeOffset=o,this.trackSwitch=m,this.timeOffset=E,this.initSegmentChange=T}}let Zs=0;class Uo{constructor(t,n,o,m){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=Zs++,this.observer=void 0,this.frag=null,this.part=null,this.useWorker=void 0,this.workerContext=null,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0,this.onWorkerMessage=H=>{const j=H.data,se=this.hls;if(!(!se||!(j!=null&&j.event)||j.instanceNo!==this.instanceNo))switch(j.event){case"init":{var ce;const xe=(ce=this.workerContext)==null?void 0:ce.objectURL;xe&&self.URL.revokeObjectURL(xe);break}case"transmuxComplete":{this.handleTransmuxComplete(j.data);break}case"flush":{this.onFlush(j.data);break}case"workerLog":{se.logger[j.data.logType]&&se.logger[j.data.logType](j.data.message);break}default:{j.data=j.data||{},j.data.frag=this.frag,j.data.part=this.part,j.data.id=this.id,se.trigger(j.event,j.data);break}}},this.onWorkerError=H=>{if(!this.hls)return;const j=new Error(`${H.message} (${H.filename}:${H.lineno})`);this.hls.config.enableWorker=!1,this.hls.logger.warn(`Error in "${this.id}" Web Worker, fallback to inline`),this.hls.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:j})};const E=t.config;this.hls=t,this.id=n,this.useWorker=!!E.enableWorker,this.onTransmuxComplete=o,this.onFlush=m;const T=(H,j)=>{j=j||{},j.frag=this.frag||void 0,H===s.ERROR&&(j=j,j.parent=this.id,j.part=this.part,this.error=j.error),this.hls.trigger(H,j)};this.observer=new ks,this.observer.on(s.FRAG_DECRYPTED,T),this.observer.on(s.ERROR,T);const z=_r(E.preferManagedMediaSource);if(this.useWorker&&typeof Worker!="undefined"){const H=this.hls.logger;if(E.workerPath||Ns()){try{E.workerPath?(H.log(`loading Web Worker ${E.workerPath} for "${n}"`),this.workerContext=Qe(E.workerPath)):(H.log(`injecting Web Worker for "${n}"`),this.workerContext=Ye());const{worker:se}=this.workerContext;se.addEventListener("message",this.onWorkerMessage),se.addEventListener("error",this.onWorkerError),se.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:z,id:n,config:jn(E)})}catch(se){H.warn(`Error setting up "${n}" Web Worker, fallback to inline`,se),this.terminateWorker(),this.error=null,this.transmuxer=new yu(this.observer,z,E,"",n,t.logger)}return}}this.transmuxer=new yu(this.observer,z,E,"",n,t.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const t=this.instanceNo;this.instanceNo=Zs++;const n=this.hls.config,o=_r(n.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:t,typeSupported:o,id:this.id,config:jn(n)})}}terminateWorker(){if(this.workerContext){const{worker:t}=this.workerContext;this.workerContext=null,t.removeEventListener("message",this.onWorkerMessage),t.removeEventListener("error",this.onWorkerError),Mt(this.hls.config.workerPath)}}destroy(){if(this.workerContext)this.terminateWorker(),this.onWorkerMessage=this.onWorkerError=null;else{const n=this.transmuxer;n&&(n.destroy(),this.transmuxer=null)}const t=this.observer;t&&t.removeAllListeners(),this.frag=null,this.part=null,this.observer=null,this.hls=null}push(t,n,o,m,E,T,z,H,j,se){var ce,xe;j.transmuxing.start=self.performance.now();const{instanceNo:Ie,transmuxer:Oe}=this,tt=T?T.start:E.start,at=E.decryptdata,Nt=this.frag,dr=!(Nt&&E.cc===Nt.cc),ar=!(Nt&&j.level===Nt.level),Zr=Nt?j.sn-Nt.sn:-1,Gr=this.part?j.part-this.part.index:-1,fn=Zr===0&&j.id>1&&j.id===(Nt==null?void 0:Nt.stats.chunkCount),Vr=!ar&&(Zr===1||Zr===0&&(Gr===1||fn&&Gr<=0)),on=self.performance.now();(ar||Zr||E.stats.parsing.start===0)&&(E.stats.parsing.start=on),T&&(Gr||!Vr)&&(T.stats.parsing.start=on);const _n=!(Nt&&((ce=E.initSegment)==null?void 0:ce.url)===((xe=Nt.initSegment)==null?void 0:xe.url)),Xr=new zl(dr,Vr,H,ar,tt,_n);if(!Vr||dr||_n){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${E.type} sn: ${j.sn}${j.part>-1?" part: "+j.part:""} ${this.id===u.MAIN?"level":"track"}: ${j.level} id: ${j.id}
discontinuity: ${dr}
trackSwitch: ${ar}
contiguous: ${Vr}
accurateTimeOffset: ${H}
timeOffset: ${tt}
initSegmentChange: ${_n}`);const Yn=new Yo(o,m,n,z,se);this.configureTransmuxer(Yn)}if(this.frag=E,this.part=T,this.workerContext)this.workerContext.worker.postMessage({instanceNo:Ie,cmd:"demux",data:t,decryptdata:at,chunkMeta:j,state:Xr},t instanceof ArrayBuffer?[t]:[]);else if(Oe){const Yn=Oe.push(t,at,j,Xr);Iu(Yn)?Yn.then(di=>{this.handleTransmuxComplete(di)}).catch(di=>{this.transmuxerError(di,j,"transmuxer-interface push error")}):this.handleTransmuxComplete(Yn)}}flush(t){t.transmuxing.start=self.performance.now();const{instanceNo:n,transmuxer:o}=this;if(this.workerContext)this.workerContext.worker.postMessage({instanceNo:n,cmd:"flush",chunkMeta:t});else if(o){const m=o.flush(t);Iu(m)?m.then(E=>{this.handleFlushResult(E,t)}).catch(E=>{this.transmuxerError(E,t,"transmuxer-interface flush error")}):this.handleFlushResult(m,t)}}transmuxerError(t,n,o){this.hls&&(this.error=t,this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,chunkMeta:n,frag:this.frag||void 0,part:this.part||void 0,fatal:!1,error:t,err:t,reason:o}))}handleFlushResult(t,n){t.forEach(o=>{this.handleTransmuxComplete(o)}),this.onFlush(n)}configureTransmuxer(t){const{instanceNo:n,transmuxer:o}=this;this.workerContext?this.workerContext.worker.postMessage({instanceNo:n,cmd:"configure",config:t}):o&&o.configure(t)}handleTransmuxComplete(t){t.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(t)}}const Du=100;class Zl extends na{constructor(t,n,o){super(t,n,o,"audio-stream-controller",u.AUDIO),this.mainAnchor=null,this.mainFragLoading=null,this.audioOnly=!1,this.bufferedTrack=null,this.switchingTrack=null,this.trackId=-1,this.waitingData=null,this.mainDetails=null,this.flushing=!1,this.bufferFlushed=!1,this.cachedTrackLoadedData=null,this.registerListeners()}onHandlerDestroying(){this.unregisterListeners(),super.onHandlerDestroying(),this.resetItem()}resetItem(){this.mainDetails=this.mainAnchor=this.mainFragLoading=this.bufferedTrack=this.switchingTrack=this.waitingData=this.cachedTrackLoadedData=null}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.on(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(s.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(s.BUFFER_RESET,this.onBufferReset,this),t.on(s.BUFFER_CREATED,this.onBufferCreated,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(s.FRAG_LOADING,this.onFragLoading,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){const{hls:t}=this;t&&(super.unregisterListeners(),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.off(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(s.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(s.BUFFER_RESET,this.onBufferReset,this),t.off(s.BUFFER_CREATED,this.onBufferCreated,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(s.FRAG_LOADING,this.onFragLoading,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this))}onInitPtsFound(t,{frag:n,id:o,initPTS:m,timescale:E}){if(o===u.MAIN){const T=n.cc,z=this.fragCurrent;if(this.initPTS[T]={baseTime:m,timescale:E},this.log(`InitPTS for cc: ${T} found from main: ${m}/${E}`),this.mainAnchor=n,this.state===zr.WAITING_INIT_PTS){const H=this.waitingData;(!H&&!this.loadingParts||H&&H.frag.cc!==T)&&(this.nextLoadPosition=this.findSyncFrag(n).start),this.tick()}else!this.hls.hasEnoughToStart&&z&&z.cc!==T?(this.startFragRequested=!1,this.nextLoadPosition=this.findSyncFrag(n).start,z.abortRequests(),this.resetLoadingState()):this.state===zr.IDLE&&this.tick()}}findSyncFrag(t){const n=this.getLevelDetails(),o=t.cc;return pt(n,o,t)||n&&Dt(n.fragments,o)||t}startLoad(t,n){if(!this.levels){this.startPosition=t,this.state=zr.STOPPED;return}const o=this.lastCurrentTime;this.stopLoad(),this.setInterval(Du),o>0&&t===-1?(this.log(`Override startPosition with lastCurrentTime @${o.toFixed(3)}`),t=o,this.state=zr.IDLE):this.state=zr.WAITING_TRACK,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}doTick(){switch(this.state){case zr.IDLE:this.doTickIdle();break;case zr.WAITING_TRACK:{const{levels:n,trackId:o}=this,m=n==null?void 0:n[o],E=m==null?void 0:m.details;if(E&&!this.waitForLive(m)){if(this.waitForCdnTuneIn(E))break;this.state=zr.WAITING_INIT_PTS}break}case zr.FRAG_LOADING_WAITING_RETRY:{var t;const n=performance.now(),o=this.retryDate;if(!o||n>=o||(t=this.media)!=null&&t.seeking){const{levels:m,trackId:E}=this;this.log("RetryDate reached, switch back to IDLE state"),this.resetStartWhenNotLoaded((m==null?void 0:m[E])||null),this.state=zr.IDLE}break}case zr.WAITING_INIT_PTS:{const n=this.waitingData;if(n){const{frag:o,part:m,cache:E,complete:T}=n,z=this.mainAnchor;if(this.initPTS[o.cc]!==void 0){this.waitingData=null,this.state=zr.FRAG_LOADING;const H=E.flush().buffer,j={frag:o,part:m,payload:H,networkDetails:null};this._handleFragmentLoadProgress(j),T&&super._handleFragmentLoadComplete(j)}else z&&z.cc!==n.frag.cc&&(this.log(`Waiting fragment cc (${o.cc}) cancelled because video is at cc ${z.cc}`),this.nextLoadPosition=this.findSyncFrag(z).start,this.clearWaitingFragment())}else this.state=zr.IDLE}}this.onTickEnd()}clearWaitingFragment(){const t=this.waitingData;t&&(this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.fragmentTracker.removeFragment(t.frag),this.waitingData=null,this.state!==zr.STOPPED&&(this.state=zr.IDLE))}resetLoadingState(){this.clearWaitingFragment(),super.resetLoadingState()}onTickEnd(){const{media:t}=this;t!=null&&t.readyState&&(this.lastCurrentTime=t.currentTime)}doTickIdle(){var t;const{hls:n,levels:o,media:m,trackId:E}=this,T=n.config;if(!this.buffering||!m&&!this.primaryPrefetch&&(this.startFragRequested||!T.startFragPrefetch)||!(o!=null&&o[E]))return;const z=o[E],H=z.details;if(!H||this.waitForLive(z)||this.waitForCdnTuneIn(H)){this.state=zr.WAITING_TRACK,this.startFragRequested=!1;return}const j=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&j&&(this.bufferFlushed=!1,this.afterBufferFlushed(j,M.AUDIO,u.AUDIO));const se=this.getFwdBufferInfo(j,u.AUDIO);if(se===null)return;if(!this.switchingTrack&&this._streamEnded(se,H)){n.trigger(s.BUFFER_EOS,{type:"audio"}),this.state=zr.ENDED;return}const ce=se.len,xe=n.maxBufferLength,Ie=H.fragments,Oe=Ie[0].start,tt=this.getLoadPosition(),at=this.flushing?tt:se.end;if(this.switchingTrack&&m){const ar=tt;H.PTSKnown&&ar<Oe&&(se.end>Oe||se.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),m.currentTime=Oe+.05)}if(ce>=xe&&!this.switchingTrack&&at<Ie[Ie.length-1].start)return;let Nt=this.getNextFragment(at,H);if(Nt&&this.isLoopLoading(Nt,at)&&(Nt=this.getNextFragmentLoopLoading(Nt,H,se,u.MAIN,xe)),!Nt){this.bufferFlushed=!0;return}let dr=((t=this.mainFragLoading)==null?void 0:t.frag)||null;if(!this.audioOnly&&this.startFragRequested&&dr&&de(Nt)&&!Nt.endList&&(!H.live||!this.loadingParts&&at<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(dr)===Er.OK&&(this.mainFragLoading=dr=null),dr&&de(dr))){if(Nt.start>dr.end){const Zr=this.fragmentTracker.getFragAtPos(at,u.MAIN);Zr&&Zr.end>dr.end&&(dr=Zr,this.mainFragLoading={frag:Zr,targetBufferTime:null})}if(Nt.start>dr.end)return}this.loadFragment(Nt,z,at)}onMediaDetaching(t,n){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(t,n)}onAudioTracksUpdated(t,{audioTracks:n}){this.resetTransmuxer(),this.levels=n.map(o=>new mr(o))}onAudioTrackSwitching(t,n){const o=!!n.url;this.trackId=n.id;const{fragCurrent:m}=this;m&&(m.abortRequests(),this.removeUnbufferedFrags(m.start)),this.resetLoadingState(),o?(this.switchingTrack=n,this.flushAudioIfNeeded(n),this.state!==zr.STOPPED&&(this.setInterval(Du),this.state=zr.IDLE,this.tick())):(this.resetTransmuxer(),this.switchingTrack=null,this.bufferedTrack=n,this.clearInterval())}onManifestLoading(){super.onManifestLoading(),this.bufferFlushed=this.flushing=this.audioOnly=!1,this.resetItem(),this.trackId=-1}onLevelLoaded(t,n){this.mainDetails=n.details;const o=this.cachedTrackLoadedData;o&&(this.cachedTrackLoadedData=null,this.onAudioTrackLoaded(s.AUDIO_TRACK_LOADED,o))}onAudioTrackLoaded(t,n){var o;const{levels:m}=this,{details:E,id:T,groupId:z,track:H}=n;if(!m){this.warn(`Audio tracks reset while loading track ${T} "${H.name}" of "${z}"`);return}const j=this.mainDetails;if(!j||E.endCC>j.endCC||j.expired){this.cachedTrackLoadedData=n,this.state!==zr.STOPPED&&(this.state=zr.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${T} "${H.name}" of "${z}" loaded [${E.startSN},${E.endSN}]${E.lastPartSn?`[part-${E.lastPartSn}-${E.lastPartIndex}]`:""},duration:${E.totalduration}`);const se=m[T];let ce=0;if(E.live||(o=se.details)!=null&&o.live){if(this.checkLiveUpdate(E),E.deltaUpdateFailed)return;if(se.details){var xe;ce=this.alignPlaylists(E,se.details,(xe=this.levelLastLoaded)==null?void 0:xe.details)}E.alignedSliding||(Nr(E,j),E.alignedSliding||Li(E,j),ce=E.fragmentStart)}se.details=E,this.levelLastLoaded=se,this.startFragRequested||this.setStartPosition(j,ce),this.hls.trigger(s.AUDIO_TRACK_UPDATED,{details:E,id:T,groupId:n.groupId}),this.state===zr.WAITING_TRACK&&!this.waitForCdnTuneIn(E)&&(this.state=zr.IDLE),this.tick()}_handleFragmentLoadProgress(t){var n;const o=t.frag,{part:m,payload:E}=t,{config:T,trackId:z,levels:H}=this;if(!H){this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${o.sn} of level ${o.level} will not be buffered`);return}const j=H[z];if(!j){this.warn("Audio track is undefined on fragment load progress");return}const se=j.details;if(!se){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(o.start);return}const ce=T.defaultAudioCodec||j.audioCodec||"mp4a.40.2";let xe=this.transmuxer;xe||(xe=this.transmuxer=new Uo(this.hls,u.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const Ie=this.initPTS[o.cc],Oe=(n=o.initSegment)==null?void 0:n.data;if(Ie!==void 0){const at=m?m.index:-1,Nt=at!==-1,dr=new $a(o.level,o.sn,o.stats.chunkCount,E.byteLength,at,Nt);xe.push(E,Oe,ce,"",o,m,se.totalduration,!1,dr,Ie)}else{this.log(`Unknown video PTS for cc ${o.cc}, waiting for video PTS before demuxing audio frag ${o.sn} of [${se.startSN} ,${se.endSN}],track ${z}`);const{cache:tt}=this.waitingData=this.waitingData||{frag:o,part:m,cache:new ci,complete:!1};tt.push(new Uint8Array(E)),this.state!==zr.STOPPED&&(this.state=zr.WAITING_INIT_PTS)}}_handleFragmentLoadComplete(t){if(this.waitingData){this.waitingData.complete=!0;return}super._handleFragmentLoadComplete(t)}onBufferReset(){this.mediaBuffer=null}onBufferCreated(t,n){this.bufferFlushed=this.flushing=!1;const o=n.tracks.audio;o&&(this.mediaBuffer=o.buffer||null)}onFragLoading(t,n){!this.audioOnly&&n.frag.type===u.MAIN&&de(n.frag)&&(this.mainFragLoading=n,this.state===zr.IDLE&&this.tick())}onFragBuffered(t,n){const{frag:o,part:m}=n;if(o.type!==u.AUDIO){!this.audioOnly&&o.type===u.MAIN&&!o.elementaryStreams.video&&!o.elementaryStreams.audiovideo&&(this.audioOnly=!0,this.mainFragLoading=null);return}if(this.fragContextChanged(o)){this.warn(`Fragment ${o.sn}${m?" p: "+m.index:""} of level ${o.level} finished buffering, but was aborted. state: ${this.state}, audioSwitch: ${this.switchingTrack?this.switchingTrack.name:"false"}`);return}if(de(o)){this.fragPrevious=o;const E=this.switchingTrack;E&&(this.bufferedTrack=E,this.switchingTrack=null,this.hls.trigger(s.AUDIO_TRACK_SWITCHED,b({},E)))}this.fragBufferedComplete(o,m),this.media&&this.tick()}onError(t,n){var o;if(n.fatal){this.state=zr.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(u.AUDIO,n);break;case f.AUDIO_TRACK_LOAD_ERROR:case f.AUDIO_TRACK_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===zr.WAITING_TRACK&&((o=n.context)==null?void 0:o.type)===h.AUDIO_TRACK&&(this.state=zr.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="audio")return;this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="audio")return;this.reduceLengthAndFlushBuffer(n)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onBufferFlushing(t,{type:n}){n!==M.VIDEO&&(this.flushing=!0)}onBufferFlushed(t,{type:n}){if(n!==M.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===zr.ENDED&&(this.state=zr.IDLE);const o=this.mediaBuffer||this.media;o&&(this.afterBufferFlushed(o,n,u.AUDIO),this.tick())}}_handleTransmuxComplete(t){var n;const o="audio",{hls:m}=this,{remuxResult:E,chunkMeta:T}=t,z=this.getCurrentContext(T);if(!z){this.resetWhenMissingContext(T);return}const{frag:H,part:j,level:se}=z,{details:ce}=se,{audio:xe,text:Ie,id3:Oe,initSegment:tt}=E;if(this.fragContextChanged(H)||!ce){this.fragmentTracker.removeFragment(H);return}if(this.state=zr.PARSING,this.switchingTrack&&xe&&this.completeAudioSwitch(this.switchingTrack),tt!=null&&tt.tracks){const at=H.initSegment||H;this._bufferInitSegment(se,tt.tracks,at,T),m.trigger(s.FRAG_PARSING_INIT_SEGMENT,{frag:at,id:o,tracks:tt.tracks})}if(xe){const{startPTS:at,endPTS:Nt,startDTS:dr,endDTS:ar}=xe;j&&(j.elementaryStreams[M.AUDIO]={startPTS:at,endPTS:Nt,startDTS:dr,endDTS:ar}),H.setElementaryStreamInfo(M.AUDIO,at,Nt,dr,ar),this.bufferFragmentData(xe,H,j,T)}if(Oe!=null&&(n=Oe.samples)!=null&&n.length){const at=y({id:o,frag:H,details:ce},Oe);m.trigger(s.FRAG_PARSING_METADATA,at)}if(Ie){const at=y({id:o,frag:H,details:ce},Ie);m.trigger(s.FRAG_PARSING_USERDATA,at)}}_bufferInitSegment(t,n,o,m){if(this.state!==zr.PARSING||(n.video&&delete n.video,n.audiovideo&&delete n.audiovideo,!n.audio))return;const E=n.audio;E.id=u.AUDIO;const T=t.audioCodec;this.log(`Init audio buffer, container:${E.container}, codecs[level/parsed]=[${T}/${E.codec}]`),T&&T.split(",").length===1&&(E.levelCodec=T),this.hls.trigger(s.BUFFER_CODECS,n);const z=E.initSegment;if(z!=null&&z.byteLength){const H={type:"audio",frag:o,part:null,chunkMeta:m,parent:o.type,data:z};this.hls.trigger(s.BUFFER_APPENDING,H)}this.tickImmediate()}loadFragment(t,n,o){const m=this.fragmentTracker.getState(t);if(this.switchingTrack||m===Er.NOT_LOADED||m===Er.PARTIAL){var E;if(!de(t))this._loadInitSegment(t,n);else if((E=n.details)!=null&&E.live&&!this.initPTS[t.cc]){this.log(`Waiting for video PTS in continuity counter ${t.cc} of live stream before loading audio fragment ${t.sn} of level ${this.trackId}`),this.state=zr.WAITING_INIT_PTS;const T=this.mainDetails;T&&T.fragmentStart!==n.details.fragmentStart&&Li(n.details,T)}else super.loadFragment(t,n,o)}else this.clearTrackerIfNeeded(t)}flushAudioIfNeeded(t){if(this.media&&this.bufferedTrack){const{name:n,lang:o,assocLang:m,characteristics:E,audioCodec:T,channels:z}=this.bufferedTrack;qn({name:n,lang:o,assocLang:m,characteristics:E,audioCodec:T,channels:z},t,ut)||(ei(t.url,this.hls)?(this.log("Switching audio track : flushing all audio"),super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"),this.bufferedTrack=null):this.bufferedTrack=t)}}completeAudioSwitch(t){const{hls:n}=this;this.flushAudioIfNeeded(t),this.bufferedTrack=t,this.switchingTrack=null,n.trigger(s.AUDIO_TRACK_SWITCHED,b({},t))}}class lu extends L{constructor(t,n){super(n,t.logger),this.hls=void 0,this.canLoad=!1,this.timer=-1,this.hls=t}destroy(){this.clearTimer(),this.hls=this.log=this.warn=null}clearTimer(){this.timer!==-1&&(self.clearTimeout(this.timer),this.timer=-1)}startLoad(){this.canLoad=!0,this.loadPlaylist()}stopLoad(){this.canLoad=!1,this.clearTimer()}switchParams(t,n,o){const m=n==null?void 0:n.renditionReports;if(m){let E=-1;for(let T=0;T<m.length;T++){const z=m[T];let H;try{H=new self.URL(z.URI,n.url).href}catch(j){this.warn(`Could not construct new URL for Rendition Report: ${j}`),H=z.URI||""}if(H===t){E=T;break}else H===t.substring(0,H.length)&&(E=T)}if(E!==-1){const T=m[E],z=parseInt(T["LAST-MSN"])||(n==null?void 0:n.lastPartSn);let H=parseInt(T["LAST-PART"])||(n==null?void 0:n.lastPartIndex);if(this.hls.config.lowLatencyMode){const se=Math.min(n.age-n.partTarget,n.targetduration);H>=0&&se>n.partTarget&&(H+=1)}const j=o&&yn(o);return new Zn(z,H>=0?H:void 0,j)}}}loadPlaylist(t){this.clearTimer()}loadingPlaylist(t,n){this.clearTimer()}shouldLoadPlaylist(t){return this.canLoad&&!!t&&!!t.url&&(!t.details||t.details.live)}getUrlWithDirectives(t,n){if(n)try{return n.addDirectives(t)}catch(o){this.warn(`Could not construct new URL with HLS Delivery Directives: ${o}`)}return t}playlistLoaded(t,n,o){const{details:m,stats:E}=n,T=self.performance.now(),z=E.loading.first?Math.max(0,T-E.loading.first):0;m.advancedDateTime=Date.now()-z;const H=this.hls.config.timelineOffset;if(H!==m.appliedTimelineOffset){const se=Math.max(H||0,0);m.appliedTimelineOffset=se,m.fragments.forEach(ce=>{ce.start=ce.playlistOffset+se})}if(m.live||o!=null&&o.live){const se="levelInfo"in n?n.levelInfo:n.track;if(m.reloaded(o),o&&m.fragments.length>0){vr(o,m);const dr=m.playlistParsingError;if(dr){this.warn(dr);const ar=this.hls;if(!ar.config.ignorePlaylistParsingErrors){var j;const{networkDetails:Zr}=n;ar.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:m.url,error:dr,reason:dr.message,level:n.level||void 0,parent:(j=m.fragments[0])==null?void 0:j.type,networkDetails:Zr,stats:E});return}m.playlistParsingError=null}}m.requestScheduled===-1&&(m.requestScheduled=E.loading.start);const ce=this.hls.mainForwardBufferInfo,xe=ce?ce.end-ce.len:0,Ie=(m.edge-xe)*1e3,Oe=ur(m,Ie);if(m.requestScheduled+Oe<T?m.requestScheduled=T:m.requestScheduled+=Oe,this.log(`live playlist ${t} ${m.advanced?"REFRESHED "+m.lastPartSn+"-"+m.lastPartIndex:m.updated?"UPDATED":"MISSED"}`),!this.canLoad||!m.live)return;let tt,at,Nt;if(m.canBlockReload&&m.endSN&&m.advanced){const dr=this.hls.config.lowLatencyMode,ar=m.lastPartSn,Zr=m.endSN,Gr=m.lastPartIndex,fn=Gr!==-1,Vr=ar===Zr;fn?Vr?(at=Zr+1,Nt=dr?0:Gr):(at=ar,Nt=dr?Gr+1:m.maxPartIndex):at=Zr+1;const on=m.age,_n=on+m.ageHeader;let Xr=Math.min(_n-m.partTarget,m.targetduration*1.5);if(Xr>0){if(_n>m.targetduration*3)this.log(`Playlist last advanced ${on.toFixed(2)}s ago. Omitting segment and part directives.`),at=void 0,Nt=void 0;else if(o!=null&&o.tuneInGoal&&_n-m.partTarget>o.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${o.tuneInGoal} to: ${Xr} with playlist age: ${m.age}`),Xr=0;else{const Yn=Math.floor(Xr/m.targetduration);if(at+=Yn,Nt!==void 0){const di=Math.round(Xr%m.targetduration/m.partTarget);Nt+=di}this.log(`CDN Tune-in age: ${m.ageHeader}s last advanced ${on.toFixed(2)}s goal: ${Xr} skip sn ${Yn} to part ${Nt}`)}m.tuneInGoal=Xr}if(tt=this.getDeliveryDirectives(m,n.deliveryDirectives,at,Nt),dr||!Vr){m.requestScheduled=T,this.loadingPlaylist(se,tt);return}}else(m.canBlockReload||m.canSkipUntil)&&(tt=this.getDeliveryDirectives(m,n.deliveryDirectives,at,Nt));tt&&at!==void 0&&m.canBlockReload&&(m.requestScheduled=E.loading.first+Math.max(Oe-z*2,Oe/2)),this.scheduleLoading(se,tt,m)}else this.clearTimer()}scheduleLoading(t,n,o){const m=o||t.details;if(!m){this.loadingPlaylist(t,n);return}const E=self.performance.now(),T=m.requestScheduled;if(E>=T){this.loadingPlaylist(t,n);return}const z=T-E;this.log(`reload live playlist ${t.name||t.bitrate+"bps"} in ${Math.round(z)} ms`),this.clearTimer(),this.timer=self.setTimeout(()=>this.loadingPlaylist(t,n),z)}getDeliveryDirectives(t,n,o,m){let E=yn(t);return n!=null&&n.skip&&t.deltaUpdateFailed&&(o=n.msn,m=n.part,E=Mr.No),new Zn(o,m,E)}checkRetry(t){const n=t.details,o=lr(t),m=t.errorAction,{action:E,retryCount:T=0,retryConfig:z}=m||{},H=!!m&&!!z&&(E===Ee.RetryRequest||!m.resolved&&E===Ee.SendAlternateToPenaltyBox);if(H){var j;if(T>=z.maxNumRetry)return!1;if(o&&(j=t.context)!=null&&j.deliveryDirectives)this.warn(`Retrying playlist loading ${T+1}/${z.maxNumRetry} after "${n}" without delivery-directives`),this.loadPlaylist();else{const se=Ir(z,T);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),se),this.warn(`Retrying playlist loading ${T+1}/${z.maxNumRetry} after "${n}" in ${se}ms`)}t.levelRetry=!0,m.resolved=!0}return H}}function oc(P,t){if(P.length!==t.length)return!1;for(let n=0;n<P.length;n++)if(!Zu(P[n].attrs,t[n].attrs))return!1;return!0}function Zu(P,t,n){const o=P["STABLE-RENDITION-ID"];return o&&!n?o===t["STABLE-RENDITION-ID"]:!(n||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(m=>P[m]!==t[m])}function ai(P,t){return t.label.toLowerCase()===P.name.toLowerCase()&&(!t.language||t.language.toLowerCase()===(P.lang||"").toLowerCase())}class Sc extends lu{constructor(t){super(t,"audio-track-controller"),this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.registerListeners()}registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(s.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVEL_LOADING,this.onLevelLoading,this),t.off(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(s.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(s.ERROR,this.onError,this)}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,super.destroy()}onManifestLoading(){this.tracks=[],this.tracksInGroup=[],this.groupIds=null,this.currentTrack=null,this.trackId=-1,this.selectDefaultTrack=!0}onManifestParsed(t,n){this.tracks=n.audioTracks||[]}onAudioTrackLoaded(t,n){const{id:o,groupId:m,details:E}=n,T=this.tracksInGroup[o];if(!T||T.groupId!==m){this.warn(`Audio track with id:${o} and group:${m} not found in active group ${T==null?void 0:T.groupId}`);return}const z=T.details;T.details=n.details,this.log(`Audio track ${o} "${T.name}" lang:${T.lang} group:${m} loaded [${E.startSN}-${E.endSN}]`),o===this.trackId&&this.playlistLoaded(o,n,z)}onLevelLoading(t,n){this.switchLevel(n.level)}onLevelSwitching(t,n){this.switchLevel(n.level)}switchLevel(t){const n=this.hls.levels[t];if(!n)return;const o=n.audioGroups||null,m=this.groupIds;let E=this.currentTrack;if(!o||(m==null?void 0:m.length)!==(o==null?void 0:o.length)||o!=null&&o.some(z=>(m==null?void 0:m.indexOf(z))===-1)){this.groupIds=o,this.trackId=-1,this.currentTrack=null;const z=this.tracks.filter(xe=>!o||o.indexOf(xe.groupId)!==-1);if(z.length)this.selectDefaultTrack&&!z.some(xe=>xe.default)&&(this.selectDefaultTrack=!1),z.forEach((xe,Ie)=>{xe.id=Ie});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=z;const H=this.hls.config.audioPreference;if(!E&&H){const xe=Xi(H,z,ut);if(xe>-1)E=z[xe];else{const Ie=Xi(H,this.tracks);E=this.tracks[Ie]}}let j=this.findTrackId(E);j===-1&&E&&(j=this.findTrackId(null));const se={audioTracks:z};this.log(`Updating audio tracks, ${z.length} track(s) found in group(s): ${o==null?void 0:o.join(",")}`),this.hls.trigger(s.AUDIO_TRACKS_UPDATED,se);const ce=this.trackId;if(j!==-1&&ce===-1)this.setAudioTrack(j);else if(z.length&&ce===-1){var T;const xe=new Error(`No audio track selected for current audio group-ID(s): ${(T=this.groupIds)==null?void 0:T.join(",")} track count: ${z.length}`);this.warn(xe.message),this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:xe})}}}onError(t,n){n.fatal||!n.context||n.context.type===h.AUDIO_TRACK&&n.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(n.context.groupId)!==-1)&&this.checkRetry(n)}get allAudioTracks(){return this.tracks}get audioTracks(){return this.tracksInGroup}get audioTrack(){return this.trackId}set audioTrack(t){this.selectDefaultTrack=!1,this.setAudioTrack(t)}setAudioOption(t){const n=this.hls;if(n.config.audioPreference=t,t){const o=this.allAudioTracks;if(this.selectDefaultTrack=!1,o.length){const m=this.currentTrack;if(m&&qn(t,m,ut))return m;const E=Xi(t,this.tracksInGroup,ut);if(E>-1){const T=this.tracksInGroup[E];return this.setAudioTrack(E),T}else if(m){let T=n.loadLevel;T===-1&&(T=n.firstAutoLevel);const z=Jn(t,n.levels,o,T,ut);if(z===-1)return null;n.nextLoadLevel=z}if(t.channels||t.audioCodec){const T=Xi(t,o);if(T>-1)return o[T]}}}return null}setAudioTrack(t){const n=this.tracksInGroup;if(t<0||t>=n.length){this.warn(`Invalid audio track id: ${t}`);return}this.selectDefaultTrack=!1;const o=this.currentTrack,m=n[t],E=m.details&&!m.details.live;if(t===this.trackId&&m===o&&E||(this.log(`Switching to audio-track ${t} "${m.name}" lang:${m.lang} group:${m.groupId} channels:${m.channels}`),this.trackId=t,this.currentTrack=m,this.hls.trigger(s.AUDIO_TRACK_SWITCHING,b({},m)),E))return;const T=this.switchParams(m.url,o==null?void 0:o.details,m.details);this.loadPlaylist(T)}findTrackId(t){const n=this.tracksInGroup;for(let o=0;o<n.length;o++){const m=n[o];if(!(this.selectDefaultTrack&&!m.default)&&(!t||qn(t,m,ut)))return o}if(t){const{name:o,lang:m,assocLang:E,characteristics:T,audioCodec:z,channels:H}=t;for(let j=0;j<n.length;j++){const se=n[j];if(qn({name:o,lang:m,assocLang:E,characteristics:T,audioCodec:z,channels:H},se,ut))return j}for(let j=0;j<n.length;j++){const se=n[j];if(Zu(t.attrs,se.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return j}for(let j=0;j<n.length;j++){const se=n[j];if(Zu(t.attrs,se.attrs,["LANGUAGE"]))return j}}return-1}loadPlaylist(t){super.loadPlaylist();const n=this.currentTrack;this.shouldLoadPlaylist(n)&&ei(n.url,this.hls)&&this.scheduleLoading(n,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const o=t.id,m=t.groupId,E=this.getUrlWithDirectives(t.url,n),T=t.details,z=T==null?void 0:T.age;this.log(`Loading audio-track ${o} "${t.name}" lang:${t.lang} group:${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${z&&T.live?" age "+z.toFixed(1)+(T.type?" "+T.type||0:""):""} ${E}`),this.hls.trigger(s.AUDIO_TRACK_LOADING,{url:E,id:o,groupId:m,deliveryDirectives:n||null,track:t})}}class to{constructor(t){this.tracks=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.tracks=t}destroy(){this.tracks=this.queues=null}append(t,n,o){if(this.queues===null||this.tracks===null)return;const m=this.queues[n];m.push(t),m.length===1&&!o&&this.executeNext(n)}appendBlocker(t){return new Promise(n=>{const o={label:"async-blocker",execute:n,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.append(o,t)})}prependBlocker(t){return new Promise(n=>{if(this.queues){const o={label:"async-blocker-prepend",execute:n,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.queues[t].unshift(o)}})}removeBlockers(){this.queues!==null&&[this.queues.video,this.queues.audio,this.queues.audiovideo].forEach(t=>{var n;const o=(n=t[0])==null?void 0:n.label;(o==="async-blocker"||o==="async-blocker-prepend")&&(t[0].execute(),t.splice(0,1))})}unblockAudio(t){if(this.queues===null)return;this.queues.audio[0]===t&&this.shiftAndExecuteNext("audio")}executeNext(t){if(this.queues===null||this.tracks===null)return;const n=this.queues[t];if(n.length){const m=n[0];try{m.execute()}catch(E){var o;if(m.onError(E),this.queues===null||this.tracks===null)return;const T=(o=this.tracks[t])==null?void 0:o.buffer;T!=null&&T.updating||this.shiftAndExecuteNext(t)}}}shiftAndExecuteNext(t){this.queues!==null&&(this.queues[t].shift(),this.executeNext(t))}current(t){var n;return((n=this.queues)==null?void 0:n[t][0])||null}toString(){const{queues:t,tracks:n}=this;return t===null||n===null?"<destroyed>":`
${this.list("video")}
${this.list("audio")}
${this.list("audiovideo")}}`}list(t){var n,o;return(n=this.queues)!=null&&n[t]||(o=this.tracks)!=null&&o[t]?`${t}: (${this.listSbInfo(t)}) ${this.listOps(t)}`:""}listSbInfo(t){var n;const o=(n=this.tracks)==null?void 0:n[t],m=o==null?void 0:o.buffer;return m?`SourceBuffer${m.updating?" updating":""}${o.ended?" ended":""}${o.ending?" ending":""}`:"none"}listOps(t){var n;return((n=this.queues)==null?void 0:n[t].map(o=>o.label).join(", "))||""}}const uc=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,tu="HlsJsTrackRemovedError";class rl extends Error{constructor(t){super(t),this.name=tu}}class Hu extends L{constructor(t,n){super("buffer-controller",t.logger),this.hls=void 0,this.fragmentTracker=void 0,this.details=null,this._objectUrl=null,this.operationQueue=null,this.bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.lastMpegAudioChunk=null,this.blockedAudioAppend=null,this.lastVideoAppendEnd=0,this.appendSource=void 0,this.transferData=void 0,this.overrides=void 0,this.appendErrors={audio:0,video:0,audiovideo:0},this.tracks={},this.sourceBuffers=[[null,null],[null,null]],this._onEndStreaming=o=>{var m;this.hls&&((m=this.mediaSource)==null?void 0:m.readyState)==="open"&&this.hls.pauseBuffering()},this._onStartStreaming=o=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=o=>{const{media:m,mediaSource:E}=this;o&&this.log("Media source opened"),!(!m||!E)&&(E.removeEventListener("sourceopen",this._onMediaSourceOpen),m.removeEventListener("emptied",this._onMediaEmptied),this.updateDuration(),this.hls.trigger(s.MEDIA_ATTACHED,{media:m,mediaSource:E}),this.mediaSource!==null&&this.checkPendingTracks())},this._onMediaSourceClose=()=>{this.log("Media source closed")},this._onMediaSourceEnded=()=>{this.log("Media source ended")},this._onMediaEmptied=()=>{const{mediaSrc:o,_objectUrl:m}=this;o!==m&&this.error(`Media element src was set while attaching MediaSource (${m} > ${o})`)},this.hls=t,this.fragmentTracker=n,this.appendSource=ae(oe(t.config.preferManagedMediaSource)),this.initTracks(),this.registerListeners()}hasSourceTypes(){return Object.keys(this.tracks).length>0}destroy(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.transferData=this.overrides=void 0,this.operationQueue&&(this.operationQueue.destroy(),this.operationQueue=null),this.hls=this.fragmentTracker=null,this._onMediaSourceOpen=this._onMediaSourceClose=null,this._onMediaSourceEnded=null,this._onStartStreaming=this._onEndStreaming=null}registerListeners(){const{hls:t}=this;t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.BUFFER_RESET,this.onBufferReset,this),t.on(s.BUFFER_APPENDING,this.onBufferAppending,this),t.on(s.BUFFER_CODECS,this.onBufferCodecs,this),t.on(s.BUFFER_EOS,this.onBufferEos,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.FRAG_PARSED,this.onFragParsed,this),t.on(s.FRAG_CHANGED,this.onFragChanged,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.BUFFER_RESET,this.onBufferReset,this),t.off(s.BUFFER_APPENDING,this.onBufferAppending,this),t.off(s.BUFFER_CODECS,this.onBufferCodecs,this),t.off(s.BUFFER_EOS,this.onBufferEos,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.FRAG_PARSED,this.onFragParsed,this),t.off(s.FRAG_CHANGED,this.onFragChanged,this),t.off(s.ERROR,this.onError,this)}transferMedia(){const{media:t,mediaSource:n}=this;if(!t)return null;const o={};if(this.operationQueue){const E=this.isUpdating();E||this.operationQueue.removeBlockers();const T=this.isQueued();(E||T)&&this.warn(`Transfering MediaSource with${T?" operations in queue":""}${E?" updating SourceBuffer(s)":""} ${this.operationQueue}`),this.operationQueue.destroy()}const m=this.transferData;return!this.sourceBufferCount&&m&&m.mediaSource===n?y(o,m.tracks):this.sourceBuffers.forEach(E=>{const[T]=E;T&&(o[T]=y({},this.tracks[T]),this.removeBuffer(T)),E[0]=E[1]=null}),{media:t,mediaSource:n,tracks:o}}initTracks(){const t={};this.sourceBuffers=[[null,null],[null,null]],this.tracks=t,this.resetQueue(),this.resetAppendErrors(),this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.lastVideoAppendEnd=0}onManifestLoading(){this.bufferCodecEventsTotal=0,this.details=null}onManifestParsed(t,n){var o;let m=2;(n.audio&&!n.video||!n.altAudio)&&(m=1),this.bufferCodecEventsTotal=m,this.log(`${m} bufferCodec event(s) expected.`),(o=this.transferData)!=null&&o.mediaSource&&this.sourceBufferCount&&m&&this.bufferCreated()}onMediaAttaching(t,n){const o=this.media=n.media,m=oe(this.appendSource);if(this.transferData=this.overrides=void 0,o&&m){const E=!!n.mediaSource;(E||n.overrides)&&(this.transferData=n,this.overrides=n.overrides);const T=this.mediaSource=n.mediaSource||new m;if(this.assignMediaSource(T),E)this._objectUrl=o.src,this.attachTransferred();else{const z=this._objectUrl=self.URL.createObjectURL(T);if(this.appendSource)try{o.removeAttribute("src");const H=self.ManagedMediaSource;o.disableRemotePlayback=o.disableRemotePlayback||H&&T instanceof H,lc(o),Ac(o,z),o.load()}catch(H){o.src=z}else o.src=z}o.addEventListener("emptied",this._onMediaEmptied)}}assignMediaSource(t){var n,o;this.log(`${((n=this.transferData)==null?void 0:n.mediaSource)===t?"transferred":"created"} media source: ${(o=t.constructor)==null?void 0:o.name}`),t.addEventListener("sourceopen",this._onMediaSourceOpen),t.addEventListener("sourceended",this._onMediaSourceEnded),t.addEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(t.addEventListener("startstreaming",this._onStartStreaming),t.addEventListener("endstreaming",this._onEndStreaming))}attachTransferred(){const t=this.media,n=this.transferData;if(!n||!t)return;const o=this.tracks,m=n.tracks,E=m?Object.keys(m):null,T=E?E.length:0,z=()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()};if(m&&E&&T){if(!this.tracksReady){this.hls.config.startFragPrefetch=!0,this.log("attachTransferred: waiting for SourceBuffer track info");return}if(this.log(`attachTransferred: (bufferCodecEventsTotal ${this.bufferCodecEventsTotal})
required tracks: ${jn(o,(H,j)=>H==="initSegment"?void 0:j)};
transfer tracks: ${jn(m,(H,j)=>H==="initSegment"?void 0:j)}}`),!le(m,o)){n.mediaSource=null,n.tracks=void 0;const H=t.currentTime,j=this.details,se=Math.max(H,(j==null?void 0:j.fragments[0].start)||0);if(se-H>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${H} -> ${se}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(m)}"->"${Object.keys(o)}") start time: ${se} currentTime: ${H}`),this.onMediaDetaching(s.MEDIA_DETACHING,{}),this.onMediaAttaching(s.MEDIA_ATTACHING,n),t.currentTime=se;return}this.transferData=void 0,E.forEach(H=>{const j=H,se=m[j];if(se){const ce=se.buffer;if(ce){const xe=this.fragmentTracker,Ie=se.id;if(xe.hasFragments(Ie)||xe.hasParts(Ie)){const at=yi.getBuffered(ce);xe.detectEvictedFragments(j,at,Ie,null,!0)}const Oe=qs(j),tt=[j,ce];this.sourceBuffers[Oe]=tt,ce.updating&&this.operationQueue&&this.operationQueue.prependBlocker(j),this.trackSourceBuffer(j,se)}}}),z(),this.bufferCreated()}else this.log("attachTransferred: MediaSource w/o SourceBuffers"),z()}get mediaSourceOpenOrEnded(){var t;const n=(t=this.mediaSource)==null?void 0:t.readyState;return n==="open"||n==="ended"}onMediaDetaching(t,n){const o=!!n.transferMedia;this.transferData=this.overrides=void 0;const{media:m,mediaSource:E,_objectUrl:T}=this;if(E){if(this.log(`media source ${o?"transferring":"detaching"}`),o)this.sourceBuffers.forEach(([z])=>{z&&this.removeBuffer(z)}),this.resetQueue();else{if(this.mediaSourceOpenOrEnded){const z=E.readyState==="open";try{const H=E.sourceBuffers;for(let j=H.length;j--;)z&&H[j].abort(),E.removeSourceBuffer(H[j]);z&&E.endOfStream()}catch(H){this.warn(`onMediaDetaching: ${H.message} while calling endOfStream`)}}this.sourceBufferCount&&this.onBufferReset()}E.removeEventListener("sourceopen",this._onMediaSourceOpen),E.removeEventListener("sourceended",this._onMediaSourceEnded),E.removeEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(E.removeEventListener("startstreaming",this._onStartStreaming),E.removeEventListener("endstreaming",this._onEndStreaming)),this.mediaSource=null,this._objectUrl=null}m&&(m.removeEventListener("emptied",this._onMediaEmptied),o||(T&&self.URL.revokeObjectURL(T),this.mediaSrc===T?(m.removeAttribute("src"),this.appendSource&&lc(m),m.load()):this.warn("media|source.src was changed by a third party - skip cleanup")),this.media=null),this.hls.trigger(s.MEDIA_DETACHED,n)}onBufferReset(){this.sourceBuffers.forEach(([t])=>{t&&this.resetBuffer(t)}),this.initTracks()}resetBuffer(t){var n;const o=(n=this.tracks[t])==null?void 0:n.buffer;if(this.removeBuffer(t),o)try{var m;(m=this.mediaSource)!=null&&m.sourceBuffers.length&&this.mediaSource.removeSourceBuffer(o)}catch(E){this.warn(`onBufferReset ${t}`,E)}delete this.tracks[t]}removeBuffer(t){this.removeBufferListeners(t),this.sourceBuffers[qs(t)]=[null,null];const n=this.tracks[t];n&&(n.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new to(this.tracks)}onBufferCodecs(t,n){const o=this.tracks,m=Object.keys(n);this.log(`BUFFER_CODECS: "${m}" (current SB count ${this.sourceBufferCount})`);const E="audiovideo"in n&&(o.audio||o.video)||o.audiovideo&&("audio"in n||"video"in n),T=!E&&this.sourceBufferCount&&this.media&&m.some(z=>!o[z]);if(E||T){this.warn(`Unsupported transition between "${Object.keys(o)}" and "${m}" SourceBuffers`);return}m.forEach(z=>{var H,j,se;const ce=n[z],{id:xe,codec:Ie,levelCodec:Oe,container:tt,metadata:at,supplemental:Nt}=ce;let dr=o[z];const ar=(H=this.transferData)==null||(j=H.tracks)==null?void 0:j[z],Zr=ar!=null&&ar.buffer?ar:dr,Gr=(Zr==null?void 0:Zr.pendingCodec)||(Zr==null?void 0:Zr.codec),fn=Zr==null?void 0:Zr.levelCodec;dr||(dr=o[z]={buffer:void 0,listeners:[],codec:Ie,supplemental:Nt,container:tt,levelCodec:Oe,metadata:at,id:xe});const Vr=qr(Gr,fn),on=Vr==null?void 0:Vr.replace(uc,"$1");let _n=qr(Ie,Oe);const Xr=(se=_n)==null?void 0:se.replace(uc,"$1");_n&&Vr&&on!==Xr&&(z.slice(0,5)==="audio"&&(_n=At(_n,this.appendSource)),this.log(`switching codec ${Gr} to ${_n}`),_n!==(dr.pendingCodec||dr.codec)&&(dr.pendingCodec=_n),dr.container=tt,this.appendChangeType(z,tt,_n))}),(this.tracksReady||this.sourceBufferCount)&&(n.tracks=this.sourceBufferTracks),!this.sourceBufferCount&&this.mediaSourceOpenOrEnded&&this.checkPendingTracks()}get sourceBufferTracks(){return Object.keys(this.tracks).reduce((t,n)=>{const o=this.tracks[n];return t[n]={id:o.id,container:o.container,codec:o.codec,levelCodec:o.levelCodec},t},{})}appendChangeType(t,n,o){const m=`${n};codecs=${o}`,E={label:`change-type=${m}`,execute:()=>{const T=this.tracks[t];if(T){const z=T.buffer;z!=null&&z.changeType&&(this.log(`changing ${t} sourceBuffer type to ${m}`),z.changeType(m),T.codec=o,T.container=n)}this.shiftAndExecuteNext(t)},onStart:()=>{},onComplete:()=>{},onError:T=>{this.warn(`Failed to change ${t} SourceBuffer type`,T)}};this.append(E,t,this.isPending(this.tracks[t]))}blockAudio(t){var n;const o=t.start,m=o+t.duration*.05;if(((n=this.fragmentTracker.getAppendedFrag(o,u.MAIN))==null?void 0:n.gap)===!0)return;const T={label:"block-audio",execute:()=>{var z;const H=this.tracks.video;(this.lastVideoAppendEnd>m||H!=null&&H.buffer&&yi.isBuffered(H.buffer,m)||((z=this.fragmentTracker.getAppendedFrag(m,u.MAIN))==null?void 0:z.gap)===!0)&&(this.blockedAudioAppend=null,this.shiftAndExecuteNext("audio"))},onStart:()=>{},onComplete:()=>{},onError:z=>{this.warn("Error executing block-audio operation",z)}};this.blockedAudioAppend={op:T,frag:t},this.append(T,"audio",!0)}unblockAudio(){const{blockedAudioAppend:t,operationQueue:n}=this;t&&n&&(this.blockedAudioAppend=null,n.unblockAudio(t.op))}onBufferAppending(t,n){const{tracks:o}=this,{data:m,type:E,parent:T,frag:z,part:H,chunkMeta:j}=n,se=j.buffering[E],ce=z.sn,xe=self.performance.now();se.start=xe;const Ie=z.stats.buffering,Oe=H?H.stats.buffering:null;Ie.start===0&&(Ie.start=xe),Oe&&Oe.start===0&&(Oe.start=xe);const tt=o.audio;let at=!1;E==="audio"&&(tt==null?void 0:tt.container)==="audio/mpeg"&&(at=!this.lastMpegAudioChunk||j.id===1||this.lastMpegAudioChunk.sn!==j.sn,this.lastMpegAudioChunk=j);const Nt=this.tracks.video,dr=Nt==null?void 0:Nt.buffer;if(dr&&ce!=="initSegment"){const Gr=H||z,fn=this.blockedAudioAppend;if(E==="audio"&&T!=="main"&&!this.blockedAudioAppend){const on=Gr.start+Gr.duration*.05,_n=dr.buffered,Xr=this.currentOp("video");!_n.length&&!Xr?this.blockAudio(Gr):!Xr&&!yi.isBuffered(dr,on)&&this.lastVideoAppendEnd<on&&this.blockAudio(Gr)}else if(E==="video"){const Vr=Gr.end;if(fn){const on=fn.frag.start;(Vr>on||Vr<this.lastVideoAppendEnd||yi.isBuffered(dr,on))&&this.unblockAudio()}this.lastVideoAppendEnd=Vr}}const ar=(H||z).start,Zr={label:`append-${E}`,execute:()=>{if(se.executeStart=self.performance.now(),at){const Gr=this.tracks[E];if(Gr){const fn=Gr.buffer;if(fn){const Vr=ar-fn.timestampOffset;Math.abs(Vr)>=.1&&(this.log(`Updating audio SourceBuffer timestampOffset to ${ar} (delta: ${Vr}) sn: ${ce})`),fn.timestampOffset=ar)}}}this.appendExecutor(m,E)},onStart:()=>{},onComplete:()=>{const Gr=self.performance.now();se.executeEnd=se.end=Gr,Ie.first===0&&(Ie.first=Gr),Oe&&Oe.first===0&&(Oe.first=Gr);const fn={};this.sourceBuffers.forEach(([Vr,on])=>{Vr&&(fn[Vr]=yi.getBuffered(on))}),this.appendErrors[E]=0,E==="audio"||E==="video"?this.appendErrors.audiovideo=0:(this.appendErrors.audio=0,this.appendErrors.video=0),this.hls.trigger(s.BUFFER_APPENDED,{type:E,frag:z,part:H,chunkMeta:j,parent:z.type,timeRanges:fn})},onError:Gr=>{var fn;const Vr={type:c.MEDIA_ERROR,parent:z.type,details:f.BUFFER_APPEND_ERROR,sourceBufferName:E,frag:z,part:H,chunkMeta:j,error:Gr,err:Gr,fatal:!1},on=(fn=this.media)==null?void 0:fn.error;if(Gr.code===DOMException.QUOTA_EXCEEDED_ERR)Vr.details=f.BUFFER_FULL_ERROR;else if(Gr.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!on)Vr.errorAction=Dr(!0);else if(Gr.name===tu&&this.sourceBufferCount===0)Vr.errorAction=Dr(!0);else{const _n=++this.appendErrors[E];this.warn(`Failed ${_n}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${E}" sourceBuffer (${on||"no media error"})`),(_n>=this.hls.config.appendErrorMaxRetry||on)&&(Vr.fatal=!0)}this.hls.trigger(s.ERROR,Vr)}};this.append(Zr,E,this.isPending(this.tracks[E]))}getFlushOp(t,n,o){return this.log(`queuing "${t}" remove ${n}-${o}`),{label:"remove",execute:()=>{this.removeExecutor(t,n,o)},onStart:()=>{},onComplete:()=>{this.hls.trigger(s.BUFFER_FLUSHED,{type:t})},onError:m=>{this.warn(`Failed to remove ${n}-${o} from "${t}" SourceBuffer`,m)}}}onBufferFlushing(t,n){const{type:o,startOffset:m,endOffset:E}=n;o?this.append(this.getFlushOp(o,m,E),o):this.sourceBuffers.forEach(([T])=>{T&&this.append(this.getFlushOp(T,m,E),T)})}onFragParsed(t,n){const{frag:o,part:m}=n,E=[],T=m?m.elementaryStreams:o.elementaryStreams;T[M.AUDIOVIDEO]?E.push("audiovideo"):(T[M.AUDIO]&&E.push("audio"),T[M.VIDEO]&&E.push("video"));const z=()=>{const H=self.performance.now();o.stats.buffering.end=H,m&&(m.stats.buffering.end=H);const j=m?m.stats:o.stats;this.hls.trigger(s.FRAG_BUFFERED,{frag:o,part:m,stats:j,id:o.type})};E.length===0&&this.warn(`Fragments must have at least one ElementaryStreamType set. type: ${o.type} level: ${o.level} sn: ${o.sn}`),this.blockBuffers(z,E).catch(H=>{this.warn(`Fragment buffered callback ${H}`),this.stepOperationQueue(this.sourceBufferTypes)})}onFragChanged(t,n){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some(([t])=>{var n,o;return t&&(!((n=this.tracks[t])!=null&&n.ended)||((o=this.tracks[t])==null?void 0:o.ending))})}onBufferEos(t,n){var o;this.sourceBuffers.forEach(([T])=>{if(T){const z=this.tracks[T];(!n.type||n.type===T)&&(z.ending=!0,z.ended||(z.ended=!0,this.log(`${T} buffer reached EOS`)))}});const m=((o=this.overrides)==null?void 0:o.endOfStream)!==!1;this.sourceBufferCount>0&&!this.sourceBuffers.some(([T])=>{var z;return T&&!((z=this.tracks[T])!=null&&z.ended)})&&(m?(this.log("Queueing EOS"),this.blockUntilOpen(()=>{this.tracksEnded();const{mediaSource:T}=this;if(!T||T.readyState!=="open"){T&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${T.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),T.endOfStream(),this.hls.trigger(s.BUFFERED_TO_END,void 0)})):(this.tracksEnded(),this.hls.trigger(s.BUFFERED_TO_END,void 0)))}tracksEnded(){this.sourceBuffers.forEach(([t])=>{if(t!==null){const n=this.tracks[t];n&&(n.ending=!1)}})}onLevelUpdated(t,{details:n}){n.fragments.length&&(this.details=n,this.updateDuration())}updateDuration(){const t=this.getDurationAndRange();t&&this.blockUntilOpen(()=>this.updateMediaSource(t))}onError(t,n){if(n.details===f.BUFFER_APPEND_ERROR&&n.frag){var o;const m=(o=n.errorAction)==null?void 0:o.nextAutoLevel;r(m)&&m!==n.frag.level&&this.resetAppendErrors()}}resetAppendErrors(){this.appendErrors={audio:0,video:0,audiovideo:0}}trimBuffers(){const{hls:t,details:n,media:o}=this;if(!o||n===null||!this.sourceBufferCount)return;const m=t.config,E=o.currentTime,T=n.levelTargetDuration,z=n.live&&m.liveBackBufferLength!==null?m.liveBackBufferLength:m.backBufferLength;if(r(z)&&z>=0){const H=Math.max(z,T),j=Math.floor(E/T)*T-H;this.flushBackBuffer(E,T,j)}if(r(m.frontBufferFlushThreshold)&&m.frontBufferFlushThreshold>0){const H=Math.max(m.maxBufferLength,m.frontBufferFlushThreshold),j=Math.max(H,T),se=Math.floor(E/T)*T+j;this.flushFrontBuffer(E,T,se)}}flushBackBuffer(t,n,o){this.sourceBuffers.forEach(([m,E])=>{if(E){const z=yi.getBuffered(E);if(z.length>0&&o>z.start(0)){var T;this.hls.trigger(s.BACK_BUFFER_REACHED,{bufferEnd:o});const H=this.tracks[m];if((T=this.details)!=null&&T.live)this.hls.trigger(s.LIVE_BACK_BUFFER_REACHED,{bufferEnd:o});else if(H!=null&&H.ended){this.log(`Cannot flush ${m} back buffer while SourceBuffer is in ended state`);return}this.hls.trigger(s.BUFFER_FLUSHING,{startOffset:0,endOffset:o,type:m})}}})}flushFrontBuffer(t,n,o){this.sourceBuffers.forEach(([m,E])=>{if(E){const T=yi.getBuffered(E),z=T.length;if(z<2)return;const H=T.start(z-1),j=T.end(z-1);if(o>H||t>=H&&t<=j)return;this.hls.trigger(s.BUFFER_FLUSHING,{startOffset:H,endOffset:1/0,type:m})}})}getDurationAndRange(){var t;const{details:n,mediaSource:o}=this;if(!n||!this.media||(o==null?void 0:o.readyState)!=="open")return null;const m=n.edge;if(n.live&&this.hls.config.liveDurationInfinity){if(n.fragments.length&&n.live&&o.setLiveSeekableRange){const j=Math.max(0,n.fragmentStart),se=Math.max(j,m);return{duration:1/0,start:j,end:se}}return{duration:1/0}}const E=(t=this.overrides)==null?void 0:t.duration;if(E)return r(E)?{duration:E}:null;const T=this.media.duration,z=r(o.duration)?o.duration:0;return m>z&&m>T||!r(T)?{duration:m}:null}updateMediaSource({duration:t,start:n,end:o}){const m=this.mediaSource;!this.media||!m||m.readyState!=="open"||(m.duration!==t&&(r(t)&&this.log(`Updating MediaSource duration to ${t.toFixed(3)}`),m.duration=t),n!==void 0&&o!==void 0&&(this.log(`MediaSource duration is set to ${m.duration}. Setting seekable range to ${n}-${o}.`),m.setLiveSeekableRange(n,o)))}get tracksReady(){const t=this.pendingTrackCount;return t>0&&(t>=this.bufferCodecEventsTotal||this.isPending(this.tracks.audiovideo))}checkPendingTracks(){const{bufferCodecEventsTotal:t,pendingTrackCount:n,tracks:o}=this;if(this.log(`checkPendingTracks (pending: ${n} codec events expected: ${t}) ${jn(o)}`),this.tracksReady){var m;const E=(m=this.transferData)==null?void 0:m.tracks;E&&Object.keys(E).length?this.attachTransferred():this.createSourceBuffers()}}bufferCreated(){if(this.sourceBufferCount){const t={};this.sourceBuffers.forEach(([n,o])=>{if(n){const m=this.tracks[n];t[n]={buffer:o,container:m.container,codec:m.codec,supplemental:m.supplemental,levelCodec:m.levelCodec,id:m.id,metadata:m.metadata}}}),this.hls.trigger(s.BUFFER_CREATED,{tracks:t}),this.log(`SourceBuffers created. Running queue: ${this.operationQueue}`),this.sourceBuffers.forEach(([n])=>{this.executeNext(n)})}else{const t=new Error("could not create source buffer for media codec(s)");this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:t,reason:t.message})}}createSourceBuffers(){const{tracks:t,sourceBuffers:n,mediaSource:o}=this;if(!o)throw new Error("createSourceBuffers called when mediaSource was null");for(const E in t){const T=E,z=t[T];if(this.isPending(z)){const H=this.getTrackCodec(z,T),j=`${z.container};codecs=${H}`;z.codec=H,this.log(`creating sourceBuffer(${j})${this.currentOp(T)?" Queued":""} ${jn(z)}`);try{const se=o.addSourceBuffer(j),ce=qs(T),xe=[T,se];n[ce]=xe,z.buffer=se}catch(se){var m;this.error(`error while trying to add sourceBuffer: ${se.message}`),this.shiftAndExecuteNext(T),(m=this.operationQueue)==null||m.removeBlockers(),delete this.tracks[T],this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:se,sourceBufferName:T,mimeType:j,parent:z.id});return}this.trackSourceBuffer(T,z)}}this.bufferCreated()}getTrackCodec(t,n){const o=t.supplemental;let m=t.codec;o&&(n==="video"||n==="audiovideo")&&ke(o,"video")&&(m=Kr(m,o));const E=qr(m,t.levelCodec);return E?n.slice(0,5)==="audio"?At(E,this.appendSource):E:""}trackSourceBuffer(t,n){const o=n.buffer;if(!o)return;const m=this.getTrackCodec(n,t);this.tracks[t]={buffer:o,codec:m,container:n.container,levelCodec:n.levelCodec,supplemental:n.supplemental,metadata:n.metadata,id:n.id,listeners:[]},this.removeBufferListeners(t),this.addBufferListener(t,"updatestart",this.onSBUpdateStart),this.addBufferListener(t,"updateend",this.onSBUpdateEnd),this.addBufferListener(t,"error",this.onSBUpdateError),this.appendSource&&this.addBufferListener(t,"bufferedchange",(E,T)=>{const z=T.removedRanges;z!=null&&z.length&&this.hls.trigger(s.BUFFER_FLUSHED,{type:E})})}get mediaSrc(){var t,n;const o=((t=this.media)==null||(n=t.querySelector)==null?void 0:n.call(t,"source"))||this.media;return o==null?void 0:o.src}onSBUpdateStart(t){const n=this.currentOp(t);n&&n.onStart()}onSBUpdateEnd(t){var n;if(((n=this.mediaSource)==null?void 0:n.readyState)==="closed"){this.resetBuffer(t);return}const o=this.currentOp(t);o&&(o.onComplete(),this.shiftAndExecuteNext(t))}onSBUpdateError(t,n){var o;const m=new Error(`${t} SourceBuffer error. MediaSource readyState: ${(o=this.mediaSource)==null?void 0:o.readyState}`);this.error(`${m}`,n),this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_APPENDING_ERROR,sourceBufferName:t,error:m,fatal:!1});const E=this.currentOp(t);E&&E.onError(m)}removeExecutor(t,n,o){const{media:m,mediaSource:E}=this,T=this.tracks[t],z=T==null?void 0:T.buffer;if(!m||!E||!z){this.warn(`Attempting to remove from the ${t} SourceBuffer, but it does not exist`),this.shiftAndExecuteNext(t);return}const H=r(m.duration)?m.duration:1/0,j=r(E.duration)?E.duration:1/0,se=Math.max(0,n),ce=Math.min(o,H,j);ce>se&&(!T.ending||T.ended)?(T.ended=!1,this.log(`Removing [${se},${ce}] from the ${t} SourceBuffer`),z.remove(se,ce)):this.shiftAndExecuteNext(t)}appendExecutor(t,n){const o=this.tracks[n],m=o==null?void 0:o.buffer;if(!m)throw new rl(`Attempting to append to the ${n} SourceBuffer, but it does not exist`);o.ending=!1,o.ended=!1,m.appendBuffer(t)}blockUntilOpen(t){if(this.isUpdating()||this.isQueued())this.blockBuffers(t).catch(n=>{this.warn(`SourceBuffer blocked callback ${n}`),this.stepOperationQueue(this.sourceBufferTypes)});else try{t()}catch(n){this.warn(`Callback run without blocking ${this.operationQueue} ${n}`)}}isUpdating(){return this.sourceBuffers.some(([t,n])=>t&&n.updating)}isQueued(){return this.sourceBuffers.some(([t])=>t&&!!this.currentOp(t))}isPending(t){return!!t&&!t.buffer}blockBuffers(t,n=this.sourceBufferTypes){if(!n.length)return this.log("Blocking operation requested, but no SourceBuffers exist"),Promise.resolve().then(t);const{operationQueue:o}=this,m=n.map(T=>this.appendBlocker(T));return n.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(m).then(T=>{o===this.operationQueue&&(t(),this.stepOperationQueue(this.sourceBufferTypes))})}stepOperationQueue(t){t.forEach(n=>{var o;const m=(o=this.tracks[n])==null?void 0:o.buffer;!m||m.updating||this.shiftAndExecuteNext(n)})}append(t,n,o){this.operationQueue&&this.operationQueue.append(t,n,o)}appendBlocker(t){if(this.operationQueue)return this.operationQueue.appendBlocker(t)}currentOp(t){return this.operationQueue?this.operationQueue.current(t):null}executeNext(t){t&&this.operationQueue&&this.operationQueue.executeNext(t)}shiftAndExecuteNext(t){this.operationQueue&&this.operationQueue.shiftAndExecuteNext(t)}get pendingTrackCount(){return Object.keys(this.tracks).reduce((t,n)=>t+(this.isPending(this.tracks[n])?1:0),0)}get sourceBufferCount(){return this.sourceBuffers.reduce((t,[n])=>t+(n?1:0),0)}get sourceBufferTypes(){return this.sourceBuffers.map(([t])=>t).filter(t=>!!t)}addBufferListener(t,n,o){const m=this.tracks[t];if(!m)return;const E=m.buffer;if(!E)return;const T=o.bind(this,t);m.listeners.push({event:n,listener:T}),E.addEventListener(n,T)}removeBufferListeners(t){const n=this.tracks[t];if(!n)return;const o=n.buffer;o&&(n.listeners.forEach(m=>{o.removeEventListener(m.event,m.listener)}),n.listeners.length=0)}}function lc(P){const t=P.querySelectorAll("source");[].slice.call(t).forEach(n=>{P.removeChild(n)})}function Ac(P,t){const n=self.document.createElement("source");n.type="video/mp4",n.src=t,P.appendChild(n)}function qs(P){return P==="audio"?1:0}class cc{constructor(t){this.hls=void 0,this.autoLevelCapping=void 0,this.firstLevel=void 0,this.media=void 0,this.restrictedLevels=void 0,this.timer=void 0,this.clientRect=void 0,this.streamController=void 0,this.hls=t,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.firstLevel=-1,this.media=null,this.restrictedLevels=[],this.timer=void 0,this.clientRect=null,this.registerListeners()}setStreamController(t){this.streamController=t}destroy(){this.hls&&this.unregisterListener(),this.timer&&this.stopCapping(),this.media=null,this.clientRect=null,this.hls=this.streamController=null}registerListeners(){const{hls:t}=this;t.on(s.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.BUFFER_CODECS,this.onBufferCodecs,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:t}=this;t.off(s.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.BUFFER_CODECS,this.onBufferCodecs,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this)}onFpsDropLevelCapping(t,n){const o=this.hls.levels[n.droppedLevel];this.isLevelAllowed(o)&&this.restrictedLevels.push({bitrate:o.bitrate,height:o.height,width:o.width})}onMediaAttaching(t,n){this.media=n.media instanceof HTMLVideoElement?n.media:null,this.clientRect=null,this.timer&&this.hls.levels.length&&this.detectPlayerSize()}onManifestParsed(t,n){const o=this.hls;this.restrictedLevels=[],this.firstLevel=n.firstLevel,o.config.capLevelToPlayerSize&&n.video&&this.startCapping()}onLevelsUpdated(t,n){this.timer&&r(this.autoLevelCapping)&&this.detectPlayerSize()}onBufferCodecs(t,n){this.hls.config.capLevelToPlayerSize&&n.video&&this.startCapping()}onMediaDetaching(){this.stopCapping(),this.media=null}detectPlayerSize(){if(this.media){if(this.mediaHeight<=0||this.mediaWidth<=0){this.clientRect=null;return}const t=this.hls.levels;if(t.length){const n=this.hls,o=this.getMaxLevel(t.length-1);o!==this.autoLevelCapping&&n.logger.log(`Setting autoLevelCapping to ${o}: ${t[o].height}p@${t[o].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`),n.autoLevelCapping=o,n.autoLevelEnabled&&n.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=n.autoLevelCapping}}}getMaxLevel(t){const n=this.hls.levels;if(!n.length)return-1;const o=n.filter((m,E)=>this.isLevelAllowed(m)&&E<=t);return this.clientRect=null,cc.getMaxLevelByMediaSize(o,this.mediaWidth,this.mediaHeight)}startCapping(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,self.clearInterval(this.timer),this.timer=self.setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())}stopCapping(){this.restrictedLevels=[],this.firstLevel=-1,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(self.clearInterval(this.timer),this.timer=void 0)}getDimensions(){if(this.clientRect)return this.clientRect;const t=this.media,n={width:0,height:0};if(t){const o=t.getBoundingClientRect();n.width=o.width,n.height=o.height,!n.width&&!n.height&&(n.width=o.right-o.left||t.width||0,n.height=o.bottom-o.top||t.height||0)}return this.clientRect=n,n}get mediaWidth(){return this.getDimensions().width*this.contentScaleFactor}get mediaHeight(){return this.getDimensions().height*this.contentScaleFactor}get contentScaleFactor(){let t=1;if(!this.hls.config.ignoreDevicePixelRatio)try{t=self.devicePixelRatio}catch(n){}return Math.min(t,this.hls.config.maxDevicePixelRatio)}isLevelAllowed(t){return!this.restrictedLevels.some(o=>t.bitrate===o.bitrate&&t.width===o.width&&t.height===o.height)}static getMaxLevelByMediaSize(t,n,o){if(!(t!=null&&t.length))return-1;const m=(z,H)=>H?z.width!==H.width||z.height!==H.height:!0;let E=t.length-1;const T=Math.max(n,o);for(let z=0;z<t.length;z+=1){const H=t[z];if((H.width>=T||H.height>=T)&&m(H,t[z+1])){E=z;break}}return E}}const Bo={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"},Cc={HLS:"h"},ro={OBJECT:"CMCD-Object",REQUEST:"CMCD-Request",SESSION:"CMCD-Session",STATUS:"CMCD-Status"},No={[ro.OBJECT]:["br","d","ot","tb"],[ro.REQUEST]:["bl","dl","mtp","nor","nrr","su"],[ro.SESSION]:["cid","pr","sf","sid","st","v"],[ro.STATUS]:["bs","rtp"]};class Wu{constructor(t,n){Array.isArray(t)&&(t=t.map(o=>o instanceof Wu?o:new Wu(o))),this.value=t,this.params=n}}const Tl="Dict";function ru(P){return Array.isArray(P)?JSON.stringify(P):P instanceof Map?"Map{}":P instanceof Set?"Set{}":typeof P=="object"?JSON.stringify(P):String(P)}function Tc(P,t,n,o){return new Error(`failed to ${P} "${ru(t)}" as ${n}`,{cause:o})}function cu(P,t,n){return Tc("serialize",P,t,n)}class Xo{constructor(t){this.description=t}}const pl="Bare Item",xu="Boolean";function fc(P){if(typeof P!="boolean")throw cu(P,xu);return P?"?1":"?0"}const _l="Byte Sequence";function Ra(P){if(ArrayBuffer.isView(P)===!1)throw cu(P,_l);return`:${Wi(P)}:`}const lf="Integer";function zc(P){return P<-999999999999999||999999999999999<P}function Ou(P){if(zc(P))throw cu(P,lf);return P.toString()}function Pc(P){return`@${Ou(P.getTime()/1e3)}`}const cf="Decimal";function dc(P){const t=ka(P,3);if(Math.floor(Math.abs(t)).toString().length>12)throw cu(P,cf);const n=t.toString();return n.includes(".")?n:`${n}.0`}const nu="String",Zc=/[\x00-\x1f\x7f]+/;function hc(P){if(Zc.test(P))throw cu(P,nu);return`"${P.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function Gl(P){return P.description||P.toString().slice(7,-1)}const Hc="Token";function pc(P){const t=Gl(P);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(t)===!1)throw cu(t,Hc);return t}function zo(P){switch(typeof P){case"number":if(!r(P))throw cu(P,pl);return Number.isInteger(P)?Ou(P):dc(P);case"string":return hc(P);case"symbol":return pc(P);case"boolean":return fc(P);case"object":if(P instanceof Date)return Pc(P);if(P instanceof Uint8Array)return Ra(P);if(P instanceof Xo)return pc(P);default:throw cu(P,pl)}}const Gu="Key";function Pl(P){if(/^[a-z*][a-z0-9\-_.*]*$/.test(P)===!1)throw cu(P,Gu);return P}function Eu(P){return P==null?"":Object.entries(P).map(([t,n])=>n===!0?`;${Pl(t)}`:`;${Pl(t)}=${zo(n)}`).join("")}function _c(P){return P instanceof Wu?`${zo(P.value)}${Eu(P.params)}`:zo(P)}function Wc(P){return`(${P.value.map(_c).join(" ")})${Eu(P.params)}`}function Vl(P,t={whitespace:!0}){if(typeof P!="object")throw cu(P,Tl);const n=P instanceof Map?P.entries():Object.entries(P),o=t!=null&&t.whitespace?" ":"";return Array.from(n).map(([m,E])=>{E instanceof Wu||(E=new Wu(E));let T=Pl(m);return E.value===!0?T+=Eu(E.params):(T+="=",Array.isArray(E.value)?T+=Wc(E):T+=_c(E)),T}).join(`,${o}`)}function no(P,t){return Vl(P,t)}function Gc(P){return P==="ot"||P==="sf"||P==="st"}function Ic(P){return typeof P=="number"?r(P):P!=null&&P!==""&&P!==!1}const ku=P=>Math.round(P),Ru=(P,t)=>(t!=null&&t.baseUrl&&(P=ea(P,t.baseUrl)),encodeURIComponent(P)),$s=P=>ku(P/100)*100,ml={br:ku,d:ku,bl:$s,dl:$s,mtp:$s,nor:Ru,rtp:$s,tb:ku};function ff(P,t){const n={};if(P==null||typeof P!="object")return n;const o=Object.keys(P).sort(),m=y({},ml,t==null?void 0:t.formatters),E=t==null?void 0:t.filter;return o.forEach(T=>{if(E!=null&&E(T))return;let z=P[T];const H=m[T];H&&(z=H(z,t)),!(T==="v"&&z===1)&&(T=="pr"&&z===1||Ic(z)&&(Gc(T)&&typeof z=="string"&&(z=new Xo(z)),n[T]=z))}),n}function mc(P,t={}){return P?no(ff(P,t),y({whitespace:!1},t)):""}function Vc(P,t={}){const n={};if(!P)return n;const o=Object.entries(P),m=Object.entries(No).concat(Object.entries((t==null?void 0:t.customHeaderMap)||{})),E=o.reduce((T,z)=>{var H,j;const[se,ce]=z,xe=((H=m.find(Ie=>Ie[1].includes(se)))===null||H===void 0?void 0:H[0])||ro.REQUEST;return(j=T[xe])!==null&&j!==void 0||(T[xe]={}),T[xe][se]=ce,T},{});return Object.entries(E).reduce((T,[z,H])=>(T[z]=mc(H,t),T),n)}function vl(P,t,n){return y(P,Vc(t,n))}const ko="CMCD";function Il(P,t={}){if(!P)return"";const n=mc(P,t);return`${ko}=${encodeURIComponent(n)}`}const ze=/CMCD=[^&#]+/;function wu(P,t,n){const o=Il(t,n);if(!o)return P;if(ze.test(P))return P.replace(ze,o);const m=P.includes("?")?"&":"?";return`${P}${m}${o}`}class Qo{constructor(t){this.hls=void 0,this.config=void 0,this.media=void 0,this.sid=void 0,this.cid=void 0,this.useHeaders=!1,this.includeKeys=void 0,this.initialized=!1,this.starved=!1,this.buffering=!0,this.audioBuffer=void 0,this.videoBuffer=void 0,this.onWaiting=()=>{this.initialized&&(this.starved=!0),this.buffering=!0},this.onPlaying=()=>{this.initialized||(this.initialized=!0),this.buffering=!1},this.applyPlaylistData=m=>{try{this.apply(m,{ot:Bo.MANIFEST,su:!this.initialized})}catch(E){this.hls.logger.warn("Could not generate manifest CMCD data.",E)}},this.applyFragmentData=m=>{try{const{frag:E,part:T}=m,z=this.hls.levels[E.level],H=this.getObjectType(E),j={d:(T||E).duration*1e3,ot:H};(H===Bo.VIDEO||H===Bo.AUDIO||H==Bo.MUXED)&&(j.br=z.bitrate/1e3,j.tb=this.getTopBandwidth(H)/1e3,j.bl=this.getBufferLength(H));const se=T?this.getNextPart(T):this.getNextFrag(E);se!=null&&se.url&&se.url!==E.url&&(j.nor=se.url),this.apply(m,j)}catch(E){this.hls.logger.warn("Could not generate segment CMCD data.",E)}},this.hls=t;const n=this.config=t.config,{cmcd:o}=n;o!=null&&(n.pLoader=this.createPlaylistLoader(),n.fLoader=this.createFragmentLoader(),this.sid=o.sessionId||t.sessionId,this.cid=o.contentId,this.useHeaders=o.useHeaders===!0,this.includeKeys=o.includeKeys,this.registerListeners())}registerListeners(){const t=this.hls;t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHED,this.onMediaDetached,this),t.on(s.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const t=this.hls;t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHED,this.onMediaDetached,this),t.off(s.BUFFER_CREATED,this.onBufferCreated,this)}destroy(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null,this.onWaiting=this.onPlaying=this.media=null}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("waiting",this.onWaiting),this.media.addEventListener("playing",this.onPlaying)}onMediaDetached(){this.media&&(this.media.removeEventListener("waiting",this.onWaiting),this.media.removeEventListener("playing",this.onPlaying),this.media=null)}onBufferCreated(t,n){var o,m;this.audioBuffer=(o=n.tracks.audio)==null?void 0:o.buffer,this.videoBuffer=(m=n.tracks.video)==null?void 0:m.buffer}createData(){var t;return{v:1,sf:Cc.HLS,sid:this.sid,cid:this.cid,pr:(t=this.media)==null?void 0:t.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}}apply(t,n={}){y(n,this.createData());const o=n.ot===Bo.INIT||n.ot===Bo.VIDEO||n.ot===Bo.MUXED;this.starved&&o&&(n.bs=!0,n.su=!0,this.starved=!1),n.su==null&&(n.su=this.buffering);const{includeKeys:m}=this;m&&(n=Object.keys(n).reduce((T,z)=>(m.includes(z)&&(T[z]=n[z]),T),{}));const E={baseUrl:t.url};this.useHeaders?(t.headers||(t.headers={}),vl(t.headers,n,E)):t.url=wu(t.url,n,E)}getNextFrag(t){var n;const o=(n=this.hls.levels[t.level])==null?void 0:n.details;if(o){const m=t.sn-o.startSN;return o.fragments[m+1]}}getNextPart(t){var n,o;const{index:m,fragment:E}=t,T=(n=this.hls.levels[E.level])==null||(o=n.details)==null?void 0:o.partList;if(T){const{sn:z}=E;for(let H=T.length-1;H>=0;H--){const j=T[H];if(j.index===m&&j.fragment.sn===z)return T[H+1]}}}getObjectType(t){const{type:n}=t;if(n==="subtitle")return Bo.TIMED_TEXT;if(t.sn==="initSegment")return Bo.INIT;if(n==="audio")return Bo.AUDIO;if(n==="main")return this.hls.audioTracks.length?Bo.VIDEO:Bo.MUXED}getTopBandwidth(t){let n=0,o;const m=this.hls;if(t===Bo.AUDIO)o=m.audioTracks;else{const E=m.maxAutoLevel,T=E>-1?E+1:m.levels.length;o=m.levels.slice(0,T)}for(const E of o)E.bitrate>n&&(n=E.bitrate);return n>0?n:NaN}getBufferLength(t){const n=this.media,o=t===Bo.AUDIO?this.audioBuffer:this.videoBuffer;return!o||!n?NaN:yi.bufferInfo(o,n.currentTime,this.config.maxBufferHole).len*1e3}createPlaylistLoader(){const{pLoader:t}=this.config,n=this.applyPlaylistData,o=t||this.config.loader;return class{constructor(E){this.loader=void 0,this.loader=new o(E)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(E,T,z){n(E),this.loader.load(E,T,z)}}}createFragmentLoader(){const{fLoader:t}=this.config,n=this.applyFragmentData,o=t||this.config.loader;return class{constructor(E){this.loader=void 0,this.loader=new o(E)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(E,T,z){n(E),this.loader.load(E,T,z)}}}}const Kl=3e5;class $o extends L{constructor(t){super("content-steering",t.logger),this.hls=void 0,this.loader=null,this.uri=null,this.pathwayId=".",this._pathwayPriority=null,this.timeToLoad=300,this.reloadTimer=-1,this.updated=0,this.started=!1,this.enabled=!0,this.levels=null,this.audioTracks=null,this.subtitleTracks=null,this.penalizedPathways={},this.hls=t,this.registerListeners()}registerListeners(){const t=this.hls;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const t=this.hls;t&&(t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.ERROR,this.onError,this))}pathways(){return(this.levels||[]).reduce((t,n)=>(t.indexOf(n.pathwayId)===-1&&t.push(n.pathwayId),t),[])}get pathwayPriority(){return this._pathwayPriority}set pathwayPriority(t){this.updatePathwayPriority(t)}startLoad(){if(this.started=!0,this.clearTimeout(),this.enabled&&this.uri){if(this.updated){const t=this.timeToLoad*1e3-(performance.now()-this.updated);if(t>0){this.scheduleRefresh(this.uri,t);return}}this.loadSteeringManifest(this.uri)}}stopLoad(){this.started=!1,this.loader&&(this.loader.destroy(),this.loader=null),this.clearTimeout()}clearTimeout(){this.reloadTimer!==-1&&(self.clearTimeout(this.reloadTimer),this.reloadTimer=-1)}destroy(){this.unregisterListeners(),this.stopLoad(),this.hls=null,this.levels=this.audioTracks=this.subtitleTracks=null}removeLevel(t){const n=this.levels;n&&(this.levels=n.filter(o=>o!==t))}onManifestLoading(){this.stopLoad(),this.enabled=!0,this.timeToLoad=300,this.updated=0,this.uri=null,this.pathwayId=".",this.levels=this.audioTracks=this.subtitleTracks=null}onManifestLoaded(t,n){const{contentSteering:o}=n;o!==null&&(this.pathwayId=o.pathwayId,this.uri=o.uri,this.started&&this.startLoad())}onManifestParsed(t,n){this.audioTracks=n.audioTracks,this.subtitleTracks=n.subtitleTracks}onError(t,n){const{errorAction:o}=n;if((o==null?void 0:o.action)===Ee.SendAlternateToPenaltyBox&&o.flags===it.MoveAllAlternatesMatchingHost){const m=this.levels;let E=this._pathwayPriority,T=this.pathwayId;if(n.context){const{groupId:z,pathwayId:H,type:j}=n.context;z&&m?T=this.getPathwayForGroupId(z,j,T):H&&(T=H)}T in this.penalizedPathways||(this.penalizedPathways[T]=performance.now()),!E&&m&&(E=this.pathways()),E&&E.length>1&&(this.updatePathwayPriority(E),o.resolved=this.pathwayId!==T),o.resolved||this.warn(`Could not resolve ${n.details} ("${n.error.message}") with content-steering for Pathway: ${T} levels: ${m&&m.length} priorities: ${jn(E)} penalized: ${jn(this.penalizedPathways)}`)}}filterParsedLevels(t){this.levels=t;let n=this.getLevelsForPathway(this.pathwayId);if(n.length===0){const o=t[0].pathwayId;this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${o}"`),n=this.getLevelsForPathway(o),this.pathwayId=o}return n.length!==t.length&&this.log(`Found ${n.length}/${t.length} levels in Pathway "${this.pathwayId}"`),n}getLevelsForPathway(t){return this.levels===null?[]:this.levels.filter(n=>t===n.pathwayId)}updatePathwayPriority(t){this._pathwayPriority=t;let n;const o=this.penalizedPathways,m=performance.now();Object.keys(o).forEach(E=>{m-o[E]>Kl&&delete o[E]});for(let E=0;E<t.length;E++){const T=t[E];if(T in o)continue;if(T===this.pathwayId)return;const z=this.hls.nextLoadLevel,H=this.hls.levels[z];if(n=this.getLevelsForPathway(T),n.length>0){this.log(`Setting Pathway to "${T}"`),this.pathwayId=T,Hn(n),this.hls.trigger(s.LEVELS_UPDATED,{levels:n});const j=this.hls.levels[z];H&&j&&this.levels&&(j.attrs["STABLE-VARIANT-ID"]!==H.attrs["STABLE-VARIANT-ID"]&&j.bitrate!==H.bitrate&&this.log(`Unstable Pathways change from bitrate ${H.bitrate} to ${j.bitrate}`),this.hls.nextLoadLevel=z);break}}}getPathwayForGroupId(t,n,o){const m=this.getLevelsForPathway(o).concat(this.levels||[]);for(let E=0;E<m.length;E++)if(n===h.AUDIO_TRACK&&m[E].hasAudioGroup(t)||n===h.SUBTITLE_TRACK&&m[E].hasSubtitleGroup(t))return m[E].pathwayId;return o}clonePathways(t){const n=this.levels;if(!n)return;const o={},m={};t.forEach(E=>{const{ID:T,"BASE-ID":z,"URI-REPLACEMENT":H}=E;if(n.some(se=>se.pathwayId===T))return;const j=this.getLevelsForPathway(z).map(se=>{const ce=new ji(se.attrs);ce["PATHWAY-ID"]=T;const xe=ce.AUDIO&&`${ce.AUDIO}_clone_${T}`,Ie=ce.SUBTITLES&&`${ce.SUBTITLES}_clone_${T}`;xe&&(o[ce.AUDIO]=xe,ce.AUDIO=xe),Ie&&(m[ce.SUBTITLES]=Ie,ce.SUBTITLES=Ie);const Oe=Yl(se.uri,ce["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",H),tt=new mr({attrs:ce,audioCodec:se.audioCodec,bitrate:se.bitrate,height:se.height,name:se.name,url:Oe,videoCodec:se.videoCodec,width:se.width});if(se.audioGroups)for(let at=1;at<se.audioGroups.length;at++)tt.addGroupId("audio",`${se.audioGroups[at]}_clone_${T}`);if(se.subtitleGroups)for(let at=1;at<se.subtitleGroups.length;at++)tt.addGroupId("text",`${se.subtitleGroups[at]}_clone_${T}`);return tt});n.push(...j),fu(this.audioTracks,o,H,T),fu(this.subtitleTracks,m,H,T)})}loadSteeringManifest(t){const n=this.hls.config,o=n.loader;this.loader&&this.loader.destroy(),this.loader=new o(n);let m;try{m=new self.URL(t)}catch(se){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${t}`);return}if(m.protocol!=="data:"){const se=(this.hls.bandwidthEstimate||n.abrEwmaDefaultEstimate)|0;m.searchParams.set("_HLS_pathway",this.pathwayId),m.searchParams.set("_HLS_throughput",""+se)}const E={responseType:"json",url:m.href},T=n.steeringManifestLoadPolicy.default,z=T.errorRetry||T.timeoutRetry||{},H={loadPolicy:T,timeout:T.maxLoadTimeMs,maxRetry:z.maxNumRetry||0,retryDelay:z.retryDelayMs||0,maxRetryDelay:z.maxRetryDelayMs||0},j={onSuccess:(se,ce,xe,Ie)=>{this.log(`Loaded steering manifest: "${m}"`);const Oe=se.data;if((Oe==null?void 0:Oe.VERSION)!==1){this.log(`Steering VERSION ${Oe.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=Oe.TTL;const{"RELOAD-URI":tt,"PATHWAY-CLONES":at,"PATHWAY-PRIORITY":Nt}=Oe;if(tt)try{this.uri=new self.URL(tt,m).href}catch(ar){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${tt}`);return}this.scheduleRefresh(this.uri||xe.url),at&&this.clonePathways(at);const dr={steeringManifest:Oe,url:m.toString()};this.hls.trigger(s.STEERING_MANIFEST_LOADED,dr),Nt&&this.updatePathwayPriority(Nt)},onError:(se,ce,xe,Ie)=>{if(this.log(`Error loading steering manifest: ${se.code} ${se.text} (${ce.url})`),this.stopLoad(),se.code===410){this.enabled=!1,this.log(`Steering manifest ${ce.url} no longer available`);return}let Oe=this.timeToLoad*1e3;if(se.code===429){const tt=this.loader;if(typeof(tt==null?void 0:tt.getResponseHeader)=="function"){const at=tt.getResponseHeader("Retry-After");at&&(Oe=parseFloat(at)*1e3)}this.log(`Steering manifest ${ce.url} rate limited`);return}this.scheduleRefresh(this.uri||ce.url,Oe)},onTimeout:(se,ce,xe)=>{this.log(`Timeout loading steering manifest (${ce.url})`),this.scheduleRefresh(this.uri||ce.url)}};this.log(`Requesting steering manifest: ${m}`),this.loader.load(E,H,j)}scheduleRefresh(t,n=this.timeToLoad*1e3){this.clearTimeout(),this.reloadTimer=self.setTimeout(()=>{var o;const m=(o=this.hls)==null?void 0:o.media;if(m&&!m.ended){this.loadSteeringManifest(t);return}this.scheduleRefresh(t,this.timeToLoad*1e3)},n)}}function fu(P,t,n,o){P&&Object.keys(t).forEach(m=>{const E=P.filter(T=>T.groupId===m).map(T=>{const z=y({},T);return z.details=void 0,z.attrs=new ji(z.attrs),z.url=z.attrs.URI=Yl(T.url,T.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",n),z.groupId=z.attrs["GROUP-ID"]=t[m],z.attrs["PATHWAY-ID"]=o,z});P.push(...E)})}function Yl(P,t,n,o){const{HOST:m,PARAMS:E,[n]:T}=o;let z;t&&(z=T==null?void 0:T[t],z&&(P=z));const H=new self.URL(P);return m&&!z&&(H.host=m),E&&Object.keys(E).sort().forEach(j=>{j&&H.searchParams.set(j,E[j])}),H.href}class Lu extends L{constructor(t){super("eme",t.logger),this.hls=void 0,this.config=void 0,this.media=null,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.setMediaKeysQueue=Lu.CDMCleanupPromise?[Lu.CDMCleanupPromise]:[],this.onMediaEncrypted=n=>{const{initDataType:o,initData:m}=n,E=`"${n.type}" event: init data type: "${o}"`;if(this.debug(E),m!==null){if(!this.keyFormatPromise){let T=Object.keys(this.keySystemAccessPromises);T.length||(T=oi(this.config));const z=T.map(hi).filter(H=>!!H);this.keyFormatPromise=this.getKeyFormatPromise(z)}this.keyFormatPromise.then(T=>{const z=mo(T);let H,j;if(o==="sinf"){if(z!==ca.FAIRPLAY){this.warn(`Ignoring unexpected "${n.type}" event with init data type: "${o}" for selected key-system ${z}`);return}const Oe=qt(new Uint8Array(m));try{const tt=ms(JSON.parse(Oe).sinf),at=nt(tt);if(!at)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");H=new Uint8Array(at.subarray(8,24)),j=ca.FAIRPLAY}catch(tt){this.warn(`${E} Failed to parse sinf: ${tt}`);return}}else{if(z!==ca.WIDEVINE&&z!==ca.PLAYREADY){this.warn(`Ignoring unexpected "${n.type}" event with init data type: "${o}" for selected key-system ${z}`);return}const Oe=Ot(m),tt=Oe.filter(Nt=>!!Nt.systemId&&go(Nt.systemId)===z);tt.length>1&&this.warn(`${E} Using first of ${tt.length} pssh found for selected key-system ${z}`);const at=tt[0];if(!at){Oe.length===0||Oe.some(Nt=>!Nt.systemId)?this.warn(`${E} contains incomplete or invalid pssh data`):this.log(`ignoring ${E} for ${Oe.map(Nt=>go(Nt.systemId)).join(",")} pssh data in favor of playlist keys`);return}if(j=go(at.systemId),at.version===0&&at.data)if(j===ca.WIDEVINE){const Nt=at.data.length-22;H=new Uint8Array(at.data.subarray(Nt,Nt+16))}else j===ca.PLAYREADY&&(H=co(at.data))}if(!j||!H)return;const se=J.hexDump(H),{keyIdToKeySessionPromise:ce,mediaKeySessions:xe}=this;let Ie=ce[se];for(let Oe=0;Oe<xe.length;Oe++){const tt=xe[Oe],at=tt.decryptdata;if(!at.keyId)continue;const Nt=J.hexDump(at.keyId);if(se===Nt||at.uri.replace(/-/g,"").indexOf(se)!==-1){if(Ie=ce[Nt],at.pssh)break;delete ce[Nt],at.pssh=new Uint8Array(m),at.keyId=H,Ie=ce[se]=Ie.then(()=>this.generateRequestWithPreferredKeySession(tt,o,m,"encrypted-event-key-match")),Ie.catch(dr=>this.handleError(dr));break}}if(!Ie){if(j!==z){this.log(`Ignoring "${n.type}" event with ${j} init data for selected key-system ${z}`);return}Ie=ce[se]=this.getKeySystemSelectionPromise([j]).then(({keySystem:Oe,mediaKeys:tt})=>{var at;this.throwIfDestroyed();const Nt=new Qa("ISO-23001-7",se,(at=hi(Oe))!=null?at:"");return Nt.pssh=new Uint8Array(m),Nt.keyId=H,this.attemptSetMediaKeys(Oe,tt).then(()=>{this.throwIfDestroyed();const dr=this.createMediaKeySessionContext({decryptdata:Nt,keySystem:Oe,mediaKeys:tt});return this.generateRequestWithPreferredKeySession(dr,o,m,"encrypted-event-no-match")})}),Ie.catch(Oe=>this.handleError(Oe))}})}},this.onWaitingForKey=n=>{this.log(`"${n.type}" event`)},this.hls=t,this.config=t.config,this.registerListeners()}destroy(){const t=this.media;this.unregisterListeners(),this.onMediaDetached(),this._clear(t);const n=this.config;n.requestMediaKeySystemAccessFunc=null,n.licenseXhrSetup=n.licenseResponseCallback=void 0,n.drmSystems=n.drmSystemOptions={},this.hls=this.config=this.keyIdToKeySessionPromise=null,this.onMediaEncrypted=this.onWaitingForKey=null}registerListeners(){this.hls.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(s.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(s.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(s.MANIFEST_LOADED,this.onManifestLoaded,this)}unregisterListeners(){this.hls.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(s.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(s.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(s.MANIFEST_LOADED,this.onManifestLoaded,this)}getLicenseServerUrl(t){const{drmSystems:n,widevineLicenseUrl:o}=this.config,m=n[t];if(m)return m.licenseUrl;if(t===ca.WIDEVINE&&o)return o}getLicenseServerUrlOrThrow(t){const n=this.getLicenseServerUrl(t);if(n===void 0)throw new Error(`no license server URL configured for key-system "${t}"`);return n}getServerCertificateUrl(t){const{drmSystems:n}=this.config,o=n[t];if(o)return o.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${t}"]`)}attemptKeySystemAccess(t){const n=this.hls.levels,o=(T,z,H)=>!!T&&H.indexOf(T)===z,m=n.map(T=>T.audioCodec).filter(o),E=n.map(T=>T.videoCodec).filter(o);return m.length+E.length===0&&E.push("avc1.42e01e"),new Promise((T,z)=>{const H=j=>{const se=j.shift();this.getMediaKeysPromise(se,m,E).then(ce=>T({keySystem:se,mediaKeys:ce})).catch(ce=>{j.length?H(j):ce instanceof So?z(ce):z(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_ACCESS,error:ce,fatal:!0},ce.message))})};H(t)})}requestMediaKeySystemAccess(t,n){const{requestMediaKeySystemAccessFunc:o}=this.config;if(typeof o!="function"){let m=`Configured requestMediaKeySystemAccess is not a function ${o}`;return Fa===null&&self.location.protocol==="http:"&&(m=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(m))}return o(t,n)}getMediaKeysPromise(t,n,o){const m=Va(t,n,o,this.config.drmSystemOptions),E=this.keySystemAccessPromises[t];let T=E==null?void 0:E.keySystemAccess;if(!T){this.log(`Requesting encrypted media "${t}" key-system access with config: ${jn(m)}`),T=this.requestMediaKeySystemAccess(t,m);const z=this.keySystemAccessPromises[t]={keySystemAccess:T};return T.catch(H=>{this.log(`Failed to obtain access to key-system "${t}": ${H}`)}),T.then(H=>{this.log(`Access for key-system "${H.keySystem}" obtained`);const j=this.fetchServerCertificate(t);return this.log(`Create media-keys for "${t}"`),z.mediaKeys=H.createMediaKeys().then(se=>(this.log(`Media-keys created for "${t}"`),j.then(ce=>ce?this.setMediaKeysServerCertificate(se,t,ce):se))),z.mediaKeys.catch(se=>{this.error(`Failed to create media-keys for "${t}"}: ${se}`)}),z.mediaKeys})}return T.then(()=>E.mediaKeys)}createMediaKeySessionContext({decryptdata:t,keySystem:n,mediaKeys:o}){this.log(`Creating key-system session "${n}" keyId: ${J.hexDump(t.keyId||[])}`);const m=o.createSession(),E={decryptdata:t,keySystem:n,mediaKeys:o,mediaKeysSession:m,keyStatus:"status-pending"};return this.mediaKeySessions.push(E),E}renewKeySession(t){const n=t.decryptdata;if(n.pssh){const o=this.createMediaKeySessionContext(t),m=this.getKeyIdString(n),E="cenc";this.keyIdToKeySessionPromise[m]=this.generateRequestWithPreferredKeySession(o,E,n.pssh.buffer,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(t)}getKeyIdString(t){if(!t)throw new Error("Could not read keyId of undefined decryptdata");if(t.keyId===null)throw new Error("keyId is null");return J.hexDump(t.keyId)}updateKeySession(t,n){var o;const m=t.mediaKeysSession;return this.log(`Updating key-session "${m.sessionId}" for keyID ${J.hexDump(((o=t.decryptdata)==null?void 0:o.keyId)||[])}
} (data length: ${n&&n.byteLength})`),m.update(n)}selectKeySystemFormat(t){const n=Object.keys(t.levelkeys||{});return this.keyFormatPromise||(this.log(`Selecting key-system from fragment (sn: ${t.sn} ${t.type}: ${t.level}) key formats ${n.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(n)),this.keyFormatPromise}getKeyFormatPromise(t){return new Promise((n,o)=>{const m=oi(this.config),E=t.map(mo).filter(T=>!!T&&m.indexOf(T)!==-1);return this.getKeySystemSelectionPromise(E).then(({keySystem:T})=>{const z=hi(T);z?n(z):o(new Error(`Unable to find format for key-system "${T}"`))}).catch(o)})}loadKey(t){const n=t.keyInfo.decryptdata,o=this.getKeyIdString(n),m=`(keyId: ${o} format: "${n.keyFormat}" method: ${n.method} uri: ${n.uri})`;this.log(`Starting session for key ${m}`);let E=this.keyIdToKeySessionPromise[o];return E||(E=this.getKeySystemForKeyPromise(n).then(({keySystem:z,mediaKeys:H})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${t.frag.sn} ${t.frag.type}: ${t.frag.level} using key ${m}`),this.attemptSetMediaKeys(z,H).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:z,mediaKeys:H,decryptdata:n}))))),(this.keyIdToKeySessionPromise[o]=E.then(z=>{const H="cenc",j=n.pssh?n.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(z,H,j,"playlist-key")})).catch(z=>this.handleError(z))),E}throwIfDestroyed(t="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(t){this.hls&&(this.error(t.message),t instanceof So?this.hls.trigger(s.ERROR,t.data):this.hls.trigger(s.ERROR,{type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_KEYS,error:t,fatal:!0}))}getKeySystemForKeyPromise(t){const n=this.getKeyIdString(t),o=this.keyIdToKeySessionPromise[n];if(!o){const m=mo(t.keyFormat),E=m?[m]:oi(this.config);return this.attemptKeySystemAccess(E)}return o}getKeySystemSelectionPromise(t){if(t.length||(t=oi(this.config)),t.length===0)throw new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${jn({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(t)}attemptSetMediaKeys(t,n){const o=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${t}"`);const m=Promise.all(o).then(()=>{if(!this.media)throw new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(n)});return this.setMediaKeysQueue.push(m),m.then(()=>{this.log(`Media-keys set for "${t}"`),o.push(m),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(E=>o.indexOf(E)===-1)})}generateRequestWithPreferredKeySession(t,n,o,m){var E,T;const z=(E=this.config.drmSystems)==null||(T=E[t.keySystem])==null?void 0:T.generateRequest;if(z)try{const Oe=z.call(this.hls,n,o,t);if(!Oe)throw new Error("Invalid response from configured generateRequest filter");n=Oe.initDataType,o=Oe.initData?Oe.initData:null,t.decryptdata.pssh=o?new Uint8Array(o):null}catch(Oe){var H;if(this.warn(Oe.message),(H=this.hls)!=null&&H.config.debug)throw Oe}if(o===null)return this.log(`Skipping key-session request for "${m}" (no initData)`),Promise.resolve(t);const j=this.getKeyIdString(t.decryptdata);this.log(`Generating key-session request for "${m}": ${j} (init data type: ${n} length: ${o?o.byteLength:null})`);const se=new ks,ce=t._onmessage=Oe=>{const tt=t.mediaKeysSession;if(!tt){se.emit("error",new Error("invalid state"));return}const{messageType:at,message:Nt}=Oe;this.log(`"${at}" message event for session "${tt.sessionId}" message size: ${Nt.byteLength}`),at==="license-request"||at==="license-renewal"?this.renewLicense(t,Nt).catch(dr=>{se.eventNames().length?se.emit("error",dr):this.handleError(dr)}):at==="license-release"?t.keySystem===ca.FAIRPLAY&&(this.updateKeySession(t,Bs("acknowledged")),this.removeSession(t)):this.warn(`unhandled media key message type "${at}"`)},xe=t._onkeystatuseschange=Oe=>{if(!t.mediaKeysSession){se.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(t);const at=t.keyStatus;se.emit("keyStatus",at),at==="expired"&&(this.warn(`${t.keySystem} expired for key ${j}`),this.renewKeySession(t))};t.mediaKeysSession.addEventListener("message",ce),t.mediaKeysSession.addEventListener("keystatuseschange",xe);const Ie=new Promise((Oe,tt)=>{se.on("error",tt),se.on("keyStatus",at=>{at.startsWith("usable")?Oe():at==="output-restricted"?tt(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):at==="internal-error"?tt(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${at}"`)):at==="expired"?tt(new Error("key expired while generating request")):this.warn(`unhandled key status change "${at}"`)})});return t.mediaKeysSession.generateRequest(n,o).then(()=>{var Oe;this.log(`Request generated for key-session "${(Oe=t.mediaKeysSession)==null?void 0:Oe.sessionId}" keyId: ${j}`)}).catch(Oe=>{throw new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_SESSION,error:Oe,fatal:!1},`Error generating key-session request: ${Oe}`)}).then(()=>Ie).catch(Oe=>{throw se.removeAllListeners(),this.removeSession(t),Oe}).then(()=>(se.removeAllListeners(),t))}onKeyStatusChange(t){t.mediaKeysSession.keyStatuses.forEach((n,o)=>{if(typeof o=="string"&&typeof n=="object"){const m=o;o=n,n=m}this.log(`key status change "${n}" for keyStatuses keyId: ${J.hexDump("buffer"in o?new Uint8Array(o.buffer,o.byteOffset,o.byteLength):new Uint8Array(o))} session keyId: ${J.hexDump(new Uint8Array(t.decryptdata.keyId||[]))} uri: ${t.decryptdata.uri}`),t.keyStatus=n})}fetchServerCertificate(t){const n=this.config,o=n.loader,m=new o(n),E=this.getServerCertificateUrl(t);return E?(this.log(`Fetching server certificate for "${t}"`),new Promise((T,z)=>{const H={responseType:"arraybuffer",url:E},j=n.certLoadPolicy.default,se={loadPolicy:j,timeout:j.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Ie,Oe,tt)=>{T(xe.data)},onError:(xe,Ie,Oe,tt)=>{z(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Oe,response:b({url:H.url,data:void 0},xe)},`"${t}" certificate request failed (${E}). Status: ${xe.code} (${xe.text})`))},onTimeout:(xe,Ie,Oe)=>{z(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Oe,response:{url:H.url,data:void 0}},`"${t}" certificate request timed out (${E})`))},onAbort:(xe,Ie,Oe)=>{z(new Error("aborted"))}};m.load(H,se,ce)})):Promise.resolve()}setMediaKeysServerCertificate(t,n,o){return new Promise((m,E)=>{t.setServerCertificate(o).then(T=>{this.log(`setServerCertificate ${T?"success":"not supported by CDM"} (${o==null?void 0:o.byteLength}) on "${n}"`),m(t)}).catch(T=>{E(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:T,fatal:!0},T.message))})})}renewLicense(t,n){return this.requestLicense(t,new Uint8Array(n)).then(o=>this.updateKeySession(t,new Uint8Array(o)).catch(m=>{throw new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:m,fatal:!0},m.message)}))}unpackPlayReadyKeyMessage(t,n){const o=String.fromCharCode.apply(null,new Uint16Array(n.buffer));if(!o.includes("PlayReadyKeyMessage"))return t.setRequestHeader("Content-Type","text/xml; charset=utf-8"),n;const m=new DOMParser().parseFromString(o,"application/xml"),E=m.querySelectorAll("HttpHeader");if(E.length>0){let se;for(let ce=0,xe=E.length;ce<xe;ce++){var T,z;se=E[ce];const Ie=(T=se.querySelector("name"))==null?void 0:T.textContent,Oe=(z=se.querySelector("value"))==null?void 0:z.textContent;Ie&&Oe&&t.setRequestHeader(Ie,Oe)}}const H=m.querySelector("Challenge"),j=H==null?void 0:H.textContent;if(!j)throw new Error("Cannot find <Challenge> in key message");return Bs(atob(j))}setupLicenseXHR(t,n,o,m){const E=this.config.licenseXhrSetup;return E?Promise.resolve().then(()=>{if(!o.decryptdata)throw new Error("Key removed");return E.call(this.hls,t,n,o,m)}).catch(T=>{if(!o.decryptdata)throw T;return t.open("POST",n,!0),E.call(this.hls,t,n,o,m)}).then(T=>(t.readyState||t.open("POST",n,!0),{xhr:t,licenseChallenge:T||m})):(t.open("POST",n,!0),Promise.resolve({xhr:t,licenseChallenge:m}))}requestLicense(t,n){const o=this.config.keyLoadPolicy.default;return new Promise((m,E)=>{const T=this.getLicenseServerUrlOrThrow(t.keySystem);this.log(`Sending license request to URL: ${T}`);const z=new XMLHttpRequest;z.responseType="arraybuffer",z.onreadystatechange=()=>{if(!this.hls||!t.mediaKeysSession)return E(new Error("invalid state"));if(z.readyState===4)if(z.status===200){this._requestLicenseFailureCount=0;let H=z.response;this.log(`License received ${H instanceof ArrayBuffer?H.byteLength:H}`);const j=this.config.licenseResponseCallback;if(j)try{H=j.call(this.hls,z,T,t)}catch(se){this.error(se)}m(H)}else{const H=o.errorRetry,j=H?H.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>j||z.status>=400&&z.status<500)E(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:z,response:{url:T,data:void 0,code:z.status,text:z.statusText}},`License Request XHR failed (${T}). Status: ${z.status} (${z.statusText})`));else{const se=j-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${se} attempts left`),this.requestLicense(t,n).then(m,E)}}},t.licenseXhr&&t.licenseXhr.readyState!==XMLHttpRequest.DONE&&t.licenseXhr.abort(),t.licenseXhr=z,this.setupLicenseXHR(z,T,t,n).then(({xhr:H,licenseChallenge:j})=>{t.keySystem==ca.PLAYREADY&&(j=this.unpackPlayReadyKeyMessage(H,j)),H.send(j)})})}onMediaAttached(t,n){if(!this.config.emeEnabled)return;const o=n.media;this.media=o,o.removeEventListener("encrypted",this.onMediaEncrypted),o.removeEventListener("waitingforkey",this.onWaitingForKey),o.addEventListener("encrypted",this.onMediaEncrypted),o.addEventListener("waitingforkey",this.onWaitingForKey)}onMediaDetached(){const t=this.media;t&&(t.removeEventListener("encrypted",this.onMediaEncrypted),t.removeEventListener("waitingforkey",this.onWaitingForKey),this.media=null)}_clear(t){var n;const o=this.mediaKeySessions;this._requestLicenseFailureCount=0,this.setMediaKeysQueue=[],this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},Qa.clearKeyUriToKeyIdMap();const m=o.length;Lu.CDMCleanupPromise=Promise.all(o.map(E=>this.removeSession(E)).concat(t==null||(n=t.setMediaKeys(null))==null?void 0:n.catch(E=>{var T;this.log(`Could not clear media keys: ${E}`),(T=this.hls)==null||T.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR,fatal:!1,error:new Error(`Could not clear media keys: ${E}`)})}))).then(()=>{m&&(this.log("finished closing key sessions and clearing media keys"),o.length=0)}).catch(E=>{var T;this.log(`Could not close sessions and clear media keys: ${E}`),(T=this.hls)==null||T.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close sessions and clear media keys: ${E}`)})})}onManifestLoading(){this.keyFormatPromise=null}onManifestLoaded(t,{sessionKeys:n}){if(!(!n||!this.config.emeEnabled)&&!this.keyFormatPromise){const o=n.reduce((m,E)=>(m.indexOf(E.keyFormat)===-1&&m.push(E.keyFormat),m),[]);this.log(`Selecting key-system from session-keys ${o.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(o)}}removeSession(t){const{mediaKeysSession:n,licenseXhr:o}=t;if(n){this.log(`Remove licenses and keys and close session ${n.sessionId}`),t._onmessage&&(n.removeEventListener("message",t._onmessage),t._onmessage=void 0),t._onkeystatuseschange&&(n.removeEventListener("keystatuseschange",t._onkeystatuseschange),t._onkeystatuseschange=void 0),o&&o.readyState!==XMLHttpRequest.DONE&&o.abort(),t.mediaKeysSession=t.decryptdata=t.licenseXhr=void 0;const m=this.mediaKeySessions.indexOf(t);m>-1&&this.mediaKeySessions.splice(m,1);const{drmSystemOptions:E}=this.config;return(lo(E)?new Promise((z,H)=>{self.setTimeout(()=>H(new Error("MediaKeySession.remove() timeout")),8e3),n.remove().then(z)}):Promise.resolve()).catch(z=>{var H;this.log(`Could not remove session: ${z}`),(H=this.hls)==null||H.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${z}`)})}).then(()=>n.close()).catch(z=>{var H;this.log(`Could not close session: ${z}`),(H=this.hls)==null||H.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${z}`)})})}}}Lu.CDMCleanupPromise=void 0;class So extends Error{constructor(t,n){super(n),this.data=void 0,t.error||(t.error=new Error(n)),this.data=t,t.err=t.error}}class nl{constructor(t){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=t,this.registerListeners()}setStreamController(t){this.streamController=t}registerListeners(){this.hls.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.on(s.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListeners(){this.hls.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.off(s.MEDIA_DETACHING,this.onMediaDetaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(t,n){const o=this.hls.config;if(o.capLevelOnFPSDrop){const m=n.media instanceof self.HTMLVideoElement?n.media:null;this.media=m,m&&typeof m.getVideoPlaybackQuality=="function"&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),o.fpsDroppedMonitoringPeriod)}}onMediaDetaching(){this.media=null}checkFPS(t,n,o){const m=performance.now();if(n){if(this.lastTime){const E=m-this.lastTime,T=o-this.lastDroppedFrames,z=n-this.lastDecodedFrames,H=1e3*T/E,j=this.hls;if(j.trigger(s.FPS_DROP,{currentDropped:T,currentDecoded:z,totalDroppedFrames:o}),H>0&&T>j.config.fpsDroppedMonitoringThreshold*z){let se=j.currentLevel;j.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+se),se>0&&(j.autoLevelCapping===-1||j.autoLevelCapping>=se)&&(se=se-1,j.trigger(s.FPS_DROP_LEVEL_CAPPING,{level:se,droppedLevel:j.currentLevel}),j.autoLevelCapping=se,this.streamController.nextLevelSwitch())}}this.lastTime=m,this.lastDroppedFrames=o,this.lastDecodedFrames=n}}checkFPSInterval(){const t=this.media;if(t)if(this.isVideoPlaybackQualityAvailable){const n=t.getVideoPlaybackQuality();this.checkFPS(t,n.totalVideoFrames,n.droppedVideoFrames)}else this.checkFPS(t,t.webkitDecodedFrameCount,t.webkitDroppedFrameCount)}}function Su(P,t){let n;try{n=new Event("addtrack")}catch(o){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=P,t.dispatchEvent(n)}function vc(P,t){const n=P.mode;if(n==="disabled"&&(P.mode="hidden"),P.cues&&!P.cues.getCueById(t.id))try{if(P.addCue(t),!P.cues.getCueById(t.id))throw new Error(`addCue is failed for: ${t}`)}catch(o){G.debug(`[texttrack-utils]: ${o}`);try{const m=new self.TextTrackCue(t.startTime,t.endTime,t.text);m.id=t.id,P.addCue(m)}catch(m){G.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${m}`)}}n==="disabled"&&(P.mode=n)}function Mu(P,t){const n=P.mode;if(n==="disabled"&&(P.mode="hidden"),P.cues)for(let o=P.cues.length;o--;)t&&P.cues[o].removeEventListener("enter",t),P.removeCue(P.cues[o]);n==="disabled"&&(P.mode=n)}function Zo(P,t,n,o){const m=P.mode;if(m==="disabled"&&(P.mode="hidden"),P.cues&&P.cues.length>0){const E=Au(P.cues,t,n);for(let T=0;T<E.length;T++)(!o||o(E[T]))&&P.removeCue(E[T])}m==="disabled"&&(P.mode=m)}function il(P,t){if(t<=P[0].startTime)return 0;const n=P.length-1;if(t>P[n].endTime)return-1;let o=0,m=n,E;for(;o<=m;)if(E=Math.floor((m+o)/2),t<P[E].startTime)m=E-1;else if(t>P[E].startTime&&o<n)o=E+1;else return E;return P[o].startTime-t<t-P[m].startTime?o:m}function Au(P,t,n){const o=[],m=il(P,t);if(m>-1)for(let E=m,T=P.length;E<T;E++){const z=P[E];if(z.startTime>=t&&z.endTime<=n)o.push(z);else if(z.startTime>n)return o}return o}function Dc(P){const t=[];for(let n=0;n<P.length;n++){const o=P[n];(o.kind==="subtitles"||o.kind==="captions")&&o.label&&t.push(P[n])}return t}class Kc extends lu{constructor(t){super(t,"subtitle-track-controller"),this.media=null,this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.queuedDefaultTrack=-1,this.useTextTrackPolling=!1,this.subtitlePollingInterval=-1,this._subtitleDisplay=!0,this.asyncPollTrackChange=()=>this.pollTrackChange(0),this.onTextTracksChanged=()=>{if(this.useTextTrackPolling||self.clearInterval(this.subtitlePollingInterval),!this.media||!this.hls.config.renderTextTracksNatively)return;let n=null;const o=Dc(this.media.textTracks);for(let E=0;E<o.length;E++)if(o[E].mode==="hidden")n=o[E];else if(o[E].mode==="showing"){n=o[E];break}const m=this.findTrackForTextTrack(n);this.subtitleTrack!==m&&this.setSubtitleTrack(m)},this.registerListeners()}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,this.onTextTracksChanged=this.asyncPollTrackChange=null,super.destroy()}get subtitleDisplay(){return this._subtitleDisplay}set subtitleDisplay(t){this._subtitleDisplay=t,this.trackId>-1&&this.toggleTrackModes()}registerListeners(){const{hls:t}=this;t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(s.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVEL_LOADING,this.onLevelLoading,this),t.off(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(s.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.off(s.ERROR,this.onError,this)}onMediaAttached(t,n){this.media=n.media,this.media&&(this.queuedDefaultTrack>-1&&(this.subtitleTrack=this.queuedDefaultTrack,this.queuedDefaultTrack=-1),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.pollTrackChange(500):this.media.textTracks.addEventListener("change",this.asyncPollTrackChange))}pollTrackChange(t){self.clearInterval(this.subtitlePollingInterval),this.subtitlePollingInterval=self.setInterval(this.onTextTracksChanged,t)}onMediaDetaching(t,n){const o=this.media;if(!o)return;const m=!!n.transferMedia;if(self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||o.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),this.subtitleTrack=-1,this.media=null,m)return;Dc(o.textTracks).forEach(T=>{Mu(T)})}onManifestLoading(){this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0}onManifestParsed(t,n){this.tracks=n.subtitleTracks}onSubtitleTrackLoaded(t,n){const{id:o,groupId:m,details:E}=n,T=this.tracksInGroup[o];if(!T||T.groupId!==m){this.warn(`Subtitle track with id:${o} and group:${m} not found in active group ${T==null?void 0:T.groupId}`);return}const z=T.details;T.details=n.details,this.log(`Subtitle track ${o} "${T.name}" lang:${T.lang} group:${m} loaded [${E.startSN}-${E.endSN}]`),o===this.trackId&&this.playlistLoaded(o,n,z)}onLevelLoading(t,n){this.switchLevel(n.level)}onLevelSwitching(t,n){this.switchLevel(n.level)}switchLevel(t){const n=this.hls.levels[t];if(!n)return;const o=n.subtitleGroups||null,m=this.groupIds;let E=this.currentTrack;if(!o||(m==null?void 0:m.length)!==(o==null?void 0:o.length)||o!=null&&o.some(T=>(m==null?void 0:m.indexOf(T))===-1)){this.groupIds=o,this.trackId=-1,this.currentTrack=null;const T=this.tracks.filter(se=>!o||o.indexOf(se.groupId)!==-1);if(T.length)this.selectDefaultTrack&&!T.some(se=>se.default)&&(this.selectDefaultTrack=!1),T.forEach((se,ce)=>{se.id=ce});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=T;const z=this.hls.config.subtitlePreference;if(!E&&z){this.selectDefaultTrack=!1;const se=Xi(z,T);if(se>-1)E=T[se];else{const ce=Xi(z,this.tracks);E=this.tracks[ce]}}let H=this.findTrackId(E);H===-1&&E&&(H=this.findTrackId(null));const j={subtitleTracks:T};this.log(`Updating subtitle tracks, ${T.length} track(s) found in "${o==null?void 0:o.join(",")}" group-id`),this.hls.trigger(s.SUBTITLE_TRACKS_UPDATED,j),H!==-1&&this.trackId===-1&&this.setSubtitleTrack(H)}}findTrackId(t){const n=this.tracksInGroup,o=this.selectDefaultTrack;for(let m=0;m<n.length;m++){const E=n[m];if(!(o&&!E.default||!o&&!t)&&(!t||qn(E,t)))return m}if(t){for(let m=0;m<n.length;m++){const E=n[m];if(Zu(t.attrs,E.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return m}for(let m=0;m<n.length;m++){const E=n[m];if(Zu(t.attrs,E.attrs,["LANGUAGE"]))return m}}return-1}findTrackForTextTrack(t){if(t){const n=this.tracksInGroup;for(let o=0;o<n.length;o++){const m=n[o];if(ai(m,t))return o}}return-1}onError(t,n){n.fatal||!n.context||n.context.type===h.SUBTITLE_TRACK&&n.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(n.context.groupId)!==-1)&&this.checkRetry(n)}get allSubtitleTracks(){return this.tracks}get subtitleTracks(){return this.tracksInGroup}get subtitleTrack(){return this.trackId}set subtitleTrack(t){this.selectDefaultTrack=!1,this.setSubtitleTrack(t)}setSubtitleOption(t){if(this.hls.config.subtitlePreference=t,t){if(t.id===-1)return this.setSubtitleTrack(-1),null;const n=this.allSubtitleTracks;if(this.selectDefaultTrack=!1,n.length){const o=this.currentTrack;if(o&&qn(t,o))return o;const m=Xi(t,this.tracksInGroup);if(m>-1){const E=this.tracksInGroup[m];return this.setSubtitleTrack(m),E}else{if(o)return null;{const E=Xi(t,n);if(E>-1)return n[E]}}}}return null}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentTrack)&&this.scheduleLoading(this.currentTrack,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const o=t.id,m=t.groupId,E=this.getUrlWithDirectives(t.url,n),T=t.details,z=T==null?void 0:T.age;this.log(`Loading subtitle ${o} "${t.name}" lang:${t.lang} group:${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${z&&T.live?" age "+z.toFixed(1)+(T.type?" "+T.type||0:""):""} ${E}`),this.hls.trigger(s.SUBTITLE_TRACK_LOADING,{url:E,id:o,groupId:m,deliveryDirectives:n||null,track:t})}toggleTrackModes(){const{media:t}=this;if(!t)return;const n=Dc(t.textTracks),o=this.currentTrack;let m;if(o&&(m=n.filter(E=>ai(o,E))[0],m||this.warn(`Unable to find subtitle TextTrack with name "${o.name}" and language "${o.lang}"`)),[].slice.call(n).forEach(E=>{E.mode!=="disabled"&&E!==m&&(E.mode="disabled")}),m){const E=this.subtitleDisplay?"showing":"hidden";m.mode!==E&&(m.mode=E)}}setSubtitleTrack(t){const n=this.tracksInGroup;if(!this.media){this.queuedDefaultTrack=t;return}if(t<-1||t>=n.length||!r(t)){this.warn(`Invalid subtitle track id: ${t}`);return}this.selectDefaultTrack=!1;const o=this.currentTrack,m=n[t]||null;if(this.trackId=t,this.currentTrack=m,this.toggleTrackModes(),!m){this.hls.trigger(s.SUBTITLE_TRACK_SWITCH,{id:t});return}const E=!!m.details&&!m.details.live;if(t===this.trackId&&m===o&&E)return;this.log(`Switching to subtitle-track ${t}`+(m?` "${m.name}" lang:${m.lang} group:${m.groupId}`:""));const{id:T,groupId:z="",name:H,type:j,url:se}=m;this.hls.trigger(s.SUBTITLE_TRACK_SWITCH,{id:T,groupId:z,name:H,type:j,url:se});const ce=this.switchParams(m.url,o==null?void 0:o.details,m.details);this.loadPlaylist(ce)}}function oo(P){let t=5381,n=P.length;for(;n;)t=t*33^P.charCodeAt(--n);return(t>>>0).toString()}const du=.025;let Dl=function(P){return P[P.Point=0]="Point",P[P.Range=1]="Range",P}({});function Xl(P,t,n){return`${P.identifier}-${n+1}-${oo(t)}`}class Ql{constructor(t,n){this.base=void 0,this._duration=null,this._timelineStart=null,this.appendInPlaceDisabled=void 0,this.appendInPlaceStarted=void 0,this.dateRange=void 0,this.hasPlayed=!1,this.cumulativeDuration=0,this.resumeOffset=NaN,this.playoutLimit=NaN,this.restrictions={skip:!1,jump:!1},this.snapOptions={out:!1,in:!1},this.assetList=[],this.assetListLoader=void 0,this.assetListResponse=null,this.resumeAnchor=void 0,this.error=void 0,this.resetOnResume=void 0,this.base=n,this.dateRange=t,this.setDateRange(t)}setDateRange(t){this.dateRange=t,this.resumeOffset=t.attr.optionalFloat("X-RESUME-OFFSET",this.resumeOffset),this.playoutLimit=t.attr.optionalFloat("X-PLAYOUT-LIMIT",this.playoutLimit),this.restrictions=t.attr.enumeratedStringList("X-RESTRICT",this.restrictions),this.snapOptions=t.attr.enumeratedStringList("X-SNAP",this.snapOptions)}reset(){var t;this.appendInPlaceStarted=!1,(t=this.assetListLoader)==null||t.destroy(),this.assetListLoader=void 0,this.supplementsPrimary||(this.assetListResponse=null,this.assetList=[],this._duration=null)}isAssetPastPlayoutLimit(t){if(t>=this.assetList.length)return!0;const n=this.playoutLimit;return t<=0||isNaN(n)?!1:this.assetList[t].startOffset>n}findAssetIndex(t){return this.assetList.indexOf(t)}get identifier(){return this.dateRange.id}get startDate(){return this.dateRange.startDate}get startTime(){const t=this.dateRange.startTime;if(this.snapOptions.out){const n=this.dateRange.tagAnchor;if(n)return gl(t,n)}return t}get startOffset(){return this.cue.pre?0:this.startTime}get startIsAligned(){if(this.startTime===0||this.snapOptions.out)return!0;const t=this.dateRange.tagAnchor;if(t){const n=this.dateRange.startTime,o=gl(n,t);return n-o<.1}return!1}get resumptionOffset(){const t=this.resumeOffset,n=r(t)?t:this.duration;return this.cumulativeDuration+n}get resumeTime(){const t=this.startOffset+this.resumptionOffset;if(this.snapOptions.in){const n=this.resumeAnchor;if(n)return gl(t,n)}return t}get appendInPlace(){return this.appendInPlaceStarted?!0:this.appendInPlaceDisabled?!1:!!(!this.cue.once&&!this.cue.pre&&this.startIsAligned&&(isNaN(this.playoutLimit)&&isNaN(this.resumeOffset)||this.resumeOffset&&this.duration&&Math.abs(this.resumeOffset-this.duration)<du))}set appendInPlace(t){if(this.appendInPlaceStarted){this.resetOnResume=!t;return}this.appendInPlaceDisabled=!t}get timelineStart(){return this._timelineStart!==null?this._timelineStart:this.startTime}set timelineStart(t){this._timelineStart=t}get duration(){const t=this.playoutLimit;let n;return this._duration!==null?n=this._duration:this.dateRange.duration?n=this.dateRange.duration:n=this.dateRange.plannedDuration||0,!isNaN(t)&&t<n&&(n=t),n}set duration(t){this._duration=t}get cue(){return this.dateRange.cue}get timelineOccupancy(){return this.dateRange.attr["X-TIMELINE-OCCUPIES"]==="RANGE"?Dl.Range:Dl.Point}get supplementsPrimary(){return this.dateRange.attr["X-TIMELINE-STYLE"]==="PRIMARY"}get contentMayVary(){return this.dateRange.attr["X-CONTENT-MAY-VARY"]!=="NO"}get assetUrl(){return this.dateRange.attr["X-ASSET-URI"]}get assetListUrl(){return this.dateRange.attr["X-ASSET-LIST"]}get baseUrl(){return this.base.url}get assetListLoaded(){return this.assetList.length>0||this.assetListResponse!==null}toString(){return df(this)}}function gl(P,t){return P-t.start<t.duration/2&&!(Math.abs(P-(t.start+t.duration))<du)?t.start:t.start+t.duration}function Ol(P,t,n){const o=new self.URL(P,n);return o.protocol!=="data:"&&o.searchParams.set("_HLS_primary_id",t),o}function df(P){return`["${P.identifier}" ${P.cue.pre?"<pre>":P.cue.post?"<post>":""}${P.timelineStart.toFixed(2)}-${P.resumeTime.toFixed(2)}]`}function kl(P){const t=P.timelineStart,n=P.duration||0;return`["${P.identifier}" ${t.toFixed(2)}-${(t+n).toFixed(2)}]`}class ql{constructor(t,n,o,m){this.hls=void 0,this.interstitial=void 0,this.assetItem=void 0,this.tracks=null,this.hasDetails=!1,this.mediaAttached=null,this._currentTime=void 0,this._bufferedEosTime=void 0,this.checkPlayout=()=>{const j=this.interstitial.playoutLimit,se=this.currentTime;this.startOffset+se>=j&&this.hls.trigger(s.PLAYOUT_LIMIT_REACHED,{})};const E=this.hls=new t(n);this.interstitial=o,this.assetItem=m;let T=m.uri;try{T=Ol(T,E.sessionId).href}catch(H){}E.loadSource(T);const z=()=>{this.hasDetails=!0};E.once(s.LEVEL_LOADED,z),E.once(s.AUDIO_TRACK_LOADED,z),E.once(s.SUBTITLE_TRACK_LOADED,z),E.on(s.MEDIA_ATTACHING,(H,{media:j})=>{this.removeMediaListeners(),this.mediaAttached=j,this.interstitial.playoutLimit&&j.addEventListener("timeupdate",this.checkPlayout)})}bufferedInPlaceToEnd(t){var n;if(!this.interstitial.appendInPlace)return!1;if((n=this.hls)!=null&&n.bufferedToEnd)return!0;if(!t||!this._bufferedEosTime)return!1;const o=this.timelineOffset,m=yi.bufferInfo(t,o,0);return this.getAssetTime(m.end)>=this._bufferedEosTime-.02}get destroyed(){var t;return!((t=this.hls)!=null&&t.userConfig)}get assetId(){return this.assetItem.identifier}get interstitialId(){return this.assetItem.parentIdentifier}get media(){var t;return((t=this.hls)==null?void 0:t.media)||null}get bufferedEnd(){const t=this.media||this.mediaAttached;if(!t)return this._bufferedEosTime?this._bufferedEosTime:this.currentTime;const n=yi.bufferInfo(t,t.currentTime,.001);return this.getAssetTime(n.end)}get currentTime(){const t=this.media||this.mediaAttached;return t?this.getAssetTime(t.currentTime):this._currentTime||0}get duration(){const t=this.assetItem.duration;return t||0}get remaining(){const t=this.duration;return t?Math.max(0,t-this.currentTime):0}get startOffset(){return this.assetItem.startOffset}get timelineOffset(){var t;return((t=this.hls)==null?void 0:t.config.timelineOffset)||0}set timelineOffset(t){const n=this.timelineOffset;if(t!==n){const o=t-n;if(Math.abs(o)>11111111111111112e-21){if(this.hasDetails)throw new Error("Cannot set timelineOffset after playlists are loaded");this.hls.config.timelineOffset=t}}}getAssetTime(t){const n=this.timelineOffset,o=this.duration;return Math.min(Math.max(0,t-n),o)}removeMediaListeners(){const t=this.mediaAttached;t&&(this._currentTime=t.currentTime,this.bufferSnapShot(),t.removeEventListener("timeupdate",this.checkPlayout))}bufferSnapShot(){if(this.mediaAttached){var t;(t=this.hls)!=null&&t.bufferedToEnd&&(this._bufferedEosTime=this.bufferedEnd)}}destroy(){this.removeMediaListeners(),this.hls.destroy(),this.hls=this.interstitial=null,this.tracks=this.mediaAttached=this.checkPlayout=null}attachMedia(t){this.hls.attachMedia(t)}detachMedia(){this.removeMediaListeners(),this.mediaAttached=null,this.hls.detachMedia()}resumeBuffering(){this.hls.resumeBuffering()}pauseBuffering(){this.hls.pauseBuffering()}transferMedia(){return this.bufferSnapShot(),this.hls.transferMedia()}on(t,n,o){this.hls.on(t,n)}once(t,n,o){this.hls.once(t,n)}off(t,n,o){this.hls.off(t,n)}toString(){var t,n;return`HlsAssetPlayer: ${kl(this.assetItem)} ${(t=this.hls)==null?void 0:t.sessionId} ${(n=this.interstitial)!=null&&n.appendInPlace?"append-in-place":""}`}}const yl=.033;class Yc extends L{constructor(t,n){super("interstitials-sched",n),this.onScheduleUpdate=void 0,this.eventMap={},this.events=null,this.items=null,this.durations={primary:0,playout:0,integrated:0},this.onScheduleUpdate=t}destroy(){this.reset(),this.onScheduleUpdate=null}reset(){this.eventMap={},this.setDurations(0,0,0),this.events&&this.events.forEach(t=>t.reset()),this.events=this.items=null}resetErrorsInRange(t,n){return this.events?this.events.reduce((o,m)=>t<=m.startOffset&&n>m.startOffset?(delete m.error,o+1):o,0):0}get duration(){const t=this.items;return t?t[t.length-1].end:0}get length(){return this.items?this.items.length:0}getEvent(t){return t&&this.eventMap[t]||null}hasEvent(t){return t in this.eventMap}findItemIndex(t,n){if(t.event)return this.findEventIndex(t.event.identifier);let o=-1;t.nextEvent?o=this.findEventIndex(t.nextEvent.identifier)-1:t.previousEvent&&(o=this.findEventIndex(t.previousEvent.identifier)+1);const m=this.items;if(m)for(m[o]||(n===void 0&&(n=t.start),o=this.findItemIndexAtTime(n));o>=0&&(E=m[o])!=null&&E.event;){var E;o--}return o}findItemIndexAtTime(t,n){const o=this.items;if(o)for(let m=0;m<o.length;m++){let E=o[m];if(n&&n!=="primary"&&(E=E[n]),t===E.start||t>E.start&&t<E.end)return m}return-1}findJumpRestrictedIndex(t,n){const o=this.items;if(o)for(let m=t;m<=n&&o[m];m++){const E=o[m].event;if(E!=null&&E.restrictions.jump&&!E.appendInPlace)return m}return-1}findEventIndex(t){const n=this.items;if(n)for(let m=n.length;m--;){var o;if(((o=n[m].event)==null?void 0:o.identifier)===t)return m}return-1}findAssetIndex(t,n){const o=t.assetList,m=o.length;if(m>1)for(let E=0;E<m;E++){const T=o[E];if(!T.error){const z=T.timelineStart;if(n===z||n>z&&n<z+(T.duration||0))return E}}return 0}get assetIdAtEnd(){var t,n;const o=(t=this.items)==null||(n=t[this.length-1])==null?void 0:n.event;if(o){const m=o.assetList,E=m[m.length-1];if(E)return E.identifier}return null}parseInterstitialDateRanges(t,n){const o=t.main.details,{dateRanges:m}=o,E=this.events,T=this.parseDateRanges(m,{url:o.url},n),z=Object.keys(m),H=E?E.filter(j=>!z.includes(j.identifier)):[];T.length&&T.sort((j,se)=>{const ce=j.cue.pre,xe=j.cue.post,Ie=se.cue.pre,Oe=se.cue.post;if(ce&&!Ie)return-1;if(Ie&&!ce||xe&&!Oe)return 1;if(Oe&&!xe)return-1;if(!ce&&!Ie&&!xe&&!Oe){const tt=j.startTime,at=se.startTime;if(tt!==at)return tt-at}return j.dateRange.tagOrder-se.dateRange.tagOrder}),this.events=T,H.forEach(j=>{this.removeEvent(j)}),this.updateSchedule(t,H)}updateSchedule(t,n=[]){const o=this.events||[];if(o.length||n.length||this.length<2){const m=this.items,E=this.parseSchedule(o,t);(n.length||(m==null?void 0:m.length)!==E.length||E.some((z,H)=>Math.abs(z.playout.start-m[H].playout.start)>.005||Math.abs(z.playout.end-m[H].playout.end)>.005))&&(this.items=E,this.onScheduleUpdate(n,m))}}parseDateRanges(t,n,o){const m=[],E=Object.keys(t);for(let T=0;T<E.length;T++){const z=E[T],H=t[z];if(H.isInterstitial){let j=this.eventMap[z];j?j.setDateRange(H):(j=new Ql(H,n),this.eventMap[z]=j,o===!1&&(j.appendInPlace=o)),m.push(j)}}return m}parseSchedule(t,n){const o=[],m=n.main.details,E=m.live?1/0:m.edge;let T=0;if(t=t.filter(H=>!H.error&&!(H.cue.once&&H.hasPlayed)),t.length){this.resolveOffsets(t,n);let H=0,j=0;if(t.forEach((se,ce)=>{const xe=se.cue.pre,Ie=se.cue.post,Oe=t[ce-1]||null,tt=se.appendInPlace,at=Ie?E:se.startOffset,Nt=se.duration,dr=se.timelineOccupancy===Dl.Range?Nt:0,ar=se.resumptionOffset,Zr=(Oe==null?void 0:Oe.startTime)===at,Gr=at+se.cumulativeDuration;let fn=tt?Gr+Nt:at+ar;if(xe||!Ie&&at<=0){const on=j;j+=dr,se.timelineStart=Gr;const _n=T;T+=Nt,o.push({event:se,start:Gr,end:fn,playout:{start:_n,end:T},integrated:{start:on,end:j}})}else if(at<=E){if(!Zr){const Xr=at-H;if(Xr>yl){const Yn=H,di=j;j+=Xr;const os=T;T+=Xr;const ya={previousEvent:t[ce-1]||null,nextEvent:se,start:Yn,end:Yn+Xr,playout:{start:os,end:T},integrated:{start:di,end:j}};o.push(ya)}else Xr>0&&Oe&&(Oe.cumulativeDuration+=Xr,o[o.length-1].end=at)}Ie&&(fn=Gr),se.timelineStart=Gr;const on=j;j+=dr;const _n=T;T+=Nt,o.push({event:se,start:Gr,end:fn,playout:{start:_n,end:T},integrated:{start:on,end:j}})}else return;const Vr=se.resumeTime;Ie||Vr>E?H=E:H=Vr}),H<E){var z;const se=H,ce=j,xe=E-H;j+=xe;const Ie=T;T+=xe,o.push({previousEvent:((z=o[o.length-1])==null?void 0:z.event)||null,nextEvent:null,start:H,end:se+xe,playout:{start:Ie,end:T},integrated:{start:ce,end:j}})}this.setDurations(E,T,j)}else o.push({previousEvent:null,nextEvent:null,start:0,end:E,playout:{start:0,end:E},integrated:{start:0,end:E}}),this.setDurations(E,E,E);return o}setDurations(t,n,o){this.durations={primary:t,playout:n,integrated:o}}resolveOffsets(t,n){const o=n.main.details,m=o.live?1/0:o.edge;let E=0,T=-1;t.forEach((z,H)=>{const j=z.cue.pre,se=z.cue.post,ce=j?0:se?m:z.startTime;this.updateAssetDurations(z),T===ce?z.cumulativeDuration=E:(E=0,T=ce),!se&&z.snapOptions.in&&(z.resumeAnchor=En(null,o.fragments,z.startOffset+z.resumptionOffset,0,0)||void 0),z.appendInPlace&&!z.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(z,n)||(z.appendInPlace=!1)),!z.appendInPlace&&H+1<t.length&&t[H+1].startTime-t[H].resumeTime<yl&&(t[H+1].appendInPlace=!1,t[H+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${z}`));const Ie=r(z.resumeOffset)?z.resumeOffset:z.duration;E+=Ie})}primaryCanResumeInPlaceAt(t,n){const o=t.resumeTime,m=t.startTime+t.resumptionOffset;return Math.abs(o-m)>du?(this.log(`"${t.identifier}" resumption ${o} not aligned with estimated timeline end ${m}`),!1):n?!Object.keys(n).some(T=>{const z=n[T].details,H=z.edge;if(o>=H)return this.log(`"${t.identifier}" resumption ${o} past ${T} playlist end ${H}`),!1;const j=En(null,z.fragments,o);if(!j)return this.log(`"${t.identifier}" resumption ${o} does not align with any fragments in ${T} playlist (${z.fragStart}-${z.fragmentEnd})`),!0;const se=T==="audio"?.175:0;return Math.abs(j.start-o)<du+se||Math.abs(j.end-o)<du+se?!1:(this.log(`"${t.identifier}" resumption ${o} not aligned with ${T} fragment bounds (${j.start}-${j.end} sn: ${j.sn} cc: ${j.cc})`),!0)}):(this.log(`"${t.identifier}" resumption ${o} can not be aligned with media (none selected)`),!1)}updateAssetDurations(t){if(!t.assetListLoaded)return;const n=t.timelineStart;let o=0,m=!1,E=!1;t.assetList.forEach((T,z)=>{const H=n+o;T.startOffset=o,T.timelineStart=H,m||(m=T.duration===null),E||(E=!!T.error);const j=T.error?0:T.duration||0;o+=j}),m&&!E?t.duration=Math.max(o,t.duration):t.duration=o}removeEvent(t){t.reset(),delete this.eventMap[t.identifier]}}function Fu(P){return`[${P.event?'"'+P.event.identifier+'"':"primary"}: ${P.start.toFixed(2)}-${P.end.toFixed(2)}]`}class Bu{constructor(t){this.hls=void 0,this.hls=t}destroy(){this.hls=null}loadAssetList(t,n){const o=t.assetListUrl;let m;try{m=Ol(o,this.hls.sessionId,t.baseUrl)}catch(xe){const Ie=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,xe,o);this.hls.trigger(s.ERROR,Ie);return}n&&m.protocol!=="data:"&&m.searchParams.set("_HLS_start_offset",""+n);const E=this.hls.config,T=E.loader,z=new T(E),H={responseType:"json",url:m.href},j=E.interstitialAssetListLoadPolicy.default,se={loadPolicy:j,timeout:j.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Ie,Oe,tt)=>{const at=xe.data,Nt=at==null?void 0:at.ASSETS;if(!Array.isArray(Nt)){const dr=this.assignAssetListError(t,f.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),Oe.url,Ie,tt);this.hls.trigger(s.ERROR,dr);return}t.assetListResponse=at,this.hls.trigger(s.ASSET_LIST_LOADED,{event:t,assetListResponse:at,networkDetails:tt})},onError:(xe,Ie,Oe,tt)=>{const at=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${xe.code} ${xe.text} (${Ie.url})`),Ie.url,tt,Oe);this.hls.trigger(s.ERROR,at)},onTimeout:(xe,Ie,Oe)=>{const tt=this.assignAssetListError(t,f.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${Ie.url})`),Ie.url,xe,Oe);this.hls.trigger(s.ERROR,tt)}};return z.load(H,se,ce),this.hls.trigger(s.ASSET_LIST_LOADING,{event:t}),z}assignAssetListError(t,n,o,m,E,T){return t.error=o,{type:c.NETWORK_ERROR,details:n,fatal:!1,interstitial:t,url:m,error:o,networkDetails:T,stats:E}}}function iu(P,t,n){qo(P,t,n),P.addEventListener(t,n)}function qo(P,t,n){P.removeEventListener(t,n)}function gc(P){P==null||P.play().catch(()=>{})}class yc extends L{constructor(t,n){super("interstitials",t.logger),this.HlsPlayerClass=void 0,this.hls=void 0,this.assetListLoader=void 0,this.mediaSelection=null,this.altSelection=null,this.media=null,this.detachedData=null,this.requiredTracks=null,this.manager=null,this.playerQueue=[],this.bufferedPos=-1,this.timelinePos=-1,this.schedule=void 0,this.playingItem=null,this.bufferingItem=null,this.waitingItem=null,this.endedItem=null,this.playingAsset=null,this.endedAsset=null,this.bufferingAsset=null,this.shouldPlay=!1,this.onPlay=()=>{this.shouldPlay=!0},this.onPause=()=>{this.shouldPlay=!1},this.onSeeking=()=>{const o=this.currentTime;if(o===void 0||this.playbackDisabled)return;const m=o-this.timelinePos;if(Math.abs(m)<1/7056e5)return;const T=m<=-.01;this.timelinePos=o,this.bufferedPos=o;const z=this.playingItem;if(!z){this.checkBuffer();return}if(T&&this.schedule.resetErrorsInRange(o,o-m)&&this.updateSchedule(),this.checkBuffer(),T&&o<z.start||o>=z.end){var H;const xe=this.schedule.findItemIndexAtTime(this.timelinePos);if(!this.isInterstitial(z)&&(H=this.media)!=null&&H.paused&&(this.shouldPlay=!1),!T){const Ie=this.findItemIndex(z);if(xe>Ie){const Oe=this.schedule.findJumpRestrictedIndex(Ie+1,xe);if(Oe>Ie){this.setSchedulePosition(Oe);return}}}this.setSchedulePosition(xe);return}const j=this.playingAsset;if(!j){if(this.playingLastItem&&this.isInterstitial(z)){const xe=z.event.assetList[0];xe&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(o,xe))}return}const se=j.timelineStart,ce=j.duration||0;(T&&o<se||o>=se+ce)&&this.setScheduleToAssetAtTime(o,j)},this.onTimeupdate=()=>{const o=this.currentTime;if(o===void 0||this.playbackDisabled)return;if(o>this.timelinePos)this.timelinePos=o,o>this.bufferedPos&&this.checkBuffer();else return;const m=this.playingItem;if(!m||this.playingLastItem)return;if(o>=m.end){this.timelinePos=m.end;const z=this.findItemIndex(m);this.setSchedulePosition(z+1)}const E=this.playingAsset;if(!E)return;const T=E.timelineStart+(E.duration||0);o>=T&&this.setScheduleToAssetAtTime(o,E)},this.onScheduleUpdate=(o,m)=>{const E=this.schedule,T=this.playingItem,z=E.events||[],H=E.items||[],j=E.durations,se=o.map(Ie=>Ie.identifier),ce=!!(z.length||se.length);if(ce&&this.log(`INTERSTITIALS_UPDATED (${z.length}): ${z}
Schedule: ${H.map(Ie=>Fu(Ie))}`),se.length&&this.log(`Removed events ${se}`),this.playerQueue.forEach(Ie=>{if(Ie.interstitial.appendInPlace){const Oe=Ie.assetItem.timelineStart,tt=Ie.timelineOffset-Oe;if(tt)try{Ie.timelineOffset=Oe}catch(at){Math.abs(tt)>du&&this.warn(`${at} ("${Ie.assetId}" ${Ie.timelineOffset}->${Oe})`)}}}),T){const Ie=this.updateItem(T,this.timelinePos);this.itemsMatch(T,Ie)&&(this.playingItem=Ie,this.waitingItem=this.endedItem=null)}else this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const xe=this.bufferingItem;if(xe){const Ie=this.updateItem(xe,this.bufferedPos);this.itemsMatch(xe,Ie)?this.bufferingItem=Ie:xe.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(xe.event,null))}if(o.forEach(Ie=>{Ie.assetList.forEach(Oe=>{this.clearAssetPlayer(Oe.identifier,null)})}),ce||m){if(this.hls.trigger(s.INTERSTITIALS_UPDATED,{events:z.slice(0),schedule:H.slice(0),durations:j,removedIds:se}),this.isInterstitial(T)&&se.includes(T.event.identifier)){this.warn(`Interstitial "${T.event.identifier}" removed while playing`),this.primaryFallback(T.event);return}this.checkBuffer()}},this.hls=t,this.HlsPlayerClass=n,this.assetListLoader=new Bu(t),this.schedule=new Yc(this.onScheduleUpdate,t.logger),this.registerListeners()}registerListeners(){const t=this.hls;t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(s.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.on(s.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(s.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.on(s.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.on(s.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.on(s.BUFFER_APPENDED,this.onBufferAppended,this),t.on(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(s.BUFFERED_TO_END,this.onBufferedToEnd,this),t.on(s.MEDIA_ENDED,this.onMediaEnded,this),t.on(s.ERROR,this.onError,this),t.on(s.DESTROYING,this.onDestroying,this)}unregisterListeners(){const t=this.hls;t&&(t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(s.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.off(s.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(s.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.off(s.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.off(s.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.off(s.BUFFER_CODECS,this.onBufferCodecs,this),t.off(s.BUFFER_APPENDED,this.onBufferAppended,this),t.off(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(s.BUFFERED_TO_END,this.onBufferedToEnd,this),t.off(s.MEDIA_ENDED,this.onMediaEnded,this),t.off(s.ERROR,this.onError,this),t.off(s.DESTROYING,this.onDestroying,this))}startLoad(){this.resumeBuffering()}stopLoad(){this.pauseBuffering()}resumeBuffering(){var t;(t=this.getBufferingPlayer())==null||t.resumeBuffering()}pauseBuffering(){var t;(t=this.getBufferingPlayer())==null||t.pauseBuffering()}destroy(){this.unregisterListeners(),this.stopLoad(),this.assetListLoader&&this.assetListLoader.destroy(),this.emptyPlayerQueue(),this.clearScheduleState(),this.schedule&&this.schedule.destroy(),this.media=this.detachedData=this.mediaSelection=this.requiredTracks=this.altSelection=this.manager=null,this.hls=this.HlsPlayerClass=this.schedule=this.log=null,this.assetListLoader=null,this.onPlay=this.onPause=this.onSeeking=this.onTimeupdate=null,this.onScheduleUpdate=null}onDestroying(){const t=this.primaryMedia||this.media;t&&this.removeMediaListeners(t)}removeMediaListeners(t){qo(t,"play",this.onPlay),qo(t,"pause",this.onPause),qo(t,"seeking",this.onSeeking),qo(t,"timeupdate",this.onTimeupdate)}onMediaAttaching(t,n){const o=this.media=n.media;iu(o,"seeking",this.onSeeking),iu(o,"timeupdate",this.onTimeupdate),iu(o,"play",this.onPlay),iu(o,"pause",this.onPause)}onMediaAttached(t,n){const o=this.effectivePlayingItem,m=this.detachedData;if(this.detachedData=null,o===null)this.checkStart();else if(!m){this.clearScheduleState();const E=this.findItemIndex(o);this.setSchedulePosition(E)}}clearScheduleState(){this.playingItem=this.bufferingItem=this.waitingItem=this.endedItem=this.playingAsset=this.endedAsset=this.bufferingAsset=null}onMediaDetaching(t,n){const o=!!n.transferMedia,m=this.media;if(this.media=null,!o&&(m&&this.removeMediaListeners(m),this.detachedData)){const E=this.getBufferingPlayer();E&&(this.playingAsset=this.endedAsset=this.bufferingAsset=this.bufferingItem=this.waitingItem=this.detachedData=null,E.detachMedia()),this.shouldPlay=!1}}get interstitialsManager(){if(!this.manager){if(!this.hls)return null;const t=this,n=()=>t.bufferingItem||t.waitingItem,o=ce=>ce&&t.getAssetPlayer(ce.identifier),m=(ce,xe,Ie,Oe,tt)=>{if(ce){let at=ce[xe].start;const Nt=ce.event;if(Nt){if(xe==="playout"||Nt.timelineOccupancy!==Dl.Point){const dr=o(Ie);(dr==null?void 0:dr.interstitial)===Nt&&(at+=dr.assetItem.startOffset+dr[tt])}}else{const dr=Oe==="bufferedPos"?T():t[Oe];at+=dr-ce.start}return at}return 0},E=(ce,xe)=>{if(ce!==0&&xe!=="primary"&&t.schedule.length){var Ie;const Oe=t.schedule.findItemIndexAtTime(ce),tt=(Ie=t.schedule.items)==null?void 0:Ie[Oe];if(tt){const at=tt[xe].start-tt.start;return ce+at}}return ce},T=()=>{const ce=t.bufferedPos;return ce===Number.MAX_VALUE?z("primary"):Math.max(ce,0)},z=ce=>{var xe;return(xe=t.primaryDetails)!=null&&xe.live?t.primaryDetails.edge:t.schedule.durations[ce]},H=(ce,xe)=>{var Ie,Oe;const tt=t.effectivePlayingItem;if(tt!=null&&(Ie=tt.event)!=null&&Ie.restrictions.skip)return;t.log(`seek to ${ce} "${xe}"`);const at=t.effectivePlayingItem,Nt=t.schedule.findItemIndexAtTime(ce,xe),dr=(Oe=t.schedule.items)==null?void 0:Oe[Nt],ar=t.getBufferingPlayer(),Zr=ar==null?void 0:ar.interstitial,Gr=Zr==null?void 0:Zr.appendInPlace,fn=at&&t.itemsMatch(at,dr);if(at&&(Gr||fn)){const on=o(t.playingAsset),_n=(on==null?void 0:on.media)||t.primaryMedia;if(_n){const Xr=xe==="primary"?_n.currentTime:m(at,xe,t.playingAsset,"timelinePos","currentTime"),Yn=ce-Xr,di=(Gr?Xr:_n.currentTime)+Yn;if(di>=0&&(!on||Gr||di<=on.duration)){_n.currentTime=di;return}}}if(dr){let on=ce;if(xe!=="primary"){const Xr=dr[xe].start,Yn=ce-Xr;on=dr.start+Yn}const _n=!t.isInterstitial(dr);if((!t.isInterstitial(at)||at.event.appendInPlace)&&(_n||dr.event.appendInPlace)){const Xr=t.media||(Gr?ar==null?void 0:ar.media:null);Xr&&(Xr.currentTime=on)}else if(at){const Xr=t.findItemIndex(at);if(Nt>Xr){const di=t.schedule.findJumpRestrictedIndex(Xr+1,Nt);if(di>Xr){t.setSchedulePosition(di);return}}let Yn=0;if(_n)t.timelinePos=on,t.checkBuffer();else{var Vr;const di=dr==null||(Vr=dr.event)==null?void 0:Vr.assetList;if(di){const os=ce-(dr[xe]||dr).start;for(let ya=di.length;ya--;){const Ji=di[ya];if(Ji.duration&&os>=Ji.startOffset&&os<Ji.startOffset+Ji.duration){Yn=ya;break}}}}t.setSchedulePosition(Nt,Yn)}}},j=()=>{const ce=t.effectivePlayingItem;if(t.isInterstitial(ce))return ce;const xe=n();return t.isInterstitial(xe)?xe:null},se={get currentTime(){const ce=j(),xe=t.effectivePlayingItem;return xe&&xe===ce?m(xe,"playout",t.effectivePlayingAsset,"timelinePos","currentTime")-xe.playout.start:0},set currentTime(ce){const xe=j(),Ie=t.effectivePlayingItem;Ie&&Ie===xe&&H(ce+Ie.playout.start,"playout")},get duration(){const ce=j();return ce?ce.playout.end-ce.playout.start:0},get assetPlayers(){var ce;const xe=(ce=j())==null?void 0:ce.event.assetList;return xe?xe.map(Ie=>t.getAssetPlayer(Ie.identifier)):[]},get playingIndex(){var ce;const xe=(ce=j())==null?void 0:ce.event;return xe&&t.effectivePlayingAsset?xe.findAssetIndex(t.effectivePlayingAsset):-1},get scheduleItem(){return j()}};this.manager={get events(){var ce,xe;return((ce=t.schedule)==null||(xe=ce.events)==null?void 0:xe.slice(0))||[]},get schedule(){var ce,xe;return((ce=t.schedule)==null||(xe=ce.items)==null?void 0:xe.slice(0))||[]},get interstitialPlayer(){return j()?se:null},get playerQueue(){return t.playerQueue.slice(0)},get bufferingAsset(){return t.bufferingAsset},get bufferingItem(){return n()},get bufferingIndex(){const ce=n();return t.findItemIndex(ce)},get playingAsset(){return t.effectivePlayingAsset},get playingItem(){return t.effectivePlayingItem},get playingIndex(){const ce=t.effectivePlayingItem;return t.findItemIndex(ce)},primary:{get bufferedEnd(){return T()},get currentTime(){const ce=t.timelinePos;return ce>0?ce:0},set currentTime(ce){H(ce,"primary")},get duration(){return z("primary")},get seekableStart(){var ce;return((ce=t.primaryDetails)==null?void 0:ce.fragmentStart)||0}},integrated:{get bufferedEnd(){return m(n(),"integrated",t.bufferingAsset,"bufferedPos","bufferedEnd")},get currentTime(){return m(t.effectivePlayingItem,"integrated",t.effectivePlayingAsset,"timelinePos","currentTime")},set currentTime(ce){H(ce,"integrated")},get duration(){return z("integrated")},get seekableStart(){var ce;return E(((ce=t.primaryDetails)==null?void 0:ce.fragmentStart)||0,"integrated")}},skip:()=>{const ce=t.effectivePlayingItem,xe=ce==null?void 0:ce.event;if(xe&&!xe.restrictions.skip){const Ie=t.findItemIndex(ce);if(xe.appendInPlace){const Oe=ce.playout.start+ce.event.duration;H(Oe+.001,"playout")}else t.advanceAfterAssetEnded(xe,Ie,1/0)}}}}return this.manager}get effectivePlayingItem(){return this.waitingItem||this.playingItem||this.endedItem}get effectivePlayingAsset(){return this.playingAsset||this.endedAsset}get playingLastItem(){var t;const n=this.playingItem,o=(t=this.schedule)==null?void 0:t.items;return!this.playbackStarted||!n||!o?!1:this.findItemIndex(n)===o.length-1}get playbackStarted(){return this.effectivePlayingItem!==null}get currentTime(){var t,n,o;if(this.mediaSelection===null)return;const m=this.waitingItem||this.playingItem;if(this.isInterstitial(m)&&!m.event.appendInPlace)return;let E=this.media;!E&&(t=this.bufferingItem)!=null&&(n=t.event)!=null&&n.appendInPlace&&(E=this.primaryMedia);const T=(o=E)==null?void 0:o.currentTime;if(!(T===void 0||!r(T)))return T}get primaryMedia(){var t;return this.media||((t=this.detachedData)==null?void 0:t.media)||null}isInterstitial(t){return!!(t!=null&&t.event)}retreiveMediaSource(t,n){const o=this.getAssetPlayer(t);o&&this.transferMediaFromPlayer(o,n)}transferMediaFromPlayer(t,n){const o=t.interstitial.appendInPlace,m=t.media;if(o&&m===this.primaryMedia){if(this.bufferingAsset=null,(!n||this.isInterstitial(n)&&!n.event.appendInPlace)&&n&&m){this.detachedData={media:m};return}const E=t.transferMedia();this.log(`transfer MediaSource from ${t} ${jn(E)}`),this.detachedData=E}else n&&m&&(this.shouldPlay||(this.shouldPlay=!m.paused))}transferMediaTo(t,n){var o,m;if(t.media===n)return;let E=null;const T=this.hls,z=t!==T,H=z&&t.interstitial.appendInPlace,j=(o=this.detachedData)==null?void 0:o.mediaSource;let se;if(T.media)H&&(E=T.transferMedia(),this.detachedData=E),se="Primary";else if(j){const Ie=this.getBufferingPlayer();Ie?(E=Ie.transferMedia(),se=`${Ie}`):se="detached MediaSource"}else se="detached media";if(!E){if(j)E=this.detachedData,this.log(`using detachedData: MediaSource ${jn(E)}`);else if(!this.detachedData||T.media===n){const Ie=this.playerQueue;Ie.length>1&&Ie.forEach(Oe=>{if(z&&Oe.interstitial.appendInPlace!==H){const tt=Oe.interstitial;this.clearInterstitial(Oe.interstitial,null),tt.appendInPlace=!1,tt.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${tt}`)}}),this.hls.detachMedia(),this.detachedData={media:n}}}const ce=E&&"mediaSource"in E&&((m=E.mediaSource)==null?void 0:m.readyState)!=="closed",xe=ce&&E?E:n;if(this.log(`${ce?"transfering MediaSource":"attaching media"} to ${z?t:"Primary"} from ${se}`),xe===E){const Ie=z&&t.assetId===this.schedule.assetIdAtEnd;xe.overrides={duration:this.schedule.duration,endOfStream:!z||Ie,cueRemoval:!z}}t.attachMedia(xe)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const t=this.schedule,n=t.events;if(!n||this.playbackDisabled||!this.media)return;this.bufferedPos===-1&&(this.bufferedPos=0);const o=this.timelinePos,m=this.effectivePlayingItem;if(o===-1){const E=this.hls.startPosition;if(this.timelinePos=E,n.length&&n[0].cue.pre){const T=t.findEventIndex(n[0].identifier);this.setSchedulePosition(T)}else if(E>=0||!this.primaryLive){const T=this.timelinePos=E>0?E:0,z=t.findItemIndexAtTime(T);this.setSchedulePosition(z)}}else if(m&&!this.playingItem){const E=t.findItemIndex(m);this.setSchedulePosition(E)}}advanceAfterAssetEnded(t,n,o){const m=o+1;if(!t.isAssetPastPlayoutLimit(m)&&!t.assetList[m].error)this.setSchedulePosition(n,m);else{const E=this.schedule.items;if(E){const T=n+1,z=E.length;if(T>=z){this.setSchedulePosition(-1);return}const H=t.resumeTime;this.timelinePos<H&&(this.timelinePos=H,this.checkBuffer()),this.setSchedulePosition(T)}}}setScheduleToAssetAtTime(t,n){const o=this.schedule,m=n.parentIdentifier,E=o.getEvent(m);if(E){const T=o.findEventIndex(m),z=o.findAssetIndex(E,t);this.setSchedulePosition(T,z)}}setSchedulePosition(t,n){const o=this.schedule.items;if(!o||this.playbackDisabled)return;this.log(`setSchedulePosition ${t}, ${n}`);const m=t>=0?o[t]:null,E=this.playingItem,T=this.playingLastItem;if(this.isInterstitial(E)){var z;const j=E.event,se=this.playingAsset,ce=se==null?void 0:se.identifier,xe=ce?this.getAssetPlayer(ce):null;if(xe&&ce&&(!this.eventItemsMatch(E,m)||n!==void 0&&ce!==((z=j.assetList)==null?void 0:z[n].identifier))){var H;const Ie=j.findAssetIndex(se);this.log(`INTERSTITIAL_ASSET_ENDED ${Ie+1}/${j.assetList.length} ${kl(se)}`),this.endedAsset=se,this.playingAsset=null,this.hls.trigger(s.INTERSTITIAL_ASSET_ENDED,{asset:se,assetListIndex:Ie,event:j,schedule:o.slice(0),scheduleIndex:t,player:xe}),this.retreiveMediaSource(ce,m),xe.media&&!((H=this.detachedData)!=null&&H.mediaSource)&&xe.detachMedia()}if(!this.eventItemsMatch(E,m)&&(this.endedItem=E,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${j} ${Fu(E)}`),j.hasPlayed=!0,this.hls.trigger(s.INTERSTITIAL_ENDED,{event:j,schedule:o.slice(0),scheduleIndex:t}),j.cue.once)){this.updateSchedule();const Ie=this.schedule.items;if(m&&Ie){const Oe=this.schedule.findItemIndex(m);this.advanceSchedule(Oe,Ie,n,E,T)}return}}this.advanceSchedule(t,o,n,E,T)}advanceSchedule(t,n,o,m,E){const T=t>=0?n[t]:null,z=this.primaryMedia,H=this.playerQueue;if(H.length&&H.forEach(j=>{const se=j.interstitial,ce=this.schedule.findEventIndex(se.identifier);(ce<t||ce>t+1)&&this.clearInterstitial(se,T)}),this.isInterstitial(T)){this.timelinePos=Math.min(Math.max(this.timelinePos,T.start),T.end);const j=T.event;o===void 0&&(o=this.schedule.findAssetIndex(j,this.timelinePos));const se=this.waitingItem;this.assetsBuffered(T,z)||this.setBufferingItem(T);let ce=this.preloadAssets(j,o);if(this.eventItemsMatch(T,se||m)||(this.waitingItem=T,this.log(`INTERSTITIAL_STARTED ${Fu(T)} ${j.appendInPlace?"append in place":""}`),this.hls.trigger(s.INTERSTITIAL_STARTED,{event:j,schedule:n.slice(0),scheduleIndex:t})),!j.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${j}`);return}if(j.assetListLoader&&(j.assetListLoader.destroy(),j.assetListLoader=void 0),!z){this.log(`Waiting for attachMedia to start Interstitial ${j}`);return}this.waitingItem=this.endedItem=null,this.playingItem=T;const xe=j.assetList[o];if(!xe){const Ie=n[t+1],Oe=this.media;Ie&&Oe&&!this.isInterstitial(Ie)&&Oe.currentTime<Ie.start&&(Oe.currentTime=this.timelinePos=Ie.start),this.advanceAfterAssetEnded(j,t,o||0);return}if(ce||(ce=this.getAssetPlayer(xe.identifier)),ce===null||ce.destroyed){const Ie=j.assetList.length;this.warn(`asset ${o+1}/${Ie} player destroyed ${j}`),ce=this.createAssetPlayer(j,xe,o)}if(!this.eventItemsMatch(T,this.bufferingItem)&&j.appendInPlace&&this.isAssetBuffered(xe))return;this.startAssetPlayer(ce,o,n,t,z),this.shouldPlay&&gc(ce.media)}else T!==null?(this.resumePrimary(T,t,m),this.shouldPlay&&gc(this.hls.media)):E&&this.isInterstitial(m)&&(this.endedItem=null,this.playingItem=m,m.event.appendInPlace||this.attachPrimary(this.schedule.durations.primary,null))}get playbackDisabled(){return this.hls.config.enableInterstitialPlayback===!1}get primaryDetails(){var t,n;return(t=this.mediaSelection)==null||(n=t.main)==null?void 0:n.details}get primaryLive(){var t;return!!((t=this.primaryDetails)!=null&&t.live)}resumePrimary(t,n,o){var m;if(this.playingItem=t,this.playingAsset=this.endedAsset=null,this.waitingItem=this.endedItem=null,this.bufferedToItem(t),this.log(`resuming ${Fu(t)}`),!((m=this.detachedData)!=null&&m.mediaSource)){let T=this.timelinePos;(T<t.start||T>=t.end)&&(T=this.getPrimaryResumption(t,n),this.timelinePos=T),this.attachPrimary(T,t)}if(!o)return;const E=this.schedule.items;E&&(this.log(`resumed ${Fu(t)}`),this.hls.trigger(s.INTERSTITIALS_PRIMARY_RESUMED,{schedule:E.slice(0),scheduleIndex:n}),this.checkBuffer())}getPrimaryResumption(t,n){const o=t.start;if(this.primaryLive){const m=this.primaryDetails;if(n===0)return this.hls.startPosition;if(m&&(o<m.fragmentStart||o>m.edge))return this.hls.liveSyncPosition||-1}return o}isAssetBuffered(t){const n=this.getAssetPlayer(t.identifier);return n!=null&&n.hls?n.hls.bufferedToEnd:yi.bufferInfo(this.primaryMedia,this.timelinePos,0).end+1>=t.timelineStart+(t.duration||0)}attachPrimary(t,n,o){n?this.setBufferingItem(n):this.bufferingItem=this.playingItem,this.bufferingAsset=null;const m=this.primaryMedia;if(!m)return;const E=this.hls;E.media?this.checkBuffer():(this.transferMediaTo(E,m),o&&this.startLoadingPrimaryAt(t,o)),o||(this.timelinePos=t,this.startLoadingPrimaryAt(t,o))}startLoadingPrimaryAt(t,n){var o;const m=this.hls;!m.loadingEnabled||!m.media||Math.abs((((o=m.mainForwardBufferInfo)==null?void 0:o.start)||m.media.currentTime)-t)>.5?m.startLoad(t,n):m.bufferingEnabled||m.resumeBuffering()}onManifestLoading(){this.stopLoad(),this.schedule.reset(),this.emptyPlayerQueue(),this.clearScheduleState(),this.shouldPlay=!1,this.bufferedPos=this.timelinePos=-1,this.mediaSelection=this.altSelection=this.manager=this.requiredTracks=null,this.hls.off(s.BUFFER_CODECS,this.onBufferCodecs,this),this.hls.on(s.BUFFER_CODECS,this.onBufferCodecs,this)}onLevelUpdated(t,n){if(n.level===-1)return;const o=this.hls.levels[n.level],m=b(b({},this.mediaSelection||this.altSelection),{},{main:o});this.mediaSelection=m,this.schedule.parseInterstitialDateRanges(m,this.hls.config.interstitialAppendInPlace),!this.effectivePlayingItem&&this.schedule.items&&this.checkStart()}onAudioTrackUpdated(t,n){const o=this.hls.audioTracks[n.id],m=this.mediaSelection;if(!m){this.altSelection=b(b({},this.altSelection),{},{audio:o});return}const E=b(b({},m),{},{audio:o});this.mediaSelection=E}onSubtitleTrackUpdated(t,n){const o=this.hls.subtitleTracks[n.id],m=this.mediaSelection;if(!m){this.altSelection=b(b({},this.altSelection),{},{subtitles:o});return}const E=b(b({},m),{},{subtitles:o});this.mediaSelection=E}onAudioTrackSwitching(t,n){const o=mi(n);this.playerQueue.forEach(m=>m.hls.setAudioOption(n)||m.hls.setAudioOption(o))}onSubtitleTrackSwitch(t,n){const o=mi(n);this.playerQueue.forEach(m=>m.hls.setSubtitleOption(n)||n.id!==-1&&m.hls.setSubtitleOption(o))}onBufferCodecs(t,n){const o=n.tracks;o&&(this.requiredTracks=o)}onBufferAppended(t,n){this.checkBuffer()}onBufferFlushed(t,n){const o=this.playingItem;if(o&&!this.itemsMatch(o,this.bufferingItem)&&!this.isInterstitial(o)){const m=this.timelinePos;this.bufferedPos=m,this.checkBuffer()}}onBufferedToEnd(t){const n=this.schedule.events;if(this.bufferedPos<Number.MAX_VALUE&&n){for(let m=0;m<n.length;m++){const E=n[m];if(E.cue.post){var o;const T=this.schedule.findEventIndex(E.identifier),z=(o=this.schedule.items)==null?void 0:o[T];this.isInterstitial(z)&&this.eventItemsMatch(z,this.bufferingItem)&&this.bufferedToItem(z,0);break}}this.bufferedPos=Number.MAX_VALUE}}onMediaEnded(t){const n=this.playingItem;if(!this.playingLastItem&&n){const o=this.findItemIndex(n);this.setSchedulePosition(o+1)}else this.shouldPlay=!1}updateItem(t,n){const o=this.schedule.items;if(t&&o){const m=this.findItemIndex(t,n);return o[m]||null}return null}itemsMatch(t,n){return!!n&&(t===n||t.event&&n.event&&this.eventItemsMatch(t,n)||!t.event&&!n.event&&this.findItemIndex(t)===this.findItemIndex(n))}eventItemsMatch(t,n){var o;return!!n&&(t===n||t.event.identifier===((o=n.event)==null?void 0:o.identifier))}findItemIndex(t,n){return t?this.schedule.findItemIndex(t,n):-1}updateSchedule(){const t=this.mediaSelection;t&&this.schedule.updateSchedule(t,[])}checkBuffer(t){const n=this.schedule.items;if(!n)return;const o=yi.bufferInfo(this.primaryMedia,this.timelinePos,0);t&&(this.bufferedPos=this.timelinePos),t||(t=o.len<1),this.updateBufferedPos(o.end,n,t)}updateBufferedPos(t,n,o){const m=this.schedule,E=this.bufferingItem;if(this.bufferedPos>t)return;if(n.length===1&&this.itemsMatch(n[0],E)){this.bufferedPos=t;return}const T=this.playingItem,z=this.findItemIndex(T);let H=m.findItemIndexAtTime(t);if(this.bufferedPos<t){var j,se;const ce=this.findItemIndex(E),xe=Math.min(ce+1,n.length-1),Ie=n[xe];if((H===-1&&E&&t>=E.end||(j=Ie.event)!=null&&j.appendInPlace&&t+.01>=Ie.start)&&(H=xe),xe-z>1&&(E==null||(se=E.event)==null?void 0:se.appendInPlace)===!1)return;if(this.bufferedPos=t,H>ce&&H>z)this.bufferedToItem(Ie);else{const Oe=this.primaryDetails;this.primaryLive&&Oe&&t>Oe.edge-Oe.targetduration&&Ie.start<Oe.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(Ie)&&this.preloadAssets(Ie.event,0)}}else o&&T&&!this.itemsMatch(T,E)&&(H===z?this.bufferedToItem(T):H===z+1&&this.bufferedToItem(n[H]))}assetsBuffered(t,n){return t.event.assetList.length===0?!1:!t.event.assetList.some(m=>{const E=this.getAssetPlayer(m.identifier);return!(E!=null&&E.bufferedInPlaceToEnd(n))})}setBufferingItem(t){const n=this.bufferingItem,o=this.schedule;if(this.itemsMatch(t,n))this.bufferingItem!==t&&(this.bufferingItem=t);else{const{items:m,events:E}=o;if(!m||!E)return n;const T=this.isInterstitial(t),z=this.getBufferingPlayer();if(this.bufferingItem=t,this.bufferedPos=Math.max(t.start,Math.min(t.end,this.timelinePos)),!this.playbackDisabled){const H=z?z.remaining:n?n.end-this.timelinePos:0;this.log(`buffered to boundary ${Fu(t)}`+(n?` (${H.toFixed(2)} remaining)`:"")),T?t.event.assetList.forEach(j=>{const se=this.getAssetPlayer(j.identifier);se&&se.resumeBuffering()}):(this.hls.resumeBuffering(),this.playerQueue.forEach(j=>j.pauseBuffering()))}this.hls.trigger(s.INTERSTITIALS_BUFFERED_TO_BOUNDARY,{events:E.slice(0),schedule:m.slice(0),bufferingIndex:this.findItemIndex(t),playingIndex:this.findItemIndex(this.playingItem)})}return n}bufferedToItem(t,n=0){const o=this.setBufferingItem(t);if(!this.playbackDisabled){if(this.isInterstitial(t))this.bufferedToEvent(t,n);else if(o!==null){this.bufferingAsset=null;const m=this.detachedData;m?m.mediaSource?this.attachPrimary(t.start,t,!0):this.preloadPrimary(t):this.preloadPrimary(t)}}}preloadPrimary(t){const n=this.findItemIndex(t),o=this.getPrimaryResumption(t,n);this.startLoadingPrimaryAt(o)}bufferedToEvent(t,n){const o=t.event,m=o.assetList.length===0&&!o.assetListLoader,E=o.cue.once;if(m||!E){const T=this.preloadAssets(o,n);if(T!=null&&T.interstitial.appendInPlace){const z=o.assetList[n],H=this.primaryMedia;z&&H&&this.bufferAssetPlayer(T,H)}}}preloadAssets(t,n){const o=t.assetUrl,m=t.assetList.length,E=m===0&&!t.assetListLoader,T=t.cue.once;if(E){const H=t.timelineStart;if(t.appendInPlace){var z;const xe=this.playingItem;!this.isInterstitial(xe)&&(xe==null||(z=xe.nextEvent)==null?void 0:z.identifier)===t.identifier&&this.flushFrontBuffer(H+.25)}let j,se=0;if(!this.playingItem&&this.primaryLive&&(se=this.hls.startPosition,se===-1&&(se=this.hls.liveSyncPosition||0)),se&&!(t.cue.pre||t.cue.post)){const xe=se-H;xe>0&&(j=Math.round(xe*1e3)/1e3)}if(this.log(`Load interstitial asset ${n+1}/${o?1:m} ${t}${j?` live-start: ${se} start-offset: ${j}`:""}`),o)return this.createAsset(t,0,0,H,t.duration,o);const ce=this.assetListLoader.loadAssetList(t,j);ce&&(t.assetListLoader=ce)}else if(!T&&m){for(let H=n;H<m;H++){const j=t.assetList[H],se=this.getAssetPlayerQueueIndex(j.identifier);(se===-1||this.playerQueue[se].destroyed)&&!j.error&&this.createAssetPlayer(t,j,H)}return this.getAssetPlayer(t.assetList[n].identifier)}return null}flushFrontBuffer(t){const n=this.requiredTracks;if(!n)return;this.log(`Removing front buffer starting at ${t}`),Object.keys(n).forEach(m=>{this.hls.trigger(s.BUFFER_FLUSHING,{startOffset:t,endOffset:1/0,type:m})})}getAssetPlayerQueueIndex(t){const n=this.playerQueue;for(let o=0;o<n.length;o++)if(t===n[o].assetId)return o;return-1}getAssetPlayer(t){const n=this.getAssetPlayerQueueIndex(t);return this.playerQueue[n]||null}getBufferingPlayer(){const{playerQueue:t,primaryMedia:n}=this;if(n){for(let o=0;o<t.length;o++)if(t[o].media===n)return t[o]}return null}createAsset(t,n,o,m,E,T){const z={parentIdentifier:t.identifier,identifier:Xl(t,T,n),duration:E,startOffset:o,timelineStart:m,uri:T};return this.createAssetPlayer(t,z,n)}createAssetPlayer(t,n,o){this.log(`create HLSAssetPlayer for ${kl(n)}`);const m=this.hls,E=m.userConfig;let T=E.videoPreference;const z=m.loadLevelObj||m.levels[m.currentLevel];(T||z)&&(T=y({},T),z.videoCodec&&(T.videoCodec=z.videoCodec),z.videoRange&&(T.allowedVideoRanges=[z.videoRange]));const H=m.audioTracks[m.audioTrack],j=m.subtitleTracks[m.subtitleTrack];let se=0;if(this.primaryLive||t.appendInPlace){const ar=this.timelinePos-n.timelineStart;if(ar>1){const Zr=n.duration;Zr&&ar<Zr&&(se=ar)}}const ce=n.identifier,xe=b(b({},E),{},{autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:m.sessionId,assetPlayerId:ce,abrEwmaDefaultEstimate:m.bandwidthEstimate,interstitialsController:void 0,startPosition:se,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:T,audioPreference:H||E.audioPreference,subtitlePreference:j||E.subtitlePreference});t.appendInPlace&&(t.appendInPlaceStarted=!0,n.timelineStart&&(xe.timelineOffset=n.timelineStart));const Ie=xe.cmcd;Ie!=null&&Ie.sessionId&&Ie.contentId&&(xe.cmcd=y({},Ie,{contentId:oo(n.uri)})),this.getAssetPlayer(ce)&&this.warn(`Duplicate date range identifier ${t} and asset ${ce}`);const Oe=new ql(this.HlsPlayerClass,xe,t,n);this.playerQueue.push(Oe),t.assetList[o]=n;const tt=ar=>{if(ar.live){const fn=new Error(`Interstitials MUST be VOD assets ${t}`),Vr={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:fn};this.handleAssetItemError(Vr,t,this.schedule.findEventIndex(t.identifier),o,fn.message);return}const Zr=ar.edge-ar.fragmentStart,Gr=n.duration;(Gr===null||Zr>Gr)&&(this.log(`Interstitial asset "${ce}" duration change ${Gr} > ${Zr}`),n.duration=Zr,this.updateSchedule())};Oe.on(s.LEVEL_UPDATED,(ar,{details:Zr})=>tt(Zr)),Oe.on(s.LEVEL_PTS_UPDATED,(ar,{details:Zr})=>tt(Zr));const at=(ar,Zr)=>{const Gr=this.getAssetPlayer(ce);if(Gr&&Zr.tracks){Gr.off(s.BUFFER_CODECS,at),Gr.tracks=Zr.tracks;const fn=this.primaryMedia;this.bufferingAsset===Gr.assetItem&&fn&&!Gr.media&&this.bufferAssetPlayer(Gr,fn)}};Oe.on(s.BUFFER_CODECS,at);const Nt=()=>{var ar;const Zr=this.getAssetPlayer(ce);if(this.log(`buffered to end of asset ${Zr}`),!Zr)return;const Gr=this.schedule.findEventIndex(t.identifier),fn=t.findAssetIndex(n),Vr=fn+1,on=(ar=this.schedule.items)==null?void 0:ar[Gr];if(this.isInterstitial(on))if(fn!==-1&&!t.isAssetPastPlayoutLimit(Vr)&&!t.assetList[Vr].error)this.bufferedToItem(on,Vr);else{var _n;const Xr=(_n=this.schedule.items)==null?void 0:_n[Gr+1];Xr&&this.bufferedToItem(Xr)}};Oe.on(s.BUFFERED_TO_END,Nt);const dr=ar=>()=>{if(!this.getAssetPlayer(ce))return;this.shouldPlay=!0;const Gr=this.schedule.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,Gr,ar)};return Oe.once(s.MEDIA_ENDED,dr(o)),Oe.once(s.PLAYOUT_LIMIT_REACHED,dr(1/0)),Oe.on(s.ERROR,(ar,Zr)=>{const Gr=this.getAssetPlayer(ce);if(Zr.details===f.BUFFER_STALLED_ERROR){if(Gr!=null&&Gr.media){const fn=Gr.currentTime,Vr=Gr.duration-fn;fn&&t.appendInPlace&&Vr/Gr.media.playbackRate<.5?(this.log(`Advancing buffer past end of asset ${ce} ${t} at ${Gr.media.currentTime}`),Nt()):(this.warn(`Stalled at ${fn} of ${fn+Vr} in asset ${ce} ${t}`),this.onTimeupdate(),this.checkBuffer(!0))}return}this.handleAssetItemError(Zr,t,this.schedule.findEventIndex(t.identifier),o,`Asset player error ${Zr.error} ${t}`)}),Oe.on(s.DESTROYING,()=>{if(!this.getAssetPlayer(ce))return;const Zr=new Error(`Asset player destroyed unexpectedly ${ce}`),Gr={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Zr};this.handleAssetItemError(Gr,t,this.schedule.findEventIndex(t.identifier),o,Zr.message)}),this.hls.trigger(s.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:n,assetListIndex:o,event:t,player:Oe}),Oe}clearInterstitial(t,n){t.assetList.forEach(o=>{this.clearAssetPlayer(o.identifier,n)}),t.reset()}clearAssetPlayer(t,n){const o=this.getAssetPlayerQueueIndex(t);if(o!==-1){this.log(`clearAssetPlayer "${t}" toSegment: ${n&&Fu(n)}`);const m=this.playerQueue[o];this.transferMediaFromPlayer(m,n),this.playerQueue.splice(o,1),m.destroy()}}emptyPlayerQueue(){let t;for(;t=this.playerQueue.pop();)t.destroy();this.playerQueue=[]}startAssetPlayer(t,n,o,m,E){const{interstitial:T,assetItem:z,assetId:H}=t,j=T.assetList.length,se=this.playingAsset;this.endedAsset=null,this.playingAsset=z,(!se||se.identifier!==H)&&(se&&(this.clearAssetPlayer(se.identifier,o[m]),delete se.error),this.log(`INTERSTITIAL_ASSET_STARTED ${n+1}/${j} ${t}`),this.hls.trigger(s.INTERSTITIAL_ASSET_STARTED,{asset:z,assetListIndex:n,event:T,schedule:o.slice(0),scheduleIndex:m,player:t})),this.bufferAssetPlayer(t,E)}bufferAssetPlayer(t,n){var o,m;const{interstitial:E,assetItem:T,assetId:z}=t,H=this.schedule.findEventIndex(E.identifier),j=(o=this.schedule.items)==null?void 0:o[H];if(!j)return;this.setBufferingItem(j),this.bufferingAsset=T;const se=this.getBufferingPlayer();if(se===t)return;const ce=E.appendInPlace;if(ce&&(se==null?void 0:se.interstitial.appendInPlace)===!1)return;const xe=(se==null?void 0:se.tracks)||((m=this.detachedData)==null?void 0:m.tracks)||this.requiredTracks;if(ce&&T!==this.playingAsset){if(!t.tracks)return;if(xe&&!le(xe,t.tracks)){const Ie=new Error(`Asset "${z}" SourceBuffer tracks ('${Object.keys(t.tracks)}') are not compatible with primary content tracks ('${Object.keys(xe)}')`),Oe={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Ie},tt=E.findAssetIndex(T);this.handleAssetItemError(Oe,E,H,tt,Ie.message);return}}this.transferMediaTo(t,n)}handleAssetItemError(t,n,o,m,E){if(t.details===f.BUFFER_STALLED_ERROR)return;const T=n.assetList[m]||null;let z=null;if(T){const ce=this.getAssetPlayerQueueIndex(T.identifier);z=this.playerQueue[ce]||null}const H=this.schedule.items,j=y({},t,{fatal:!1,errorAction:Dr(!0),asset:T,assetListIndex:m,event:n,schedule:H,scheduleIndex:o,player:z});if(this.warn(`Asset item error: ${t.error}`),this.hls.trigger(s.INTERSTITIAL_ASSET_ERROR,j),!t.fatal)return;const se=new Error(E);T&&(this.playingAsset!==T&&this.clearAssetPlayer(T.identifier,null),T.error=se),n.assetList.some(ce=>!ce.error)?n.appendInPlace&&(n.error=se):n.error=se,this.primaryFallback(n)}primaryFallback(t){const n=t.timelineStart,o=this.effectivePlayingItem;if(this.updateSchedule(),o){this.log(`Fallback to primary from event "${t.identifier}" start: ${n} pos: ${this.timelinePos} playing: ${o?Fu(o):"<none>"} error: ${t.error}`),t.appendInPlace&&(this.attachPrimary(n,null),this.flushFrontBuffer(n));let m=this.timelinePos;m===-1&&(m=this.hls.startPosition);const E=this.updateItem(o,m);if(this.itemsMatch(o,E))this.clearInterstitial(t,null);else{const T=this.schedule.findItemIndexAtTime(m);this.setSchedulePosition(T)}}else this.checkStart()}onAssetListLoaded(t,n){var o;const m=n.event,E=m.identifier,T=n.assetListResponse.ASSETS;if(!this.schedule.hasEvent(E))return;const z=m.timelineStart,H=m.duration;let j=0;T.forEach((Oe,tt)=>{const at=parseFloat(Oe.DURATION);this.createAsset(m,tt,j,z+j,at,Oe.URI),j+=at}),m.duration=j,this.log(`Loaded asset-list with duration: ${j} (was: ${H}) ${m}`);const se=this.waitingItem,ce=(se==null?void 0:se.event.identifier)===E;this.updateSchedule();const xe=(o=this.bufferingItem)==null?void 0:o.event;if(ce){var Ie;const Oe=this.schedule.findEventIndex(E),tt=(Ie=this.schedule.items)==null?void 0:Ie[Oe];if(tt){if(!this.playingItem&&this.timelinePos>tt.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==Oe){m.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${m}`),this.primaryFallback(m);return}this.setBufferingItem(tt)}this.setSchedulePosition(Oe)}else if((xe==null?void 0:xe.identifier)===E&&xe.appendInPlace){const Oe=m.assetList[0],tt=this.getAssetPlayer(Oe.identifier),at=this.primaryMedia;Oe&&tt&&at&&this.bufferAssetPlayer(tt,at)}}onError(t,n){switch(n.details){case f.ASSET_LIST_PARSING_ERROR:case f.ASSET_LIST_LOAD_ERROR:case f.ASSET_LIST_LOAD_TIMEOUT:{const o=n.interstitial;o&&this.primaryFallback(o);break}case f.BUFFER_STALLED_ERROR:{this.onTimeupdate(),this.checkBuffer(!0);break}}}}const Oc=500;class I extends na{constructor(t,n,o){super(t,n,o,"subtitle-stream-controller",u.SUBTITLE),this.currentTrackId=-1,this.tracksBuffered=[],this.mainDetails=null,this.registerListeners()}onHandlerDestroying(){this.unregisterListeners(),super.onHandlerDestroying(),this.mainDetails=null}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(s.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(s.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.on(s.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(s.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(s.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.off(s.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this)}startLoad(t,n){this.stopLoad(),this.state=zr.IDLE,this.setInterval(Oc),this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}onManifestLoading(){super.onManifestLoading(),this.mainDetails=null}onMediaDetaching(t,n){this.tracksBuffered=[],super.onMediaDetaching(t,n)}onLevelLoaded(t,n){this.mainDetails=n.details}onSubtitleFragProcessed(t,n){const{frag:o,success:m}=n;if(de(o)&&(this.fragPrevious=o),this.state=zr.IDLE,!m)return;const E=this.tracksBuffered[this.currentTrackId];if(!E)return;let T;const z=o.start;for(let j=0;j<E.length;j++)if(z>=E[j].start&&z<=E[j].end){T=E[j];break}const H=o.start+o.duration;T?T.end=H:(T={start:z,end:H},E.push(T)),this.fragmentTracker.fragBuffered(o),this.fragBufferedComplete(o,null),this.media&&this.tick()}onBufferFlushing(t,n){const{startOffset:o,endOffset:m}=n;if(o===0&&m!==Number.POSITIVE_INFINITY){const E=m-1;if(E<=0)return;n.endOffsetSubtitles=Math.max(0,E),this.tracksBuffered.forEach(T=>{for(let z=0;z<T.length;){if(T[z].end<=E){T.shift();continue}else if(T[z].start<E)T[z].start=E;else break;z++}}),this.fragmentTracker.removeFragmentsInRange(o,E,u.SUBTITLE)}}onError(t,n){const o=n.frag;(o==null?void 0:o.type)===u.SUBTITLE&&(n.details===f.FRAG_GAP&&this.fragmentTracker.fragBuffered(o,!0),this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==zr.STOPPED&&(this.state=zr.IDLE))}onSubtitleTracksUpdated(t,{subtitleTracks:n}){if(this.levels&&oc(this.levels,n)){this.levels=n.map(o=>new mr(o));return}this.tracksBuffered=[],this.levels=n.map(o=>{const m=new mr(o);return this.tracksBuffered[m.id]=[],m}),this.fragmentTracker.removeFragmentsInRange(0,Number.POSITIVE_INFINITY,u.SUBTITLE),this.fragPrevious=null,this.mediaBuffer=null}onSubtitleTrackSwitch(t,n){var o;if(this.currentTrackId=n.id,!((o=this.levels)!=null&&o.length)||this.currentTrackId===-1){this.clearInterval();return}const m=this.levels[this.currentTrackId];m!=null&&m.details?this.mediaBuffer=this.mediaBufferTimeRanges:this.mediaBuffer=null,m&&this.state!==zr.STOPPED&&this.setInterval(Oc)}onSubtitleTrackLoaded(t,n){var o;const{currentTrackId:m,levels:E}=this,{details:T,id:z}=n;if(!E){this.warn(`Subtitle tracks were reset while loading level ${z}`);return}const H=E[z];if(z>=E.length||!H)return;this.log(`Subtitle track ${z} loaded [${T.startSN},${T.endSN}]${T.lastPartSn?`[part-${T.lastPartSn}-${T.lastPartIndex}]`:""},duration:${T.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let j=0;if(T.live||(o=H.details)!=null&&o.live){const ce=this.mainDetails;if(T.deltaUpdateFailed||!ce)return;const xe=ce.fragments[0];if(!H.details)T.hasProgramDateTime&&ce.hasProgramDateTime?(Li(T,ce),j=T.fragmentStart):xe&&(j=xe.start,Gn(T,j));else{var se;j=this.alignPlaylists(T,H.details,(se=this.levelLastLoaded)==null?void 0:se.details),j===0&&xe&&(j=xe.start,Gn(T,j))}}H.details=T,this.levelLastLoaded=H,z===m&&(this.hls.trigger(s.SUBTITLE_TRACK_UPDATED,{details:T,id:z,groupId:n.groupId}),this.tick(),T.live&&!this.fragCurrent&&this.media&&this.state===zr.IDLE&&(En(null,T.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),H.details=void 0)))}_handleFragmentLoadComplete(t){const{frag:n,payload:o}=t,m=n.decryptdata,E=this.hls;if(!this.fragContextChanged(n)&&o&&o.byteLength>0&&m!=null&&m.key&&m.iv&&Ia(m.method)){const T=performance.now();this.decrypter.decrypt(new Uint8Array(o),m.key.buffer,m.iv.buffer,Da(m.method)).catch(z=>{throw E.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:z,reason:z.message,frag:n}),z}).then(z=>{const H=performance.now();E.trigger(s.FRAG_DECRYPTED,{frag:n,payload:z,stats:{tstart:T,tdecrypt:H}})}).catch(z=>{this.warn(`${z.name}: ${z.message}`),this.state=zr.IDLE})}}doTick(){if(!this.media){this.state=zr.IDLE;return}if(this.state===zr.IDLE){const{currentTrackId:t,levels:n}=this,o=n==null?void 0:n[t];if(!o||!n.length||!o.details||this.waitForLive(o))return;const{config:m}=this,E=this.getLoadPosition(),T=yi.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],E,m.maxBufferHole),{end:z,len:H}=T,j=o.details,se=this.hls.maxBufferLength+j.levelTargetDuration;if(H>se)return;const ce=j.fragments,xe=ce.length,Ie=j.edge;let Oe=null;const tt=this.fragPrevious;if(z<Ie){const dr=m.maxFragLookUpTolerance,ar=z>Ie-dr?0:dr;Oe=En(tt,ce,Math.max(ce[0].start,z),ar),!Oe&&tt&&tt.start<ce[0].start&&(Oe=ce[0])}else Oe=ce[xe-1];if(Oe=this.filterReplacedPrimary(Oe,o.details),!Oe)return;const at=Oe.sn-j.startSN,Nt=ce[at-1];if(Nt&&Nt.cc===Oe.cc&&this.fragmentTracker.getState(Nt)===Er.NOT_LOADED&&(Oe=Nt),this.fragmentTracker.getState(Oe)===Er.NOT_LOADED){const dr=this.mapToInitFragWhenRequired(Oe);dr&&this.loadFragment(dr,o,z)}}}loadFragment(t,n,o){de(t)?super.loadFragment(t,n,o):this._loadInitSegment(t,n)}get mediaBufferTimeRanges(){return new O(this.tracksBuffered[this.currentTrackId]||[])}}class O{constructor(t){this.buffered=void 0;const n=(o,m,E)=>{if(m=m>>>0,m>E-1)throw new DOMException(`Failed to execute '${o}' on 'TimeRanges': The index provided (${m}) is greater than the maximum bound (${E})`);return t[m][o]};this.buffered={get length(){return t.length},end(o){return n("end",o,t.length)},start(o){return n("start",o,t.length)}}}}const k={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},me=P=>String.fromCharCode(k[P]||P),Re=15,en=100,$n={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},dn={17:2,18:4,21:6,22:8,23:10,19:13,20:15},Di={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},Ha={25:2,26:4,29:6,30:8,31:10,27:13,28:15},Oa=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class Ao{constructor(){this.time=null,this.verboseLevel=0}log(t,n){if(this.verboseLevel>=t){const o=typeof n=="function"?n():n;G.log(`${this.time} [${t}] ${o}`)}}}const Ma=function(t){const n=[];for(let o=0;o<t.length;o++)n.push(t[o].toString(16));return n};class io{constructor(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}reset(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}setStyles(t){const n=["foreground","underline","italics","background","flash"];for(let o=0;o<n.length;o++){const m=n[o];t.hasOwnProperty(m)&&(this[m]=t[m])}}isDefault(){return this.foreground==="white"&&!this.underline&&!this.italics&&this.background==="black"&&!this.flash}equals(t){return this.foreground===t.foreground&&this.underline===t.underline&&this.italics===t.italics&&this.background===t.background&&this.flash===t.flash}copy(t){this.foreground=t.foreground,this.underline=t.underline,this.italics=t.italics,this.background=t.background,this.flash=t.flash}toString(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash}}class ys{constructor(){this.uchar=" ",this.penState=new io}reset(){this.uchar=" ",this.penState.reset()}setChar(t,n){this.uchar=t,this.penState.copy(n)}setPenState(t){this.penState.copy(t)}equals(t){return this.uchar===t.uchar&&this.penState.equals(t.penState)}copy(t){this.uchar=t.uchar,this.penState.copy(t.penState)}isEmpty(){return this.uchar===" "&&this.penState.isDefault()}}class kc{constructor(t){this.chars=[],this.pos=0,this.currPenState=new io,this.cueStartTime=null,this.logger=void 0;for(let n=0;n<en;n++)this.chars.push(new ys);this.logger=t}equals(t){for(let n=0;n<en;n++)if(!this.chars[n].equals(t.chars[n]))return!1;return!0}copy(t){for(let n=0;n<en;n++)this.chars[n].copy(t.chars[n])}isEmpty(){let t=!0;for(let n=0;n<en;n++)if(!this.chars[n].isEmpty()){t=!1;break}return t}setCursor(t){this.pos!==t&&(this.pos=t),this.pos<0?(this.logger.log(3,"Negative cursor position "+this.pos),this.pos=0):this.pos>en&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=en)}moveCursor(t){const n=this.pos+t;if(t>1)for(let o=this.pos+1;o<n+1;o++)this.chars[o].setPenState(this.currPenState);this.setCursor(n)}backSpace(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)}insertChar(t){t>=144&&this.backSpace();const n=me(t);if(this.pos>=en){this.logger.log(0,()=>"Cannot insert "+t.toString(16)+" ("+n+") at position "+this.pos+". Skipping it!");return}this.chars[this.pos].setChar(n,this.currPenState),this.moveCursor(1)}clearFromPos(t){let n;for(n=t;n<en;n++)this.chars[n].reset()}clear(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()}clearToEndOfRow(){this.clearFromPos(this.pos)}getTextString(){const t=[];let n=!0;for(let o=0;o<en;o++){const m=this.chars[o].uchar;m!==" "&&(n=!1),t.push(m)}return n?"":t.join("")}setPenStyles(t){this.currPenState.setStyles(t),this.chars[this.pos].setPenState(this.currPenState)}}class Jl{constructor(t){this.rows=[],this.currRow=Re-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let n=0;n<Re;n++)this.rows.push(new kc(t));this.logger=t}reset(){for(let t=0;t<Re;t++)this.rows[t].clear();this.currRow=Re-1}equals(t){let n=!0;for(let o=0;o<Re;o++)if(!this.rows[o].equals(t.rows[o])){n=!1;break}return n}copy(t){for(let n=0;n<Re;n++)this.rows[n].copy(t.rows[n])}isEmpty(){let t=!0;for(let n=0;n<Re;n++)if(!this.rows[n].isEmpty()){t=!1;break}return t}backSpace(){this.rows[this.currRow].backSpace()}clearToEndOfRow(){this.rows[this.currRow].clearToEndOfRow()}insertChar(t){this.rows[this.currRow].insertChar(t)}setPen(t){this.rows[this.currRow].setPenStyles(t)}moveCursor(t){this.rows[this.currRow].moveCursor(t)}setCursor(t){this.logger.log(2,"setCursor: "+t),this.rows[this.currRow].setCursor(t)}setPAC(t){this.logger.log(2,()=>"pacData = "+jn(t));let n=t.row-1;if(this.nrRollUpRows&&n<this.nrRollUpRows-1&&(n=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==n){for(let z=0;z<Re;z++)this.rows[z].clear();const E=this.currRow+1-this.nrRollUpRows,T=this.lastOutputScreen;if(T){const z=T.rows[E].cueStartTime,H=this.logger.time;if(z!==null&&H!==null&&z<H)for(let j=0;j<this.nrRollUpRows;j++)this.rows[n-this.nrRollUpRows+j+1].copy(T.rows[E+j])}}this.currRow=n;const o=this.rows[this.currRow];if(t.indent!==null){const E=t.indent,T=Math.max(E-1,0);o.setCursor(t.indent),t.color=o.chars[T].penState.foreground}const m={foreground:t.color,underline:t.underline,italics:t.italics,background:"black",flash:!1};this.setPen(m)}setBkgData(t){this.logger.log(2,()=>"bkgData = "+jn(t)),this.backSpace(),this.setPen(t),this.insertChar(32)}setRollUpRows(t){this.nrRollUpRows=t}rollUp(){if(this.nrRollUpRows===null){this.logger.log(3,"roll_up but nrRollUpRows not set yet");return}this.logger.log(1,()=>this.getDisplayText());const t=this.currRow+1-this.nrRollUpRows,n=this.rows.splice(t,1)[0];n.clear(),this.rows.splice(this.currRow,0,n),this.logger.log(2,"Rolling up")}getDisplayText(t){t=t||!1;const n=[];let o="",m=-1;for(let E=0;E<Re;E++){const T=this.rows[E].getTextString();T&&(m=E+1,t?n.push("Row "+m+": '"+T+"'"):n.push(T.trim()))}return n.length>0&&(t?o="["+n.join(" | ")+"]":o=n.join(`
`)),o}getTextAndFormat(){return this.rows}}class ec{constructor(t,n,o){this.chNr=void 0,this.outputFilter=void 0,this.mode=void 0,this.verbose=void 0,this.displayedMemory=void 0,this.nonDisplayedMemory=void 0,this.lastOutputScreen=void 0,this.currRollUpRow=void 0,this.writeScreen=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chNr=t,this.outputFilter=n,this.mode=null,this.verbose=0,this.displayedMemory=new Jl(o),this.nonDisplayedMemory=new Jl(o),this.lastOutputScreen=new Jl(o),this.currRollUpRow=this.displayedMemory.rows[Re-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=o}reset(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[Re-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null}getHandler(){return this.outputFilter}setHandler(t){this.outputFilter=t}setPAC(t){this.writeScreen.setPAC(t)}setBkgData(t){this.writeScreen.setBkgData(t)}setMode(t){t!==this.mode&&(this.mode=t,this.logger.log(2,()=>"MODE="+t),this.mode==="MODE_POP-ON"?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),this.mode!=="MODE_ROLL-UP"&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=t)}insertChars(t){for(let o=0;o<t.length;o++)this.writeScreen.insertChar(t[o]);const n=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";this.logger.log(2,()=>n+": "+this.writeScreen.getDisplayText(!0)),(this.mode==="MODE_PAINT-ON"||this.mode==="MODE_ROLL-UP")&&(this.logger.log(1,()=>"DISPLAYED: "+this.displayedMemory.getDisplayText(!0)),this.outputDataUpdate())}ccRCL(){this.logger.log(2,"RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")}ccBS(){this.logger.log(2,"BS - BackSpace"),this.mode!=="MODE_TEXT"&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())}ccAOF(){}ccAON(){}ccDER(){this.logger.log(2,"DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()}ccRU(t){this.logger.log(2,"RU("+t+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(t)}ccFON(){this.logger.log(2,"FON - Flash On"),this.writeScreen.setPen({flash:!0})}ccRDC(){this.logger.log(2,"RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")}ccTR(){this.logger.log(2,"TR"),this.setMode("MODE_TEXT")}ccRTD(){this.logger.log(2,"RTD"),this.setMode("MODE_TEXT")}ccEDM(){this.logger.log(2,"EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate(!0)}ccCR(){this.logger.log(2,"CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate(!0)}ccENM(){this.logger.log(2,"ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()}ccEOC(){if(this.logger.log(2,"EOC - End Of Caption"),this.mode==="MODE_POP-ON"){const t=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=t,this.writeScreen=this.nonDisplayedMemory,this.logger.log(1,()=>"DISP: "+this.displayedMemory.getDisplayText())}this.outputDataUpdate(!0)}ccTO(t){this.logger.log(2,"TO("+t+") - Tab Offset"),this.writeScreen.moveCursor(t)}ccMIDROW(t){const n={flash:!1};if(n.underline=t%2===1,n.italics=t>=46,n.italics)n.foreground="white";else{const o=Math.floor(t/2)-16,m=["white","green","blue","cyan","red","yellow","magenta"];n.foreground=m[o]}this.logger.log(2,"MIDROW: "+jn(n)),this.writeScreen.setPen(n)}outputDataUpdate(t=!1){const n=this.logger.time;n!==null&&this.outputFilter&&(this.cueStartTime===null&&!this.displayedMemory.isEmpty()?this.cueStartTime=n:this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue(this.cueStartTime,n,this.lastOutputScreen),t&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue(),this.cueStartTime=this.displayedMemory.isEmpty()?null:n),this.lastOutputScreen.copy(this.displayedMemory))}cueSplitAtTime(t){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,t,this.displayedMemory),this.cueStartTime=t))}}class bc{constructor(t,n,o){this.channels=void 0,this.currentChannel=0,this.cmdHistory=tc(),this.logger=void 0;const m=this.logger=new Ao;this.channels=[null,new ec(t,n,m),new ec(t+1,o,m)]}getHandler(t){return this.channels[t].getHandler()}setHandler(t,n){this.channels[t].setHandler(n)}addData(t,n){this.logger.time=t;for(let o=0;o<n.length;o+=2){const m=n[o]&127,E=n[o+1]&127;let T=!1,z=null;if(m===0&&E===0)continue;this.logger.log(3,()=>"["+Ma([n[o],n[o+1]])+"] -> ("+Ma([m,E])+")");const H=this.cmdHistory;if(m>=16&&m<=31){if(Oi(m,E,H)){Nu(null,null,H),this.logger.log(3,()=>"Repeated command ("+Ma([m,E])+") is dropped");continue}Nu(m,E,this.cmdHistory),T=this.parseCmd(m,E),T||(T=this.parseMidrow(m,E)),T||(T=this.parsePAC(m,E)),T||(T=this.parseBackgroundAttributes(m,E))}else Nu(null,null,H);if(!T&&(z=this.parseChars(m,E),z)){const se=this.currentChannel;se&&se>0?this.channels[se].insertChars(z):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!T&&!z&&this.logger.log(2,()=>"Couldn't parse cleaned data "+Ma([m,E])+" orig: "+Ma([n[o],n[o+1]]))}}parseCmd(t,n){const o=(t===20||t===28||t===21||t===29)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=33&&n<=35;if(!(o||m))return!1;const E=t===20||t===21||t===23?1:2,T=this.channels[E];return t===20||t===21||t===28||t===29?n===32?T.ccRCL():n===33?T.ccBS():n===34?T.ccAOF():n===35?T.ccAON():n===36?T.ccDER():n===37?T.ccRU(2):n===38?T.ccRU(3):n===39?T.ccRU(4):n===40?T.ccFON():n===41?T.ccRDC():n===42?T.ccTR():n===43?T.ccRTD():n===44?T.ccEDM():n===45?T.ccCR():n===46?T.ccENM():n===47&&T.ccEOC():T.ccTO(n-32),this.currentChannel=E,!0}parseMidrow(t,n){let o=0;if((t===17||t===25)&&n>=32&&n<=47){if(t===17?o=1:o=2,o!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;const m=this.channels[o];return m?(m.ccMIDROW(n),this.logger.log(3,()=>"MIDROW ("+Ma([t,n])+")"),!0):!1}return!1}parsePAC(t,n){let o;const m=(t>=17&&t<=23||t>=25&&t<=31)&&n>=64&&n<=127,E=(t===16||t===24)&&n>=64&&n<=95;if(!(m||E))return!1;const T=t<=23?1:2;n>=64&&n<=95?o=T===1?$n[t]:Di[t]:o=T===1?dn[t]:Ha[t];const z=this.channels[T];return z?(z.setPAC(this.interpretPAC(o,n)),this.currentChannel=T,!0):!1}interpretPAC(t,n){let o;const m={color:null,italics:!1,indent:null,underline:!1,row:t};return n>95?o=n-96:o=n-64,m.underline=(o&1)===1,o<=13?m.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(o/2)]:o<=15?(m.italics=!0,m.color="white"):m.indent=Math.floor((o-16)/2)*4,m}parseChars(t,n){let o,m=null,E=null;if(t>=25?(o=2,E=t-8):(o=1,E=t),E>=17&&E<=19){let T;E===17?T=n+80:E===18?T=n+112:T=n+144,this.logger.log(2,()=>"Special char '"+me(T)+"' in channel "+o),m=[T]}else t>=32&&t<=127&&(m=n===0?[t]:[t,n]);return m&&this.logger.log(3,()=>"Char codes = "+Ma(m).join(",")),m}parseBackgroundAttributes(t,n){const o=(t===16||t===24)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=45&&n<=47;if(!(o||m))return!1;let E;const T={};t===16||t===24?(E=Math.floor((n-32)/2),T.background=Oa[E],n%2===1&&(T.background=T.background+"_semi")):n===45?T.background="transparent":(T.foreground="black",n===47&&(T.underline=!0));const z=t<=23?1:2;return this.channels[z].setBkgData(T),!0}reset(){for(let t=0;t<Object.keys(this.channels).length;t++){const n=this.channels[t];n&&n.reset()}Nu(null,null,this.cmdHistory)}cueSplitAtTime(t){for(let n=0;n<this.channels.length;n++){const o=this.channels[n];o&&o.cueSplitAtTime(t)}}}function Nu(P,t,n){n.a=P,n.b=t}function Oi(P,t,n){return n.a===P&&n.b===t}function tc(){return{a:null,b:null}}var Rl=function(){if(uo!=null&&uo.VTTCue)return self.VTTCue;const P=["","lr","rl"],t=["start","middle","end","left","right"];function n(z,H){if(typeof H!="string"||!Array.isArray(z))return!1;const j=H.toLowerCase();return~z.indexOf(j)?j:!1}function o(z){return n(P,z)}function m(z){return n(t,z)}function E(z,...H){let j=1;for(;j<arguments.length;j++){const se=arguments[j];for(const ce in se)z[ce]=se[ce]}return z}function T(z,H,j){const se=this,ce={enumerable:!0};se.hasBeenReset=!1;let xe="",Ie=!1,Oe=z,tt=H,at=j,Nt=null,dr="",ar=!0,Zr="auto",Gr="start",fn=50,Vr="middle",on=50,_n="middle";Object.defineProperty(se,"id",E({},ce,{get:function(){return xe},set:function(Xr){xe=""+Xr}})),Object.defineProperty(se,"pauseOnExit",E({},ce,{get:function(){return Ie},set:function(Xr){Ie=!!Xr}})),Object.defineProperty(se,"startTime",E({},ce,{get:function(){return Oe},set:function(Xr){if(typeof Xr!="number")throw new TypeError("Start time must be set to a number.");Oe=Xr,this.hasBeenReset=!0}})),Object.defineProperty(se,"endTime",E({},ce,{get:function(){return tt},set:function(Xr){if(typeof Xr!="number")throw new TypeError("End time must be set to a number.");tt=Xr,this.hasBeenReset=!0}})),Object.defineProperty(se,"text",E({},ce,{get:function(){return at},set:function(Xr){at=""+Xr,this.hasBeenReset=!0}})),Object.defineProperty(se,"region",E({},ce,{get:function(){return Nt},set:function(Xr){Nt=Xr,this.hasBeenReset=!0}})),Object.defineProperty(se,"vertical",E({},ce,{get:function(){return dr},set:function(Xr){const Yn=o(Xr);if(Yn===!1)throw new SyntaxError("An invalid or illegal string was specified.");dr=Yn,this.hasBeenReset=!0}})),Object.defineProperty(se,"snapToLines",E({},ce,{get:function(){return ar},set:function(Xr){ar=!!Xr,this.hasBeenReset=!0}})),Object.defineProperty(se,"line",E({},ce,{get:function(){return Zr},set:function(Xr){if(typeof Xr!="number"&&Xr!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");Zr=Xr,this.hasBeenReset=!0}})),Object.defineProperty(se,"lineAlign",E({},ce,{get:function(){return Gr},set:function(Xr){const Yn=m(Xr);if(!Yn)throw new SyntaxError("An invalid or illegal string was specified.");Gr=Yn,this.hasBeenReset=!0}})),Object.defineProperty(se,"position",E({},ce,{get:function(){return fn},set:function(Xr){if(Xr<0||Xr>100)throw new Error("Position must be between 0 and 100.");fn=Xr,this.hasBeenReset=!0}})),Object.defineProperty(se,"positionAlign",E({},ce,{get:function(){return Vr},set:function(Xr){const Yn=m(Xr);if(!Yn)throw new SyntaxError("An invalid or illegal string was specified.");Vr=Yn,this.hasBeenReset=!0}})),Object.defineProperty(se,"size",E({},ce,{get:function(){return on},set:function(Xr){if(Xr<0||Xr>100)throw new Error("Size must be between 0 and 100.");on=Xr,this.hasBeenReset=!0}})),Object.defineProperty(se,"align",E({},ce,{get:function(){return _n},set:function(Xr){const Yn=m(Xr);if(!Yn)throw new SyntaxError("An invalid or illegal string was specified.");_n=Yn,this.hasBeenReset=!0}})),se.displayState=void 0}return T.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},T}();class Ro{decode(t,n){if(!t)return"";if(typeof t!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}function Ws(P){function t(o,m,E,T){return(o|0)*3600+(m|0)*60+(E|0)+parseFloat(T||0)}const n=P.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return n?parseFloat(n[2])>59?t(n[2],n[3],0,n[4]):t(n[1],n[2],n[3],n[4]):null}class Ja{constructor(){this.values=Object.create(null)}set(t,n){!this.get(t)&&n!==""&&(this.values[t]=n)}get(t,n,o){return o?this.has(t)?this.values[t]:n[o]:this.has(t)?this.values[t]:n}has(t){return t in this.values}alt(t,n,o){for(let m=0;m<o.length;++m)if(n===o[m]){this.set(t,n);break}}integer(t,n){/^-?\d+$/.test(n)&&this.set(t,parseInt(n,10))}percent(t,n){if(/^([\d]{1,3})(\.[\d]*)?%$/.test(n)){const o=parseFloat(n);if(o>=0&&o<=100)return this.set(t,o),!0}return!1}}function al(P,t,n,o){const m=o?P.split(o):[P];for(const E in m){if(typeof m[E]!="string")continue;const T=m[E].split(n);if(T.length!==2)continue;const z=T[0],H=T[1];t(z,H)}}const sl=new Rl(0,0,""),bl=sl.align==="middle"?"middle":"center";function xl(P,t,n){const o=P;function m(){const z=Ws(P);if(z===null)throw new Error("Malformed timestamp: "+o);return P=P.replace(/^[^\sa-zA-Z-]+/,""),z}function E(z,H){const j=new Ja;al(z,function(xe,Ie){let Oe;switch(xe){case"region":for(let tt=n.length-1;tt>=0;tt--)if(n[tt].id===Ie){j.set(xe,n[tt].region);break}break;case"vertical":j.alt(xe,Ie,["rl","lr"]);break;case"line":Oe=Ie.split(","),j.integer(xe,Oe[0]),j.percent(xe,Oe[0])&&j.set("snapToLines",!1),j.alt(xe,Oe[0],["auto"]),Oe.length===2&&j.alt("lineAlign",Oe[1],["start",bl,"end"]);break;case"position":Oe=Ie.split(","),j.percent(xe,Oe[0]),Oe.length===2&&j.alt("positionAlign",Oe[1],["start",bl,"end","line-left","line-right","auto"]);break;case"size":j.percent(xe,Ie);break;case"align":j.alt(xe,Ie,["start",bl,"end","left","right"]);break}},/:/,/\s/),H.region=j.get("region",null),H.vertical=j.get("vertical","");let se=j.get("line","auto");se==="auto"&&sl.line===-1&&(se=-1),H.line=se,H.lineAlign=j.get("lineAlign","start"),H.snapToLines=j.get("snapToLines",!0),H.size=j.get("size",100),H.align=j.get("align",bl);let ce=j.get("position","auto");ce==="auto"&&sl.position===50&&(ce=H.align==="start"||H.align==="left"?0:H.align==="end"||H.align==="right"?100:50),H.position=ce}function T(){P=P.replace(/^\s+/,"")}if(T(),t.startTime=m(),T(),P.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+o);P=P.slice(3),T(),t.endTime=m(),T(),E(P,t)}function ol(P){return P.replace(/<br(?: \/)?>/gi,`
`)}class Xc{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new Ro,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}parse(t){const n=this;t&&(n.buffer+=n.decoder.decode(t,{stream:!0}));function o(){let E=n.buffer,T=0;for(E=ol(E);T<E.length&&E[T]!=="\r"&&E[T]!==`
`;)++T;const z=E.slice(0,T);return E[T]==="\r"&&++T,E[T]===`
`&&++T,n.buffer=E.slice(T),z}function m(E){al(E,function(T,z){},/:/)}try{let E="";if(n.state==="INITIAL"){if(!/\r\n|\n/.test(n.buffer))return this;E=o();const z=E.match(/^()?WEBVTT([ \t].*)?$/);if(!(z!=null&&z[0]))throw new Error("Malformed WebVTT signature.");n.state="HEADER"}let T=!1;for(;n.buffer;){if(!/\r\n|\n/.test(n.buffer))return this;switch(T?T=!1:E=o(),n.state){case"HEADER":/:/.test(E)?m(E):E||(n.state="ID");continue;case"NOTE":E||(n.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(E)){n.state="NOTE";break}if(!E)continue;if(n.cue=new Rl(0,0,""),n.state="CUE",E.indexOf("-->")===-1){n.cue.id=E;continue}case"CUE":if(!n.cue){n.state="BADCUE";continue}try{xl(E,n.cue,n.regionList)}catch(z){n.cue=null,n.state="BADCUE";continue}n.state="CUETEXT";continue;case"CUETEXT":{const z=E.indexOf("-->")!==-1;if(!E||z&&(T=!0)){n.oncue&&n.cue&&n.oncue(n.cue),n.cue=null,n.state="ID";continue}if(n.cue===null)continue;n.cue.text&&(n.cue.text+=`
`),n.cue.text+=E}continue;case"BADCUE":E||(n.state="ID")}}}catch(E){n.state==="CUETEXT"&&n.cue&&n.oncue&&n.oncue(n.cue),n.cue=null,n.state=n.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this}flush(){const t=this;try{if((t.cue||t.state==="HEADER")&&(t.buffer+=`
`,t.parse()),t.state==="INITIAL"||t.state==="BADWEBVTT")throw new Error("Malformed WebVTT signature.")}catch(n){t.onparsingerror&&t.onparsingerror(n)}return t.onflush&&t.onflush(),this}}const Rc=/\r\n|\n\r|\n|\r/g,Vu=function(t,n,o=0){return t.slice(o,o+n.length)===n},Qc=function(t){let n=parseInt(t.slice(-3));const o=parseInt(t.slice(-6,-4)),m=parseInt(t.slice(-9,-7)),E=t.length>9?parseInt(t.substring(0,t.indexOf(":"))):0;if(!r(n)||!r(o)||!r(m)||!r(E))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${t}`);return n+=1e3*o,n+=60*1e3*m,n+=60*60*1e3*E,n};function Ll(P,t,n){return oo(P.toString())+oo(t.toString())+oo(n)}const qc=function(t,n,o){let m=t[n],E=t[m.prevCC];if(!E||!E.new&&m.new){t.ccOffset=t.presentationOffset=m.start,m.new=!1;return}for(;(T=E)!=null&&T.new;){var T;t.ccOffset+=m.start-E.start,m.new=!1,m=E,E=t[m.prevCC]}t.presentationOffset=o};function hu(P,t,n,o,m,E,T){const z=new Xc,H=q(new Uint8Array(P)).trim().replace(Rc,`
`).split(`
`),j=[],se=t?ws(t.baseTime,t.timescale):0;let ce="00:00.000",xe=0,Ie=0,Oe,tt=!0;z.oncue=function(at){const Nt=n[o];let dr=n.ccOffset;const ar=(xe-se)/9e4;if(Nt!=null&&Nt.new&&(Ie!==void 0?dr=n.ccOffset=Nt.start:qc(n,o,ar)),ar){if(!t){Oe=new Error("Missing initPTS for VTT MPEGTS");return}dr=ar-n.presentationOffset}const Zr=at.endTime-at.startTime,Gr=za((at.startTime+dr-Ie)*9e4,m*9e4)/9e4;at.startTime=Math.max(Gr,0),at.endTime=Math.max(Gr+Zr,0);const fn=at.text.trim();at.text=decodeURIComponent(encodeURIComponent(fn)),at.id||(at.id=Ll(at.startTime,at.endTime,fn)),at.endTime>0&&j.push(at)},z.onparsingerror=function(at){Oe=at},z.onflush=function(){if(Oe){T(Oe);return}E(j)},H.forEach(at=>{if(tt)if(Vu(at,"X-TIMESTAMP-MAP=")){tt=!1,at.slice(16).split(",").forEach(Nt=>{Vu(Nt,"LOCAL:")?ce=Nt.slice(6):Vu(Nt,"MPEGTS:")&&(xe=parseInt(Nt.slice(7)))});try{Ie=Qc(ce)/1e3}catch(Nt){Oe=Nt}return}else at===""&&(tt=!1);z.parse(at+`
`)}),z.flush()}const $u="stpp.ttml.im1t",El=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,rc=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,Cu={left:"start",center:"center",right:"end",start:"start",end:"end"};function nc(P,t,n,o){const m=bt(new Uint8Array(P),["mdat"]);if(m.length===0){o(new Error("Could not parse IMSC1 mdat"));return}const E=m.map(z=>q(z)),T=is(t.baseTime,1,t.timescale);try{E.forEach(z=>n(Ml(z,T)))}catch(z){o(z)}}function Ml(P,t){const m=new DOMParser().parseFromString(P,"text/xml").getElementsByTagName("tt")[0];if(!m)throw new Error("Invalid ttml");const E={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},T=Object.keys(E).reduce((ce,xe)=>(ce[xe]=m.getAttribute(`ttp:${xe}`)||E[xe],ce),{}),z=m.getAttribute("xml:space")!=="preserve",H=Kn(Tn(m,"styling","style")),j=Kn(Tn(m,"layout","region")),se=Tn(m,"body","[begin]");return[].map.call(se,ce=>{const xe=Bi(ce,z);if(!xe||!ce.hasAttribute("begin"))return null;const Ie=ha(ce.getAttribute("begin"),T),Oe=ha(ce.getAttribute("dur"),T);let tt=ha(ce.getAttribute("end"),T);if(Ie===null)throw ua(ce);if(tt===null){if(Oe===null)throw ua(ce);tt=Ie+Oe}const at=new Rl(Ie-t,tt-t,xe);at.id=Ll(at.startTime,at.endTime,at.text);const Nt=j[ce.getAttribute("region")],dr=H[ce.getAttribute("style")],ar=Ea(Nt,dr,H),{textAlign:Zr}=ar;if(Zr){const Gr=Cu[Zr];Gr&&(at.lineAlign=Gr),at.align=Zr}return y(at,ar),at}).filter(ce=>ce!==null)}function Tn(P,t,n){const o=P.getElementsByTagName(t)[0];return o?[].slice.call(o.querySelectorAll(n)):[]}function Kn(P){return P.reduce((t,n)=>{const o=n.getAttribute("xml:id");return o&&(t[o]=n),t},{})}function Bi(P,t){return[].slice.call(P.childNodes).reduce((n,o,m)=>{var E;return o.nodeName==="br"&&m?n+`
`:(E=o.childNodes)!=null&&E.length?Bi(o,t):t?n+o.textContent.trim().replace(/\s+/g," "):n+o.textContent},"")}function Ea(P,t,n){const o="http://www.w3.org/ns/ttml#styling";let m=null;const E=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],T=P!=null&&P.hasAttribute("style")?P.getAttribute("style"):null;return T&&n.hasOwnProperty(T)&&(m=n[T]),E.reduce((z,H)=>{const j=zi(t,o,H)||zi(P,o,H)||zi(m,o,H);return j&&(z[H]=j),z},{})}function zi(P,t,n){return P&&P.hasAttributeNS(t,n)?P.getAttributeNS(t,n):null}function ua(P){return new Error(`Could not parse ttml timestamp ${P}`)}function ha(P,t){if(!P)return null;let n=Ws(P);return n===null&&(El.test(P)?n=vs(P,t):rc.test(P)&&(n=Ki(P,t))),n}function vs(P,t){const n=El.exec(P),o=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+o/t.frameRate}function Ki(P,t){const n=rc.exec(P),o=Number(n[1]);switch(n[2]){case"h":return o*3600;case"m":return o*60;case"ms":return o*1e3;case"f":return o/t.frameRate;case"t":return o/t.tickRate}return o}class es{constructor(t,n){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=n}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,n,o){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=o,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class Ku{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=ll(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(s.FRAG_LOADING,this.onFragLoading,this),t.on(s.FRAG_LOADED,this.onFragLoaded,this),t.on(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(s.FRAG_LOADING,this.onFragLoading,this),t.off(s.FRAG_LOADED,this.onFragLoaded,this),t.off(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new es(this,"textTrack1"),n=new es(this,"textTrack2"),o=new es(this,"textTrack3"),m=new es(this,"textTrack4");this.cea608Parser1=new bc(1,t,n),this.cea608Parser2=new bc(3,o,m)}addCues(t,n,o,m,E){let T=!1;for(let z=E.length;z--;){const H=E[z],j=ul(H[0],H[1],n,o);if(j>=0&&(H[0]=Math.min(H[0],n),H[1]=Math.max(H[1],o),T=!0,j/(o-n)>.5))return}if(T||E.push([n,o]),this.config.renderTextTracksNatively){const z=this.captionsTracks[t];this.Cues.newCue(z,n,o,m)}else{const z=this.Cues.newCue(null,n,o,m);this.hls.trigger(s.CUES_PARSED,{type:"captions",cues:z,track:t})}}onInitPtsFound(t,{frag:n,id:o,initPTS:m,timescale:E}){const{unparsedVttFrags:T}=this;o===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E}),T.length&&(this.unparsedVttFrags=[],T.forEach(z=>{this.onFragLoaded(s.FRAG_LOADED,z)}))}getExistingTrack(t,n){const{media:o}=this;if(o)for(let m=0;m<o.textTracks.length;m++){const E=o.textTracks[m];if(Yu(E,{name:t,lang:n,characteristics:"transcribes-spoken-dialog,describes-music-and-sound"}))return E}return null}createCaptionsTrack(t){this.config.renderTextTracksNatively?this.createNativeTrack(t):this.createNonNativeTrack(t)}createNativeTrack(t){if(this.captionsTracks[t])return;const{captionsProperties:n,captionsTracks:o,media:m}=this,{label:E,languageCode:T}=n[t],z=this.getExistingTrack(E,T);if(z)o[t]=z,Mu(o[t]),Su(o[t],m);else{const H=this.createTextTrack("captions",E,T);H&&(H[t]=!0,o[t]=H)}}createNonNativeTrack(t){if(this.nonNativeCaptionsTracks[t])return;const n=this.captionsProperties[t];if(!n)return;const o=n.label,m={_id:t,label:o,kind:"captions",default:n.media?!!n.media.default:!1,closedCaptions:n.media};this.nonNativeCaptionsTracks[t]=m,this.hls.trigger(s.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[m]})}createTextTrack(t,n,o){const m=this.media;if(m)return m.addTextTrack(t,n,o)}onMediaAttaching(t,n){this.media=n.media,n.mediaSource||this._cleanTracks()}onMediaDetaching(t,n){const o=!!n.transferMedia;if(this.media=null,o)return;const{captionsTracks:m}=this;Object.keys(m).forEach(E=>{Mu(m[E]),delete m[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=ll(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let o=0;o<n.length;o++)Mu(n[o])}onSubtitleTracksUpdated(t,n){const o=n.subtitleTracks||[],m=o.some(E=>E.textCodec===$u);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(oc(this.tracks,o)){this.tracks=o;return}if(this.textTracks=[],this.tracks=o,this.config.renderTextTracksNatively){const T=this.media,z=T?Dc(T.textTracks):null;if(this.tracks.forEach((H,j)=>{let se;if(z){let ce=null;for(let xe=0;xe<z.length;xe++)if(z[xe]&&Yu(z[xe],H)){ce=z[xe],z[xe]=null;break}ce&&(se=ce)}if(se)Mu(se);else{const ce=ju(H);se=this.createTextTrack(ce,H.name,H.lang),se&&(se.mode="disabled")}se&&this.textTracks.push(se)}),z!=null&&z.length){const H=z.filter(j=>j!==null).map(j=>j.label);H.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${H.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const T=this.tracks.map(z=>({label:z.name,kind:z.type.toLowerCase(),default:z.default,subtitleTrack:z}));this.hls.trigger(s.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:T})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(o=>{const m=/(?:CC|SERVICE)([1-4])/.exec(o.instreamId);if(!m)return;const E=`textTrack${m[1]}`,T=this.captionsProperties[E];T&&(T.label=o.name,o.lang&&(T.languageCode=o.lang),T.media=o)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===u.MAIN){var o,m;const{cea608Parser1:E,cea608Parser2:T,lastSn:z}=this,{cc:H,sn:j}=n.frag,se=(o=(m=n.part)==null?void 0:m.index)!=null?o:-1;E&&T&&(j!==z+1||j===z&&se!==this.lastPartIndex+1||H!==this.lastCc)&&(E.reset(),T.reset()),this.lastCc=H,this.lastSn=j,this.lastPartIndex=se}}onFragLoaded(t,n){const{frag:o,payload:m}=n;if(o.type===u.SUBTITLE)if(m.byteLength){const E=o.decryptdata,T="stats"in n;if(E==null||!E.encrypted||T){const z=this.tracks[o.level],H=this.vttCCs;H[o.cc]||(H[o.cc]={start:o.start,prevCC:this.prevCC,new:!0},this.prevCC=o.cc),z&&z.textCodec===$u?this._parseIMSC1(o,m):this._parseVTTs(n)}}else this.hls.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:o,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const o=this.hls;nc(n,this.initPTS[t.cc],m=>{this._appendCues(m,t.level),o.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},m=>{o.logger.log(`Failed to parse IMSC1: ${m}`),o.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:m})})}_parseVTTs(t){var n;const{frag:o,payload:m}=t,{initPTS:E,unparsedVttFrags:T}=this,z=E.length-1;if(!E[o.cc]&&z===-1){T.push(t);return}const H=this.hls,j=(n=o.initSegment)!=null&&n.data?Gt(o.initSegment.data,new Uint8Array(m)).buffer:m;hu(j,this.initPTS[o.cc],this.vttCCs,o.cc,o.start,se=>{this._appendCues(se,o.level),H.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:o})},se=>{const ce=se.message==="Missing initPTS for VTT MPEGTS";ce?T.push(t):this._fallbackToIMSC1(o,m),H.logger.log(`Failed to parse VTT cue: ${se}`),!(ce&&z>o.cc)&&H.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:o,error:se})})}_fallbackToIMSC1(t,n){const o=this.tracks[t.level];o.textCodec||nc(n,this.initPTS[t.cc],()=>{o.textCodec=$u,this._parseIMSC1(t,n)},()=>{o.textCodec="wvtt"})}_appendCues(t,n){const o=this.hls;if(this.config.renderTextTracksNatively){const m=this.textTracks[n];if(!m||m.mode==="disabled")return;t.forEach(E=>vc(m,E))}else{const m=this.tracks[n];if(!m)return;const E=m.default?"default":"subtitles"+n;o.trigger(s.CUES_PARSED,{type:"subtitles",cues:t,track:E})}}onFragDecrypted(t,n){const{frag:o}=n;o.type===u.SUBTITLE&&this.onFragLoaded(s.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:o,samples:m}=n;if(!(o.type===u.MAIN&&this.closedCaptionsForLevel(o)==="NONE"))for(let E=0;E<m.length;E++){const T=m[E].bytes;if(T){this.cea608Parser1||this.initCea608Parsers();const z=this.extractCea608Data(T);this.cea608Parser1.addData(m[E].pts,z[0]),this.cea608Parser2.addData(m[E].pts,z[1])}}}onBufferFlushing(t,{startOffset:n,endOffset:o,endOffsetSubtitles:m,type:E}){const{media:T}=this;if(!(!T||T.currentTime<o)){if(!E||E==="video"){const{captionsTracks:z}=this;Object.keys(z).forEach(H=>Zo(z[H],n,o))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:z}=this;Object.keys(z).forEach(H=>Zo(z[H],n,m))}}}extractCea608Data(t){const n=[[],[]],o=t[0]&31;let m=2;for(let E=0;E<o;E++){const T=t[m++],z=127&t[m++],H=127&t[m++];if(z===0&&H===0)continue;if((4&T)!==0){const se=3&T;(se===0||se===1)&&(n[se].push(z),n[se].push(H))}}return n}}function ju(P){return P.characteristics&&/transcribes-spoken-dialog/gi.test(P.characteristics)&&/describes-music-and-sound/gi.test(P.characteristics)?"captions":"subtitles"}function Yu(P,t){return!!P&&P.kind===ju(t)&&ai(t,P)}function ul(P,t,n,o){return Math.min(t,o)-Math.max(P,n)}function ll(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}const Df=/\s/,wf={newCue(P,t,n,o){const m=[];let E,T,z,H,j;const se=self.VTTCue||self.TextTrackCue;for(let xe=0;xe<o.rows.length;xe++)if(E=o.rows[xe],z=!0,H=0,j="",!E.isEmpty()){var ce;for(let tt=0;tt<E.chars.length;tt++)Df.test(E.chars[tt].uchar)&&z?H++:(j+=E.chars[tt].uchar,z=!1);E.cueStartTime=t,t===n&&(n+=1e-4),H>=16?H--:H++;const Ie=ol(j.trim()),Oe=Ll(t,n,Ie);P!=null&&(ce=P.cues)!=null&&ce.getCueById(Oe)||(T=new se(t,n,Ie),T.id=Oe,T.line=xe+1,T.align="left",T.position=10+Math.min(80,Math.floor(H*8/32)*10),m.push(T))}return P&&m.length&&(m.sort((xe,Ie)=>xe.line==="auto"||Ie.line==="auto"?0:xe.line>8&&Ie.line>8?Ie.line-xe.line:xe.line-Ie.line),m.forEach(xe=>vc(P,xe))),m}};function Fl(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(P){}return!1}const Sf=/(\d+)-(\d+)\/(\d+)/;class xc{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||Of,this.controller=new self.AbortController,this.stats=new F}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,o){const m=this.stats;if(m.loading.start)throw new Error("Loader can only be used once.");m.loading.start=self.performance.now();const E=Jc(t,this.controller.signal),T=t.responseType==="arraybuffer",z=T?"byteLength":"length",{maxTimeToFirstByteMs:H,maxLoadTimeMs:j}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=o,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=H&&r(H)?H:j,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(Iu(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(ce=>{var xe;this.response=this.loader=ce;const Ie=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=j,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},j-(Ie-m.loading.start)),!ce.ok){const{status:tt,statusText:at}=ce;throw new Xu(at||"fetch, bad network response",tt,ce)}m.loading.first=Ie,m.total=cl(ce.headers)||m.total;const Oe=(xe=this.callbacks)==null?void 0:xe.onProgress;return Oe&&r(n.highWaterMark)?this.loadProgressively(ce,m,t,n.highWaterMark,Oe):T?ce.arrayBuffer():t.responseType==="json"?ce.json():ce.text()}).then(ce=>{var xe,Ie;const Oe=this.response;if(!Oe)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const tt=ce[z];tt&&(m.loaded=m.total=tt);const at={url:Oe.url,data:ce,code:Oe.status},Nt=(xe=this.callbacks)==null?void 0:xe.onProgress;Nt&&!r(n.highWaterMark)&&Nt(m,t,ce,Oe),(Ie=this.callbacks)==null||Ie.onSuccess(at,m,t,Oe)}).catch(ce=>{var xe;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Ie=ce&&ce.code||0,Oe=ce?ce.message:null;(xe=this.callbacks)==null||xe.onError({code:Ie,text:Oe},t,ce?ce.details:null,m)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,o,m=0,E){const T=new ci,z=t.body.getReader(),H=()=>z.read().then(j=>{if(j.done)return T.dataLength&&E(n,o,T.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const se=j.value,ce=se.length;return n.loaded+=ce,ce<m||T.dataLength?(T.push(se),T.dataLength>=m&&E(n,o,T.flush().buffer,t)):E(n,o,se.buffer,t),H()}).catch(()=>Promise.reject());return H()}}function Jc(P,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},P.headers))};return P.rangeEnd&&n.headers.set("Range","bytes="+P.rangeStart+"-"+String(P.rangeEnd-1)),n}function hf(P){const t=Sf.exec(P);if(t)return parseInt(t[2])-parseInt(t[1])+1}function cl(P){const t=P.get("Content-Range");if(t){const o=hf(t);if(r(o))return o}const n=P.get("Content-Length");if(n)return parseInt(n)}function Of(P,t){return new self.Request(P.url,t)}class Xu extends Error{constructor(t,n,o){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=o}}const Lc=/^age:\s*[\d.]+\s*$/im;class ef{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new F,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,o){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=n,this.callbacks=o,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const o=this.loader=new self.XMLHttpRequest,m=this.stats;m.loading.first=0,m.loaded=0,m.aborted=!1;const E=this.xhrSetup;E?Promise.resolve().then(()=>{if(!(this.loader!==o||this.stats.aborted))return E(o,n.url)}).catch(T=>{if(!(this.loader!==o||this.stats.aborted))return o.open("GET",n.url,!0),E(o,n.url)}).then(()=>{this.loader!==o||this.stats.aborted||this.openAndSendXhr(o,n,t)}).catch(T=>{var z;(z=this.callbacks)==null||z.onError({code:o.status,text:T.message},n,o,m)}):this.openAndSendXhr(o,n,t)}openAndSendXhr(t,n,o){t.readyState||t.open("GET",n.url,!0);const m=n.headers,{maxTimeToFirstByteMs:E,maxLoadTimeMs:T}=o.loadPolicy;if(m)for(const z in m)t.setRequestHeader(z,m[z]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),o.timeout=E&&r(E)?E:T,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),o.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:o}=this;if(!t||!n)return;const m=n.readyState,E=this.config;if(!o.aborted&&m>=2&&(o.loading.first===0&&(o.loading.first=Math.max(self.performance.now(),o.loading.start),E.timeout!==E.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),E.timeout=E.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),E.loadPolicy.maxLoadTimeMs-(o.loading.first-o.loading.start)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const j=n.status,se=n.responseType==="text"?n.responseText:null;if(j>=200&&j<300){const Oe=se!=null?se:n.response;if(Oe!=null){var T,z;o.loading.end=Math.max(self.performance.now(),o.loading.first);const tt=n.responseType==="arraybuffer"?Oe.byteLength:Oe.length;o.loaded=o.total=tt,o.bwEstimate=o.total*8e3/(o.loading.end-o.loading.first);const at=(T=this.callbacks)==null?void 0:T.onProgress;at&&at(o,t,Oe,n);const Nt={url:n.responseURL,data:Oe,code:j};(z=this.callbacks)==null||z.onSuccess(Nt,o,t,n);return}}const ce=E.loadPolicy.errorRetry,xe=o.retry,Ie={url:t.url,data:void 0,code:j};if(Ze(ce,xe,!1,Ie))this.retry(ce);else{var H;G.error(`${j} while loading ${t.url}`),(H=this.callbacks)==null||H.onError({code:j,text:n.statusText},t,n,o)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(Ze(t,n,!0))this.retry(t);else{var o;G.warn(`timeout while loading ${(o=this.context)==null?void 0:o.url}`);const m=this.callbacks;m&&(this.abortInternal(),m.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:o}=this;this.retryDelay=Ir(t,o.retry),o.retry++,G.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${o.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Lc.test(this.loader.getAllResponseHeaders())){const n=this.loader.getResponseHeader("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.loader&&new RegExp(`^${t}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null}}const Ho={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},tf=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:ef,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Gi,bufferController:Hu,capLevelController:cc,errorController:ir,fpsController:nl,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:Fa,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,certLoadPolicy:{default:Ho},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},pf()),{},{subtitleStreamController:I,subtitleTrackController:Kc,timelineController:Ku,audioStreamController:Zl,audioTrackController:Sc,emeController:Lu,cmcdController:Qo,contentSteeringController:$o,interstitialsController:yc});function pf(){return{cueHandler:wf,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function fl(P,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const o=Bl(P),m=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(T=>{const z=`${T==="level"?"playlist":T}LoadPolicy`,H=t[z]===void 0,j=[];E.forEach(se=>{const ce=`${T}Loading${se}`,xe=t[ce];if(xe!==void 0&&H){j.push(ce);const Ie=o[z].default;switch(t[z]={default:Ie},se){case"TimeOut":Ie.maxLoadTimeMs=xe,Ie.maxTimeToFirstByteMs=xe;break;case"MaxRetry":Ie.errorRetry.maxNumRetry=xe,Ie.timeoutRetry.maxNumRetry=xe;break;case"RetryDelay":Ie.errorRetry.retryDelayMs=xe,Ie.timeoutRetry.retryDelayMs=xe;break;case"MaxRetryTimeout":Ie.errorRetry.maxRetryDelayMs=xe,Ie.timeoutRetry.maxRetryDelayMs=xe;break}}}),j.length&&n.warn(`hls.js config: "${j.join('", "')}" setting(s) are deprecated, use "${z}": ${jn(t[z])}`)}),b(b({},o),t)}function Bl(P){return P&&typeof P=="object"?Array.isArray(P)?P.map(Bl):Object.keys(P).reduce((t,n)=>(t[n]=Bl(P[n]),t),{}):P}function Wo(P,t){const n=P.loader;n!==xc&&n!==ef?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),P.progressive=!1):Fl()&&(P.loader=xc,P.progressive=!0,P.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Ec=2,_f=.1,Mc=.05,Fc=100;class mf extends Is{constructor(t,n){super("gap-controller",t.logger),this.hls=null,this.fragmentTracker=null,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var o;(o=this.media)!=null&&o.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var o;this.ended=((o=this.media)==null?void 0:o.currentTime)||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Fc),this.mediaSource=n.mediaSource;const o=this.media=n.media;iu(o,"playing",this.onMediaPlaying),iu(o,"waiting",this.onMediaWaiting),iu(o,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:o}=this;o&&(qo(o,"playing",this.onMediaPlaying),qo(o,"waiting",this.onMediaWaiting),qo(o,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,n){this.buffered=n.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const n=this.media.currentTime;this.poll(n,this.lastCurrentTime),this.lastCurrentTime=n}poll(t,n){var o,m;const E=(o=this.hls)==null?void 0:o.config;if(!E)return;const{media:T,stalled:z}=this;if(!T)return;const{seeking:H}=T,j=this.seeking&&!H,se=!this.seeking&&H,ce=T.paused&&!H||T.ended||T.playbackRate===0;if(this.seeking=H,t!==n){n&&(this.ended=0),this.moved=!0,H||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!ce&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(se||j){j&&this.stallResolved(t);return}if(ce){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&T.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1}));return}if(!yi.getBuffered(T).length){this.nudgeRetry=0;return}const xe=yi.bufferInfo(T,t,0),Ie=xe.nextStart||0,Oe=this.fragmentTracker;if(H&&Oe&&this.hls){const fn=Bc(this.hls.inFlightFragments,t),Vr=xe.len>Ec,on=!Ie||fn||Ie-t>Ec&&!Oe.getPartialFragment(t);if(Vr||on)return;this.moved=!1}const tt=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Oe){if(!(xe.len>0)&&!Ie)return;const Vr=Math.max(Ie,xe.start||0)-t,_n=!!(tt!=null&&tt.live)?tt.targetduration*2:Ec,Xr=Oe.getPartialFragment(t);if(Vr>0&&(Vr<=_n||Xr)){T.paused||this._trySkipBufferHole(Xr);return}}const at=E.detectStallWithCurrentTimeMs,Nt=self.performance.now(),dr=this.waiting;if(z===null){dr>0&&Nt-dr<at?this.stalled=dr:this.stalled=Nt;return}const ar=Nt-z;if(!H&&(ar>=at||dr)&&this.hls){var Zr;if(((Zr=this.mediaSource)==null?void 0:Zr.readyState)==="ended"&&!(tt!=null&&tt.live)&&Math.abs(t-((tt==null?void 0:tt.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(xe),!this.media||!this.hls)return}const Gr=yi.bufferInfo(T,t,E.maxBufferHole);this._tryFixBufferStall(Gr,ar)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const o=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(o)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(s.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var o;const m=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(o=this.buffered.audio)!=null&&o.length&&m&&m.length>1&&t>m.end(0)){const E=yi.bufferedInfo(yi.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const T=yi.timeRangesToArray(m),z=yi.bufferedInfo(T,n,0).bufferedIndex;if(z>-1&&z<T.length-1){const H=yi.bufferedInfo(T,t,0).bufferedIndex,j=T[z].end,se=T[z+1].start;if((H===-1||H>z)&&se-j<1&&t-j<2){const ce=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${j} -> ${se} buffered index: ${H}`);this.warn(ce.message),this.media.currentTime+=1e-6;const xe=this.fragmentTracker.getPartialFragment(t)||void 0,Ie=yi.bufferInfo(this.media,t,0);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ce,reason:ce.message,frag:xe,buffer:Ie.len,bufferInfo:Ie})}}}}}_tryFixBufferStall(t,n){var o,m;const{fragmentTracker:E,media:T}=this,z=(o=this.hls)==null?void 0:o.config;if(!T||!E||!z)return;const H=T.currentTime,j=(m=this.hls)==null?void 0:m.latestLevelDetails,se=E.getPartialFragment(H);if((se||j!=null&&j.live&&H<j.fragmentStart)&&(this._trySkipBufferHole(se)||!this.media))return;const ce=t.buffered;(ce&&ce.length>1&&t.len>z.maxBufferHole||t.nextStart&&t.nextStart-H<z.maxBufferHole)&&(n>z.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}_reportStall(t){const{hls:n,media:o,stallReported:m,stalled:E}=this;if(!m&&E!==null&&o&&n){this.stallReported=!0;const T=new Error(`Playback stalling at @${o.currentTime} due to low buffer (${jn(t)})`);this.warn(T.message),n.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:T,buffer:t.len,bufferInfo:t,stalled:{start:E}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:o,media:m}=this,E=(n=this.hls)==null?void 0:n.config;if(!m||!o||!E)return 0;const T=m.currentTime,z=yi.bufferInfo(m,T,0),H=T<z.start?z.start:z.nextStart;if(H&&this.hls){const se=z.len<=E.maxBufferHole,ce=z.len>0&&z.len<1&&m.readyState<3,xe=H-T;if(xe>0&&(se||ce)){if(xe>E.maxBufferHole){let Oe=!1;if(T===0){const tt=o.getAppendedFrag(0,u.MAIN);tt&&H<tt.end&&(Oe=!0)}if(!Oe){const tt=t||o.getAppendedFrag(T,u.MAIN);if(tt){var j;if(!((j=this.hls.loadLevelObj)!=null&&j.details)||Bc(this.hls.inFlightFragments,H))return 0;let Nt=!1,dr=tt.end;for(;dr<H;){const ar=o.getPartialFragment(dr);if(ar)dr+=ar.duration;else{Nt=!0;break}}if(Nt)return 0}}}const Ie=Math.max(H+Mc,T+_f);if(this.warn(`skipping hole, adjusting currentTime from ${T} to ${Ie}`),this.moved=!0,m.currentTime=Ie,!(t!=null&&t.gap)){const Oe=new Error(`fragment loaded with buffer holes, seeking from ${T} to ${Ie}`);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:Oe,reason:Oe.message,frag:t||void 0,buffer:z.len,bufferInfo:z})}return Ie}}return 0}_tryNudgeBuffer(t){const{hls:n,media:o,nudgeRetry:m}=this,E=n==null?void 0:n.config;if(!o||!E)return 0;const T=o.currentTime;if(this.nudgeRetry++,m<E.nudgeMaxRetry){const z=T+(m+1)*E.nudgeOffset,H=new Error(`Nudging 'currentTime' from ${T} to ${z}`);this.warn(H.message),o.currentTime=z,n.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_NUDGE_ON_STALL,error:H,fatal:!1,buffer:t.len,bufferInfo:t})}else{const z=new Error(`Playhead still not moving while enough data buffered @${T} after ${E.nudgeMaxRetry} nudges`);this.error(z.message),n.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,error:z,fatal:!0,buffer:t.len,bufferInfo:t})}}}function Bc(P,t){const n=Af(P.main);if(n&&n.start<=t)return n;const o=Af(P.audio);return o&&o.start<=t?o:null}function Af(P){if(!P)return null;switch(P.state){case zr.IDLE:case zr.STOPPED:case zr.ENDED:case zr.ERROR:return null}return P.frag}const Mf=.25;function Nc(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function Ff(P,t,n,o,m){let E=new P(t,n,"");try{E.value=o,m&&(E.type=m)}catch(T){E=new P(t,n,jn(m?b({type:m},o):o))}return E}const rf=(()=>{const P=Nc();try{P&&new P(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function vf(P){return Uint8Array.from(P.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class Hf{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(s.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(t,n){var o;this.media=n.media,((o=n.overrides)==null?void 0:o.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){const t=this.hls.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&Mu(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const n=this.getID3Track(t.textTracks);return n.mode="hidden",n}getID3Track(t){if(this.media){for(let n=0;n<t.length;n++){const o=t[n];if(o.kind==="metadata"&&o.label==="id3")return Su(o,this.media),o}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(t,n){if(!this.media)return;const{hls:{config:{enableEmsgMetadataCues:o,enableID3MetadataCues:m}}}=this;if(!o&&!m)return;const{samples:E}=n;this.id3Track||(this.id3Track=this.createTrack(this.media));const T=Nc();if(T)for(let z=0;z<E.length;z++){const H=E[z].type;if(H===Se.emsg&&!o||!m)continue;const j=Ua(E[z].data);if(j){const se=E[z].pts;let ce=se+E[z].duration;ce>rf&&(ce=rf),ce-se<=0&&(ce=se+Mf);for(let Ie=0;Ie<j.length;Ie++){const Oe=j[Ie];if(!As(Oe)){this.updateId3CueEnds(se,H);const tt=Ff(T,se,ce,Oe,H);tt&&this.id3Track.addCue(tt)}}}}}updateId3CueEnds(t,n){var o;const m=(o=this.id3Track)==null?void 0:o.cues;if(m)for(let E=m.length;E--;){const T=m[E];T.type===n&&T.startTime<t&&T.endTime===rf&&(T.endTime=t)}}onBufferFlushing(t,{startOffset:n,endOffset:o,type:m}){const{id3Track:E,hls:T}=this;if(!T)return;const{config:{enableEmsgMetadataCues:z,enableID3MetadataCues:H}}=T;if(E&&(z||H)){let j;m==="audio"?j=se=>se.type===Se.audioId3&&H:m==="video"?j=se=>se.type===Se.emsg&&z:j=se=>se.type===Se.audioId3&&H||se.type===Se.emsg&&z,Zo(E,n,o,j)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:o}=this,{dateRanges:m}=t,E=Object.keys(m);let T=this.dateRangeCuesAppended;if(o&&n){var z;if((z=o.cues)!=null&&z.length){const se=Object.keys(T).filter(ce=>!E.includes(ce));for(let ce=se.length;ce--;){const xe=se[ce],Ie=T[xe].cues;delete T[xe],Object.keys(Ie).forEach(Oe=>{try{const tt=Ie[Oe];tt.removeEventListener("enter",this.onEventCueEnter),o.removeCue(tt)}catch(tt){}})}}else T=this.dateRangeCuesAppended={}}const H=t.fragments[t.fragments.length-1];if(E.length===0||!r(H==null?void 0:H.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const j=Nc();for(let se=0;se<E.length;se++){const ce=E[se],xe=m[ce],Ie=xe.startTime,Oe=T[ce],tt=(Oe==null?void 0:Oe.cues)||{};let at=(Oe==null?void 0:Oe.durationKnown)||!1,Nt=rf;const{duration:dr,endDate:ar}=xe;if(ar&&dr!==null)Nt=Ie+dr,at=!0;else if(xe.endOnNext&&!at){const Gr=E.reduce((fn,Vr)=>{if(Vr!==xe.id){const on=m[Vr];if(on.class===xe.class&&on.startDate>xe.startDate&&(!fn||xe.startDate<fn.startDate))return on}return fn},null);Gr&&(Nt=Gr.startTime,at=!0)}const Zr=Object.keys(xe.attr);for(let Gr=0;Gr<Zr.length;Gr++){const fn=Zr[Gr];if(!Rn(fn))continue;const Vr=tt[fn];if(Vr)at&&!Oe.durationKnown?Vr.endTime=Nt:Math.abs(Vr.startTime-Ie)>.01&&(Vr.startTime=Ie,Vr.endTime=Nt);else if(j){let on=xe.attr[fn];ja(fn)&&(on=vf(on));const Xr=Ff(j,Ie,Nt,{key:fn,data:on},Se.dateRange);Xr&&(Xr.id=ce,this.id3Track.addCue(Xr),tt[fn]=Xr,this.hls.config.interstitialsController&&(fn==="X-ASSET-LIST"||fn==="X-ASSET-URL")&&Xr.addEventListener("enter",this.onEventCueEnter))}}T[ce]={cues:tt,dateRange:xe,durationKnown:at}}}}class Cf{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,o=this.levelDetails;if(!n||!o)return;this.currentTime=n.currentTime;const m=this.computeLatency();if(m===null)return;this._latency=m;const{lowLatencyMode:E,maxLiveSyncPlaybackRate:T}=this.config;if(!E||T===1||!o.live)return;const z=this.targetLatency;if(z===null)return;const H=m-z,j=Math.min(this.maxLatency,z+o.targetduration);if(H<j&&H>.05&&this.forwardBufferLength>1){const ce=Math.min(2,Math.max(1,T)),xe=Math.round(2/(1+Math.exp(-.75*H-this.edgeStalled))*20)/20,Ie=Math.min(ce,Math.max(1,xe));this.changeMediaPlaybackRate(n,Ie)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:o,targetduration:m}=t,{liveSyncDuration:E,liveSyncDurationCount:T,lowLatencyMode:z}=this.config,H=this.hls.userConfig;let j=z&&o||n;(this._targetLatencyUpdated||H.liveSyncDuration||H.liveSyncDurationCount||j===0)&&(j=E!==void 0?E:T*m);const se=m;return j+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,se)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const o=this.levelDetails;if(o===null)return null;const m=o.edge,E=t-n-this.edgeStalled,T=m-o.totalduration,z=m-(this.config.lowLatencyMode&&o.partTarget||o.targetduration);return Math.min(Math.max(T,E),z)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const o=t.buffered.length;return(o?t.buffered.end(o-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var o;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(o=this.levelDetails)!=null&&o.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var o,m;t.playbackRate!==n&&((o=this.hls)==null||o.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(m=this.targetLatency)==null?void 0:m.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${n}`),t.playbackRate=n)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Bf extends lu{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this),t.on(s.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this),t.off(s.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const o=this.hls.config.preferManagedMediaSource,m=[],E={},T={};let z=!1,H=!1,j=!1;n.levels.forEach(se=>{var ce;const xe=se.attrs;let{audioCodec:Ie,videoCodec:Oe}=se;Ie&&(se.audioCodec=Ie=At(Ie,o)||void 0),((ce=Oe)==null?void 0:ce.indexOf("avc1"))===0&&(Oe=se.videoCodec=Ar(Oe));const{width:tt,height:at,unknownCodecs:Nt}=se;let dr=Nt?Nt.length:0;if(Nt)for(let Yn=dr;Yn--;){const di=Nt[Yn];this.isAudioSupported(di)?(se.audioCodec=Ie=Ie?`${Ie},${di}`:di,dr--,Zt.audio[Ie.substring(0,4)]=2):this.isVideoSupported(di)&&(se.videoCodec=Oe=Oe?`${Oe},${di}`:di,dr--,Zt.video[Oe.substring(0,4)]=2)}if(z||(z=!!(tt&&at)),H||(H=!!Oe),j||(j=!!Ie),dr||Ie&&!this.isAudioSupported(Ie)||Oe&&!this.isVideoSupported(Oe)){this.log(`Some or all CODECS not supported "${xe.CODECS}"`);return}const{CODECS:ar,"FRAME-RATE":Zr,"HDCP-LEVEL":Gr,"PATHWAY-ID":fn,RESOLUTION:Vr,"VIDEO-RANGE":on}=xe,Xr=`${`${fn||"."}-`}${se.bitrate}-${Vr}-${Zr}-${ar}-${on}-${Gr}`;if(E[Xr])if(E[Xr].uri!==se.url&&!se.attrs["PATHWAY-ID"]){const Yn=T[Xr]+=1;se.attrs["PATHWAY-ID"]=new Array(Yn+1).join(".");const di=this.createLevel(se);E[Xr]=di,m.push(di)}else E[Xr].addGroupId("audio",xe.AUDIO),E[Xr].addGroupId("text",xe.SUBTITLES);else{const Yn=this.createLevel(se);E[Xr]=Yn,T[Xr]=1,m.push(Yn)}}),this.filterAndSortMediaOptions(m,n,z,H,j)}createLevel(t){const n=new mr(t),o=t.supplemental;if(o!=null&&o.videoCodec&&!this.isVideoSupported(o.videoCodec)){const m=new Error(`SUPPLEMENTAL-CODECS not supported "${o.videoCodec}"`);this.log(m.message),n.supportedResult=cn(m,[])}return n}isAudioSupported(t){return ke(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return ke(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,o,m,E){let T=[],z=[],H=t;if((o||m)&&E&&(H=H.filter(({videoCodec:at,videoRange:Nt,width:dr,height:ar})=>(!!at||!!(dr&&ar))&&ot(Nt))),H.length===0){Promise.resolve().then(()=>{if(this.hls){let at="no level with compatible codecs found in manifest",Nt=at;n.levels.length&&(Nt=`one or more CODECS in variant not supported: ${jn(n.levels.map(ar=>ar.attrs.CODECS).filter((ar,Zr,Gr)=>Gr.indexOf(ar)===Zr))}`,this.warn(Nt),at+=` (${Nt})`);const dr=new Error(at);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:dr,reason:Nt})}});return}n.audioTracks&&(T=n.audioTracks.filter(at=>!at.audioCodec||this.isAudioSupported(at.audioCodec)),Nf(T)),n.subtitles&&(z=n.subtitles,Nf(z));const j=H.slice(0);H.sort((at,Nt)=>{if(at.attrs["HDCP-LEVEL"]!==Nt.attrs["HDCP-LEVEL"])return(at.attrs["HDCP-LEVEL"]||"")>(Nt.attrs["HDCP-LEVEL"]||"")?1:-1;if(o&&at.height!==Nt.height)return at.height-Nt.height;if(at.frameRate!==Nt.frameRate)return at.frameRate-Nt.frameRate;if(at.videoRange!==Nt.videoRange)return gr.indexOf(at.videoRange)-gr.indexOf(Nt.videoRange);if(at.videoCodec!==Nt.videoCodec){const dr=Ke(at.videoCodec),ar=Ke(Nt.videoCodec);if(dr!==ar)return ar-dr}if(at.uri===Nt.uri&&at.codecSet!==Nt.codecSet){const dr=gt(at.codecSet),ar=gt(Nt.codecSet);if(dr!==ar)return ar-dr}return at.averageBitrate!==Nt.averageBitrate?at.averageBitrate-Nt.averageBitrate:0});let se=j[0];if(this.steering&&(H=this.steering.filterParsedLevels(H),H.length!==j.length)){for(let at=0;at<j.length;at++)if(j[at].pathwayId===H[0].pathwayId){se=j[at];break}}this._levels=H;for(let at=0;at<H.length;at++)if(H[at]===se){var ce;this._firstLevel=at;const Nt=se.bitrate,dr=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${H.length} level(s) found, first bitrate: ${Nt}`),((ce=this.hls.userConfig)==null?void 0:ce.abrEwmaDefaultEstimate)===void 0){const ar=Math.min(Nt,this.hls.config.abrEwmaDefaultEstimateMax);ar>dr&&dr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=ar)}break}const xe=E&&!m,Ie=this.hls.config,Oe=!!(Ie.audioStreamController&&Ie.audioTrackController),tt={levels:H,audioTracks:T,subtitleTracks:z,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:Oe&&!xe&&T.some(at=>!!at.url)};this.hls.trigger(s.MANIFEST_PARSED,tt)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const se=new Error("invalid level idx"),ce=t<0;if(this.hls.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:ce,error:se,reason:se.message}),ce)return;t=Math.min(t,n.length-1)}const o=this.currentLevelIndex,m=this.currentLevel,E=m?m.attrs["PATHWAY-ID"]:void 0,T=n[t],z=T.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=T,o===t&&m&&E===z)return;this.log(`Switching to level ${t} (${T.height?T.height+"p ":""}${T.videoRange?T.videoRange+" ":""}${T.codecSet?T.codecSet+" ":""}@${T.bitrate})${z?" with Pathway "+z:""} from level ${o}${E?" with Pathway "+E:""}`);const H={level:t,attrs:T.attrs,details:T.details,bitrate:T.bitrate,averageBitrate:T.averageBitrate,maxBitrate:T.maxBitrate,realBitrate:T.realBitrate,width:T.width,height:T.height,codecSet:T.codecSet,audioCodec:T.audioCodec,videoCodec:T.videoCodec,audioGroups:T.audioGroups,subtitleGroups:T.subtitleGroups,loaded:T.loaded,loadError:T.loadError,fragmentError:T.fragmentError,name:T.name,id:T.id,uri:T.uri,url:T.url,urlId:0,audioGroupIds:T.audioGroupIds,textGroupIds:T.textGroupIds};this.hls.trigger(s.LEVEL_SWITCHING,H);const j=T.details;if(!j||j.live){const se=this.switchParams(T.uri,m==null?void 0:m.details,j);this.loadPlaylist(se)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),o=t.filter(m=>n.indexOf(m)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=o}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===u.MAIN){const o=n.elementaryStreams;if(!Object.keys(o).some(E=>!!o[E]))return;const m=this._levels[n.level];m!=null&&m.loadError&&(this.log(`Resetting level error count of ${m.loadError} on frag buffered`),m.loadError=0)}}onLevelLoaded(t,n){var o;const{level:m,details:E}=n,T=n.levelInfo;if(!T){var z;this.warn(`Invalid level index ${m}`),(z=n.deliveryDirectives)!=null&&z.skip&&(E.deltaUpdateFailed=!0);return}if(T===this.currentLevel||n.withoutMultiVariant){T.fragmentError===0&&(T.loadError=0);let H=T.details;H===n.details&&H.advanced&&(H=void 0),this.playlistLoaded(m,n,H)}else(o=n.deliveryDirectives)!=null&&o.skip&&(E.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const o=this.getUrlWithDirectives(t.uri,n),m=this.currentLevelIndex,E=t.attrs["PATHWAY-ID"],T=t.details,z=T==null?void 0:T.age;this.log(`Loading level index ${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${E?" Pathway "+E:""}${z&&T.live?" age "+z.toFixed(1)+(T.type?" "+T.type||0:""):""} ${o}`),this.hls.trigger(s.LEVEL_LOADING,{url:o,level:m,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const o=this._levels.filter((E,T)=>T!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(z=>z.level=-1)),!1));Hn(o),this._levels=o,this.currentLevelIndex>-1&&(n=this.currentLevel)!=null&&n.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const m=o.length-1;this._firstLevel=Math.min(this._firstLevel,m),this._startLevel&&(this._startLevel=Math.min(this._startLevel,m)),this.hls.trigger(s.LEVELS_UPDATED,{levels:o})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:o}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(s.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:o}))}}function Nf(P){const t={};P.forEach(n=>{const o=n.groupId||"";n.id=t[o]=t[o]||0,t[o]++})}function nf(){return self.SourceBuffer||self.WebKitSourceBuffer}function $f(){if(!oe())return!1;const t=nf();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Tf(){if(!$f())return!1;const P=oe();return typeof(P==null?void 0:P.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>P.isTypeSupported(be(t,"video")))||["mp4a.40.2","fLaC"].some(t=>P.isTypeSupported(be(t,"audio"))))}function v(){var P;const t=nf();return typeof(t==null||(P=t.prototype)==null?void 0:P.changeType)=="function"}const A=100;class Z extends na{constructor(t,n,o){super(t,n,o,"stream-controller",u.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const m=this.media,E=m?m.currentTime:null;if(E===null||!r(E)||(this.log(`Media seeked to ${E.toFixed(3)}`),!this.getBufferedFrag(E)))return;const T=this.getFwdBufferInfoAtPos(m,E,u.MAIN,0);if(T===null||T.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${T?T.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(s.BUFFER_CREATED,this.onBufferCreated,this),t.on(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(s.BUFFER_CREATED,this.onBufferCreated,this),t.off(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:o,hls:m}=this;if(this.stopLoad(),this.setInterval(A),this.level=-1,!this.startFragRequested){let E=m.startLevel;E===-1&&(m.config.testBandwidth&&this.levels.length>1?(E=0,this.bitrateTest=!0):E=m.firstAutoLevel),m.nextLoadLevel=E,this.level=m.loadLevel,this._hasEnoughToStart=!!n}o>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${o.toFixed(3)}`),t=o),this.state=zr.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=zr.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case zr.WAITING_LEVEL:{const{levels:n,level:o}=this,m=n==null?void 0:n[o],E=m==null?void 0:m.details;if(E&&(!E.live||this.levelLastLoaded===m&&!this.waitForLive(m))){if(this.waitForCdnTuneIn(E))break;this.state=zr.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=zr.IDLE;break}break}case zr.FRAG_LOADING_WAITING_RETRY:{var t;const n=self.performance.now(),o=this.retryDate;if(!o||n>=o||(t=this.media)!=null&&t.seeking){const{levels:m,level:E}=this,T=m==null?void 0:m[E];this.resetStartWhenNotLoaded(T||null),this.state=zr.IDLE}}break}this.state===zr.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:n,levels:o,media:m}=this;if(n===null||!m&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const E=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(o!=null&&o[E]))return;const T=o[E],z=this.getMainFwdBufferInfo();if(z===null)return;const H=this.getLevelDetails();if(H&&this._streamEnded(z,H)){const tt={};this.altAudio===2&&(tt.type="video"),this.hls.trigger(s.BUFFER_EOS,tt),this.state=zr.ENDED;return}if(!this.buffering)return;t.loadLevel!==E&&t.manualLevel===-1&&this.log(`Adapting to level ${E} from level ${this.level}`),this.level=t.nextLoadLevel=E;const j=T.details;if(!j||this.state===zr.WAITING_LEVEL||this.waitForLive(T)){this.level=E,this.state=zr.WAITING_LEVEL,this.startFragRequested=!1;return}const se=z.len,ce=this.getMaxBufferLength(T.maxBitrate);if(se>=ce)return;this.backtrackFragment&&this.backtrackFragment.start>z.end&&(this.backtrackFragment=null);const xe=this.backtrackFragment?this.backtrackFragment.start:z.end;let Ie=this.getNextFragment(xe,j);if(this.couldBacktrack&&!this.fragPrevious&&Ie&&de(Ie)&&this.fragmentTracker.getState(Ie)!==Er.OK){var Oe;const at=((Oe=this.backtrackFragment)!=null?Oe:Ie).sn-j.startSN,Nt=j.fragments[at-1];Nt&&Ie.cc===Nt.cc&&(Ie=Nt,this.fragmentTracker.removeFragment(Nt))}else this.backtrackFragment&&z.len&&(this.backtrackFragment=null);if(Ie&&this.isLoopLoading(Ie,xe)){if(!Ie.gap){const at=this.audioOnly&&!this.altAudio?M.AUDIO:M.VIDEO,Nt=(at===M.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Nt&&this.afterBufferFlushed(Nt,at,u.MAIN)}Ie=this.getNextFragmentLoopLoading(Ie,j,z,u.MAIN,ce)}Ie&&(Ie.initSegment&&!Ie.initSegment.data&&!this.bitrateTest&&(Ie=Ie.initSegment),this.loadFragment(Ie,T,xe))}loadFragment(t,n,o){const m=this.fragmentTracker.getState(t);m===Er.NOT_LOADED||m===Er.PARTIAL?de(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,o):this._loadInitSegment(t,n):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,u.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let o;const m=this.getAppendedFrag(n.currentTime);m&&m.start>1&&this.flushMainBuffer(0,m.start-1);const E=this.getLevelDetails();if(E!=null&&E.live){const z=this.getMainFwdBufferInfo();if(!z||z.len<E.targetduration*2)return}if(!n.paused&&t){const z=this.hls.nextLoadLevel,H=t[z],j=this.fragLastKbps;j&&this.fragCurrent?o=this.fragCurrent.duration*H.maxBitrate/(1e3*j)+1:o=0}else o=0;const T=this.getBufferedFrag(n.currentTime+o);if(T){const z=this.followingBufferedFrag(T);if(z){this.abortCurrentFrag();const H=z.maxStartPTS?z.maxStartPTS:z.start,j=z.duration,se=Math.max(T.end,H+Math.min(Math.max(j-this.config.maxFragLookUpTolerance,j*(this.couldBacktrack?.5:.125)),j*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(se,Number.POSITIVE_INFINITY)}}}}abortCurrentFrag(){const t=this.fragCurrent;switch(this.fragCurrent=null,this.backtrackFragment=null,t&&(t.abortRequests(),this.fragmentTracker.removeFragment(t)),this.state){case zr.KEY_LOADING:case zr.FRAG_LOADING:case zr.FRAG_LOADING_WAITING_RETRY:case zr.PARSING:case zr.PARSED:this.state=zr.IDLE;break}this.nextLoadPosition=this.getLoadPosition()}flushMainBuffer(t,n){super.flushMainBuffer(t,n,this.altAudio===2?"video":null)}onMediaAttached(t,n){super.onMediaAttached(t,n);const o=n.media;iu(o,"playing",this.onMediaPlaying),iu(o,"seeked",this.onMediaSeeked)}onMediaDetaching(t,n){const{media:o}=this;o&&(qo(o,"playing",this.onMediaPlaying),qo(o,"seeked",this.onMediaSeeked)),this.videoBuffer=null,this.fragPlaying=null,super.onMediaDetaching(t,n),!n.transferMedia&&(this._hasEnoughToStart=!1)}onManifestLoading(){super.onManifestLoading(),this.log("Trigger BUFFER_RESET"),this.hls.trigger(s.BUFFER_RESET,void 0),this.couldBacktrack=!1,this.fragLastKbps=0,this.fragPlaying=this.backtrackFragment=null,this.altAudio=0,this.audioOnly=!1}onManifestParsed(t,n){let o=!1,m=!1;n.levels.forEach(E=>{const T=E.audioCodec;T&&(o=o||T.indexOf("mp4a.40.2")!==-1,m=m||T.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=o&&m&&!v(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=n.levels,this.startFragRequested=!1}onLevelLoading(t,n){const{levels:o}=this;if(!o||this.state!==zr.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=zr.WAITING_LEVEL)}onLevelLoaded(t,n){var o;const{levels:m,startFragRequested:E}=this,T=n.level,z=n.details,H=z.totalduration;if(!m){this.warn(`Levels were reset while loading level ${T}`);return}this.log(`Level ${T} loaded [${z.startSN},${z.endSN}]${z.lastPartSn?`[part-${z.lastPartSn}-${z.lastPartIndex}]`:""}, cc [${z.startCC}, ${z.endCC}] duration:${H}`);const j=n.levelInfo,se=this.fragCurrent;se&&(this.state===zr.FRAG_LOADING||this.state===zr.FRAG_LOADING_WAITING_RETRY)&&se.level!==n.level&&se.loader&&this.abortCurrentFrag();let ce=0;if(z.live||(o=j.details)!=null&&o.live){var xe;if(this.checkLiveUpdate(z),z.deltaUpdateFailed)return;ce=this.alignPlaylists(z,j.details,(xe=this.levelLastLoaded)==null?void 0:xe.details)}if(j.details=z,this.levelLastLoaded=j,E||this.setStartPosition(z,ce),this.hls.trigger(s.LEVEL_UPDATED,{details:z,level:T}),this.state===zr.WAITING_LEVEL){if(this.waitForCdnTuneIn(z))return;this.state=zr.IDLE}E&&z.live&&this.synchronizeToLiveEdge(z),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:o}=this;if(!o)return;const m=this.hls.liveSyncPosition,E=this.getLoadPosition(),T=t.fragmentStart,z=t.edge,H=E>=T-n.maxFragLookUpTolerance&&E<=z;if(m!==null&&o.duration>m&&(E<m||!H)){const j=n.liveMaxLatencyDuration!==void 0?n.liveMaxLatencyDuration:n.liveMaxLatencyDurationCount*t.targetduration;(!H&&o.readyState<4||E<z-j)&&(this._hasEnoughToStart||(this.nextLoadPosition=m),o.readyState&&(this.warn(`Playback: ${E.toFixed(3)} is located too far from the end of live sliding playlist: ${z}, reset currentTime to : ${m.toFixed(3)}`),o.currentTime=m))}}_handleFragmentLoadProgress(t){var n;const o=t.frag,{part:m,payload:E}=t,{levels:T}=this;if(!T){this.warn(`Levels were reset while fragment load was in progress. Fragment ${o.sn} of level ${o.level} will not be buffered`);return}const z=T[o.level];if(!z){this.warn(`Level ${o.level} not found on progress`);return}const H=z.details;if(!H){this.warn(`Dropping fragment ${o.sn} of level ${o.level} after level details were reset`),this.fragmentTracker.removeFragment(o);return}const j=z.videoCodec,se=H.PTSKnown||!H.live,ce=(n=o.initSegment)==null?void 0:n.data,xe=this._getAudioCodec(z),Ie=this.transmuxer=this.transmuxer||new Uo(this.hls,u.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),Oe=m?m.index:-1,tt=Oe!==-1,at=new $a(o.level,o.sn,o.stats.chunkCount,E.byteLength,Oe,tt),Nt=this.initPTS[o.cc];Ie.push(E,ce,xe,j,o,m,H.totalduration,se,at,Nt)}onAudioTrackSwitching(t,n){const o=this.hls,m=this.altAudio===2;if(ei(n.url,o))this.altAudio=1;else{if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;const T=this.fragCurrent;T&&(this.log("Switching to main audio track, cancel main fragment load"),T.abortRequests(),this.fragmentTracker.removeFragment(T)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();if(m){this.fragmentTracker.removeAllFragments(),o.once(s.BUFFER_FLUSHED,()=>{var T;(T=this.hls)==null||T.trigger(s.AUDIO_TRACK_SWITCHED,n)}),o.trigger(s.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}o.trigger(s.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const o=ei(n.url,this.hls);if(o){const m=this.videoBuffer;m&&this.mediaBuffer!==m&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=m)}this.altAudio=o?2:0,this.tick()}onBufferCreated(t,n){const o=n.tracks;let m,E,T=!1;for(const z in o){const H=o[z];if(H.id==="main"){if(E=z,m=H,z==="video"){const j=o[z];j&&(this.videoBuffer=j.buffer)}}else T=!0}T&&m?(this.log(`Alternate track found, use ${E}.buffered to schedule main fragment loading`),this.mediaBuffer=m.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:o,part:m}=n,E=o.type===u.MAIN;if(E){if(this.fragContextChanged(o)){this.warn(`Fragment ${o.sn}${m?" p: "+m.index:""} of level ${o.level} finished buffering, but was aborted. state: ${this.state}`),this.state===zr.PARSED&&(this.state=zr.IDLE);return}const z=m?m.stats:o.stats;this.fragLastKbps=Math.round(8*z.total/(z.buffering.end-z.loading.first)),de(o)&&(this.fragPrevious=o),this.fragBufferedComplete(o,m)}const T=this.media;T&&(!this._hasEnoughToStart&&yi.getBuffered(T).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var o;if(n.fatal){this.state=zr.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(u.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===zr.WAITING_LEVEL&&((o=n.context)==null?void 0:o.type)===h.LEVEL&&(this.state=zr.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=zr.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==M.AUDIO||!this.altAudio){const o=(n===M.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;o&&(this.afterBufferFlushed(o,n,u.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let o=this.startPosition;if(o>=0&&n<o){if(t.seeking){this.log(`could not seek to ${o}, already seeking at ${n}`);return}const m=this.timelineOffset;m&&o&&(o+=m);const E=this.getLevelDetails(),T=yi.getBuffered(t),z=T.length?T.start(0):0,H=z-o,j=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);H>0&&(H<j||this.loadingParts&&H<2*((E==null?void 0:E.partTarget)||0))&&(this.log(`adjusting start position by ${H} to match buffer start`),o+=H,this.startPosition=o),n<o&&(this.log(`seek to target start position ${o} from current time ${n} buffer start ${z}`),t.currentTime=o)}}_getAudioCodec(t){let n=this.config.defaultAudioCodec||t.audioCodec;return this.audioCodecSwap&&n&&(this.log("Swapping audio codec"),n.indexOf("mp4a.40.5")!==-1?n="mp4a.40.2":n="mp4a.40.5"),n}_loadBitrateTestFrag(t,n){t.bitrateTest=!0,this._doFragLoad(t,n).then(o=>{const{hls:m}=this,E=o==null?void 0:o.frag;if(!E||this.fragContextChanged(E))return;n.fragmentError=0,this.state=zr.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const T=E.stats;T.parsing.start=T.parsing.end=T.buffering.start=T.buffering.end=self.performance.now(),m.trigger(s.FRAG_LOADED,o),E.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const o=this.playlistType,{hls:m}=this,{remuxResult:E,chunkMeta:T}=t,z=this.getCurrentContext(T);if(!z){this.resetWhenMissingContext(T);return}const{frag:H,part:j,level:se}=z,{video:ce,text:xe,id3:Ie,initSegment:Oe}=E,{details:tt}=se,at=this.altAudio?void 0:E.audio;if(this.fragContextChanged(H)){this.fragmentTracker.removeFragment(H);return}if(this.state=zr.PARSING,Oe){if(Oe!=null&&Oe.tracks){const ar=H.initSegment||H;this._bufferInitSegment(se,Oe.tracks,ar,T),m.trigger(s.FRAG_PARSING_INIT_SEGMENT,{frag:ar,id:o,tracks:Oe.tracks})}const Nt=Oe.initPTS,dr=Oe.timescale;r(Nt)&&(this.initPTS[H.cc]={baseTime:Nt,timescale:dr},m.trigger(s.INIT_PTS_FOUND,{frag:H,id:o,initPTS:Nt,timescale:dr}))}if(ce&&tt){at&&ce.type==="audiovideo"&&this.logMuxedErr(H);const Nt=tt.fragments[H.sn-1-tt.startSN],dr=H.sn===tt.startSN,ar=!Nt||H.cc>Nt.cc;if(E.independent!==!1){const{startPTS:Zr,endPTS:Gr,startDTS:fn,endDTS:Vr}=ce;if(j)j.elementaryStreams[ce.type]={startPTS:Zr,endPTS:Gr,startDTS:fn,endDTS:Vr};else if(ce.firstKeyFrame&&ce.independent&&T.id===1&&!ar&&(this.couldBacktrack=!0),ce.dropped&&ce.independent){const on=this.getMainFwdBufferInfo(),_n=(on?on.end:this.getLoadPosition())+this.config.maxBufferHole,Xr=ce.firstKeyFramePTS?ce.firstKeyFramePTS:Zr;if(!dr&&_n<Xr-this.config.maxBufferHole&&!ar){this.backtrack(H);return}else ar&&(H.gap=!0);H.setElementaryStreamInfo(ce.type,H.start,Gr,H.start,Vr,!0)}else dr&&Zr-(tt.appliedTimelineOffset||0)>Ec&&(H.gap=!0);H.setElementaryStreamInfo(ce.type,Zr,Gr,fn,Vr),this.backtrackFragment&&(this.backtrackFragment=H),this.bufferFragmentData(ce,H,j,T,dr||ar)}else if(dr||ar)H.gap=!0;else{this.backtrack(H);return}}if(at){const{startPTS:Nt,endPTS:dr,startDTS:ar,endDTS:Zr}=at;j&&(j.elementaryStreams[M.AUDIO]={startPTS:Nt,endPTS:dr,startDTS:ar,endDTS:Zr}),H.setElementaryStreamInfo(M.AUDIO,Nt,dr,ar,Zr),this.bufferFragmentData(at,H,j,T)}if(tt&&Ie!=null&&(n=Ie.samples)!=null&&n.length){const Nt={id:o,frag:H,details:tt,samples:Ie.samples};m.trigger(s.FRAG_PARSING_METADATA,Nt)}if(tt&&xe){const Nt={id:o,frag:H,details:tt,samples:xe.samples};m.trigger(s.FRAG_PARSING_USERDATA,Nt)}}logMuxedErr(t){this.warn(`${de(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,o,m){if(this.state!==zr.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(o));const{audio:E,video:T,audiovideo:z}=n;if(E){let j=qr(E.codec,t.audioCodec);j==="mp4a"&&(j="mp4a.40.5");const se=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){j&&(j.indexOf("mp4a.40.5")!==-1?j="mp4a.40.2":j="mp4a.40.5");const ce=E.metadata;ce&&"channelCount"in ce&&(ce.channelCount||1)!==1&&se.indexOf("firefox")===-1&&(j="mp4a.40.5")}j&&j.indexOf("mp4a.40.5")!==-1&&se.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&(j="mp4a.40.2",this.log(`Android: force audio codec to ${j}`)),t.audioCodec&&t.audioCodec!==j&&this.log(`Swapping manifest audio codec "${t.audioCodec}" for "${j}"`),E.levelCodec=j,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${j||""}/${t.audioCodec||""}/${E.codec}]`),delete n.audiovideo}if(T){T.levelCodec=t.videoCodec,T.id=u.MAIN;const j=T.codec;if((j==null?void 0:j.length)===4)switch(j){case"hvc1":case"hev1":T.codec="hvc1.1.6.L120.90";break;case"av01":T.codec="av01.0.04M.08";break;case"avc1":T.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${T.container}, codecs[level/parsed]=[${t.videoCodec||""}/${j}]${T.codec!==j?" parsed-corrected="+T.codec:""}${T.supplemental?" supplemental="+T.supplemental:""}`),delete n.audiovideo}z&&(this.log(`Init audiovideo buffer, container:${z.container}, codecs[level/parsed]=[${t.codecs}/${z.codec}]`),delete n.video,delete n.audio);const H=Object.keys(n);if(H.length){if(this.hls.trigger(s.BUFFER_CODECS,n),!this.hls)return;H.forEach(j=>{const ce=n[j].initSegment;ce!=null&&ce.byteLength&&this.hls.trigger(s.BUFFER_APPENDING,{type:j,data:ce,frag:o,part:null,chunkMeta:m,parent:o.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,u.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,o=t==null?void 0:t[n];return o?this.getMaxBufferLength(o.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=zr.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const o=t.currentTime;if(yi.isBuffered(t,o)?n=this.getAppendedFrag(o):yi.isBuffered(t,o+.1)&&(n=this.getAppendedFrag(o+.1)),n){this.backtrackFragment=null;const m=this.fragPlaying,E=n.level;(!m||n.sn!==m.sn||m.level!==E)&&(this.fragPlaying=n,this.hls.trigger(s.FRAG_CHANGED,{frag:n}),(!m||m.level!==E)&&this.hls.trigger(s.LEVEL_SWITCHED,{level:E}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return r(n)?this.getAppendedFrag(n):null}get currentProgramDateTime(){var t;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(r(n)){const o=this.getLevelDetails(),m=this.currentFrag||(o?En(null,o.fragments,n):null);if(m){const E=m.programDateTime;if(E!==null){const T=E+(n-m.start)*1e3;return new Date(T)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class ve{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const o in this.keyUriToKeyInfo){const m=this.keyUriToKeyInfo[o].loader;if(m){var n;if(t&&t!==((n=m.context)==null?void 0:n.frag.type))return;m.abort()}}}detach(){for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t].loader;n&&n.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,o,m,E){return new Na({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:E,error:o,networkDetails:m})}loadClear(t,n){if(this.emeController&&this.config.emeEnabled){const{sn:o,cc:m}=t;for(let E=0;E<n.length;E++){const T=n[E];if(m<=T.cc&&(o==="initSegment"||T.sn==="initSegment"||o<T.sn)){this.emeController.selectKeySystemFormat(T).then(z=>{T.setKeyFormat(z)});break}}}}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(n=>this.loadInternal(t,n)):this.loadInternal(t)}loadInternal(t,n){var o,m;n&&t.setKeyFormat(n);const E=t.decryptdata;if(!E){const j=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,j))}const T=E.uri;if(!T)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${T}"`)));let z=this.keyUriToKeyInfo[T];if((o=z)!=null&&o.decryptdata.key)return E.key=z.decryptdata.key,Promise.resolve({frag:t,keyInfo:z});if((m=z)!=null&&m.keyLoadPromise){var H;switch((H=z.mediaKeySessionContext)==null?void 0:H.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return z.keyLoadPromise.then(j=>(E.key=j.keyInfo.decryptdata.key,{frag:t,keyInfo:z}))}}switch(z=this.keyUriToKeyInfo[T]={decryptdata:E,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},E.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return E.keyFormat==="identity"?this.loadKeyHTTP(z,t):this.loadKeyEME(z,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(z,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${E.method}"`)))}}loadKeyEME(t,n){const o={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const m=this.emeController.loadKey(o);if(m)return(t.keyLoadPromise=m.then(E=>(t.mediaKeySessionContext=E,o))).catch(E=>{throw t.keyLoadPromise=null,E})}return Promise.resolve(o)}loadKeyHTTP(t,n){const o=this.config,m=o.loader,E=new m(o);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((T,z)=>{const H={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},j=o.keyLoadPolicy.default,se={loadPolicy:j,timeout:j.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Ie,Oe,tt)=>{const{frag:at,keyInfo:Nt,url:dr}=Oe;if(!at.decryptdata||Nt!==this.keyUriToKeyInfo[dr])return z(this.createKeyLoadError(at,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),tt));Nt.decryptdata.key=at.decryptdata.key=new Uint8Array(xe.data),at.keyLoader=null,Nt.loader=null,T({frag:at,keyInfo:Nt})},onError:(xe,Ie,Oe,tt)=>{this.resetLoader(Ie),z(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${xe.code} loading key ${xe.text}`),Oe,b({url:H.url,data:void 0},xe)))},onTimeout:(xe,Ie,Oe)=>{this.resetLoader(Ie),z(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Oe))},onAbort:(xe,Ie,Oe)=>{this.resetLoader(Ie),z(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Oe))}};E.load(H,se,ce)})}resetLoader(t){const{frag:n,keyInfo:o,url:m}=t,E=o.loader;n.keyLoader===E&&(n.keyLoader=null,o.loader=null),delete this.keyUriToKeyInfo[m],E&&E.destroy()}}function Le(P){const{type:t}=P;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function lt(P,t){let n=P.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class Ut{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_LOADING,this.onLevelLoading,this),t.off(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,o=n.pLoader,m=n.loader,E=o||m,T=new E(n);return this.loaders[t.type]=T,T}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:o}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:o,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:o,level:m,pathwayId:E,url:T,deliveryDirectives:z,levelInfo:H}=n;this.load({id:o,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:T,deliveryDirectives:z,levelOrTrack:H})}onAudioTrackLoading(t,n){const{id:o,groupId:m,url:E,deliveryDirectives:T,track:z}=n;this.load({id:o,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:T,levelOrTrack:z})}onSubtitleTrackLoading(t,n){const{id:o,groupId:m,url:E,deliveryDirectives:T,track:z}=n;this.load({id:o,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:T,levelOrTrack:z})}onLevelsUpdated(t,n){const o=this.loaders[h.LEVEL];if(o){const m=o.context;m&&!n.levels.some(E=>E===m.levelOrTrack)&&(o.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const o=this.hls.config;let m=this.getInternalLoader(t);if(m){const j=this.hls.logger,se=m.context;if(se&&se.levelOrTrack===t.levelOrTrack&&(se.url===t.url||se.deliveryDirectives&&!t.deliveryDirectives)){se.url===t.url?j.log(`[playlist-loader]: ignore ${t.url} ongoing request`):j.log(`[playlist-loader]: ignore ${t.url} in favor of ${se.url}`);return}j.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),m.abort()}let E;if(t.type===h.MANIFEST?E=o.manifestLoadPolicy.default:E=y({},o.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),m=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let j;if(t.type===h.LEVEL&&t.level!==null?j=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?j=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(j=this.hls.subtitleTracks[t.id].details),j){const se=j.partTarget,ce=j.targetduration;if(se&&ce){const xe=Math.max(se*3,ce*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(xe,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(xe,E.maxTimeToFirstByteMs)})}}}const T=E.errorRetry||E.timeoutRetry||{},z={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:T.maxNumRetry||0,retryDelay:T.retryDelayMs||0,maxRetryDelay:T.maxRetryDelayMs||0},H={onSuccess:(j,se,ce,xe)=>{const Ie=this.getInternalLoader(ce);this.resetInternalLoader(ce.type);const Oe=j.data;if(Oe.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(j,ce,new Error("no EXTM3U delimiter"),xe||null,se);return}se.parsing.start=performance.now(),fs.isMediaPlaylist(Oe)||ce.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(j,se,ce,xe||null,Ie):this.handleMasterPlaylist(j,se,ce,xe)},onError:(j,se,ce,xe)=>{this.handleNetworkError(se,ce,!1,j,xe)},onTimeout:(j,se,ce)=>{this.handleNetworkError(se,ce,!0,void 0,j)}};m.load(t,z,H)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:o}=this.hls;(t||o)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,o,m){const E=this.hls,T=t.data,z=lt(t,o),H=fs.parseMasterPlaylist(T,z);if(H.playlistParsingError){this.handleManifestParsingError(t,o,H.playlistParsingError,m,n);return}const{contentSteering:j,levels:se,sessionData:ce,sessionKeys:xe,startTimeOffset:Ie,variableList:Oe}=H;this.variableList=Oe;const{AUDIO:tt=[],SUBTITLES:at,"CLOSED-CAPTIONS":Nt}=fs.parseMasterPlaylistMedia(T,z,H);tt.length&&!tt.some(ar=>!ar.url)&&se[0].audioCodec&&!se[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),tt.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new ji({}),bitrate:0,url:""})),E.trigger(s.MANIFEST_LOADED,{levels:se,audioTracks:tt,subtitles:at,captions:Nt,contentSteering:j,url:z,stats:n,networkDetails:m,sessionData:ce,sessionKeys:xe,startTimeOffset:Ie,variableList:Oe})}handleTrackOrLevelPlaylist(t,n,o,m,E){const T=this.hls,{id:z,level:H,type:j}=o,se=lt(t,o),ce=r(H)?H:r(z)?z:0,xe=Le(o),Ie=fs.parseLevelPlaylist(t.data,se,ce,xe,0,this.variableList);if(j===h.MANIFEST){const Oe={attrs:new ji({}),bitrate:0,details:Ie,name:"",url:se};Ie.requestScheduled=n.loading.start+ur(Ie,0),T.trigger(s.MANIFEST_LOADED,{levels:[Oe],audioTracks:[],url:se,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),o.levelDetails=Ie,this.handlePlaylistLoaded(Ie,t,n,o,m,E)}handleManifestParsingError(t,n,o,m,E){this.hls.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:o,error:o,reason:o.message,response:t,context:n,networkDetails:m,stats:E})}handleNetworkError(t,n,o=!1,m,E){let T=`A network ${o?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?T+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(T+=` id: ${t.id} group-id: "${t.groupId}"`);const z=new Error(T);this.hls.logger.warn(`[playlist-loader]: ${T}`);let H=f.UNKNOWN,j=!1;const se=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:H=o?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,j=!0;break;case h.LEVEL:H=o?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,j=!1;break;case h.AUDIO_TRACK:H=o?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,j=!1;break;case h.SUBTITLE_TRACK:H=o?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,j=!1;break}se&&this.resetInternalLoader(t.type);const ce={type:c.NETWORK_ERROR,details:H,fatal:j,url:t.url,loader:se,context:t,error:z,networkDetails:n,stats:E};if(m){const xe=(n==null?void 0:n.url)||t.url;ce.response=b({url:xe,data:void 0},m)}this.hls.trigger(s.ERROR,ce)}handlePlaylistLoaded(t,n,o,m,E,T){const z=this.hls,{type:H,level:j,id:se,groupId:ce,deliveryDirectives:xe}=m,Ie=lt(n,m),Oe=Le(m),tt=typeof m.level=="number"&&Oe===u.MAIN?j:void 0;if(!t.fragments.length){const Nt=t.playlistParsingError=new Error("No Segments found in Playlist");z.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Ie,error:Nt,reason:Nt.message,response:n,context:m,level:tt,parent:Oe,networkDetails:E,stats:o});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const at=t.playlistParsingError;if(at){if(this.hls.logger.warn(at),!z.config.ignorePlaylistParsingErrors){z.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Ie,error:at,reason:at.message,response:n,context:m,level:tt,parent:Oe,networkDetails:E,stats:o});return}t.playlistParsingError=null}switch(t.live&&T&&(T.getCacheAge&&(t.ageHeader=T.getCacheAge()||0),(!T.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),H){case h.MANIFEST:case h.LEVEL:z.trigger(s.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||z.levels[0],level:tt||0,id:se||0,stats:o,networkDetails:E,deliveryDirectives:xe,withoutMultiVariant:H===h.MANIFEST});break;case h.AUDIO_TRACK:z.trigger(s.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:se||0,groupId:ce||"",stats:o,networkDetails:E,deliveryDirectives:xe});break;case h.SUBTITLE_TRACK:z.trigger(s.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:se||0,groupId:ce||"",stats:o,networkDetails:E,deliveryDirectives:xe});break}}}class rr{static get version(){return In}static isMSESupported(){return $f()}static isSupported(){return Tf()}static getMediaSource(){return oe()}static get Events(){return s}static get MetadataSchema(){return Se}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return rr.defaultConfig?rr.defaultConfig:tf}static set DefaultConfig(t){rr.defaultConfig=t}constructor(t={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new ks,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=V(t.debug||!1,"Hls instance",t.assetPlayerId),o=this.config=fl(rr.DefaultConfig,t,n);this.userConfig=t,o.progressive&&Wo(o,n);const{abrController:m,bufferController:E,capLevelController:T,errorController:z,fpsController:H}=o,j=new z(this),se=this.abrController=new m(this),ce=new Or(this),xe=o.interstitialsController,Ie=xe?this.interstitialsController=new xe(this,rr):null,Oe=this.bufferController=new E(this,ce),tt=this.capLevelController=new T(this),at=new H(this),Nt=new Ut(this),dr=o.contentSteeringController,ar=dr?new dr(this):null,Zr=this.levelController=new Bf(this,ar),Gr=new Hf(this),fn=new ve(this.config),Vr=this.streamController=new Z(this,ce,fn),on=this.gapController=new mf(this,ce);tt.setStreamController(Vr),at.setStreamController(Vr);const _n=[Nt,Zr,Vr];Ie&&_n.splice(1,0,Ie),ar&&_n.splice(1,0,ar),this.networkControllers=_n;const Xr=[se,Oe,on,tt,at,Gr,ce];this.audioTrackController=this.createController(o.audioTrackController,_n);const Yn=o.audioStreamController;Yn&&_n.push(this.audioStreamController=new Yn(this,ce,fn)),this.subtitleTrackController=this.createController(o.subtitleTrackController,_n);const di=o.subtitleStreamController;di&&_n.push(this.subtititleStreamController=new di(this,ce,fn)),this.createController(o.timelineController,Xr),fn.emeController=this.emeController=this.createController(o.emeController,Xr),this.cmcdController=this.createController(o.cmcdController,Xr),this.latencyController=this.createController(Cf,Xr),this.coreComponents=Xr,_n.push(j);const os=j.onErrorOut;typeof os=="function"&&this.on(s.ERROR,os,j),this.on(s.MANIFEST_LOADED,Nt.onManifestLoaded,Nt)}createController(t,n){if(t){const o=new t(this);return n&&n.push(o),o}return null}on(t,n,o=this){this._emitter.on(t,n,o)}once(t,n,o=this){this._emitter.once(t,n,o)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,o=this,m){this._emitter.off(t,n,o,m)}listeners(t){return this._emitter.listeners(t)}emit(t,n,o){return this._emitter.emit(t,n,o)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(o){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+o.message+'". Here is a stacktrace:',o),!this.triggeringException){this.triggeringException=!0;const m=t===s.ERROR;this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:m,event:t,error:o}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(s.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const E=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:E});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,o=n?t.media:t,m=n?t:{media:o};this._media=o,this.trigger(s.MEDIA_ATTACHING,m)}detachMedia(){this.logger.log("detachMedia"),this.trigger(s.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(s.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,o=this._url,m=this._url=ie.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${m}`),n&&o&&(o!==m||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(s.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", <skip seek to start>":"")})`),this.started=!0,this.resumeBuffering();for(let o=0;o<this.networkControllers.length&&(this.networkControllers[o].startLoad(t,n),!(!this.started||!this.networkControllers));o++);}stopLoad(){this.logger.log("stopLoad"),this.started=!1;for(let t=0;t<this.networkControllers.length&&(this.networkControllers[t].stopLoad(),!(this.started||!this.networkControllers));t++);}get loadingEnabled(){return this.started}get bufferingEnabled(){return this.streamController.bufferingEnabled}resumeBuffering(){this.bufferingEnabled||(this.logger.log("resume buffering"),this.networkControllers.forEach(t=>{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[u.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[u.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[u.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=ki()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Cr(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const o=t.length;for(let m=0;m<o;m++)if(t[m].maxBitrate>=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:o}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,o)for(let E=m;E--;){const T=t[E].attrs["HDCP-LEVEL"];if(T&&T<=o)return E}return m}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const o=Si(n);return vt(t,o,navigator.mediaCapabilities)}}rr.defaultConfig=void 0},53280:function(d,g,e){"use strict";e.d(g,{D:function(){return i}});function r(l,c,f){var s=f||{},h=s.noTrailing,u=h===void 0?!1:h,a=s.noLeading,x=a===void 0?!1:a,p=s.debounceMode,y=p===void 0?void 0:p,_,b=!1,S=0;function R(){_&&clearTimeout(_)}function L(D){var B=D||{},$=B.upcomingOnly,U=$===void 0?!1:$;R(),b=!U}function C(){for(var D=arguments.length,B=new Array(D),$=0;$<D;$++)B[$]=arguments[$];var U=this,K=Date.now()-S;if(b)return;function V(){S=Date.now(),c.apply(U,B)}function G(){_=void 0}!x&&y&&!_&&V(),R(),y===void 0&&K>l?x?(S=Date.now(),u||(_=setTimeout(y?G:V,l))):V():u!==!0&&(_=setTimeout(y?G:V,y===void 0?l-K:l))}return C.cancel=L,C}function i(l,c,f){var s=f||{},h=s.atBegin,u=h===void 0?!1:h;return r(l,c,{debounceMode:u!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var g=__webpack_module_cache__[d];if(g!==void 0)return g.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var g=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(g,{a:g}),g}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},g;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};g=g||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~g.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,g){for(var e in g)__webpack_require__.o(g,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:g[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(g,e){return __webpack_require__.f[e](d,g),g},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",672:"p__Home__Detail__ShixunContext__Detail__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"5fd14d66",67:"0e613dcb",109:"41a3c364",195:"d98f97c7",264:"0e913148",265:"54eb1557",278:"cdd29237",292:"e88d20c7",310:"f405f77e",316:"1f60ada6",337:"0749d5ac",342:"697fb9a7",354:"d4d139cf",479:"cb1f173a",485:"59a48868",508:"a85742e8",532:"e141c742",533:"2870a023",547:"3b89fa9b",556:"fef8c6d1",559:"c1b5407c",570:"6e3882ff",576:"09180d50",629:"44a1d9a5",643:"92ee2d76",671:"4a609b8d",672:"37450f7c",680:"5cfeaedf",700:"06b841c5",737:"97542717",741:"ac5fd360",799:"f57283d3",869:"ebef3244",895:"df7ca120",921:"ea7d46fb",928:"832b16fc",981:"24da50c7",1006:"57045f9f",1043:"f9115961",1045:"9073f58d",1048:"90ae4838",1070:"2bbb6f26",1144:"c90eccaf",1148:"e123b473",1154:"8cb80842",1211:"961c0c29",1253:"0d72b5c8",1257:"a8123d96",1265:"e00bb72f",1274:"5f6ea65a",1276:"1232c571",1343:"54552056",1416:"301e1c8a",1423:"c0dca4fb",1427:"f6b429c2",1450:"bba4318f",1461:"65c2ab9c",1462:"fcf08abc",1470:"7d115b0a",1475:"83fa742a",1482:"236e0393",1512:"2756fe43",1520:"f6545135",1545:"685c5411",1578:"930ae5a7",1581:"02177b5f",1582:"ea63cf3d",1646:"e6e27b60",1657:"9c90931c",1660:"65a52d93",1674:"3eb6ba9a",1702:"a5df7ded",1713:"707266bb",1717:"1615a463",1727:"0c1c768d",1783:"096c919b",1799:"a3991011",1831:"772232ac",1836:"c220805c",1855:"18c35631",1880:"151fc459",1939:"f9ae7b86",1953:"03671023",1962:"246ffc56",2011:"59d51f98",2045:"7ba792fc",2076:"1e8160db",2102:"e89c60e6",2125:"0917684a",2141:"14dee967",2216:"a06f36e7",2240:"0f3cbb90",2249:"f4830452",2254:"1103017a",2300:"e1bf89cf",2303:"72077e86",2307:"94c28f7e",2338:"e38447bc",2339:"fa8f0451",2386:"192e235c",2396:"f7183971",2404:"b05421af",2412:"b5c1c582",2413:"71d7e69d",2425:"19aba420",2443:"ee779d6e",2476:"99b8606d",2494:"68080a87",2501:"00cfd1ba",2509:"95753e21",2529:"685eec05",2538:"de4a3723",2539:"6aea888c",2548:"a8fbf09d",2570:"cd046697",2594:"e87d3761",2603:"54bfd052",2654:"f657ac1b",2659:"c0671c95",2707:"f349ea60",2806:"953dc136",2819:"04dcc35b",2823:"796b62fc",2826:"06ed085c",2829:"7f623b7e",2837:"54a82605",2865:"dc6aaae7",2875:"94795336",2884:"daf644f7",2969:"ab3357d7",2983:"91b5cf2e",3006:"0c33b4f0",3133:"9bf3f89c",3141:"008e57e8",3157:"480edb6a",3183:"c60406fb",3198:"8e655451",3212:"57bcb6c1",3220:"31a2f900",3247:"37cfeee4",3260:"fe3916c1",3267:"7bab569a",3276:"a2f501c6",3282:"e9b14950",3317:"424d4280",3332:"6a6e30ec",3355:"1999ce12",3356:"42cfad4e",3391:"00ddeb53",3433:"fca44e84",3442:"e3d2423c",3447:"1e9582ee",3451:"51fb556e",3496:"33feb152",3509:"5c270ac8",3550:"3dc83156",3581:"a9df059a",3585:"2ce6a2ed",3665:"ff250b55",3668:"38ea06e3",3697:"481a10d9",3747:"f38d2803",3754:"8a42053c",3777:"d5b0f2f1",3784:"9ae968e5",3805:"9dbcb95e",3862:"41064403",3873:"b3b23eab",3885:"f87f7f15",3910:"badbd452",3935:"8d6059c2",3951:"96d5c4e6",3987:"a5fa1e4d",4014:"27a8e97c",4017:"b1859413",4030:"35f56b33",4056:"3b76996e",4058:"4b8bcbfb",4078:"185ef1bc",4088:"236723f3",4093:"a190b03b",4105:"c7ac8f4c",4144:"07e2f551",4164:"12587276",4184:"ff08337d",4216:"1c2d22eb",4217:"47867fad",4227:"551d4e86",4259:"7527addd",4264:"1f57a794",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"76228b1f",4492:"609c38d2",4496:"31c1bf16",4498:"41fd7c4a",4504:"658a435c",4514:"7795d8af",4520:"78484881",4546:"afb7a70b",4565:"34ca03e6",4572:"06fb93fc",4599:"61def4cb",4601:"2b92ed20",4610:"6f1cf0cb",4621:"8bae08e1",4628:"ece2c60c",4662:"6b01a362",4685:"c33f1528",4715:"5f52e8f8",4736:"57926282",4741:"f0039736",4757:"ca92561b",4766:"d267690e",4770:"8dd4f97f",4790:"619413e4",4795:"4edb13ab",4797:"a24e92db",4800:"81e35ea6",4849:"d6044b36",4850:"1edda4b7",4862:"29230bf0",4884:"c0724104",4889:"1810ef3c",4928:"be8f2f96",4973:"242caa1a",4994:"0b4b25f2",5022:"6cf35daa",5043:"ca2729ac",5048:"999dcbf8",5060:"85dafcc6",5096:"069fc2d9",5111:"9d8ae95a",5125:"edf1a30d",5148:"70aa3de0",5176:"61cb7b49",5179:"18ce2532",5186:"ad33fd4a",5191:"f0474af9",5238:"da73f66a",5290:"5dabcdc2",5297:"2bdb9fb2",5319:"e6da2aaa",5321:"1163c84e",5335:"514012f2",5354:"7ae70604",5357:"2c86df7f",5359:"4e16f788",5382:"5fa6f1ff",5402:"30d334fb",5416:"454536b7",5434:"38b302a6",5470:"de26d707",5494:"d89549c4",5518:"92bb0cc5",5549:"868e0d0a",5572:"bb9daff6",5573:"3e51b2e0",5599:"ae683ffb",5624:"942456ab",5631:"e00d3d36",5650:"56f167ae",5679:"4a090bef",5705:"41d2c5f1",5729:"c00ffdae",5764:"e0d7e586",5775:"22f2e9b0",5786:"ae92d5f7",5798:"42f0887c",5816:"3e28e656",5825:"b9c3ee06",5876:"5eded409",5886:"490e40cd",5888:"dfaebb48",5891:"e7c36fdf",5895:"83ad7d29",5902:"a54b65be",5915:"be52cf50",5972:"0086fab4",5992:"9f868259",6029:"062a3e07",6034:"fe6c7c3e",6045:"d268f87f",6047:"3ce45acd",6052:"fa0a5eeb",6063:"ae2a546c",6069:"9bde6574",6126:"99519171",6127:"c6cfdc1a",6170:"07f25c2b",6265:"eecccaf4",6270:"a6884154",6277:"1aa42acc",6328:"80484f26",6366:"8e178fa0",6378:"7f3a946a",6411:"7d1994e3",6434:"fe8fa5d9",6444:"6f040b56",6452:"27483645",6486:"95b9edeb",6531:"eac0ffe2",6541:"ad57488e",6583:"100067f0",6587:"06086327",6634:"6c4b482f",6651:"3c975bed",6675:"3fe93ad4",6685:"0ee72dcb",6729:"773bbde3",6741:"66024dc6",6758:"a6ebaec2",6774:"59d4d618",6784:"cf8d7ee4",6788:"62557ba4",6796:"2419fdc3",6805:"8ee172b8",6820:"0a3a6307",6845:"324ab553",6882:"bbc43576",6883:"6cb80143",6904:"7e5f687f",6913:"f3ae2021",6963:"4c8ec4c4",6982:"d4641a78",7008:"2656eb9c",7043:"e04a8c28",7045:"8300cac2",7046:"0b4c2083",7058:"4de3ffe8",7062:"9bfca125",7084:"46ccce72",7156:"e7466006",7178:"1e44b40f",7180:"3868c0f2",7182:"dfef85b6",7242:"a0ba8718",7260:"91559e86",7331:"2e27a23b",7333:"1a1b2321",7365:"1005464f",7395:"07d528df",7460:"1ff7173e",7477:"c09921da",7482:"dc3069a8",7527:"a3bab0a1",7545:"0c239efa",7560:"45ff3853",7589:"aa0ce25f",7591:"8354027c",7614:"2b342611",7622:"983e055d",7686:"4fcec9f9",7706:"c2a79e40",7806:"3baa01b4",7852:"280dc0a4",7855:"ee5558ca",7857:"c83de972",7878:"a0fbd301",7884:"df8381e1",7922:"39da8180",7948:"be2cef38",7964:"29aed9a1",8014:"057f2551",8062:"93095cf4",8072:"fe9a0a02",8077:"050c8f42",8085:"dadef748",8089:"d536b13a",8143:"42341b58",8155:"e4bba52a",8161:"83c5fa9a",8237:"268c2265",8241:"e8ec7d20",8302:"1629f21b",8307:"8327d995",8340:"39c85824",8350:"07df8a75",8365:"0d4517f4",8398:"5717dd15",8431:"01e602a1",8435:"f22e3dfb",8447:"09343f96",8517:"a0029897",8561:"333e8ec9",8563:"abe387ab",8600:"f91782e7",8634:"def57886",8639:"68809bd0",8665:"88f5987a",8688:"6c381a14",8689:"586226e2",8723:"df766819",8737:"ce7dad23",8776:"0ad26240",8782:"9c564188",8787:"d34b726d",8797:"6aa0f202",8823:"9d5fc9a0",8827:"6ff2ef26",8842:"9f25a3e2",8866:"cc66f4d2",8882:"ceccc690",8885:"46b0088a",8898:"d002bcd8",8909:"82cefd99",8920:"7f82440c",8963:"790aecdd",8982:"de084765",8999:"12cf3ee7",9076:"e0aaaea3",9104:"bbcb2345",9133:"340f0468",9205:"4c7d3a16",9215:"0206d198",9252:"0d791a59",9260:"cf5f8140",9332:"c78101bd",9360:"88628e59",9366:"dd08abde",9391:"84dd65c2",9404:"9fcc3d3e",9408:"45a96c6f",9416:"2e5fd40c",9487:"bbefb860",9489:"79ad516e",9507:"6e728c3c",9519:"58bd3f88",9554:"ed358e7b",9559:"f794af19",9590:"f31c14d9",9647:"0f4af68b",9649:"cf89daca",9674:"f2fed05a",9677:"c07e6bc5",9695:"2f13e5f6",9715:"06bb626f",9716:"8cc894f5",9785:"df4b74d7",9788:"1f3da99f",9890:"a7f6301e",9891:"b033cd93",9895:"b8e31ff2",9921:"0ef4ff27",9922:"6581d79e",9928:"5989f5e0",9944:"c49bafc8",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"1ad7d0db",109:"1a7fc455",195:"65632591",264:"5fd9b3fc",265:"d92c6f86",292:"9a0e8f6b",310:"06815302",337:"ee05039e",342:"ab091f90",479:"bba9e475",485:"d63578fe",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"1d9948a7",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"04d6c7d3",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"ddd6a700",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"23cbc47f",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"87592c17",2307:"b2c54321",2338:"dd6e8a16",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"78513f2d",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"904823c3",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"49ca09b2",3267:"03cdfb68",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"dab65052",3355:"39e3d07c",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"7630d0f9",3585:"5f288e7b",3665:"5250d444",3668:"86f20630",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"cd50aa32",3951:"4a9249b1",4030:"f308ee3a",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"e39011c7",4144:"f10aa199",4164:"0e623fec",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4449:"e68d8d58",4492:"cdc29460",4496:"77babddd",4498:"b05686dd",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"aca6ff45",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"afeb6eca",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e8eacc3e",4884:"bd293d3b",4889:"db5cf2c9",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"3d814a61",5297:"5426028f",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5470:"b25021a2",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"0208754c",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"73177a8c",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"cc24b0fc",6277:"12e50919",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"df151169",6651:"b07fe216",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"558cc090",6784:"1affe817",6788:"9cd39ff5",6796:"89c76e37",6805:"5b253c81",6820:"cebdf1cf",6845:"b7aabf70",6882:"c2d2eada",6883:"7740a702",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6982:"3043a9c3",7008:"fe74a83d",7043:"25478869",7045:"48f6fc4c",7046:"c7301ded",7058:"984a456a",7062:"fe78dd10",7178:"6e47d75d",7182:"183c9793",7242:"4f353f61",7260:"2c380d56",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7545:"1f6a7624",7560:"d82e43ca",7589:"2a3e68f3",7614:"de9ee12f",7622:"ca0e645a",7806:"80b7b1d6",7852:"fce1e197",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"0b7f10a8",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"60a111b6",8435:"21d4dff0",8447:"0875c082",8517:"cccfddad",8563:"3a763677",8634:"317d0a2b",8665:"c52575bc",8688:"c044db56",8689:"459af240",8723:"5166ac36",8782:"918afc23",8787:"121de108",8797:"13e5189e",8823:"9e7a9852",8827:"af0ed6a3",8866:"664121ad",8882:"f3e42f72",8885:"de905169",8982:"6e2e337e",8999:"448aa22f",9076:"6a501148",9133:"ab171f08",9205:"49a3e67d",9215:"f737e7e7",9332:"a627cf98",9360:"27c7d4f7",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9408:"d3565b1a",9416:"6ead6660",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9519:"88d248ee",9590:"29583579",9647:"452de157",9649:"00fb4211",9674:"d0f91ed7",9677:"26548cb7",9695:"bb84056a",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9890:"9ebce4ba",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,g){return Object.prototype.hasOwnProperty.call(d,g)}}(),function(){var d={};__webpack_require__.l=function(g,e,r,i){if(d[g]){d[g].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),s=0;s<f.length;s++){var h=f[s];if(h.getAttribute("src")==g){l=h;break}}l||(c=!0,l=document.createElement("script"),l.charset="utf-8",l.timeout=120,__webpack_require__.nc&&l.setAttribute("nonce",__webpack_require__.nc),l.src=g,l.src.indexOf(window.location.origin+"/")!==0&&(l.crossOrigin="anonymous")),d[g]=[e];var u=function(x,p){l.onerror=l.onload=null,clearTimeout(a);var y=d[g];if(delete d[g],l.parentNode&&l.parentNode.removeChild(l),y&&y.forEach(function(_){return _(p)}),x)return x(p)},a=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),c&&document.head.appendChild(l)}}(),function(){__webpack_require__.r=function(d){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})}}(),function(){__webpack_require__.nmd=function(d){return d.paths=[],d.children||(d.children=[]),d}}(),function(){__webpack_require__.p="/react/build/"}(),function(){if(typeof document!="undefined"){var d=function(i,l,c,f,s){var h=document.createElement("link");h.rel="stylesheet",h.type="text/css";var u=function(a){if(h.onerror=h.onload=null,a.type==="load")f();else{var x=a&&(a.type==="load"?"missing":a.type),p=a&&a.target&&a.target.href||l,y=new Error("Loading CSS chunk "+i+` failed.
(`+p+")");y.code="CSS_CHUNK_LOAD_FAILED",y.type=x,y.request=p,h.parentNode.removeChild(h),s(y)}};return h.onerror=h.onload=u,h.href=l,h.href.indexOf(window.location.origin+"/")!==0&&(h.crossOrigin="anonymous"),c?c.parentNode.insertBefore(h,c.nextSibling):document.head.appendChild(h),h},g=function(i,l){for(var c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var s=c[f],h=s.getAttribute("data-href")||s.getAttribute("href");if(s.rel==="stylesheet"&&(h===i||h===l))return s}for(var u=document.getElementsByTagName("style"),f=0;f<u.length;f++){var s=u[f],h=s.getAttribute("data-href");if(h===i||h===l)return s}},e=function(i){return new Promise(function(l,c){var f=__webpack_require__.miniCssF(i),s=__webpack_require__.p+f;if(g(f,s))return l();d(i,s,null,l,c)})},r={4620:0};__webpack_require__.f.miniCss=function(i,l){var c={26:1,67:1,109:1,195:1,264:1,265:1,292:1,310:1,337:1,342:1,479:1,485:1,508:1,532:1,533:1,547:1,556:1,559:1,576:1,643:1,680:1,700:1,737:1,799:1,869:1,895:1,921:1,928:1,1006:1,1043:1,1045:1,1048:1,1070:1,1148:1,1211:1,1253:1,1257:1,1265:1,1276:1,1343:1,1416:1,1423:1,1427:1,1450:1,1461:1,1470:1,1475:1,1482:1,1512:1,1520:1,1545:1,1578:1,1581:1,1582:1,1657:1,1674:1,1702:1,1713:1,1717:1,1727:1,1783:1,1831:1,1836:1,1855:1,1880:1,1939:1,1953:1,1962:1,2045:1,2076:1,2102:1,2141:1,2216:1,2240:1,2254:1,2303:1,2307:1,2338:1,2339:1,2396:1,2404:1,2412:1,2425:1,2443:1,2476:1,2501:1,2529:1,2539:1,2548:1,2570:1,2603:1,2659:1,2707:1,2806:1,2819:1,2823:1,2826:1,2829:1,2865:1,2875:1,2884:1,2983:1,3006:1,3141:1,3157:1,3183:1,3212:1,3220:1,3247:1,3260:1,3267:1,3276:1,3282:1,3317:1,3332:1,3355:1,3356:1,3391:1,3433:1,3442:1,3447:1,3451:1,3496:1,3509:1,3581:1,3585:1,3665:1,3668:1,3747:1,3784:1,3873:1,3910:1,3935:1,3951:1,4030:1,4056:1,4078:1,4093:1,4105:1,4144:1,4164:1,4216:1,4217:1,4227:1,4259:1,4264:1,4449:1,4492:1,4496:1,4498:1,4504:1,4514:1,4520:1,4546:1,4572:1,4599:1,4601:1,4610:1,4621:1,4662:1,4715:1,4736:1,4741:1,4757:1,4766:1,4770:1,4795:1,4800:1,4849:1,4862:1,4884:1,4889:1,4928:1,4973:1,4994:1,5022:1,5043:1,5048:1,5096:1,5111:1,5125:1,5148:1,5176:1,5179:1,5186:1,5191:1,5238:1,5297:1,5319:1,5335:1,5357:1,5359:1,5382:1,5402:1,5470:1,5518:1,5549:1,5572:1,5573:1,5599:1,5624:1,5650:1,5705:1,5729:1,5775:1,5786:1,5798:1,5816:1,5825:1,5888:1,5891:1,5895:1,5915:1,5972:1,5992:1,6029:1,6052:1,6063:1,6069:1,6127:1,6265:1,6270:1,6277:1,6328:1,6366:1,6434:1,6444:1,6452:1,6541:1,6583:1,6587:1,6634:1,6651:1,6685:1,6729:1,6741:1,6758:1,6784:1,6788:1,6796:1,6805:1,6820:1,6845:1,6882:1,6883:1,6904:1,6913:1,6963:1,6982:1,7008:1,7043:1,7045:1,7046:1,7058:1,7062:1,7178:1,7182:1,7242:1,7260:1,7395:1,7460:1,7477:1,7482:1,7527:1,7545:1,7560:1,7589:1,7614:1,7622:1,7806:1,7852:1,7855:1,7857:1,7878:1,7884:1,7922:1,7948:1,8014:1,8062:1,8072:1,8077:1,8085:1,8143:1,8155:1,8237:1,8241:1,8302:1,8307:1,8398:1,8431:1,8435:1,8447:1,8517:1,8563:1,8634:1,8665:1,8688:1,8689:1,8723:1,8782:1,8787:1,8797:1,8823:1,8827:1,8866:1,8882:1,8885:1,8982:1,8999:1,9076:1,9133:1,9205:1,9215:1,9332:1,9360:1,9366:1,9391:1,9404:1,9408:1,9416:1,9487:1,9489:1,9507:1,9519:1,9590:1,9647:1,9649:1,9674:1,9677:1,9695:1,9715:1,9716:1,9785:1,9788:1,9890:1,9891:1,9921:1,9922:1,9944:1};r[i]?l.push(r[i]):r[i]!==0&&c[i]&&l.push(r[i]=e(i).then(function(){r[i]=0},function(f){throw delete r[i],f}))}}}(),function(){__webpack_require__.b=document.baseURI||self.location.href;var d={4620:0};__webpack_require__.f.j=function(r,i){var l=__webpack_require__.o(d,r)?d[r]:void 0;if(l!==0)if(l)i.push(l[2]);else if(/^(4599|6883|9404)$/.test(r))d[r]=0;else{var c=new Promise(function(u,a){l=d[r]=[u,a]});i.push(l[2]=c);var f=__webpack_require__.p+__webpack_require__.u(r),s=new Error,h=function(u){if(__webpack_require__.o(d,r)&&(l=d[r],l!==0&&(d[r]=void 0),l)){var a=u&&(u.type==="load"?"missing":u.type),x=u&&u.target&&u.target.src;s.message="Loading chunk "+r+` failed.
(`+a+": "+x+")",s.name="ChunkLoadError",s.type=a,s.request=x,l[1](s)}};__webpack_require__.l(f,h,"chunk-"+r,r)}};var g=function(r,i){var l=i[0],c=i[1],f=i[2],s,h,u=0;if(l.some(function(x){return d[x]!==0})){for(s in c)__webpack_require__.o(c,s)&&(__webpack_require__.m[s]=c[s]);if(f)var a=f(__webpack_require__)}for(r&&r(i);u<l.length;u++)h=l[u],__webpack_require__.o(d,h)&&d[h]&&d[h][0](),d[h]=0},e=self.webpackChunk=self.webpackChunk||[];e.forEach(g.bind(null,0)),e.push=g.bind(null,e.push.bind(e))}();var __webpack_exports__={};(function(){"use strict";var d=__webpack_require__(68557),g=__webpack_require__(44852),e=__webpack_require__(64003),r=__webpack_require__(17898),i=__webpack_require__(40902),l=__webpack_require__(2259),c=__webpack_require__(14589),f=__webpack_require__(69811),s=__webpack_require__(18114),h=__webpack_require__(23844),u=__webpack_require__(39581),a=__webpack_require__(40632),x=__webpack_require__(22690),p=__webpack_require__(7786),y=__webpack_require__(99062),_=__webpack_require__(31808),b=__webpack_require__(99953),S=__webpack_require__(86357),R=__webpack_require__(93074),L=__webpack_require__(96331),C=__webpack_require__(2924),D=__webpack_require__(26425),B=__webpack_require__(32125),$=__webpack_require__(16137),U=__webpack_require__(48435),K=__webpack_require__(11553),V=__webpack_require__(70365),G=__webpack_require__(33717),oe=__webpack_require__(17482),ae=__webpack_require__(23708),le=__webpack_require__(65033),q=__webpack_require__(52732),J=__webpack_require__(99382),Y=__webpack_require__(88437),ue=__webpack_require__(68440),ne=__webpack_require__(13412),ee=__webpack_require__(11005),ie=__webpack_require__(70348),F=__webpack_require__(19801),M=__webpack_require__(91550),Q=__webpack_require__(85223),de=__webpack_require__(7154),we=__webpack_require__(67788),Ce=__webpack_require__(96009),je=__webpack_require__(9402),Fe=__webpack_require__(62489),Ft=__webpack_require__(80881),_t=__webpack_require__(62837),Pt=__webpack_require__(4705),qt=__webpack_require__(13941),er=__webpack_require__(1148),Jt=__webpack_require__(82445),Xe=__webpack_require__(27267),It=__webpack_require__(96353),zt=__webpack_require__(90308),st=__webpack_require__(84818),bt=__webpack_require__(80585),ht=__webpack_require__(89170),Je=__webpack_require__(71012),Ue=__webpack_require__(84203),ge=__webpack_require__(22112),Ae=__webpack_require__(81440),Me=__webpack_require__(25430),$e=__webpack_require__(70105),He=__webpack_require__(71390),nt=__webpack_require__(96844),ct=__webpack_require__(83578),Vt=__webpack_require__(69762),Wt=__webpack_require__(76880),De=__webpack_require__(65009),qe=__webpack_require__(28796),Gt=__webpack_require__(56450),kt=__webpack_require__(78342),Ht=__webpack_require__(13161),$t=__webpack_require__(54226),Ct=__webpack_require__(70201),Yt=__webpack_require__(34941),We=__webpack_require__(85671),fe=__webpack_require__(35152),_e=__webpack_require__(85660),Ot=__webpack_require__(80031),Pe=__webpack_require__(34434),dt=__webpack_require__(83579),Zt=__webpack_require__(74307),Tt=__webpack_require__(97423),ke=__webpack_require__(93321),St=__webpack_require__(82277),be=__webpack_require__(61425),Ke=__webpack_require__(61873),gt=__webpack_require__(9307),Rt=__webpack_require__(8821),Be=__webpack_require__(64385),kr=__webpack_require__(64099),At=__webpack_require__(62455),Kr=__webpack_require__(79965),qr=__webpack_require__(59118),Ar=__webpack_require__(275),Br=__webpack_require__(31919),_r=__webpack_require__(51284),Ur=__webpack_require__(10177),sn=__webpack_require__(85690),cn=__webpack_require__(92114),or=__webpack_require__(1017),Lt=__webpack_require__(14480),vt=__webpack_require__(40516),yt=__webpack_require__(76345),jt=__webpack_require__(7282),Cr=__webpack_require__(58055),gr=__webpack_require__(93547),ot=__webpack_require__(31237),Mr=__webpack_require__(17954),yn=__webpack_require__(58580),Zn=__webpack_require__(47146),mr=__webpack_require__(40416),tn=__webpack_require__(7615),hn=__webpack_require__(72820),Fn=__webpack_require__(86070),ti=__webpack_require__(23569),jn=__webpack_require__(55639),Zi=__webpack_require__(63046),xi=__webpack_require__(464),Si=__webpack_require__(51082),Ei=__webpack_require__(83850),mi=__webpack_require__(41990),Xi=__webpack_require__(15787),qn=__webpack_require__(55888),Yi=__webpack_require__(53827),wt=__webpack_require__(78143),ut=__webpack_require__(66419),Jn=__webpack_require__(75765),Ai=__webpack_require__(14645),ei=__webpack_require__(71122),Gi=__webpack_require__(42084),vi=__webpack_require__(25070),si=__webpack_require__(77140),En=__webpack_require__(15954),tr=__webpack_require__(4266),mt=__webpack_require__(49988),rt=__webpack_require__(38823),Dt=__webpack_require__(24627),pt=__webpack_require__(4045),lr=__webpack_require__(50747),fr=__webpack_require__(43595),Ir=__webpack_require__(92324),Hr=__webpack_require__(23551),Ze=__webpack_require__(74521),et=__webpack_require__(57891),Ee=__webpack_require__(84138),it=__webpack_require__(51832),ir=__webpack_require__(37135),Dr=__webpack_require__(6474),Er=__webpack_require__(40135),Or=__webpack_require__(7982),$r=__webpack_require__(14893),bn=__webpack_require__(49233),Pr=__webpack_require__(92130),un=__webpack_require__(42844),rn=__webpack_require__(6536),ln=__webpack_require__(27228),An=__webpack_require__(62921),pa=__webpack_require__(44001),Pi=__webpack_require__(92262),gi=__webpack_require__(54744),pn=__webpack_require__(38214),ui=__webpack_require__(12756),Ni=__webpack_require__(93379),la=__webpack_require__(62007),xs=__webpack_require__(90572),Pa=__webpack_require__(37343),Na=__webpack_require__(45945),Is=__webpack_require__(75551),$a=__webpack_require__(32493),hs=__webpack_require__(20852),oa=__webpack_require__(46302),yi=__webpack_require__(18827),Ga=__webpack_require__(76718),Ds=__webpack_require__(79172),$i=__webpack_require__(32192),ps=__webpack_require__(42828),Co=__webpack_require__(5658),La=__webpack_require__(55629),_s=__webpack_require__(62925),ji=__webpack_require__(9595),Gs=__webpack_require__(58127),Rn=__webpack_require__(70917),ja=__webpack_require__(53427),ns=__webpack_require__(70878),ls=__webpack_require__(49257),Vi=__webpack_require__(72910),Ia=__webpack_require__(34932),Da=__webpack_require__(81046),ms=__webpack_require__(85744),Bs=__webpack_require__(13494),_o=__webpack_require__(56338),To=__webpack_require__(66755),Vo=__webpack_require__(68709),uo=__webpack_require__(4939),ca=__webpack_require__(81927),cs=__webpack_require__(60462),mo=__webpack_require__(72571),vo=__webpack_require__(71200),go=__webpack_require__(85767),hi=__webpack_require__(84432),oi=__webpack_require__(59022),Fa=__webpack_require__(19363),Va=__webpack_require__(51054),Xa=__webpack_require__(60330),lo=__webpack_require__(55234),co=__webpack_require__(88104),Po=__webpack_require__(64336),Qa=__webpack_require__(63914),Lo=__webpack_require__(35246),yo=__webpack_require__(83470),Ko=__webpack_require__(79641),Tu=__webpack_require__(72397),_u=__webpack_require__(24860),fo=__webpack_require__(19320),fs=__webpack_require__(56233),zu=__webpack_require__(59419),Mo=__webpack_require__(64344),Io=__webpack_require__(5316),Us=__webpack_require__(93744),ou=__webpack_require__(19299),jo=__webpack_require__(15286),Do=__webpack_require__(91927),Ls=__webpack_require__(27730),bo=__webpack_require__(58707),mu=__webpack_require__(41356),Fo=__webpack_require__(51606),Qt=__webpack_require__(8966),cr=__webpack_require__(38458),sr=__webpack_require__(71957),vr=__webpack_require__(89466),wr=__webpack_require__(69653),xn=__webpack_require__(96519),Sn=__webpack_require__(95576),Un=__webpack_require__(63079),Ln=__webpack_require__(8995),Gn=__webpack_require__(23080),ur=__webpack_require__(74701),Fr=__webpack_require__(91809),xr=__webpack_require__(77517),mn=__webpack_require__(30149),Hn=__webpack_require__(55410),ft=__webpack_require__(46161),Pn=__webpack_require__(14800),Vn=__webpack_require__(91130),li=__webpack_require__(2722),Qi=__webpack_require__(55885),Nr=__webpack_require__(39034),Li=__webpack_require__(8604),ba=__webpack_require__(64963),zr=__webpack_require__(25178),na=__webpack_require__(1905),Ss=__webpack_require__(94306),ci=__webpack_require__(11762),Vs=__webpack_require__(93164),xo=__webpack_require__(88900),Os=__webpack_require__(54815),xa=__webpack_require__(81138),ds=__webpack_require__(37252),ks=__webpack_require__(81673),In=__webpack_require__(48966),gs=__webpack_require__(13015),Ns=__webpack_require__(78527),Ye=__webpack_require__(20511),Qe=__webpack_require__(78366),Mt=__webpack_require__(27427),Kt=__webpack_require__(43890),hr=__webpack_require__(55844),Rr=__webpack_require__(71361),jr=__webpack_require__(44550),vn=__webpack_require__(413),nn=__webpack_require__(77464),gn=__webpack_require__(77703),Qn=__webpack_require__(93854),ni=__webpack_require__(962),_i=__webpack_require__(44169),Ii=__webpack_require__(56272),Hi=__webpack_require__(43466),Mi=__webpack_require__(48156),wi=__webpack_require__(93236),ma=__webpack_require__(42212),Ci=__webpack_require__(63923),bi=__webpack_require__(2278),fa=__webpack_require__(36955),Ks=__webpack_require__(77326),Es=__webpack_require__(53571),Wi=__webpack_require__(28670),ka=__webpack_require__(31050),ea=__webpack_require__(25321),ki=__webpack_require__(96364),va=__webpack_require__(46304),Ba=__webpack_require__(55163),Ka=__webpack_require__(78722),eo=__webpack_require__(35977),qa=__webpack_require__(81848),so=__webpack_require__(52867),Ya=__webpack_require__(72211),Ys=__webpack_require__(84862),Ms=__webpack_require__(92381),da=__webpack_require__(19517),Ua=__webpack_require__(69667),As=__webpack_require__(80820),ga=__webpack_require__(87873),ye=__webpack_require__(54609),Se=__webpack_require__(28566),yr=__webpack_require__(51697),Jr=__webpack_require__(61872),br=__webpack_require__(76077),Qr=__webpack_require__(9196),Cn=__webpack_require__(5369),ri=__webpack_require__(26259),Fi=__webpack_require__(47736),Mn=__webpack_require__(28220),Dn=__webpack_require__(62060),Bn=__webpack_require__(49350),ia=__webpack_require__(20126),Ui=__webpack_require__(18090),ho=__webpack_require__(14309),Xs=__webpack_require__(17822),eu=__webpack_require__(83543),hl=__webpack_require__(13853),qu=__webpack_require__(25188),vu=__webpack_require__(10215),Uc=__webpack_require__(3432),Pu=__webpack_require__(90486),Ve=__webpack_require__(6736),W=__webpack_require__(8774),X=__webpack_require__(94065),te=__webpack_require__(93036),pe=__webpack_require__(75708),Te=__webpack_require__(84624),Ge=__webpack_require__(66233),xt=__webpack_require__(43710),Bt=__webpack_require__(92762),nr=__webpack_require__(24467),Tr=__webpack_require__(68465),Wr=__webpack_require__(77004),an=__webpack_require__(83925),wn=__webpack_require__(51117),Nn=__webpack_require__(87236),Wn=__webpack_require__(83733),pi=__webpack_require__(92044),Sr=__webpack_require__(29190),aa=__webpack_require__(10775),sa=__webpack_require__(19593),is=__webpack_require__(26502),Za=__webpack_require__(10174),ws=__webpack_require__(96378),as=__webpack_require__(58216),Aa=__webpack_require__(41401),Fs=__webpack_require__(79908),Rs=__webpack_require__(82531),fi=__webpack_require__(79890),Qs=__webpack_require__(88472),po=__webpack_require__(38944),Oo=__webpack_require__(78423),za=__webpack_require__(65713),Eo=__webpack_require__(22968),zs=__webpack_require__(17564),Al=__webpack_require__(1220),Ju=__webpack_require__(44886),el=__webpack_require__(57019),gu=__webpack_require__(35295),ss=__webpack_require__(80286),uu=__webpack_require__(38487),yu=__webpack_require__(29916),wo=__webpack_require__(25541),tl=__webpack_require__(45612),Iu=__webpack_require__(34926),Yo=__webpack_require__(98080),zl=__webpack_require__(68255),Zs=__webpack_require__(96351),Uo=__webpack_require__(16450),Du=__webpack_require__(60244),Zl=__webpack_require__(86921),lu=__webpack_require__(82928),oc=__webpack_require__(42947),Zu=__webpack_require__(71568),ai=__webpack_require__(94194),Sc=__webpack_require__(30556),to=__webpack_require__(32100),uc=__webpack_require__(93102),tu=__webpack_require__(1821),rl=__webpack_require__(82074),Hu=__webpack_require__(13578),lc=__webpack_require__(59348),Ac=__webpack_require__(62882),qs=__webpack_require__(37457),cc=__webpack_require__(70654),uf=__webpack_require__(90252),Bo=__webpack_require__(29482),Cl=__webpack_require__(51630),Cc=__webpack_require__(61933),Hl=__webpack_require__(619),bu=__webpack_require__(99675),Wl=__webpack_require__(52548),Hs=__webpack_require__(53637),ro=__webpack_require__(57482),No=__webpack_require__(59725),Wu=__webpack_require__(17610),Tl=__webpack_require__(56966),ru=__webpack_require__(11507),Tc=__webpack_require__(16315),cu=__webpack_require__(60239),Xo=__webpack_require__(49381),pl=__webpack_require__(17230),xu=__webpack_require__(62720),fc=__webpack_require__(57151),_l=__webpack_require__(48732),Ra=__webpack_require__(18481),lf=__webpack_require__(55055),zc=__webpack_require__(7195),Ou=__webpack_require__(89179),Pc=__webpack_require__(90965),cf=__webpack_require__(67725),dc=__webpack_require__(59884),nu=__webpack_require__(89202),Zc=__webpack_require__(97815),hc=__webpack_require__(11593),Gl=__webpack_require__(7597),Hc=__webpack_require__(55182),pc=__webpack_require__(34366),zo=__webpack_require__(85425),Gu=__webpack_require__(64522),Pl=__webpack_require__(41599),Eu=__webpack_require__(86465),_c=__webpack_require__(78437),Wc=__webpack_require__(73624),Vl=__webpack_require__(62059),no=__webpack_require__(10305),Gc=__webpack_require__(41208),Ic=__webpack_require__(25204),ku=__webpack_require__(40061),Ru=__webpack_require__(47803),$s=__webpack_require__(7893),ml=__webpack_require__(4890),ff=__webpack_require__(5340),mc=__webpack_require__(61650),Vc=__webpack_require__(58246),vl=__webpack_require__(65873),ko=__webpack_require__(63579),Il=__webpack_require__(87296),ze=__webpack_require__(59301),wu=__webpack_require__(4676),Qo=__webpack_require__(35338),Kl=__webpack_require__(95254);function $o(Tn){var Kn=Tn.id,Bi=Tn.basename,Ea=Tn.cb,zi=new URLSearchParams({route:Kn,url:window.location.href}).toString(),ua="".concat(fu(window.umiServerLoaderPath||Bi),"__serverLoader?").concat(zi);fetch(ua,{credentials:"include"}).then(function(ha){return ha.json()}).then(Ea).catch(console.error)}function fu(){var Tn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Tn.endsWith("/")?Tn:"".concat(Tn,"/")}var Yl=__webpack_require__(38127),Lu=__webpack_require__(38329),So=__webpack_require__(8616),nl=["content"],Su=["content"],vc=/^(http:|https:)?\/\//;function Mu(Tn){return vc.test(Tn)||Tn.startsWith("/")&&!Tn.startsWith("/*")||Tn.startsWith("./")||Tn.startsWith("../")}var Zo=function(){return ze.createElement("noscript",{dangerouslySetInnerHTML:{__html:"<b>Enable JavaScript to run this app.</b>"}})},il=function(Kn){var Bi,Ea=Kn.loaderData,zi=Kn.htmlPageOpts,ua=Kn.manifest,ha=(ua==null||(Bi=ua.assets)===null||Bi===void 0?void 0:Bi["umi.css"])||"";return ze.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Ea||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(zi||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(ha,"'")}})};function Au(Tn){var Kn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Tn=="string")return Mu(Tn)?(0,ko.Z)({src:Tn},Kn):{content:Tn};if((0,So.Z)(Tn)==="object")return(0,ko.Z)((0,ko.Z)({},Tn),Kn);throw new Error("Invalid script type: ".concat((0,So.Z)(Tn)))}function Dc(Tn){return Mu(Tn)?{type:"link",href:Tn}:{type:"style",content:Tn}}var Kc=function(Kn){var Bi,Ea,zi,ua,ha,vs,Ki=Kn.htmlPageOpts;return ze.createElement(ze.Fragment,null,(Ki==null?void 0:Ki.title)&&ze.createElement("title",null,Ki.title),Ki==null||(Bi=Ki.favicons)===null||Bi===void 0?void 0:Bi.map(function(es,Ku){return ze.createElement("link",{key:Ku,rel:"shortcut icon",href:es})}),(Ki==null?void 0:Ki.description)&&ze.createElement("meta",{name:"description",content:Ki.description}),(Ki==null||(Ea=Ki.keywords)===null||Ea===void 0?void 0:Ea.length)&&ze.createElement("meta",{name:"keywords",content:Ki.keywords.join(",")}),Ki==null||(zi=Ki.metas)===null||zi===void 0?void 0:zi.map(function(es){return ze.createElement("meta",{key:es.name,name:es.name,content:es.content})}),Ki==null||(ua=Ki.links)===null||ua===void 0?void 0:ua.map(function(es,Ku){return ze.createElement("link",(0,Lu.Z)({key:Ku},es))}),Ki==null||(ha=Ki.styles)===null||ha===void 0?void 0:ha.map(function(es,Ku){var ju=Dc(es),Yu=ju.type,ul=ju.href,ll=ju.content;if(Yu==="link")return ze.createElement("link",{key:Ku,rel:"stylesheet",href:ul});if(Yu==="style")return ze.createElement("style",{key:Ku},ll)}),Ki==null||(vs=Ki.headScripts)===null||vs===void 0?void 0:vs.map(function(es,Ku){var ju=Au(es),Yu=ju.content,ul=(0,Yl.Z)(ju,nl);return ze.createElement("script",(0,Lu.Z)({dangerouslySetInnerHTML:{__html:Yu},key:Ku},ul))}))};function oo(Tn){var Kn,Bi=Tn.children,Ea=Tn.loaderData,zi=Tn.manifest,ua=Tn.htmlPageOpts,ha=Tn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,vs=Tn.mountElementId;if(ha!=null&&ha.pureHtml)return ze.createElement("html",null,ze.createElement("head",null),ze.createElement("body",null,ze.createElement(Zo,null),ze.createElement("div",{id:vs},Bi),ze.createElement(il,{manifest:zi,loaderData:Ea,htmlPageOpts:ua})));if(ha!=null&&ha.pureApp)return ze.createElement(ze.Fragment,null,Bi);var Ki=typeof window=="undefined"?zi==null?void 0:zi.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return ze.createElement("html",{suppressHydrationWarning:!0,lang:(ua==null?void 0:ua.lang)||"en"},ze.createElement("head",null,ze.createElement("meta",{charSet:"utf-8"}),ze.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Ki&&ze.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Ki}),ze.createElement(Kc,{htmlPageOpts:ua})),ze.createElement("body",null,ze.createElement(Zo,null),ze.createElement("div",{id:vs},Bi),ze.createElement(il,{manifest:zi,loaderData:Ea,htmlPageOpts:ua}),ua==null||(Kn=ua.scripts)===null||Kn===void 0?void 0:Kn.map(function(es,Ku){var ju=Au(es),Yu=ju.content,ul=(0,Yl.Z)(ju,Su);return ze.createElement("script",(0,Lu.Z)({dangerouslySetInnerHTML:{__html:Yu},key:Ku},ul))})))}var du=ze.createContext(void 0);function Dl(){return ze.useContext(du)}var Xl=["redirect"];function Ql(Tn){var Kn=Tn.routesById,Bi=Tn.parentId,Ea=Tn.routeComponents,zi=Tn.useStream,ua=zi===void 0?!0:zi;return Object.keys(Kn).filter(function(ha){return Kn[ha].parentId===Bi}).map(function(ha){var vs=Ol((0,ko.Z)((0,ko.Z)({route:Kn[ha],routeComponent:Ea[ha],loadingComponent:Tn.loadingComponent,reactRouter5Compat:Tn.reactRouter5Compat},Tn.reactRouter5Compat&&{hasChildren:Object.keys(Kn).filter(function(es){return Kn[es].parentId===ha}).length>0}),{},{useStream:ua})),Ki=Ql({routesById:Kn,routeComponents:Ea,parentId:vs.id,loadingComponent:Tn.loadingComponent,reactRouter5Compat:Tn.reactRouter5Compat,useStream:ua});return Ki.length>0&&(vs.children=Ki,vs.routes=Ki),vs})}function gl(Tn){var Kn=(0,Qo.UO)(),Bi=(0,Qo.Gn)(Tn.to,Kn),Ea=(0,Kl.T$)(),zi=(0,Qo.TH)();if(Ea!=null&&Ea.keepQuery){var ua=zi.search+zi.hash;Bi+=ua}var ha=(0,ko.Z)((0,ko.Z)({},Tn),{},{to:Bi});return ze.createElement(Qo.Fg,(0,Lu.Z)({replace:!0},ha))}function Ol(Tn){var Kn=Tn.route,Bi=Tn.useStream,Ea=Bi===void 0?!0:Bi,zi=Kn.redirect,ua=(0,Yl.Z)(Kn,Xl),ha=Tn.reactRouter5Compat?kl:ql;return(0,ko.Z)({element:zi?ze.createElement(gl,{to:zi}):ze.createElement(du.Provider,{value:{route:Tn.route}},ze.createElement(ha,{loader:ze.memo(Tn.routeComponent),loadingComponent:Tn.loadingComponent||df,hasChildren:Tn.hasChildren,useStream:Ea}))},ua)}function df(){return ze.createElement("div",null)}function kl(Tn){var Kn=Dl(),Bi=Kn.route,Ea=(0,Kl.Ov)(),zi=Ea.history,ua=Ea.clientRoutes,ha=(0,Qo.UO)(),vs={params:ha,isExact:!0,path:Bi.path,url:zi.location.pathname},Ki=Tn.loader,es={location:zi.location,match:vs,history:zi,params:ha,route:Bi,routes:ua};return Tn.useStream?ze.createElement(ze.Suspense,{fallback:ze.createElement(Tn.loadingComponent,null)},ze.createElement(Ki,es,Tn.hasChildren&&ze.createElement(Qo.j3,null))):ze.createElement(Ki,es,Tn.hasChildren&&ze.createElement(Qo.j3,null))}function ql(Tn){var Kn=Tn.loader;return Tn.useStream?ze.createElement(ze.Suspense,{fallback:ze.createElement(Tn.loadingComponent,null)},ze.createElement(Kn,null)):ze.createElement(Kn,null)}var yl=null;function Yc(){return yl}function Fu(Tn){var Kn=Tn.history,Bi=ze.useState({action:Kn.action,location:Kn.location}),Ea=(0,Il.Z)(Bi,2),zi=Ea[0],ua=Ea[1];return(0,ze.useLayoutEffect)(function(){return Kn.listen(ua)},[Kn]),(0,ze.useLayoutEffect)(function(){function ha(vs){Tn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Tn.routes,clientRoutes:Tn.clientRoutes,location:vs.location,action:vs.action,basename:Tn.basename,isFirst:!!vs.isFirst}})}return ha({location:zi.location,action:zi.action,isFirst:!0}),Kn.listen(ha)},[Kn,Tn.routes,Tn.clientRoutes]),ze.createElement(Qo.F0,{navigator:Kn,location:zi.location,basename:Tn.basename},Tn.children)}function Bu(){var Tn=(0,Kl.Ov)(),Kn=Tn.clientRoutes;return(0,Qo.V$)(Kn)}var iu=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],qo=function(Kn,Bi){var Ea=Kn.basename||"/",zi=Ql({routesById:Kn.routes,routeComponents:Kn.routeComponents,loadingComponent:Kn.loadingComponent,reactRouter5Compat:Kn.reactRouter5Compat,useStream:Kn.useStream});Kn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:zi}});for(var ua=ze.createElement(Fu,{basename:Ea,pluginManager:Kn.pluginManager,routes:Kn.routes,clientRoutes:zi,history:Kn.history},Bi),ha=0,vs=iu;ha<vs.length;ha++){var Ki=vs[ha];ua=Kn.pluginManager.applyPlugins({type:"modify",key:Ki,initialValue:ua,args:{routes:Kn.routes,history:Kn.history,plugin:Kn.pluginManager}})}var es=function(){var ju=(0,ze.useState)({}),Yu=(0,Il.Z)(ju,2),ul=Yu[0],ll=Yu[1],Df=(0,ze.useState)(window.__UMI_LOADER_DATA__||{}),wf=(0,Il.Z)(Df,2),Fl=wf[0],Sf=wf[1],xc=(0,ze.useCallback)(function(Jc,hf){var cl,Of=(((cl=(0,Qo.fp)(zi,Jc,Ea))===null||cl===void 0?void 0:cl.map(function(Xu){return Xu.route.id}))||[]).filter(Boolean);Of.forEach(function(Xu){var Lc,ef;if(window.__umi_route_prefetch__){var Ho,tf=(Ho=Kn.routeComponents[Xu])===null||Ho===void 0||(Ho=Ho._payload)===null||Ho===void 0?void 0:Ho._result;typeof tf=="function"&&tf()}var pf=(Lc=Kn.routes[Xu])===null||Lc===void 0?void 0:Lc.clientLoader,fl=!!pf,Bl=(ef=Kn.routes[Xu])===null||ef===void 0?void 0:ef.hasServerLoader;!hf&&Bl&&!fl&&!window.__UMI_LOADER_DATA__&&$o({id:Xu,basename:Ea,cb:function(Fc){ze.startTransition(function(){Sf(function(mf){return(0,ko.Z)((0,ko.Z)({},mf),{},(0,vl.Z)({},Xu,Fc))})})}});var Wo=!!ul[Xu],Ec=fl&&pf.hydrate||!Bl,_f=Bl&&!window.__UMI_LOADER_DATA__;fl&&!Wo&&(Ec||_f)&&pf({serverLoader:function(){return $o({id:Xu,basename:Ea,cb:function(mf){ze.startTransition(function(){Sf(function(Bc){return(0,ko.Z)((0,ko.Z)({},Bc),{},(0,vl.Z)({},Xu,mf))})})}})}}).then(function(Mc){ll(function(Fc){return(0,ko.Z)((0,ko.Z)({},Fc),{},(0,vl.Z)({},Xu,Mc))})})})},[ul]);return(0,ze.useEffect)(function(){return xc(window.location.pathname,!0),Kn.history.listen(function(Jc){xc(Jc.location.pathname)})},[]),(0,ze.useLayoutEffect)(function(){typeof Kn.callback=="function"&&Kn.callback()},[]),ze.createElement(Kl.Il.Provider,{value:{routes:Kn.routes,routeComponents:Kn.routeComponents,clientRoutes:zi,pluginManager:Kn.pluginManager,rootElement:Kn.rootElement,basename:Ea,clientLoaderData:ul,serverLoaderData:Fl,preloadRoute:xc,history:Kn.history}},ua)};return es};function gc(Tn){var Kn=Tn.rootElement||document.getElementById("root"),Bi=qo(Tn,ze.createElement(Bu,null));if(Tn.components)return Bi;if(Tn.hydrate){var Ea=window.__UMI_LOADER_DATA__||{},zi=window.__UMI_METADATA_LOADER_DATA__||{},ua={metadata:zi,loaderData:Ea,mountElementId:Tn.mountElementId},ha=Tn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureApp||Tn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureHtml;wu.hydrateRoot(ha?Kn:document,ha?ze.createElement(Bi,null):ze.createElement(oo,ua,ze.createElement(Bi,null)));return}if(wu.createRoot){yl=wu.createRoot(Kn),yl.render(ze.createElement(Bi,null));return}wu.render(ze.createElement(Bi,null),Kn)}var yc=(Tn,Kn,Bi)=>new Promise((Ea,zi)=>{var ua=Ki=>{try{vs(Bi.next(Ki))}catch(es){zi(es)}},ha=Ki=>{try{vs(Bi.throw(Ki))}catch(es){zi(es)}},vs=Ki=>Ki.done?Ea(Ki.value):Promise.resolve(Ki.value).then(ua,ha);vs((Bi=Bi.apply(Tn,Kn)).next())});function Oc(){return yc(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"82"},83:{path:"/classrooms/guidance",parentId:"19",id:"83"},84:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"84"},85:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"98"},99:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"99"},100:{path:"/classrooms/",parentId:"19",id:"100"},101:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"100",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework",parentId:"100",id:"102"},103:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"100",id:"103"},104:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"105"},106:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"100",id:"106"},107:{path:"/classrooms/:coursesId/exercise",parentId:"100",id:"107"},108:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"100",id:"108"},109:{path:"/classrooms/:coursesId/poll",parentId:"100",id:"109"},110:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"100",id:"110"},111:{path:"/classrooms/:coursesId/common_homework",parentId:"100",id:"111"},112:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"100",id:"112"},113:{path:"/classrooms/:coursesId/group_homework",parentId:"100",id:"113"},114:{path:"/classrooms/:coursesId/teachers",parentId:"100",id:"114"},115:{path:"/classrooms/:coursesId/students",parentId:"100",id:"115"},116:{path:"/classrooms/:coursesId/assistant",parentId:"100",id:"116"},117:{path:"/classrooms/:coursesId/program_homework",parentId:"100",id:"117"},118:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"100",id:"118"},119:{path:"/classrooms/:coursesId/engineering",parentId:"100",id:"119"},120:{path:"/classrooms/:coursesId/learning_path",parentId:"100",id:"120"},121:{path:"/classrooms/:coursesId/resource_recommend",parentId:"100",id:"121"},122:{path:"/classrooms/:coursesId/attendance",parentId:"100",id:"122"},123:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"100",id:"123"},124:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"100",id:"124"},125:{path:"/classrooms/:coursesId/announcement",parentId:"100",id:"125"},126:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"100",id:"126"},127:{path:"/classrooms/:coursesId/online_learning",parentId:"100",id:"127"},128:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"100",id:"128"},129:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"100",id:"129"},130:{path:"/classrooms/:coursesId/attachment",parentId:"100",id:"130"},131:{path:"/classrooms/:coursesId/video",parentId:"100",id:"131"},132:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"100",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"100",id:"133"},134:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"100",id:"134"},135:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"100",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"100",id:"136"},137:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"100",id:"137"},138:{path:"/classrooms/:coursesId/live_video",parentId:"100",id:"138"},139:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"100",id:"139"},140:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"100",id:"140"},141:{path:"/classrooms/:coursesId/board",parentId:"100",id:"141"},142:{path:"/classrooms/:coursesId/course_group",parentId:"100",id:"142"},143:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"100",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"100",id:"144"},145:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"100",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group",parentId:"100",id:"146"},147:{path:"/classrooms/:coursesId/statistics/",parentId:"100",id:"147"},148:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"100",id:"148"},149:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"100",id:"149"},150:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"100",id:"150"},151:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"100",id:"151"},152:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"100",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"100",id:"153"},154:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"100",id:"154"},155:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"100",id:"155"},156:{path:"/classrooms/:coursesId",parentId:"100",id:"156"},157:{path:"/classrooms/:coursesId/template",parentId:"100",id:"157"},158:{path:"/competitions",parentId:"1",id:"158"},159:{path:"/competitions/index",parentId:"158",id:"159"},160:{path:"/competitions/:identifier/list",parentId:"158",id:"160"},161:{path:"/competitions/exports",parentId:"158",id:"161"},162:{path:"/competitions",parentId:"158",id:"162"},163:{path:"/competitions/:identifier",parentId:"158",id:"163"},164:{path:"/competitions/index/:identifier",parentId:"158",id:"164"},165:{path:"/competitions/:identifier/detail/enroll",parentId:"158",id:"165"},166:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"158",id:"166"},167:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"158",id:"167"},168:{path:"/competitions/detail/:identifier",parentId:"158",id:"168"},169:{path:"/forums",parentId:"1",id:"169"},170:{path:"/forums",parentId:"169",id:"170"},171:{path:"/forums/categories/:memoType",parentId:"169",id:"171"},172:{path:"/forums/new",parentId:"169",id:"172"},173:{path:"/forums/:memoId/edit",parentId:"169",id:"173"},174:{path:"/forums/:memoId",parentId:"169",id:"174"},175:{path:"/problemset",parentId:"1",id:"175"},176:{path:"/problemset",parentId:"175",id:"176"},177:{path:"/problemset/newitem",parentId:"175",id:"177"},178:{path:"/problemset/:type/:id",parentId:"175",id:"178"},179:{path:"/problemset/preview",parentId:"175",id:"179"},180:{path:"/problemset/preview_new",parentId:"175",id:"180"},181:{path:"/problemset/preview_select",parentId:"175",id:"181"},182:{path:"/shixuns",parentId:"1",id:"182"},183:{path:"/shixuns",parentId:"182",id:"183"},184:{path:"/shixuns/exports",parentId:"182",id:"184"},185:{path:"/shixuns/new",parentId:"182",id:"185"},186:{path:"/shixuns/new/CreateImg",parentId:"182",id:"186"},187:{path:"/shixuns/new/:id/imagepreview",parentId:"182",id:"187"},188:{path:"/shixuns/:id/Merge",parentId:"182",id:"188"},189:{path:"/shixuns/:id/Split",parentId:"182",id:"189"},190:{path:"/shixuns/:id/edit",parentId:"182",id:"190"},191:{path:"shixuns/:id/edit/warehouse",parentId:"190",id:"191"},192:{path:"/shixuns/:id/edit/newquestion",parentId:"190",id:"192"},193:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"190",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"190",id:"194"},195:{path:"/shixuns/:id/edit/new",parentId:"190",id:"195"},196:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"190",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"190",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"190",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"190",id:"199"},200:{path:"/shixuns/:id",parentId:"182",id:"200"},201:{path:"/shixuns/:id/challenges",parentId:"200",id:"201"},202:{path:"/shixuns/:id/repository",parentId:"200",id:"202"},203:{path:"/shixuns/:id/secret_repository",parentId:"200",id:"203"},204:{path:"/shixuns/:id/collaborators",parentId:"200",id:"204"},205:{path:"/shixuns/:id/dataset",parentId:"200",id:"205"},206:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"200",id:"206"},207:{path:"/shixuns/:id/shixun_discuss",parentId:"200",id:"207"},208:{path:"/shixuns/:id/ranking_list",parentId:"200",id:"208"},209:{path:"/shixuns/:id/settings",parentId:"200",id:"209"},210:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"200",id:"210"},211:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"200",id:"211"},212:{path:"/shixuns/:id/repository/upload_file",parentId:"200",id:"212"},213:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"200",id:"213"},214:{path:"/shixuns/:id/repository/add_file",parentId:"200",id:"214"},215:{path:"/shixuns/:id/secret_repository/add_file",parentId:"200",id:"215"},216:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"200",id:"216"},217:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"200",id:"217"},218:{path:"/shixuns/:id/audit_situation",parentId:"200",id:"218"},219:{path:"/shixuns/:id/fork_list",parentId:"200",id:"219"},220:{path:"/users",parentId:"1",id:"220"},221:{path:"/users/:username/videos/protocol",parentId:"220",id:"221"},222:{path:"/users/:username/videos/resourceProtocol",parentId:"220",id:"222"},223:{path:"/users/:username/videos/success",parentId:"220",id:"223"},224:{path:"/users/:username/topicbank/:topicstype",parentId:"220",id:"224"},225:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"220",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"220",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"220",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"220",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"220",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"220",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"220",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"220",id:"232"},233:{path:"/users/:username/experiment-img/add",parentId:"220",id:"233"},234:{path:"/users/:username",parentId:"220",id:"234"},235:{path:"/users/:username",parentId:"234",id:"235"},236:{path:"/users/:username/baseInfo/edit",parentId:"234",id:"236"},237:{path:"/users/:username/baseInfo",parentId:"234",id:"237"},238:{path:"/users/:username/realNameCertification",parentId:"234",id:"238"},239:{path:"/users/:username/careerCertification",parentId:"234",id:"239"},240:{path:"/users/:username/classrooms",parentId:"234",id:"240"},241:{path:"/users/:username/shixuns",parentId:"234",id:"241"},242:{path:"/users/:username/dataSet",parentId:"234",id:"242"},243:{path:"/users/:username/userPortrait",parentId:"234",id:"243"},244:{path:"/users/:username/learningPath",parentId:"234",id:"244"},245:{path:"/users/:username/teach-group",parentId:"234",id:"245"},246:{path:"/users/:username/competitions",parentId:"234",id:"246"},247:{path:"/users/:username/experiment-img",parentId:"234",id:"247"},248:{path:"/users/:username/experiment-img/:experid/detail",parentId:"234",id:"248"},249:{path:"/users/:username/certificate",parentId:"234",id:"249"},250:{path:"/users/:username/otherResources",parentId:"234",id:"250"},251:{path:"/users/:username/classmanagement",parentId:"234",id:"251"},252:{path:"/users/:username/classmanagement/:couserid",parentId:"234",id:"252"},253:{path:"/users/:username/paths",parentId:"234",id:"253"},254:{path:"/users/:username/projects",parentId:"234",id:"254"},255:{path:"/users/:username/videos",parentId:"234",id:"255"},256:{path:"/users/:username/videos/upload",parentId:"234",id:"256"},257:{path:"/users/:username/topics/:topicstype",parentId:"234",id:"257"},258:{path:"/users/:username/vspaces",parentId:"234",id:"258"},259:{path:"/users/:username/resourcesCenter",parentId:"234",id:"259"},260:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"234",id:"260"},261:{path:"/users/:username/resourceGuarantee",parentId:"234",id:"261"},262:{path:"/users/:username/resourceAllocation",parentId:"234",id:"262"},263:{parentId:"1",id:"263"},264:{path:"/problems",parentId:"263",id:"264"},265:{path:"/problems",parentId:"264",id:"265"},266:{path:"/problems/batchAdd",parentId:"264",id:"266"},267:{path:"/problems/newcreate",parentId:"263",id:"267"},268:{path:"/problems/newedit/:id",exact:!0,parentId:"263",id:"268"},269:{path:"/problems/:id/edit",exact:!0,parentId:"263",id:"269"},270:{path:"/problems/new",exact:!0,parentId:"263",id:"270"},271:{path:"/problems/:id/oj/:save_identifier",parentId:"263",id:"271"},272:{path:"/problems/:id/record-detail/:submitId",parentId:"263",id:"272"},273:{path:"/problems/add",parentId:"263",id:"273"},274:{path:"/problems/:id/ojedit",parentId:"263",id:"274"},275:{path:"/engineering",parentId:"1",id:"275"},276:{path:"/engineering",parentId:"275",id:"276"},277:{path:"/engineering/teacherList",parentId:"276",id:"277"},278:{path:"/engineering/studentList",parentId:"276",id:"278"},279:{path:"/engineering/training/program",parentId:"276",id:"279"},280:{path:"/engineering/training/program/add",parentId:"276",id:"280"},281:{path:"/engineering/training/program/edit",parentId:"276",id:"281"},282:{path:"/engineering/training/objectives",parentId:"276",id:"282"},283:{path:"/engineering/graduated/index",parentId:"276",id:"283"},284:{path:"/engineering/graduated/matrix",parentId:"276",id:"284"},285:{path:"/engineering/course/list",parentId:"276",id:"285"},286:{path:"/engineering/course/setting",parentId:"276",id:"286"},287:{path:"/engineering/course/matrix",parentId:"276",id:"287"},288:{path:"/engineering/navigation",parentId:"276",id:"288"},289:{path:"/engineering/evaluate/course",parentId:"276",id:"289"},290:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"276",id:"290"},291:{path:"/engineering/evaluate/norm",parentId:"276",id:"291"},292:{path:"/engineering/evaluate/document",parentId:"276",id:"292"},293:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"276",id:"293"},294:{path:"/engineering/*",redirect:"/404",parentId:"276",id:"294"},295:{path:"/innovation",parentId:"1",id:"295"},296:{path:"/innovation/tasks/:taskId",parentId:"295",id:"296"},297:{path:"/innovation",parentId:"295",id:"297"},298:{path:"/innovation/project",parentId:"297",id:"298"},299:{path:"/innovation/dataset",parentId:"297",id:"299"},300:{path:"/innovation/mirror",parentId:"297",id:"300"},301:{path:"/innovation/my-project",parentId:"297",id:"301"},302:{path:"/innovation/my-dataset",parentId:"297",id:"302"},303:{path:"/innovation/my-mirror",parentId:"297",id:"303"},304:{path:"/innovation/project/create",parentId:"297",id:"304"},305:{path:"/innovation/project/edit/:id",parentId:"297",id:"305"},306:{path:"/innovation/project/detail/:taskId",parentId:"297",id:"306"},307:{path:"/tasks",parentId:"1",id:"307"},308:{path:"/tasks/:taskId",exact:!0,parentId:"307",id:"308"},309:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"307",id:"309"},310:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"307",id:"310"},311:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"307",id:"311"},312:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"307",id:"312"},313:{path:"/myproblems",parentId:"1",id:"313"},314:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"313",id:"314"},315:{path:"/myproblems/:id",exact:!0,parentId:"313",id:"315"},316:{path:"/account",parentId:"1",id:"316"},317:{path:"/account",parentId:"316",id:"317"},318:{path:"/account/profile",parentId:"317",id:"318"},319:{path:"/account/profile/edit",parentId:"317",id:"319"},320:{path:"/account/certification",parentId:"317",id:"320"},321:{path:"/account/secure",parentId:"317",id:"321"},322:{path:"/account/binding",parentId:"317",id:"322"},323:{path:"/account/Results",parentId:"317",id:"323"},324:{path:"/ch",parentId:"1",id:"324"},325:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"324",id:"325"},326:{path:"/ch/rest/",exact:!0,parentId:"324",id:"326"},327:{path:"/ch/rest/:id",exact:!0,parentId:"324",id:"327"},328:{path:"/order",parentId:"1",id:"328"},329:{path:"/order",parentId:"328",id:"329"},330:{path:"/order/invoice",parentId:"328",id:"330"},331:{path:"/order/records",parentId:"328",id:"331"},332:{path:"/order/apply",parentId:"328",id:"332"},333:{path:"/order/view",parentId:"328",id:"333"},334:{path:"/order/:courseId/information",parentId:"328",id:"334"},335:{path:"/order/:courseId/pay",parentId:"328",id:"335"},336:{path:"/order/:orderNum/result",parentId:"328",id:"336"},337:{path:"/messages",parentId:"1",id:"337"},338:{path:"/messages/:userId/user_tidings",parentId:"337",id:"338"},339:{path:"/messages/:userId/private_messages",parentId:"337",id:"339"},340:{path:"/messages/:userId/message_detail",parentId:"337",id:"340"},341:{path:"/vtrs",parentId:"1",id:"341"},342:{path:"/vtrs/:virtual_spacesId",parentId:"341",id:"342"},343:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"342",id:"343"},344:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"342",id:"344"},345:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"342",id:"345"},346:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"342",id:"346"},347:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"342",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"342",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"342",id:"349"},350:{path:"/vtrs/:virtual_spacesId/survey",parentId:"342",id:"350"},351:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"342",id:"351"},352:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"342",id:"352"},353:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"342",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"342",id:"354"},355:{path:"/vtrs/:virtual_spacesId/material",parentId:"342",id:"355"},356:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"342",id:"356"},357:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"342",id:"357"},358:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"342",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"342",id:"359"},360:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"342",id:"360"},361:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"342",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"342",id:"362"},363:{path:"/vtrs/:virtual_spacesId/settings",parentId:"342",id:"363"},364:{path:"/vtrs/:virtual_spacesId/resources",parentId:"342",id:"364"},365:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"342",id:"365"},366:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"342",id:"366"},367:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"342",id:"367"},368:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"342",id:"368"},369:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"342",id:"369"},370:{path:"/vtrs/:virtual_spacesId/*",parentId:"342",id:"370"},371:{path:"/101",parentId:"1",id:"371"},372:{path:"/101/:virtual_spacesId",parentId:"371",id:"372"},373:{path:"/101/:virtual_spacesId",exact:!0,parentId:"372",id:"373"},374:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"372",id:"374"},375:{path:"/101/:virtual_spacesId/experiment",parentId:"372",id:"375"},376:{path:"/101/:virtual_spacesId/announcement",parentId:"372",id:"376"},377:{path:"/101/:virtual_spacesId/announcement/add",parentId:"372",id:"377"},378:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"372",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"372",id:"379"},380:{path:"/101/:virtual_spacesId/survey",parentId:"372",id:"380"},381:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"372",id:"381"},382:{path:"/101/:virtual_spacesId/knowledge",parentId:"372",id:"382"},383:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"372",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"372",id:"384"},385:{path:"/101/:virtual_spacesId/material",parentId:"372",id:"385"},386:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"372",id:"386"},387:{path:"/101/:virtual_spacesId/lesson",parentId:"372",id:"387"},388:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"372",id:"388"},389:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"372",id:"389"},390:{path:"/101/:virtual_spacesId/discussion",parentId:"372",id:"390"},391:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"372",id:"391"},392:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"372",id:"392"},393:{path:"/101/:virtual_spacesId/settings",parentId:"372",id:"393"},394:{path:"/101/:virtual_spacesId/resources",parentId:"372",id:"394"},395:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"372",id:"395"},396:{path:"/101/:virtual_spacesId/Plan",parentId:"372",id:"396"},397:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"372",id:"397"},398:{path:"/101/:virtual_spacesId/digtal",parentId:"372",id:"398"},399:{path:"/101/:virtual_spacesId/homepage",parentId:"372",id:"399"},400:{path:"/101/:virtual_spacesId/*",parentId:"372",id:"400"},401:{path:"/administration",parentId:"1",id:"401"},402:{path:"/administration",parentId:"401",id:"402"},403:{path:"/administration/college",parentId:"402",id:"403"},404:{path:"/administration/student",parentId:"402",id:"404"},405:{path:"/administration/student/:studentId/edit",parentId:"402",id:"405"},406:{path:"/administration/profession",parentId:"402",id:"406"},407:{path:"/graduations",parentId:"1",id:"407"},408:{path:"/graduations",exact:!0,parentId:"407",id:"408"},409:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"407",id:"409"},410:{path:"/graduations/:id",parentId:"407",id:"410"},411:{path:"/graduations/:id/index",parentId:"410",id:"411"},412:{path:"/graduations/:id/topics",parentId:"410",id:"412"},413:{path:"/graduations/:id/student_selection",parentId:"410",id:"413"},414:{path:"/graduations/:id/tasks",parentId:"410",id:"414"},415:{path:"/graduations/:id/opening_report",parentId:"410",id:"415"},416:{path:"/graduations/:id/midterm_report",parentId:"410",id:"416"},417:{path:"/graduations/:id/thesis",parentId:"410",id:"417"},418:{path:"/graduations/:id/final_defense",parentId:"410",id:"418"},419:{path:"/graduations/:id/final_thesis",parentId:"410",id:"419"},420:{path:"/graduations/:id/settings",parentId:"410",id:"420"},421:{path:"/graduations/:id/teachers",parentId:"410",id:"421"},422:{path:"/graduations/:id/students",parentId:"410",id:"422"},423:{path:"/graduations/:id/archives",parentId:"410",id:"423"},424:{path:"/graduations/:id/grading_summary",parentId:"410",id:"424"},425:{path:"/dataset",parentId:"1",id:"425"},426:{path:"/dataset",exact:!0,parentId:"425",id:"426"},427:{path:"/dataset/:id/detail",exact:!0,parentId:"425",id:"427"},428:{path:"/knowledgegraph",parentId:"1",id:"428"},429:{path:"/knowledgegraph/:pathId",parentId:"428",id:"429"},430:{path:"/knowledgegraph/:pathId/statistics",parentId:"428",id:"430"},431:{path:"/onlinenum",parentId:"1",id:"431"},432:{path:"/onlinenum",parentId:"431",id:"432"},433:{path:"/shixuncontext",parentId:"1",id:"433"},434:{path:"/shixuncontext",parentId:"433",id:"434"},435:{path:"/shixuncontext/:Id/detail",parentId:"433",id:"435"},436:{path:"/educoder-demo",exact:!0,parentId:"1",id:"436"},437:{path:"/training",parentId:"1",id:"437"},438:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"437",id:"438"},439:{path:"/largeScreen",exact:!0,parentId:"1",id:"439"},440:{path:"/quality",parentId:"1",id:"440"},441:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"440",id:"441"},442:{path:"/otherlogin",exact:!0,parentId:"1",id:"442"},443:{path:"/otherloginqq",exact:!0,parentId:"1",id:"443"},444:{path:"/otherloginstart",exact:!0,parentId:"1",id:"444"},445:{path:"/pathsoverview",exact:!0,parentId:"1",id:"445"},446:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"446"},447:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"447"},448:{path:"/login",parentId:"1",id:"448"},449:{path:"/login",parentId:"448",id:"449"},450:{path:"/user",parentId:"1",id:"450"},451:{path:"/user/login",parentId:"450",id:"451"},452:{path:"/user/register",parentId:"450",id:"452"},453:{path:"/user/reset-password",parentId:"450",id:"453"},454:{path:"/colleges",parentId:"1",id:"454"},455:{path:"/colleges/:id/statistics",parentId:"454",id:"455"},456:{path:"/help",parentId:"1",id:"456"},457:{path:"/help/:id",parentId:"456",id:"457"},458:{path:"/video",parentId:"1",id:"458"},459:{path:"/video/:videoId",parentId:"458",id:"459"},460:{path:"/terminal",parentId:"1",id:"460"},461:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"461"},462:{path:"/",parentId:"1",id:"462"},463:{path:"/",exact:!0,parentId:"462",id:"463"},464:{path:"/api/*",exact:!0,parentId:"462",id:"464"},465:{path:"/search",exact:!0,parentId:"462",id:"465"},466:{path:"/moop_cases",exact:!0,parentId:"462",id:"466"},467:{path:"/moop_cases/new",exact:!0,parentId:"462",id:"467"},468:{path:"/moop_cases/:caseId",exact:!0,parentId:"462",id:"468"},469:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"462",id:"469"},470:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"462",id:"470"},471:{path:"/randompaper",exact:!0,parentId:"462",id:"471"},472:{path:"/randompaper/edit/:id",exact:!0,parentId:"462",id:"472"},473:{path:"/randompaper/detail/:id",exact:!0,parentId:"462",id:"473"},474:{path:"/403",parentId:"462",id:"474"},475:{path:"/500",parentId:"462",id:"475"},476:{path:"/404",parentId:"462",id:"476"},477:{path:"/download",parentId:"462",id:"477"},478:{path:"/iwce",parentId:"462",id:"478"},479:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"462",id:"479"},480:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"462",id:"480"},481:{path:"/Activities",parentId:"462",id:"481"},482:{path:"/iwce/:itemname",parentId:"462",id:"482"},483:{path:"/hpc-course",parentId:"462",id:"483"},484:{path:"/user_agents",parentId:"462",id:"484"},485:{path:"/three",parentId:"462",id:"485"},486:{path:"/introduction",parentId:"462",id:"486"},487:{path:"/chatgpt",parentId:"462",id:"487"},488:{path:"/*",parentId:"462",id:"488"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),2:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),3:ze.lazy(()=>__webpack_require__.e(4862).then(__webpack_require__.bind(__webpack_require__,63041))),4:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8478))),5:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8478))),6:ze.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,66415))),7:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),8:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,75066))),9:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),10:ze.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,16568))),11:ze.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,27945))),12:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,28054))),13:ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,98792))),14:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,50578))),15:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,38239))),16:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,28054))),17:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),18:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),19:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),20:ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,40361))),21:ze.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,43276))),22:ze.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,33165))),23:ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,40361))),24:ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83931))),25:ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83931))),26:ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,74670))),27:ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,74670))),28:ze.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,74719))),29:ze.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,79213))),30:ze.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,24997))),31:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,9920))),32:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,56575))),33:ze.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,67059))),34:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,21871))),35:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,52784))),36:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,93982))),37:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,99061))),38:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,4654))),39:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,44180))),40:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,69993))),41:ze.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,88810))),42:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,42562))),43:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),44:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,50357))),45:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,72560))),46:ze.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,74139))),47:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),48:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,76175))),49:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,96716))),50:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,96716))),51:ze.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,1464))),52:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,11242))),53:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,11242))),54:ze.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,69884))),55:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,17950))),56:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,56954))),57:ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,41228))),58:ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,41228))),59:ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,17933))),60:ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,17933))),61:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,19116))),62:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,15732))),63:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,84625))),64:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,89859))),65:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,427))),66:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,90923))),67:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,60884))),68:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,72794))),69:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,4549))),70:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,75405))),71:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,8993))),72:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,79131))),73:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,15056))),74:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,52796))),75:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,40222))),76:ze.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,94453))),77:ze.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,59325))),78:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,852))),79:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,94884))),80:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,89590))),81:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,55964))),82:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,4056))),83:ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,98792))),84:ze.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,43928))),85:ze.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,18522))),86:ze.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,39306))),87:ze.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,43125))),88:ze.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,17203))),89:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,65973))),90:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,65973))),91:ze.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,92435))),92:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,74020))),93:ze.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,16286))),94:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,11091))),95:ze.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,30056))),96:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,37710))),97:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,55818))),98:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,24400))),99:ze.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,37183))),100:ze.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,60917))),101:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,3871))),102:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,3871))),103:ze.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,11790))),104:ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,65172))),105:ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,65172))),106:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,8905))),107:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,8905))),108:ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,95430))),109:ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,95430))),110:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,97561))),111:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,97561))),112:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,95811))),113:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,95811))),114:ze.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,17425))),115:ze.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,98247))),116:ze.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,49412))),117:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,32996))),118:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,32996))),119:ze.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,4573))),120:ze.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,66676))),121:ze.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,81357))),122:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,31481))),123:ze.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,17081))),124:ze.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,45243))),125:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,12663))),126:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,12663))),127:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,27515))),128:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,27515))),129:ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,30535))),130:ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,30535))),131:ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,59954))),132:ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,59954))),133:ze.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,49957))),134:ze.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,24401))),135:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,32365))),136:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,49100))),137:ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,95598))),138:ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,95598))),139:ze.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,85247))),140:ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,17224))),141:ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,17224))),142:ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),143:ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),144:ze.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,72229))),145:ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,70929))),146:ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,70929))),147:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,3533))),148:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,3533))),149:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,73237))),150:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,55003))),151:ze.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,44739))),152:ze.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,35297))),153:ze.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,3499))),154:ze.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,59353))),155:ze.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,2735))),156:ze.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,63557))),157:ze.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,53136))),158:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),159:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),160:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),161:ze.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,33769))),162:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),163:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2413),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,60074))),164:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2413),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,60074))),165:ze.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,30968))),166:ze.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,60001))),167:ze.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,60433))),168:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2413),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,78963))),169:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),170:ze.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,61612))),171:ze.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,61292))),172:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,2782))),173:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,2782))),174:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,85419))),175:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),176:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),177:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,82617))),178:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,82617))),179:ze.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,71806))),180:ze.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,80558))),181:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),182:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),183:ze.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,34108))),184:ze.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,20290))),185:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,88394))),186:ze.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,71311))),187:ze.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,94282))),188:ze.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,21190))),189:ze.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,78234))),190:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(278),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,37129))),191:ze.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,86566))),192:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,48979))),193:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,20026))),194:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,20026))),195:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,84111))),196:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,84111))),197:ze.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,70980))),198:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,98372))),199:ze.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,89815))),200:ze.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,13344))),201:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,20296))),202:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),203:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),204:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,15282))),205:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,99192))),206:ze.lazy(()=>Promise.all([__webpack_require__.e(278),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,7985))),207:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,96418))),208:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,46593))),209:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,14959))),210:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,28177))),211:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,28177))),212:ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76938))),213:ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76938))),214:ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,30072))),215:ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,30072))),216:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),217:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),218:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,84210))),219:ze.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,43468))),220:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),221:ze.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,54629))),222:ze.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,70982))),223:ze.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,34111))),224:ze.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,51751))),225:ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,69039))),226:ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,69039))),227:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,74917))),228:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,47400))),229:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,4359))),230:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,92511))),231:ze.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,85597))),232:ze.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,8735))),233:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,47018))),234:ze.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,65097))),235:ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,48224))),236:ze.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,12587))),237:ze.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,30127))),238:ze.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,57943))),239:ze.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,39674))),240:ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,48224))),241:ze.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,15107))),242:ze.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,50073))),243:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,84272))),244:ze.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,55149))),245:ze.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,59896))),246:ze.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,73985))),247:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,59360))),248:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,26098))),249:ze.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,40109))),250:ze.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,346))),251:ze.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,56890))),252:ze.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,18131))),253:ze.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,5566))),254:ze.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,74545))),255:ze.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,56749))),256:ze.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,80643))),257:ze.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,74930))),258:ze.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,86310))),259:ze.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,45956))),260:ze.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,41901))),261:ze.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,91370))),262:ze.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,69393))),263:ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),264:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),265:ze.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,58747))),266:ze.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,47781))),267:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,53320))),268:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,53320))),269:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,71547))),270:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,71547))),271:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,31723))),272:ze.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,45710))),273:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,95480))),274:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,95480))),275:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),276:ze.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,5226))),277:ze.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,65417))),278:ze.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,34897))),279:ze.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,3681))),280:ze.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,17249))),281:ze.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,18112))),282:ze.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,81654))),283:ze.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,75432))),284:ze.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,19893))),285:ze.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,88590))),286:ze.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,67112))),287:ze.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,23513))),288:ze.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,74565))),289:ze.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,20944))),290:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,9986))),291:ze.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,23479))),292:ze.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,23921))),293:ze.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,95707))),294:ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),295:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),296:ze.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,84428))),297:ze.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,67537))),298:ze.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,76342))),299:ze.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,14160))),300:ze.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,60971))),301:ze.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,46157))),302:ze.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,97236))),303:ze.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,55734))),304:ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,24096))),305:ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,24096))),306:ze.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,21618))),307:ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),308:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,47110))),309:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24431))),310:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,47110))),311:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24431))),312:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,47110))),313:ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),314:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,92740))),315:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,34587))),316:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),317:ze.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,68549))),318:ze.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,32928))),319:ze.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,16059))),320:ze.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,14200))),321:ze.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,83386))),322:ze.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,98065))),323:ze.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,35038))),324:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),325:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,77906))),326:ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,98537))),327:ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,98537))),328:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),329:ze.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,89595))),330:ze.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,15612))),331:ze.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,61071))),332:ze.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,96965))),333:ze.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,74722))),334:ze.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,52935))),335:ze.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,38403))),336:ze.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,35742))),337:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),338:ze.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,56764))),339:ze.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,7121))),340:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,86529))),341:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),342:ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,92108))),343:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),344:ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,90702))),345:ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,69029))),346:ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,64739))),347:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),348:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),349:ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87861))),350:ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61084))),351:ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,53488))),352:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,79803))),353:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),354:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),355:ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75431))),356:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,94521))),357:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,90135))),358:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),359:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),360:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,12308))),361:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),362:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),363:ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,88397))),364:ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,5090))),365:ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49885))),366:ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,91663))),367:ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,65935))),368:ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,38997))),369:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),370:ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,93568))),371:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),372:ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,92108))),373:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),374:ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,90702))),375:ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,69029))),376:ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,64739))),377:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),378:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),379:ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87861))),380:ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61084))),381:ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,53488))),382:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,79803))),383:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),384:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),385:ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75431))),386:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,94521))),387:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,90135))),388:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),389:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),390:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,12308))),391:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),392:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),393:ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,88397))),394:ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,5090))),395:ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49885))),396:ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,91663))),397:ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,65935))),398:ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,38997))),399:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),400:ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,93568))),401:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),402:ze.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,41669))),403:ze.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,44718))),404:ze.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,69726))),405:ze.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,92642))),406:ze.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,13497))),407:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),408:ze.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,11181))),409:ze.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,61885))),410:ze.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,46780))),411:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,8741))),412:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,80096))),413:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,37052))),414:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,75098))),415:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),416:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),417:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),418:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),419:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),420:ze.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,51514))),421:ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,71562))),422:ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,71562))),423:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,52442))),424:ze.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,52337))),425:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),426:ze.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,83252))),427:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,437))),428:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),429:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,41493))),430:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,49627))),431:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),432:ze.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,50804))),433:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),434:ze.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,50212))),435:ze.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,49079))),436:ze.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,9338))),437:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),438:ze.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,9330))),439:ze.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,91437))),440:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),441:ze.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,7370))),442:ze.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,44876))),443:ze.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,72281))),444:ze.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,70806))),445:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,74247))),446:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,94211))),447:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,10257))),448:ze.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,57694))),449:ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,60490))),450:ze.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,24236))),451:ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,60490))),452:ze.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,92521))),453:ze.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,48412))),454:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),455:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,37204))),456:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),457:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,429))),458:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),459:ze.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,33154))),460:ze.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,43254))),461:ze.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,48030))),462:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),463:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,92132))),464:ze.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,99623))),465:ze.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,21918))),466:ze.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,16456))),467:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,82154))),468:ze.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,65128))),469:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,82154))),470:ze.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,28919))),471:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),472:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),473:ze.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,52900))),474:ze.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,50885))),475:ze.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,85039))),476:ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,4747))),477:ze.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,57849))),478:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),479:ze.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,13893))),480:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,31481))),481:ze.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,36634))),482:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),483:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),484:ze.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,89693))),485:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,57265))),486:ze.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,61516))),487:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,19373))),488:ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,4747))),"@@/global-layout":ze.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,96498)))}}})}var I=__webpack_require__(5085),O=__webpack_require__(37989),k=__webpack_require__(71418),me=__webpack_require__(26278),Re=()=>ze.createElement(k.Z,{size:"middle",className:me.Z.loading}),en=__webpack_require__(89070),$n=__webpack_require__(61186),dn=__webpack_require__.n($n),Di=__webpack_require__(91392),Ha=__webpack_require__.n(Di),Oa=__webpack_require__(34749),Ao=__webpack_require__.n(Oa),Ma=__webpack_require__(19277),io=__webpack_require__.n(Ma),ys=__webpack_require__(10238),kc=__webpack_require__.n(ys),Jl=__webpack_require__(33656),ec=__webpack_require__.n(Jl),bc=__webpack_require__(90111),Nu=__webpack_require__.n(bc),Oi=__webpack_require__(74959),tc=__webpack_require__.n(Oi),Rl=__webpack_require__(23250),Ro=__webpack_require__.n(Rl),Ws=__webpack_require__(58862),Ja=__webpack_require__.n(Ws),al=__webpack_require__(58319),sl=__webpack_require__.n(al),bl=__webpack_require__(62053),xl=__webpack_require__.n(bl),ol=__webpack_require__(47477),Xc=__webpack_require__.n(ol),Rc=__webpack_require__(59717),Vu=__webpack_require__.n(Rc);dn().extend(Ao()),dn().extend(io()),dn().extend(kc()),dn().extend(ec()),dn().extend(Nu()),dn().extend(tc()),dn().extend(Ro()),dn().extend(Ja()),dn().extend(sl()),dn().extend(xl()),dn().extend(Xc()),dn().extend(Vu()),dn().extend(Ha());var Qc=Object.defineProperty,Ll=Object.getOwnPropertySymbols,qc=Object.prototype.hasOwnProperty,hu=Object.prototype.propertyIsEnumerable,$u=(Tn,Kn,Bi)=>Kn in Tn?Qc(Tn,Kn,{enumerable:!0,configurable:!0,writable:!0,value:Bi}):Tn[Kn]=Bi,El=(Tn,Kn)=>{for(var Bi in Kn||(Kn={}))qc.call(Kn,Bi)&&$u(Tn,Bi,Kn[Bi]);if(Ll)for(var Bi of Ll(Kn))hu.call(Kn,Bi)&&$u(Tn,Bi,Kn[Bi]);return Tn},rc=(Tn,Kn,Bi)=>new Promise((Ea,zi)=>{var ua=Ki=>{try{vs(Bi.next(Ki))}catch(es){zi(es)}},ha=Ki=>{try{vs(Bi.throw(Ki))}catch(es){zi(es)}},vs=Ki=>Ki.done?Ea(Ki.value):Promise.resolve(Ki.value).then(ua,ha);vs((Bi=Bi.apply(Tn,Kn)).next())});const Cu="/react/build/",nc=!1;function Ml(){return rc(this,null,function*(){const Tn=(0,I.gD)(),{routes:Kn,routeComponents:Bi}=yield Oc(Tn);yield Tn.applyPlugins({key:"patchRoutes",type:en.ApplyPluginsType.event,args:{routes:Kn,routeComponents:Bi}});const Ea=Tn.applyPlugins({key:"modifyContextOpts",type:en.ApplyPluginsType.modify,initialValue:{}}),zi=Ea.basename||"/",ua=Ea.historyType||"browser",ha=(0,O.fi)(El({type:ua,basename:zi},Ea.historyOpts));return Tn.applyPlugins({key:"render",type:en.ApplyPluginsType.compose,initialValue(){const vs={useStream:!0,routes:Kn,routeComponents:Bi,pluginManager:Tn,mountElementId:"root",rootElement:Ea.rootElement||document.getElementById("root"),loadingComponent:Re,publicPath:Cu,runtimePublicPath:nc,history:ha,historyType:ua,basename:zi,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Ea.callback},Ki=Tn.applyPlugins({key:"modifyClientRenderOpts",type:en.ApplyPluginsType.modify,initialValue:vs});return gc(Ki)}})()})}Ml(),typeof window!="undefined"&&(window.g_umi={version:"4.4.6"})})()})();