|
|
(function(){var __webpack_modules__={30071:function(d,v,e){"use strict";e.r(v),e.d(v,{blue:function(){return ue},blueDark:function(){return je},cyan:function(){return ie},cyanDark:function(){return He},geekblue:function(){return K},geekblueDark:function(){return Zt},generate:function(){return T},gold:function(){return Q},goldDark:function(){return se},gray:function(){return q},green:function(){return oe},greenDark:function(){return Re},grey:function(){return te},greyDark:function(){return Qt},lime:function(){return Y},limeDark:function(){return Pe},magenta:function(){return G},magentaDark:function(){return Dt},orange:function(){return j},orangeDark:function(){return F},presetDarkPalettes:function(){return Jt},presetPalettes:function(){return J},presetPrimaryColors:function(){return D},purple:function(){return V},purpleDark:function(){return yt},red:function(){return M},redDark:function(){return le},volcano:function(){return N},volcanoDark:function(){return z},yellow:function(){return X},yellowDark:function(){return _e}});var r=e(18082);const i=Math.round;function l(qt,Xe){const Tt=qt.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],jt=Tt.map(st=>parseFloat(st));for(let st=0;st<3;st+=1)jt[st]=Xe(jt[st]||0,Tt[st]||"",st);return Tt[3]?jt[3]=Tt[3].includes("%")?jt[3]/100:jt[3]:jt[3]=1,jt}const c=(qt,Xe,Tt)=>Tt===0?qt:qt/100;function f(qt,Xe){const Tt=Xe||255;return qt>Tt?Tt:qt<0?0:qt}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 Tt(jt){return jt[0]in Xe&&jt[1]in Xe&&jt[2]in Xe}if(Xe)if(typeof Xe=="string"){let st=function(gt){return jt.startsWith(gt)};const jt=Xe.trim();/^#?[A-F\d]{3,8}$/i.test(jt)?this.fromHexString(jt):st("rgb")?this.fromRgbString(jt):st("hsl")?this.fromHslString(jt):(st("hsv")||st("hsb"))&&this.fromHsvString(jt)}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(Tt("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(Tt("hsl"))this.fromHsl(Xe);else if(Tt("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 Tt=this.toHsv();return Tt.h=Xe,this._c(Tt)}getLuminance(){function Xe(gt){const dt=gt/255;return dt<=.03928?dt/12.92:Math.pow((dt+.055)/1.055,2.4)}const Tt=Xe(this.r),jt=Xe(this.g),st=Xe(this.b);return .2126*Tt+.7152*jt+.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 Tt=this.getHue(),jt=this.getSaturation();let st=this.getLightness()-Xe/100;return st<0&&(st=0),this._c({h:Tt,s:jt,l:st,a:this.a})}lighten(Xe=10){const Tt=this.getHue(),jt=this.getSaturation();let st=this.getLightness()+Xe/100;return st>1&&(st=1),this._c({h:Tt,s:jt,l:st,a:this.a})}mix(Xe,Tt=50){const jt=this._c(Xe),st=Tt/100,gt=Je=>(jt[Je]-this[Je])*st+this[Je],dt={r:i(gt("r")),g:i(gt("g")),b:i(gt("b")),a:i(gt("a")*100)/100};return this._c(dt)}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 Tt=this._c(Xe),jt=this.a+Tt.a*(1-this.a),st=gt=>i((this[gt]*this.a+Tt[gt]*Tt.a*(1-this.a))/jt);return this._c({r:st("r"),g:st("g"),b:st("b"),a:jt})}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 Tt=(this.r||0).toString(16);Xe+=Tt.length===2?Tt:"0"+Tt;const jt=(this.g||0).toString(16);Xe+=jt.length===2?jt:"0"+jt;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 gt=i(this.a*255).toString(16);Xe+=gt.length===2?gt:"0"+gt}return Xe}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const Xe=this.getHue(),Tt=i(this.getSaturation()*100),jt=i(this.getLightness()*100);return this.a!==1?`hsla(${Xe},${Tt}%,${jt}%,${this.a})`:`hsl(${Xe},${Tt}%,${jt}%)`}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,Tt,jt){const st=this.clone();return st[Xe]=f(Tt,jt),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 Tt=Xe.replace("#","");function jt(st,gt){return parseInt(Tt[st]+Tt[gt||st],16)}Tt.length<6?(this.r=jt(0),this.g=jt(1),this.b=jt(2),this.a=Tt[3]?jt(3)/255:1):(this.r=jt(0,1),this.g=jt(2,3),this.b=jt(4,5),this.a=Tt[6]?jt(6,7)/255:1)}fromHsl({h:Xe,s:Tt,l:jt,a:st}){if(this._h=Xe%360,this._s=Tt,this._l=jt,this.a=typeof st=="number"?st:1,Tt<=0){const $e=i(jt*255);this.r=$e,this.g=$e,this.b=$e}let gt=0,dt=0,Je=0;const Ue=Xe/60,ge=(1-Math.abs(2*jt-1))*Tt,Se=ge*(1-Math.abs(Ue%2-1));Ue>=0&&Ue<1?(gt=ge,dt=Se):Ue>=1&&Ue<2?(gt=Se,dt=ge):Ue>=2&&Ue<3?(dt=ge,Je=Se):Ue>=3&&Ue<4?(dt=Se,Je=ge):Ue>=4&&Ue<5?(gt=Se,Je=ge):Ue>=5&&Ue<6&&(gt=ge,Je=Se);const Me=jt-ge/2;this.r=i((gt+Me)*255),this.g=i((dt+Me)*255),this.b=i((Je+Me)*255)}fromHsv({h:Xe,s:Tt,v:jt,a:st}){this._h=Xe%360,this._s=Tt,this._v=jt,this.a=typeof st=="number"?st:1;const gt=i(jt*255);if(this.r=gt,this.g=gt,this.b=gt,Tt<=0)return;const dt=Xe/60,Je=Math.floor(dt),Ue=dt-Je,ge=i(jt*(1-Tt)*255),Se=i(jt*(1-Tt*Ue)*255),Me=i(jt*(1-Tt*(1-Ue))*255);switch(Je){case 0:this.g=Me,this.b=ge;break;case 1:this.r=Se,this.b=ge;break;case 2:this.r=ge,this.b=Me;break;case 3:this.r=ge,this.g=Se;break;case 4:this.r=Me,this.g=ge;break;case 5:default:this.g=ge,this.b=Se;break}}fromHsvString(Xe){const Tt=l(Xe,c);this.fromHsv({h:Tt[0],s:Tt[1],v:Tt[2],a:Tt[3]})}fromHslString(Xe){const Tt=l(Xe,c);this.fromHsl({h:Tt[0],s:Tt[1],l:Tt[2],a:Tt[3]})}fromRgbString(Xe){const Tt=l(Xe,(jt,st)=>st.includes("%")?i(jt/100*255):jt);this.r=Tt[0],this.g=Tt[1],this.b=Tt[2],this.a=Tt[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(qt,Xe,Tt){var jt;return Math.round(qt.h)>=60&&Math.round(qt.h)<=240?jt=Tt?Math.round(qt.h)-h*Xe:Math.round(qt.h)+h*Xe:jt=Tt?Math.round(qt.h)+h*Xe:Math.round(qt.h)-h*Xe,jt<0?jt+=360:jt>=360&&(jt-=360),jt}function R(qt,Xe,Tt){if(qt.h===0&&qt.s===0)return qt.s;var jt;return Tt?jt=qt.s-u*Xe:Xe===_?jt=qt.s+u:jt=qt.s+a*Xe,jt>1&&(jt=1),Tt&&Xe===y&&jt>.1&&(jt=.1),jt<.06&&(jt=.06),Math.round(jt*100)/100}function L(qt,Xe,Tt){var jt;return Tt?jt=qt.v+x*Xe:jt=qt.v-p*Xe,jt=Math.max(0,Math.min(1,jt)),Math.round(jt*100)/100}function T(qt){for(var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Tt=[],jt=new s(qt),st=jt.toHsv(),gt=y;gt>0;gt-=1){var dt=new s({h:S(st,gt,!0),s:R(st,gt,!0),v:L(st,gt,!0)});Tt.push(dt)}Tt.push(jt);for(var Je=1;Je<=_;Je+=1){var Ue=new s({h:S(st,Je),s:R(st,Je),v:L(st,Je)});Tt.push(Ue)}return Xe.theme==="dark"?b.map(function(ge){var Se=ge.index,Me=ge.amount;return new s(Xe.backgroundColor||"#141414").mix(Tt[Se],Me).toHexString()}):Tt.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"},M=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];M.primary=M[5];var N=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];N.primary=N[5];var j=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];j.primary=j[5];var Q=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Q.primary=Q[5];var X=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];X.primary=X[5];var Y=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];Y.primary=Y[5];var oe=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];oe.primary=oe[5];var ie=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ie.primary=ie[5];var ue=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];ue.primary=ue[5];var K=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];K.primary=K[5];var V=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];V.primary=V[5];var G=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];G.primary=G[5];var te=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];te.primary=te[5];var q=te,J={red:M,volcano:N,orange:j,gold:Q,yellow:X,lime:Y,green:oe,cyan:ie,blue:ue,geekblue:K,purple:V,magenta:G,grey:te},le=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];le.primary=le[5];var z=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];z.primary=z[5];var F=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];F.primary=F[5];var se=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];se.primary=se[5];var _e=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];_e.primary=_e[5];var Pe=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Pe.primary=Pe[5];var Re=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Re.primary=Re[5];var He=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];He.primary=He[5];var je=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];je.primary=je[5];var Zt=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Zt.primary=Zt[5];var yt=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];yt.primary=yt[5];var Dt=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Dt.primary=Dt[5];var Qt=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];Qt.primary=Qt[5];var Jt={red:le,volcano:z,orange:F,gold:se,yellow:_e,lime:Pe,green:Re,cyan:He,blue:je,geekblue:Zt,purple:yt,magenta:Dt,grey:Qt}},93083:function(d,v,e){"use strict";e.r(v),e.d(v,{Keyframes:function(){return fs},NaNLinter:function(){return ja},StyleContext:function(){return ie},StyleProvider:function(){return oe},Theme:function(){return Dt},_experimental:function(){return Fo},createCache:function(){return X},createTheme:function(){return Jt},extractStyle:function(){return _u},genCalc:function(){return Re},getComputedToken:function(){return mr},legacyLogicalPropertiesTransformer:function(){return jo},legacyNotSelectorLinter:function(){return _s},logicalPropertiesLinter:function(){return Gs},parentSelectorLinter:function(){return ls},px2remTransformer:function(){return mu},token2CSSVar:function(){return Ie},unit:function(){return Vt},useCSSVarRegister:function(){return Lo},useCacheToken:function(){return on},useStyleRegister:function(){return Xa}});var r=e(52456),i=e(18082),l=e(92393),c=e(20049);function f(Xt){for(var fr=0,sr,vr=0,wr=Xt.length;wr>=4;++vr,wr-=4)sr=Xt.charCodeAt(vr)&255|(Xt.charCodeAt(++vr)&255)<<8|(Xt.charCodeAt(++vr)&255)<<16|(Xt.charCodeAt(++vr)&255)<<24,sr=(sr&65535)*1540483477+((sr>>>16)*59797<<16),sr^=sr>>>24,fr=(sr&65535)*1540483477+((sr>>>16)*59797<<16)^(fr&65535)*1540483477+((fr>>>16)*59797<<16);switch(wr){case 3:fr^=(Xt.charCodeAt(vr+2)&255)<<16;case 2:fr^=(Xt.charCodeAt(vr+1)&255)<<8;case 1:fr^=Xt.charCodeAt(vr)&255,fr=(fr&65535)*1540483477+((fr>>>16)*59797<<16)}return fr^=fr>>>13,fr=(fr&65535)*1540483477+((fr>>>16)*59797<<16),((fr^fr>>>15)>>>0).toString(36)}var s=f,h=e(810),u=e(59301),a=e.t(u,2),x=e(5883),p=e(80547),y=e(13697),_=e(6487),b=e(56789),S="%";function R(Xt){return Xt.join(S)}var L=function(){function Xt(fr){(0,_.Z)(this,Xt),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),this.instanceId=fr}return(0,b.Z)(Xt,[{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)}}]),Xt}(),T=L,D=["children"],M="data-token-hash",N="data-css-hash",j="data-cache-path",Q="__cssinjs_instance__";function X(){var Xt=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var fr=document.body.querySelectorAll("style[".concat(N,"]"))||[],sr=document.head.firstChild;Array.from(fr).forEach(function(wr){wr[Q]=wr[Q]||Xt,wr[Q]===Xt&&document.head.insertBefore(wr,sr)});var vr={};Array.from(document.querySelectorAll("style[".concat(N,"]"))).forEach(function(wr){var xn=wr.getAttribute(N);if(vr[xn]){if(wr[Q]===Xt){var Sn;(Sn=wr.parentNode)===null||Sn===void 0||Sn.removeChild(wr)}}else vr[xn]=!0})}return new T(Xt)}var Y=u.createContext({hashPriority:"low",cache:X(),defaultCache:!0}),oe=function(fr){var sr=fr.children,vr=(0,x.Z)(fr,D),wr=u.useContext(Y),xn=(0,p.Z)(function(){var Sn=(0,c.Z)({},wr);Object.keys(vr).forEach(function(Mn){var Gn=vr[Mn];vr[Mn]!==void 0&&(Sn[Mn]=Gn)});var Un=vr.cache;return Sn.cache=Sn.cache||X(),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(Y.Provider,{value:xn},sr)},ie=Y,ue=e(10928),K=e(47273),V=e(41281),G=e(7942),te=e(76773),q=(0,b.Z)(function Xt(){(0,_.Z)(this,Xt)}),J=q,le="CALC_UNIT",z=new RegExp(le,"g");function F(Xt){return typeof Xt=="number"?"".concat(Xt).concat(le):Xt}var se=function(Xt){(0,G.Z)(sr,Xt);var fr=(0,te.Z)(sr);function sr(vr,wr){var xn;(0,_.Z)(this,sr),xn=fr.call(this),(0,i.Z)((0,V.Z)(xn),"result",""),(0,i.Z)((0,V.Z)(xn),"unitlessCssVar",void 0),(0,i.Z)((0,V.Z)(xn),"lowPriority",void 0);var Sn=(0,ue.Z)(vr);return xn.unitlessCssVar=wr,vr instanceof sr?xn.result="(".concat(vr.result,")"):Sn==="number"?xn.result=F(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(F(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(F(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,Mn=!0;return typeof Un=="boolean"?Mn=Un:Array.from(this.unitlessCssVar).some(function(Gn){return xn.result.includes(Gn)})&&(Mn=!1),this.result=this.result.replace(z,Mn?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),sr}(J),_e=function(Xt){(0,G.Z)(sr,Xt);var fr=(0,te.Z)(sr);function sr(vr){var wr;return(0,_.Z)(this,sr),wr=fr.call(this),(0,i.Z)((0,V.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}(J),Pe=function(fr,sr){var vr=fr==="css"?se:_e;return function(wr){return new vr(wr,sr)}},Re=Pe;function He(Xt,fr){if(Xt.length!==fr.length)return!1;for(var sr=0;sr<Xt.length;sr++)if(Xt[sr]!==fr[sr])return!1;return!0}var je=function(){function Xt(){(0,_.Z)(this,Xt),(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)(Xt,[{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 Mn;Sn=(Mn=Sn)===null||Mn===void 0||(Mn=Mn.map)===null||Mn===void 0?void 0:Mn.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>Xt.MAX_CACHE_SIZE+Xt.MAX_CACHE_OFFSET){var xn=this.keys.reduce(function(Gn,ur){var Mr=(0,r.Z)(Gn,2),xr=Mr[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 Mn=this.cache;sr.forEach(function(Gn,ur){if(ur===sr.length-1)Mn.set(Gn,{value:[vr,wr.cacheCallTimes++]});else{var Mr=Mn.get(Gn);Mr?Mr.map||(Mr.map=new Map):Mn.set(Gn,{map:new Map}),Mn=Mn.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!He(vr,sr)}),this.deleteByPath(this.cache,sr)}}]),Xt}();(0,i.Z)(je,"MAX_CACHE_SIZE",20),(0,i.Z)(je,"MAX_CACHE_OFFSET",5);var Zt=e(48736),yt=0,Dt=function(){function Xt(fr){(0,_.Z)(this,Xt),(0,i.Z)(this,"derivatives",void 0),(0,i.Z)(this,"id",void 0),this.derivatives=Array.isArray(fr)?fr:[fr],this.id=yt,fr.length===0&&(0,Zt.Kp)(fr.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),yt+=1}return(0,b.Z)(Xt,[{key:"getDerivativeToken",value:function(sr){return this.derivatives.reduce(function(vr,wr){return wr(sr,vr)},void 0)}}]),Xt}(),Qt=new je;function Jt(Xt){var fr=Array.isArray(Xt)?Xt:[Xt];return Qt.has(fr)||Qt.set(fr,new Dt(fr)),Qt.get(fr)}var qt=new WeakMap,Xe={};function Tt(Xt,fr){for(var sr=qt,vr=0;vr<fr.length;vr+=1){var wr=fr[vr];sr.has(wr)||sr.set(wr,new WeakMap),sr=sr.get(wr)}return sr.has(Xe)||sr.set(Xe,Xt()),sr.get(Xe)}var jt=new WeakMap;function st(Xt){var fr=jt.get(Xt)||"";return fr||(Object.keys(Xt).forEach(function(sr){var vr=Xt[sr];fr+=sr,vr instanceof Dt?fr+=vr.id:vr&&(0,ue.Z)(vr)==="object"?fr+=st(vr):fr+=vr}),fr=s(fr),jt.set(Xt,fr)),fr}function gt(Xt,fr){return s("".concat(fr,"_").concat(st(Xt)))}var dt="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Je="_bAmBoO_";function Ue(Xt,fr,sr){if((0,K.Z)()){var vr,wr;(0,h.hq)(Xt,dt);var xn=document.createElement("div");xn.style.position="fixed",xn.style.left="0",xn.style.top="0",fr==null||fr(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)(dt),Sn}return!1}var ge=null;function Se(){return ge===void 0&&(ge=Ue("@layer ".concat(dt," { .").concat(dt,' { content: "').concat(Je,'"!important; } }'),function(Xt){Xt.className=dt})),ge}var Me=void 0;function $e(){return Me===void 0&&(Me=Ue(":where(.".concat(dt,') { content: "').concat(Je,'"!important; }'),function(Xt){Xt.className=dt})),Me}var We=void 0;function nt(){return We===void 0&&(We=Ue(".".concat(dt," { inset-block: 93px !important; }"),function(Xt){Xt.className=dt},function(Xt){return getComputedStyle(Xt).bottom==="93px"})),We}var lt=(0,K.Z)();function Vt(Xt){return typeof Xt=="number"?"".concat(Xt,"px"):Xt}function Ht(Xt,fr,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 Xt;var Sn=(0,c.Z)((0,c.Z)({},wr),{},(vr={},(0,i.Z)(vr,M,fr),(0,i.Z)(vr,N,sr),vr)),Un=Object.keys(Sn).map(function(Mn){var Gn=Sn[Mn];return Gn?"".concat(Mn,'="').concat(Gn,'"'):null}).filter(function(Mn){return Mn}).join(" ");return"<style ".concat(Un,">").concat(Xt,"</style>")}var Ie=function(fr){var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(sr?"".concat(sr,"-"):"").concat(fr).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(fr,sr,vr){return Object.keys(fr).length?".".concat(sr).concat(vr!=null&&vr.scope?".".concat(vr.scope):"","{").concat(Object.entries(fr).map(function(wr){var xn=(0,r.Z)(wr,2),Sn=xn[0],Un=xn[1];return"".concat(Sn,":").concat(Un,";")}).join(""),"}"):""},Gt=function(fr,sr,vr){var wr={},xn={};return Object.entries(fr).forEach(function(Sn){var Un,Mn,Gn=(0,r.Z)(Sn,2),ur=Gn[0],Mr=Gn[1];if(vr!=null&&(Un=vr.preserve)!==null&&Un!==void 0&&Un[ur])xn[ur]=Mr;else if((typeof Mr=="string"||typeof Mr=="number")&&!(vr!=null&&(Mn=vr.ignore)!==null&&Mn!==void 0&&Mn[ur])){var xr,vn=Ie(ur,vr==null?void 0:vr.prefix);wr[vn]=typeof Mr=="number"&&!(vr!=null&&(xr=vr.unitless)!==null&&xr!==void 0&&xr[ur])?"".concat(Mr,"px"):String(Mr),xn[ur]="var(".concat(vn,")")}}),[xn,qe(wr,sr,{scope:vr==null?void 0:vr.scope})]},Ot=e(34280),zt=(0,c.Z)({},a),$t=zt.useInsertionEffect,tr=function(fr,sr,vr){u.useMemo(fr,vr),(0,Ot.Z)(function(){return sr(!0)},vr)},Wt=$t?function(Xt,fr,sr){return $t(function(){return Xt(),fr()},sr)}:tr,Fe=Wt,fe=(0,c.Z)({},a),pe=fe.useInsertionEffect,Pt=function(fr){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()})}},fr),wr},Ce=function(){return function(fr){fr()}},ft=typeof pe!="undefined"?Pt:Ce,Ut=ft;function At(){return!1}var Oe=!1;function wt(){return Oe}var be=At;if(0)var Ke,mt;function kt(Xt,fr,sr,vr,wr){var xn=u.useContext(ie),Sn=xn.cache,Un=[Xt].concat((0,l.Z)(fr)),Mn=R(Un),Gn=Ut([Mn]),ur=be(),Mr=function(ct){Sn.opUpdate(Mn,function(In){var Vn=In||[void 0,void 0],ci=(0,r.Z)(Vn,2),Qi=ci[0],Br=Qi===void 0?0:Qi,Mi=ci[1],ba=Mi,Ur=ba||sr(),na=[Br,Ur];return ct?ct(na):na})};u.useMemo(function(){Mr()},[Mn]);var xr=Sn.opGet(Mn),vn=xr[1];return Fe(function(){wr==null||wr(vn)},function(Hn){return Mr(function(ct){var In=(0,r.Z)(ct,2),Vn=In[0],ci=In[1];return Hn&&Vn===0&&(wr==null||wr(vn)),[Vn+1,ci]}),function(){Sn.opUpdate(Mn,function(ct){var In=ct||[],Vn=(0,r.Z)(In,2),ci=Vn[0],Qi=ci===void 0?0:ci,Br=Vn[1],Mi=Qi-1;return Mi===0?(Gn(function(){(Hn||!Sn.opGet(Mn))&&(vr==null||vr(Br,!1))}),null):[Qi-1,Br]})}},[Mn]),vn}var Be={},kr="css",St=new Map;function Vr(Xt){St.set(Xt,(St.get(Xt)||0)+1)}function Jr(Xt,fr){if(typeof document!="undefined"){var sr=document.querySelectorAll("style[".concat(M,'="').concat(Xt,'"]'));sr.forEach(function(vr){if(vr[Q]===fr){var wr;(wr=vr.parentNode)===null||wr===void 0||wr.removeChild(vr)}})}}var Ar=0;function Fr(Xt,fr){St.set(Xt,(St.get(Xt)||0)-1);var sr=Array.from(St.keys()),vr=sr.filter(function(wr){var xn=St.get(wr)||0;return xn<=0});sr.length-vr.length>Ar&&vr.forEach(function(wr){Jr(wr,fr),St.delete(wr)})}var mr=function(fr,sr,vr,wr){var xn=vr.getDerivativeToken(fr),Sn=(0,c.Z)((0,c.Z)({},xn),sr);return wr&&(Sn=wr(Sn)),Sn},jr="token";function on(Xt,fr){var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},vr=(0,u.useContext)(ie),wr=vr.cache.instanceId,xn=vr.container,Sn=sr.salt,Un=Sn===void 0?"":Sn,Mn=sr.override,Gn=Mn===void 0?Be:Mn,ur=sr.formatToken,Mr=sr.getComputedToken,xr=sr.cssVar,vn=Tt(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(fr)))},fr),Hn=st(vn),ct=st(Gn),In=xr?st(xr):"",Vn=kt(jr,[Un,Xt.id,Hn,ct,In],function(){var ci,Qi=Mr?Mr(vn,Gn,Xt):mr(vn,Gn,Xt,ur),Br=(0,c.Z)({},Qi),Mi="";if(xr){var ba=Gt(Qi,xr.key,{prefix:xr.prefix,ignore:xr.ignore,unitless:xr.unitless,preserve:xr.preserve}),Ur=(0,r.Z)(ba,2);Qi=Ur[0],Mi=Ur[1]}var na=gt(Qi,Un);Qi._tokenKey=na,Br._tokenKey=gt(Br,Un);var Ss=(ci=xr==null?void 0:xr.key)!==null&&ci!==void 0?ci:na;Qi._themeKey=Ss,Vr(Ss);var fi="".concat(kr,"-").concat(s(na));return Qi._hashId=fi,[Qi,fi,Br,Mi,(xr==null?void 0:xr.key)||""]},function(ci){Fr(ci[0]._themeKey,wr)},function(ci){var Qi=(0,r.Z)(ci,4),Br=Qi[0],Mi=Qi[3];if(xr&&Mi){var ba=(0,h.hq)(Mi,s("css-variables-".concat(Br._themeKey)),{mark:N,prepend:"queue",attachTo:xn,priority:-999});ba[Q]=wr,ba.setAttribute(M,Br._themeKey)}});return Vn}var fn=function(fr,sr,vr){var wr=(0,r.Z)(fr,5),xn=wr[2],Sn=wr[3],Un=wr[4],Mn=vr||{},Gn=Mn.plain;if(!Sn)return null;var ur=xn._tokenKey,Mr=-999,xr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Mr)},vn=Ht(Sn,Un,ur,xr,Gn);return[Mr,ur,vn]},or=e(5016),Rt={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},_t=Rt,vt="-ms-",Bt="-moz-",Cr="-webkit-",gr="comm",rn="rule",Kr="decl",Pn="@page",Ct="@media",cr="@import",Xr="@charset",pn="@viewport",$n="@supports",si="@document",zn="@namespace",Li="@keyframes",ui="@font-face",mi="@counter-style",wi="@font-feature-values",gi="@layer",Xi="@scope",qn=Math.abs,Yi=String.fromCharCode,Et=Object.assign;function ot(Xt,fr){return yi(Xt,0)^45?(((fr<<2^yi(Xt,0))<<2^yi(Xt,1))<<2^yi(Xt,2))<<2^yi(Xt,3):0}function Jn(Xt){return Xt.trim()}function Ai(Xt,fr){return(Xt=fr.exec(Xt))?Xt[0]:Xt}function ei(Xt,fr,sr){return Xt.replace(fr,sr)}function Gi(Xt,fr,sr){return Xt.indexOf(fr,sr)}function yi(Xt,fr){return Xt.charCodeAt(fr)|0}function ai(Xt,fr,sr){return Xt.slice(fr,sr)}function En(Xt){return Xt.length}function er(Xt){return Xt.length}function pt(Xt,fr){return fr.push(Xt),Xt}function rt(Xt,fr){return Xt.map(fr).join("")}function It(Xt,fr){return Xt.filter(function(sr){return!Ai(sr,fr)})}function ht(Xt,fr){for(var sr="",vr=0;vr<Xt.length;vr++)sr+=fr(Xt[vr],vr,Xt,fr)||"";return sr}function lr(Xt,fr,sr,vr){switch(Xt.type){case gi:if(Xt.children.length)break;case cr:case zn:case Kr:return Xt.return=Xt.return||Xt.value;case gr:return"";case Li:return Xt.return=Xt.value+"{"+ht(Xt.children,vr)+"}";case rn:if(!En(Xt.value=Xt.props.join(",")))return""}return En(sr=ht(Xt.children,vr))?Xt.return=Xt.value+"{"+sr+"}":""}var dr=1,Ir=1,Zr=0,Ze=0,et=0,Ee="";function it(Xt,fr,sr,vr,wr,xn,Sn,Un){return{value:Xt,root:fr,parent:sr,type:vr,props:wr,children:xn,line:dr,column:Ir,length:Sn,return:"",siblings:Un}}function ir(Xt,fr){return assign(it("",null,null,"",null,null,0,Xt.siblings),Xt,{length:-Xt.length},fr)}function Dr(Xt){for(;Xt.root;)Xt=ir(Xt.root,{children:[Xt]});append(Xt,Xt.siblings)}function Er(){return et}function Or(){return et=Ze>0?yi(Ee,--Ze):0,Ir--,et===10&&(Ir=1,dr--),et}function Nr(){return et=Ze<Zr?yi(Ee,Ze++):0,Ir++,et===10&&(Ir=1,dr++),et}function bn(){return yi(Ee,Ze)}function Pr(){return Ze}function ln(Xt,fr){return ai(Ee,Xt,fr)}function nn(Xt){switch(Xt){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 cn(Xt){return dr=Ir=1,Zr=En(Ee=Xt),Ze=0,[]}function An(Xt){return Ee="",Xt}function pa(Xt){return Jn(ln(Ze-1,$i(Xt===91?Xt+2:Xt===40?Xt+1:Xt)))}function Pi(Xt){return An(_n(cn(Xt)))}function bi(Xt){for(;(et=bn())&&et<33;)Nr();return nn(Xt)>2||nn(et)>3?"":" "}function _n(Xt){for(;Nr();)switch(nn(et)){case 0:append(xs(Ze-1),Xt);break;case 2:append(pa(et),Xt);break;default:append(from(et),Xt)}return Xt}function li(Xt,fr){for(;--fr&&Nr()&&!(et<48||et>102||et>57&&et<65||et>70&&et<97););return ln(Xt,Pr()+(fr<6&&bn()==32&&Nr()==32))}function $i(Xt){for(;Nr();)switch(et){case Xt:return Ze;case 34:case 39:Xt!==34&&Xt!==39&&$i(et);break;case 40:Xt===41&&$i(Xt);break;case 92:Nr();break}return Ze}function la(Xt,fr){for(;Nr()&&Xt+et!==57;)if(Xt+et===84&&bn()===47)break;return"/*"+ln(fr,Ze-1)+"*"+Yi(Xt===47?Xt:Nr())}function xs(Xt){for(;!nn(bn());)Nr();return ln(Xt,Ze)}function Pa(Xt){return An(Na("",null,null,null,[""],Xt=cn(Xt),0,[0],Xt))}function Na(Xt,fr,sr,vr,wr,xn,Sn,Un,Mn){for(var Gn=0,ur=0,Mr=Sn,xr=0,vn=0,Hn=0,ct=1,In=1,Vn=1,ci=0,Qi="",Br=wr,Mi=xn,ba=vr,Ur=Qi;In;)switch(Hn=ci,ci=Nr()){case 40:if(Hn!=108&&yi(Ur,Mr-1)==58){Gi(Ur+=ei(pa(ci),"&","&\f"),"&\f",qn(Gn?Un[Gn-1]:0))!=-1&&(Vn=-1);break}case 34:case 39:case 91:Ur+=pa(ci);break;case 9:case 10:case 13:case 32:Ur+=bi(Hn);break;case 92:Ur+=li(Pr()-1,7);continue;case 47:switch(bn()){case 42:case 47:pt($a(la(Nr(),Pr()),fr,sr,Mn),Mn),(nn(Hn||1)==5||nn(bn()||1)==5)&&En(Ur)&&ai(Ur,-1,void 0)!==" "&&(Ur+=" ");break;default:Ur+="/"}break;case 123*ct:Un[Gn++]=En(Ur)*Vn;case 125*ct:case 59:case 0:switch(ci){case 0:case 125:In=0;case 59+ur:Vn==-1&&(Ur=ei(Ur,/\f/g,"")),vn>0&&(En(Ur)-Mr||ct===0&&Hn===47)&&pt(vn>32?hs(Ur+";",vr,sr,Mr-1,Mn):hs(ei(Ur," ","")+";",vr,sr,Mr-2,Mn),Mn);break;case 59:Ur+=";";default:if(pt(ba=Is(Ur,fr,sr,Gn,ur,wr,Un,Qi,Br=[],Mi=[],Mr,xn),xn),ci===123)if(ur===0)Na(Ur,fr,ba,ba,Br,xn,Mr,Un,Mi);else{switch(xr){case 99:if(yi(Ur,3)===110)break;case 108:if(yi(Ur,2)===97)break;default:ur=0;case 100:case 109:case 115:}ur?Na(Xt,ba,ba,vr&&pt(Is(Xt,ba,ba,0,0,wr,Un,Qi,wr,Br=[],Mr,Mi),Mi),wr,Mi,Mr,Un,vr?Br:Mi):Na(Ur,ba,ba,ba,[""],Mi,0,Un,Mi)}}Gn=ur=vn=0,ct=Vn=1,Qi=Ur="",Mr=Sn;break;case 58:Mr=1+En(Ur),vn=Hn;default:if(ct<1){if(ci==123)--ct;else if(ci==125&&ct++==0&&Or()==125)continue}switch(Ur+=Yi(ci),ci*ct){case 38:Vn=ur>0?1:(Ur+="\f",-1);break;case 44:Un[Gn++]=(En(Ur)-1)*Vn,Vn=1;break;case 64:bn()===45&&(Ur+=pa(Nr())),xr=bn(),ur=Mr=En(Qi=Ur+=xs(Pr())),ci++;break;case 45:Hn===45&&En(Ur)==2&&(ct=0)}}return xn}function Is(Xt,fr,sr,vr,wr,xn,Sn,Un,Mn,Gn,ur,Mr){for(var xr=wr-1,vn=wr===0?xn:[""],Hn=er(vn),ct=0,In=0,Vn=0;ct<vr;++ct)for(var ci=0,Qi=ai(Xt,xr+1,xr=qn(In=Sn[ct])),Br=Xt;ci<Hn;++ci)(Br=Jn(In>0?vn[ci]+" "+Qi:ei(Qi,/&\f/g,vn[ci])))&&(Mn[Vn++]=Br);return it(Xt,fr,sr,wr===0?rn:Un,Mn,Gn,ur,Mr)}function $a(Xt,fr,sr,vr){return it(Xt,fr,sr,gr,Yi(Er()),ai(Xt,2,-2),0,vr)}function hs(Xt,fr,sr,vr,wr){return it(Xt,fr,sr,Kr,ai(Xt,0,vr),ai(Xt,vr+1,-1),vr,wr)}function oa(Xt,fr){var sr=fr.path,vr=fr.parentSelectors;(0,Zt.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(sr?"Error in ".concat(sr,": "):"").concat(Xt).concat(vr.length?" Selector: ".concat(vr.join(" | ")):""))}var xi=function(fr,sr,vr){if(fr==="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(fr,sr,vr){fr==="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)},ji=null;function ps(Xt){var fr,sr=((fr=Xt.match(/:not\(([^)]*)\)/))===null||fr===void 0?void 0:fr[1])||"",vr=sr.split(/(\[[^[]*])|(?=[.#])/).filter(function(wr){return wr});return vr.length>1}function Co(Xt){return Xt.parentSelectors.reduce(function(fr,sr){return fr?sr.includes("&")?sr.replace(/&/g,fr):"".concat(fr," ").concat(sr):sr},"")}var La=function(fr,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,Ui=function(fr,sr,vr){switch(fr){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(fr,"' 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(fr,"' property with different left ").concat(fr," and right ").concat(fr,", 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(fr,", 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,Mn){if(Un)return Un;var Gn=Mn.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(fr,", 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=Ui,Ln=function(fr,sr,vr){(typeof sr=="string"&&/NaN/g.test(sr)||Number.isNaN(sr))&&oa("Unexpected 'NaN' in property '".concat(fr,": ").concat(sr,"'."),vr)},ja=Ln,ns=function(fr,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(Xt){return Object.keys(Xt).map(function(fr){var sr=Xt[fr];return"".concat(fr,":").concat(sr)}).join(";")}var ms,Bs=!0;function _o(Xt){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;ms=Xt,Bs=fr}function To(){if(!ms&&(ms={},(0,K.Z)())){var Xt=document.createElement("div");Xt.className=Vi,Xt.style.position="fixed",Xt.style.visibility="hidden",Xt.style.top="-9999px",document.body.appendChild(Xt);var fr=getComputedStyle(Xt).content||"";fr=fr.replace(/^"/,"").replace(/"$/,""),fr.split(";").forEach(function(wr){var xn=wr.split(":"),Sn=(0,r.Z)(xn,2),Un=Sn[0],Mn=Sn[1];ms[Un]=Mn});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(Xt)}}function Vo(Xt){return To(),!!ms[Xt]}function uo(Xt){var fr=ms[Xt],sr=null;if(fr&&(0,K.Z)())if(Bs)sr=Ia;else{var vr=document.querySelector("style[".concat(N,'="').concat(ms[Xt],'"]'));vr?sr=vr.innerHTML:delete ms[Xt]}return[sr,fr]}var ca="_skip_check_",cs="_multi_value_";function mo(Xt){var fr=ht(Pa(Xt),lr);return fr.replace(/\{%%%\:[^;];}/g,";")}function vo(Xt){return(0,ue.Z)(Xt)==="object"&&Xt&&(ca in Xt||cs in Xt)}function go(Xt,fr,sr){if(!fr)return Xt;var vr=".".concat(fr),wr=sr==="low"?":where(".concat(vr,")"):vr,xn=Xt.split(",").map(function(Sn){var Un,Mn=Sn.trim().split(/\s+/),Gn=Mn[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)(Mn.slice(1))).join(" ")});return xn.join(",")}var pi=function Xt(fr){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,Mn=sr.layer,Gn=sr.path,ur=sr.hashPriority,Mr=sr.transformers,xr=Mr===void 0?[]:Mr,vn=sr.linters,Hn=vn===void 0?[]:vn,ct="",In={};function Vn(Br){var Mi=Br.getName(Un);if(!In[Mi]){var ba=Xt(Br.style,sr,{root:!1,parentSelectors:Sn}),Ur=(0,r.Z)(ba,1),na=Ur[0];In[Mi]="@keyframes ".concat(Br.getName(Un)).concat(na)}}function ci(Br){var Mi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Br.forEach(function(ba){Array.isArray(ba)?ci(ba,Mi):ba&&Mi.push(ba)}),Mi}var Qi=ci(Array.isArray(fr)?fr:[fr]);return Qi.forEach(function(Br){var Mi=typeof Br=="string"&&!wr?{}:Br;if(typeof Mi=="string")ct+="".concat(Mi,`
|
|
|
`);else if(Mi._keyframe)Vn(Mi);else{var ba=xr.reduce(function(Ur,na){var Ss;return(na==null||(Ss=na.visit)===null||Ss===void 0?void 0:Ss.call(na,Ur))||Ur},Mi);Object.keys(ba).forEach(function(Ur){var na=ba[Ur];if((0,ue.Z)(na)==="object"&&na&&(Ur!=="animationName"||!na._keyframe)&&!vo(na)){var Ss=!1,fi=Ur.trim(),Vs=!1;(wr||xn)&&Un?fi.startsWith("@")?Ss=!0:fi==="&"?fi=go("",Un,ur):fi=go(Ur,Un,ur):wr&&!Un&&(fi==="&"||fi==="")&&(fi="",Vs=!0);var xo=Xt(na,sr,{root:Vs,injectHash:Ss,parentSelectors:[].concat((0,l.Z)(Sn),[fi])}),Os=(0,r.Z)(xo,2),xa=Os[0],ds=Os[1];In=(0,c.Z)((0,c.Z)({},In),ds),ct+="".concat(fi).concat(xa)}else{let gs=function(Ns,Ye){var Qe=Ns.replace(/[A-Z]/g,function(Kt){return"-".concat(Kt.toLowerCase())}),Lt=Ye;!_t[Ns]&&typeof Lt=="number"&&Lt!==0&&(Lt="".concat(Lt,"px")),Ns==="animationName"&&Ye!==null&&Ye!==void 0&&Ye._keyframe&&(Vn(Ye),Lt=Ye.getName(Un)),ct+="".concat(Qe,":").concat(Lt,";")};var ks,Dn=(ks=na==null?void 0:na.value)!==null&&ks!==void 0?ks:na;(0,ue.Z)(na)==="object"&&na!==null&&na!==void 0&&na[cs]&&Array.isArray(Dn)?Dn.forEach(function(Ns){gs(Ur,Ns)}):gs(Ur,Dn)}})}}),wr?Mn&&(ct&&(ct="@layer ".concat(Mn.name," {").concat(ct,"}")),Mn.dependencies&&(In["@layer ".concat(Mn.name)]=Mn.dependencies.map(function(Br){return"@layer ".concat(Br,", ").concat(Mn.name,";")}).join(`
|
|
|
`))):ct="{".concat(ct,"}"),[ct,In]};function oi(Xt,fr){return s("".concat(Xt.join("%")).concat(fr))}function Fa(){return null}var Va="style";function Xa(Xt,fr){var sr=Xt.token,vr=Xt.path,wr=Xt.hashId,xn=Xt.layer,Sn=Xt.nonce,Un=Xt.clientOnly,Mn=Xt.order,Gn=Mn===void 0?0:Mn,ur=u.useContext(ie),Mr=ur.autoClear,xr=ur.mock,vn=ur.defaultCache,Hn=ur.hashPriority,ct=ur.container,In=ur.ssrInline,Vn=ur.transformers,ci=ur.linters,Qi=ur.cache,Br=ur.layer,Mi=sr._tokenKey,ba=[Mi];Br&&ba.push("layer"),ba.push.apply(ba,(0,l.Z)(vr));var Ur=lt,na=kt(Va,ba,function(){var Os=ba.join("|");if(Vo(Os)){var xa=uo(Os),ds=(0,r.Z)(xa,2),ks=ds[0],Dn=ds[1];if(ks)return[ks,Mi,Dn,{},Un,Gn]}var gs=fr(),Ns=pi(gs,{hashId:wr,hashPriority:Hn,layer:Br?xn:void 0,path:vr.join("-"),transformers:Vn,linters:ci}),Ye=(0,r.Z)(Ns,2),Qe=Ye[0],Lt=Ye[1],Kt=mo(Qe),pr=oi(ba,Kt);return[Kt,Mi,pr,Lt,Un,Gn]},function(Os,xa){var ds=(0,r.Z)(Os,3),ks=ds[2];(xa||Mr)&<&&(0,h.jL)(ks,{mark:N})},function(Os){var xa=(0,r.Z)(Os,4),ds=xa[0],ks=xa[1],Dn=xa[2],gs=xa[3];if(Ur&&ds!==Ia){var Ns={mark:N,prepend:Br?!1:"queue",attachTo:ct,priority:Gn},Ye=typeof Sn=="function"?Sn():Sn;Ye&&(Ns.csp={nonce:Ye});var Qe=[],Lt=[];Object.keys(gs).forEach(function(pr){pr.startsWith("@layer")?Qe.push(pr):Lt.push(pr)}),Qe.forEach(function(pr){(0,h.hq)(mo(gs[pr]),"_layer-".concat(pr),(0,c.Z)((0,c.Z)({},Ns),{},{prepend:!0}))});var Kt=(0,h.hq)(ds,Dn,Ns);Kt[Q]=Qi.instanceId,Kt.setAttribute(M,Mi),Lt.forEach(function(pr){(0,h.hq)(mo(gs[pr]),"_effect-".concat(pr),Ns)})}}),Ss=(0,r.Z)(na,3),fi=Ss[0],Vs=Ss[1],xo=Ss[2];return function(Os){var xa;if(!In||Ur||!vn)xa=u.createElement(Fa,null);else{var ds;xa=u.createElement("style",(0,or.Z)({},(ds={},(0,i.Z)(ds,M,Vs),(0,i.Z)(ds,N,xo),ds),{dangerouslySetInnerHTML:{__html:fi}}))}return u.createElement(u.Fragment,null,xa,Os)}}var lo=function(fr,sr,vr){var wr=(0,r.Z)(fr,6),xn=wr[0],Sn=wr[1],Un=wr[2],Mn=wr[3],Gn=wr[4],ur=wr[5],Mr=vr||{},xr=Mr.plain;if(Gn)return null;var vn=xn,Hn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(ur)};return vn=Ht(xn,Sn,Un,Hn,xr),Mn&&Object.keys(Mn).forEach(function(ct){if(!sr[ct]){sr[ct]=!0;var In=mo(Mn[ct]),Vn=Ht(In,Sn,"_effect-".concat(ct),Hn,xr);ct.startsWith("@layer")?vn=Vn+vn:vn+=Vn}}),[ur,Un,vn]},co="cssVar",Po=function(fr,sr){var vr=fr.key,wr=fr.prefix,xn=fr.unitless,Sn=fr.ignore,Un=fr.token,Mn=fr.scope,Gn=Mn===void 0?"":Mn,ur=(0,u.useContext)(ie),Mr=ur.cache.instanceId,xr=ur.container,vn=Un._tokenKey,Hn=[].concat((0,l.Z)(fr.path),[vr,Gn,vn]),ct=kt(co,Hn,function(){var In=sr(),Vn=Gt(In,vr,{prefix:wr,unitless:xn,ignore:Sn,scope:Gn}),ci=(0,r.Z)(Vn,2),Qi=ci[0],Br=ci[1],Mi=oi(Hn,Br);return[Qi,Br,Mi,vr]},function(In){var Vn=(0,r.Z)(In,3),ci=Vn[2];lt&&(0,h.jL)(ci,{mark:N})},function(In){var Vn=(0,r.Z)(In,3),ci=Vn[1],Qi=Vn[2];if(ci){var Br=(0,h.hq)(ci,Qi,{mark:N,prepend:"queue",attachTo:xr,priority:-999});Br[Q]=Mr,Br.setAttribute(M,vr)}});return ct},Qa=function(fr,sr,vr){var wr=(0,r.Z)(fr,4),xn=wr[1],Sn=wr[2],Un=wr[3],Mn=vr||{},Gn=Mn.plain;if(!xn)return null;var ur=-999,Mr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(ur)},xr=Ht(xn,Un,Sn,Mr,Gn);return[ur,Sn,xr]},Lo=Po,yo,Ko=(yo={},(0,i.Z)(yo,Va,lo),(0,i.Z)(yo,jr,fn),(0,i.Z)(yo,co,Qa),yo);function Tu(Xt){return Xt!==null}function _u(Xt,fr){var sr=typeof fr=="boolean"?{plain:fr}:fr||{},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("|"),")%")),Mn=Array.from(Xt.cache.keys()).filter(function(xr){return Un.test(xr)}),Gn={},ur={},Mr="";return Mn.map(function(xr){var vn=xr.replace(Un,"").replace(/%/g,"|"),Hn=xr.split("%"),ct=(0,r.Z)(Hn,1),In=ct[0],Vn=Ko[In],ci=Vn(Xt.cache.get(xr)[1],Gn,{plain:wr});if(!ci)return null;var Qi=(0,r.Z)(ci,3),Br=Qi[0],Mi=Qi[1],ba=Qi[2];return xr.startsWith("style")&&(ur[vn]=Mi),[Br,ba]}).filter(Tu).sort(function(xr,vn){var Hn=(0,r.Z)(xr,1),ct=Hn[0],In=(0,r.Z)(vn,1),Vn=In[0];return ct-Vn}).forEach(function(xr){var vn=(0,r.Z)(xr,2),Hn=vn[1];Mr+=Hn}),Mr+=Ht(".".concat(Vi,'{content:"').concat(Da(ur),'";}'),void 0,void 0,(0,i.Z)({},Vi,Vi),wr),Mr}var fo=function(){function Xt(fr,sr){(0,_.Z)(this,Xt),(0,i.Z)(this,"name",void 0),(0,i.Z)(this,"style",void 0),(0,i.Z)(this,"_keyframe",!0),this.name=fr,this.style=sr}return(0,b.Z)(Xt,[{key:"getName",value:function(){var sr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return sr?"".concat(sr,"-").concat(this.name):this.name}}]),Xt}(),fs=fo;function zu(Xt){if(typeof Xt=="number")return[[Xt],!1];var fr=String(Xt).trim(),sr=fr.match(/(.*)(!important)/),vr=(sr?sr[1]:fr).trim().split(/\s+/),wr=[],xn=0;return[vr.reduce(function(Sn,Un){if(Un.includes("(")||Un.includes(")")){var Mn=Un.split("(").length-1,Gn=Un.split(")").length-1;xn+=Mn-Gn}return xn>=0&&wr.push(Un),xn===0&&(Sn.push(wr.join(" ")),wr=[]),Sn},[]),!!sr]}function Mo(Xt){return Xt.notSplit=!0,Xt}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(Xt,fr){var sr=Xt;return fr&&(sr="".concat(sr," !important")),{_skip_check_:!0,value:sr}}var ou={visit:function(fr){var sr={};return Object.keys(fr).forEach(function(vr){var wr=fr[vr],xn=Io[vr];if(xn&&(typeof wr=="number"||typeof wr=="string")){var Sn=zu(wr),Un=(0,r.Z)(Sn,2),Mn=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(Mn[0],Gn):xn.length===2?xn.forEach(function(ur,Mr){var xr;sr[ur]=Us((xr=Mn[Mr])!==null&&xr!==void 0?xr:Mn[0],Gn)}):xn.length===4?xn.forEach(function(ur,Mr){var xr,vn;sr[ur]=Us((xr=(vn=Mn[Mr])!==null&&vn!==void 0?vn:Mn[Mr-2])!==null&&xr!==void 0?xr:Mn[0],Gn)}):sr[vr]=wr}else sr[vr]=wr}),sr}},jo=ou,Do=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Ls(Xt,fr){var sr=Math.pow(10,fr+1),vr=Math.floor(Xt*sr);return Math.round(vr/10)*10/sr}var bo=function(){var fr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},sr=fr.rootValue,vr=sr===void 0?16:sr,wr=fr.precision,xn=wr===void 0?5:wr,Sn=fr.mediaQuery,Un=Sn===void 0?!1:Sn,Mn=function(Mr,xr){if(!xr)return Mr;var vn=parseFloat(xr);if(vn<=1)return Mr;var Hn=Ls(vn/vr,xn);return"".concat(Hn,"rem")},Gn=function(Mr){var xr=(0,c.Z)({},Mr);return Object.entries(Mr).forEach(function(vn){var Hn=(0,r.Z)(vn,2),ct=Hn[0],In=Hn[1];if(typeof In=="string"&&In.includes("px")){var Vn=In.replace(Do,Mn);xr[ct]=Vn}!_t[ct]&&typeof In=="number"&&In!==0&&(xr[ct]="".concat(In,"px").replace(Do,Mn));var ci=ct.trim();if(ci.startsWith("@")&&ci.includes("px")&&Un){var Qi=ct.replace(Do,Mn);xr[Qi]=xr[ct],delete xr[ct]}}),xr};return{visit:Gn}},mu=bo,Fo={supportModernCSS:function(){return $e()&&nt()}}},7657:function(d,v,e){"use strict";e.d(v,{Z:function(){return le}});var r=e(5016),i=e(52456),l=e(18082),c=e(5883),f=e(59301),s=e(92310),h=e.n(s),u=e(30071),a=e(18418),x=e(20049),p=e(10928),y=e(810),_=e(96452),b=e(48736);function S(z){return z.replace(/-(.)/g,function(F,se){return se.toUpperCase()})}function R(z,F){(0,b.ZP)(z,"[@ant-design/icons] ".concat(F))}function L(z){return(0,p.Z)(z)==="object"&&typeof z.name=="string"&&typeof z.theme=="string"&&((0,p.Z)(z.icon)==="object"||typeof z.icon=="function")}function T(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(z).reduce(function(F,se){var _e=z[se];switch(se){case"class":F.className=_e,delete F.class;break;default:delete F[se],F[S(se)]=_e}return F},{})}function D(z,F,se){return se?f.createElement(z.tag,(0,x.Z)((0,x.Z)({key:F},T(z.attrs)),se),(z.children||[]).map(function(_e,Pe){return D(_e,"".concat(F,"-").concat(z.tag,"-").concat(Pe))})):f.createElement(z.tag,(0,x.Z)({key:F},T(z.attrs)),(z.children||[]).map(function(_e,Pe){return D(_e,"".concat(F,"-").concat(z.tag,"-").concat(Pe))}))}function M(z){return(0,u.generate)(z)[0]}function N(z){return z?Array.isArray(z)?z:[z]:[]}var j={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},Q=`
|
|
|
.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);
|
|
|
}
|
|
|
}
|
|
|
`,X=function(F){var se=(0,f.useContext)(a.Z),_e=se.csp,Pe=se.prefixCls,Re=se.layer,He=Q;Pe&&(He=He.replace(/anticon/g,Pe)),Re&&(He="@layer ".concat(Re,` {
|
|
|
`).concat(He,`
|
|
|
}`)),(0,f.useEffect)(function(){var je=F.current,Zt=(0,_.A)(je);(0,y.hq)(He,"@ant-design-icons",{prepend:!Re,csp:_e,attachTo:Zt})},[])},Y=["icon","className","onClick","style","primaryColor","secondaryColor"],oe={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ie(z){var F=z.primaryColor,se=z.secondaryColor;oe.primaryColor=F,oe.secondaryColor=se||M(F),oe.calculated=!!se}function ue(){return(0,x.Z)({},oe)}var K=function(F){var se=F.icon,_e=F.className,Pe=F.onClick,Re=F.style,He=F.primaryColor,je=F.secondaryColor,Zt=(0,c.Z)(F,Y),yt=f.useRef(),Dt=oe;if(He&&(Dt={primaryColor:He,secondaryColor:je||M(He)}),X(yt),R(L(se),"icon should be icon definiton, but got ".concat(se)),!L(se))return null;var Qt=se;return Qt&&typeof Qt.icon=="function"&&(Qt=(0,x.Z)((0,x.Z)({},Qt),{},{icon:Qt.icon(Dt.primaryColor,Dt.secondaryColor)})),D(Qt.icon,"svg-".concat(Qt.name),(0,x.Z)((0,x.Z)({className:_e,onClick:Pe,style:Re,"data-icon":Qt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Zt),{},{ref:yt}))};K.displayName="IconReact",K.getTwoToneColors=ue,K.setTwoToneColors=ie;var V=K;function G(z){var F=N(z),se=(0,i.Z)(F,2),_e=se[0],Pe=se[1];return V.setTwoToneColors({primaryColor:_e,secondaryColor:Pe})}function te(){var z=V.getTwoToneColors();return z.calculated?[z.primaryColor,z.secondaryColor]:z.primaryColor}var q=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];G(u.blue.primary);var J=f.forwardRef(function(z,F){var se=z.className,_e=z.icon,Pe=z.spin,Re=z.rotate,He=z.tabIndex,je=z.onClick,Zt=z.twoToneColor,yt=(0,c.Z)(z,q),Dt=f.useContext(a.Z),Qt=Dt.prefixCls,Jt=Qt===void 0?"anticon":Qt,qt=Dt.rootClassName,Xe=h()(qt,Jt,(0,l.Z)((0,l.Z)({},"".concat(Jt,"-").concat(_e.name),!!_e.name),"".concat(Jt,"-spin"),!!Pe||_e.name==="loading"),se),Tt=He;Tt===void 0&&je&&(Tt=-1);var jt=Re?{msTransform:"rotate(".concat(Re,"deg)"),transform:"rotate(".concat(Re,"deg)")}:void 0,st=N(Zt),gt=(0,i.Z)(st,2),dt=gt[0],Je=gt[1];return f.createElement("span",(0,r.Z)({role:"img","aria-label":_e.name},yt,{ref:F,tabIndex:Tt,onClick:je,className:Xe}),f.createElement(V,{icon:_e,primaryColor:dt,secondaryColor:Je,style:jt}))});J.displayName="AntdIcon",J.getTwoToneColor=te,J.setTwoToneColor=G;var le=J},18418:function(d,v,e){"use strict";var r=e(59301),i=(0,r.createContext)({});v.Z=i},29679:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(5016),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,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(5016),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,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(5016),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,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(5016),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,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(5016),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,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(5016),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,v,e){"use strict";e.d(v,{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 T=Math.max(S,R,L),D=Math.min(S,R,L),M=0,N=0,j=(T+D)/2;if(T===D)N=0,M=0;else{var Q=T-D;switch(N=j>.5?Q/(2-T-D):Q/(T+D),T){case S:M=(R-L)/Q+(R<L?6:0);break;case R:M=(L-S)/Q+2;break;case L:M=(S-R)/Q+4;break;default:break}M/=6}return{h:M,s:N,l:j}}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 T,D,M;if(S=(0,r.sh)(S,360),R=(0,r.sh)(R,100),L=(0,r.sh)(L,100),R===0)D=L,M=L,T=L;else{var N=L<.5?L*(1+R):L+R-L*R,j=2*L-N;T=c(j,N,S+.3333333333333333),D=c(j,N,S),M=c(j,N,S-.3333333333333333)}return{r:T*255,g:D*255,b:M*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 T=Math.max(S,R,L),D=Math.min(S,R,L),M=0,N=T,j=T-D,Q=T===0?0:j/T;if(T===D)M=0;else{switch(T){case S:M=(R-L)/j+(R<L?6:0);break;case R:M=(L-S)/j+2;break;case L:M=(S-R)/j+4;break;default:break}M/=6}return{h:M,s:Q,v:N}}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 T=Math.floor(S),D=S-T,M=L*(1-R),N=L*(1-D*R),j=L*(1-(1-D)*R),Q=T%6,X=[L,N,M,M,j,L][Q],Y=[j,L,L,N,M,M][Q],oe=[M,M,j,L,L,N][Q];return{r:X*255,g:Y*255,b:oe*255}}function u(S,R,L,T){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 T&&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,T,D){var M=[(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(T))];return D&&M[0].startsWith(M[0].charAt(1))&&M[1].startsWith(M[1].charAt(1))&&M[2].startsWith(M[2].charAt(1))&&M[3].startsWith(M[3].charAt(1))?M[0].charAt(0)+M[1].charAt(0)+M[2].charAt(0)+M[3].charAt(0):M.join("")}function x(S,R,L,T){var D=[(0,r.FZ)(p(T)),(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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,T=null,D=!1,M=!1;return typeof _=="string"&&(_=p(_)),typeof _=="object"&&(y(_.r)&&y(_.g)&&y(_.b)?(b=(0,r.rW)(_.r,_.g,_.b),D=!0,M=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,M="hsv"):y(_.h)&&y(_.s)&&y(_.l)&&(R=(0,l.JX)(_.s),T=(0,l.JX)(_.l),b=(0,r.ve)(_.h,R,T),D=!0,M="hsl"),Object.prototype.hasOwnProperty.call(_,"a")&&(S=_.a)),S=(0,l.Yq)(S),{ok:D,format:_.format||M,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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{Z:function(){return X}});var r=e(52456),i=e(59301),l=e(4676),c=e(47273),f=e(48736),s=e(8654),h=i.createContext(null),u=h,a=e(92393),x=e(34280),p=[];function y(Y,oe){var ie=i.useState(function(){if(!(0,c.Z)())return null;var _e=document.createElement("div");return _e}),ue=(0,r.Z)(ie,1),K=ue[0],V=i.useRef(!1),G=i.useContext(u),te=i.useState(p),q=(0,r.Z)(te,2),J=q[0],le=q[1],z=G||(V.current?void 0:function(_e){le(function(Pe){var Re=[_e].concat((0,a.Z)(Pe));return Re})});function F(){K.parentElement||document.body.appendChild(K),V.current=!0}function se(){var _e;(_e=K.parentElement)===null||_e===void 0||_e.removeChild(K),V.current=!1}return(0,x.Z)(function(){return Y?G?G(F):F():se(),se},[Y]),(0,x.Z)(function(){J.length&&(J.forEach(function(_e){return _e()}),le(p))},[J]),[K,z]}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 T(Y){var oe=!!Y,ie=i.useState(function(){return L+=1,"".concat(R,"_").concat(L)}),ue=(0,r.Z)(ie,1),K=ue[0];(0,x.Z)(function(){if(oe){var V=(0,b.o)(document.body).width,G=S();(0,_.hq)(`
|
|
|
html body {
|
|
|
overflow-y: hidden;
|
|
|
`.concat(G?"width: calc(100% - ".concat(V,"px);"):"",`
|
|
|
}`),K)}else(0,_.jL)(K);return function(){(0,_.jL)(K)}},[oe,K])}var D=!1;function M(Y){return typeof Y=="boolean"&&(D=Y),D}var N=function(oe){return oe===!1?!1:!(0,c.Z)()||!oe?null:typeof oe=="string"?document.querySelector(oe):typeof oe=="function"?oe():oe},j=i.forwardRef(function(Y,oe){var ie=Y.open,ue=Y.autoLock,K=Y.getContainer,V=Y.debug,G=Y.autoDestroy,te=G===void 0?!0:G,q=Y.children,J=i.useState(ie),le=(0,r.Z)(J,2),z=le[0],F=le[1],se=z||ie;i.useEffect(function(){(te||ie)&&F(ie)},[ie,te]);var _e=i.useState(function(){return N(K)}),Pe=(0,r.Z)(_e,2),Re=Pe[0],He=Pe[1];i.useEffect(function(){var st=N(K);He(st!=null?st:null)});var je=y(se&&!Re,V),Zt=(0,r.Z)(je,2),yt=Zt[0],Dt=Zt[1],Qt=Re!=null?Re:yt;T(ue&&ie&&(0,c.Z)()&&(Qt===yt||Qt===document.body));var Jt=null;if(q&&(0,s.Yr)(q)&&oe){var qt=q;Jt=qt.ref}var Xe=(0,s.x1)(Jt,oe);if(!se||!(0,c.Z)()||Re===void 0)return null;var Tt=Qt===!1||M(),jt=q;return oe&&(jt=i.cloneElement(q,{ref:Xe})),i.createElement(u.Provider,{value:Dt},Tt?jt:(0,l.createPortal)(jt,Qt))}),Q=j,X=Q},35593:function(d,v,e){"use strict";e.d(v,{Z:function(){return jt}});var r=e(20049),i=e(52456),l=e(5883),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(5016),R=e(77900),L=e(8654);function T(st){var gt=st.prefixCls,dt=st.align,Je=st.arrow,Ue=st.arrowPos,ge=Je||{},Se=ge.className,Me=ge.content,$e=Ue.x,We=$e===void 0?0:$e,nt=Ue.y,lt=nt===void 0?0:nt,Vt=b.useRef();if(!dt||!dt.points)return null;var Ht={position:"absolute"};if(dt.autoArrow!==!1){var Ie=dt.points[0],qe=dt.points[1],Gt=Ie[0],Ot=Ie[1],zt=qe[0],$t=qe[1];Gt===zt||!["t","b"].includes(Gt)?Ht.top=lt:Gt==="t"?Ht.top=0:Ht.bottom=0,Ot===$t||!["l","r"].includes(Ot)?Ht.left=We:Ot==="l"?Ht.left=0:Ht.right=0}return b.createElement("div",{ref:Vt,className:s()("".concat(gt,"-arrow"),Se),style:Ht},Me)}function D(st){var gt=st.prefixCls,dt=st.open,Je=st.zIndex,Ue=st.mask,ge=st.motion;return Ue?b.createElement(R.default,(0,S.Z)({},ge,{motionAppear:!0,visible:dt,removeOnLeave:!0}),function(Se){var Me=Se.className;return b.createElement("div",{style:{zIndex:Je},className:s()("".concat(gt,"-mask"),Me)})}):null}var M=b.memo(function(st){var gt=st.children;return gt},function(st,gt){return gt.cache}),N=M,j=b.forwardRef(function(st,gt){var dt=st.popup,Je=st.className,Ue=st.prefixCls,ge=st.style,Se=st.target,Me=st.onVisibleChanged,$e=st.open,We=st.keepDom,nt=st.fresh,lt=st.onClick,Vt=st.mask,Ht=st.arrow,Ie=st.arrowPos,qe=st.align,Gt=st.motion,Ot=st.maskMotion,zt=st.forceRender,$t=st.getPopupContainer,tr=st.autoDestroy,Wt=st.portal,Fe=st.zIndex,fe=st.onMouseEnter,pe=st.onMouseLeave,Pt=st.onPointerEnter,Ce=st.ready,ft=st.offsetX,Ut=st.offsetY,At=st.offsetR,Oe=st.offsetB,wt=st.onAlign,be=st.onPrepare,Ke=st.stretch,mt=st.targetWidth,kt=st.targetHeight,Be=typeof dt=="function"?dt():dt,kr=$e||We,St=($t==null?void 0:$t.length)>0,Vr=b.useState(!$t||!St),Jr=(0,i.Z)(Vr,2),Ar=Jr[0],Fr=Jr[1];if((0,y.Z)(function(){!Ar&&St&&Se&&Fr(!0)},[Ar,St,Se]),!Ar)return null;var mr="auto",jr={left:"-1000vw",top:"-1000vh",right:mr,bottom:mr};if(Ce||!$e){var on,fn=qe.points,or=qe.dynamicInset||((on=qe._experimental)===null||on===void 0?void 0:on.dynamicInset),Rt=or&&fn[0][1]==="r",_t=or&&fn[0][0]==="b";Rt?(jr.right=At,jr.left=mr):(jr.left=ft,jr.right=mr),_t?(jr.bottom=Oe,jr.top=mr):(jr.top=Ut,jr.bottom=mr)}var vt={};return Ke&&(Ke.includes("height")&&kt?vt.height=kt:Ke.includes("minHeight")&&kt&&(vt.minHeight=kt),Ke.includes("width")&&mt?vt.width=mt:Ke.includes("minWidth")&&mt&&(vt.minWidth=mt)),$e||(vt.pointerEvents="none"),b.createElement(Wt,{open:zt||kr,getContainer:$t&&function(){return $t(Se)},autoDestroy:tr},b.createElement(D,{prefixCls:Ue,open:$e,zIndex:Fe,mask:Vt,motion:Ot}),b.createElement(h.Z,{onResize:wt,disabled:!$e},function(Bt){return b.createElement(R.default,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:zt,leavedClassName:"".concat(Ue,"-hidden")},Gt,{onAppearPrepare:be,onEnterPrepare:be,visible:$e,onVisibleChanged:function(gr){var rn;Gt==null||(rn=Gt.onVisibleChanged)===null||rn===void 0||rn.call(Gt,gr),Me(gr)}}),function(Cr,gr){var rn=Cr.className,Kr=Cr.style,Pn=s()(Ue,rn,Je);return b.createElement("div",{ref:(0,L.sQ)(Bt,gt,gr),className:Pn,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(Ie.x||0,"px"),"--arrow-y":"".concat(Ie.y||0,"px")},jr),vt),Kr),{},{boxSizing:"border-box",zIndex:Fe},ge),onMouseEnter:fe,onMouseLeave:pe,onPointerEnter:Pt,onClick:lt},Ht&&b.createElement(T,{prefixCls:Ue,arrow:Ht,arrowPos:Ie,align:qe}),b.createElement(N,{cache:!$e&&!nt},Be))})}))}),Q=j,X=b.forwardRef(function(st,gt){var dt=st.children,Je=st.getTriggerDOMNode,Ue=(0,L.Yr)(dt),ge=b.useCallback(function(Me){(0,L.mH)(gt,Je?Je(Me):Me)},[Je]),Se=(0,L.x1)(ge,dt.ref);return Ue?b.cloneElement(dt,{ref:Se}):dt}),Y=X,oe=b.createContext(null),ie=oe;function ue(st){return st?Array.isArray(st)?st:[st]:[]}function K(st,gt,dt,Je){return b.useMemo(function(){var Ue=ue(dt!=null?dt:gt),ge=ue(Je!=null?Je:gt),Se=new Set(Ue),Me=new Set(ge);return st&&(Se.has("hover")&&(Se.delete("hover"),Se.add("click")),Me.has("hover")&&(Me.delete("hover"),Me.add("click"))),[Se,Me]},[st,gt,dt,Je])}var V=e(29194);function G(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],dt=arguments.length>2?arguments[2]:void 0;return dt?st[0]===gt[0]:st[0]===gt[0]&&st[1]===gt[1]}function te(st,gt,dt,Je){for(var Ue=dt.points,ge=Object.keys(st),Se=0;Se<ge.length;Se+=1){var Me,$e=ge[Se];if(G((Me=st[$e])===null||Me===void 0?void 0:Me.points,Ue,Je))return"".concat(gt,"-placement-").concat($e)}return""}function q(st,gt,dt,Je){return gt||(dt?{motionName:"".concat(st,"-").concat(dt)}:Je?{motionName:Je}:null)}function J(st){return st.ownerDocument.defaultView}function le(st){for(var gt=[],dt=st==null?void 0:st.parentElement,Je=["hidden","scroll","clip","auto"];dt;){var Ue=J(dt).getComputedStyle(dt),ge=Ue.overflowX,Se=Ue.overflowY,Me=Ue.overflow;[ge,Se,Me].some(function($e){return Je.includes($e)})&>.push(dt),dt=dt.parentElement}return gt}function z(st){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(st)?gt:st}function F(st){return z(parseFloat(st),0)}function se(st,gt){var dt=(0,r.Z)({},st);return(gt||[]).forEach(function(Je){if(!(Je instanceof HTMLBodyElement||Je instanceof HTMLHtmlElement)){var Ue=J(Je).getComputedStyle(Je),ge=Ue.overflow,Se=Ue.overflowClipMargin,Me=Ue.borderTopWidth,$e=Ue.borderBottomWidth,We=Ue.borderLeftWidth,nt=Ue.borderRightWidth,lt=Je.getBoundingClientRect(),Vt=Je.offsetHeight,Ht=Je.clientHeight,Ie=Je.offsetWidth,qe=Je.clientWidth,Gt=F(Me),Ot=F($e),zt=F(We),$t=F(nt),tr=z(Math.round(lt.width/Ie*1e3)/1e3),Wt=z(Math.round(lt.height/Vt*1e3)/1e3),Fe=(Ie-qe-zt-$t)*tr,fe=(Vt-Ht-Gt-Ot)*Wt,pe=Gt*Wt,Pt=Ot*Wt,Ce=zt*tr,ft=$t*tr,Ut=0,At=0;if(ge==="clip"){var Oe=F(Se);Ut=Oe*tr,At=Oe*Wt}var wt=lt.x+Ce-Ut,be=lt.y+pe-At,Ke=wt+lt.width+2*Ut-Ce-ft-Fe,mt=be+lt.height+2*At-pe-Pt-fe;dt.left=Math.max(dt.left,wt),dt.top=Math.max(dt.top,be),dt.right=Math.min(dt.right,Ke),dt.bottom=Math.min(dt.bottom,mt)}}),dt}function _e(st){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,dt="".concat(gt),Je=dt.match(/^(.*)\%$/);return Je?st*(parseFloat(Je[1])/100):parseFloat(dt)}function Pe(st,gt){var dt=gt||[],Je=(0,i.Z)(dt,2),Ue=Je[0],ge=Je[1];return[_e(st.width,Ue),_e(st.height,ge)]}function Re(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[st[0],st[1]]}function He(st,gt){var dt=gt[0],Je=gt[1],Ue,ge;return dt==="t"?ge=st.y:dt==="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 je(st,gt){var dt={t:"b",b:"t",l:"r",r:"l"};return st.map(function(Je,Ue){return Ue===gt?dt[Je]||"c":Je}).join("")}function Zt(st,gt,dt,Je,Ue,ge,Se){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),We=$e[0],nt=$e[1],lt=b.useRef(0),Vt=b.useMemo(function(){return gt?le(gt):[]},[gt]),Ht=b.useRef({}),Ie=function(){Ht.current={}};st||Ie();var qe=(0,x.Z)(function(){if(gt&&dt&&st){let Ia=function(ms,Bs){var _o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Pn,To=Be.x+ms,Vo=Be.y+Bs,uo=To+on,ca=Vo+jr,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+er,Dr=ir+jr,Er=Be.x+En,Or=Er+on};var zt,$t,tr=gt,Wt=tr.ownerDocument,Fe=J(tr),fe=Fe.getComputedStyle(tr),pe=fe.width,Pt=fe.height,Ce=fe.position,ft=tr.style.left,Ut=tr.style.top,At=tr.style.right,Oe=tr.style.bottom,wt=tr.style.overflow,be=(0,r.Z)((0,r.Z)({},Ue[Je]),ge),Ke=Wt.createElement("div");(zt=tr.parentElement)===null||zt===void 0||zt.appendChild(Ke),Ke.style.left="".concat(tr.offsetLeft,"px"),Ke.style.top="".concat(tr.offsetTop,"px"),Ke.style.position=Ce,Ke.style.height="".concat(tr.offsetHeight,"px"),Ke.style.width="".concat(tr.offsetWidth,"px"),tr.style.left="0",tr.style.top="0",tr.style.right="auto",tr.style.bottom="auto",tr.style.overflow="hidden";var mt;if(Array.isArray(dt))mt={x:dt[0],y:dt[1],width:0,height:0};else{var kt=dt.getBoundingClientRect();mt={x:kt.x,y:kt.y,width:kt.width,height:kt.height}}var Be=tr.getBoundingClientRect(),kr=Wt.documentElement,St=kr.clientWidth,Vr=kr.clientHeight,Jr=kr.scrollWidth,Ar=kr.scrollHeight,Fr=kr.scrollTop,mr=kr.scrollLeft,jr=Be.height,on=Be.width,fn=mt.height,or=mt.width,Rt={left:0,top:0,right:St,bottom:Vr},_t={left:-mr,top:-Fr,right:Jr-mr,bottom:Ar-Fr},vt=be.htmlRegion,Bt="visible",Cr="visibleFirst";vt!=="scroll"&&vt!==Cr&&(vt=Bt);var gr=vt===Cr,rn=se(_t,Vt),Kr=se(Rt,Vt),Pn=vt===Bt?Kr:rn,Ct=gr?Kr:Pn;tr.style.left="auto",tr.style.top="auto",tr.style.right="0",tr.style.bottom="0";var cr=tr.getBoundingClientRect();tr.style.left=ft,tr.style.top=Ut,tr.style.right=At,tr.style.bottom=Oe,tr.style.overflow=wt,($t=tr.parentElement)===null||$t===void 0||$t.removeChild(Ke);var Xr=z(Math.round(on/parseFloat(pe)*1e3)/1e3),pn=z(Math.round(jr/parseFloat(Pt)*1e3)/1e3);if(Xr===0||pn===0||(0,u.Sh)(dt)&&!(0,V.Z)(dt))return;var $n=be.offset,si=be.targetOffset,zn=Pe(Be,$n),Li=(0,i.Z)(zn,2),ui=Li[0],mi=Li[1],wi=Pe(mt,si),gi=(0,i.Z)(wi,2),Xi=gi[0],qn=gi[1];mt.x-=Xi,mt.y-=qn;var Yi=be.points||[],Et=(0,i.Z)(Yi,2),ot=Et[0],Jn=Et[1],Ai=Re(Jn),ei=Re(ot),Gi=He(mt,Ai),yi=He(Be,ei),ai=(0,r.Z)({},be),En=Gi.x-yi.x+ui,er=Gi.y-yi.y+mi,pt=Ia(En,er),rt=Ia(En,er,Kr),It=He(mt,["t","l"]),ht=He(Be,["t","l"]),lr=He(mt,["b","r"]),dr=He(Be,["b","r"]),Ir=be.overflow||{},Zr=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 Nr=it(Ze),bn=ei[0]===Ai[0];if(Nr&&ei[0]==="t"&&(Dr>Ct.bottom||Ht.current.bt)){var Pr=er;bn?Pr-=jr-fn:Pr=It.y-dr.y-mi;var ln=Ia(En,Pr),nn=Ia(En,Pr,Kr);ln>pt||ln===pt&&(!gr||nn>=rt)?(Ht.current.bt=!0,er=Pr,mi=-mi,ai.points=[je(ei,0),je(Ai,0)]):Ht.current.bt=!1}if(Nr&&ei[0]==="b"&&(ir<Ct.top||Ht.current.tb)){var cn=er;bn?cn+=jr-fn:cn=lr.y-ht.y-mi;var An=Ia(En,cn),pa=Ia(En,cn,Kr);An>pt||An===pt&&(!gr||pa>=rt)?(Ht.current.tb=!0,er=cn,mi=-mi,ai.points=[je(ei,0),je(Ai,0)]):Ht.current.tb=!1}var Pi=it(Zr),bi=ei[1]===Ai[1];if(Pi&&ei[1]==="l"&&(Or>Ct.right||Ht.current.rl)){var _n=En;bi?_n-=on-or:_n=It.x-dr.x-ui;var li=Ia(_n,er),$i=Ia(_n,er,Kr);li>pt||li===pt&&(!gr||$i>=rt)?(Ht.current.rl=!0,En=_n,ui=-ui,ai.points=[je(ei,1),je(Ai,1)]):Ht.current.rl=!1}if(Pi&&ei[1]==="r"&&(Er<Ct.left||Ht.current.lr)){var la=En;bi?la+=on-or:la=lr.x-ht.x-ui;var xs=Ia(la,er),Pa=Ia(la,er,Kr);xs>pt||xs===pt&&(!gr||Pa>=rt)?(Ht.current.lr=!0,En=la,ui=-ui,ai.points=[je(ei,1),je(Ai,1)]):Ht.current.lr=!1}Da();var Na=et===!0?0:et;typeof Na=="number"&&(Er<Kr.left&&(En-=Er-Kr.left-ui,mt.x+or<Kr.left+Na&&(En+=mt.x-Kr.left+or-Na)),Or>Kr.right&&(En-=Or-Kr.right-ui,mt.x>Kr.right-Na&&(En+=mt.x-Kr.right+Na)));var Is=Ee===!0?0:Ee;typeof Is=="number"&&(ir<Kr.top&&(er-=ir-Kr.top-mi,mt.y+fn<Kr.top+Is&&(er+=mt.y-Kr.top+fn-Is)),Dr>Kr.bottom&&(er-=Dr-Kr.bottom-mi,mt.y>Kr.bottom-Is&&(er+=mt.y-Kr.bottom+Is)));var $a=Be.x+En,hs=$a+on,oa=Be.y+er,xi=oa+jr,Ga=mt.x,Ds=Ga+or,ji=mt.y,ps=ji+fn,Co=Math.max($a,Ga),La=Math.min(hs,Ds),_s=(Co+La)/2,Ui=_s-$a,Gs=Math.max(oa,ji),Ln=Math.min(xi,ps),ja=(Gs+Ln)/2,ns=ja-oa;Se==null||Se(gt,ai);var ls=cr.right-Be.x-(En+Be.width),Vi=cr.bottom-Be.y-(er+Be.height);nt({ready:!0,offsetX:En/Xr,offsetY:er/pn,offsetR:ls/Xr,offsetB:Vi/pn,arrowX:Ui/Xr,arrowY:ns/pn,scaleX:Xr,scaleY:pn,align:ai})}}),Gt=function(){lt.current+=1;var $t=lt.current;Promise.resolve().then(function(){lt.current===$t&&qe()})},Ot=function(){nt(function($t){return(0,r.Z)((0,r.Z)({},$t),{},{ready:!1})})};return(0,y.Z)(Ot,[Je]),(0,y.Z)(function(){st||Ot()},[st]),[We.ready,We.offsetX,We.offsetY,We.offsetR,We.offsetB,We.arrowX,We.arrowY,We.scaleX,We.scaleY,We.align,Gt]}var yt=e(92393);function Dt(st,gt,dt,Je,Ue){(0,y.Z)(function(){if(st&>&&dt){let lt=function(){Je(),Ue()};var ge=gt,Se=dt,Me=le(ge),$e=le(Se),We=J(Se),nt=new Set([We].concat((0,yt.Z)(Me),(0,yt.Z)($e)));return nt.forEach(function(Vt){Vt.addEventListener("scroll",lt,{passive:!0})}),We.addEventListener("resize",lt,{passive:!0}),Je(),function(){nt.forEach(function(Vt){Vt.removeEventListener("scroll",lt),We.removeEventListener("resize",lt)})}}},[st,gt,dt])}var Qt=e(48736),Jt=e(16089);function qt(st,gt,dt,Je,Ue,ge,Se,Me){var $e=b.useRef(st),We=b.useRef(!1);$e.current!==st&&(We.current=!0,$e.current=st),b.useEffect(function(){var nt=(0,Jt.Z)(function(){We.current=!1});return function(){Jt.Z.cancel(nt)}},[st]),b.useEffect(function(){if(gt&&Je&&(!Ue||ge)){var nt=function(){var Ce=!1,ft=function(Oe){var wt=Oe.target;Ce=Se(wt)},Ut=function(Oe){var wt=Oe.target;!We.current&&$e.current&&!Ce&&!Se(wt)&&Me(!1)};return[ft,Ut]},lt=nt(),Vt=(0,i.Z)(lt,2),Ht=Vt[0],Ie=Vt[1],qe=nt(),Gt=(0,i.Z)(qe,2),Ot=Gt[0],zt=Gt[1],$t=J(Je);$t.addEventListener("mousedown",Ht,!0),$t.addEventListener("click",Ie,!0),$t.addEventListener("contextmenu",Ie,!0);var tr=(0,a.A)(dt);if(tr&&(tr.addEventListener("mousedown",Ot,!0),tr.addEventListener("click",zt,!0),tr.addEventListener("contextmenu",zt,!0)),0)var Wt,Fe,fe,pe;return function(){$t.removeEventListener("mousedown",Ht,!0),$t.removeEventListener("click",Ie,!0),$t.removeEventListener("contextmenu",Ie,!0),tr&&(tr.removeEventListener("mousedown",Ot,!0),tr.removeEventListener("click",zt,!0),tr.removeEventListener("contextmenu",zt,!0))}}},[gt,dt,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 Tt(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,gt=b.forwardRef(function(dt,Je){var Ue=dt.prefixCls,ge=Ue===void 0?"rc-trigger-popup":Ue,Se=dt.children,Me=dt.action,$e=Me===void 0?"hover":Me,We=dt.showAction,nt=dt.hideAction,lt=dt.popupVisible,Vt=dt.defaultPopupVisible,Ht=dt.onPopupVisibleChange,Ie=dt.afterPopupVisibleChange,qe=dt.mouseEnterDelay,Gt=dt.mouseLeaveDelay,Ot=Gt===void 0?.1:Gt,zt=dt.focusDelay,$t=dt.blurDelay,tr=dt.mask,Wt=dt.maskClosable,Fe=Wt===void 0?!0:Wt,fe=dt.getPopupContainer,pe=dt.forceRender,Pt=dt.autoDestroy,Ce=dt.destroyPopupOnHide,ft=dt.popup,Ut=dt.popupClassName,At=dt.popupStyle,Oe=dt.popupPlacement,wt=dt.builtinPlacements,be=wt===void 0?{}:wt,Ke=dt.popupAlign,mt=dt.zIndex,kt=dt.stretch,Be=dt.getPopupClassNameFromAlign,kr=dt.fresh,St=dt.alignPoint,Vr=dt.onPopupClick,Jr=dt.onPopupAlign,Ar=dt.arrow,Fr=dt.popupMotion,mr=dt.maskMotion,jr=dt.popupTransitionName,on=dt.popupAnimation,fn=dt.maskTransitionName,or=dt.maskAnimation,Rt=dt.className,_t=dt.getTriggerDOMNode,vt=(0,l.Z)(dt,Xe),Bt=Pt||Ce||!1,Cr=b.useState(!1),gr=(0,i.Z)(Cr,2),rn=gr[0],Kr=gr[1];(0,y.Z)(function(){Kr((0,_.Z)())},[]);var Pn=b.useRef({}),Ct=b.useContext(ie),cr=b.useMemo(function(){return{registerSubPopup:function(oi,Fa){Pn.current[oi]=Fa,Ct==null||Ct.registerSubPopup(oi,Fa)}}},[Ct]),Xr=(0,p.Z)(),pn=b.useState(null),$n=(0,i.Z)(pn,2),si=$n[0],zn=$n[1],Li=(0,x.Z)(function(pi){(0,u.Sh)(pi)&&si!==pi&&zn(pi),Ct==null||Ct.registerSubPopup(Xr,pi)}),ui=b.useState(null),mi=(0,i.Z)(ui,2),wi=mi[0],gi=mi[1],Xi=b.useRef(null),qn=(0,x.Z)(function(pi){(0,u.Sh)(pi)&&wi!==pi&&(gi(pi),Xi.current=pi)}),Yi=b.Children.only(Se),Et=(Yi==null?void 0:Yi.props)||{},ot={},Jn=(0,x.Z)(function(pi){var oi,Fa,Va=wi;return(Va==null?void 0:Va.contains(pi))||((oi=(0,a.A)(Va))===null||oi===void 0?void 0:oi.host)===pi||pi===Va||(si==null?void 0:si.contains(pi))||((Fa=(0,a.A)(si))===null||Fa===void 0?void 0:Fa.host)===pi||pi===si||Object.values(Pn.current).some(function(Xa){return(Xa==null?void 0:Xa.contains(pi))||pi===Xa})}),Ai=q(ge,Fr,on,jr),ei=q(ge,mr,or,fn),Gi=b.useState(Vt||!1),yi=(0,i.Z)(Gi,2),ai=yi[0],En=yi[1],er=lt!=null?lt:ai,pt=(0,x.Z)(function(pi){lt===void 0&&En(pi)});(0,y.Z)(function(){En(lt||!1)},[lt]);var rt=b.useRef(er);rt.current=er;var It=b.useRef([]);It.current=[];var ht=(0,x.Z)(function(pi){var oi;pt(pi),((oi=It.current[It.current.length-1])!==null&&oi!==void 0?oi:er)!==pi&&(It.current.push(pi),Ht==null||Ht(pi))}),lr=b.useRef(),dr=function(){clearTimeout(lr.current)},Ir=function(oi){var Fa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;dr(),Fa===0?ht(oi):lr.current=setTimeout(function(){ht(oi)},Fa*1e3)};b.useEffect(function(){return dr},[]);var Zr=b.useState(!1),Ze=(0,i.Z)(Zr,2),et=Ze[0],Ee=Ze[1];(0,y.Z)(function(pi){(!pi||er)&&Ee(!0)},[er]);var it=b.useState(null),ir=(0,i.Z)(it,2),Dr=ir[0],Er=ir[1],Or=b.useState([0,0]),Nr=(0,i.Z)(Or,2),bn=Nr[0],Pr=Nr[1],ln=function(oi){Pr([oi.clientX,oi.clientY])},nn=Zt(er,si,St?bn:wi,Oe,be,Ke,Jr),cn=(0,i.Z)(nn,11),An=cn[0],pa=cn[1],Pi=cn[2],bi=cn[3],_n=cn[4],li=cn[5],$i=cn[6],la=cn[7],xs=cn[8],Pa=cn[9],Na=cn[10],Is=K(rn,$e,We,nt),$a=(0,i.Z)(Is,2),hs=$a[0],oa=$a[1],xi=hs.has("click"),Ga=oa.has("click")||oa.has("contextMenu"),Ds=(0,x.Z)(function(){et||Na()}),ji=function(){rt.current&&St&&Ga&&Ir(!1)};Dt(er,wi,si,Ds,ji),(0,y.Z)(function(){Ds()},[bn,Oe]),(0,y.Z)(function(){er&&!(be!=null&&be[Oe])&&Ds()},[JSON.stringify(Ke)]);var ps=b.useMemo(function(){var pi=te(be,ge,Pa,St);return s()(pi,Be==null?void 0:Be(Pa))},[Pa,Be,be,ge,St]);b.useImperativeHandle(Je,function(){return{nativeElement:Xi.current,forceAlign:Ds}});var Co=b.useState(0),La=(0,i.Z)(Co,2),_s=La[0],Ui=La[1],Gs=b.useState(0),Ln=(0,i.Z)(Gs,2),ja=Ln[0],ns=Ln[1],ls=function(){if(kt&&wi){var oi=wi.getBoundingClientRect();Ui(oi.width),ns(oi.height)}},Vi=function(){ls(),Ds()},Ia=function(oi){Ee(!1),Na(),Ie==null||Ie(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(pi,oi,Fa,Va){ot[pi]=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=Et[pi])===null||lo===void 0||lo.call.apply(lo,[Et,Xa].concat(Po))}}(xi||Ga)&&(ot.onClick=function(pi){var oi;rt.current&&Ga?Ir(!1):!rt.current&&xi&&(ln(pi),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=Et.onClick)===null||oi===void 0||oi.call.apply(oi,[Et,pi].concat(Va))}),qt(er,Ga,wi,si,tr,Fe,Jn,Ir);var Bs=hs.has("hover"),_o=oa.has("hover"),To,Vo;Bs&&(ms("onMouseEnter",!0,qe,function(pi){ln(pi)}),ms("onPointerEnter",!0,qe,function(pi){ln(pi)}),To=function(oi){(er||et)&&si!==null&&si!==void 0&&si.contains(oi.target)&&Ir(!0,qe)},St&&(ot.onMouseMove=function(pi){var oi;(oi=Et.onMouseMove)===null||oi===void 0||oi.call(Et,pi)})),_o&&(ms("onMouseLeave",!1,Ot),ms("onPointerLeave",!1,Ot),Vo=function(){Ir(!1,Ot)}),hs.has("focus")&&ms("onFocus",!0,zt),oa.has("focus")&&ms("onBlur",!1,$t),hs.has("contextMenu")&&(ot.onContextMenu=function(pi){var oi;rt.current&&oa.has("contextMenu")?Ir(!1):(ln(pi),Ir(!0)),pi.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=Et.onContextMenu)===null||oi===void 0||oi.call.apply(oi,[Et,pi].concat(Va))}),Rt&&(ot.className=s()(Et.className,Rt));var uo=(0,r.Z)((0,r.Z)({},Et),ot),ca={},cs=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];cs.forEach(function(pi){vt[pi]&&(ca[pi]=function(){for(var oi,Fa=arguments.length,Va=new Array(Fa),Xa=0;Xa<Fa;Xa++)Va[Xa]=arguments[Xa];(oi=uo[pi])===null||oi===void 0||oi.call.apply(oi,[uo].concat(Va)),vt[pi].apply(vt,Va)})});var mo=b.cloneElement(Yi,(0,r.Z)((0,r.Z)({},uo),ca)),vo={x:li,y:$i},go=Ar?(0,r.Z)({},Ar!==!0?Ar:{}):null;return b.createElement(b.Fragment,null,b.createElement(h.Z,{disabled:!er,ref:qn,onResize:Vi},b.createElement(Y,{getTriggerDOMNode:_t},mo)),b.createElement(ie.Provider,{value:cr},b.createElement(Q,{portal:st,ref:Li,prefixCls:ge,popup:ft,className:s()(Ut,ps),style:At,target:wi,onMouseEnter:To,onMouseLeave:Vo,onPointerEnter:To,zIndex:mt,open:er,keepDom:et,fresh:kr,onClick:Vr,mask:tr,motion:Ai,maskMotion:ei,onVisibleChanged:Ia,onPrepare:Da,forceRender:pe,autoDestroy:Bt,getPopupContainer:fe,align:Pa,arrow:go,arrowPos:vo,ready:An,offsetX:pa,offsetY:Pi,offsetR:bi,offsetB:_n,onAlign:Ds,stretch:kt,targetWidth:_s/la,targetHeight:ja/xs})))});return gt}var jt=Tt(c.Z)},8944:function(){"use strict"},5755:function(d,v){"use strict";v.Z={loading:"loading___hdeS1",layoutMainClass:"layoutMainClass___t8btz"}},49535:function(d,v){"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;v.Z=r},2339:function(d,v,e){"use strict";e.d(v,{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 Jr},call:function(){return Vr},cancel:function(){return on},cancelled:function(){return Rt},cps:function(){return Ar},flush:function(){return _t},fork:function(){return Fr},getContext:function(){return vt},join:function(){return jr},put:function(){return kt},race:function(){return kr},select:function(){return fn},setContext:function(){return Bt},spawn:function(){return mr},take:function(){return Ke},takeEvery:function(){return pt},takeLatest:function(){return rt},takem:function(){return mt},throttle:function(){return It}});var i=e(59301),l=e(76267),c=e(59781),f=Object.assign||function(Ye){for(var Qe=1;Qe<arguments.length;Qe++){var Lt=arguments[Qe];for(var Kt in Lt)Object.prototype.hasOwnProperty.call(Lt,Kt)&&(Ye[Kt]=Lt[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(){},T=function(Qe){return Qe};function D(Ye,Qe,Lt){if(!Qe(Ye))throw le("error","uncaught at check",Lt),new Error(Lt)}var M=Object.prototype.hasOwnProperty;function N(Ye,Qe){return j.notUndef(Ye)&&M.call(Ye,Qe)}var j={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&&!j.array(Qe)&&(typeof Qe=="undefined"?"undefined":s(Qe))==="object"},promise:function(Qe){return Qe&&j.func(Qe.then)},iterator:function(Qe){return Qe&&j.func(Qe.next)&&j.func(Qe.throw)},iterable:function(Qe){return Qe&&j.func(Symbol)?j.func(Qe[Symbol.iterator]):j.array(Qe)},task:function(Qe){return Qe&&Qe[u]},observable:function(Qe){return Qe&&j.func(Qe.subscribe)},buffer:function(Qe){return Qe&&j.func(Qe.isEmpty)&&j.func(Qe.take)&&j.func(Qe.put)},pattern:function(Qe){return Qe&&(j.string(Qe)||(typeof Qe=="undefined"?"undefined":s(Qe))==="symbol"||j.func(Qe)||j.array(Qe))},channel:function(Qe){return Qe&&j.func(Qe.take)&&j.func(Qe.close)},helper:function(Qe){return Qe&&Qe[a]},stringableFunc:function(Qe){return j.func(Qe)&&N(Qe,"toString")}},Q={assign:function(Qe,Lt){for(var Kt in Lt)N(Lt,Kt)&&(Qe[Kt]=Lt[Kt])}};function X(Ye,Qe){var Lt=Ye.indexOf(Qe);Lt>=0&&Ye.splice(Lt,1)}var Y={from:function(Qe){var Lt=Array(Qe.length);for(var Kt in Qe)N(Qe,Kt)&&(Lt[Kt]=Qe[Kt]);return Lt}};function oe(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=f({},Ye),Lt=new Promise(function(Kt,pr){Qe.resolve=Kt,Qe.reject=pr});return Qe.promise=Lt,Qe}function ie(Ye){for(var Qe=[],Lt=0;Lt<Ye;Lt++)Qe.push(oe());return Qe}function ue(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Lt=void 0,Kt=new Promise(function(pr){Lt=setTimeout(function(){return pr(Qe)},Ye)});return Kt[p]=function(){return clearTimeout(Lt)},Kt}function K(){var Ye,Qe=!0,Lt=void 0,Kt=void 0;return Ye={},Ye[u]=!0,Ye.isRunning=function(){return Qe},Ye.result=function(){return Lt},Ye.error=function(){return Kt},Ye.setRunning=function(Rr){return Qe=Rr},Ye.setResult=function(Rr){return Lt=Rr},Ye.setError=function(Rr){return Kt=Rr},Ye}function V(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Ye}}var G=V(),te=function(Qe){throw Qe},q=function(Qe){return{value:Qe,done:!0}};function J(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:te,Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Kt=arguments[3],pr={name:Lt,next:Ye,throw:Qe,return:q};return Kt&&(pr[a]=!0),typeof Symbol!="undefined"&&(pr[Symbol.iterator]=function(){return pr}),pr}function le(Ye,Qe){var Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Ye+": "+Qe+`
|
|
|
`+(Lt&&Lt.stack||Lt)):console[Ye](Qe,Lt)}function z(Ye,Qe){return function(){return Ye.apply(void 0,arguments)}}var F=function(Qe,Lt){return Qe+" has been deprecated in favor of "+Lt+", please update your code"},se=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+`
|
|
|
`)},_e=function(Qe,Lt){return(Qe?Qe+".":"")+"setContext(props): argument "+Lt+" is not a plain object"},Pe=function(Qe){return function(Lt){return Qe(Object.defineProperty(Lt,y,{value:!0}))}},Re=function Ye(Qe){return function(){for(var Lt=arguments.length,Kt=Array(Lt),pr=0;pr<Lt;pr++)Kt[pr]=arguments[pr];var Rr=[],$r=Qe.apply(void 0,Kt);return{next:function(an){return Rr.push(an),$r.next(an)},clone:function(){var an=Ye(Qe).apply(void 0,Kt);return Rr.forEach(function(yn){return an.next(yn)}),an},return:function(an){return $r.return(an)},throw:function(an){return $r.throw(an)}}}},He="Channel's Buffer overflow!",je=1,Zt=2,yt=3,Dt=4,Qt={isEmpty:S,put:L,take:L};function Jt(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Qe=arguments[1],Lt=new Array(Ye),Kt=0,pr=0,Rr=0,$r=function(Qn){Lt[pr]=Qn,pr=(pr+1)%Ye,Kt++},gn=function(){if(Kt!=0){var Qn=Lt[Rr];return Lt[Rr]=null,Kt--,Rr=(Rr+1)%Ye,Qn}},an=function(){for(var Qn=[];Kt;)Qn.push(gn());return Qn};return{isEmpty:function(){return Kt==0},put:function(Qn){if(Kt<Ye)$r(Qn);else{var ri=void 0;switch(Qe){case je:throw new Error(He);case yt:Lt[pr]=Qn,pr=(pr+1)%Ye,Rr=pr;break;case Dt:ri=2*Ye,Lt=an(),Kt=Lt.length,pr=Lt.length,Rr=0,Lt.length=ri,Ye=ri,$r(Qn);break;default:}}},take:gn,flush:an}}var qt={none:function(){return Qt},fixed:function(Qe){return Jt(Qe,je)},dropping:function(Qe){return Jt(Qe,Zt)},sliding:function(Qe){return Jt(Qe,yt)},expanding:function(Qe){return Jt(Qe,Dt)}},Xe=[],Tt=0;function jt(Ye){try{gt(),Ye()}finally{dt()}}function st(Ye){Xe.push(Ye),Tt||(gt(),Je())}function gt(){Tt++}function dt(){Tt--}function Je(){dt();for(var Ye=void 0;!Tt&&(Ye=Xe.shift())!==void 0;)jt(Ye)}var Ue=Object.assign||function(Ye){for(var Qe=1;Qe<arguments.length;Qe++){var Lt=arguments[Qe];for(var Kt in Lt)Object.prototype.hasOwnProperty.call(Lt,Kt)&&(Ye[Kt]=Lt[Kt])}return Ye},ge="@@redux-saga/CHANNEL_END",Se={type:ge},Me=function(Qe){return Qe&&Qe.type===ge};function $e(){var Ye=[];function Qe(Kt){return Ye.push(Kt),function(){return X(Ye,Kt)}}function Lt(Kt){for(var pr=Ye.slice(),Rr=0,$r=pr.length;Rr<$r;Rr++)pr[Rr](Kt)}return{subscribe:Qe,emit:Lt}}var We="invalid buffer passed to channel factory function",nt="Saga was provided with an undefined action";function lt(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qt.fixed(),Qe=!1,Lt=[];D(Ye,j.buffer,We);function Kt(){if(Qe&&Lt.length)throw se("Cannot have a closed channel with pending takers");if(Lt.length&&!Ye.isEmpty())throw se("Cannot have pending takers with non empty buffer")}function pr(an){if(Kt(),D(an,j.notUndef,nt),!Qe){if(!Lt.length)return Ye.put(an);for(var yn=0;yn<Lt.length;yn++){var Qn=Lt[yn];if(!Qn[x]||Qn[x](an))return Lt.splice(yn,1),Qn(an)}}}function Rr(an){Kt(),D(an,j.func,"channel.take's callback must be a function"),Qe&&Ye.isEmpty()?an(Se):Ye.isEmpty()?(Lt.push(an),an.cancel=function(){return X(Lt,an)}):an(Ye.take())}function $r(an){if(Kt(),D(an,j.func,"channel.flush' callback must be a function"),Qe&&Ye.isEmpty()){an(Se);return}an(Ye.flush())}function gn(){if(Kt(),!Qe&&(Qe=!0,Lt.length)){var an=Lt;Lt=[];for(var yn=0,Qn=an.length;yn<Qn;yn++)an[yn](Se)}}return{take:Rr,put:pr,flush:$r,close:gn,get __takers__(){return Lt},get __closed__(){return Qe}}}function Vt(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qt.none(),Lt=arguments[2];arguments.length>2&&D(Lt,j.func,"Invalid match function passed to eventChannel");var Kt=lt(Qe),pr=function(){Kt.__closed__||(Rr&&Rr(),Kt.close())},Rr=Ye(function($r){if(Me($r)){pr();return}Lt&&!Lt($r)||Kt.put($r)});if(Kt.__closed__&&Rr(),!j.func(Rr))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:Kt.take,flush:Kt.flush,close:pr}}function Ht(Ye){var Qe=Vt(function(Lt){return Ye(function(Kt){if(Kt[y]){Lt(Kt);return}st(function(){return Lt(Kt)})})});return Ue({},Qe,{take:function(Kt,pr){arguments.length>1&&(D(pr,j.func,"channel.take's matcher argument must be a function"),Kt[x]=pr),Qe.take(Kt)}})}var Ie=h("IO"),qe="TAKE",Gt="PUT",Ot="ALL",zt="RACE",$t="CALL",tr="CPS",Wt="FORK",Fe="JOIN",fe="CANCEL",pe="SELECT",Pt="ACTION_CHANNEL",Ce="CANCELLED",ft="FLUSH",Ut="GET_CONTEXT",At="SET_CONTEXT",Oe=`
|
|
|
(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,wt=function(Qe,Lt){var Kt;return Kt={},Kt[Ie]=!0,Kt[Qe]=Lt,Kt},be=function(Qe){return D(gr.fork(Qe),j.object,"detach(eff): argument must be a fork effect"),Qe[Wt].detached=!0,Qe};function Ke(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&D(arguments[0],j.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),j.pattern(Ye))return wt(qe,{pattern:Ye});if(j.channel(Ye))return wt(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 mt=z(Ke.maybe,F("takem","take.maybe"));function kt(Ye,Qe){return arguments.length>1?(D(Ye,j.notUndef,"put(channel, action): argument channel is undefined"),D(Ye,j.channel,"put(channel, action): argument "+Ye+" is not a valid channel"),D(Qe,j.notUndef,"put(channel, action): argument action is undefined")):(D(Ye,j.notUndef,"put(action): argument action is undefined"),Qe=Ye,Ye=null),wt(Gt,{channel:Ye,action:Qe})}kt.resolve=function(){var Ye=kt.apply(void 0,arguments);return Ye[Gt].resolve=!0,Ye},kt.sync=z(kt.resolve,F("put.sync","put.resolve"));function Be(Ye){return wt(Ot,Ye)}function kr(Ye){return wt(zt,Ye)}function St(Ye,Qe,Lt){D(Qe,j.notUndef,Ye+": argument fn is undefined");var Kt=null;if(j.array(Qe)){var pr=Qe;Kt=pr[0],Qe=pr[1]}else if(Qe.fn){var Rr=Qe;Kt=Rr.context,Qe=Rr.fn}return Kt&&j.string(Qe)&&j.func(Kt[Qe])&&(Qe=Kt[Qe]),D(Qe,j.func,Ye+": argument "+Qe+" is not a function"),{context:Kt,fn:Qe,args:Lt}}function Vr(Ye){for(var Qe=arguments.length,Lt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Lt[Kt-1]=arguments[Kt];return wt($t,St("call",Ye,Lt))}function Jr(Ye,Qe){var Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return wt($t,St("apply",{context:Ye,fn:Qe},Lt))}function Ar(Ye){for(var Qe=arguments.length,Lt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Lt[Kt-1]=arguments[Kt];return wt(tr,St("cps",Ye,Lt))}function Fr(Ye){for(var Qe=arguments.length,Lt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Lt[Kt-1]=arguments[Kt];return wt(Wt,St("fork",Ye,Lt))}function mr(Ye){for(var Qe=arguments.length,Lt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Lt[Kt-1]=arguments[Kt];return be(Fr.apply(void 0,[Ye].concat(Lt)))}function jr(){for(var Ye=arguments.length,Qe=Array(Ye),Lt=0;Lt<Ye;Lt++)Qe[Lt]=arguments[Lt];if(Qe.length>1)return Be(Qe.map(function(pr){return jr(pr)}));var Kt=Qe[0];return D(Kt,j.notUndef,"join(task): argument task is undefined"),D(Kt,j.task,"join(task): argument "+Kt+" is not a valid Task object "+Oe),wt(Fe,Kt)}function on(){for(var Ye=arguments.length,Qe=Array(Ye),Lt=0;Lt<Ye;Lt++)Qe[Lt]=arguments[Lt];if(Qe.length>1)return Be(Qe.map(function(pr){return on(pr)}));var Kt=Qe[0];return Qe.length===1&&(D(Kt,j.notUndef,"cancel(task): argument task is undefined"),D(Kt,j.task,"cancel(task): argument "+Kt+" is not a valid Task object "+Oe)),wt(fe,Kt||_)}function fn(Ye){for(var Qe=arguments.length,Lt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Lt[Kt-1]=arguments[Kt];return arguments.length===0?Ye=T:(D(Ye,j.notUndef,"select(selector,[...]): argument selector is undefined"),D(Ye,j.func,"select(selector,[...]): argument "+Ye+" is not a function")),wt(pe,{selector:Ye,args:Lt})}function or(Ye,Qe){return D(Ye,j.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&(D(Qe,j.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),D(Qe,j.buffer,"actionChannel(pattern, buffer): argument "+Qe+" is not a valid buffer")),wt(Pt,{pattern:Ye,buffer:Qe})}function Rt(){return wt(Ce,{})}function _t(Ye){return D(Ye,j.channel,"flush(channel): argument "+Ye+" is not valid channel"),wt(ft,Ye)}function vt(Ye){return D(Ye,j.string,"getContext(prop): argument "+Ye+" is not a string"),wt(Ut,Ye)}function Bt(Ye){return D(Ye,j.object,_e(null,Ye)),wt(At,Ye)}var Cr=function(Qe){return function(Lt){return Lt&&Lt[Ie]&&Lt[Qe]}},gr={take:Cr(qe),put:Cr(Gt),all:Cr(Ot),race:Cr(zt),call:Cr($t),cps:Cr(tr),fork:Cr(Wt),join:Cr(Fe),cancel:Cr(fe),select:Cr(pe),actionChannel:Cr(Pt),cancelled:Cr(Ce),flush:Cr(ft),getContext:Cr(Ut),setContext:Cr(At)},rn=Object.assign||function(Ye){for(var Qe=1;Qe<arguments.length;Qe++){var Lt=arguments[Qe];for(var Kt in Lt)Object.prototype.hasOwnProperty.call(Lt,Kt)&&(Ye[Kt]=Lt[Kt])}return Ye},Kr=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 Pn(Ye,Qe){for(var Lt in Qe){var Kt=Qe[Lt];Kt.configurable=Kt.enumerable=!0,"value"in Kt&&(Kt.writable=!0),Object.defineProperty(Ye,Lt,Kt)}return Ye}var Ct="proc first argument (Saga function result) must be an iterator",cr={toString:function(){return"@@redux-saga/CHANNEL_END"}},Xr={toString:function(){return"@@redux-saga/TASK_CANCEL"}},pn={wildcard:function(){return S},default:function(Qe){return(typeof Qe=="undefined"?"undefined":Kr(Qe))==="symbol"?function(Lt){return Lt.type===Qe}:function(Lt){return Lt.type===String(Qe)}},array:function(Qe){return function(Lt){return Qe.some(function(Kt){return $n(Kt)(Lt)})}},predicate:function(Qe){return function(Lt){return Qe(Lt)}}};function $n(Ye){return(Ye==="*"?pn.wildcard:j.array(Ye)?pn.array:j.stringableFunc(Ye)?pn.default:j.func(Ye)?pn.predicate:pn.default)(Ye)}function si(Ye,Qe,Lt){var Kt=[],pr=void 0,Rr=!1;gn(Qe);function $r(yn){an(),Lt(yn,!0)}function gn(yn){Kt.push(yn),yn.cont=function(Qn,ri){Rr||(X(Kt,yn),yn.cont=L,ri?$r(Qn):(yn===Qe&&(pr=Qn),Kt.length||(Rr=!0,Lt(pr))))}}function an(){Rr||(Rr=!0,Kt.forEach(function(yn){yn.cont=L,yn.cancel()}),Kt=[])}return{addTask:gn,cancelAll:an,abort:$r,getTasks:function(){return Kt},taskNames:function(){return Kt.map(function(Qn){return Qn.name})}}}function zn(Ye){var Qe=Ye.context,Lt=Ye.fn,Kt=Ye.args;if(j.iterator(Lt))return Lt;var pr=void 0,Rr=void 0;try{pr=Lt.apply(Qe,Kt)}catch($r){Rr=$r}return j.iterator(pr)?pr:J(Rr?function(){throw Rr}:function(){var $r=void 0,gn={done:!1,value:pr},an=function(Qn){return{done:!0,value:Qn}};return function(yn){return $r?an(yn):($r=!0,gn)}}())}var Li=function(Qe){return{fn:Qe}};function ui(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){return L},Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:L,Kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:L,pr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Rr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},$r=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,gn=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",an=arguments[8];D(Ye,j.iterator,Ct);var yn="[...effects]",Qn=z(Ms,F(yn,"all("+yn+")")),ri=Rr.sagaMonitor,vi=Rr.logger,Ii=Rr.onError,Hi=vi||le,Fi=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 "+gn,Cn||qr.message||qr)},Si=Ht(Qe),ma=Object.create(pr);Wi.cancel=L;var Ci=en($r,gn,Ye,an),Ei={name:gn,cancel:Ks,isRunning:!0},fa=si(gn,Ei,ka);function Ks(){Ei.isRunning&&!Ei.isCancelled&&(Ei.isCancelled=!0,Wi(Xr))}function Es(){Ye._isRunning&&!Ye._isCancelled&&(Ye._isCancelled=!0,fa.cancelAll(),ka(Xr))}return an&&(an.cancel=Es),Ye._isRunning=!0,Wi(),Ci;function Wi(br,qr){if(!Ei.isRunning)throw new Error("Trying to resume an already finished generator");try{var Cn=void 0;qr?Cn=Ye.throw(br):br===Xr?(Ei.isCancelled=!0,Wi.cancel(),Cn=j.func(Ye.return)?Ye.return(Xr):{done:!0,value:Xr}):br===cr?Cn=j.func(Ye.return)?Ye.return():{done:!0}:Cn=Ye.next(br),Cn.done?(Ei.isMainRunning=!1,Ei.cont&&Ei.cont(Cn.value)):ea(Cn.value,$r,"",Wi)}catch(ti){Ei.isCancelled&&Fi(ti),Ei.isMainRunning=!1,Ei.cont(ti,!0)}}function ka(br,qr){Ye._isRunning=!1,Si.close(),qr?(br instanceof Error&&Object.defineProperty(br,"sagaStack",{value:"at "+gn+`
|
|
|
`+(br.sagaStack||br.stack),configurable:!0}),Ci.cont||(br instanceof Error&&Ii?Ii(br):Fi(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]:"",ti=arguments[3],Bi=G();ri&&ri.effectTriggered({effectId:Bi,parentEffectId:qr,label:Cn,effect:br});var Fn=void 0;function On(ia,zi){Fn||(Fn=!0,ti.cancel=L,ri&&(zi?ri.effectRejected(Bi,ia):ri.effectResolved(Bi,ia)),ti(ia,zi))}On.cancel=L,ti.cancel=function(){if(!Fn){Fn=!0;try{On.cancel()}catch(ia){Fi(ia)}On.cancel=L,ri&&ri.effectCancelled(Bi)}};var Bn=void 0;return j.promise(br)?ki(br,On):j.helper(br)?so(Li(br),Bi,On):j.iterator(br)?va(br,Bi,gn,On):j.array(br)?Qn(br,Bi,On):(Bn=gr.take(br))?Ba(Bn,On):(Bn=gr.put(br))?Ka(Bn,On):(Bn=gr.all(br))?Ms(Bn,Bi,On):(Bn=gr.race(br))?da(Bn,Bi,On):(Bn=gr.call(br))?eo(Bn,Bi,On):(Bn=gr.cps(br))?qa(Bn,On):(Bn=gr.fork(br))?so(Bn,Bi,On):(Bn=gr.join(br))?Ya(Bn,On):(Bn=gr.cancel(br))?Ys(Bn,On):(Bn=gr.select(br))?Ua(Bn,On):(Bn=gr.actionChannel(br))?As(Bn,On):(Bn=gr.flush(br))?ye(Bn,On):(Bn=gr.cancelled(br))?ga(Bn,On):(Bn=gr.getContext(br))?we(Bn,On):(Bn=gr.setContext(br))?yr(Bn,On):On(br)}function ki(br,qr){var Cn=br[p];j.func(Cn)?qr.cancel=Cn:j.func(br.abort)&&(qr.cancel=function(){return br.abort()}),br.then(qr,function(ti){return qr(ti,!0)})}function va(br,qr,Cn,ti){ui(br,Qe,Lt,Kt,ma,Rr,qr,Cn,ti)}function Ba(br,qr){var Cn=br.channel,ti=br.pattern,Bi=br.maybe;Cn=Cn||Si;var Fn=function(Bn){return Bn instanceof Error?qr(Bn,!0):Me(Bn)&&!Bi?qr(cr):qr(Bn)};try{Cn.take(Fn,$n(ti))}catch(On){return qr(On,!0)}qr.cancel=Fn.cancel}function Ka(br,qr){var Cn=br.channel,ti=br.action,Bi=br.resolve;st(function(){var Fn=void 0;try{Fn=(Cn?Cn.put:Lt)(ti)}catch(On){if(Cn||Bi)return qr(On,!0);Fi(On)}if(Bi&&j.promise(Fn))ki(Fn,qr);else return qr(Fn)})}function eo(br,qr,Cn){var ti=br.context,Bi=br.fn,Fn=br.args,On=void 0;try{On=Bi.apply(ti,Fn)}catch(Bn){return Cn(Bn,!0)}return j.promise(On)?ki(On,Cn):j.iterator(On)?va(On,qr,Bi.name,Cn):Cn(On)}function qa(br,qr){var Cn=br.context,ti=br.fn,Bi=br.args;try{var Fn=function(Bn,ia){return j.undef(Bn)?qr(ia):qr(Bn,!0)};ti.apply(Cn,Bi.concat(Fn)),Fn.cancel&&(qr.cancel=function(){return Fn.cancel()})}catch(On){return qr(On,!0)}}function so(br,qr,Cn){var ti=br.context,Bi=br.fn,Fn=br.args,On=br.detached,Bn=zn({context:ti,fn:Bi,args:Fn});try{gt();var ia=ui(Bn,Qe,Lt,Kt,ma,Rr,qr,Bi.name,On?null:L);On?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 X(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 ti=Object.keys(br);if(!ti.length)return Cn(j.array(br)?[]:{});var Bi=0,Fn=void 0,On={},Bn={};function ia(){Bi===ti.length&&(Fn=!0,Cn(j.array(br)?Y.from(rn({},On,{length:ti.length})):On))}ti.forEach(function(zi){var ho=function(eu,hl){Fn||(hl||Me(eu)||eu===cr||eu===Xr?(Cn.cancel(),Cn(eu,hl)):(On[zi]=eu,Bi++,ia()))};ho.cancel=L,Bn[zi]=ho}),Cn.cancel=function(){Fn||(Fn=!0,ti.forEach(function(zi){return Bn[zi].cancel()}))},ti.forEach(function(zi){return ea(br[zi],qr,zi,Bn[zi])})}function da(br,qr,Cn){var ti=void 0,Bi=Object.keys(br),Fn={};Bi.forEach(function(On){var Bn=function(zi,ho){if(!ti){if(ho)Cn.cancel(),Cn(zi,!0);else if(!Me(zi)&&zi!==cr&&zi!==Xr){var Xs;Cn.cancel(),ti=!0;var eu=(Xs={},Xs[On]=zi,Xs);Cn(j.array(br)?[].slice.call(rn({},eu,{length:Bi.length})):eu)}}};Bn.cancel=L,Fn[On]=Bn}),Cn.cancel=function(){ti||(ti=!0,Bi.forEach(function(On){return Fn[On].cancel()}))},Bi.forEach(function(On){ti||ea(br[On],qr,On,Fn[On])})}function Ua(br,qr){var Cn=br.selector,ti=br.args;try{var Bi=Cn.apply(void 0,[Kt()].concat(ti));qr(Bi)}catch(Fn){qr(Fn,!0)}}function As(br,qr){var Cn=br.pattern,ti=br.buffer,Bi=$n(Cn);Bi.pattern=Cn,qr(Vt(Qe,ti||qt.fixed(),Bi))}function ga(br,qr){qr(!!Ei.isCancelled)}function ye(br,qr){br.flush(qr)}function we(br,qr){qr(ma[br])}function yr(br,qr){Q.assign(ma,br),qr()}function en(br,qr,Cn,ti){var Bi,Fn,On;return Cn._deferredEnd=null,Fn={},Fn[u]=!0,Fn.id=br,Fn.name=qr,Bi="done",On={},On[Bi]=On[Bi]||{},On[Bi].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},Fn.cont=ti,Fn.joiners=[],Fn.cancel=Es,Fn.isRunning=function(){return Cn._isRunning},Fn.isCancelled=function(){return Cn._isCancelled},Fn.isAborted=function(){return Cn._isAborted},Fn.result=function(){return Cn._result},Fn.error=function(){return Cn._error},Fn.setContext=function(ia){D(ia,j.object,_e("task",ia)),Q.assign(ma,ia)},Pn(Fn,On),Fn}}var mi="runSaga(storeInterface, saga, ...args)",wi=mi+": saga argument must be a Generator function!";function gi(Ye,Qe){for(var Lt=arguments.length,Kt=Array(Lt>2?Lt-2:0),pr=2;pr<Lt;pr++)Kt[pr-2]=arguments[pr];var Rr=void 0;j.iterator(Ye)?(Rr=Ye,Ye=Qe):(D(Qe,j.func,wi),Rr=Qe.apply(void 0,Kt),D(Rr,j.iterator,wi));var $r=Ye,gn=$r.subscribe,an=$r.dispatch,yn=$r.getState,Qn=$r.context,ri=$r.sagaMonitor,vi=$r.logger,Ii=$r.onError,Hi=G();ri&&(ri.effectTriggered=ri.effectTriggered||L,ri.effectResolved=ri.effectResolved||L,ri.effectRejected=ri.effectRejected||L,ri.effectCancelled=ri.effectCancelled||L,ri.actionDispatched=ri.actionDispatched||L,ri.effectTriggered({effectId:Hi,root:!0,parentEffectId:0,effect:{root:!0,saga:Qe,args:Kt}}));var Fi=ui(Rr,gn,Pe(an),yn,Qn,{sagaMonitor:ri,logger:vi,onError:Ii},Hi,Qe.name);return ri&&ri.effectResolved(Hi,Fi),Fi}function Xi(Ye,Qe){var Lt={};for(var Kt in Ye)Qe.indexOf(Kt)>=0||Object.prototype.hasOwnProperty.call(Ye,Kt)&&(Lt[Kt]=Ye[Kt]);return Lt}function qn(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=Ye.context,Lt=Qe===void 0?{}:Qe,Kt=Xi(Ye,["context"]),pr=Kt.sagaMonitor,Rr=Kt.logger,$r=Kt.onError;if(j.func(Kt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Rr&&!j.func(Rr))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if($r&&!j.func($r))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(Kt.emitter&&!j.func(Kt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function gn(an){var yn=an.getState,Qn=an.dispatch,ri=$e();return ri.emit=(Kt.emitter||T)(ri.emit),gn.run=gi.bind(null,{context:Lt,subscribe:ri.subscribe,dispatch:Qn,getState:yn,sagaMonitor:pr,logger:Rr,onError:$r}),function(vi){return function(Ii){pr&&pr.actionDispatched&&pr.actionDispatched(Ii);var Hi=vi(Ii);return ri.emit(Ii),Hi}}}return gn.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},gn.setContext=function(an){D(an,j.object,_e("sagaMiddleware",an)),Q.assign(Lt,an)},gn}var Yi={done:!0,value:void 0},Et={};function ot(Ye){return j.channel(Ye)?"channel":Array.isArray(Ye)?String(Ye.map(function(Qe){return String(Qe)})):String(Ye)}function Jn(Ye,Qe){var Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",Kt=void 0,pr=Qe;function Rr($r,gn){if(pr===Et)return Yi;if(gn)throw pr=Et,gn;Kt&&Kt($r);var an=Ye[pr](),yn=an[0],Qn=an[1],ri=an[2];return pr=yn,Kt=ri,pr===Et?Yi:Qn}return J(Rr,function($r){return Rr(null,$r)},Lt,!0)}function Ai(Ye,Qe){for(var Lt=arguments.length,Kt=Array(Lt>2?Lt-2:0),pr=2;pr<Lt;pr++)Kt[pr-2]=arguments[pr];var Rr={done:!1,value:Ke(Ye)},$r=function(Qn){return{done:!1,value:Fr.apply(void 0,[Qe].concat(Kt,[Qn]))}},gn=void 0,an=function(Qn){return gn=Qn};return Jn({q1:function(){return["q2",Rr,an]},q2:function(){return gn===Se?[Et]:["q1",$r(gn)]}},"q1","takeEvery("+ot(Ye)+", "+Qe.name+")")}function ei(Ye,Qe){for(var Lt=arguments.length,Kt=Array(Lt>2?Lt-2:0),pr=2;pr<Lt;pr++)Kt[pr-2]=arguments[pr];var Rr={done:!1,value:Ke(Ye)},$r=function(Ii){return{done:!1,value:Fr.apply(void 0,[Qe].concat(Kt,[Ii]))}},gn=function(Ii){return{done:!1,value:on(Ii)}},an=void 0,yn=void 0,Qn=function(Ii){return an=Ii},ri=function(Ii){return yn=Ii};return Jn({q1:function(){return["q2",Rr,ri]},q2:function(){return yn===Se?[Et]:an?["q3",gn(an)]:["q1",$r(yn),Qn]},q3:function(){return["q1",$r(yn),Qn]}},"q1","takeLatest("+ot(Ye)+", "+Qe.name+")")}function Gi(Ye,Qe,Lt){for(var Kt=arguments.length,pr=Array(Kt>3?Kt-3:0),Rr=3;Rr<Kt;Rr++)pr[Rr-3]=arguments[Rr];var $r=void 0,gn=void 0,an={done:!1,value:or(Qe,qt.sliding(1))},yn=function(){return{done:!1,value:Ke(gn)}},Qn=function(Fi){return{done:!1,value:Fr.apply(void 0,[Lt].concat(pr,[Fi]))}},ri={done:!1,value:Vr(ue,Ye)},vi=function(Fi){return $r=Fi},Ii=function(Fi){return gn=Fi};return Jn({q1:function(){return["q2",an,Ii]},q2:function(){return["q3",yn(),vi]},q3:function(){return $r===Se?[Et]:["q4",Qn($r)]},q4:function(){return["q2",ri]}},"q1","throttle("+ot(Qe)+", "+Lt.name+")")}var yi=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."},ai=null,En=null,er=null;function pt(Ye,Qe){for(var Lt=arguments.length,Kt=Array(Lt>2?Lt-2:0),pr=2;pr<Lt;pr++)Kt[pr-2]=arguments[pr];return Fr.apply(void 0,[Ai,Ye,Qe].concat(Kt))}function rt(Ye,Qe){for(var Lt=arguments.length,Kt=Array(Lt>2?Lt-2:0),pr=2;pr<Lt;pr++)Kt[pr-2]=arguments[pr];return Fr.apply(void 0,[ei,Ye,Qe].concat(Kt))}function It(Ye,Qe,Lt){for(var Kt=arguments.length,pr=Array(Kt>3?Kt-3:0),Rr=3;Rr<Kt;Rr++)pr[Rr-3]=arguments[Rr];return Fr.apply(void 0,[Gi,Ye,Qe,Lt].concat(pr))}var ht=qn,lr=e(44520),dr=e.n(lr),Ir=e(10928),Zr=e(78639),Ze=e.n(Zr),et=e(92393),Ee=e(74604),it=e(56754),ir=e.n(it),Dr=e(6487),Er=e(56789),Or=e(89381),Nr=e.n(Or),bn=e(60288),Pr=e(52456),ln=e(13960),nn=e.n(ln),cn=Array.isArray.bind(Array),An=function(Qe){return typeof Qe=="function"},pa=function(Qe){return Qe},Pi=function(){},bi=function(Qe,Lt){for(var Kt=0,pr=Qe.length;Kt<pr;Kt+=1)if(Lt(Qe[Kt],Kt))return Kt;return-1},_n=Object.freeze({isPlainObject:Ze(),isArray:cn,isFunction:An,returnSelf:pa,noop:Pi,findIndex:bi});function li(Ye,Qe){var Lt=Ye.namespace,Kt=Ye.reducers,pr=Ye.effects,Rr=Ye.subscriptions;invariant(Lt,"[app.model] namespace should be defined"),invariant(typeof Lt=="string","[app.model] namespace should be string, but got ".concat(_typeof(Lt))),invariant(!Qe.some(function($r){return $r.namespace===Lt}),"[app.model] namespace should be unique"),Kt&&(invariant(isPlainObject(Kt)||cn(Kt),"[app.model] reducers should be plain object or array, but got ".concat(_typeof(Kt))),invariant(!cn(Kt)||isPlainObject(Kt[0])&&An(Kt[1]),"[app.model] reducers with array should be [Object, Function]")),pr&&invariant(isPlainObject(pr),"[app.model] effects should be plain object, but got ".concat(_typeof(pr))),Rr&&(invariant(isPlainObject(Rr),"[app.model] subscriptions should be plain object, but got ".concat(_typeof(Rr))),invariant($i(Rr),"[app.model] subscription should be function"))}function $i(Ye){return Object.keys(Ye).every(function(Qe){return An(Ye[Qe])})}var la="/";function xs(Ye,Qe,Lt){return Object.keys(Ye).reduce(function(Kt,pr){ir()(pr.indexOf("".concat(Qe).concat(la))!==0,"[prefixNamespace]: ".concat(Lt," ").concat(pr," should not be prefixed with namespace ").concat(Qe));var Rr="".concat(Qe).concat(la).concat(pr);return Kt[Rr]=Ye[pr],Kt},{})}function Pa(Ye){var Qe=Ye.namespace,Lt=Ye.reducers,Kt=Ye.effects;if(Lt)if(cn(Lt)){var pr=(0,Ee.Z)(Lt),Rr=pr[0],$r=pr.slice(1);Ye.reducers=[xs(Rr,Qe,"reducer")].concat((0,et.Z)($r))}else Ye.reducers=xs(Lt,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,Lt){return Na.indexOf(Lt)>-1&&(Qe[Lt]=Ye[Lt]),Qe},{})}var $a=function(){function Ye(){(0,Dr.Z)(this,Ye),this._handleActions=null,this.hooks=Na.reduce(function(Qe,Lt){return Qe[Lt]=[],Qe},{})}return(0,Er.Z)(Ye,[{key:"use",value:function(Lt){dr()(Ze()(Lt),"plugin.use: plugin should be plain object");var Kt=this.hooks;for(var pr in Lt)Object.prototype.hasOwnProperty.call(Lt,pr)&&(dr()(Kt[pr],"plugin.use: unknown plugin property: ".concat(pr)),pr==="_handleActions"?this._handleActions=Lt[pr]:pr==="extraEnhancers"?Kt[pr]=Lt[pr]:Kt[pr].push(Lt[pr]))}},{key:"apply",value:function(Lt,Kt){var pr=this.hooks,Rr=["onError","onHmr"];dr()(Rr.indexOf(Lt)>-1,"plugin.apply: hook ".concat(Lt," cannot be applied"));var $r=pr[Lt];return function(){if($r.length){var gn=!0,an=!1,yn=void 0;try{for(var Qn=$r[Symbol.iterator](),ri;!(gn=(ri=Qn.next()).done);gn=!0){var vi=ri.value;vi.apply(void 0,arguments)}}catch(Ii){an=!0,yn=Ii}finally{try{!gn&&Qn.return!=null&&Qn.return()}finally{if(an)throw yn}}}else Kt&&Kt.apply(void 0,arguments)}}},{key:"get",value:function(Lt){var Kt=this.hooks;return dr()(Lt in Kt,"plugin.get: hook ".concat(Lt," cannot be got")),Lt==="extraReducers"?hs(Kt[Lt]):Lt==="onReducer"?oa(Kt[Lt]):Kt[Lt]}}]),Ye}();function hs(Ye){var Qe={},Lt=!0,Kt=!1,pr=void 0;try{for(var Rr=Ye[Symbol.iterator](),$r;!(Lt=($r=Rr.next()).done);Lt=!0){var gn=$r.value;Qe=(0,l.Z)({},Qe,gn)}}catch(an){Kt=!0,pr=an}finally{try{!Lt&&Rr.return!=null&&Rr.return()}finally{if(Kt)throw pr}}return Qe}function oa(Ye){return function(Qe){var Lt=!0,Kt=!1,pr=void 0;try{for(var Rr=Ye[Symbol.iterator](),$r;!(Lt=($r=Rr.next()).done);Lt=!0){var gn=$r.value;Qe=gn(Qe)}}catch(an){Kt=!0,pr=an}finally{try{!Lt&&Rr.return!=null&&Rr.return()}finally{if(Kt)throw pr}}return Qe}}function xi(Ye){var Qe=Ye.reducers,Lt=Ye.initialState,Kt=Ye.plugin,pr=Ye.sagaMiddleware,Rr=Ye.promiseMiddleware,$r=Ye.createOpts.setupMiddlewares,gn=$r===void 0?pa:$r,an=Kt.get("extraEnhancers");dr()(cn(an),"[app.start] extraEnhancers should be array, but got ".concat((0,Ir.Z)(an)));var yn=Kt.get("onAction"),Qn=gn([Rr,pr].concat((0,et.Z)(Nr()(yn)))),ri=c.qC,vi=[c.md.apply(void 0,(0,et.Z)(Qn))].concat((0,et.Z)(an));return(0,c.MT)(Qe,Lt,ri.apply(void 0,(0,et.Z)(vi)))}function Ga(Ye,Qe){var Lt="".concat(Qe.namespace).concat(la).concat(Ye),Kt=Lt.replace(/\/@@[^/]+?$/,""),pr=Array.isArray(Qe.reducers)?Qe.reducers[0][Kt]:Qe.reducers&&Qe.reducers[Kt];return pr||Qe.effects&&Qe.effects[Kt]?Lt:Ye}function Ds(Ye,Qe,Lt,Kt){var pr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return nn().mark(function Rr(){var $r;return nn().wrap(function(an){for(;;)switch(an.prev=an.next){case 0:an.t0=nn().keys(Ye);case 1:if((an.t1=an.t0()).done){an.next=7;break}if($r=an.t1.value,!Object.prototype.hasOwnProperty.call(Ye,$r)){an.next=5;break}return an.delegateYield(nn().mark(function yn(){var Qn,ri;return nn().wrap(function(Ii){for(;;)switch(Ii.prev=Ii.next){case 0:return Qn=ji($r,Ye[$r],Qe,Lt,Kt,pr),Ii.next=3,Fr(Qn);case 3:return ri=Ii.sent,Ii.next=6,Fr(nn().mark(function Hi(){return nn().wrap(function(Si){for(;;)switch(Si.prev=Si.next){case 0:return Si.next=2,Ke("".concat(Qe.namespace,"/@@CANCEL_EFFECTS"));case 2:return Si.next=4,on(ri);case 4:case"end":return Si.stop()}},Hi)}));case 6:case"end":return Ii.stop()}},yn)})(),"t2",5);case 5:an.next=1;break;case 7:case"end":return an.stop()}},Rr)})}function ji(Ye,Qe,Lt,Kt,pr,Rr){var $r=nn().mark(Hi),gn=Qe,an="takeEvery",yn,Qn;if(Array.isArray(Qe)){var ri=(0,Pr.Z)(Qe,1);gn=ri[0];var vi=Qe[1];vi&&vi.type&&(an=vi.type,an==="throttle"&&(dr()(vi.ms,"app.start: opts.ms should be defined if type is throttle"),yn=vi.ms),an==="poll"&&(dr()(vi.delay,"app.start: opts.delay should be defined if type is poll"),Qn=vi.delay)),dr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(an)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function Ii(){}function Hi(){var Si,ma,Ci,Ei,fa,Ks,Es,Wi,ka,ea=arguments;return nn().wrap(function(va){for(;;)switch(va.prev=va.next){case 0:for(Si=ea.length,ma=new Array(Si),Ci=0;Ci<Si;Ci++)ma[Ci]=ea[Ci];return Ei=ma.length>0?ma[0]:{},fa=Ei.__dva_resolve,Ks=fa===void 0?Ii:fa,Es=Ei.__dva_reject,Wi=Es===void 0?Ii:Es,va.prev=2,va.next=5,kt({type:"".concat(Ye).concat(la,"@@start")});case 5:return va.next=7,gn.apply(void 0,(0,et.Z)(ma.concat(ps(Lt,Rr))));case 7:return ka=va.sent,va.next=10,kt({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()}},$r,null,[[2,13]])}var Fi=Co(pr,Hi,Lt,Ye);switch(an){case"watcher":return Hi;case"takeLatest":return nn().mark(function Si(){return nn().wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:return Ci.next=2,rt(Ye,Fi);case 2:case"end":return Ci.stop()}},Si)});case"throttle":return nn().mark(function Si(){return nn().wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:return Ci.next=2,It(yn,Ye,Fi);case 2:case"end":return Ci.stop()}},Si)});case"poll":return nn().mark(function Si(){var ma,Ci,Ei,fa,Ks,Es,Wi;return nn().wrap(function(ea){for(;;)switch(ea.prev=ea.next){case 0:Ei=function(va,Ba){var Ka;return nn().wrap(function(qa){for(;;)switch(qa.prev=qa.next){case 0:Ka=va.call;case 1:return qa.next=4,Ka(Fi,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=nn().mark(Ei),fa=Vr,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(Ei,r,Wi),Ks("".concat(Ye,"-stop"))]);case 10:ea.next=4;break;case 12:case"end":return ea.stop()}},Si)});default:return nn().mark(function Si(){return nn().wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:return Ci.next=2,pt(Ye,Fi);case 2:case"end":return Ci.stop()}},Si)})}}function ps(Ye,Qe){function Lt($r,gn){dr()($r,"dispatch: action should be a plain Object with type");var an=Qe.namespacePrefixWarning,yn=an===void 0?!0:an;yn&&ir()($r.indexOf("".concat(Ye.namespace).concat(la))!==0,"[".concat(gn,"] ").concat($r," should not be prefixed with namespace ").concat(Ye.namespace))}function Kt($r){var gn=$r.type;return Lt(gn,"sagaEffects.put"),kt((0,l.Z)({},$r,{type:Ga(gn,Ye)}))}function pr($r){var gn=$r.type;return Lt(gn,"sagaEffects.put.resolve"),kt.resolve((0,l.Z)({},$r,{type:Ga(gn,Ye)}))}Kt.resolve=pr;function Rr($r){return typeof $r=="string"?(Lt($r,"sagaEffects.take"),Ke(Ga($r,Ye))):Array.isArray($r)?Ke($r.map(function(gn){return typeof gn=="string"?(Lt(gn,"sagaEffects.take"),Ga(gn,Ye)):gn})):Ke($r)}return(0,l.Z)({},r,{put:Kt,take:Rr})}function Co(Ye,Qe,Lt,Kt){var pr=!0,Rr=!1,$r=void 0;try{for(var gn=Ye[Symbol.iterator](),an;!(pr=(an=gn.next()).done);pr=!0){var yn=an.value;Qe=yn(Qe,r,Lt,Kt)}}catch(Qn){Rr=!0,$r=Qn}finally{try{!pr&&gn.return!=null&&gn.return()}finally{if(Rr)throw $r}}return Qe}function La(Ye){return Ye}function _s(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:La;return function(Lt,Kt){var pr=Kt.type;return dr()(pr,"dispatch: action should be a plain Object with type"),Ye===pr?Qe(Lt,Kt):Lt}}function Ui(){for(var Ye=arguments.length,Qe=new Array(Ye),Lt=0;Lt<Ye;Lt++)Qe[Lt]=arguments[Lt];return function(Kt,pr){return Qe.reduce(function(Rr,$r){return $r(Rr,pr)},Kt)}}function Gs(Ye,Qe){var Lt=Object.keys(Ye).map(function(pr){return _s(pr,Ye[pr])}),Kt=Ui.apply(void 0,(0,et.Z)(Lt));return function(){var pr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qe,Rr=arguments.length>1?arguments[1]:void 0;return Kt(pr,Rr)}}function Ln(Ye,Qe,Lt){return Array.isArray(Ye)?Ye[1]((Lt||Gs)(Ye[0],Qe)):(Lt||Gs)(Ye||{},Qe)}function ja(Ye){return function(){return function(Lt){return function(Kt){var pr=Kt.type;return Qe(pr)?new Promise(function(Rr,$r){Lt((0,l.Z)({__dva_resolve:Rr,__dva_reject:$r},Kt))}):Lt(Kt)}}};function Qe(Lt){if(!Lt||typeof Lt!="string")return!1;var Kt=Lt.split(la),pr=(0,Pr.Z)(Kt,1),Rr=pr[0],$r=Ye._models.filter(function(gn){return gn.namespace===Rr})[0];return!!($r&&$r.effects&&$r.effects[Lt])}}function ns(Ye,Qe){return function(Lt){var Kt=Lt.type;return dr()(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)({},Lt,{type:Ga(Kt,Qe)}))}}function ls(Ye,Qe,Lt,Kt){var pr=[],Rr=[];for(var $r in Ye)if(Object.prototype.hasOwnProperty.call(Ye,$r)){var gn=Ye[$r],an=gn({dispatch:ns(Lt._store.dispatch,Qe),history:Lt._history},Kt);An(an)?pr.push(an):Rr.push($r)}return{funcs:pr,nonFuncs:Rr}}function Vi(Ye,Qe){if(Ye[Qe]){var Lt=Ye[Qe],Kt=Lt.funcs,pr=Lt.nonFuncs;ir()(pr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(pr.join(", ")));var Rr=!0,$r=!1,gn=void 0;try{for(var an=Kt[Symbol.iterator](),yn;!(Rr=(yn=an.next()).done);Rr=!0){var Qn=yn.value;Qn()}}catch(ri){$r=!0,gn=ri}finally{try{!Rr&&an.return!=null&&an.return()}finally{if($r)throw gn}}delete Ye[Qe]}}var Ia=Pi,Da=bi,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]:{},Lt=Qe.initialReducer,Kt=Qe.setupApp,pr=Kt===void 0?Ia:Kt,Rr=new $a;Rr.use(Is(Ye));var $r={_models:[Pa((0,l.Z)({},ms))],_store:null,_plugin:Rr,use:Rr.use.bind(Rr),model:gn,start:ri};return $r;function gn(vi){var Ii=Pa((0,l.Z)({},vi));return $r._models.push(Ii),Ii}function an(vi,Ii,Hi,Fi){Fi=gn(Fi);var Si=$r._store;Si.asyncReducers[Fi.namespace]=Ln(Fi.reducers,Fi.state,Rr._handleActions),Si.replaceReducer(vi()),Fi.effects&&Si.runSaga($r._getSaga(Fi.effects,Fi,Ii,Rr.get("onEffect"),Ye)),Fi.subscriptions&&(Hi[Fi.namespace]=ls(Fi.subscriptions,Fi,$r,Ii))}function yn(vi,Ii,Hi,Fi){var Si=$r._store;delete Si.asyncReducers[Fi],delete Ii[Fi],Si.replaceReducer(vi()),Si.dispatch({type:"@@dva/UPDATE"}),Si.dispatch({type:"".concat(Fi,"/@@CANCEL_EFFECTS")}),Vi(Hi,Fi),$r._models=$r._models.filter(function(ma){return ma.namespace!==Fi})}function Qn(vi,Ii,Hi,Fi,Si){var ma=$r._store,Ci=Si.namespace,Ei=Da($r._models,function(fa){return fa.namespace===Ci});~Ei&&(ma.dispatch({type:"".concat(Ci,"/@@CANCEL_EFFECTS")}),delete ma.asyncReducers[Ci],delete Ii[Ci],Vi(Hi,Ci),$r._models.splice(Ei,1)),$r.model(Si),ma.dispatch({type:"@@dva/UPDATE"})}function ri(){var vi=function(yr,en){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,$r._store.dispatch,en))},Ii=ht(),Hi=ja($r);$r._getSaga=Ds.bind(null);var Fi=[],Si=(0,l.Z)({},Lt),ma=!0,Ci=!1,Ei=void 0;try{for(var fa=$r._models[Symbol.iterator](),Ks;!(ma=(Ks=fa.next()).done);ma=!0){var Es=Ks.value;Si[Es.namespace]=Ln(Es.reducers,Es.state,Rr._handleActions),Es.effects&&Fi.push($r._getSaga(Es.effects,Es,vi,Rr.get("onEffect"),Ye))}}catch(we){Ci=!0,Ei=we}finally{try{!ma&&fa.return!=null&&fa.return()}finally{if(Ci)throw Ei}}var Wi=Rr.get("onReducer"),ka=Rr.get("extraReducers");dr()(Object.keys(ka).every(function(we){return!(we in Si)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(Si).join(", "))),$r._store=xi({reducers:ye(),initialState:Ye.initialState||{},plugin:Rr,createOpts:Qe,sagaMiddleware:Ii,promiseMiddleware:Hi});var ea=$r._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(we){Ba=!0,Ka=we}finally{try{!va&&qa.return!=null&&qa.return()}finally{if(Ba)throw Ka}}Fi.forEach(Ii.run),pr($r);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,$r,vi))}}catch(we){Ms=!0,da=we}finally{try{!Ys&&Ua.return!=null&&Ua.return()}finally{if(Ms)throw da}}$r.model=an.bind($r,ye,vi,Ya),$r.unmodel=yn.bind($r,ye,Si,Ya),$r.replaceModel=Qn.bind($r,ye,Si,Ya,vi);function ye(){return Wi((0,c.UY)((0,l.Z)({},Si,ka,$r._store?$r._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 pi(){var Ye;if(!i.createContext)return{};const Qe=(Ye=go[vo])!=null?Ye:go[vo]=new Map;let Lt=Qe.get(i.createContext);return Lt||(Lt=i.createContext(null),Qe.set(i.createContext,Lt)),Lt}const oi=pi();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,pr={}){const{equalityFn:Rr=Qa,stabilityCheck:$r=void 0,noopCheck:gn=void 0}=typeof pr=="function"?{equalityFn:pr}:pr,{store:an,subscription:yn,getServerState:Qn,stabilityCheck:ri,noopCheck:vi}=Qe(),Ii=(0,i.useRef)(!0),Hi=(0,i.useCallback)({[Kt.name](Si){return Kt(Si)}}[Kt.name],[Kt,ri,$r]),Fi=co(yn.addNestedSub,an.getState,Qn||an.getState,Hi,Rr);return(0,i.useDebugValue)(Fi),Fi}}const yo=Lo();var Ko=e(5016),Tu=e(37417),_u=e(94266),fo=e.n(_u),fs=e(23265);const zu=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Mo(Ye,Qe,Lt,Kt,{areStatesEqual:pr,areOwnPropsEqual:Rr,areStatePropsEqual:$r}){let gn=!1,an,yn,Qn,ri,vi;function Ii(Ci,Ei){return an=Ci,yn=Ei,Qn=Ye(an,yn),ri=Qe(Kt,yn),vi=Lt(Qn,ri,yn),gn=!0,vi}function Hi(){return Qn=Ye(an,yn),Qe.dependsOnOwnProps&&(ri=Qe(Kt,yn)),vi=Lt(Qn,ri,yn),vi}function Fi(){return Ye.dependsOnOwnProps&&(Qn=Ye(an,yn)),Qe.dependsOnOwnProps&&(ri=Qe(Kt,yn)),vi=Lt(Qn,ri,yn),vi}function Si(){const Ci=Ye(an,yn),Ei=!$r(Ci,Qn);return Qn=Ci,Ei&&(vi=Lt(Qn,ri,yn)),vi}function ma(Ci,Ei){const fa=!Rr(Ei,yn),Ks=!pr(Ci,an,Ei,yn);return an=Ci,yn=Ei,fa&&Ks?Hi():fa?Fi():Ks?Si():vi}return function(Ei,fa){return gn?ma(Ei,fa):Ii(Ei,fa)}}function Io(Ye,Qe){let{initMapStateToProps:Lt,initMapDispatchToProps:Kt,initMergeProps:pr}=Qe,Rr=(0,Tu.Z)(Qe,zu);const $r=Lt(Ye,Rr),gn=Kt(Ye,Rr),an=pr(Ye,Rr);return Mo($r,gn,an,Ye,Rr)}function Us(Ye,Qe){const Lt={};for(const Kt in Ye){const pr=Ye[Kt];typeof pr=="function"&&(Lt[Kt]=(...Rr)=>Qe(pr(...Rr)))}return Lt}function ou(Ye){return function(Lt){const Kt=Ye(Lt);function pr(){return Kt}return pr.dependsOnOwnProps=!1,pr}}function jo(Ye){return Ye.dependsOnOwnProps?!!Ye.dependsOnOwnProps:Ye.length!==1}function Do(Ye,Qe){return function(Kt,{displayName:pr}){const Rr=function(gn,an){return Rr.dependsOnOwnProps?Rr.mapToProps(gn,an):Rr.mapToProps(gn,void 0)};return Rr.dependsOnOwnProps=!0,Rr.mapToProps=function(gn,an){Rr.mapToProps=Ye,Rr.dependsOnOwnProps=jo(Ye);let yn=Rr(gn,an);return typeof yn=="function"&&(Rr.mapToProps=yn,Rr.dependsOnOwnProps=jo(yn),yn=Rr(gn,an)),yn},Rr}}function Ls(Ye,Qe){return(Lt,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,Lt){return(0,Ko.Z)({},Lt,Ye,Qe)}function Xt(Ye){return function(Lt,{displayName:Kt,areMergedPropsEqual:pr}){let Rr=!1,$r;return function(an,yn,Qn){const ri=Ye(an,yn,Qn);return Rr?pr(ri,$r)||($r=ri):(Rr=!0,$r=ri),$r}}}function fr(Ye){return Ye?typeof Ye=="function"?Xt(Ye):Ls(Ye,"mergeProps"):()=>Fo}function sr(){const Ye=mo();let Qe=null,Lt=null;return{clear(){Qe=null,Lt=null},notify(){Ye(()=>{let Kt=Qe;for(;Kt;)Kt.callback(),Kt=Kt.next})},get(){let Kt=[],pr=Qe;for(;pr;)Kt.push(pr),pr=pr.next;return Kt},subscribe(Kt){let pr=!0,Rr=Lt={callback:Kt,next:null,prev:Lt};return Rr.prev?Rr.prev.next=Rr:Qe=Rr,function(){!pr||Qe===null||(pr=!1,Rr.next?Rr.next.prev=Rr.prev:Lt=Rr.prev,Rr.prev?Rr.prev.next=Rr.next:Qe=Rr.next)}}}}const vr={notify(){},get:()=>[]};function wr(Ye,Qe){let Lt,Kt=vr,pr=0,Rr=!1;function $r(Fi){Qn();const Si=Kt.subscribe(Fi);let ma=!1;return()=>{ma||(ma=!0,Si(),ri())}}function gn(){Kt.notify()}function an(){Hi.onStateChange&&Hi.onStateChange()}function yn(){return Rr}function Qn(){pr++,Lt||(Lt=Qe?Qe.addNestedSub(an):Ye.subscribe(an),Kt=sr())}function ri(){pr--,Lt&&pr===0&&(Lt(),Lt=void 0,Kt.clear(),Kt=vr)}function vi(){Rr||(Rr=!0,Qn())}function Ii(){Rr&&(Rr=!1,ri())}const Hi={addNestedSub:$r,notifyNestedSubs:gn,handleChangeWrapper:an,isSubscribed:yn,trySubscribe:vi,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 Mn(Ye,Qe){if(Un(Ye,Qe))return!0;if(typeof Ye!="object"||Ye===null||typeof Qe!="object"||Qe===null)return!1;const Lt=Object.keys(Ye),Kt=Object.keys(Qe);if(Lt.length!==Kt.length)return!1;for(let pr=0;pr<Lt.length;pr++)if(!Object.prototype.hasOwnProperty.call(Qe,Lt[pr])||!Un(Ye[Lt[pr]],Qe[Lt[pr]]))return!1;return!0}const Gn=["reactReduxForwardedRef"];let ur=lo;const Mr=Ye=>{ur=Ye},xr=null,vn=[null,null],Hn=Ye=>{try{return JSON.stringify(Ye)}catch(Qe){return String(Ye)}};function ct(Ye,Qe,Lt){Sn(()=>Ye(...Qe),Lt)}function In(Ye,Qe,Lt,Kt,pr,Rr){Ye.current=Kt,Lt.current=!1,pr.current&&(pr.current=null,Rr())}function Vn(Ye,Qe,Lt,Kt,pr,Rr,$r,gn,an,yn,Qn){if(!Ye)return()=>{};let ri=!1,vi=null;const Ii=()=>{if(ri||!gn.current)return;const Fi=Qe.getState();let Si,ma;try{Si=Kt(Fi,pr.current)}catch(Ci){ma=Ci,vi=Ci}ma||(vi=null),Si===Rr.current?$r.current||yn():(Rr.current=Si,an.current=Si,$r.current=!0,Qn())};return Lt.onStateChange=Ii,Lt.trySubscribe(),Ii(),()=>{if(ri=!0,Lt.tryUnsubscribe(),Lt.onStateChange=null,vi)throw vi}}const ci=()=>xr;function Qi(Ye,Qe){return Ye===Qe}let Br=!1;function Mi(Ye,Qe,Lt,{pure:Kt,areStatesEqual:pr=Qi,areOwnPropsEqual:Rr=Mn,areStatePropsEqual:$r=Mn,areMergedPropsEqual:gn=Mn,forwardRef:an=!1,context:yn=oi}={}){const Qn=yn,ri=mu(Ye),vi=bo(Qe),Ii=fr(Lt),Hi=!!Ye;return Si=>{const ma=Si.displayName||Si.name||"Component",Ci=`Connect(${ma})`,Ei={shouldHandleStateChanges:Hi,displayName:Ci,wrappedComponentName:ma,WrappedComponent:Si,initMapStateToProps:ri,initMapDispatchToProps:vi,initMergeProps:Ii,areStatesEqual:pr,areStatePropsEqual:$r,areOwnPropsEqual:Rr,areMergedPropsEqual:gn};function fa(Wi){const[ka,ea,ki]=i.useMemo(()=>{const{reactReduxForwardedRef:Fn}=Wi,On=(0,Tu.Z)(Wi,Gn);return[Wi.context,Fn,On]},[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,Ei),[qa]),[Ys,Ms]=i.useMemo(()=>{if(!Hi)return vn;const Fn=wr(qa,Ka?void 0:Ba.subscription),On=Fn.notifyNestedSubs.bind(Fn);return[Fn,On]},[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),we=i.useRef(!1),yr=i.useRef(!1),en=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(()=>On=>Ys?Vn(Hi,qa,Ys,Ya,As,Ua,ye,yr,ga,Ms,On):()=>{},[Ys]);ct(In,[As,Ua,ye,ki,ga,Ms]);let Cn;try{Cn=ur(qr,br,so?()=>Ya(so(),ki):br)}catch(Fn){throw en.current&&(Fn.message+=`
|
|
|
The error may be correlated with this previous error:
|
|
|
${en.current.stack}
|
|
|
|
|
|
`),Fn}Sn(()=>{en.current=void 0,ga.current=void 0,Ua.current=Cn});const ti=i.useMemo(()=>i.createElement(Si,(0,Ko.Z)({},Cn,{ref:ea})),[ea,Si,Cn]);return i.useMemo(()=>Hi?i.createElement(va.Provider,{value:da},ti):ti,[va,ti,da])}const Es=i.memo(fa);if(Es.WrappedComponent=Si,Es.displayName=fa.displayName=Ci,an){const ka=i.forwardRef(function(ki,va){return i.createElement(Es,(0,Ko.Z)({},ki,{reactReduxForwardedRef:va}))});return ka.displayName=Ci,ka.WrappedComponent=Si,fo()(ka,Si)}return fo()(Es,Si)}}var ba=Mi;function Ur({store:Ye,context:Qe,children:Lt,serverState:Kt,stabilityCheck:pr="once",noopCheck:Rr="once"}){const $r=i.useMemo(()=>{const yn=wr(Ye);return{store:Ye,subscription:yn,getServerState:Kt?()=>Kt:void 0,stabilityCheck:pr,noopCheck:Rr}},[Ye,Kt,pr,Rr]),gn=i.useMemo(()=>Ye.getState(),[Ye]);Sn(()=>{const{subscription:yn}=$r;return yn.onStateChange=yn.notifyNestedSubs,yn.trySubscribe(),gn!==Ye.getState()&&yn.notifyNestedSubs(),()=>{yn.tryUnsubscribe(),yn.onStateChange=void 0}},[$r,gn]);const an=Qe||oi;return i.createElement(an.Provider,{value:$r},Lt)}var na=Ur;function Ss(Ye=oi){const Qe=Ye===oi?Xa:Va(Ye);return function(){const{store:Kt}=Qe();return Kt}}const fi=Ss();function Vs(Ye=oi){const Qe=Ye===oi?fi:Ss(Ye);return function(){return Qe().dispatch}}const xo=Vs();Po(To.useSyncExternalStoreWithSelector),Mr(_o.useSyncExternalStore),cs(Vo.unstable_batchedUpdates);var Os=Object.defineProperty,xa=Object.getOwnPropertySymbols,ds=Object.prototype.hasOwnProperty,ks=Object.prototype.propertyIsEnumerable,Dn=(Ye,Qe,Lt)=>Qe in Ye?Os(Ye,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Ye[Qe]=Lt,gs=(Ye,Qe)=>{for(var Lt in Qe||(Qe={}))ds.call(Qe,Lt)&&Dn(Ye,Lt,Qe[Lt]);if(xa)for(var Lt of xa(Qe))ks.call(Qe,Lt)&&Dn(Ye,Lt,Qe[Lt]);return Ye};function Ns(Ye){const Qe=create(Ye,{initialReducer:{},setupApp(){}}),Lt=Qe.start;return Qe.router=Kt,Qe.start=pr,Qe;function Kt(Rr){Qe._router=Rr}function pr(Rr){if(typeof Rr!="undefined")throw new Error("dva.start() should not be called with any arguments.");Qe._store||Lt.call(Qe);const $r=Qe._store,gn=Qe._router;return an=>React.createElement(Provider,{store:$r},gn(gs({app:Qe},an)))}}},58293:function(d,v,e){"use strict";e.d(v,{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,T,D)=>T in L?i(L,T,{enumerable:!0,configurable:!0,writable:!0,value:D}):L[T]=D,a=(L,T)=>{for(var D in T||(T={}))s.call(T,D)&&u(L,D,T[D]);if(f)for(var D of f(T))h.call(T,D)&&u(L,D,T[D]);return L},x=(L,T)=>l(L,c(T));let p,y="/";function _(L){let T;return L.type==="hash"?T=(0,r.q_)():L.type==="memory"?T=(0,r.PP)(L):T=(0,r.lX)(),L.basename&&(y=L.basename),p=x(a({},T),{push(D,M){T.push(S(D,T),M)},replace(D,M){T.replace(S(D,T),M)},get location(){return T.location},get action(){return T.action}}),T}function b(L){L&&(p=L)}function S(L,T){if(typeof L=="string")return`${R(y)}${L}`;if(typeof L=="object"){const D=T.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}},3191:function(d,v,e){"use strict";e.d(v,{gD:function(){return fn},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 We}});var l={};e.r(l),e.d(l,{rootContainer:function(){return Ce}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return Ut}});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(Rt){s.ZP.error(Rt.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),T=e.n(L);function D(){return D=Object.assign||function(Rt){for(var _t=1;_t<arguments.length;_t++){var vt=arguments[_t];for(var Bt in vt)Object.prototype.hasOwnProperty.call(vt,Bt)&&(Rt[Bt]=vt[Bt])}return Rt},D.apply(this,arguments)}function M(Rt,_t){Rt.prototype=Object.create(_t.prototype),Rt.prototype.constructor=Rt,N(Rt,_t)}function N(Rt,_t){return N=Object.setPrototypeOf||function(vt,Bt){return vt.__proto__=Bt,vt},N(Rt,_t)}function j(Rt,_t){if(Rt==null)return{};var vt,Bt,Cr={},gr=Object.keys(Rt);for(Bt=0;Bt<gr.length;Bt++)_t.indexOf(vt=gr[Bt])>=0||(Cr[vt]=Rt[vt]);return Cr}var Q={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},X={rel:["amphtml","canonical","alternate"]},Y={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"]},ie=Object.keys(Q).map(function(Rt){return Q[Rt]}),ue={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},K=Object.keys(ue).reduce(function(Rt,_t){return Rt[ue[_t]]=_t,Rt},{}),V=function(Rt,_t){for(var vt=Rt.length-1;vt>=0;vt-=1){var Bt=Rt[vt];if(Object.prototype.hasOwnProperty.call(Bt,_t))return Bt[_t]}return null},G=function(Rt){var _t=V(Rt,Q.TITLE),vt=V(Rt,"titleTemplate");if(Array.isArray(_t)&&(_t=_t.join("")),vt&&_t)return vt.replace(/%s/g,function(){return _t});var Bt=V(Rt,"defaultTitle");return _t||Bt||void 0},te=function(Rt){return V(Rt,"onChangeClientState")||function(){}},q=function(Rt,_t){return _t.filter(function(vt){return vt[Rt]!==void 0}).map(function(vt){return vt[Rt]}).reduce(function(vt,Bt){return D({},vt,Bt)},{})},J=function(Rt,_t){return _t.filter(function(vt){return vt[Q.BASE]!==void 0}).map(function(vt){return vt[Q.BASE]}).reverse().reduce(function(vt,Bt){if(!vt.length)for(var Cr=Object.keys(Bt),gr=0;gr<Cr.length;gr+=1){var rn=Cr[gr].toLowerCase();if(Rt.indexOf(rn)!==-1&&Bt[rn])return vt.concat(Bt)}return vt},[])},le=function(Rt,_t,vt){var Bt={};return vt.filter(function(Cr){return!!Array.isArray(Cr[Rt])||(Cr[Rt]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+Rt+' should be of type "Array". Instead found type "'+typeof Cr[Rt]+'"'),!1)}).map(function(Cr){return Cr[Rt]}).reverse().reduce(function(Cr,gr){var rn={};gr.filter(function(Xr){for(var pn,$n=Object.keys(Xr),si=0;si<$n.length;si+=1){var zn=$n[si],Li=zn.toLowerCase();_t.indexOf(Li)===-1||pn==="rel"&&Xr[pn].toLowerCase()==="canonical"||Li==="rel"&&Xr[Li].toLowerCase()==="stylesheet"||(pn=Li),_t.indexOf(zn)===-1||zn!=="innerHTML"&&zn!=="cssText"&&zn!=="itemprop"||(pn=zn)}if(!pn||!Xr[pn])return!1;var ui=Xr[pn].toLowerCase();return Bt[pn]||(Bt[pn]={}),rn[pn]||(rn[pn]={}),!Bt[pn][ui]&&(rn[pn][ui]=!0,!0)}).reverse().forEach(function(Xr){return Cr.push(Xr)});for(var Kr=Object.keys(rn),Pn=0;Pn<Kr.length;Pn+=1){var Ct=Kr[Pn],cr=D({},Bt[Ct],rn[Ct]);Bt[Ct]=cr}return Cr},[]).reverse()},z=function(Rt,_t){if(Array.isArray(Rt)&&Rt.length){for(var vt=0;vt<Rt.length;vt+=1)if(Rt[vt][_t])return!0}return!1},F=function(Rt){return Array.isArray(Rt)?Rt.join(""):Rt},se=function(Rt,_t){return Array.isArray(Rt)?Rt.reduce(function(vt,Bt){return function(Cr,gr){for(var rn=Object.keys(Cr),Kr=0;Kr<rn.length;Kr+=1)if(gr[rn[Kr]]&&gr[rn[Kr]].includes(Cr[rn[Kr]]))return!0;return!1}(Bt,_t)?vt.priority.push(Bt):vt.default.push(Bt),vt},{priority:[],default:[]}):{default:Rt}},_e=function(Rt,_t){var vt;return D({},Rt,((vt={})[_t]=void 0,vt))},Pe=[Q.NOSCRIPT,Q.SCRIPT,Q.STYLE],Re=function(Rt,_t){return _t===void 0&&(_t=!0),_t===!1?String(Rt):String(Rt).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},He=function(Rt){return Object.keys(Rt).reduce(function(_t,vt){var Bt=Rt[vt]!==void 0?vt+'="'+Rt[vt]+'"':""+vt;return _t?_t+" "+Bt:Bt},"")},je=function(Rt,_t){return _t===void 0&&(_t={}),Object.keys(Rt).reduce(function(vt,Bt){return vt[ue[Bt]||Bt]=Rt[Bt],vt},_t)},Zt=function(Rt,_t){return _t.map(function(vt,Bt){var Cr,gr=((Cr={key:Bt})["data-rh"]=!0,Cr);return Object.keys(vt).forEach(function(rn){var Kr=ue[rn]||rn;Kr==="innerHTML"||Kr==="cssText"?gr.dangerouslySetInnerHTML={__html:vt.innerHTML||vt.cssText}:gr[Kr]=vt[rn]}),x.createElement(Rt,gr)})},yt=function(Rt,_t,vt){switch(Rt){case Q.TITLE:return{toComponent:function(){return Cr=_t.titleAttributes,(gr={key:Bt=_t.title})["data-rh"]=!0,rn=je(Cr,gr),[x.createElement(Q.TITLE,rn,Bt)];var Bt,Cr,gr,rn},toString:function(){return function(Bt,Cr,gr,rn){var Kr=He(gr),Pn=F(Cr);return Kr?"<"+Bt+' data-rh="true" '+Kr+">"+Re(Pn,rn)+"</"+Bt+">":"<"+Bt+' data-rh="true">'+Re(Pn,rn)+"</"+Bt+">"}(Rt,_t.title,_t.titleAttributes,vt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return je(_t)},toString:function(){return He(_t)}};default:return{toComponent:function(){return Zt(Rt,_t)},toString:function(){return function(Bt,Cr,gr){return Cr.reduce(function(rn,Kr){var Pn=Object.keys(Kr).filter(function(Xr){return!(Xr==="innerHTML"||Xr==="cssText")}).reduce(function(Xr,pn){var $n=Kr[pn]===void 0?pn:pn+'="'+Re(Kr[pn],gr)+'"';return Xr?Xr+" "+$n:$n},""),Ct=Kr.innerHTML||Kr.cssText||"",cr=Pe.indexOf(Bt)===-1;return rn+"<"+Bt+' data-rh="true" '+Pn+(cr?"/>":">"+Ct+"</"+Bt+">")},"")}(Rt,_t,vt)}}}},Dt=function(Rt){var _t=Rt.baseTag,vt=Rt.bodyAttributes,Bt=Rt.encode,Cr=Rt.htmlAttributes,gr=Rt.noscriptTags,rn=Rt.styleTags,Kr=Rt.title,Pn=Kr===void 0?"":Kr,Ct=Rt.titleAttributes,cr=Rt.linkTags,Xr=Rt.metaTags,pn=Rt.scriptTags,$n={toComponent:function(){},toString:function(){return""}};if(Rt.prioritizeSeoTags){var si=function(zn){var Li=zn.linkTags,ui=zn.scriptTags,mi=zn.encode,wi=se(zn.metaTags,oe),gi=se(Li,X),Xi=se(ui,Y);return{priorityMethods:{toComponent:function(){return[].concat(Zt(Q.META,wi.priority),Zt(Q.LINK,gi.priority),Zt(Q.SCRIPT,Xi.priority))},toString:function(){return yt(Q.META,wi.priority,mi)+" "+yt(Q.LINK,gi.priority,mi)+" "+yt(Q.SCRIPT,Xi.priority,mi)}},metaTags:wi.default,linkTags:gi.default,scriptTags:Xi.default}}(Rt);$n=si.priorityMethods,cr=si.linkTags,Xr=si.metaTags,pn=si.scriptTags}return{priority:$n,base:yt(Q.BASE,_t,Bt),bodyAttributes:yt("bodyAttributes",vt,Bt),htmlAttributes:yt("htmlAttributes",Cr,Bt),link:yt(Q.LINK,cr,Bt),meta:yt(Q.META,Xr,Bt),noscript:yt(Q.NOSCRIPT,gr,Bt),script:yt(Q.SCRIPT,pn,Bt),style:yt(Q.STYLE,rn,Bt),title:yt(Q.TITLE,{title:Pn,titleAttributes:Ct},Bt)}},Qt=[],Jt=function(Rt,_t){var vt=this;_t===void 0&&(_t=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(Bt){vt.context.helmet=Bt},helmetInstances:{get:function(){return vt.canUseDOM?Qt:vt.instances},add:function(Bt){(vt.canUseDOM?Qt:vt.instances).push(Bt)},remove:function(Bt){var Cr=(vt.canUseDOM?Qt:vt.instances).indexOf(Bt);(vt.canUseDOM?Qt:vt.instances).splice(Cr,1)}}},this.context=Rt,this.canUseDOM=_t,_t||(Rt.helmet=Dt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},qt=x.createContext({}),Xe=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),Tt=typeof document!="undefined",jt=function(Rt){function _t(vt){var Bt;return(Bt=Rt.call(this,vt)||this).helmetData=new Jt(Bt.props.context,_t.canUseDOM),Bt}return M(_t,Rt),_t.prototype.render=function(){return x.createElement(qt.Provider,{value:this.helmetData.value},this.props.children)},_t}(x.Component);jt.canUseDOM=Tt,jt.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},jt.defaultProps={context:{}},jt.displayName="HelmetProvider";var st=function(Rt,_t){var vt,Bt=document.head||document.querySelector(Q.HEAD),Cr=Bt.querySelectorAll(Rt+"[data-rh]"),gr=[].slice.call(Cr),rn=[];return _t&&_t.length&&_t.forEach(function(Kr){var Pn=document.createElement(Rt);for(var Ct in Kr)Object.prototype.hasOwnProperty.call(Kr,Ct)&&(Ct==="innerHTML"?Pn.innerHTML=Kr.innerHTML:Ct==="cssText"?Pn.styleSheet?Pn.styleSheet.cssText=Kr.cssText:Pn.appendChild(document.createTextNode(Kr.cssText)):Pn.setAttribute(Ct,Kr[Ct]===void 0?"":Kr[Ct]));Pn.setAttribute("data-rh","true"),gr.some(function(cr,Xr){return vt=Xr,Pn.isEqualNode(cr)})?gr.splice(vt,1):rn.push(Pn)}),gr.forEach(function(Kr){return Kr.parentNode.removeChild(Kr)}),rn.forEach(function(Kr){return Bt.appendChild(Kr)}),{oldTags:gr,newTags:rn}},gt=function(Rt,_t){var vt=document.getElementsByTagName(Rt)[0];if(vt){for(var Bt=vt.getAttribute("data-rh"),Cr=Bt?Bt.split(","):[],gr=[].concat(Cr),rn=Object.keys(_t),Kr=0;Kr<rn.length;Kr+=1){var Pn=rn[Kr],Ct=_t[Pn]||"";vt.getAttribute(Pn)!==Ct&&vt.setAttribute(Pn,Ct),Cr.indexOf(Pn)===-1&&Cr.push(Pn);var cr=gr.indexOf(Pn);cr!==-1&&gr.splice(cr,1)}for(var Xr=gr.length-1;Xr>=0;Xr-=1)vt.removeAttribute(gr[Xr]);Cr.length===gr.length?vt.removeAttribute("data-rh"):vt.getAttribute("data-rh")!==rn.join(",")&&vt.setAttribute("data-rh",rn.join(","))}},dt=function(Rt,_t){var vt=Rt.baseTag,Bt=Rt.htmlAttributes,Cr=Rt.linkTags,gr=Rt.metaTags,rn=Rt.noscriptTags,Kr=Rt.onChangeClientState,Pn=Rt.scriptTags,Ct=Rt.styleTags,cr=Rt.title,Xr=Rt.titleAttributes;gt(Q.BODY,Rt.bodyAttributes),gt(Q.HTML,Bt),function(zn,Li){zn!==void 0&&document.title!==zn&&(document.title=F(zn)),gt(Q.TITLE,Li)}(cr,Xr);var pn={baseTag:st(Q.BASE,vt),linkTags:st(Q.LINK,Cr),metaTags:st(Q.META,gr),noscriptTags:st(Q.NOSCRIPT,rn),scriptTags:st(Q.SCRIPT,Pn),styleTags:st(Q.STYLE,Ct)},$n={},si={};Object.keys(pn).forEach(function(zn){var Li=pn[zn],ui=Li.newTags,mi=Li.oldTags;ui.length&&($n[zn]=ui),mi.length&&(si[zn]=pn[zn].oldTags)}),_t&&_t(),Kr(Rt,$n,si)},Je=null,Ue=function(Rt){function _t(){for(var Bt,Cr=arguments.length,gr=new Array(Cr),rn=0;rn<Cr;rn++)gr[rn]=arguments[rn];return(Bt=Rt.call.apply(Rt,[this].concat(gr))||this).rendered=!1,Bt}M(_t,Rt);var vt=_t.prototype;return vt.shouldComponentUpdate=function(Bt){return!T()(Bt,this.props)},vt.componentDidUpdate=function(){this.emitChange()},vt.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},vt.emitChange=function(){var Bt,Cr,gr=this.props.context,rn=gr.setHelmet,Kr=null,Pn=(Bt=gr.helmetInstances.get().map(function(Ct){var cr=D({},Ct.props);return delete cr.context,cr}),{baseTag:J(["href"],Bt),bodyAttributes:q("bodyAttributes",Bt),defer:V(Bt,"defer"),encode:V(Bt,"encodeSpecialCharacters"),htmlAttributes:q("htmlAttributes",Bt),linkTags:le(Q.LINK,["rel","href"],Bt),metaTags:le(Q.META,["name","charset","http-equiv","property","itemprop"],Bt),noscriptTags:le(Q.NOSCRIPT,["innerHTML"],Bt),onChangeClientState:te(Bt),scriptTags:le(Q.SCRIPT,["src","innerHTML"],Bt),styleTags:le(Q.STYLE,["cssText"],Bt),title:G(Bt),titleAttributes:q("titleAttributes",Bt),prioritizeSeoTags:z(Bt,"prioritizeSeoTags")});jt.canUseDOM?(Cr=Pn,Je&&cancelAnimationFrame(Je),Cr.defer?Je=requestAnimationFrame(function(){dt(Cr,function(){Je=null})}):(dt(Cr),Je=null)):Dt&&(Kr=Dt(Pn)),rn(Kr)},vt.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},vt.render=function(){return this.init(),null},_t}(x.Component);Ue.propTypes={context:Xe.isRequired},Ue.displayName="HelmetDispatcher";var ge=["children"],Se=["children"],Me=function(Rt){function _t(){return Rt.apply(this,arguments)||this}M(_t,Rt);var vt=_t.prototype;return vt.shouldComponentUpdate=function(Bt){return!b()(_e(this.props,"helmetData"),_e(Bt,"helmetData"))},vt.mapNestedChildrenToProps=function(Bt,Cr){if(!Cr)return null;switch(Bt.type){case Q.SCRIPT:case Q.NOSCRIPT:return{innerHTML:Cr};case Q.STYLE:return{cssText:Cr};default:throw new Error("<"+Bt.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},vt.flattenArrayTypeChildren=function(Bt){var Cr,gr=Bt.child,rn=Bt.arrayTypeChildren;return D({},rn,((Cr={})[gr.type]=[].concat(rn[gr.type]||[],[D({},Bt.newChildProps,this.mapNestedChildrenToProps(gr,Bt.nestedChildren))]),Cr))},vt.mapObjectTypeChildren=function(Bt){var Cr,gr,rn=Bt.child,Kr=Bt.newProps,Pn=Bt.newChildProps,Ct=Bt.nestedChildren;switch(rn.type){case Q.TITLE:return D({},Kr,((Cr={})[rn.type]=Ct,Cr.titleAttributes=D({},Pn),Cr));case Q.BODY:return D({},Kr,{bodyAttributes:D({},Pn)});case Q.HTML:return D({},Kr,{htmlAttributes:D({},Pn)});default:return D({},Kr,((gr={})[rn.type]=D({},Pn),gr))}},vt.mapArrayTypeChildrenToProps=function(Bt,Cr){var gr=D({},Cr);return Object.keys(Bt).forEach(function(rn){var Kr;gr=D({},gr,((Kr={})[rn]=Bt[rn],Kr))}),gr},vt.warnOnInvalidChildren=function(Bt,Cr){return R()(ie.some(function(gr){return Bt.type===gr}),typeof Bt.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 "+ie.join(", ")+" are allowed. Helmet does not support rendering <"+Bt.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 <"+Bt.type+">. Did you forget to wrap your children in braces? ( <"+Bt.type+">{``}</"+Bt.type+"> ) Refer to our API for more information."),!0},vt.mapChildrenToProps=function(Bt,Cr){var gr=this,rn={};return x.Children.forEach(Bt,function(Kr){if(Kr&&Kr.props){var Pn=Kr.props,Ct=Pn.children,cr=j(Pn,ge),Xr=Object.keys(cr).reduce(function($n,si){return $n[K[si]||si]=cr[si],$n},{}),pn=Kr.type;switch(typeof pn=="symbol"?pn=pn.toString():gr.warnOnInvalidChildren(Kr,Ct),pn){case Q.FRAGMENT:Cr=gr.mapChildrenToProps(Ct,Cr);break;case Q.LINK:case Q.META:case Q.NOSCRIPT:case Q.SCRIPT:case Q.STYLE:rn=gr.flattenArrayTypeChildren({child:Kr,arrayTypeChildren:rn,newChildProps:Xr,nestedChildren:Ct});break;default:Cr=gr.mapObjectTypeChildren({child:Kr,newProps:Cr,newChildProps:Xr,nestedChildren:Ct})}}}),this.mapArrayTypeChildrenToProps(rn,Cr)},vt.render=function(){var Bt=this.props,Cr=Bt.children,gr=j(Bt,Se),rn=D({},gr),Kr=gr.helmetData;return Cr&&(rn=this.mapChildrenToProps(Cr,rn)),!Kr||Kr instanceof Jt||(Kr=new Jt(Kr.context,Kr.instances)),Kr?x.createElement(Ue,D({},rn,{context:Kr.value,helmetData:void 0})):x.createElement(qt.Consumer,null,function(Pn){return x.createElement(Ue,D({},rn,{context:Pn}))})},_t}(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={},We=Rt=>x.createElement(jt,{context:$e},Rt);var nt=e(92736),lt=e(25690),Vt=e(93083),Ht=e(61337),Ie=e(28440),qe=e.n(Ie),Gt=Object.defineProperty,Ot=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,tr=(Rt,_t,vt)=>_t in Rt?Gt(Rt,_t,{enumerable:!0,configurable:!0,writable:!0,value:vt}):Rt[_t]=vt,Wt=(Rt,_t)=>{for(var vt in _t||(_t={}))zt.call(_t,vt)&&tr(Rt,vt,_t[vt]);if(Ot)for(var vt of Ot(_t))$t.call(_t,vt)&&tr(Rt,vt,_t[vt]);return Rt},Fe=(Rt,_t)=>{var vt={};for(var Bt in Rt)zt.call(Rt,Bt)&&_t.indexOf(Bt)<0&&(vt[Bt]=Rt[Bt]);if(Rt!=null&&Ot)for(var Bt of Ot(Rt))_t.indexOf(Bt)<0&&$t.call(Rt,Bt)&&(vt[Bt]=Rt[Bt]);return vt};let fe=null;const pe=()=>(fe||(fe=or().applyPlugins({key:"antd",type:lt.ApplyPluginsType.modify,initialValue:Wt({},{componentSize:"middle"})})),fe);function Pt({children:Rt}){let _t=Rt;const[vt,Bt]=x.useState(()=>{const gr=pe(),{appConfig:rn}=gr;return Fe(gr,["appConfig"])}),Cr=gr=>{Bt(rn=>qe()({},rn,typeof gr=="function"?gr(rn):gr))};return vt.prefixCls&&nt.ZP.config({prefixCls:vt.prefixCls}),vt.iconPrefixCls&&nt.ZP.config({iconPrefixCls:vt.iconPrefixCls}),vt.theme&&nt.ZP.config({theme:vt.theme}),_t=x.createElement(nt.ZP,Wt({},vt),_t),_t=x.createElement(Vt.StyleProvider,{hashPriority:"high"},_t),_t=x.createElement(Ht.C.Provider,{value:Cr},x.createElement(Ht.S.Provider,{value:vt},_t)),_t}function Ce(Rt){return x.createElement(Pt,null,Rt)}var ft=e(64839);function Ut(Rt,_t){return x.createElement(ft.j,_t,Rt)}var At=e(65517),Oe=e(18956),wt=e(81863),be=Object.defineProperty,Ke=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,Be=(Rt,_t,vt)=>_t in Rt?be(Rt,_t,{enumerable:!0,configurable:!0,writable:!0,value:vt}):Rt[_t]=vt,kr=(Rt,_t)=>{for(var vt in _t||(_t={}))mt.call(_t,vt)&&Be(Rt,vt,_t[vt]);if(Ke)for(var vt of Ke(_t))kt.call(_t,vt)&&Be(Rt,vt,_t[vt]);return Rt};function St(){var Rt,_t;const vt=getLocale();(Rt=moment)!=null&&Rt.locale&&moment.locale(((_t=localeInfo[vt])==null?void 0:_t.momentLocale)||"zh-cn"),setIntl(vt)}const Vr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,Jr=Rt=>{var _t;const vt=(0,Oe.Kd)(),[Bt,Cr]=x.useState(vt),[gr,rn]=x.useState(()=>(0,Oe.lw)(Bt,!0)),Kr=cr=>{var Xr,pn;(Xr=u())!=null&&Xr.locale&&u().locale(((pn=Oe.H8[cr])==null?void 0:pn.momentLocale)||"en"),Cr(cr),rn((0,Oe.lw)(cr))};Vr(()=>(Oe.B.on(Oe.PZ,Kr),()=>{Oe.B.off(Oe.PZ,Kr)}),[]);const Pn=kr({},wt.Z),Ct=(0,Oe.Mg)();return x.createElement(nt.ZP,{direction:Ct,locale:((_t=Oe.H8[Bt])==null?void 0:_t.antd)||Pn},x.createElement(Oe.eU,{value:gr},Rt.children))};function Ar(Rt){return x.createElement(Jr,null,Rt)}function Fr(Rt){return Rt.default?typeof Rt.default=="function"?Rt.default():Rt.default:Rt}function mr(){return[{apply:Fr(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 jr(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let on=null;function fn(){return on=lt.PluginManager.create({plugins:mr(),validKeys:jr()}),on}function or(){return on}},25690:function(d,v,e){"use strict";e.d(v,{ApplyPluginsType:function(){return Tt},Link:function(){return V},Outlet:function(){return G.j3},PluginManager:function(){return jt},connect:function(){return f.$j},getDvaApp:function(){return s.Q},history:function(){return st.m8},useAppData:function(){return Y.Ov},useDispatch:function(){return f.I0},useLocation:function(){return G.TH},useOutletContext:function(){return G.bx},useParams:function(){return G.UO},useSearchParams:function(){return X.lr},useSelector:function(){return f.v9}});var r=e(59301),i=e(61337);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(2339),s=e(64839),h=e(18956),u=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,b=(We,nt,lt)=>nt in We?u(We,nt,{enumerable:!0,configurable:!0,writable:!0,value:lt}):We[nt]=lt,S=(We,nt)=>{for(var lt in nt||(nt={}))y.call(nt,lt)&&b(We,lt,nt[lt]);if(p)for(var lt of p(nt))_.call(nt,lt)&&b(We,lt,nt[lt]);return We},R=(We,nt)=>a(We,x(nt)),L=(We,nt)=>{var lt={};for(var Vt in We)y.call(We,Vt)&&nt.indexOf(Vt)<0&&(lt[Vt]=We[Vt]);if(We!=null&&p)for(var Vt of p(We))nt.indexOf(Vt)<0&&_.call(We,Vt)&&(lt[Vt]=We[Vt]);return lt};const T=We=>{var nt=We,{overlayClassName:lt}=nt,Vt=L(nt,["overlayClassName"]);return React.createElement(Dropdown,S({overlayClassName:lt},Vt))},D=We=>We.reduce((nt,lt)=>lt.lang?R(S({},nt),{[lt.lang]:lt}):nt,{}),M={"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"}},N=We=>React.createElement(React.Fragment,null);var j=e(38329),Q=e(38127),X=e(32451),Y=e(91231),oe=e(87296);function ie(We,nt){var lt=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 Ht=r.useRef(typeof IntersectionObserver=="function"),Ie=r.useRef(null);return r.useEffect(function(){if(!(!We.current||!Ht.current||Vt.disabled))return Ie.current=new IntersectionObserver(function(qe){var Gt=(0,oe.Z)(qe,1),Ot=Gt[0];nt(Ot)},lt),Ie.current.observe(We.current),function(){var qe;(qe=Ie.current)===null||qe===void 0||qe.disconnect()}},[nt,lt,Vt.disabled,We]),Ie.current}var ue=["prefetch"];function K(We){var nt=r.useRef(null);return r.useEffect(function(){We&&(typeof We=="function"?We(nt.current):We.current=nt.current)}),nt}var V=r.forwardRef(function(We,nt){var lt,Vt=We.prefetch,Ht=(0,Q.Z)(We,ue),Ie=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},qe=Ie.defaultPrefetch,Gt=Ie.defaultPrefetchTimeout,Ot=(Vt===!0?"intent":Vt===!1?"none":Vt)||qe;if(!["intent","render","viewport","none"].includes(Ot))throw new Error("Invalid prefetch value ".concat(Ot," found in Link component"));var zt=(0,Y.Ov)(),$t=typeof We.to=="string"?We.to:(lt=We.to)===null||lt===void 0?void 0:lt.pathname,tr=r.useRef(!1),Wt=K(nt),Fe=function(Pt){if(Ot==="intent"){var Ce=Pt.target||{};Ce.preloadTimeout||(Ce.preloadTimeout=setTimeout(function(){var ft;Ce.preloadTimeout=null,(ft=zt.preloadRoute)===null||ft===void 0||ft.call(zt,$t)},We.prefetchTimeout||Gt))}},fe=function(Pt){if(Ot==="intent"){var Ce=Pt.target||{};Ce.preloadTimeout&&(clearTimeout(Ce.preloadTimeout),Ce.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(Ot==="render"&&!tr.current){var pe;(pe=zt.preloadRoute)===null||pe===void 0||pe.call(zt,$t),tr.current=!0}},[Ot,$t]),ie(Wt,function(pe){if(pe!=null&&pe.isIntersecting){var Pt;(Pt=zt.preloadRoute)===null||Pt===void 0||Pt.call(zt,$t)}},{rootMargin:"100px"},{disabled:Ot!=="viewport"}),$t?r.createElement(X.rU,(0,j.Z)({onMouseEnter:Fe,onMouseLeave:fe,ref:Wt},Ht),We.children):null}),G=e(35338),te=e(8616);function q(){"use strict";q=function(){return nt};var We,nt={},lt=Object.prototype,Vt=lt.hasOwnProperty,Ht=Object.defineProperty||function(Ar,Fr,mr){Ar[Fr]=mr.value},Ie=typeof Symbol=="function"?Symbol:{},qe=Ie.iterator||"@@iterator",Gt=Ie.asyncIterator||"@@asyncIterator",Ot=Ie.toStringTag||"@@toStringTag";function zt(Ar,Fr,mr){return Object.defineProperty(Ar,Fr,{value:mr,enumerable:!0,configurable:!0,writable:!0}),Ar[Fr]}try{zt({},"")}catch(Ar){zt=function(mr,jr,on){return mr[jr]=on}}function $t(Ar,Fr,mr,jr){var on=Fr&&Fr.prototype instanceof Ce?Fr:Ce,fn=Object.create(on.prototype),or=new Vr(jr||[]);return Ht(fn,"_invoke",{value:kt(Ar,mr,or)}),fn}function tr(Ar,Fr,mr){try{return{type:"normal",arg:Ar.call(Fr,mr)}}catch(jr){return{type:"throw",arg:jr}}}nt.wrap=$t;var Wt="suspendedStart",Fe="suspendedYield",fe="executing",pe="completed",Pt={};function Ce(){}function ft(){}function Ut(){}var At={};zt(At,qe,function(){return this});var Oe=Object.getPrototypeOf,wt=Oe&&Oe(Oe(Jr([])));wt&&wt!==lt&&Vt.call(wt,qe)&&(At=wt);var be=Ut.prototype=Ce.prototype=Object.create(At);function Ke(Ar){["next","throw","return"].forEach(function(Fr){zt(Ar,Fr,function(mr){return this._invoke(Fr,mr)})})}function mt(Ar,Fr){function mr(on,fn,or,Rt){var _t=tr(Ar[on],Ar,fn);if(_t.type!=="throw"){var vt=_t.arg,Bt=vt.value;return Bt&&(0,te.Z)(Bt)=="object"&&Vt.call(Bt,"__await")?Fr.resolve(Bt.__await).then(function(Cr){mr("next",Cr,or,Rt)},function(Cr){mr("throw",Cr,or,Rt)}):Fr.resolve(Bt).then(function(Cr){vt.value=Cr,or(vt)},function(Cr){return mr("throw",Cr,or,Rt)})}Rt(_t.arg)}var jr;Ht(this,"_invoke",{value:function(fn,or){function Rt(){return new Fr(function(_t,vt){mr(fn,or,_t,vt)})}return jr=jr?jr.then(Rt,Rt):Rt()}})}function kt(Ar,Fr,mr){var jr=Wt;return function(on,fn){if(jr===fe)throw new Error("Generator is already running");if(jr===pe){if(on==="throw")throw fn;return{value:We,done:!0}}for(mr.method=on,mr.arg=fn;;){var or=mr.delegate;if(or){var Rt=Be(or,mr);if(Rt){if(Rt===Pt)continue;return Rt}}if(mr.method==="next")mr.sent=mr._sent=mr.arg;else if(mr.method==="throw"){if(jr===Wt)throw jr=pe,mr.arg;mr.dispatchException(mr.arg)}else mr.method==="return"&&mr.abrupt("return",mr.arg);jr=fe;var _t=tr(Ar,Fr,mr);if(_t.type==="normal"){if(jr=mr.done?pe:Fe,_t.arg===Pt)continue;return{value:_t.arg,done:mr.done}}_t.type==="throw"&&(jr=pe,mr.method="throw",mr.arg=_t.arg)}}}function Be(Ar,Fr){var mr=Fr.method,jr=Ar.iterator[mr];if(jr===We)return Fr.delegate=null,mr==="throw"&&Ar.iterator.return&&(Fr.method="return",Fr.arg=We,Be(Ar,Fr),Fr.method==="throw")||mr!=="return"&&(Fr.method="throw",Fr.arg=new TypeError("The iterator does not provide a '"+mr+"' method")),Pt;var on=tr(jr,Ar.iterator,Fr.arg);if(on.type==="throw")return Fr.method="throw",Fr.arg=on.arg,Fr.delegate=null,Pt;var fn=on.arg;return fn?fn.done?(Fr[Ar.resultName]=fn.value,Fr.next=Ar.nextLoc,Fr.method!=="return"&&(Fr.method="next",Fr.arg=We),Fr.delegate=null,Pt):fn:(Fr.method="throw",Fr.arg=new TypeError("iterator result is not an object"),Fr.delegate=null,Pt)}function kr(Ar){var Fr={tryLoc:Ar[0]};1 in Ar&&(Fr.catchLoc=Ar[1]),2 in Ar&&(Fr.finallyLoc=Ar[2],Fr.afterLoc=Ar[3]),this.tryEntries.push(Fr)}function St(Ar){var Fr=Ar.completion||{};Fr.type="normal",delete Fr.arg,Ar.completion=Fr}function Vr(Ar){this.tryEntries=[{tryLoc:"root"}],Ar.forEach(kr,this),this.reset(!0)}function Jr(Ar){if(Ar||Ar===""){var Fr=Ar[qe];if(Fr)return Fr.call(Ar);if(typeof Ar.next=="function")return Ar;if(!isNaN(Ar.length)){var mr=-1,jr=function on(){for(;++mr<Ar.length;)if(Vt.call(Ar,mr))return on.value=Ar[mr],on.done=!1,on;return on.value=We,on.done=!0,on};return jr.next=jr}}throw new TypeError((0,te.Z)(Ar)+" is not iterable")}return ft.prototype=Ut,Ht(be,"constructor",{value:Ut,configurable:!0}),Ht(Ut,"constructor",{value:ft,configurable:!0}),ft.displayName=zt(Ut,Ot,"GeneratorFunction"),nt.isGeneratorFunction=function(Ar){var Fr=typeof Ar=="function"&&Ar.constructor;return!!Fr&&(Fr===ft||(Fr.displayName||Fr.name)==="GeneratorFunction")},nt.mark=function(Ar){return Object.setPrototypeOf?Object.setPrototypeOf(Ar,Ut):(Ar.__proto__=Ut,zt(Ar,Ot,"GeneratorFunction")),Ar.prototype=Object.create(be),Ar},nt.awrap=function(Ar){return{__await:Ar}},Ke(mt.prototype),zt(mt.prototype,Gt,function(){return this}),nt.AsyncIterator=mt,nt.async=function(Ar,Fr,mr,jr,on){on===void 0&&(on=Promise);var fn=new mt($t(Ar,Fr,mr,jr),on);return nt.isGeneratorFunction(Fr)?fn:fn.next().then(function(or){return or.done?or.value:fn.next()})},Ke(be),zt(be,Ot,"Generator"),zt(be,qe,function(){return this}),zt(be,"toString",function(){return"[object Generator]"}),nt.keys=function(Ar){var Fr=Object(Ar),mr=[];for(var jr in Fr)mr.push(jr);return mr.reverse(),function on(){for(;mr.length;){var fn=mr.pop();if(fn in Fr)return on.value=fn,on.done=!1,on}return on.done=!0,on}},nt.values=Jr,Vr.prototype={constructor:Vr,reset:function(Fr){if(this.prev=0,this.next=0,this.sent=this._sent=We,this.done=!1,this.delegate=null,this.method="next",this.arg=We,this.tryEntries.forEach(St),!Fr)for(var mr in this)mr.charAt(0)==="t"&&Vt.call(this,mr)&&!isNaN(+mr.slice(1))&&(this[mr]=We)},stop:function(){this.done=!0;var Fr=this.tryEntries[0].completion;if(Fr.type==="throw")throw Fr.arg;return this.rval},dispatchException:function(Fr){if(this.done)throw Fr;var mr=this;function jr(vt,Bt){return or.type="throw",or.arg=Fr,mr.next=vt,Bt&&(mr.method="next",mr.arg=We),!!Bt}for(var on=this.tryEntries.length-1;on>=0;--on){var fn=this.tryEntries[on],or=fn.completion;if(fn.tryLoc==="root")return jr("end");if(fn.tryLoc<=this.prev){var Rt=Vt.call(fn,"catchLoc"),_t=Vt.call(fn,"finallyLoc");if(Rt&&_t){if(this.prev<fn.catchLoc)return jr(fn.catchLoc,!0);if(this.prev<fn.finallyLoc)return jr(fn.finallyLoc)}else if(Rt){if(this.prev<fn.catchLoc)return jr(fn.catchLoc,!0)}else{if(!_t)throw new Error("try statement without catch or finally");if(this.prev<fn.finallyLoc)return jr(fn.finallyLoc)}}}},abrupt:function(Fr,mr){for(var jr=this.tryEntries.length-1;jr>=0;--jr){var on=this.tryEntries[jr];if(on.tryLoc<=this.prev&&Vt.call(on,"finallyLoc")&&this.prev<on.finallyLoc){var fn=on;break}}fn&&(Fr==="break"||Fr==="continue")&&fn.tryLoc<=mr&&mr<=fn.finallyLoc&&(fn=null);var or=fn?fn.completion:{};return or.type=Fr,or.arg=mr,fn?(this.method="next",this.next=fn.finallyLoc,Pt):this.complete(or)},complete:function(Fr,mr){if(Fr.type==="throw")throw Fr.arg;return Fr.type==="break"||Fr.type==="continue"?this.next=Fr.arg:Fr.type==="return"?(this.rval=this.arg=Fr.arg,this.method="return",this.next="end"):Fr.type==="normal"&&mr&&(this.next=mr),Pt},finish:function(Fr){for(var mr=this.tryEntries.length-1;mr>=0;--mr){var jr=this.tryEntries[mr];if(jr.finallyLoc===Fr)return this.complete(jr.completion,jr.afterLoc),St(jr),Pt}},catch:function(Fr){for(var mr=this.tryEntries.length-1;mr>=0;--mr){var jr=this.tryEntries[mr];if(jr.tryLoc===Fr){var on=jr.completion;if(on.type==="throw"){var fn=on.arg;St(jr)}return fn}}throw new Error("illegal catch attempt")},delegateYield:function(Fr,mr,jr){return this.delegate={iterator:Jr(Fr),resultName:mr,nextLoc:jr},this.method==="next"&&(this.arg=We),Pt}},nt}var J=e(63579);function le(We,nt,lt,Vt,Ht,Ie,qe){try{var Gt=We[Ie](qe),Ot=Gt.value}catch(zt){lt(zt);return}Gt.done?nt(Ot):Promise.resolve(Ot).then(Vt,Ht)}function z(We){return function(){var nt=this,lt=arguments;return new Promise(function(Vt,Ht){var Ie=We.apply(nt,lt);function qe(Ot){le(Ie,Vt,Ht,qe,Gt,"next",Ot)}function Gt(Ot){le(Ie,Vt,Ht,qe,Gt,"throw",Ot)}qe(void 0)})}}var F=e(99227);function se(We,nt){var lt=typeof Symbol!="undefined"&&We[Symbol.iterator]||We["@@iterator"];if(!lt){if(Array.isArray(We)||(lt=(0,F.Z)(We))||nt&&We&&typeof We.length=="number"){lt&&(We=lt);var Vt=0,Ht=function(){};return{s:Ht,n:function(){return Vt>=We.length?{done:!0}:{done:!1,value:We[Vt++]}},e:function(zt){throw zt},f:Ht}}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 Ie=!0,qe=!1,Gt;return{s:function(){lt=lt.call(We)},n:function(){var zt=lt.next();return Ie=zt.done,zt},e:function(zt){qe=!0,Gt=zt},f:function(){try{!Ie&<.return!=null&<.return()}finally{if(qe)throw Gt}}}}var _e=e(73825);function Pe(We){if(typeof Symbol!="undefined"&&We[Symbol.iterator]!=null||We["@@iterator"]!=null)return Array.from(We)}var Re=e(66160);function He(We){return(0,_e.Z)(We)||Pe(We)||(0,F.Z)(We)||(0,Re.Z)()}function je(We,nt){if(!(We instanceof nt))throw new TypeError("Cannot call a class as a function")}var Zt=e(89878);function yt(We,nt){for(var lt=0;lt<nt.length;lt++){var Vt=nt[lt];Vt.enumerable=Vt.enumerable||!1,Vt.configurable=!0,"value"in Vt&&(Vt.writable=!0),Object.defineProperty(We,(0,Zt.Z)(Vt.key),Vt)}}function Dt(We,nt,lt){return nt&&yt(We.prototype,nt),lt&&yt(We,lt),Object.defineProperty(We,"prototype",{writable:!1}),We}var Qt=e(65873);function Jt(We,nt){if(!We)throw new Error(nt)}function qt(We){var nt=We.fns,lt=We.args;if(nt.length===1)return nt[0];var Vt=nt.pop();return nt.reduce(function(Ht,Ie){return function(){return Ie(Ht,lt)}},Vt)}function Xe(We){return!!We&&(0,te.Z)(We)==="object"&&typeof We.then=="function"}var Tt=function(We){return We.compose="compose",We.modify="modify",We.event="event",We}({}),jt=function(){function We(nt){je(this,We),(0,Qt.Z)(this,"opts",void 0),(0,Qt.Z)(this,"hooks",{}),this.opts=nt}return Dt(We,[{key:"register",value:function(lt){var Vt=this;Jt(lt.apply,"plugin register failed, apply must supplied"),Object.keys(lt.apply).forEach(function(Ht){Jt(Vt.opts.validKeys.indexOf(Ht)>-1,"register failed, invalid key ".concat(Ht," ").concat(lt.path?"from plugin ".concat(lt.path):"",".")),Vt.hooks[Ht]=(Vt.hooks[Ht]||[]).concat(lt.apply[Ht])})}},{key:"getHooks",value:function(lt){var Vt=lt.split("."),Ht=He(Vt),Ie=Ht[0],qe=Ht.slice(1),Gt=this.hooks[Ie]||[];return qe.length&&(Gt=Gt.map(function(Ot){try{var zt=Ot,$t=se(qe),tr;try{for($t.s();!(tr=$t.n()).done;){var Wt=tr.value;zt=zt[Wt]}}catch(Fe){$t.e(Fe)}finally{$t.f()}return zt}catch(Fe){return null}}).filter(Boolean)),Gt}},{key:"applyPlugins",value:function(lt){var Vt=lt.key,Ht=lt.type,Ie=lt.initialValue,qe=lt.args,Gt=lt.async,Ot=this.getHooks(Vt)||[];switch(qe&&Jt((0,te.Z)(qe)==="object","applyPlugins failed, args must be plain object."),Gt&&Jt(Ht===Tt.modify||Ht===Tt.event,"async only works with modify and event type."),Ht){case Tt.modify:return Gt?Ot.reduce(function(){var zt=z(q().mark(function $t(tr,Wt){var Fe;return q().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(Jt(typeof Wt=="function"||(0,te.Z)(Wt)==="object"||Xe(Wt),"applyPlugins failed, all hooks for key ".concat(Vt," must be function, plain object or Promise.")),!Xe(tr)){pe.next=5;break}return pe.next=4,tr;case 4:tr=pe.sent;case 5:if(typeof Wt!="function"){pe.next=16;break}if(Fe=Wt(tr,qe),!Xe(Fe)){pe.next=13;break}return pe.next=10,Fe;case 10:return pe.abrupt("return",pe.sent);case 13:return pe.abrupt("return",Fe);case 14:pe.next=21;break;case 16:if(!Xe(Wt)){pe.next=20;break}return pe.next=19,Wt;case 19:Wt=pe.sent;case 20:return pe.abrupt("return",(0,J.Z)((0,J.Z)({},tr),Wt));case 21:case"end":return pe.stop()}},$t)}));return function($t,tr){return zt.apply(this,arguments)}}(),Xe(Ie)?Ie:Promise.resolve(Ie)):Ot.reduce(function(zt,$t){return Jt(typeof $t=="function"||(0,te.Z)($t)==="object","applyPlugins failed, all hooks for key ".concat(Vt," must be function or plain object.")),typeof $t=="function"?$t(zt,qe):(0,J.Z)((0,J.Z)({},zt),$t)},Ie);case Tt.event:return z(q().mark(function zt(){var $t,tr,Wt,Fe;return q().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:$t=se(Ot),pe.prev=1,$t.s();case 3:if((tr=$t.n()).done){pe.next=12;break}if(Wt=tr.value,Jt(typeof Wt=="function","applyPlugins failed, all hooks for key ".concat(Vt," must be function.")),Fe=Wt(qe),!(Gt&&Xe(Fe))){pe.next=10;break}return pe.next=10,Fe;case 10:pe.next=3;break;case 12:pe.next=17;break;case 14:pe.prev=14,pe.t0=pe.catch(1),$t.e(pe.t0);case 17:return pe.prev=17,$t.f(),pe.finish(17);case 20:case"end":return pe.stop()}},zt,null,[[1,14,17,20]])}))();case Tt.compose:return function(){return qt({fns:Ot.concat(Ie),args:qe})()}}}}],[{key:"create",value:function(lt){var Vt=new We({validKeys:lt.validKeys});return lt.plugins.forEach(function(Ht){Vt.register(Ht)}),Vt}}]),We}(),st=e(58293);let gt=0,dt=0;function Je(We,nt){}function Ue(We){return JSON.stringify(We,null,2)}function ge(We){const nt=We.length>1?We.map(Se).join(" "):We[0];return typeof nt=="object"?`${Ue(nt)}`:nt.toString()}function Se(We){return typeof We=="object"?`${JSON.stringify(We)}`:We.toString()}const Me={log(...We){ge(We)},info(...We){ge(We)},warn(...We){ge(We)},error(...We){ge(We)},group(){dt++},groupCollapsed(){dt++},groupEnd(){dt&&--dt},clear(){},trace(...We){console.trace(...We)},profile(...We){console.profile(...We)},profileEnd(...We){console.profileEnd(...We)}},$e=()=>{}},61337:function(d,v,e){"use strict";e.d(v,{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.")})},64839:function(d,v,e){"use strict";e.d(v,{j:function(){return yc},Q:function(){return Oc}});var r=e(2339),i=e(89880),l=e.n(i),c=e(59301),f=e(25690),s=e(98750),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(97402),R=Object.defineProperty,L=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,M=(I,O,k)=>O in I?R(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,N=(I,O)=>{for(var k in O||(O={}))T.call(O,k)&&M(I,k,O[k]);if(L)for(var k of L(O))D.call(O,k)&&M(I,k,O[k]);return I},Q={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:N({},I)}})}},reducers:{save(I,O){return N(N({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},X=e(44203),Y=Object.defineProperty,oe=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,K=(I,O,k)=>O in I?Y(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,V=(I,O)=>{for(var k in O||(O={}))ie.call(O,k)&&K(I,k,O[k]);if(oe)for(var k of oe(O))ue.call(O,k)&&K(I,k,O[k]);return I},te={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:I,callback:O},{call:k,put:me}){const ke=yield k(X.SV,I);return yield me({type:"save",payload:{allList:V({},ke)}}),ke},*mineAttachment({payload:I,callback:O},{call:k,put:me}){const ke=yield k(X.zI,I);return yield me({type:"save",payload:{mineList:V({},ke)}}),ke},*fileImport({payload:I,callback:O},{call:k,put:me}){return yield k(X.tO,I)},*getDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(X.Nm,I);return yield me({type:"save",payload:{detail:V({},ke)}}),ke},*updateVisits({payload:I,callback:O},{call:k,put:me}){return yield k(X.H,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:V({},I)}})}},reducers:{save(I,O){return V(V({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},q=e(32967),J=Object.defineProperty,le=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable,se=(I,O,k)=>O in I?J(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,_e=(I,O)=>{for(var k in O||(O={}))z.call(O,k)&&se(I,k,O[k]);if(le)for(var k of le(O))F.call(O,k)&&se(I,k,O[k]);return I},Re={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(q.yq,I);return yield me({type:"save",payload:{boardsCategoryList:_e({},ke.data)}}),ke.data},*getBoardsDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(q.dI,I);return yield me({type:"save",payload:{boardsDetail:_e({},ke.data)}}),ke.data},*setTopping({payload:I,callback:O},{call:k,put:me}){return yield k(q.cc,I)},*escTopping({payload:I,callback:O},{call:k,put:me}){return yield k(q.CJ,I)},*getReplyList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(q.PC,I);yield me({type:"save",payload:{replyList:_e({},ke.data)}})},*createReply({payload:I,callback:O},{call:k,put:me}){return yield k(q.PP,I)},*replyLike({payload:I,callback:O},{call:k,put:me}){return yield k(q.NA,I)},*replyUnLike({payload:I,callback:O},{call:k,put:me}){return yield k(q.YQ,I)},*deleteReply({payload:I,callback:O},{call:k,put:me}){return yield k(q.Mf,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:_e({},I)}})}},reducers:{save(I,O){return _e(_e({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},He=e(81722),je=Object.defineProperty,Zt=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable,Qt=(I,O,k)=>O in I?je(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Jt=(I,O)=>{for(var k in O||(O={}))yt.call(O,k)&&Qt(I,k,O[k]);if(Zt)for(var k of Zt(O))Dt.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 ke=yield k(He.$Q,I);return yield me({type:"save",payload:{ScoreRangesData:ke==null?void 0:ke.data}}),ke},*getQuestionResult({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He._U,I);return yield me({type:"save",payload:{NormalResult:ke}}),ke},*getUserExercise({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.xA,I);return yield me({type:"save",payload:{userExerciseList:Jt({},(ke==null?void 0:ke.data)||{})}}),console.log("getUserExercise-res:",ke),ke==null?void 0:ke.data},*getExerciseIdentityPhotos({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.J,I);return yield me({type:"save",payload:{exerciseIdentityPhotos:Jt({},(ke==null?void 0:ke.data)||{})}}),ke==null?void 0:ke.data},*getExerciseExportHeadData({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.iw,I);return yield me({type:"save",payload:{exerciseExportHeadData:Jt({},ke)}}),ke},*getExerciseUserInfo({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.Ty,I);return(ke==null?void 0:ke.status)===0&&(yield me({type:"save",payload:Jt({},{exerciseUserInfo:Jt({},ke.data)})})),ke},*getExaminationIntelligentSettings({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.sA,I);return yield me({type:"save",payload:{examinationIntelligentSettings:Jt({},ke)}}),ke},*getRandomEditExercises({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.yu,I);return yield me({type:"save",payload:{editRandomExercises:Jt({},ke)}}),ke},*getExerciseList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.G$,I);if(ke!=null&&ke.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(ke.total_exercise_users)}catch(tn){}return yield me({type:"save",payload:{exerciseList:Jt({},ke)}}),yield me({type:"save",payload:{order_type:I.order_type,order:I.order}}),ke},*getExerciseStatistics({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He._u,I);return yield me({type:"save",payload:{statisticsList:Jt({},ke)}}),ke},*getBrankList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.n$,I);return yield me({type:"save",payload:{brankList:Jt({},ke)}}),ke},*saveBanks({payload:I,callback:O},{call:k,put:me}){return yield k(He.lf,I)},*getExerciseCourses({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.N3,I);return yield me({type:"save",payload:{exerciseCoursesList:Jt({},ke)}}),ke},*addExercise({payload:I,callback:O},{call:k,put:me}){return yield k(He.uR,I)},*editExercise({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.qf,I);return yield me({type:"save",payload:{editData:Jt({},ke)}}),ke},*getTagDiscipline({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.YY,I);return yield me({type:"save",payload:{tagDisciplineData:Jt({},ke)}}),ke},*editExerciseQuestion({payload:I,callback:O},{call:k,put:me}){return yield k(He.Di,I)},*addExerciseQuestion({payload:I,callback:O},{call:k,put:me}){return yield k(He.MK,I)},*exeriseMoveUpDown({payload:I,callback:O},{call:k,put:me}){return yield k(He.GK,I)},*getEndGroups({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.KE,I);return yield me({type:"save",payload:{endGroups:Jt({},ke)}}),ke},*getPublishGroups({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.ux,I);return yield me({type:"save",payload:{publishGroups:Jt({},ke)}}),ke},*getCommonHeader({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.UK,I);return yield me({type:"save",payload:{commonHeader:Jt({},ke)}}),ke},*getReviewExercise({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.BJ,I);return yield me({type:"save",payload:{reviewExercise:Jt({},ke)}}),ke},*postReviewExercise({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.pu,I);return yield me({type:"save",payload:{reviewExercise:Jt({},ke)}}),ke},*getCentralizeReviewExercise({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.X4,I);return yield me({type:"save",payload:{reviewExercise:Jt({},ke)}}),ke},*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 ke=yield k(He.W4,I);return yield me({type:"save",payload:{reviewGroupExercise:Jt({},ke)}}),ke},*getWorkSetting({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.Ul,I);return yield me({type:"save",payload:{workSetting:Jt({},ke)}}),ke},*getRedoModal({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.tX,I);return yield me({type:"save",payload:{redoModal:Jt({},ke)}}),ke},*getRedoListModal({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.s,I);return yield me({type:"save",payload:{redoModal:Jt({},ke)}}),ke},*getCodeReviewDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.Xn,I);return yield me({type:"save",payload:{codeReviewDetail:Jt({},ke)}}),ke},*changeScore({payload:I,callback:O},{call:k,put:me}){return yield k(He.gG,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Jt({},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 Jt(Jt({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Tt=e(24059),jt=Object.defineProperty,st=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,Je=(I,O,k)=>O in I?jt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ue=(I,O)=>{for(var k in O||(O={}))gt.call(O,k)&&Je(I,k,O[k]);if(st)for(var k of st(O))dt.call(O,k)&&Je(I,k,O[k]);return I},Se={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 ke=yield k(Tt.x_,I);return yield me({type:"save",payload:{detailList:Ue({},ke)}}),ke},*getTasksListDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Tt.QA,I);return yield me({type:"save",payload:{detailTaskList:Ue({},ke)}}),ke},*getTopisDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Tt.B6,I);return yield me({type:"save",payload:{detail:Ue({},ke)}}),ke},*getTasksDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Tt.y3,I);return yield me({type:"save",payload:{tasksDetail:Ue({},ke)}}),ke},*refuseTopic({payload:I,callback:O},{call:k,put:me}){return yield k(Tt.mM,I)},*agreeTopic({payload:I,callback:O},{call:k,put:me}){return yield k(Tt.je,I)},*getReplyList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Tt.PC,I);yield me({type:"save",payload:{replyList:Ue({},ke)}})},*createReply({payload:I,callback:O},{call:k,put:me}){return yield k(Tt.PP,I)},*replyLike({payload:I,callback:O},{call:k,put:me}){return yield k(Tt.NA,I)},*replyUnLike({payload:I,callback:O},{call:k,put:me}){return yield k(Tt.YQ,I)},*deleteReply({payload:I,callback:O},{call:k,put:me}){return yield k(Tt.Mf,I)},*addTopicDefaultData({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Tt.y0,I);yield me({type:"save",payload:{addTopicData:Ue({},ke)}})},*editTopicDefaultData({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Tt.hL,I);return yield me({type:"save",payload:{editTopicData:Ue({},ke)}}),ke},*editTasksDefaultData({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Tt._n,I);return yield me({type:"save",payload:{editTasksData:Ue({},ke)}}),ke},*addTopic({payload:I,callback:O},{call:k,put:me}){return yield k(Tt.Gr,I)},*editTopic({payload:I,callback:O},{call:k,put:me}){return yield k(Tt.wA,I)},*addTasks({payload:I,callback:O},{call:k,put:me}){return yield k(Tt.Sv,I)},*editTasks({payload:I,callback:O},{call:k,put:me}){return yield k(Tt.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(1247),We=Object.defineProperty,nt=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,Ht=(I,O,k)=>O in I?We(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ie=(I,O)=>{for(var k in O||(O={}))lt.call(O,k)&&Ht(I,k,O[k]);if(nt)for(var k of nt(O))Vt.call(O,k)&&Ht(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 ke=yield k($e.h$,I);try{sessionStorage.all_student_works=JSON.stringify(ke.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(I),localStorage.setItem("all_student_works_param",JSON.stringify(I))}catch(tn){}return yield me({type:"save",payload:{workList:Ie({},ke)}}),ke},*getShixunWorkHeadInfo({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.fK,I);try{}catch(tn){}return yield me({type:"save",payload:{headerInfo:ke==null?void 0:ke.data}}),ke},*getShixunWorkList({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.Z8,I);try{sessionStorage.all_student_works=JSON.stringify(ke.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(I),localStorage.setItem("all_student_works_param",JSON.stringify(I))}catch(tn){}return yield me({type:"save",payload:{shixunWorkList:ke==null?void 0:ke.data,homeworkAssistantPermissions:ke.homework_assistant_permissions,shixunAssistantPermission:ke.shixun_assistant_permission,courseAssistantPermission:ke.course_assistant_permission}}),ke},*getCodeReview({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.RP,I);return yield me({type:"save",payload:{codeReview:Ie({},ke)}}),ke},*getCodeReviewDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.Xn,I);return yield me({type:"save",payload:{codeReviewDetail:Ie({},ke)}}),ke},*getWorkDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.to,I);return yield me({type:"save",payload:{workDetail:Ie({},ke)}}),ke},*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 ke=yield k($e.sw,I);try{ke.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(tn){}return yield me({type:"save",payload:{shixunWorkReport:Ie({},ke)}}),ke},*getShixunWorkReports({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.cz,I);try{ke.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(tn){}return yield me({type:"save",payload:{shixunWorkReport:Ie({},ke)}}),ke},*getWorkSetting({payload:I,callback:O},{call:k,put:me}){var ke,tn;const jn=yield k($e.Ul,I);(ke=jn==null?void 0:jn.group_settings)==null||ke.map(Di=>{Di.value=Di.group_name,Di.id=Di.group_id,Di.group_id=[Di.group_id]}),(tn=jn==null?void 0:jn.allow_late_settings)==null||tn.map(Di=>{Di.value=Di.group_name,Di.id=Di.group_id,Di.group_id=[Di.group_id]});const hn={shixun_evaluation:jn.shixun_evaluation,challenge_settings:jn.challenge_settings};return yield me({type:"save",payload:{workSetting:Ie({},jn),changeData:(0,Me.cloneDeep)(hn)}}),jn},*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 ke=yield k($e.JG,I);return yield me({type:"save",payload:{codeReviewCourse:Ie({},ke)}}),ke},*exportShixunWorks({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.Dx,I)},*getReferenceAnswer({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.Q3,I);return yield me({type:"save",payload:{referenceAnswer:Ie({},ke)}}),ke},*getPublishGroups({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.ux,I);return yield me({type:"save",payload:{publishGroups:Ie({},ke)}}),ke},*getEndGroups({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.KE,I);return yield me({type:"save",payload:{endGroups:Ie({},ke)}}),ke},*getBrankList({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.n$,I);return yield me({type:"save",payload:{brankList:Ie({},ke)}}),ke},*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 ke=yield k($e.Qt,I);return yield me({type:"save",payload:{commonHomeWorkAddDefaultData:Ie({},ke)}}),ke},*getSearchMemberList({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.Lz,I);return yield me({type:"save",payload:{searchMemberList:Ie({},ke)}}),ke},*getProjectList({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.ku,I);return yield me({type:"save",payload:{searchProjectList:Ie({},ke)}}),ke},*addStudentWorkDefaultData({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.ak,I);return yield me({type:"save",payload:{studentWorkAddDefaultData:Ie({},ke)}}),ke},*editStudentWorkDefaultData({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.PW,I);return yield me({type:"save",payload:{studentWorkEditDefaultData:Ie({},ke)}}),ke},*editCommonHomeWorkDefaultData({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.BD,I);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:Ie({},ke)}}),ke},*editCommonHomeWorkDefaultBankData({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.pH,I);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:Ie({},ke)}}),ke},*getReplyList({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.PC,I);yield me({type:"save",payload:{replyList:Ie({},ke)}})},*getStudentWorkDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.Hj,I);yield me({type:"save",payload:{studentWorkDetail:Ie({},ke)}})},*getStudentWorkSupplyDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.ub,I);yield me({type:"save",payload:{studentWorkSupplyDetail:Ie({},ke)}})},*getStudentWorkCommon({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.JA,I);yield me({type:"save",payload:{studentWorkCommon:Ie({},ke)}})},*getAllStudentWorks({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.ql,I);return yield me({type:"save",payload:{allStudentWorks:Ie({},ke)}}),ke},*getFileRepeatResult({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.oN,I);return yield me({type:"save",payload:{codeReview:Ie({},ke)}}),ke},*getFileRepeatDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k($e.Ti,I);return yield me({type:"save",payload:{codeReviewDetail:Ie({},ke)}}),ke},*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:Ie({},I)}})}},reducers:{save(I,O){return Ie(Ie({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Ot=e(82264),zt=e(48790),$t=Object.defineProperty,tr=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,fe=(I,O,k)=>O in I?$t(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,pe=(I,O)=>{for(var k in O||(O={}))Wt.call(O,k)&&fe(I,k,O[k]);if(tr)for(var k of tr(O))Fe.call(O,k)&&fe(I,k,O[k]);return I},Ce={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(Ot.gq,I)},*getAssistantPermissions({payload:I},{call:O,put:k}){if(!(0,zt.eB)())return;const me=yield O(Ot.rS,I);yield k({type:"save",payload:{AssistantObject:me.permissions}})},*getAiStatusQuery({payload:I},{call:O,put:k}){const me=yield O(Ot.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(Ot.Z_,I)},*getUserPortraitConfig({payload:I},{call:O,put:k}){const me=yield O(Ot._0,I);return yield k({type:"save",payload:{userPortraitConfig:me.data}}),me},*updateUserPortraitConfig({payload:I},{call:O,put:k}){return yield O(Ot.r2,I)},*getClassroom({payload:I},{call:O,put:k}){const me=I,ke=yield O(Ot.V8,I);return yield k({type:"save",payload:pe({listParams:me},ke)}),ke},*getClassroomTopBanner({payload:I},{call:O,put:k}){const me=yield O(Ot.U_,I);return yield k({type:"save",payload:{detailTopBanner:me.status?{copy_completed:!0}:pe({},me)}}),me.status?{copy_completed:!0}:me},*getClassroomLeftMenus({payload:I},{call:O,put:k}){const me=yield O(Ot.w9,I);let ke=[...(me==null?void 0:me.course_modules)||[],...(me==null?void 0:me.hidden_modules)||[]],tn={};return ke==null||ke.forEach(jn=>{tn[jn.type]=jn.name}),yield k({type:"save",payload:{detailLeftMenus:pe({},me),detailLeftMenusNames:tn}}),me},*getClassroomShixunsList({payload:I},{call:O,put:k}){const me=yield O(Ot.Nd,I);yield k({type:"save",payload:{detailShixunsList:pe({},me)}})},*getClassroomTeacherShixunsList({payload:I},{call:O,put:k}){const me=yield O(Ot.Gk,I);return yield k({type:"save",payload:{detailShixunsList:pe({},me)}}),me},*getClassroomCommonList({payload:I},{call:O,put:k}){const me=yield O(Ot.Nd,I);yield k({type:"save",payload:{detailCommonHomeworksList:pe({},me)}})},*getClassroomTeacherCommonList({payload:I},{call:O,put:k}){const me=yield O(Ot.Gk,I);return yield k({type:"save",payload:{detailCommonHomeworksList:pe({},me)}}),me},*getClassroomGraduationTopicsList({payload:I},{call:O,put:k}){const me=yield O(Ot.yV,I);yield k({type:"save",payload:{detailGraduationTopicsList:pe({},me)}})},*getClassroomGraduationTaskList({payload:I},{call:O,put:k}){const me=yield O(Ot.R2,I);yield k({type:"save",payload:{detailGraduationTaskList:pe({},me)}})},*getClassroomExercisesList({payload:I},{call:O,put:k}){const me=yield O(Ot.N7,I);yield k({type:"save",payload:{detailExerciseList:pe({},me)}})},*getClassroomPollsList({payload:I},{call:O,put:k}){const me=yield O(Ot.BR,I);yield k({type:"save",payload:{detailPollsList:pe({},me)}})},*getCourseGroups({payload:I},{call:O,put:k}){const me=yield O(Ot.qB,I);yield k({type:"save",payload:{courseGroups:pe({},me)}})},*getAllCourseGroup({payload:I},{call:O,put:k}){const me=yield O(Ot.c_,I);return yield k({type:"save",payload:{allCourseGroups:pe({},me)}}),me},*getClassroomCommonHomeworksList({payload:I},{call:O,put:k}){const me=yield O(Ot.Al,I);yield k({type:"save",payload:{detailCommonHomeworksList:pe({},me)}})},*getClassroomAttendancesList({payload:I},{call:O,put:k}){const me=yield O(Ot.Vw,I);yield k({type:"save",payload:{detailAttendancesList:pe({},me)}})},*getClassroomAttendancesStatistic({payload:I},{call:O,put:k}){const me=yield O(Ot.Ls,I);yield k({type:"save",payload:{detailAttendancesStatistic:pe({},me)}})},*getAttendanceDetail({payload:I},{call:O,put:k}){const me=yield O(Ot.zg,I);return yield k({type:"save",payload:{detailAttendancesDetail:pe({},me)}}),me},*getAnnouncementList({payload:I},{call:O,put:k}){const me=yield O(Ot.QZ,I);yield k({type:"save",payload:{detailAnnouncementList:pe({},me)}})},*getAttachmentList({payload:I},{call:O,put:k}){const me=yield O(Ot.KT,I);yield k({type:"save",payload:{detailAttachmentList:pe({},me.data)}})},*getCourseware({payload:I},{call:O,put:k}){const me=yield O(Ot.ZT,I);yield k({type:"save",payload:{detailCourseware:pe({},me.data)}})},*getVideoList({payload:I},{call:O,put:k}){const me=yield O(Ot.O3,I);yield k({type:"save",payload:{detailVideoList:pe({},me)}})},*getLiveVideoList({payload:I},{call:O,put:k}){const me=yield O(Ot.DJ,I);yield k({type:"save",payload:{detailLiveVideoList:pe({},me)}})},*getCoursesMine({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ot.Ed,I);return yield me({type:"save",payload:{courseMine:pe({},ke)}}),ke.data},*getBoardList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ot.KP,I);return yield me({type:"save",payload:{detailBoardList:pe({},ke.data)}}),ke.data},*getCourseGroupsList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ot.kW,I);return yield me({type:"save",payload:{detailCourseGroupsList:pe({},ke)}}),ke},*getCourseStudentsList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ot.J2,I);return yield me({type:"save",payload:{detailCoursStudentsList:pe({},ke)}}),ke.data},*getCourseStatistics({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ot.g4,I);return yield me({type:"save",payload:{detailCourseStatisticsList:pe({},ke)}}),ke},*getCourseActscore({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ot.t1,I);return yield me({type:"save",payload:{detailCourseActscore:pe({},ke)}}),ke},*getCourseWorkscore({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ot.GV,I);return yield me({type:"save",payload:{detailCourseWorkscore:pe({},ke)}}),ke},*getShixunLists({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ot.Pj,I);return yield me({type:"save",payload:{shixunLists:pe({},ke)}}),ke},*getExperimentLists({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ot._9,I);return yield me({type:"save",payload:{shixunLists:pe({},ke)}}),ke},*getShixunAiRecommendLists({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ot.Hn,I);return yield me({type:"save",payload:{shixunAiRecommendLists:pe({},ke)}}),ke},*getCoursesLists({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ot.W7,I);return yield me({type:"save",payload:{coursesLists:pe({},ke)}}),ke},*createCoursesHomework({payload:I,callback:O},{call:k,put:me}){return yield k(Ot.Ds,I)},*createShixunHomework({payload:I,callback:O},{call:k,put:me}){return yield k(Ot.aQ,I)},*createExperiment({payload:I,callback:O},{call:k,put:me}){return yield k(Ot.BQ,I)},*getSchoolList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ot.K$,I);return yield me({type:"save",payload:{schoolList:pe({},ke.school_names)}}),ke.school_names},*searchSchoolTeacherList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ot.nQ,I);return yield me({type:"save",payload:{searchMemberList:pe({},ke)}}),ke},*getAllTaskList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ot.km,I);return yield me({type:"save",payload:{taskList:[...ke.tasks]}}),ke},*updateTaskPosition({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ot.U8,I);return yield me({type:"save",payload:{actionTabs:{key:""}}}),ke},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:pe({},I)}})},*setUpdateData({payload:I},{call:O,put:k}){yield k({type:"save",payload:{updateData:I}})}},reducers:{save(I,O){return pe(pe({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},ft=Object.defineProperty,Ut=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,wt=(I,O,k)=>O in I?ft(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,be=(I,O)=>{for(var k in O||(O={}))At.call(O,k)&&wt(I,k,O[k]);if(Ut)for(var k of Ut(O))Oe.call(O,k)&&wt(I,k,O[k]);return I},mt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:I},{call:O,put:k}){const me=yield O(Ot.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(Ot.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(Ot.Bn,I)},*appplySchool({payload:I},{call:O,put:k}){return yield O(Ot.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(Ot.WK,I)}},reducers:{save(I,O){return be(be({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},kt=Object.defineProperty,Be=Object.getOwnPropertySymbols,kr=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Vr=(I,O,k)=>O in I?kt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Jr=(I,O)=>{for(var k in O||(O={}))kr.call(O,k)&&Vr(I,k,O[k]);if(Be)for(var k of Be(O))St.call(O,k)&&Vr(I,k,O[k]);return I},Fr={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:I},{call:O,put:k}){const me=yield O(Ot.Dd,I);yield k({type:"save",payload:{CourseUseInfos:me}})},*getRankList({payload:I},{call:O,put:k}){const me=yield O(Ot.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(Ot.Gz,I);yield k({type:"save",payload:{SBody:me}})},*getStatisticsHeader({payload:I},{call:O,put:k}){const me=yield O(Ot.Hl,I);yield k({type:"save",payload:{SHeader:me}})}},reducers:{save(I,O){return Jr(Jr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},mr=e(7299),jr=Object.defineProperty,on=Object.getOwnPropertySymbols,fn=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,Rt=(I,O,k)=>O in I?jr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,_t=(I,O)=>{for(var k in O||(O={}))fn.call(O,k)&&Rt(I,k,O[k]);if(on)for(var k of on(O))or.call(O,k)&&Rt(I,k,O[k]);return I},Bt={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 ke=yield k(mr.s3,I);return yield me({type:"save",payload:{pollsList:_t({},ke)}}),ke},*getCommonHeader({payload:I,callback:O},{call:k,put:me}){const ke=yield k(mr.UK,I);return yield me({type:"save",payload:{commonHeader:_t({},ke)}}),ke},*getPollsStatistics({payload:I,callback:O},{call:k,put:me}){const ke=yield k(mr.Qn,I);return yield me({type:"save",payload:{statisticsList:_t({},ke)}}),ke},*getBrankList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(mr.n$,I);return yield me({type:"save",payload:{brankList:_t({},ke)}}),ke},*saveBanks({payload:I,callback:O},{call:k,put:me}){return yield k(mr.lf,I)},*getPollsCourses({payload:I,callback:O},{call:k,put:me}){const ke=yield k(mr.Q9,I);return yield me({type:"save",payload:{pollsCoursesList:_t({},ke)}}),ke},*getPollsSetting({payload:I,callback:O},{call:k,put:me}){const ke=yield k(mr.Hi,I);return yield me({type:"save",payload:{pollSetting:_t({},ke)}}),ke},*editPolls({payload:I,callback:O},{call:k,put:me}){const ke=yield k(mr.Ye,I);return yield me({type:"save",payload:{editData:_t({},JSON.parse(JSON.stringify(ke)))}}),ke},*getEndGroups({payload:I,callback:O},{call:k,put:me}){const ke=yield k(mr.KE,I);return yield me({type:"save",payload:{endGroups:_t({},ke)}}),ke},*getPublishGroups({payload:I,callback:O},{call:k,put:me}){const ke=yield k(mr.ux,I);return yield me({type:"save",payload:{publishGroups:_t({},ke)}}),ke},*getExerciseBanks({payload:I,callback:O},{call:k,put:me}){const ke=yield k(mr.kp,I);return yield me({type:"save",payload:{exerciseBanks:_t({},ke)}}),ke},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:_t({},I)}})}},reducers:{save(I,O){return _t(_t({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Cr=e(49234),gr=Object.defineProperty,rn=Object.getOwnPropertySymbols,Kr=Object.prototype.hasOwnProperty,Pn=Object.prototype.propertyIsEnumerable,Ct=(I,O,k)=>O in I?gr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,cr=(I,O)=>{for(var k in O||(O={}))Kr.call(O,k)&&Ct(I,k,O[k]);if(rn)for(var k of rn(O))Pn.call(O,k)&&Ct(I,k,O[k]);return I},pn={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:I},{call:O,put:k}){var me;const ke=yield O(Cr.gp,I);return(me=ke==null?void 0:ke.teacher_list)==null||me.map(tn=>(tn.key=tn.course_member_id,tn)),yield k({type:"save",payload:{list:ke}}),ke},*getStudentsList({payload:I},{call:O,put:k}){var me;const ke=yield O(Cr.ur,I);return(me=ke==null?void 0:ke.students)==null||me.map(tn=>(tn.key=tn.user_id,tn)),yield k({type:"save",payload:{studentsList:ke}}),ke},*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:cr({},I)}})},*setUpdateIndex({payload:I},{call:O,put:k}){yield k({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(I,O){return cr(cr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},$n=e(69618),si=Object.defineProperty,zn=Object.getOwnPropertySymbols,Li=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable,mi=(I,O,k)=>O in I?si(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,wi=(I,O)=>{for(var k in O||(O={}))Li.call(O,k)&&mi(I,k,O[k]);if(zn)for(var k of zn(O))ui.call(O,k)&&mi(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 ke=yield k($n.BQ,I);return yield me({type:"save",payload:{videoStatisticsList:wi({},ke)}}),ke},*getNewVideoStatisticsList({payload:I,callback:O},{call:k,put:me}){const ke=yield k($n.cU,I);return yield me({type:"save",payload:{newVideoStatisticsList:wi({},ke)}}),ke},*getVideoPeopleStatics({payload:I,callback:O},{call:k,put:me}){const ke=yield k($n.Zx,I);return yield me({type:"save",payload:{videoPeopleStatics:wi({},ke)}}),ke},*getVideoDurationStatics({payload:I,callback:O},{call:k,put:me}){const ke=yield k($n.Mz,I);return yield me({type:"save",payload:{videoDurationStatics:wi({},ke)}}),ke},*getVideoStatistics({payload:I,callback:O},{call:k,put:me}){const ke=yield k($n.ZY,I);return yield me({type:"save",payload:{videoStatistics:wi({},ke)}}),ke},*getOneVideoStatisticsList({payload:I,callback:O},{call:k,put:me}){const ke=yield k($n.cU,I);return yield me({type:"save",payload:{oneVideoStatisticsList:wi({},ke)}}),ke},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:wi({},I)}})},*getStudentVideoStatisticsList({payload:I,callback:O},{call:k,put:me}){const ke=yield k($n.Vg,I);return yield me({type:"save",payload:{StudentvideoStatistics:wi({},ke)}}),ke}},reducers:{save(I,O){return wi(wi({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},qn=e(73801),Yi=Object.defineProperty,Et=Object.getOwnPropertySymbols,ot=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={}))ot.call(O,k)&&Ai(I,k,O[k]);if(Et)for(var k of Et(O))Jn.call(O,k)&&Ai(I,k,O[k]);return I},yi={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 ke=yield k(qn.Ax,I);return yield me({type:"save",payload:{GuidesData:ke}}),ke},*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,ke=yield O(qn.bQ,I);return yield k({type:"save",payload:ei({listParams:me},ke)}),ke},*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 ke=yield k(qn.Dh,I);return yield me({type:"save",payload:{Staff:ke}}),ke},*getHeader({payload:I,callback:O},{call:k,put:me}){const ke=yield k(qn.Pg,I);return yield me({type:"save",payload:{Header:ke}}),ke},*getItem({payload:I,callback:O},{call:k,put:me}){const ke=yield k(qn.rV,I);return yield me({type:"save",payload:{RightItems:ke}}),ke},*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 ke=yield k(qn.ml,I);return yield me({type:"save",payload:{TabResultList:ke}}),ke},*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 ke=yield k(qn.pU,I);return yield me({type:"save",payload:{Prizes:ke}}),ke},*Accounts({payload:I,callback:O},{call:k,put:me}){const ke=yield k(qn.XJ,I);return yield me({type:"save",payload:{Account:ke}}),ke},*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 ke=yield k(qn.zz,I);return yield me({type:"save",payload:{competition_team:ke}}),ke},*all_team_members({payload:I,callback:O},{call:k,put:me}){const ke=yield k(qn.$P,I);return yield me({type:"save",payload:{all_team_member:ke}}),ke}},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"})})}}},ai=e(1103),En=e(32026),er=Object.defineProperty,pt=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,It=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable,dr=(I,O,k)=>O in I?er(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ir=(I,O)=>{for(var k in O||(O={}))ht.call(O,k)&&dr(I,k,O[k]);if(It)for(var k of It(O))lr.call(O,k)&&dr(I,k,O[k]);return I},Zr=(I,O)=>pt(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:ke}=yield me(tn=>tn.user);if(ke!=null&&ke.school_id){const tn=yield O(ai.BA,ke.school_id);tn&&tn.data&&(yield k({type:"setMajorOrYearDataSource",payload:{key:En.k[0],value:tn.data.map(jn=>({label:jn.name,value:jn.ec_major_school_id}))}}))}},*getYearList({payload:I},{call:O,put:k}){const me=yield O(ai.Nx,I);me&&me.data&&(yield k({type:"setMajorOrYearDataSource",payload:{key:En.k[1],value:me.data.map(ke=>({label:ke.year,value:ke.ec_year_id}))}}))},*getCourseResultDetail({payload:I},{call:O,put:k}){console.log(I,"payload");const me=yield O(ai.p1,I);me&&me.ec_course_target&&(yield k({type:"setEchartsData",payload:me}))},*getCourseResultDetailClass({payload:I},{call:O,put:k}){const me=yield O(ai.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 Zr(Ir({},I),{headerData:Zr(Ir({},I.headerData),{dataSource:Zr(Ir({},I.headerData.dataSource),{[O.key]:Zr(Ir({},I.headerData.dataSource[O.key]),{dataList:O.value})})})})},setMajorOrYearActive(I,{payload:O}){return Zr(Ir({},I),{headerData:Zr(Ir({},I.headerData),{active:Zr(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:[]},ke={};return O.ec_course_target.forEach((tn,jn)=>{tn.position=jn+1,k=Zr(Ir({},k),{dataSource:{xData:[...k.dataSource.xData,jn+1],yBarData:[...k.dataSource.yBarData,tn.actual_grade],yLineData:[...k.dataSource.yLineData,tn.standard_grade]}});let hn=[],Di={min:[],max:[]},Ha=[],Oa=[],Ao=[];tn.student_data.detail.forEach((Ma,io)=>{let ys=Ma.score;hn.push(io+1),Di.max.push(ys>=tn.student_data.goal_score?ys:null),Di.min.push(ys>=tn.student_data.goal_score?null:ys),Ha.push(Ma.name),Oa.push(Ma.student_id),Ao.push(Ma.clazz)}),ke[jn+1]={name:jn+1,average_score:tn.student_data.average_score,goal_score:tn.student_data.goal_score,xData:hn,yData:Di,name_data:Ha,student_ids:Oa,class_data:Ao,goal_scoreData:new Array(tn.student_data.detail.length).fill(tn.student_data.goal_score),average_scoreData:new Array(tn.student_data.detail.length).fill(tn.student_data.average_score)}}),O.history.forEach(tn=>{me=Zr(Ir({},me),{xData:[...me.xData,tn.year],seriesData:[...me.seriesData,tn.total_score]})}),Zr(Ir({},I),{name:O.course_name||"",tabListData:O.ec_course_target,echartsData:{barData:k,lineData:me,scatterData:ke}})}},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(96999),ln=Object.defineProperty,nn=Object.defineProperties,cn=Object.getOwnPropertyDescriptors,An=Object.getOwnPropertySymbols,pa=Object.prototype.hasOwnProperty,Pi=Object.prototype.propertyIsEnumerable,bi=(I,O,k)=>O in I?ln(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,_n=(I,O)=>{for(var k in O||(O={}))pa.call(O,k)&&bi(I,k,O[k]);if(An)for(var k of An(O))Pi.call(O,k)&&bi(I,k,O[k]);return I},li=(I,O)=>nn(I,cn(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:_n({},I)}})},*getMajorList({},{call:I,put:O,select:k}){const{userInfo:me}=yield k(ke=>ke.user);if(me!=null&&me.school_id){const ke=yield I(ai.BA,me.school_id);if(ke&&ke.data){const tn=Pr.U.getItem(me==null?void 0:me.login);yield O({type:"setMajorOrYearDataSource",payload:{key:En.k[0],value:ke.data.map(jn=>({label:jn.name,value:jn.ec_major_school_id})),active:ke.data.length>0?tn[0]||ke.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:I},{call:O,put:k,select:me}){const ke=yield O(ai.Nx,I.id),{userInfo:tn}=yield me(jn=>jn.user);if(ke&&ke.data){const jn=Pr.U.getItem(tn==null?void 0:tn.login);yield k({type:"setMajorOrYearDataSource",payload:{key:En.k[1],value:ke.data.map(hn=>({label:hn.year,value:hn.ec_year_id})),active:ke.data.length>0?I.firstEnter?jn[1]:ke.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:I,put:O,select:k}){const{headerData:me}=yield k(jn=>jn.engineeringNavigtion),{userInfo:ke}=yield k(jn=>jn.user);let tn={};if(me.active[En.k[1]]&&ke.school_id){const jn=[me.active[En.k[0]],me.active[En.k[1]]];Pr.U.setItem(ke==null?void 0:ke.login,jn);const hn=yield I(ai.bA,{ec_year_id:me.active[En.k[1]],school_id:ke.school_id});hn&&hn.data&&(tn=hn.data),yield O({type:"setTopPage",payload:tn})}},*putTopPageName({payload:I,callback:O},{call:k,put:me}){try{const ke=yield k(ai.ay,I);O(ke)}catch(ke){let tn="";ke&&(tn=JSON.stringify(ke),ke.message&&(tn=ke.message)),O({message:tn,status:999})}}},reducers:{save(I,O){return _n(_n({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){let k=I.headerData.active;return O.active&&(k=li(_n({},k),{[O.key]:O.active})),li(_n({},I),{headerData:li(_n({},I.headerData),{dataSource:li(_n({},I.headerData.dataSource),{[O.key]:li(_n({},I.headerData.dataSource[O.key]),{dataList:O.value})}),active:k})})},setMajorOrYearActive(I,{payload:O}){return li(_n({},I),{headerData:li(_n({},I.headerData),{active:li(_n({},I.headerData.active),{[O.key]:O.value})})})},setTopPage(I,{payload:O}){return li(_n({},I),{headerData:li(_n({},I.headerData),{name:O.name,tabBarContent:{user_name:O.user_name,user_school:O.user_school,user_type:O.user_type}}),cardListData:li(_n({},I.cardListData),{appraiseData:li(_n({},I.cardListData.appraiseData),{norm:li(_n({},I.cardListData.appraiseData.norm),{result:O.graduaiton_result,listData:I.cardListData.appraiseData.norm.listData.map(k=>li(_n({},k),{value:O[k.key]||0}))}),course:li(_n({},I.cardListData.appraiseData.course),{result:O.course_result,listData:I.cardListData.appraiseData.course.listData.map(k=>li(_n({},k),{value:O[k.key]||0}))})}),teamData:{teach:li(_n({},I.cardListData.teamData.teach),{tabBarContent:`${O.course_teachers?O.course_teachers.length:0}\u4EBA`,listData:O.course_teachers||[]}),work:li(_n({},I.cardListData.teamData.work),{tabBarContent:`${O.work_teachers?O.work_teachers.length:0}\u4EBA`,listData:O.work_teachers||[]})}}),totalListData:I.totalListData.map(k=>li(_n({},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,xi=(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)),ji={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:xi({},I)}})},*getGraduationResultDetail({payload:I},{call:O,put:k}){const me=yield O(ai.gq,I);yield k({type:"save",payload:{dataSource:me}})}},reducers:{save(I,O){return xi(xi({},I),O.payload)},setDataSource(I,{payload:O}){let k=O;return Ga(xi({},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,Ui=Object.getOwnPropertySymbols,Gs=Object.prototype.hasOwnProperty,Ln=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(Ui)for(var k of Ui(O))Ln.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&&Ui)for(var me of Ui(I))O.indexOf(me)<0&&Ln.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(ke=>ke.user);if(me!=null&&me.school_id){const ke=yield I(ai.BA,me.school_id);if(ke&&ke.data){const tn=Pr.U.getItem(me==null?void 0:me.login);yield O({type:"setMajorOrYearDataSource",payload:{key:En.k[0],value:ke.data.map(jn=>({label:jn.name,value:jn.ec_major_school_id})),active:ke.data.length>0?tn[0]||ke.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:I},{call:O,put:k,select:me}){const ke=yield O(ai.Nx,I.id),{userInfo:tn}=yield me(jn=>jn.user);if(ke&&ke.data){const jn=Pr.U.getItem(tn==null?void 0:tn.login);yield k({type:"setMajorOrYearDataSource",payload:{key:En.k[1],value:ke.data.map(hn=>({label:hn.year,value:hn.ec_year_id})),active:ke.data.length>0?I.firstEnter?jn[1]:ke.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:I,put:O,select:k}){const{headerData:me}=yield k(Ha=>Ha.engineeringNormList),{userInfo:ke}=yield k(Ha=>Ha.user);let tn=[],jn=[],hn="";const Di=me.active[En.k[1]];if(Di){const Ha=[me.active[En.k[0]],me.active[En.k[1]]];Pr.U.setItem(ke==null?void 0:ke.login,Ha);const Oa=yield I(ai.eM,Di);Oa&&Oa.graduation_requirements&&(hn=Oa.all_goal_value||"",tn=Oa.graduation_requirements.map(Ao=>{var Ma=Ao,{subitems:io}=Ma,ys=Vi(Ma,["subitems"]);return jn.push(ys.id),ls(ns({},ys),{children:io})}))}yield O({type:"save",payload:{tabListData:tn,all_goal_value:hn,expandedRowKeys:jn}})},*exportGraduation({},{call:I,select:O}){const{headerData:k}=yield O(me=>me.engineeringNormList);k.active[En.k[1]]&&(yield I(ai.OE,k.active[En.k[1]]))},*compute({payload:I},{call:O,put:k}){const me=I,{all:ke}=me,tn=Vi(me,["all"]),jn=yield O(ke?ai.Qx:ai.Xl,tn);jn&&jn.status===0?(ps.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield k({type:"getGraduationResults"})):ps.ZP.error(jn.message)},*getFormulas({callback:I},{call:O,select:k}){const{headerData:me}=yield k(ke=>ke.engineeringNormList);if(me.active[En.k[1]]){const ke=yield O(ai.mK,me.active[En.k[1]]);I(ke)}},*setFormulas({payload:I,callback:O},{call:k}){const me=yield k(ai.y9,I);O(me)},*putGoalValue({payload:I},{call:O,put:k}){const me=yield O(ai.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 ke="\u4FDD\u5B58\u5931\u8D25";me&&me.message&&(ke=me.message),ps.ZP.error(ke)}}},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(94670),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,pi=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={}))pi.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(22072),Po=e(346),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,ke;const tn=yield O(co.D2,I);Po.Z.ONLYOFFICE=(me=tn==null?void 0:tn.setting)==null?void 0:me.office_server_url,Io(tn);try{const Di="5183666c72eec9e4",Ha="5183666c72eec9e4";var jn=Lo().enc.Utf8.parse(Di);let Oa=Lo().enc.Utf8.parse(Ha);var hn=Lo().AES.decrypt(((ke=tn==null?void 0:tn.setting)==null?void 0:ke.user_default_password)||"",jn,{iv:Oa,mode:Lo().mode.CBC});tn.setting.user_default_password=hn.toString(Lo().enc.Utf8)}catch(Di){}yield k({type:"save",payload:fs({},tn)})},*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,ke,tn;if(window.self!==window.top||!((O=I.setting)!=null&&O.tab_logo_url))return;const jn=document.createElement("link"),hn=document.getElementById("dynamic-favicon");jn.id="dynamic-favicon",jn.rel="shortcut icon",jn.href=(k=I.setting)!=null&&k.tab_logo_url?`${Po.Z.IMG_SERVER}/${(me=I.setting)==null?void 0:me.tab_logo_url}`:"",hn&&document.head.removeChild(hn),document.head.appendChild(jn);try{(ke=I.setting)!=null&&ke.main_site||(document.querySelector('meta[name="keywords"]').content=(tn=I.setting)==null?void 0:tn.name,document.querySelector('meta[name="description"]').remove())}catch(Di){}};var Us=e(12309),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},Xt={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 ke=yield O(Us.AA,I);return(me=ke==null?void 0:ke.data)==null||me.map(tn=>(tn.key=tn.id,tn)),yield k({type:"save",payload:{teachers:ke}}),ke},*getGraduationsStudents({payload:I},{call:O,put:k}){var me;const ke=yield O(Us.eh,I);(me=ke==null?void 0:ke.data)==null||me.map(tn=>(tn.key=tn.id,tn)),yield k({type:"save",payload:{students:ke}})},*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)}}},fr=e(82220),sr=Object.defineProperty,vr=Object.defineProperties,wr=Object.getOwnPropertyDescriptors,xn=Object.getOwnPropertySymbols,Sn=Object.prototype.hasOwnProperty,Un=Object.prototype.propertyIsEnumerable,Mn=(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)&&Mn(I,k,O[k]);if(xn)for(var k of xn(O))Un.call(O,k)&&Mn(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(fr.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(fr.LA,I)},*UploadNotice({payload:I,callback:O},{call:k,put:me}){return yield k(fr.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"})})}}},vn=Object.defineProperty,Hn=Object.defineProperties,ct=Object.getOwnPropertyDescriptors,In=Object.getOwnPropertySymbols,Vn=Object.prototype.hasOwnProperty,ci=Object.prototype.propertyIsEnumerable,Qi=(I,O,k)=>O in I?vn(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Br=(I,O)=>{for(var k in O||(O={}))Vn.call(O,k)&&Qi(I,k,O[k]);if(In)for(var k of In(O))ci.call(O,k)&&Qi(I,k,O[k]);return I},Mi=(I,O)=>Hn(I,ct(O)),Ur={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(I,O){return Br(Br({},I),O.payload)},openModal(I,O){return Mi(Br({},I),{visibleModalName:O.payload})},closeModal(I){return Mi(Br({},I),{visibleModalName:""})},openSimpleModal(I,O){return Mi(Br({},I),{simpleModalProps:Br({visible:!0},O.payload)})},closeSimpleModal(I){return Mi(Br({},I),{simpleModalProps:{visible:!1}})}}},na=e(38986),Ss=Object.defineProperty,fi=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(fi)for(var k of fi(O))xo.call(O,k)&&Os(I,k,O[k]);return I},ds=(I,O,k)=>new Promise((me,ke)=>{var tn=Di=>{try{hn(k.next(Di))}catch(Ha){ke(Ha)}},jn=Di=>{try{hn(k.throw(Di))}catch(Ha){ke(Ha)}},hn=Di=>Di.done?me(Di.value):Promise.resolve(Di.value).then(tn,jn);hn((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)})}),Dn=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)})}),Lt=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 pr=Object.defineProperty,Rr=Object.getOwnPropertySymbols,$r=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,an=(I,O,k)=>O in I?pr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,yn=(I,O)=>{for(var k in O||(O={}))$r.call(O,k)&&an(I,k,O[k]);if(Rr)for(var k of Rr(O))gn.call(O,k)&&an(I,k,O[k]);return I},ri={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:ke}}=yield O(ks,I);yield k({type:"save",payload:{BannerList:ke,Adv:me}})},*getTopCategoryList({payload:I},{call:O,put:k}){const{data:{top_category_list:me}}=yield O(Dn,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(Lt,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 yn(yn({},I),O.payload)}}},Ii={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},Hi=e(50958),Fi=Object.defineProperty,Si=Object.getOwnPropertySymbols,ma=Object.prototype.hasOwnProperty,Ci=Object.prototype.propertyIsEnumerable,Ei=(I,O,k)=>O in I?Fi(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)&&Ei(I,k,O[k]);if(Si)for(var k of Si(O))Ci.call(O,k)&&Ei(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(93629),ka=e(51257),ea=e(32162),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,ke,tn,jn,hn,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:((ke=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[2].nameType))==null?void 0:ke.name)||ea.fw[2].name},ys),Ya({type:"PROGRAM",question_type:6,name:((tn=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[6].nameType))==null?void 0:tn.name)||ea.fw[6].name},kc),Ya({type:"COMPLETION",question_type:3,name:((jn=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[3].nameType))==null?void 0:jn.name)||ea.fw[3].name},Jl),Ya({type:"SUBJECTIVE",question_type:4,name:((hn=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[4].nameType))==null?void 0:hn.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(55305),Ua=Object.defineProperty,As=Object.getOwnPropertySymbols,ga=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,we=(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)&&we(I,k,O[k]);if(As)for(var k of As(O))ye.call(O,k)&&we(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),ke=me==null?void 0:me.disciplines,tn=(0,da.L)(ke);return yield k({type:"save",payload:{courseOptions:tn,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),ke=yield O(Wi.cV,I),tn=Ms(me,ke.data);return yield k({type:"save",payload:{paperData:tn}}),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,ti=Object.prototype.hasOwnProperty,Bi=Object.prototype.propertyIsEnumerable,Fn=(I,O,k)=>O in I?qr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,On=(I,O)=>{for(var k in O||(O={}))ti.call(O,k)&&Fn(I,k,O[k]);if(Cn)for(var k of Cn(O))Bi.call(O,k)&&Fn(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 ke=yield k(Wi.Dq,I);return yield me({type:"save",payload:{exerciseExportHeadData:On({},ke)}}),ke},*editExercise({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Wi.Di,I);return yield me({type:"save",payload:{editData:On({},ke)}}),ke},*getTagDiscipline({payload:I,callback:O},{call:k,put:me}){const ke=yield k(He.YY,I);return yield me({type:"save",payload:{tagDisciplineData:On({},ke)}}),ke},*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:On({},I)}})}},reducers:{save(I,O){return On(On({},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}){}}},zi=e(36714),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(zi.Ax,I);yield k({type:"save",payload:{discusses:vu({},me)}})},*getPathsDetail({payload:I},{call:O,put:k}){const me=yield O(zi.lk,I);return yield k({type:"save",payload:{detail:vu({},me)}}),me},*getCourseDetail({payload:I},{call:O,put:k}){const me=yield O(zi.Sp,I);return yield k({type:"save",payload:{detail:vu({},me)}}),me},*getRightData({payload:I},{call:O,put:k}){const me=yield O(zi.AQ,I);yield k({type:"save",payload:{rightData:vu({},me)}})},*getCoureses({payload:I},{call:O,put:k}){const me=yield O(zi.ue,I);yield k({type:"save",payload:{Courses:vu({},me)}})},*getStageChildrenData({payload:I},{call:O,put:k}){const me=yield O(zi.w4,I);return yield k({type:"save",payload:{StageChildrenData:me}}),me},*getStageData({payload:I},{call:O,put:k}){var me,ke;let tn=null;I!=null&&I.show_course_section?tn=yield O(zi.yN,I):tn=yield O(zi.p,I),yield k({type:"save",payload:{stageData:((me=tn==null?void 0:tn.data)==null?void 0:me.stages)||(tn==null?void 0:tn.stages)||[],isShowSchedule:((ke=tn==null?void 0:tn.data)==null?void 0:ke.is_show_schedule)||(tn==null?void 0:tn.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,ee=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,he=(I,O,k)=>O in I?Ve(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ae=(I,O)=>{for(var k in O||(O={}))ee.call(O,k)&&he(I,k,O[k]);if(W)for(var k of W(O))ne.call(O,k)&&he(I,k,O[k]);return I},bt={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,ke=yield O(zi.tS,I);return yield k({type:"save",payload:Ae({listParams:me},ke)}),ke},*getMenus({payload:I},{call:O,put:k}){const me=yield O(zi.fh,I);yield k({type:"save",payload:{menus:me}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Ae({},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 Ae(Ae({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Mt=Object.defineProperty,nr=Object.getOwnPropertySymbols,Tr=Object.prototype.hasOwnProperty,Hr=Object.prototype.propertyIsEnumerable,sn=(I,O,k)=>O in I?Mt(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)&&sn(I,k,O[k]);if(nr)for(var k of nr(O))Hr.call(O,k)&&sn(I,k,O[k]);return I},Wn={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:I},{call:O,put:k}){return yield O(zi.tu,I)},*submitCourse({payload:I},{call:O,put:k}){return yield O(zi.pU,I)},*getEditCourseData({payload:I},{call:O,put:k}){return yield O(zi.mQ,I)},*getSchoolOption({payload:I},{call:O,put:k}){return yield O(zi.GY,I)},*appplySchool({payload:I},{call:O,put:k}){return yield O(zi.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"})})}}},_i=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?_i(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(zi.nq,I);yield k({type:"save",payload:{SubjectUseInfos:me}})},*getRankList({payload:I},{call:O,put:k}){const me=yield O(zi.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(zi.Gz,I);yield k({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:I},{call:O,put:k}){const me=yield O(zi.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(zi.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"})})}}},di=e(46722),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(di.ex,I);return yield k({type:"save",payload:{groupfolderList:me}}),me},*getDisciplines({payload:I},{call:O,put:k}){const me=yield O(di.d1,I);return yield k({type:"save",payload:{disciplinesData:zs({},me)}}),me},*getEditDisciplines({payload:I},{call:O,put:k}){const me=yield O(di.d1,I),ke=me==null?void 0:me.disciplines,tn=(0,da.L)(ke);return yield k({type:"save",payload:{courseOptions:tn,disciplinesData:zs({},me)}}),me},*getBasketList({payload:I},{call:O,put:k}){const me=yield O(di.Qj,I);return yield k({type:"save",payload:{basketData:zs({},me)}}),me},*getTeachGroupData({payload:I},{call:O,put:k}){const me=yield O(di.Dm,I);return yield k({type:"save",payload:{teachGroupData:zs({},me)}}),me},*getEditData({payload:I},{call:O,put:k}){const me=yield O(di.FG,I);return yield k({type:"save",payload:{editData:zs({},me)}}),me},*getEditDataBprogram({payload:I},{call:O,put:k}){const me=yield O(di.Bo,I);return yield k({type:"save",payload:{editData:zs({},me)}}),me},*getGroupData({payload:I},{call:O,put:k}){const me=yield O(di.hI,I);return yield k({type:"save",payload:{groupData:zs({},me)}}),me},*getItemBanks({payload:I},{call:O,put:k}){const me=yield O(di.Of,I);return yield k({type:"save",payload:{itemBanks:zs({},me)}}),me},*setPrivate({payload:I},{call:O,put:k}){return yield O(di.Pl,I)},*revokePublish({payload:I},{call:O,put:k}){return yield O(di.IJ,I)},*setPublic({payload:I},{call:O,put:k}){return yield O(di.DF,I)},*handleDelete({payload:I},{call:O,put:k}){return yield O(di.fn,I)},*startExperience({payload:I},{call:O,put:k}){return yield O(di.Bd,I)},*cancel({payload:I},{call:O,put:k}){return yield O(di.al,I)},*select({payload:I},{call:O,put:k}){return yield O(di.Ys,I)},*examUnselectAll({payload:I},{call:O,put:k}){return yield O(di.rV,I)},*basketDelete({payload:I},{call:O,put:k}){return yield O(di.x5,I)},*unselectAll({payload:I},{call:O,put:k}){return yield O(di.HF,I)},*addKnowledge({payload:I},{call:O,put:k}){return yield O(di.U6,I)},*editProblemset({payload:I},{call:O,put:k}){return yield O(di.Wk,I)},*addProblemset({payload:I},{call:O,put:k}){return yield O(di.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(di.iT,I),ke=(0,da.r)(me);return yield k({type:"save",payload:{paperData:ke}}),me},*getEditDisciplines({payload:I},{call:O,put:k}){const me=yield O(di.d1,I),ke=me==null?void 0:me.disciplines,tn=(0,da.L)(ke);return yield k({type:"save",payload:{courseOptions:tn,disciplinesData:wo({},me)}}),me},*setScore({payload:I},{call:O,put:k}){return yield O(di.ts,I)},*handleDelete({payload:I},{call:O,put:k}){return yield O(di.Cn,I)},*batchSetScore({payload:I},{call:O,put:k}){return yield O(di.YP,I)},*batchDelete({payload:I},{call:O,put:k}){return yield O(di.Hm,I)},*adjustPosition({payload:I},{call:O,put:k}){return yield O(di.qN,I)},*newPreviewProblemset({payload:I},{call:O,put:k}){return yield O(di.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(506),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"})})}}},ii=e(75736);const Sc=(I={})=>{var O,k,me,ke,tn,jn;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:(ke=I==null?void 0:I.perference_info)==null?void 0:ke.status,username:(tn=I==null?void 0:I.perference_info)==null?void 0:tn.username,time:(jn=I==null?void 0:I.perference_info)==null?void 0:jn.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(ii.Po,I);return yield k({type:"save",payload:{detail:qs({},me)}}),me},*getMirrorApplies({payload:I},{call:O,put:k}){const me=yield O(ii.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(ii.AQ,I);yield k({type:"save",payload:{rightData:qs({},me)}})},*getChallengesData({payload:I},{call:O,put:k}){const me=yield O(ii.n5,I);yield k({type:"save",payload:{challenges:qs({},me)}})},*saveCopyForExercise({payload:I},{call:O,put:k}){return yield O(ii.FB,I)},*execJupyter({payload:I},{call:O,put:k}){return yield O(ii.BK,I)},*execShixun({payload:I},{call:O,put:k}){const me=yield O(ii.Ir,I);return(me==null?void 0:me.status)===-3&&(0,ka.eF)(),me},*openChallenge({payload:I},{call:O,put:k}){return yield O(ii.dK,I)},*challengeMoveUp({payload:I},{call:O,put:k}){return yield O(ii.zD,I)},*challengeMoveDown({payload:I},{call:O,put:k}){return yield O(ii.hn,I)},*cancelCollect({payload:I},{call:O,put:k}){return yield O(ii.rs,I)},*collect({payload:I},{call:O,put:k}){return yield O(ii.KM,I)},*searchUserCourses({payload:I},{call:O,put:k}){return yield O(ii._7,I)},*sendToCourse({payload:I},{call:O,put:k}){return yield O(ii.Q,I)},*cancelRelease({payload:I},{call:O,put:k}){return yield O(ii.Ne,I)},*cancelPublic({payload:I},{call:O,put:k}){return yield O(ii.Er,I)},*applyPublic({payload:I},{call:O,put:k}){return yield O(ii.WO,I)},*release({payload:I},{call:O,put:k}){return yield O(ii.Ar,I)},*updateAuditSituation({payload:I},{call:O,put:k}){return yield O(ii.LP,I)},*getCollaboratorsData({payload:I},{call:O,put:k}){return yield O(ii.j8,I)},*addCollaborator({payload:I},{call:O,put:k}){return yield O(ii.OV,I)},*addTeachGroupMember({payload:I},{call:O,put:k}){return yield O(ii.l3,I)},*getChangeManager({payload:I},{call:O,put:k}){return yield O(ii.P2,I)},*changeManager({payload:I},{call:O,put:k}){return yield O(ii.X$,I)},*deleteCollaborators({payload:I},{call:O,put:k}){return yield O(ii.xk,I)},*getRankingList({payload:I},{call:O,put:k}){return yield O(ii.E4,I)},*getMirrorScript({payload:I},{call:O,put:k}){return yield O(ii.Z2,I)},*getScriptContent({payload:I},{call:O,put:k}){return yield O(ii.Bj,I)},*getCustomScript({payload:I},{call:O,put:k}){return yield O(ii.Wi,I)},*updateSettingBasicInfo({payload:I},{call:O,put:k}){return yield O(ii.ZO,I)},*getShixunQuote({payload:I},{call:O,put:k}){return yield O(ii.Gr,I)},*deleteShixun({payload:I},{call:O,put:k}){return yield O(ii.Ps,I)},*permanentClose({payload:I},{call:O,put:k}){return yield O(ii.U9,I)},*getDepartments({payload:I},{call:O,put:k}){return yield O(ii.Ql,I)},*updatePermissionSetting({payload:I},{call:O,put:k}){return yield O(ii.aH,I)},*updateLearnSetting({payload:I},{call:O,put:k}){return yield O(ii.yE,I)},*updateSetting({payload:I},{call:O,put:k}){return yield O(ii.m7,I)},*getSetData({payload:I},{call:O,put:k}){return yield O(ii.U0,I)},*deleteDataSet({payload:I},{call:O,put:k}){return yield O(ii.uo,I)},*deleteGitFile({payload:I},{call:O,put:k}){return yield O(ii.sr,I)},*deleteGitFiles({payload:I},{call:O,put:k}){return yield O(ii.p0,I)},*moveGitFile({payload:I},{call:O,put:k}){return yield O(ii.IT,I)},*moveGitFiles({payload:I},{call:O,put:k}){return yield O(ii.t2,I)},*getRepository({payload:I},{call:O,put:k}){const me=yield O(ii.Ag,I);return yield k({type:"save",payload:{repository:qs({},me)}}),qs({},me)},*getRepositorys({payload:I},{call:O,put:k}){const me=yield O(ii.Wl,I);return yield k({type:"save",payload:{repository:qs({},me)}}),qs({},me)},*getRepositorys({payload:I},{call:O,put:k}){const me=yield O(ii.Wl,I);return yield k({type:"save",payload:{repository:qs({},me)}}),qs({},me)},*getSecretRepository({payload:I},{call:O,put:k}){const me=yield O(ii.w,I);return yield k({type:"save",payload:{secretRepository:qs({},me)}}),me},*addRepositoryFile({payload:I},{call:O,put:k}){return yield O(ii.v3,I)},*addRepositoryFiles({payload:I},{call:O,put:k}){return yield O(ii.fL,I)},*getRepositoryCommit({payload:I},{call:O,put:k}){return yield O(ii.Je,I)},*getFileContent({payload:I},{call:O,put:k}){const me=yield O(ii.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(ii.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(ii.kF,I)},*updateRepositoryFiles({payload:I},{call:O,put:k}){return yield O(ii.jq,I)},*uploadGitFolder({payload:I},{call:O,put:k}){return yield O(ii.Op,I)},*updateCollaboratorEditable({payload:I},{call:O,put:k}){return yield O(ii.Dz,I)},*getSettingsData({payload:I},{call:O,put:k}){const me=yield O(ii.DC,I);yield k({type:"save",payload:{setting:qs({},me)}})},*getChallengesNew({payload:I},{call:O,put:k}){const me=yield O(ii.km,I);yield k({type:"save",payload:{challengesNew:qs({},me)}})},*getChallengesEdit({payload:I},{call:O,put:k}){const me=yield O(ii.q0,I);return yield k({type:"save",payload:{challengesEdit:qs({},me)}}),me},*getAuditSituationData({payload:I},{call:O,put:k}){const me=yield O(ii.GI,I),ke=Sc(me);yield k({type:"save",payload:{auditSituationData:ke}})},*getEditChallengesQuestion({payload:I},{call:O,put:k}){const me=yield O(ii.UQ,I);return yield k({type:"save",payload:{editChallengesQuestion:me}}),me},*getInfoWithJupyterLab({payload:I},{call:O,put:k}){const me=yield O(ii.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(ii.he,I),ke=Hs({},I);return yield k({type:"save",payload:Hs({listParams:ke},me)}),me},*getMenus({payload:I},{call:O,put:k}){var me;const ke=yield O(ii.I_,I);(me=ke==null?void 0:ke.disciplines)==null||me.map(tn=>(tn.sub_repertoires=tn.sub_disciplines,tn)),yield k({type:"save",payload:{menus:[...(ke==null?void 0:ke.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(ii.b8,I);return yield k({type:"save",payload:{newData:Xo({},me)}}),me},*deleteAttachment({payload:I},{call:O,put:k}){return yield O(ii.OW,I)},*applyShixunMirror({payload:I},{call:O,put:k}){return yield O(ii.EH,I)},*submitShixuns({payload:I},{call:O,put:k}){return yield O(ii.eX,I)},*getShixunsJupyterLab({payload:I},{call:O,put:k}){const me=yield O(ii.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(ii.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(ii.e,I);yield k({type:"save",payload:{ShixunUseInfos:me}})},*getRankList({payload:I},{call:O,put:k}){const me=yield O(ii.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(ii.Gz,I);yield k({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:I},{call:O,put:k}){const me=yield O(ii.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(ii.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,ke)=>{var tn=Di=>{try{hn(k.next(Di))}catch(Ha){ke(Ha)}},jn=Di=>{try{hn(k.throw(Di))}catch(Ha){ke(Ha)}},hn=Di=>Di.done?me(Di.value):Promise.resolve(Di.value).then(tn,jn);hn((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(86245),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:ke}=me,tn=Qo(me,["to"]);if(!(yield O(no.Es,tn)).status)try{ke?f.history.replace(ke):location.reload()}catch(hn){}},*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(49379),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,ke,tn,jn;let hn=window.location.href.split("/");if(!hn.includes("video"))return;let Di=(I=hn[hn.length-1])==null?void 0:I.split("?")[0];Di=Number(Di);const Ha=(k=(O=hn[hn.length-1])==null?void 0:O.split("?")[1])==null?void 0:k.split("=")[1];return((ke=(me=hn[hn.length-1])==null?void 0:me.split("?")[1])==null?void 0:ke.split("=")[0])==="subject_id"?{videoId:Di,subject_id:Ha}:((jn=(tn=hn[hn.length-1])==null?void 0:tn.split("?")[1])==null?void 0:jn.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 ke=yield k($n.O2,I);return O?O(ke):yield me({type:"save",payload:{detail:Zo({},ke)}}),ke},*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 ke=yield O($n.yN,I),tn=yield O(zi.lk,{id:I.subject_id}),{queryParams:jn}=yield me(Ma=>Ma.videoDetail),{stages:hn=[]}=ke,Di=[];let Ha=[],Oa={};const Ao=Ma=>{Ma.forEach(io=>{String(io.id)===String(jn.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)})};hn==null||hn.forEach(Ma=>{Ao(Ma.items)}),window.filterVideoSign=[...Di],yield k({type:"save",payload:{stages:hn,active:Oa,cust_seq:tn.cust_seq,videoList:Di,attachmentList:Ha}})},*getVideoData({payload:I},{call:O,put:k,select:me}){const ke=yield O($n.fn,I),{categories:tn=[],coruse_videos:jn=[]}=ke;yield k({type:"save",payload:{stages:(tn==null?void 0:tn.length)>0?tn:[{coruse_videos:jn,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:I},{call:O,put:k,select:me}){const ke=yield O(fu.R7,I),{queryParams:tn}=yield me(Ao=>Ao.videoDetail),{stages:jn}=ke;let hn=[],Di=[],Ha={};const Oa=Ao=>{Ao.forEach(Ma=>{String(Ma.id)===String(tn.videoId)&&(Ha=Ma),Ma.item_type==="VideoItem"?hn.push(Ma):Ma.item_type==="Attachment"&&Di.push(Ma),Ma.children&&Ma.children.length&&Oa(Ma.children)})};jn==null||jn.forEach(Ao=>{Oa(Ao.items)}),window.filterVideoSign=[...hn],yield k({type:"save",payload:{active:Ha,stages:jn,cust_seq:!0,videoList:hn,attachmentList:Di}})}},reducers:{save(I,O){return Zo(Zo({},I),O.payload)},handleListItemClick(I,O){const{videoList:k,attachmentList:me}=I,ke=O.payload.videoId||O.payload.attachmentId,tn=[...k,...me].find(jn=>`${jn.id}`==`${ke}`);return il(Zo({},I),{active:tn,queryParams:Zo(Zo({},Au()),O.payload)})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},oo=e(466),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:Q},model_3:{namespace:"classrooms.attachment",model:te},model_4:{namespace:"classrooms.boards",model:Re},model_5:{namespace:"classrooms.exercise",model:Xe},model_6:{namespace:"classrooms.graduation",model:Se},model_7:{namespace:"classrooms.homeworks",model:Gt},model_8:{namespace:"classrooms.index",model:Ce},model_9:{namespace:"classrooms.new",model:mt},model_10:{namespace:"classrooms.overview",model:Fr},model_11:{namespace:"classrooms.polls",model:Bt},model_12:{namespace:"classrooms.teacher",model:pn},model_13:{namespace:"classrooms.video",model:Xi},model_14:{namespace:"competitions.index",model:yi},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:ji},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:Xt},model_25:{namespace:"homePage",model:xr},model_26:{namespace:"innovation.index",model:Ur},model_27:{namespace:"intraincourse.index",model:ri},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:bt},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(ke){return[...ke]},setupApp(ke){ke._history=f.history}}),gc=k.current,k.current.use(l()()),(me.plugins||[]).forEach(ke=>{k.current.use(ke)});for(const ke of Object.keys(ql))k.current.model(qo({namespace:ql[ke].namespace},ql[ke].model));k.current.start()}return c.createElement(r.zt,{store:k.current._store},I.children)}function Oc(){return gc}},18956:function(d,v,e){"use strict";e.d(v,{PZ:function(){return ei},eU:function(){return a},B:function(){return Ai},Mg:function(){return ht},lw:function(){return pt},Kd:function(){return It},H8:function(){return yi}});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 T(Ze){return Ze.type===y.select}function D(Ze){return Ze.type===y.plural}function M(Ze){return Ze.type===y.pound}function N(Ze){return!!(Ze&&typeof Ze=="object"&&Ze.type===0)}function j(Ze){return!!(Ze&&typeof Ze=="object"&&Ze.type===1)}function Q(Ze){return{type:y.literal,value:Ze}}function X(Ze,et){return{type:y.number,value:Ze,style:et}}var Y=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)},ie=function(Ze){Y(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(ln){return"\\x0"+ir(ln)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(ln){return"\\x"+ir(ln)})}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(ln){return"\\x0"+ir(ln)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(ln){return"\\x"+ir(ln)})}function Or(Pr){switch(Pr.type){case"literal":return'"'+Dr(Pr.text)+'"';case"class":var ln=Pr.parts.map(function(nn){return Array.isArray(nn)?Er(nn[0])+"-"+Er(nn[1]):Er(nn)});return"["+(Pr.inverted?"^":"")+ln+"]";case"any":return"any character";case"end":return"end of input";case"other":return Pr.description}}function Nr(Pr){var ln=Pr.map(Or),nn,cn;if(ln.sort(),ln.length>0){for(nn=1,cn=1;nn<ln.length;nn++)ln[nn-1]!==ln[nn]&&(ln[cn]=ln[nn],cn++);ln.length=cn}switch(ln.length){case 1:return ln[0];case 2:return ln[0]+" or "+ln[1];default:return ln.slice(0,-1).join(", ")+", or "+ln[ln.length-1]}}function bn(Pr){return Pr?'"'+Dr(Pr)+'"':"end of input"}return"Expected "+Nr(Ee)+" but "+bn(it)+" found."},et}(Error);function ue(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="#",Nr=fi("#",!1),bn=function(){return oe({type:y.pound},ga())},Pr=xa("argumentElement"),ln="{",nn=fi("{",!1),cn="}",An=fi("}",!1),pa=function(ye){return oe({type:y.argument,value:ye},ga())},Pi=xa("numberSkeletonId"),bi=/^['\/{}]/,_n=Vs(["'","/","{","}"],!1,!1),li=xo(),$i=xa("numberSkeletonTokenOption"),la="/",xs=fi("/",!1),Pa=function(ye){return ye},Na=xa("numberSkeletonToken"),Is=function(ye,we){return{stem:ye,options:we}},$a=function(ye){return oe({type:0,tokens:ye},ga())},hs="::",oa=fi("::",!1),xi=function(ye){return ye},Ga=function(){return da.push("numberArgStyle"),!0},Ds=function(ye){return da.pop(),ye.replace(/\s*$/,"")},ji=",",ps=fi(",",!1),Co="number",La=fi("number",!1),_s=function(ye,we,yr){return oe({type:we==="number"?y.number:we==="date"?y.date:y.time,style:yr&&yr[2],value:ye},ga())},Ui="'",Gs=fi("'",!1),Ln=/^[^']/,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=fi("date",!1),To="time",Vo=fi("time",!1),uo="plural",ca=fi("plural",!1),cs="selectordinal",mo=fi("selectordinal",!1),vo="offset:",go=fi("offset:",!1),pi=function(ye,we,yr,en){return oe({type:y.plural,pluralType:we==="plural"?"cardinal":"ordinal",value:ye,offset:yr?yr[2]:0,options:en.reduce(function(br,qr){var Cn=qr.id,ti=qr.value,Bi=qr.location;return Cn in br&&Ss('Duplicate option "'+Cn+'" in plural element: "'+ba()+'"',Ur()),br[Cn]={value:ti,location:Bi},br},{})},ga())},oi="select",Fa=fi("select",!1),Va=function(ye,we){return oe({type:y.select,value:ye,options:we.reduce(function(yr,en){var br=en.id,qr=en.value,Cn=en.location;return br in yr&&Ss('Duplicate option "'+br+'" in select element: "'+ba()+'"',Ur()),yr[br]={value:qr,location:Cn},yr},{})},ga())},Xa="=",lo=fi("=",!1),co=function(ye){return da.push("select"),!0},Po=function(ye,we){return da.pop(),oe({id:ye,value:we},ga())},Qa=function(ye){return da.push("plural"),!0},Lo=function(ye,we){return da.pop(),oe({id:ye,value:we},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=fi("-",!1),ou=function(ye,we){return we?ye?-we:we:0},jo=xa("apostrophe"),Do=xa("double apostrophes"),Ls="''",bo=fi("''",!1),mu=function(){return"'"},Fo=function(ye,we){return ye+we.replace("''","'")},Xt=function(ye){return ye!=="{"&&!(As()&&ye==="#")&&!(Ua()&&ye==="}")},fr=`
|
|
|
`,sr=fi(`
|
|
|
`,!1),vr=function(ye){return ye==="{"||ye==="}"||As()&&ye==="#"},wr=xa("argNameOrNumber"),xn=xa("argNumber"),Sn="0",Un=fi("0",!1),Mn=function(){return 0},Gn=/^[1-9]/,ur=Vs([["1","9"]],!1,!1),Mr=/^[0-9]/,xr=Vs([["0","9"]],!1,!1),vn=function(ye){return parseInt(ye.join(""),10)},Hn=xa("argName"),ct=0,In=0,Vn=[{line:1,column:1}],ci=0,Qi=[],Br=0,Mi;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(In,ct)}function Ur(){return ks(In,ct)}function na(ye,we){throw we=we!==void 0?we:ks(In,ct),Ns([xa(ye)],Ze.substring(In,ct),we)}function Ss(ye,we){throw we=we!==void 0?we:ks(In,ct),gs(ye,we)}function fi(ye,we){return{type:"literal",text:ye,ignoreCase:we}}function Vs(ye,we,yr){return{type:"class",parts:ye,inverted:we,ignoreCase:yr}}function xo(){return{type:"any"}}function Os(){return{type:"end"}}function xa(ye){return{type:"other",description:ye}}function ds(ye){var we=Vn[ye],yr;if(we)return we;for(yr=ye-1;!Vn[yr];)yr--;for(we=Vn[yr],we={line:we.line,column:we.column};yr<ye;)Ze.charCodeAt(yr)===10?(we.line++,we.column=1):we.column++,yr++;return Vn[ye]=we,we}function ks(ye,we){var yr=ds(ye),en=ds(we);return{start:{offset:ye,line:yr.line,column:yr.column},end:{offset:we,line:en.line,column:en.column}}}function Dn(ye){ct<ci||(ct>ci&&(ci=ct,Qi=[]),Qi.push(ye))}function gs(ye,we){return new ie(ye,[],"",we)}function Ns(ye,we,yr){return new ie(ie.buildMessage(ye,we),ye,we,yr)}function Ye(){var ye;return ye=Qe(),ye}function Qe(){var ye,we;for(ye=[],we=Lt();we!==Ee;)ye.push(we),we=Lt();return ye}function Lt(){var ye;return ye=pr(),ye===Ee&&(ye=$r(),ye===Ee&&(ye=Ci(),ye===Ee&&(ye=Ei(),ye===Ee&&(ye=fa(),ye===Ee&&(ye=Rr()))))),ye}function Kt(){var ye,we,yr;if(ye=ct,we=[],yr=Ka(),yr===Ee&&(yr=eo(),yr===Ee&&(yr=qa())),yr!==Ee)for(;yr!==Ee;)we.push(yr),yr=Ka(),yr===Ee&&(yr=eo(),yr===Ee&&(yr=qa()));else we=Ee;return we!==Ee&&(In=ye,we=Dr(we)),ye=we,ye}function pr(){var ye,we;return ye=ct,we=Kt(),we!==Ee&&(In=ye,we=Er(we)),ye=we,ye}function Rr(){var ye,we;return ye=ct,Ze.charCodeAt(ct)===35?(we=Or,ct++):(we=Ee,Br===0&&Dn(Nr)),we!==Ee&&(In=ye,we=bn()),ye=we,ye}function $r(){var ye,we,yr,en,br,qr;return Br++,ye=ct,Ze.charCodeAt(ct)===123?(we=ln,ct++):(we=Ee,Br===0&&Dn(nn)),we!==Ee?(yr=ki(),yr!==Ee?(en=Ya(),en!==Ee?(br=ki(),br!==Ee?(Ze.charCodeAt(ct)===125?(qr=cn,ct++):(qr=Ee,Br===0&&Dn(An)),qr!==Ee?(In=ye,we=pa(en),ye=we):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee),Br--,ye===Ee&&(we=Ee,Br===0&&Dn(Pr)),ye}function gn(){var ye,we,yr,en,br;if(Br++,ye=ct,we=[],yr=ct,en=ct,Br++,br=ka(),br===Ee&&(bi.test(Ze.charAt(ct))?(br=Ze.charAt(ct),ct++):(br=Ee,Br===0&&Dn(_n))),Br--,br===Ee?en=void 0:(ct=en,en=Ee),en!==Ee?(Ze.length>ct?(br=Ze.charAt(ct),ct++):(br=Ee,Br===0&&Dn(li)),br!==Ee?(en=[en,br],yr=en):(ct=yr,yr=Ee)):(ct=yr,yr=Ee),yr!==Ee)for(;yr!==Ee;)we.push(yr),yr=ct,en=ct,Br++,br=ka(),br===Ee&&(bi.test(Ze.charAt(ct))?(br=Ze.charAt(ct),ct++):(br=Ee,Br===0&&Dn(_n))),Br--,br===Ee?en=void 0:(ct=en,en=Ee),en!==Ee?(Ze.length>ct?(br=Ze.charAt(ct),ct++):(br=Ee,Br===0&&Dn(li)),br!==Ee?(en=[en,br],yr=en):(ct=yr,yr=Ee)):(ct=yr,yr=Ee);else we=Ee;return we!==Ee?ye=Ze.substring(ye,ct):ye=we,Br--,ye===Ee&&(we=Ee,Br===0&&Dn(Pi)),ye}function an(){var ye,we,yr;return Br++,ye=ct,Ze.charCodeAt(ct)===47?(we=la,ct++):(we=Ee,Br===0&&Dn(xs)),we!==Ee?(yr=gn(),yr!==Ee?(In=ye,we=Pa(yr),ye=we):(ct=ye,ye=Ee)):(ct=ye,ye=Ee),Br--,ye===Ee&&(we=Ee,Br===0&&Dn($i)),ye}function yn(){var ye,we,yr,en,br;if(Br++,ye=ct,we=ki(),we!==Ee)if(yr=gn(),yr!==Ee){for(en=[],br=an();br!==Ee;)en.push(br),br=an();en!==Ee?(In=ye,we=Is(yr,en),ye=we):(ct=ye,ye=Ee)}else ct=ye,ye=Ee;else ct=ye,ye=Ee;return Br--,ye===Ee&&(we=Ee,Br===0&&Dn(Na)),ye}function Qn(){var ye,we,yr;if(ye=ct,we=[],yr=yn(),yr!==Ee)for(;yr!==Ee;)we.push(yr),yr=yn();else we=Ee;return we!==Ee&&(In=ye,we=$a(we)),ye=we,ye}function ri(){var ye,we,yr;return ye=ct,Ze.substr(ct,2)===hs?(we=hs,ct+=2):(we=Ee,Br===0&&Dn(oa)),we!==Ee?(yr=Qn(),yr!==Ee?(In=ye,we=xi(yr),ye=we):(ct=ye,ye=Ee)):(ct=ye,ye=Ee),ye===Ee&&(ye=ct,In=ct,we=Ga(),we?we=void 0:we=Ee,we!==Ee?(yr=Kt(),yr!==Ee?(In=ye,we=Ds(yr),ye=we):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)),ye}function vi(){var ye,we,yr,en,br,qr,Cn,ti,Bi,Fn,On,Bn,ia;return ye=ct,Ze.charCodeAt(ct)===123?(we=ln,ct++):(we=Ee,Br===0&&Dn(nn)),we!==Ee?(yr=ki(),yr!==Ee?(en=Ya(),en!==Ee?(br=ki(),br!==Ee?(Ze.charCodeAt(ct)===44?(qr=ji,ct++):(qr=Ee,Br===0&&Dn(ps)),qr!==Ee?(Cn=ki(),Cn!==Ee?(Ze.substr(ct,6)===Co?(ti=Co,ct+=6):(ti=Ee,Br===0&&Dn(La)),ti!==Ee?(Bi=ki(),Bi!==Ee?(Fn=ct,Ze.charCodeAt(ct)===44?(On=ji,ct++):(On=Ee,Br===0&&Dn(ps)),On!==Ee?(Bn=ki(),Bn!==Ee?(ia=ri(),ia!==Ee?(On=[On,Bn,ia],Fn=On):(ct=Fn,Fn=Ee)):(ct=Fn,Fn=Ee)):(ct=Fn,Fn=Ee),Fn===Ee&&(Fn=null),Fn!==Ee?(On=ki(),On!==Ee?(Ze.charCodeAt(ct)===125?(Bn=cn,ct++):(Bn=Ee,Br===0&&Dn(An)),Bn!==Ee?(In=ye,we=_s(en,ti,Fn),ye=we):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee),ye}function Ii(){var ye,we,yr,en;if(ye=ct,Ze.charCodeAt(ct)===39?(we=Ui,ct++):(we=Ee,Br===0&&Dn(Gs)),we!==Ee){if(yr=[],en=Ka(),en===Ee&&(Ln.test(Ze.charAt(ct))?(en=Ze.charAt(ct),ct++):(en=Ee,Br===0&&Dn(ja))),en!==Ee)for(;en!==Ee;)yr.push(en),en=Ka(),en===Ee&&(Ln.test(Ze.charAt(ct))?(en=Ze.charAt(ct),ct++):(en=Ee,Br===0&&Dn(ja)));else yr=Ee;yr!==Ee?(Ze.charCodeAt(ct)===39?(en=Ui,ct++):(en=Ee,Br===0&&Dn(Gs)),en!==Ee?(we=[we,yr,en],ye=we):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)}else ct=ye,ye=Ee;if(ye===Ee)if(ye=[],we=Ka(),we===Ee&&(ns.test(Ze.charAt(ct))?(we=Ze.charAt(ct),ct++):(we=Ee,Br===0&&Dn(ls))),we!==Ee)for(;we!==Ee;)ye.push(we),we=Ka(),we===Ee&&(ns.test(Ze.charAt(ct))?(we=Ze.charAt(ct),ct++):(we=Ee,Br===0&&Dn(ls)));else ye=Ee;return ye}function Hi(){var ye,we;if(ye=[],Vi.test(Ze.charAt(ct))?(we=Ze.charAt(ct),ct++):(we=Ee,Br===0&&Dn(Ia)),we!==Ee)for(;we!==Ee;)ye.push(we),Vi.test(Ze.charAt(ct))?(we=Ze.charAt(ct),ct++):(we=Ee,Br===0&&Dn(Ia));else ye=Ee;return ye}function Fi(){var ye,we,yr,en;if(ye=ct,we=ct,yr=[],en=Ii(),en===Ee&&(en=Hi()),en!==Ee)for(;en!==Ee;)yr.push(en),en=Ii(),en===Ee&&(en=Hi());else yr=Ee;return yr!==Ee?we=Ze.substring(we,ct):we=yr,we!==Ee&&(In=ye,we=Da(we)),ye=we,ye}function Si(){var ye,we,yr;return ye=ct,Ze.substr(ct,2)===hs?(we=hs,ct+=2):(we=Ee,Br===0&&Dn(oa)),we!==Ee?(yr=Fi(),yr!==Ee?(In=ye,we=xi(yr),ye=we):(ct=ye,ye=Ee)):(ct=ye,ye=Ee),ye===Ee&&(ye=ct,In=ct,we=ms(),we?we=void 0:we=Ee,we!==Ee?(yr=Kt(),yr!==Ee?(In=ye,we=Ds(yr),ye=we):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)),ye}function ma(){var ye,we,yr,en,br,qr,Cn,ti,Bi,Fn,On,Bn,ia;return ye=ct,Ze.charCodeAt(ct)===123?(we=ln,ct++):(we=Ee,Br===0&&Dn(nn)),we!==Ee?(yr=ki(),yr!==Ee?(en=Ya(),en!==Ee?(br=ki(),br!==Ee?(Ze.charCodeAt(ct)===44?(qr=ji,ct++):(qr=Ee,Br===0&&Dn(ps)),qr!==Ee?(Cn=ki(),Cn!==Ee?(Ze.substr(ct,4)===Bs?(ti=Bs,ct+=4):(ti=Ee,Br===0&&Dn(_o)),ti===Ee&&(Ze.substr(ct,4)===To?(ti=To,ct+=4):(ti=Ee,Br===0&&Dn(Vo))),ti!==Ee?(Bi=ki(),Bi!==Ee?(Fn=ct,Ze.charCodeAt(ct)===44?(On=ji,ct++):(On=Ee,Br===0&&Dn(ps)),On!==Ee?(Bn=ki(),Bn!==Ee?(ia=Si(),ia!==Ee?(On=[On,Bn,ia],Fn=On):(ct=Fn,Fn=Ee)):(ct=Fn,Fn=Ee)):(ct=Fn,Fn=Ee),Fn===Ee&&(Fn=null),Fn!==Ee?(On=ki(),On!==Ee?(Ze.charCodeAt(ct)===125?(Bn=cn,ct++):(Bn=Ee,Br===0&&Dn(An)),Bn!==Ee?(In=ye,we=_s(en,ti,Fn),ye=we):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee),ye}function Ci(){var ye;return ye=vi(),ye===Ee&&(ye=ma()),ye}function Ei(){var ye,we,yr,en,br,qr,Cn,ti,Bi,Fn,On,Bn,ia,zi,ho,Xs;if(ye=ct,Ze.charCodeAt(ct)===123?(we=ln,ct++):(we=Ee,Br===0&&Dn(nn)),we!==Ee)if(yr=ki(),yr!==Ee)if(en=Ya(),en!==Ee)if(br=ki(),br!==Ee)if(Ze.charCodeAt(ct)===44?(qr=ji,ct++):(qr=Ee,Br===0&&Dn(ps)),qr!==Ee)if(Cn=ki(),Cn!==Ee)if(Ze.substr(ct,6)===uo?(ti=uo,ct+=6):(ti=Ee,Br===0&&Dn(ca)),ti===Ee&&(Ze.substr(ct,13)===cs?(ti=cs,ct+=13):(ti=Ee,Br===0&&Dn(mo))),ti!==Ee)if(Bi=ki(),Bi!==Ee)if(Ze.charCodeAt(ct)===44?(Fn=ji,ct++):(Fn=Ee,Br===0&&Dn(ps)),Fn!==Ee)if(On=ki(),On!==Ee)if(Bn=ct,Ze.substr(ct,7)===vo?(ia=vo,ct+=7):(ia=Ee,Br===0&&Dn(go)),ia!==Ee?(zi=ki(),zi!==Ee?(ho=va(),ho!==Ee?(ia=[ia,zi,ho],Bn=ia):(ct=Bn,Bn=Ee)):(ct=Bn,Bn=Ee)):(ct=Bn,Bn=Ee),Bn===Ee&&(Bn=null),Bn!==Ee)if(ia=ki(),ia!==Ee){if(zi=[],ho=Wi(),ho!==Ee)for(;ho!==Ee;)zi.push(ho),ho=Wi();else zi=Ee;zi!==Ee?(ho=ki(),ho!==Ee?(Ze.charCodeAt(ct)===125?(Xs=cn,ct++):(Xs=Ee,Br===0&&Dn(An)),Xs!==Ee?(In=ye,we=pi(en,ti,Bn,zi),ye=we):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)}else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;return ye}function fa(){var ye,we,yr,en,br,qr,Cn,ti,Bi,Fn,On,Bn,ia,zi;if(ye=ct,Ze.charCodeAt(ct)===123?(we=ln,ct++):(we=Ee,Br===0&&Dn(nn)),we!==Ee)if(yr=ki(),yr!==Ee)if(en=Ya(),en!==Ee)if(br=ki(),br!==Ee)if(Ze.charCodeAt(ct)===44?(qr=ji,ct++):(qr=Ee,Br===0&&Dn(ps)),qr!==Ee)if(Cn=ki(),Cn!==Ee)if(Ze.substr(ct,6)===oi?(ti=oi,ct+=6):(ti=Ee,Br===0&&Dn(Fa)),ti!==Ee)if(Bi=ki(),Bi!==Ee)if(Ze.charCodeAt(ct)===44?(Fn=ji,ct++):(Fn=Ee,Br===0&&Dn(ps)),Fn!==Ee)if(On=ki(),On!==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(ct)===125?(zi=cn,ct++):(zi=Ee,Br===0&&Dn(An)),zi!==Ee?(In=ye,we=Va(en,Bn),ye=we):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)}else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;else ct=ye,ye=Ee;return ye}function Ks(){var ye,we,yr,en;return ye=ct,we=ct,Ze.charCodeAt(ct)===61?(yr=Xa,ct++):(yr=Ee,Br===0&&Dn(lo)),yr!==Ee?(en=va(),en!==Ee?(yr=[yr,en],we=yr):(ct=we,we=Ee)):(ct=we,we=Ee),we!==Ee?ye=Ze.substring(ye,ct):ye=we,ye===Ee&&(ye=Ms()),ye}function Es(){var ye,we,yr,en,br,qr,Cn,ti;return ye=ct,we=ki(),we!==Ee?(yr=Ms(),yr!==Ee?(en=ki(),en!==Ee?(Ze.charCodeAt(ct)===123?(br=ln,ct++):(br=Ee,Br===0&&Dn(nn)),br!==Ee?(In=ct,qr=co(yr),qr?qr=void 0:qr=Ee,qr!==Ee?(Cn=Qe(),Cn!==Ee?(Ze.charCodeAt(ct)===125?(ti=cn,ct++):(ti=Ee,Br===0&&Dn(An)),ti!==Ee?(In=ye,we=Po(yr,Cn),ye=we):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee),ye}function Wi(){var ye,we,yr,en,br,qr,Cn,ti;return ye=ct,we=ki(),we!==Ee?(yr=Ks(),yr!==Ee?(en=ki(),en!==Ee?(Ze.charCodeAt(ct)===123?(br=ln,ct++):(br=Ee,Br===0&&Dn(nn)),br!==Ee?(In=ct,qr=Qa(yr),qr?qr=void 0:qr=Ee,qr!==Ee?(Cn=Qe(),Cn!==Ee?(Ze.charCodeAt(ct)===125?(ti=cn,ct++):(ti=Ee,Br===0&&Dn(An)),ti!==Ee?(In=ye,we=Lo(yr,Cn),ye=we):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)):(ct=ye,ye=Ee),ye}function ka(){var ye,we;return Br++,Ko.test(Ze.charAt(ct))?(ye=Ze.charAt(ct),ct++):(ye=Ee,Br===0&&Dn(Tu)),Br--,ye===Ee&&(we=Ee,Br===0&&Dn(yo)),ye}function ea(){var ye,we;return Br++,fo.test(Ze.charAt(ct))?(ye=Ze.charAt(ct),ct++):(ye=Ee,Br===0&&Dn(fs)),Br--,ye===Ee&&(we=Ee,Br===0&&Dn(_u)),ye}function ki(){var ye,we,yr;for(Br++,ye=ct,we=[],yr=ka();yr!==Ee;)we.push(yr),yr=ka();return we!==Ee?ye=Ze.substring(ye,ct):ye=we,Br--,ye===Ee&&(we=Ee,Br===0&&Dn(zu)),ye}function va(){var ye,we,yr;return Br++,ye=ct,Ze.charCodeAt(ct)===45?(we=Io,ct++):(we=Ee,Br===0&&Dn(Us)),we===Ee&&(we=null),we!==Ee?(yr=Ys(),yr!==Ee?(In=ye,we=ou(we,yr),ye=we):(ct=ye,ye=Ee)):(ct=ye,ye=Ee),Br--,ye===Ee&&(we=Ee,Br===0&&Dn(Mo)),ye}function Ba(){var ye,we;return Br++,Ze.charCodeAt(ct)===39?(ye=Ui,ct++):(ye=Ee,Br===0&&Dn(Gs)),Br--,ye===Ee&&(we=Ee,Br===0&&Dn(jo)),ye}function Ka(){var ye,we;return Br++,ye=ct,Ze.substr(ct,2)===Ls?(we=Ls,ct+=2):(we=Ee,Br===0&&Dn(bo)),we!==Ee&&(In=ye,we=mu()),ye=we,Br--,ye===Ee&&(we=Ee,Br===0&&Dn(Do)),ye}function eo(){var ye,we,yr,en,br,qr;if(ye=ct,Ze.charCodeAt(ct)===39?(we=Ui,ct++):(we=Ee,Br===0&&Dn(Gs)),we!==Ee)if(yr=so(),yr!==Ee){for(en=ct,br=[],Ze.substr(ct,2)===Ls?(qr=Ls,ct+=2):(qr=Ee,Br===0&&Dn(bo)),qr===Ee&&(Ln.test(Ze.charAt(ct))?(qr=Ze.charAt(ct),ct++):(qr=Ee,Br===0&&Dn(ja)));qr!==Ee;)br.push(qr),Ze.substr(ct,2)===Ls?(qr=Ls,ct+=2):(qr=Ee,Br===0&&Dn(bo)),qr===Ee&&(Ln.test(Ze.charAt(ct))?(qr=Ze.charAt(ct),ct++):(qr=Ee,Br===0&&Dn(ja)));br!==Ee?en=Ze.substring(en,ct):en=br,en!==Ee?(Ze.charCodeAt(ct)===39?(br=Ui,ct++):(br=Ee,Br===0&&Dn(Gs)),br===Ee&&(br=null),br!==Ee?(In=ye,we=Fo(yr,en),ye=we):(ct=ye,ye=Ee)):(ct=ye,ye=Ee)}else ct=ye,ye=Ee;else ct=ye,ye=Ee;return ye}function qa(){var ye,we,yr,en;return ye=ct,we=ct,Ze.length>ct?(yr=Ze.charAt(ct),ct++):(yr=Ee,Br===0&&Dn(li)),yr!==Ee?(In=ct,en=Xt(yr),en?en=void 0:en=Ee,en!==Ee?(yr=[yr,en],we=yr):(ct=we,we=Ee)):(ct=we,we=Ee),we===Ee&&(Ze.charCodeAt(ct)===10?(we=fr,ct++):(we=Ee,Br===0&&Dn(sr))),we!==Ee?ye=Ze.substring(ye,ct):ye=we,ye}function so(){var ye,we,yr,en;return ye=ct,we=ct,Ze.length>ct?(yr=Ze.charAt(ct),ct++):(yr=Ee,Br===0&&Dn(li)),yr!==Ee?(In=ct,en=vr(yr),en?en=void 0:en=Ee,en!==Ee?(yr=[yr,en],we=yr):(ct=we,we=Ee)):(ct=we,we=Ee),we!==Ee?ye=Ze.substring(ye,ct):ye=we,ye}function Ya(){var ye,we;return Br++,ye=ct,we=Ys(),we===Ee&&(we=Ms()),we!==Ee?ye=Ze.substring(ye,ct):ye=we,Br--,ye===Ee&&(we=Ee,Br===0&&Dn(wr)),ye}function Ys(){var ye,we,yr,en,br;if(Br++,ye=ct,Ze.charCodeAt(ct)===48?(we=Sn,ct++):(we=Ee,Br===0&&Dn(Un)),we!==Ee&&(In=ye,we=Mn()),ye=we,ye===Ee){if(ye=ct,we=ct,Gn.test(Ze.charAt(ct))?(yr=Ze.charAt(ct),ct++):(yr=Ee,Br===0&&Dn(ur)),yr!==Ee){for(en=[],Mr.test(Ze.charAt(ct))?(br=Ze.charAt(ct),ct++):(br=Ee,Br===0&&Dn(xr));br!==Ee;)en.push(br),Mr.test(Ze.charAt(ct))?(br=Ze.charAt(ct),ct++):(br=Ee,Br===0&&Dn(xr));en!==Ee?(yr=[yr,en],we=yr):(ct=we,we=Ee)}else ct=we,we=Ee;we!==Ee&&(In=ye,we=vn(we)),ye=we}return Br--,ye===Ee&&(we=Ee,Br===0&&Dn(xn)),ye}function Ms(){var ye,we,yr,en,br;if(Br++,ye=ct,we=[],yr=ct,en=ct,Br++,br=ka(),br===Ee&&(br=ea()),Br--,br===Ee?en=void 0:(ct=en,en=Ee),en!==Ee?(Ze.length>ct?(br=Ze.charAt(ct),ct++):(br=Ee,Br===0&&Dn(li)),br!==Ee?(en=[en,br],yr=en):(ct=yr,yr=Ee)):(ct=yr,yr=Ee),yr!==Ee)for(;yr!==Ee;)we.push(yr),yr=ct,en=ct,Br++,br=ka(),br===Ee&&(br=ea()),Br--,br===Ee?en=void 0:(ct=en,en=Ee),en!==Ee?(Ze.length>ct?(br=Ze.charAt(ct),ct++):(br=Ee,Br===0&&Dn(li)),br!==Ee?(en=[en,br],yr=en):(ct=yr,yr=Ee)):(ct=yr,yr=Ee);else we=Ee;return we!==Ee?ye=Ze.substring(ye,ct):ye=we,Br--,ye===Ee&&(we=Ee,Br===0&&Dn(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:Ur()}:{}}if(Mi=ir(),Mi!==Ee&&ct===Ze.length)return Mi;throw Mi!==Ee&&ct<Ze.length&&Dn(Os()),Ns(Qi,ci<Ze.length?Ze.charAt(ci):null,ci<Ze.length?ks(ci,ci+1):ks(ci,ci))}var K=ue,V=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},G=/(^|[^\\])#/g;function te(Ze){Ze.forEach(function(et){!D(et)&&!T(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 Nr=ir.value[Or];if(_(Nr)&&G.test(Nr.value)){Dr=Or,Er=Nr;break}}if(Er){var bn=Er.value.replace(G,"$1{"+et.value+", number}"),Pr=K(bn);(it=ir.value).splice.apply(it,V([Dr,1],Pr))}te(ir.value)})})}function q(Ze,et){var Ee=K(Ze,et);return(!et||et.normalizeHashtagInPlural!==!1)&&te(Ee),Ee}var 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};function le(Ze){return JSON.stringify(Ze.map(function(et){return et&&typeof et=="object"?z(et):et}))}function z(Ze){return Object.keys(Ze).sort().map(function(et){var Ee;return Ee={},Ee[et]=Ze[et],Ee})}var F=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=le(it),Er=Dr&&et[Dr];return Er||(Er=new((Ee=Ze).bind.apply(Ee,J([void 0],it))),Dr&&(et[Dr]=Er)),Er}},se=F,_e=function(){return _e=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},_e.apply(this,arguments)},Pe=/(?:[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 Re(Ze){var et={};return Ze.replace(Pe,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 He(Ze){return Ze.replace(/^(.*?)-/,"")}var je=/^\.(?:(0+)(\+|#+)?)?$/g,Zt=/^(@+)?(\+|#+)?$/g;function yt(Ze){var et={};return Ze.replace(Zt,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 Dt(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=Dt(Ze);return Ee||et}function Jt(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=He(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=_e(_e(_e({},et),{notation:"scientific"}),ir.options.reduce(function(Er,Or){return _e(_e({},Er),Qt(Or))},{}));continue;case"engineering":et=_e(_e(_e({},et),{notation:"engineering"}),ir.options.reduce(function(Er,Or){return _e(_e({},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(je.test(ir.stem)){if(ir.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");ir.stem.replace(je,function(Er,Or,Nr){return Er==="."?et.maximumFractionDigits=0:Nr==="+"?et.minimumFractionDigits=Nr.length:Or[0]==="#"?et.maximumFractionDigits=Or.length:(et.minimumFractionDigits=Or.length,et.maximumFractionDigits=Or.length+(typeof Nr=="string"?Nr.length:0)),""}),ir.options.length&&(et=_e(_e({},et),yt(ir.options[0])));continue}if(Zt.test(ir.stem)){et=_e(_e({},et),yt(ir.stem));continue}var Dr=Dt(ir.stem);Dr&&(et=_e(_e({},et),Dr))}return et}var qt=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},Tt=function(Ze){qt(et,Ze);function et(Ee,it){var ir=Ze.call(this,Ee)||this;return ir.variableId=it,ir}return et}(Error);function jt(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=[],Nr=0,bn=Ze;Nr<bn.length;Nr++){var Pr=bn[Nr];if(_(Pr)){Or.push({type:0,value:Pr.value});continue}if(M(Pr)){typeof Dr=="number"&&Or.push({type:0,value:Ee.getNumberFormat(et).format(Dr)});continue}var ln=Pr.value;if(!(ir&&ln in ir))throw new Tt('The intl string context variable "'+ln+'" was not provided to the string "'+Er+'"');var nn=ir[ln];if(b(Pr)){(!nn||typeof nn=="string"||typeof nn=="number")&&(nn=typeof nn=="string"||typeof nn=="number"?String(nn):""),Or.push({type:1,value:nn});continue}if(R(Pr)){var cn=typeof Pr.style=="string"?it.date[Pr.style]:void 0;Or.push({type:0,value:Ee.getDateTimeFormat(et,cn).format(nn)});continue}if(L(Pr)){var cn=typeof Pr.style=="string"?it.time[Pr.style]:j(Pr.style)?Re(Pr.style.pattern):void 0;Or.push({type:0,value:Ee.getDateTimeFormat(et,cn).format(nn)});continue}if(S(Pr)){var cn=typeof Pr.style=="string"?it.number[Pr.style]:N(Pr.style)?Jt(Pr.style.tokens):void 0;Or.push({type:0,value:Ee.getNumberFormat(et,cn).format(nn)});continue}if(T(Pr)){var An=Pr.options[nn]||Pr.options.other;if(!An)throw new RangeError('Invalid values for "'+Pr.value+'": "'+nn+'". 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["="+nn];if(!An){if(!Intl.PluralRules)throw new Tt(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`);var pa=Ee.getPluralRules(et,{type:Pr.pluralType}).select(nn-(Pr.offset||0));An=Pr.options[pa]||Pr.options.other}if(!An)throw new RangeError('Invalid values for "'+Pr.value+'": "'+nn+'". Options are "'+Object.keys(Pr.options).join('", "')+'"');Or.push.apply(Or,st(An.value,et,Ee,it,ir,nn-(Pr.offset||0)));continue}}return jt(Or)}function gt(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,Nr){return Or+=Nr.value},"")}var dt,Je="@@",Ue=/@@(\d+_\d+)@@/g,ge=0;function Se(){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-_]*?\/>)/,We=Date.now()+"@@",nt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function lt(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),Nr=Ee[it];if(Nr&&Or)throw new Tt(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,ln){return Pr.concat(lt(ln,et,Ee))},[]);return Nr?typeof Nr=="function"?[Nr.apply(void 0,bn)]:[Nr]:Xe(["<"+it+">"],bn,["</"+it+">"])}function Vt(Ze,et,Ee,it,ir,Dr){var Er=st(Ze,et,Ee,it,ir,void 0,Dr),Or={},Nr=Er.reduce(function(nn,cn){if(cn.type===0)return nn+=cn.value;var An=Se();return Or[An]=cn.value,nn+=""+Je+An+Je},"");if(!$e.test(Nr))return Me(Nr,Or);if(!ir)throw new Tt("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new Tt("Cannot format XML message without DOMParser");dt||(dt=new DOMParser);var bn=dt.parseFromString('<formatted-message id="'+We+'">'+Nr+"</formatted-message>","text/html").getElementById(We);if(!bn)throw new Tt("Malformed HTML message "+Nr);var Pr=Object.keys(ir).filter(function(nn){return!!bn.getElementsByTagName(nn).length});if(!Pr.length)return Me(Nr,Or);var ln=Pr.filter(function(nn){return nn!==nn.toLowerCase()});if(ln.length)throw new Tt("HTML tag must be lowercased but the following tags are not: "+ln.join(", "));return Array.prototype.slice.call(bn.childNodes).reduce(function(nn,cn){return nn.concat(lt(cn,Or,ir))},[])}var Ht=function(){return Ht=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},Ht.apply(this,arguments)};function Ie(Ze,et){return et?Ht(Ht(Ht({},Ze||{}),et||{}),Object.keys(Ze).reduce(function(Ee,it){return Ee[it]=Ht(Ht({},Ze[it]),et[it]||{}),Ee},{})):Ze}function qe(Ze,et){return et?Object.keys(Ze).reduce(function(Ee,it){return Ee[it]=Ie(Ze[it],et[it]),Ee},Ht({},Ze)):Ze}function Gt(Ze){return Ze===void 0&&(Ze={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:se(Intl.NumberFormat,Ze.number),getDateTimeFormat:se(Intl.DateTimeFormat,Ze.dateTime),getPluralRules:se(Intl.PluralRules,Ze.pluralRules)}}var Ot=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 gt(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=q,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}(),zt=Ot,$t=zt;function tr(Ze,et,Ee){if(Ee===void 0&&(Ee=Error),!Ze)throw new Ee(et)}const Wt={38:"&",62:">",60:"<",34:""",39:"'"},Fe=/[&><"']/g;function fe(Ze){return(""+Ze).replace(Fe,et=>Wt[et.charCodeAt(0)])}function pe(Ze,et,Ee={}){return et.reduce((it,ir)=>(ir in Ze?it[ir]=Ze[ir]:ir in Ee&&(it[ir]=Ee[ir]),it),{})}function Pt(Ze){tr(Ze,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Ce(Ze,et){const Ee=et?`
|
|
|
${et.stack}`:"";return`[React Intl] ${Ze}${Ee}`}function ft(Ze){}const Ut={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:ft};function At(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Oe(Ze=At()){const et=Intl.RelativeTimeFormat,Ee=Intl.ListFormat,it=Intl.DisplayNames;return{getDateTimeFormat:se(Intl.DateTimeFormat,Ze.dateTime),getNumberFormat:se(Intl.NumberFormat,Ze.number),getMessageFormat:se($t,Ze.message),getRelativeTimeFormat:se(et,Ze.relativeTime),getPluralRules:se(Intl.PluralRules,Ze.pluralRules),getListFormat:se(Ee,Ze.list),getDisplayNames:se(it,Ze.displayNames)}}function wt(Ze,et,Ee,it){const ir=Ze&&Ze[et];let Dr;if(ir&&(Dr=ir[Ee]),Dr)return Dr;it(Ce(`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&&wt(et,"number",Dr,Ee)||{},Or=pe(ir,be,Er);return it(Ze,Or)}function mt(Ze,et,Ee,it={}){try{return Ke(Ze,et,it).format(Ee)}catch(ir){Ze.onError(Ce("Error formatting number.",ir))}return String(Ee)}function kt(Ze,et,Ee,it={}){try{return Ke(Ze,et,it).formatToParts(Ee)}catch(ir){Ze.onError(Ce("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&&wt(et,"relative",Dr,Ee)||{},Or=pe(ir,Be,Er);return it(Ze,Or)}function St(Ze,et,Ee,it,ir={}){it||(it="second"),Intl.RelativeTimeFormat||Ze.onError(Ce(`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(Ce("Error formatting relative time.",Er))}return String(Ee)}const Vr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function Jr({locale:Ze,formats:et,onError:Ee,timeZone:it},ir,Dr,Er={}){const{format:Or}=Er,Nr=Object.assign(Object.assign({},it&&{timeZone:it}),Or&&wt(et,ir,Or,Ee));let bn=pe(Er,Vr,Nr);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 Jr(Ze,"date",et,it).format(ir)}catch(Dr){Ze.onError(Ce("Error formatting date.",Dr))}return String(ir)}function Fr(Ze,et,Ee,it={}){const ir=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Jr(Ze,"time",et,it).format(ir)}catch(Dr){Ze.onError(Ce("Error formatting time.",Dr))}return String(ir)}function mr(Ze,et,Ee,it={}){const ir=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Jr(Ze,"date",et,it).formatToParts(ir)}catch(Dr){Ze.onError(Ce("Error formatting date.",Dr))}return[]}function jr(Ze,et,Ee,it={}){const ir=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Jr(Ze,"time",et,it).formatToParts(ir)}catch(Dr){Ze.onError(Ce("Error formatting time.",Dr))}return[]}const on=["localeMatcher","type"];function fn({locale:Ze,onError:et},Ee,it,ir={}){Intl.PluralRules||et(Ce(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`));const Dr=pe(ir,on);try{return Ee(Ze,Dr).select(it)}catch(Er){et(Ce("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 Rt(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 _t(Ze,et){if(!et)return Ze;const Ee=$t.formats;return Object.assign(Object.assign(Object.assign({},Ee),Ze),{date:Rt(or(Ee.date,et),or(Ze.date||{},et)),time:Rt(or(Ee.time,et),or(Ze.time||{},et))})}const vt=Ze=>r.createElement(r.Fragment,null,...Ze);function Bt({locale:Ze,formats:et,messages:Ee,defaultLocale:it,defaultFormats:ir,onError:Dr,timeZone:Er},Or,Nr={id:""},bn={}){const{id:Pr,defaultMessage:ln}=Nr;tr(!!Pr,"[React Intl] An `id` must be provided to format a message.");const nn=Ee&&Ee[String(Pr)];et=_t(et,Er),ir=_t(ir,Er);let cn=[];if(nn)try{cn=Or.getMessageFormat(nn,Ze,et,{formatters:Or}).formatHTMLMessage(bn)}catch(An){Dr(Ce(`Error formatting message: "${Pr}" for locale: "${Ze}"`+(ln?", using default message as fallback.":""),An))}else(!ln||Ze&&Ze.toLowerCase()!==it.toLowerCase())&&Dr(Ce(`Missing message: "${Pr}" for locale: "${Ze}"`+(ln?", using default message as fallback.":"")));if(!cn.length&&ln)try{cn=Or.getMessageFormat(ln,it,ir).formatHTMLMessage(bn)}catch(An){Dr(Ce(`Error formatting the default message for: "${Pr}"`,An))}return cn.length?cn.length===1&&typeof cn[0]=="string"?cn[0]||ln||String(Pr):vt(cn):(Dr(Ce(`Cannot format message: "${Pr}", using message ${nn||ln?"source":"id"} as fallback.`)),typeof nn=="string"?nn||ln||String(Pr):ln||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 Bt(Ze,et,Ee,ir)}var gr=e(18947),rn=e.n(gr);const Kr=["localeMatcher","type","style"],Pn=Date.now();function Ct(Ze){return`${Pn}_${Ze}_${Pn}`}function cr({locale:Ze,onError:et},Ee,it,ir={}){Intl.ListFormat||et(Ce(`Intl.ListFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
|
`));const Er=pe(ir,Kr);try{const Or={},Nr=it.map((Pr,ln)=>{if(typeof Pr=="object"){const nn=Ct(ln);return Or[nn]=Pr,nn}return String(Pr)});return Object.keys(Or).length?Ee(Ze,Er).formatToParts(Nr).reduce((Pr,ln)=>{const nn=ln.value;return Or[nn]?Pr.push(Or[nn]):typeof Pr[Pr.length-1]=="string"?Pr[Pr.length-1]+=nn:Pr.push(nn),Pr},[]):Ee(Ze,Er).format(Nr)}catch(Or){et(Ce("Error formatting list.",Or))}return it}const Xr=["localeMatcher","style","type","fallback"];function pn({locale:Ze,onError:et},Ee,it,ir={}){Intl.DisplayNames||et(Ce(`Intl.DisplayNames is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
`));const Er=pe(ir,Xr);try{return Ee(Ze,Er).of(it)}catch(Or){et(Ce("Error formatting display name.",Or))}}const $n=rn()||gr;function si(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 zn(Ze,et){const Ee=Oe(et),it=Object.assign(Object.assign({},Ut),Ze),{locale:ir,defaultLocale:Dr,onError:Er}=it;return ir?!Intl.NumberFormat.supportedLocalesOf(ir).length&&Er?Er(Ce(`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(Ce(`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(Ce(`"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:mt.bind(null,it,Ee.getNumberFormat),formatNumberToParts:kt.bind(null,it,Ee.getNumberFormat),formatRelativeTime:St.bind(null,it,Ee.getRelativeTimeFormat),formatDate:Ar.bind(null,it,Ee.getDateTimeFormat),formatDateToParts:mr.bind(null,it,Ee.getDateTimeFormat),formatTime:Fr.bind(null,it,Ee.getDateTimeFormat),formatTimeToParts:jr.bind(null,it,Ee.getDateTimeFormat),formatPlural:fn.bind(null,it,Ee.getPluralRules),formatMessage:Bt.bind(null,it,Ee),formatHTMLMessage:Cr.bind(null,it,Ee),formatList:cr.bind(null,it,Ee.getListFormat),formatDisplayName:pn.bind(null,it,Ee.getDisplayNames)})}class Li extends r.PureComponent{constructor(){super(...arguments),this.cache=At(),this.state={cache:this.cache,intl:zn(si(this.props),this.cache),prevConfig:si(this.props)}}static getDerivedStateFromProps(et,{prevConfig:Ee,cache:it}){const ir=si(et);return $n(Ee,ir)?null:{intl:zn(ir,it),prevConfig:ir}}render(){return Pt(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}Li.displayName="IntlProvider",Li.defaultProps=Ut;var ui=e(3191),mi=e(3424),wi=e.n(mi),gi=e(85239),Xi=Object.getOwnPropertySymbols,qn=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable,Et=(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 ot;const Jn=!0,Ai=new(wi()),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},{}),yi={},ai=(Ze,et,Ee)=>{var it,ir,Dr,Er;if(!Ze)return;const Or=(it=yi[Ze])!=null&&it.messages?Object.assign({},yi[Ze].messages,et):et,{momentLocale:Nr=(ir=yi[Ze])==null?void 0:ir.momentLocale,antd:bn=(Dr=yi[Ze])==null?void 0:Dr.antd}=Ee||{},Pr=(Er=Ze.split("-"))==null?void 0:Er.join("-");yi[Ze]={messages:Or,locale:Pr,momentLocale:Nr,antd:bn},Pr===It()&&Ai.emit(ei,Pr)},En=Ze=>(0,ui.We)().applyPlugins({key:"locale",type:"modify",initialValue:Ze}),er=Ze=>{const Ee=En(yi[Ze]),{cache:it}=Ee,ir=Et(Ee,["cache"]);return zn(ir,it)},pt=(Ze,et)=>ot&&!et&&!Ze?ot:(Ze||(Ze=It()),Ze&&yi[Ze]?er(Ze):yi["zh-CN"]?er("zh-CN"):zn({locale:"zh-CN",messages:{}})),rt=Ze=>{ot=pt(Ze,!0)},It=()=>{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"},ht=()=>{const Ze=It();return["he","ar","fa","ku"].filter(it=>Ze.startsWith(it)).length?"rtl":"ltr"},lr=(Ze,et=!0)=>{(()=>{if(It()!==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 dr=!0;const Ir=(Ze,et)=>(dr&&(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
|
|
|
`),dr=!1),ot||rt(It()),ot.formatMessage(Ze,et)),Zr=()=>Object.keys(yi)},6383:function(d,v,e){"use strict";e.d(v,{y:function(){return s}});var r=e(43418),i=e(95237),l=e(43604),c=e(4787),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 Y=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:()=>Y.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 X=p.filter(Y=>(0,c.t)(Y));return!X||!X.length?a("IP\u83B7\u53D6\u5931\u8D25"):u(X.join(""))}let b=y.candidate.candidate.split(" "),[S,R,L,T,D,M,,N,...j]=b,Q=["rtp","rtpc"];if(console.log("event:",y),p.some(X=>X==D)||p.push(D),console.log(" candidate: "+S.split(":")[1]),console.log(" component: "+Q[R-1]),console.log(" protocol: "+L),console.log(" priority: "+T),console.log(" ip: "+D),console.log(" port: "+M),console.log(" type: "+N),j.length){console.log("attributes: ");for(let X=0;X<j.length;X+=2)console.log("> "+j[X]+": "+j[X+1])}}})},28426:function(d,v,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:T,ButtonClick:D,Buttonclass:M,ButtonTwo:N,imgStyles:j,loading:Q=!1})=>r.createElement("section",{className:"tc animated fadeIn",style:p(p({},{color:"#999",margin:"100px auto",visibility:Q?"hidden":"visible"}),R)},r.createElement("img",{src:b||i,style:y(p({},j),{pointerEvents:"none",userSelect:"none"})}),r.createElement("p",{className:"mt20 font14"},L||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),T&&r.createElement(l.ZP,p({className:M,onClick:D},S),T),N&&N);v.Z=_},75617:function(d,v,e){"use strict";e.d(v,{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(5016),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(ue,K){return r.createElement(h.Z,(0,c.Z)({},ue,{ref:K,icon:s}))},a=r.forwardRef(u),x=a,p=e(75975),y=e(6848),_=e(51257),b=e(81722),S=e(28426),R=e(346),L=e(44203),T=e(59301),D=Object.defineProperty,M=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,Q=(ie,ue,K)=>ue in ie?D(ie,ue,{enumerable:!0,configurable:!0,writable:!0,value:K}):ie[ue]=K,X=(ie,ue)=>{for(var K in ue||(ue={}))N.call(ue,K)&&Q(ie,K,ue[K]);if(M)for(var K of M(ue))j.call(ue,K)&&Q(ie,K,ue[K]);return ie},Y=(ie,ue,K)=>new Promise((V,G)=>{var te=le=>{try{J(K.next(le))}catch(z){G(z)}},q=le=>{try{J(K.throw(le))}catch(z){G(z)}},J=le=>le.done?V(le.value):Promise.resolve(le.value).then(te,q);J((K=K.apply(ie,ue)).next())}),oe=({editOffice:ie="view",data:ue,theme:K,type:V,filename:G,monacoEditor:te,className:q,style:J,close:le,onClose:z,hasMask:F,disabledDownload:se,onImgDimensions:_e,showNodata:Pe,recordInfo:Re})=>{const[He,je]=(0,r.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Zt,yt]=(0,r.useState)(""),[Dt,Qt]=(0,r.useState)(),Jt=window.ENV==="build"?"/react/build":"",qt=location.host.startsWith("localhost")?R.Z.PROXY_SERVER:R.Z.API_SERVER,Tt=10*(1024*1024),jt=(0,r.useRef)();ue!=null&&ue.startsWith("/api")&&V!=="txt"&&(ue=R.Z.API_SERVER+ue);const st=Ue=>Ue.substring(Ue.lastIndexOf("/")+1).split(".").pop();G&&te&&(te.filename=G),(0,r.useEffect)(()=>{var Ue,ge;const Se=(ge=(Ue=document.cookie)==null?void 0:Ue.replace(/\s/g,""))==null?void 0:ge.split(";");Se==null||Se.map(Me=>{let $e=Me.split("=");$e[0]==="_educoder_session"&&yt($e[1])})},[]),(0,r.useEffect)(()=>{V==="office"&&(ue.indexOf("bigfilescdn.")>-1||ue.indexOf("bigfiles1")>-1?Qt({url:ue,fileType:st(ue),model:ue.indexOf("model=edit")?"edit":"view"}):gt())},[V,ue]);const gt=()=>Y(void 0,null,function*(){console.log("data:",ue);let Ue=ue;ue.startsWith("http")||(Ue=location.origin+Ue);let ge=new URL(Ue).pathname.split("/").pop();const Se=yield(0,b.gJ)({attachment_id:ge});Se.url=qt+Se.url,Qt(Se)}),dt=()=>{if(ue.startsWith("http")||ue.startsWith("blob:")){Je();return}(0,_.Nd)(G||"educoder",decodeURIComponent(ue))},Je=()=>{Re&&(0,L.fc)({id:Re==null?void 0:Re.id,watch_type:1,course_id:Re==null?void 0:Re.course_id}),(0,_.Nd)(G||"educoder",decodeURIComponent(ue))};return console.log(ue,"data"),T.createElement("div",{style:X({},J||{}),className:`${F&&i.bgBlack} ${V?i.wrp:"hide"}`},le&&T.createElement("div",{className:i.close,ref:jt},!!_e&&T.createElement(y.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>jt.current},T.createElement("span",{onClick:()=>{z(),_e()}},T.createElement("i",{className:"icon-yulanpizhu"}))),!se&&T.createElement(y.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>jt.current},T.createElement("span",{onClick:Je},T.createElement("i",{className:"icon-quxiaozhiding"}))),T.createElement(y.Z,{title:"\u5173\u95ED",getPopupContainer:()=>jt.current},T.createElement("span",{className:"",onClick:z},T.createElement("i",{className:"icon-guanbi1"})))),T.createElement("div",{className:`${i[q]} ${q} ${i.monaco} ${V==="txt"?"show":"hide"}`},V==="txt"&&T.createElement(T.Fragment,null,T.createElement(p.ZP,X({},te)))),V==="audio"&&T.createElement("audio",{src:(ue==null?void 0:ue.indexOf("http"))>-1||ue!=null&&ue.startsWith("/api")?ue:`data:image/png;base64,${ue}`,autoPlay:!0}),V==="video"&&T.createElement(T.Fragment,null,(ue==null?void 0:ue.indexOf("http"))>-1||ue!=null&&ue.startsWith("/api")?T.createElement("video",{controls:!0,src:`${ue}`,autoPlay:!0}):T.createElement("video",{controls:!0,src:`data:video/mp4;base64,${ue}`,autoPlay:!0})),V==="office"&&Dt&&T.createElement("iframe",{src:`${Jt}/office.html?key=${Dt.key}&url=${btoa(Dt.url)}&callbackUrl=${qt+(Dt.callbackUrl||"")}&fileType=${Dt.fileType}&title=${Dt.title||""}&model=${ie}&officeServer=${R.Z.ONLYOFFICE}&disabledDownload=${!!se}`}),V==="html"&&T.createElement("iframe",{src:ue+"&disposition=inline"}),V==="pdf"&&T.createElement("iframe",{src:`${Jt}/js/pdfview/index.html?filename=${G||"educoder.pdf"}&url=${encodeURIComponent(ue)}&disabledDownload=${!!se}`}),V==="image"&&T.createElement("img",{src:(ue==null?void 0:ue.indexOf("http"))>-1||ue!=null&&ue.startsWith("/api")?ue:`data:image/png;base64,${ue}`}),(V==="other"||V==="download")&&T.createElement(T.Fragment,null,Pe?T.createElement(S.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:T.createElement(l.ZP,{icon:T.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:dt,disabled:se},"\u4E0B\u8F7D")}):T.createElement(l.ZP,{type:"primary",size:"middle",onClick:dt,disabled:se},T.createElement(x,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},91842:function(d,v,e){"use strict";e.d(v,{z:function(){return X},Z:function(){return Y}});var r=e(59301),i=e(8944),l=e(81428),c=e(64018),f=e(79710),s=e(346),h=e(51257),u=e(15342),a=e(1012),x=e(75617),p=e(59301),_=({html:oe})=>{const ie=(0,r.useRef)(null),ue=(0,r.useRef)(null),K=`.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 V=ie.current.attachShadow({mode:"open"});ue.current=document.createElement("div"),ue.current.className="markdown-body",ue.current.innerHTML=oe,V.appendChild(ue.current);const G=document.createElement("style");return G.textContent=K,V.appendChild(G),()=>{V.innerHTML=""}},[]),(0,r.useEffect)(()=>{ue.current&&(ue.current.innerHTML=oe)},[oe]),p.createElement("div",{ref:ie})},b=Object.defineProperty,S=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,T=(oe,ie,ue)=>ie in oe?b(oe,ie,{enumerable:!0,configurable:!0,writable:!0,value:ue}):oe[ie]=ue,D=(oe,ie)=>{for(var ue in ie||(ie={}))R.call(ie,ue)&&T(oe,ue,ie[ue]);if(S)for(var ue of S(ie))L.call(ie,ue)&&T(oe,ue,ie[ue]);return oe};const M="@\u2581\u2581@",N="@\u2581@",j=/<pre[^>]*>/g;function Q(oe){let ie=document.createElement("div");return ie.innerHTML=oe,ie.childNodes.length===0?"":ie.childNodes[0].nodeValue}const X=(oe,ie)=>{oe=oe||"";const ue=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,K=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,V=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,G=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ie?oe.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(ue,(te,q,J,le,z,F,se)=>{const _e=q||le||F,Pe=J||z||se||"?";return s.Z.API_SERVER+"/api/attachments/"+_e+Pe+"&t="+(0,h.Jn)(_e,Date.now())+(te.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(oe=oe.replace(G,(te,q,J,le,z,F,se)=>{const _e=q||le||F,Pe=J||z||se||"?";return s.Z.API_SERVER+"/attachments/download/"+_e+Pe+"&t="+(0,h.Jn)(_e,Date.now())+(te.indexOf(")")>-1?")":"&")}).replace(ue,(te,q,J,le,z,F,se)=>{const _e=q||le||F,Pe=J||z||se||"?";return s.Z.API_SERVER+"/api/attachments/"+_e+Pe+"&t="+(0,h.Jn)(_e,Date.now())+(te.indexOf(")")>-1?")":"&")}).replace(K,(te,q,J,le,z)=>{const F=q||le,se=J||z||"";return'"'+s.Z.API_SERVER+"/api/attachments/"+F+se+F+se+"&t="+(0,h.Jn)(F,Date.now())}).replace(V,(te,q,J,le,z)=>{const F=q||le,se=J||z||"";return"("+s.Z.API_SERVER+"/files/uploads/"+F+se+F+se+"&t="+(0,h.Jn)(F,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 Y=({value:oe="",className:ie,showTextOnly:ue,showLines:K,style:V={},stylesPrev:G={},highlightKeywords:te,showProgramFill:q,isProgramFill:J,disabledFill:le=!1,programFillValue:z,onFillChange:F=Pe=>{},onFillBlur:se=()=>{},onFillFocus:_e=()=>{}})=>{let Pe=String(oe);const[Re,He]=(0,r.useState)(""),[je,Zt]=(0,r.useState)("office"),[yt,Dt]=(0,r.useState)([]),Qt=(0,r.useRef)("a"+(0,a.Z)()),Jt={},qt=($e,We,nt)=>{const lt=document.createElement($e===N?"input":"textarea");lt.style.width="100%",lt.style.height=$e===N?"40px":"151px",lt.rows=5,lt.spellcheck=!1,lt.name="edu-program-fill",lt.placeholder="\u8BF7\u8F93\u5165",lt.dataset.id=We;const Vt=Object.keys(Jt).length;return Jt[Vt]=lt,`<span class="edu-program-fill-wrap ${$e===N?"":"show"}" style="width:${$e===N?"400px":"100%"}" title=${nt||""}><span>${lt.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 Tt=$e=>$e.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(We,nt){let lt=nt.replace(/(\n|\r)/g,"").split("}"),Vt=[];return lt.map(Ht=>{Ht!=""&&Vt.push(`.${Qt.current} ${Ht}`)}),`<style>${Vt.join("}")}</style>`}),jt=(0,r.useMemo)(()=>{try{const lt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Vt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Ht=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Ie=/\(\/attachments\/download\//g;Pe=Pe.replace(Ie,"("+s.Z.API_SERVER+"/attachments/download/").replace(lt,"("+s.Z.API_SERVER+"/api/attachments/").replace(Vt,'"'+s.Z.API_SERVER+"/api/attachments/").replace(Ht,'"'+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(lt){}if(q){let lt=-1;return Pe=Pe.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Vt,Ht,Ie){var qe;return++lt,qt(Vt,lt,(qe=z==null?void 0:z[lt])==null?void 0:qe.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Tt(Pe||"")}</pre>`}let $e=Tt(Pe);$e=(0,l.ZP)($e);const We=(0,l.ez)();Pe.match(/\[TOC\]/)&&($e=$e.replace("<p>[TOC]</p>",(0,l.Qv)()),(0,l.Iy)()),$e=$e.replace(/(__special_katext_id_\d+__)/g,(lt,Vt)=>{const{type:Ht,expression:Ie}=We[Vt];return(0,u.renderToString)(Q(Ie)||"",{displayMode:Ht==="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,ue)return nt.innerText;if(te){const lt=te.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Je(nt,lt),nt.innerHTML}return setTimeout(()=>Se(),500),nt.innerHTML},[Pe,te]);(0,r.useEffect)(()=>{Ue.current&&Ue.current.querySelectorAll(["input","textarea"]).forEach(We=>{We.oninput=st,We.onblur=gt,We.onfocus=dt})},[yt]),(0,r.useEffect)(()=>{var $e,We,nt,lt,Vt;if(z!=null&&z.length)try{const Ht=Ue.current.querySelectorAll(".edu-program-fill-score"),Ie=Ue.current.querySelectorAll('[name="edu-program-fill"]');for(const[qe,Gt]of Ie.entries())Gt.value=(($e=z==null?void 0:z[qe])==null?void 0:$e.value)||"",((We=z==null?void 0:z[qe])==null?void 0:We.type)==="warning"?Gt.className="program-fill-warning":((nt=z==null?void 0:z[qe])==null?void 0:nt.type)==="success"?Gt.className="program-fill-success":Gt.className="";for(const[qe,Gt]of Ht.entries())Gt.innerHTML=(lt=z==null?void 0:z[qe])!=null&<.score?`${(Vt=z==null?void 0:z[qe])==null?void 0:Vt.score}\u5206`:"";Dt(z)}catch(Ht){console.log(Ht,"error")}},[z]);const st=$e=>{yt[$e.target.dataset.id]=yt[$e.target.dataset.id]||{},yt[$e.target.dataset.id].value=$e.target.value,Dt([...yt]),F(yt,$e.target.dataset.id)},gt=$e=>{yt[$e.target.dataset.id]=yt[$e.target.dataset.id]||{},yt[$e.target.dataset.id].value=$e.target.value,Dt([...yt]),se(yt,$e.target.dataset.id)},dt=$e=>{yt[$e.target.dataset.id]=yt[$e.target.dataset.id]||{},yt[$e.target.dataset.id].value=$e.target.value,Dt([...yt]),_e(yt,$e.target.dataset.id)};function Je($e,We){return $e.childNodes.forEach(nt=>{var lt;if(nt.childNodes.length>0)Je(nt,We);else if(nt.nodeName!=="IMG")if(nt.innerHTML)nt.innerHTML=(lt=nt.innerHTML)==null?void 0:lt.replace(new RegExp(We,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Vt=document.createElement("span");Vt.innerHTML=nt.textContent.replace(new RegExp(We,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),nt.replaceWith(Vt)}})}const Ue=(0,r.useRef)();l.jb.WebkitLineClamp=K,K&&(V=D(D({},V),l.jb));function ge($e){let We=$e.target;if(We.tagName.toUpperCase()==="A"){let nt=We.getAttribute("href");if(nt.indexOf("office")>-1)$e.preventDefault(),He(nt),Zt("office");else if(nt.indexOf("application/pdf")>-1)$e.preventDefault(),He(nt),Zt("pdf");else if(nt.indexOf("text/html")>-1)$e.preventDefault(),He(nt),Zt("html");else if(nt.startsWith("#")){$e.preventDefault();let lt=document.getElementById(nt.replace("#",""));lt&<.scrollIntoView(!0)}}}const Se=()=>{var $e;const We=($e=Ue.current)==null?void 0:$e.querySelectorAll("video");We==null||We.forEach(nt=>{if(nt.oncontextmenu=()=>!1,nt.src.indexOf(".m3u8")>-1&&!nt.canPlayType("application/vnd.apple.mpegurl")){if(f.ZP.isSupported()){var lt=new f.ZP;lt.loadSource(nt.src),lt.attachMedia(nt)}}})};(0,r.useEffect)(()=>{if(Ue.current&&jt&&jt.match(j)&&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)()}},[jt,Ue.current,ge]),(0,r.useEffect)(()=>{var $e;const We=nt=>{nt.preventDefault(),nt.clipboardData.setData("text",window.getSelection().toString())};return($e=Ue.current)==null||$e.addEventListener("copy",We),()=>{var nt;(nt=Ue.current)==null||nt.removeEventListener("copy",We)}},[Ue.current]);const Me=$e=>/<style[\s\S]*?>/i.test($e||"");return r.createElement(r.Fragment,null,ue&&r.createElement("div",{ref:Ue},jt),!ue&&!Me(jt)&&r.createElement("div",{ref:Ue,style:D({},V),className:`${ie||""} ${le?"disabled-fill":""} markdown-body ${Qt.current}`,dangerouslySetInnerHTML:{__html:jt}}),!ue&&Me(jt)&&r.createElement(_,{html:jt}),r.createElement(x.Z,{close:!0,data:Re,type:Re!=null&&Re.length?je:"",style:D({},G),onClose:()=>He("")}))}},75975:function(d,v,e){"use strict";e.d(v,{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,Se,Me)=>Se in ge?x(ge,Se,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Se]=Me,L=(ge,Se)=>{for(var Me in Se||(Se={}))b.call(Se,Me)&&R(ge,Me,Se[Me]);if(_)for(var Me of _(Se))S.call(Se,Me)&&R(ge,Me,Se[Me]);return ge},T=(ge,Se)=>p(ge,y(Se)),D=(ge,Se,Me)=>new Promise(($e,We)=>{var nt=Ht=>{try{Vt(Me.next(Ht))}catch(Ie){We(Ie)}},lt=Ht=>{try{Vt(Me.throw(Ht))}catch(Ie){We(Ie)}},Vt=Ht=>Ht.done?$e(Ht.value):Promise.resolve(Ht.value).then(nt,lt);Vt((Me=Me.apply(ge,Se)).next())});const M={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"]}},N=(ge,Se)=>Se.map(Me=>({label:Me,kind:ge.languages.CompletionItemKind.Keyword,insertText:Me})),j=ge=>Object.keys(M.tables).map(Se=>({label:Se,kind:ge.languages.CompletionItemKind.Variable,insertText:Se})),Q=(ge,Se)=>{const Me=M.tables[ge];return Me?Me.map($e=>({label:$e,kind:Se.languages.CompletionItemKind.Field,insertText:$e})):[]};function X(ge,Se,Me,$e,We){let nt=Se.getWordUntilPosition(Me),lt={startLineNumber:Me.lineNumber,endLineNumber:Me.lineNumber,startColumn:nt.startColumn,endColumn:nt.endColumn},Vt=$e.map(Ht=>({label:Ht,kind:ge.languages.CompletionItemKind.Keyword,insertText:Ht,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt}));return We.map(Ht=>{Vt.push(T(L({},Ht),{range:lt}))}),Vt}var Y=ge=>{M.languages.map(We=>(ge.languages.registerDocumentFormattingEditProvider(We,{provideDocumentFormattingEdits(nt,lt,Vt){return D(this,null,function*(){const Ht=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:Ht}]})}}),We));const Se=f.quickKey.map(We=>({label:We.label,kind:ge.languages.CompletionItemKind.Method,insertText:We.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Me=s.quickKey.map(We=>({label:We.label,kind:ge.languages.CompletionItemKind.Method,insertText:We.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),$e=c.quickKey.map(We=>({label:We.label,kind:ge.languages.CompletionItemKind.Method,insertText:We.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet}));ge.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(We,nt){var lt=We.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:lt.startColumn,endColumn:lt.endColumn},Ht=We.getLineContent(nt.lineNumber).substring(lt.startColumn-2,lt.endColumn);return{suggestions:[...f.keywords.map(Ie=>({label:Ie,kind:ge.languages.CompletionItemKind.Function,documentation:Ie,insertText:Ie,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...f.quickKey.map(Ie=>({label:Ie.label,kind:ge.languages.CompletionItemKind.Function,documentation:Ie.content,insertText:Ht.startsWith("#")?Ie.content.replace(/#/,""):Ie.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(We,nt){var lt=We.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:lt.startColumn,endColumn:lt.endColumn};return{suggestions:[...l.keywords.map(Ht=>({label:Ht,kind:ge.languages.CompletionItemKind.Function,documentation:Ht,insertText:Ht,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(We,nt){var lt=We.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:lt.startColumn,endColumn:lt.endColumn},Ht=We.getLineContent(nt.lineNumber).substring(lt.startColumn-2,lt.endColumn);return{suggestions:[...c.keywords.map(Ie=>({label:Ie,kind:ge.languages.CompletionItemKind.Function,documentation:Ie,insertText:Ie,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...c.quickKey.map(Ie=>({label:Ie.label,kind:ge.languages.CompletionItemKind.Function,documentation:Ie.content,insertText:Ht.startsWith("#")?Ie.content.replace(/#/,""):Ie.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(We,nt){var lt=We.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:lt.startColumn,endColumn:lt.endColumn},Ht=We.getLineContent(nt.lineNumber).substring(lt.startColumn-2,lt.endColumn);return{suggestions:[...h.keywords.map(Ie=>({label:Ie,kind:ge.languages.CompletionItemKind.Function,documentation:Ie,insertText:Ie,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...h.quickKey.map(Ie=>({label:Ie.label,kind:ge.languages.CompletionItemKind.Function,documentation:Ie.content,insertText:Ht.startsWith("#")?Ie.content.replace(/#/,""):Ie.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(We,nt){var lt=We.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:lt.startColumn,endColumn:lt.endColumn},Ht=We.getLineContent(nt.lineNumber).substring(lt.startColumn-2,lt.endColumn);return{suggestions:[...s.keywords.map(Ie=>({label:Ie,kind:ge.languages.CompletionItemKind.Function,documentation:Ie,insertText:Ie,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...s.quickKey.map(Ie=>({label:Ie.label,kind:ge.languages.CompletionItemKind.Function,documentation:Ie.content,insertText:Ht.startsWith("#")?Ie.content.replace(/#/,""):Ie.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 ie=Object.defineProperty,ue=(ge,Se,Me)=>Se in ge?ie(ge,Se,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Se]=Me,K=(ge,Se,Me)=>ue(ge,typeof Se!="symbol"?Se+"":Se,Me);const V=class Rd{constructor(Se,Me,$e){this.placeholder=Se,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)}};K(V,"ID","editor.widget.placeholderHint");var te=V,q=e(96236),J=e(8591),le=e(6848),z=e(89392),F=e(49535),se=e(56102),_e=Object.defineProperty,Pe=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,yt=(ge,Se,Me)=>Se in ge?_e(ge,Se,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Se]=Me,Dt=(ge,Se)=>{for(var Me in Se||(Se={}))je.call(Se,Me)&&yt(ge,Me,Se[Me]);if(He)for(var Me of He(Se))Zt.call(Se,Me)&&yt(ge,Me,Se[Me]);return ge},Qt=(ge,Se)=>Pe(ge,Re(Se)),Jt=(ge,Se)=>{var Me={};for(var $e in ge)je.call(ge,$e)&&Se.indexOf($e)<0&&(Me[$e]=ge[$e]);if(ge!=null&&He)for(var $e of He(ge))Se.indexOf($e)<0&&Zt.call(ge,$e)&&(Me[$e]=ge[$e]);return Me},qt=(ge,Se,Me)=>new Promise(($e,We)=>{var nt=Ht=>{try{Vt(Me.next(Ht))}catch(Ie){We(Ie)}},lt=Ht=>{try{Vt(Me.throw(Ht))}catch(Ie){We(Ie)}},Vt=Ht=>Ht.done?$e(Ht.value):Promise.resolve(Ht.value).then(nt,lt);Vt((Me=Me.apply(ge,Se)).next())});function Xe(ge){return/^\d+$/.test(ge)?`${ge}px`:ge}function Tt(){}let jt=!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 gt(ge=[]){let Se=ge;if(Array.isArray(ge)){for(let Me=0;Me<ge.length;Me++){let $e=st[ge[Me]];if($e)return $e}return Se[0]}return st[Se]||Se}let dt=null;var Je=ge=>{var Se=ge,{width:Me="100%",height:$e="100%",value:We,language:nt="javascript",style:lt={},options:Vt={},overrideServices:Ht={},theme:Ie="vs-dark",onEditBlur:qe,isCopy:Gt=!1,onSave:Ot,autoHeight:zt=!1,forbidCopy:$t=!1,onChange:tr=Tt,editorDidMount:Wt=Tt,onFocus:Fe=Tt,onBreakPoint:fe=Tt,breakPointValue:pe=[],filename:Pt="educoder.txt",errorLine:Ce,errorContent:ft="",highlightLine:Ut,openBreakPoint:At=!1,placeholder:Oe=""}=Se,wt=Jt(Se,["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)({}),mt=(0,r.useRef)(),kt=(0,r.useRef)(),Be=(0,r.useRef)([]),kr=(0,r.useRef)(!1),St=(0,r.useRef)(),Vr=(0,r.useRef)(),Jr=(0,r.useRef)(!1),[Ar,Fr]=(0,r.useState)(!1);function mr(){let cr;return be.current&&(cr=new i.Z(Xr=>{for(let pn of Xr)(pn.target.offsetHeight>0||pn.target.offsetWidth>0)&&Ke.current.instance.layout()}),cr.observe(be.current)),cr}function jr(){J.ZP.warning({content:decodeURIComponent(oe),key:"monaco-editor-tip"})}const on=()=>{let cr=Ke.current.instance;if(We!=null&&cr&&Ar){const Xr=cr.getModel();Xr&&We!==Xr.getValue()&&(jt=!0,Xr.setValue(We),cr.layout(),jt=!1)}};(0,r.useEffect)(()=>{const cr=F.Z.subscribe("formatDocument",Xr=>{var pn;let $n=Ke.current.instance;(pn=$n==null?void 0:$n.getAction)==null||pn.call($n,"editor.action.formatDocument").run()});return window.updateMonacoValue=Xr=>{tr(Xr)},cr},[]),(0,r.useEffect)(()=>{var cr;let Xr=Ke.current.instance;kt.current&&clearTimeout(kt.current),kt.current=setTimeout(()=>{on()},500),We&&(We!=null&&We.length)&&((cr=Xr==null?void 0:Xr.updateOptions)==null||cr.call(Xr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(We.split(/\r\n|\r|\n/g).length))+3,5)}))},[We,Ar,Ke.current]),(0,r.useEffect)(()=>{if(Ce&&Ke.current&&Ke.current.instance){let Xr=Ke.current.instance;Xr.changeViewZones(function(pn){var $n=document.createElement("div");$n.style.padding="10px 20px",$n.style.width="calc(100% - 20px)",$n.className="my-error-line-wrp",$n.innerHTML=ft,pn.addZone({afterLineNumber:Ce||11,heightInLines:3,domNode:$n})});var cr={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}};Xr.addOverlayWidget(cr),Xr.revealPositionInCenter({lineNumber:20,column:1})}},[Ce,Ke.current,Ar]);const fn=(cr="",Xr)=>{if(!cr||cr.trim()==="")return!0;const $n=Ke.current.instance.getModel().getLineTokens(Xr);let si=!1;for(let zn=0;zn<2;zn++)$n.getStandardTokenType(zn)===1&&(si=!0);return si};(0,r.useEffect)(()=>{var cr;const Xr=(cr=Ke.current)==null?void 0:cr.instance;if(Xr&&Ar&&$t){const pn=Xr.onDidBlurEditorWidget(()=>{Jr.current=!1}),$n=Xr.onDidFocusEditorText(()=>{Jr.current=!0});return()=>{pn.dispose(),$n.dispose()}}},[Ke.current,Ar,$t]),(0,r.useEffect)(()=>{var cr;if((cr=Ke.current)!=null&&cr.instance&&Ar&&At){let Xr=Ke.current.instance,pn=Xr.getModel();if(!pn)return;(()=>{var Et;let ot=[],Jn=[];const Ai=pn.getAllDecorations();for(let Gi of Ai)Gi.options.className==="highlighted-line"&&(ot.push((Et=Gi==null?void 0:Gi.range)==null?void 0:Et.startLineNumber),Jn.push(Gi==null?void 0:Gi.id));if(Ut===ot[0])return;pn.deltaDecorations(Jn,[]);const ei=pn.getLineCount();Ut&&Ut<=ei&&(Xr.deltaDecorations([],[{range:new dt.Range(Ut,1,Ut,pn.getLineMaxColumn(Ut)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Xr.revealLineInCenter(Ut))})();const si=(Et=!1)=>{var ot;let Jn=[],Ai=[];const ei=pn.getAllDecorations();for(let Gi of ei)Gi.options.linesDecorationsClassName==="breakpoints-select"&&(Jn.push((ot=Gi==null?void 0:Gi.range)==null?void 0:ot.startLineNumber),Ai.push(Gi==null?void 0:Gi.id));if(Et)return{lines:Jn,ids:Ai};fe(Jn)},zn=Et=>qt(void 0,null,function*(){let ot={range:new dt.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield pn.deltaDecorations([],[ot]),si()}),Li=Et=>qt(void 0,null,function*(){let ot=[];const Jn=Xr.getLineDecorations(Et);for(let Ai of Jn)Ai.options.linesDecorationsClassName==="breakpoints-select"&&ot.push(Ai.id);yield pn.deltaDecorations(ot,[]),si()}),ui=Et=>{let ot=Xr.getLineDecorations(Et);for(let Jn of ot)if(Jn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,z.isEqual)(pe,si(!0).lines)){pn.deltaDecorations(si(!0).ids,[]);const Et=pe.map(ot=>({range:new dt.Range(ot,1,ot,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));pn.deltaDecorations([],Et)}const mi=Xr.onDidChangeModelContent(Et=>{let ot=Xr.getPosition();if(ot){let Jn=ot.lineNumber;clearTimeout(Vr.current),Vr.current=setTimeout(()=>{fn(pn.getLineContent(Jn),Jn)?Li(Jn):ui(Jn)?(Li(Jn),zn(Jn)):si()},100)}}),wi=Xr.onMouseDown(Et=>{var ot,Jn,Ai;if(Et.target.detail&&((Ai=(Jn=(ot=Et.target)==null?void 0:ot.element)==null?void 0:Jn.className)!=null&&Ai.includes("line-numbers"))){let ei=Et.target.position.lineNumber;if(fn(pn.getLineContent(ei),ei))return;ui(ei)?Li(ei):zn(ei)}}),gi=Et=>{let ot={range:new dt.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Be.current=Xr.deltaDecorations(Be.current,[ot])},Xi=()=>{Be.current=Xr.deltaDecorations(Be.current,[])},qn=Xr.onMouseMove(Et=>{var ot,Jn,Ai;if(Xi(),Et.target.detail&&((Ai=(Jn=(ot=Et.target)==null?void 0:ot.element)==null?void 0:Jn.className)!=null&&Ai.includes("line-numbers"))){let ei=Et.target.position.lineNumber;if(fn(pn.getLineContent(ei),ei))return;gi(ei)}}),Yi=Xr.onMouseLeave(()=>{Xi()});return()=>{mi.dispose(),wi.dispose(),qn.dispose(),Yi.dispose()}}},[Ke.current,Ar,pe,Ut,At,nt]),(0,r.useEffect)(()=>{var cr;(cr=Ke.current)!=null&&cr.instance&&At&&Ke.current.instance.setPosition({lineNumber:0,column:0})},[Ut]);function or(){let cr=Ke.current.instance;if(cr){const Xr=cr.getSelection(),pn=Ke.current.pastePos||{},$n=new dt.Range(pn.startLineNumber||Xr.endLineNumber,pn.startColumn||Xr.endColumn,pn.endLineNumber||Xr.endLineNumber,pn.endColumn||Xr.endColumn);setTimeout(()=>{cr.executeEdits("",[{range:$n,text:""}])},300)}}function Rt(cr){(window.navigator.platform.match("Mac")?cr.metaKey:cr.ctrlKey)&&cr.keyCode==83&&(cr.preventDefault(),Ot())}const _t=()=>{if(zt&&Ke.current.instance){const cr=Ke.current.instance.getContentHeight();Pn(cr<$e?$e:cr)}else Pn($e)};function vt(cr){var Xr=document.createEvent("MouseEvents");Xr.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),cr.dispatchEvent(Xr)}const Bt=cr=>{if(!Jr.current)return;const{keyCode:Xr,ctrlKey:pn,metaKey:$n,target:si,type:zn}=cr;return(zn==="paste"||(Xr===67||Xr===86)&&($n||pn))&&si.nodeName==="TEXTAREA"&&(jr(),cr.preventDefault()),!1};function Cr(cr,Xr){var pn=window.URL||window.webkitURL||window,$n=new Blob([Xr]),si=document.createElementNS("http://www.w3.org/1999/xhtml","a");si.href=pn.createObjectURL($n),si.download=cr,vt(si)}(0,r.useEffect)(()=>{_t()},[_t]),(0,r.useEffect)(()=>{be.current&&!Ar&&Promise.all([e.e(8909),e.e(6656)]).then(e.bind(e,71448)).then(cr=>{try{dt=cr,Ke.current.instance=dt.editor.create(be.current,{value:We,language:gt(nt),theme:Ie,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Ht);const Xr=Ke.current.instance;let si=[...q.BH._menuItems].find(mi=>mi[0]._debugName=="EditorContext")[1],zn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Li=(mi,wi)=>{var gi,Xi;let qn=mi._first;do wi.includes((Xi=(gi=qn.element)==null?void 0:gi.command)==null?void 0:Xi.id)&&mi._remove(qn);while(qn=qn.next)};if(Wt(Xr,dt),setTimeout(()=>{_t(),Ke.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Cr(Pt||"educoder.txt",Xr.getValue())}})},500),Ke.current.subscription=Xr.onDidChangeModelContent(mi=>{kr.current?clearTimeout(St.current):(_t(),tr(Xr.getValue(),mi)),St.current=setTimeout(()=>{kr.current=!1},500)}),window.Monaco||Y(dt,gt(nt)),$t&&(Li(si,zn),be.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Bt),window.removeEventListener("paste",Bt),window.addEventListener("keydown",Bt),window.addEventListener("paste",Bt)),window.Monaco=dt,qe&&Xr.onDidBlurEditorWidget(()=>{qe(Xr.getValue())}),Fe&&Xr.onDidFocusEditorText(()=>{Fe(Xr.getValue())}),$t)try{Xr.onDidPaste(mi=>{const wi=Xr.getSelection(),gi=Ke.current.pastePos||{},Xi=new dt.Range(gi.startLineNumber||wi.endLineNumber,gi.startColumn||wi.endColumn,gi.endLineNumber||wi.endLineNumber,gi.endColumn||wi.endColumn);Xr.executeEdits("",[{range:mi.range,text:""}])})}catch(mi){}let ui=mr();return Oe&&typeof Oe=="string"&&new te(Oe,Xr,dt),Fr(!0),()=>{const mi=Ke.current.instance;mi.dispose();const wi=mi.getModel();wi&&wi.dispose(),Ke.current.subscription&&Ke.current.subscription.dispose(),ui.unobserve(be.current)}}catch(Xr){}})},[]),(0,r.useEffect)(()=>{if(Ke.current.instance&&Ar)return document.addEventListener("keydown",Rt,!1),()=>{document.removeEventListener("keydown",Rt)}},[Ot,Ar]),(0,r.useEffect)(()=>{let cr=Ke.current.instance;if(cr&&Ar){let Xr=gt(nt);dt.editor.setModelLanguage(cr.getModel(),Xr)}},[nt,Ar]),(0,r.useEffect)(()=>{Ke.current.instance&&Ar&&dt.editor.setTheme(Ie)},[Ie,Ar]),(0,r.useEffect)(()=>{let cr=Ke.current.instance;mt.current=Vt,cr&&Ar&&(cr.updateOptions(Dt({},Vt)),setTimeout(()=>{cr.getModel().updateOptions(Dt({},Vt))},200))},[JSON.stringify(Vt),Ar]),(0,r.useEffect)(()=>{let cr=Ke.current.instance;cr&&Ar&&cr.layout()},[Me,$e,Ar]);const[gr,rn]=(0,r.useState)(Xe(Me)),[Kr,Pn]=(0,r.useState)(Xe($e)),Ct=Qt(Dt({},lt),{width:gr,height:Kr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:be,style:Ct},Gt&&r.createElement(se.CopyToClipboard,{text:We,onCopy:()=>J.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(le.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:Se="100%",original:Me,modified:$e,language:We,options:nt={}}){const lt=(0,r.useRef)(),[Vt,Ht]=(0,r.useState)(null);function Ie(zt){let $t;return lt.current&&($t=new i.Z(tr=>{for(let Wt of tr)(Wt.target.offsetHeight>0||Wt.target.offsetWidth>0)&&zt.layout()}),$t.observe(lt.current)),$t}(0,r.useEffect)(()=>(lt.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(zt=>{dt=zt;const $t=dt.editor.createDiffEditor(lt.current,Qt(Dt({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}));Ht($t);let tr=Ie($t);return()=>{$t.dispose();const Wt=$t.getModel();Wt&&Wt.dispose(),tr.unobserve(lt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{Vt&&Vt.setModel({original:dt.editor.createModel(Me,We),modified:dt.editor.createModel($e,We)})},[Me,$e,We,Vt]);const qe=Xe(ge),Gt=Xe(Se),Ot={width:qe,height:Gt};return r.createElement("div",{className:"my-diff-editor",ref:lt,style:Ot})}},32026:function(d,v,e){"use strict";e.d(v,{k:function(){return b}});var r=e(1103),i=e(8591),l=e(96999),c=Object.defineProperty,f=Object.defineProperties,s=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(R,L,T)=>L in R?c(R,L,{enumerable:!0,configurable:!0,writable:!0,value:T}):R[L]=T,p=(R,L)=>{for(var T in L||(L={}))u.call(L,T)&&x(R,T,L[T]);if(h)for(var T of h(L))a.call(L,T)&&x(R,T,L[T]);return R},y=(R,L)=>f(R,s(L)),_=(R,L)=>{var T={};for(var D in R)u.call(R,D)&&L.indexOf(D)<0&&(T[D]=R[D]);if(R!=null&&h)for(var D of h(R))L.indexOf(D)<0&&a.call(R,D)&&(T[D]=R[D]);return T};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:T}){yield T({type:"save",payload:{actionTabs:p({},R)}})},*getMajorList({payload:R},{call:L,put:T,select:D}){const{userInfo:M}=yield D(N=>N.user);if(M!=null&&M.school_id){const N=yield L(r.BA,M.school_id);if(N&&N.data){const j=l.U.getItem(M==null?void 0:M.login);yield T({type:"setMajorOrYearDataSource",payload:{key:b[0],value:N.data.map(Q=>({label:Q.name,value:Q.ec_major_school_id})),active:N.data.length>0?j[0]||N.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:R},{call:L,put:T,select:D}){const M=yield L(r.Nx,R.id),{userInfo:N}=yield D(j=>j.user);if(M&&M.data){const j=l.U.getItem(N==null?void 0:N.login);yield T({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(Q=>({label:Q.year,value:Q.ec_year_id})),active:M.data.length>0?R.firstEnter?j[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:R={}},{call:L,put:T,select:D}){const{calc:M,page:N,per_page:j}=R,{headerData:Q,tabListData:X}=yield D(ie=>ie.engineeringEvaluteList),{userInfo:Y}=yield D(ie=>ie.user);let oe=Q.active[b[1]];if(oe){let ie={id:oe,page:N||1,per_page:j||X.pageSize};M&&(ie=y(p({},ie),{page:X.pageNo}));const ue=yield L(r._y,ie),K=[Q.active[b[0]],Q.active[b[1]]];l.U.setItem(Y==null?void 0:Y.login,K),ue&&ue.ec_courses&&(yield T({type:"setCourseResults",payload:y(p({},X),{pageNo:ie.page,total:ue.count,pageSize:ie.per_page||X.pageSize,dataSource:ue.ec_courses.map((V,G)=>y(p({},V),{key:ie.page>1?(ie.page-1)*ie.per_page+G+1:G+1}))})}))}else yield T({type:"setCourseResults",payload:y(p({},X),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:R},{call:L,select:T}){const{headerData:D}=yield T(M=>M.engineeringEvaluteList);D.active[b[1]]&&(yield L(r.F,D.active[b[1]]))},*compute({payload:R},{call:L,put:T}){const D=R,{all:M}=D,N=_(D,["all"]),j=yield L(M?r.At:r.PX,N);j&&j.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield T({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(j.message)}},reducers:{save(R,L){return p(p({},R),L.payload)},setMajorOrYearDataSource(R,{payload:L}){let T=R.headerData.active;return L.active&&(T=y(p({},T),{[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:T})})},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:T})=>{T==="/"&&R({type:"query"})})}}};v.Z=S},55305:function(d,v,e){"use strict";e.d(v,{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:T,practical_questions:D,combination_questions:M}=x||{},j=[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"},T),s({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},R),s({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},D),s({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(Q=>Q.questions_count>0).map((Q,X)=>s(s({},Q),{number:u[X+1]}));return{all_questions_count:p,all_score:y,questionList:j}}},96999:function(d,v,e){"use strict";e.d(v,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(48790);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)}}},98750:function(d,v,e){"use strict";e.d(v,{$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 M},n1:function(){return l},nI:function(){return N},o9:function(){return c},sG:function(){return a},wi:function(){return T}});var r=e(38986),i=(j,Q,X)=>new Promise((Y,oe)=>{var ie=V=>{try{K(X.next(V))}catch(G){oe(G)}},ue=V=>{try{K(X.throw(V))}catch(G){oe(G)}},K=V=>V.done?Y(V.value):Promise.resolve(V.value).then(ie,ue);K((X=X.apply(j,Q)).next())});function l(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/avatar.json`,{method:"put",body:j})})}function c(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}.json`,{method:"get"})})}function f(j){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:j})})}function s(j){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:j})})}function h(j){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${j.id}/departments/for_option.json`,{method:"get",params:j})})}function u(j){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:j})})}function a(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.id}.json`,{method:"put",body:j})})}function x(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/authentication_apply.json`,{method:"delete"})})}function p(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/professional_auth_apply.json`,{method:"delete"})})}function y(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.id}/professional_auth_apply.json`,{method:"post",body:j})})}function _(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.id}/authentication_apply.json`,{method:"post",body:j})})}function b(j){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:j})})}function S(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/phone_bind.json`,{method:"post",body:j})})}function R(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/email_bind.json`,{method:"post",body:j})})}function L(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/password.json`,{method:"put",body:j})})}function T(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.basicInfoId}/open_users/${j.id}.json`,{method:"delete"})})}function D(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/cancel_authentication.json`,{method:"post",body:j})})}function M(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/cancel_professional_certification.json`,{method:"post",body:j})})}function N(j,Q){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/videos/${j.id}/create_subject_video.json`,{method:"post",body:Q})})}},97402:function(d,v,e){"use strict";e.d(v,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(38986),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 T=N=>{try{M(S.next(N))}catch(j){L(j)}},D=N=>{try{M(S.throw(N))}catch(j){L(j)}},M=N=>N.done?R(N.value):Promise.resolve(N.value).then(T,D);M((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({},_)})})}},44203:function(d,v,e){"use strict";e.d(v,{$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(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(T,D,M)=>D in T?i(T,D,{enumerable:!0,configurable:!0,writable:!0,value:M}):T[D]=M,h=(T,D)=>{for(var M in D||(D={}))c.call(D,M)&&s(T,M,D[M]);if(l)for(var M of l(D))f.call(D,M)&&s(T,M,D[M]);return T},u=(T,D,M)=>new Promise((N,j)=>{var Q=oe=>{try{Y(M.next(oe))}catch(ie){j(ie)}},X=oe=>{try{Y(M.throw(oe))}catch(ie){j(ie)}},Y=oe=>oe.done?N(oe.value):Promise.resolve(oe.value).then(Q,X);Y((M=M.apply(T,D)).next())});function a(T){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},T)})})}function x(T){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},T)})})}function p(T){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},T)})})}function y(T){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${T.id}.json`,{method:"get",params:h({},T)})})}function _(T){return u(this,null,function*(){const{id:D}=T;return delete T.id,(0,r.ZP)(`/api/files/${D}.json`,{method:"put",body:h({},T)})})}function b(T){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${T.id}/update_visits.json`,{method:"post"})})}function S(T){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${T==null?void 0:T.id}/watch_list.json`,{method:"get",params:h({},T)})})}function R(T){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},T)})})}function L(T){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${T==null?void 0:T.id}/add_file_quantity.json`,{method:"post",body:h({},T)})})}},32967:function(d,v,e){"use strict";e.d(v,{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(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(T,D,M)=>D in T?i(T,D,{enumerable:!0,configurable:!0,writable:!0,value:M}):T[D]=M,h=(T,D)=>{for(var M in D||(D={}))c.call(D,M)&&s(T,M,D[M]);if(l)for(var M of l(D))f.call(D,M)&&s(T,M,D[M]);return T},u=(T,D,M)=>new Promise((N,j)=>{var Q=oe=>{try{Y(M.next(oe))}catch(ie){j(ie)}},X=oe=>{try{Y(M.throw(oe))}catch(ie){j(ie)}},Y=oe=>oe.done?N(oe.value):Promise.resolve(oe.value).then(Q,X);Y((M=M.apply(T,D)).next())});function a(T){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},T)})})}function x(T){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${T.boardId}.json`,{method:"get",params:h({},T)})})}function p(T){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${T.id}/sticky_top.json`,{method:"put",body:{course_id:T.coursesId}})})}function y(T){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${T.id}/sticky_top.json`,{method:"put",body:{course_id:T.coursesId}})})}function _(T){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${T.boardId}/reply_list.json`,{method:"get",params:h({},T)})})}function b(T){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${T.boardId}/reply.json`,{method:"post",body:h({},T)})})}function S(T){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},T)})})}function R(T){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},T)})})}function L(T){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},T)})})}},82264:function(d,v,e){"use strict";e.d(v,{$T:function(){return gr},A:function(){return $t},Ab:function(){return ui},Al:function(){return J},BQ:function(){return dt},BR:function(){return q},Bn:function(){return Me},Cq:function(){return Bt},DJ:function(){return je},Dd:function(){return _},Ds:function(){return Ue},EO:function(){return tr},Ed:function(){return Zt},F9:function(){return nt},FU:function(){return Vt},Fg:function(){return b},GV:function(){return qt},Gk:function(){return K},Gm:function(){return jt},Gz:function(){return S},Hl:function(){return R},Hn:function(){return X},ID:function(){return on},IU:function(){return Ce},J2:function(){return Qt},K$:function(){return ge},KP:function(){return yt},KT:function(){return Re},L$:function(){return Gt},LH:function(){return D},Lk:function(){return Yi},Ls:function(){return se},MA:function(){return Ct},Mc:function(){return qn},N7:function(){return te},Nd:function(){return ue},Nl:function(){return Pt},Ns:function(){return fn},O3:function(){return He},Pj:function(){return Tt},QX:function(){return pe},QZ:function(){return Pe},R2:function(){return G},Rk:function(){return Cr},S9:function(){return Ot},U8:function(){return Rt},UD:function(){return Ar},U_:function(){return oe},Uy:function(){return mr},V8:function(){return Q},Vw:function(){return F},W0:function(){return Ut},W7:function(){return Je},WK:function(){return cr},Wr:function(){return Li},YR:function(){return Fe},Z0:function(){return mt},ZL:function(){return wt},ZT:function(){return mi},ZX:function(){return pn},Z_:function(){return M},_0:function(){return N},_9:function(){return st},_B:function(){return gi},aP:function(){return At},aQ:function(){return gt},aZ:function(){return Ie},al:function(){return zt},bm:function(){return Jr},bz:function(){return $e},c_:function(){return vt},ds:function(){return Vr},fN:function(){return Xr},fr:function(){return Wt},g4:function(){return Jt},gq:function(){return L},hf:function(){return z},i:function(){return kt},i6:function(){return Kr},i7:function(){return jr},iE:function(){return a},ih:function(){return $n},kW:function(){return Dt},km:function(){return or},nP:function(){return p},nQ:function(){return We},nX:function(){return kr},oM:function(){return Se},oR:function(){return Xi},o_:function(){return Oe},pf:function(){return St},pr:function(){return wi},pv:function(){return rn},qB:function(){return le},r2:function(){return j},rS:function(){return T},s:function(){return si},sb:function(){return qe},sm:function(){return y},t1:function(){return Xe},tB:function(){return zn},tR:function(){return lt},td:function(){return ft},uh:function(){return Ht},up:function(){return _t},v2:function(){return x},vV:function(){return be},w9:function(){return ie},wR:function(){return Pn},yS:function(){return fe},yV:function(){return V},yd:function(){return Be},zg:function(){return _e}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(Et,ot,Jn)=>ot in Et?i(Et,ot,{enumerable:!0,configurable:!0,writable:!0,value:Jn}):Et[ot]=Jn,h=(Et,ot)=>{for(var Jn in ot||(ot={}))c.call(ot,Jn)&&s(Et,Jn,ot[Jn]);if(l)for(var Jn of l(ot))f.call(ot,Jn)&&s(Et,Jn,ot[Jn]);return Et},u=(Et,ot,Jn)=>new Promise((Ai,ei)=>{var Gi=En=>{try{ai(Jn.next(En))}catch(er){ei(er)}},yi=En=>{try{ai(Jn.throw(En))}catch(er){ei(er)}},ai=En=>En.done?Ai(En.value):Promise.resolve(En.value).then(Gi,yi);ai((Jn=Jn.apply(Et,ot)).next())});const a=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/course_videos/configs.json`,{method:"put",body:Et})}),x=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/course_videos/list_for_config.json`,{method:"Get",params:Et})}),p=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:Et})}),y=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/batch_late_setting`,{method:"post",body:Et})}),_=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:Et})}),b=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:Et})}),S=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:Et})}),R=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:Et})});function L(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},Et.permissions)})})}function T(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.course_id}/assistant_permissions.json`,{method:"Get",params:h({},Et)})})}function D(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/ai_status_query.json`,{method:"Get",params:Et})})}function M(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},Et)})})}function N(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/get_user_portrait_config.json`,{method:"Get",params:Et})})}function j(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_user_portrait_config.json?id=${Et.coursesId}`,{method:"put",body:h({},Et)})})}function Q(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},Et)})})}function X(Et){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},Et)})})}function Y(Et){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},Et)})})}function oe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/top_banner.json`,{method:"get",params:h({},Et)})})}function ie(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id||Et.coursesId}/left_banner.json`,{method:"get",params:h({},Et)})})}function ue(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons.json`,{method:"get",params:h({},Et)})})}function K(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons/list.json`,{method:"get",params:h({},Et)})})}function V(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/graduation_topics.json`,{method:"get",params:h({},Et)})})}function G(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/graduation_tasks.json`,{method:"get",params:h({},Et)})})}function te(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${Et.id}/exercises.json`,{method:"get",params:h({},Et)})})}function q(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/polls.json`,{method:"get",params:h({},Et)})})}function J(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons.json`,{method:"get",params:h({},Et)})})}function le(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_groups.json`,{method:"get",params:h({},Et)})})}function z(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/all_course_groups.json`,{method:"get",params:h({},Et)})})}function F(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/attendances.json`,{method:"get",params:h({},Et)})})}function se(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${Et.coursesId}/attendances.json`,{method:"get",params:h({},Et)})})}function _e(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${Et.id}/edit.json`,{method:"get",params:h({},Et)})})}function Pe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/informs.json`,{method:"get",params:h({},Et)})})}function Re(Et){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},Et)})})}function He(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_videos.json`,{method:"get",params:h({},Et)})})}function je(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/live_links.json`,{method:"get",params:h({},Et)})})}function Zt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},Et)})})}function yt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Et.categoryId}/messages.json`,{method:"get",params:h({},Et)})})}function Dt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_groups.json`,{method:"get",params:h({},Et)})})}function Qt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/students.json`,{method:"get",params:h({},Et)})})}function Jt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/statistics.json`,{method:"get",params:h({},Et)})})}function qt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/work_score.json`,{method:"get",params:h({},Et)})})}function Xe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/act_score.json`,{method:"get",params:h({},Et)})})}function Tt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},Et)})})}function jt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},Et)})})}function st(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},Et)})})}function gt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},Et)})})}function dt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},Et)})})}function Je(Et){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},Et)})})}function Ue(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},Et)})})}function ge(Et){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:Et})})}function Se(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:Et})})}function Me(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:Et})})}function $e(Et){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:Et})})}function We(Et){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:Et})})}function nt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},Et)})})}function lt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.identifier}/add_student_groups.json`,{method:"post",body:Et})})}function Vt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:Et})})}function Ht(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/add_teacher.json`,{method:"post",body:Et})})}function Ie(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/add_students_by_search.json`,{method:"post",body:Et})})}function qe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/set_public_or_private.json`,{method:"post",body:Et})})}function Gt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/set_invite_code_halt.json`,{method:"post",body:Et})})}function Ot(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/duplicate_course.json`,{method:"post",body:Et})})}function zt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_end_date.json`,{method:"put",body:Et})})}function $t(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}.json`,{method:"delete",body:Et})})}function tr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/settings.json`,{method:"get",params:h({},Et)})})}function Wt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}.json`,{method:"put",body:Et})})}function Fe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function fe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},Et)})})}function pe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},Et)})})}function Pt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},Et)})})}function Ce(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},Et)})})}function ft(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},Et)})})}function Ut(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},Et)})})}function At(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Et)})})}function Oe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},Et)})})}function wt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},Et)})})}function be(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},Et)})})}function Ke(Et){return u(this,null,function*(){return Fetch(`/api/homework_commons/${Et.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},Et)})})}function mt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${Et.id}.json`,{method:"delete",params:{export:!0}})})}function kt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${Et.id}.json`,{method:"delete",params:{export:!0}})})}function Be(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Et.id}/sticky_module.json`,{method:"get"})})}function kr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Et.id}/hidden_module.json`,{method:"get"})})}function St(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:Et})})}function Vr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${Et.id}.json`,{method:"get",params:Et})})}function Jr(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:Et})})}function Ar(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:Et})})}function Fr(Et){return u(this,null,function*(){return Fetch(`/api/polls/${Et.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},Et)})})}function mr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Et)})})}function jr(Et){return(0,r.ZP)(`/api/polls/${Et.categoryId}/start_answer.json`,{method:"get",params:h({},Et)})}function on(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${Et.questionId}/poll_votes.json`,{method:"post",body:Et})})}function fn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${Et.categoryId}/commit_poll.json`,{method:"post",body:Et})})}function or(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.courseId}/tasks_list.json`,{method:"get",params:Et})})}function Rt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.courseId}/update_task_position.json`,{method:"post",body:Et})})}function _t(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:Et})})}function vt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/all_course_groups.json`,{method:"get",params:Et})})}function Bt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/polls/all_course_groups.json`,{method:"get",params:Et})})}function Cr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/students.json`,{method:"get",params:Et})})}function gr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Et.categoryId}/rename_group.json`,{method:"POST",body:Et})})}function rn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Et.categoryId}.json`,{method:"delete",body:Et})})}function Kr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/join_course_group.json`,{method:"POST",body:Et})})}function Pn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/transfer_to_course_group.json`,{method:"post",body:Et})})}function Ct(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/delete_from_course.json`,{method:"post",body:Et})})}function cr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/join_course_group.json`,{method:"post",body:Et})})}function Xr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/exit_course.json`,{method:"post"})})}function pn(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},Et)})})}function $n(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users/${Et.user_id}/edit.json`,{method:"get",params:Et})})}function si(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users.json`,{method:"post",body:Et})})}function zn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users/${Et.user_id}.json`,{method:"put",body:Et})})}function Li(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${Et.id}/move_category.json`,{method:"post",body:Et})})}function ui(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Et.id}/move_category.json`,{method:"post",body:Et})})}function mi(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/courseware.json`,{method:"get",params:Et})})}function wi(Et,ot){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/mark_wrong_topic.json`,{method:"get",params:ot})})}function gi(Et,ot){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/cancel_wrong_topic.json`,{method:"get",params:ot})})}function Xi(Et,ot){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et}/allow_end_group.json`,{method:"get",params:ot})})}function qn(Et,ot){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:ot})})}function Yi(Et,ot){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${Et}/get_content_for_commit_id.json`,{method:"get",params:ot})})}},73801:function(d,v,e){"use strict";e.d(v,{$M:function(){return Jt},$P:function(){return Vt},Ax:function(){return x},Dh:function(){return R},FU:function(){return Y},GQ:function(){return q},IN:function(){return Ue},JM:function(){return $e},Ju:function(){return Qt},Mn:function(){return Je},Ni:function(){return se},Pg:function(){return L},Pt:function(){return S},Qp:function(){return G},R9:function(){return oe},Ux:function(){return te},Vy:function(){return He},XJ:function(){return F},XR:function(){return yt},Ze:function(){return N},aq:function(){return M},bQ:function(){return _},bu:function(){return p},cC:function(){return a},jS:function(){return ue},lm:function(){return ge},ml:function(){return le},o3:function(){return Xe},pA:function(){return jt},pS:function(){return Me},pU:function(){return z},ps:function(){return X},q0:function(){return gt},qN:function(){return dt},qS:function(){return b},qj:function(){return Zt},qt:function(){return nt},rV:function(){return T},rZ:function(){return We},rk:function(){return Pe},rm:function(){return V},sK:function(){return K},sL:function(){return st},su:function(){return Se},tC:function(){return Re},tO:function(){return je},u9:function(){return J},uZ:function(){return _e},vV:function(){return Q},xx:function(){return Ht},y8:function(){return Dt},yS:function(){return j},zF:function(){return y},zc:function(){return ie},zj:function(){return D},zz:function(){return lt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(Ie,qe,Gt)=>qe in Ie?i(Ie,qe,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Ie[qe]=Gt,h=(Ie,qe)=>{for(var Gt in qe||(qe={}))c.call(qe,Gt)&&s(Ie,Gt,qe[Gt]);if(l)for(var Gt of l(qe))f.call(qe,Gt)&&s(Ie,Gt,qe[Gt]);return Ie},u=(Ie,qe,Gt)=>new Promise((Ot,zt)=>{var $t=Fe=>{try{Wt(Gt.next(Fe))}catch(fe){zt(fe)}},tr=Fe=>{try{Wt(Gt.throw(Fe))}catch(fe){zt(fe)}},Wt=Fe=>Fe.done?Ot(Fe.value):Promise.resolve(Fe.value).then($t,tr);Wt((Gt=Gt.apply(Ie,qe)).next())});const a=Ie=>(0,r.ZP)(`/api/competitions/${Ie.identifier}/create_guide.json`,{method:"post",body:Ie}),x=Ie=>(0,r.ZP)(`/api/competitions/${Ie.identifier}/guides.json`,{method:"get",params:Ie}),p=Ie=>(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/${Ie.competition_team_id}/edit_info.json`,{method:"put",body:Ie});function y(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/update_result.json`,{method:"post",body:Ie})})}function _(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Ie)})})}function b(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Ie})})}function S(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams.json`,{method:"post"})})}function R(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_staff.json`,{method:"get"})})}function L(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/common_header.json`,{method:"get"})})}function T(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/${Ie.url}`,{method:"get",params:h({},Ie)})})}function D(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/update_md_content.json`,{method:"post",body:Ie})})}function M(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams.json`,{method:"get",params:Ie})})}function N(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/${Ie.Teannameid}/edit.json`,{method:"get",params:Ie})})}function j(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/${Ie.Teannameid}.json`,{method:"put",body:Ie})})}function Q(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/${Ie.id}/leave.json`,{method:"post",body:Ie})})}function X(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/${Ie.id}.json`,{method:"delete"})})}function Y(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams.json`,{method:"post",body:Ie})})}function oe(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.id}/add_managers.json`,{method:"post",body:Ie})})}function ie(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/join.json`,{method:"post",body:Ie})})}function ue(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/teachers.json`,{method:"get",params:Ie})})}function K(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/students.json`,{method:"get",params:Ie})})}function V(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/${Ie.teamid}/crud_team_members.json`,{method:"post",body:Ie})})}function G(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Ie})})}function te(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/chart_rules.json`,{method:"get"})})}function q(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/charts.json`,{method:"get",params:Ie})})}function J(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/results.json`,{method:"get",params:Ie})})}function le(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/md_tab_rules.json`,{method:"get",params:Ie})})}function z(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/prize.json`,{method:"get",params:Ie})})}function F(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ie.id}.json`,{method:"get",params:Ie})})}function se(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Ie})})}function _e(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ie.userid}/phone_bind.json`,{method:"post",body:Ie})})}function Pe(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ie.userid}/email_bind.json`,{method:"post",body:Ie})})}function Re(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ie.userid}/professional_auth_apply.json`,{method:"delete"})})}function He(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ie.userid}/authentication_apply.json`,{method:"delete"})})}function je(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/prize_leader_account.json`,{method:"put",body:Ie})})}function Zt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/${Ie.teamid}/shixun_detail.json`,{method:"get"})})}function yt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/${Ie.teamid}/course_detail.json`,{method:"get"})})}function Dt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Ie.id}.json`,{method:"delete"})})}function Qt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.id}/get_certificate_info.json`,{method:"get",params:Ie})})}function Jt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.id}/basic_setting.json`,{method:"post",body:Ie})})}function qt(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Xe(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie}/common_header.json`,{method:"get"})})}function Tt(Ie){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Ie})})}function jt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie==null?void 0:Ie.id}/search_managers.json`,{method:"get",params:Ie})})}function st(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie}/get_managers.json`,{method:"get"})})}function gt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie==null?void 0:Ie.id}/add_managers.json`,{method:"post",body:Ie})})}function dt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie==null?void 0:Ie.id}/delete_managers.json`,{method:"delete",body:Ie})})}function Je(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie}/get_picture.json`,{method:"get"})})}function Ue(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie==null?void 0:Ie.id}/identifier_exist.json`,{method:"post",body:Ie})})}function ge(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie}/get_shixun_settings.json`,{method:"get"})})}function Se(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie==null?void 0:Ie.id}/shixun_add.json`,{method:"post",body:Ie})})}function Me(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie==null?void 0:Ie.id}/shixun_delete.json`,{method:"delete",body:Ie})})}function $e(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie==null?void 0:Ie.id}/shixun_select.json`,{method:"post",body:Ie})})}function We(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie}/info_finish.json`,{method:"get"})})}function nt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie==null?void 0:Ie.id}/competition_review.json`,{method:"post",body:h({},Ie)})})}function lt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams.json`,{method:"get",params:Ie})})}function Vt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/all_team_members.json`,{method:"get",params:Ie})})}function Ht(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Ie})})}},1103:function(d,v,e){"use strict";e.d(v,{F:function(){return b},OE:function(){return D},ff:function(){return S},p1:function(){return R},_y:function(){return _},mK:function(){return Q},gq:function(){return Y},eM:function(){return j},BA:function(){return ue},bA:function(){return V},Nx:function(){return K},Qx:function(){return M},At:function(){return L},PX:function(){return T},Xl:function(){return N},y9:function(){return X},No:function(){return oe},ay:function(){return G}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(te,q,J)=>q in te?i(te,q,{enumerable:!0,configurable:!0,writable:!0,value:J}):te[q]=J,a=(te,q)=>{for(var J in q||(q={}))s.call(q,J)&&u(te,J,q[J]);if(f)for(var J of f(q))h.call(q,J)&&u(te,J,q[J]);return te},x=(te,q)=>l(te,c(q)),p=(te,q)=>{var J={};for(var le in te)s.call(te,le)&&q.indexOf(le)<0&&(J[le]=te[le]);if(te!=null&&f)for(var le of f(te))q.indexOf(le)<0&&h.call(te,le)&&(J[le]=te[le]);return J},y=(te,q,J)=>new Promise((le,z)=>{var F=Pe=>{try{_e(J.next(Pe))}catch(Re){z(Re)}},se=Pe=>{try{_e(J.throw(Pe))}catch(Re){z(Re)}},_e=Pe=>Pe.done?le(Pe.value):Promise.resolve(Pe.value).then(F,se);_e((J=J.apply(te,q)).next())});const _=te=>y(void 0,null,function*(){var q=te,{id:J}=q,le=p(q,["id"]);return(0,r.ZP)(`/api/ec_years/${J}/course_results.json`,{method:"get",params:le})}),b=te=>{let q=document.createElement("iframe");q.src=`/api/ec_years/${te}/course_results.xlsx`,q.style.display="none",document.body.appendChild(q)},S=({ec_year_id:te})=>(0,r.ZP)(`/api/ec_years/${te}/course_results/get_class.json`,{method:"get"}),R=({ec_year_id:te,id:q,class_name:J=null})=>(0,r.ZP)(`/api/ec_years/${te}/course_results/${q}.json`,{method:"get",params:{class_name:J}}),L=({ec_year_id:te})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:te}}),T=({ec_course_id:te})=>(0,r.ZP)(`/api/ec_courses/${te}/evaluations/evaluation_data`,{method:"POST"}),D=te=>{let q=document.createElement("iframe");q.src=`/api/ec_years/${te}/ec_graduation_results.xlsx`,q.style.display="none",document.body.appendChild(q)},M=({ec_year_id:te})=>(0,r.ZP)(`/api/ec_years/${te}/ec_graduation_results/compute_all`,{method:"post"}),N=({ec_year_id:te,id:q})=>(0,r.ZP)(`/api/ec_years/${te}/ec_graduation_results/compute_single?id=${q}`,{method:"POST"}),j=te=>(0,r.ZP)(`/api/ec_years/${te}/ec_graduation_results.json`,{method:"get"}),Q=te=>(0,r.ZP)(`/api/ec_years/${te}/ec_graduation_results/get_formulas.json`,{method:"get"}),X=({ec_year_id:te,formula_one:q,formula_two:J,formula_three:le})=>(0,r.ZP)(`/api/ec_years/${te}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:q,formula_two_id:J,formula_three_id:le}}),Y=({ec_year_id:te,id:q})=>(0,r.ZP)(`/api/ec_years/${te}/ec_graduation_results/${q}.json`,{method:"get"}),oe=te=>{var q=te,{ec_year_id:J,type:le,goal_value:z}=q,F=p(q,["ec_year_id","type","goal_value"]);let se=`?type=${le}`,_e={method:"PUT"};return le==="all"&&(se+=`&goal_value=${z}`),le==="each"&&(_e=x(a({},_e),{body:F})),(0,r.ZP)(`/api/ec_years/${J}/ec_graduation_results/set_goal_value${se}`,_e)};var ie=(te,q,J)=>new Promise((le,z)=>{var F=Pe=>{try{_e(J.next(Pe))}catch(Re){z(Re)}},se=Pe=>{try{_e(J.throw(Pe))}catch(Re){z(Re)}},_e=Pe=>Pe.done?le(Pe.value):Promise.resolve(Pe.value).then(F,se);_e((J=J.apply(te,q)).next())});const ue=te=>ie(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${te}/ec_majors/get_major_list.json`,{method:"get"})}),K=te=>ie(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${te}/ec_years/get_year_list.json`,{method:"get"})}),V=({ec_year_id:te,school_id:q})=>(0,r.ZP)(`/api/ec_years/${te}/top_pages.json`,{method:"get",params:{school_id:q}}),G=({id:te,name:q})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${te}?name=${q}`,{method:"PUT"})},81722:function(d,v,e){"use strict";e.d(v,{$Q:function(){return D},$l:function(){return gr},BJ:function(){return dt},CD:function(){return qe},Cd:function(){return nt},Cl:function(){return Be},Di:function(){return qt},Fl:function(){return jt},G$:function(){return le},GK:function(){return Tt},Ip:function(){return ge},J:function(){return z},KE:function(){return st},L8:function(){return Wt},LP:function(){return Se},MK:function(){return Xe},Mb:function(){return Ar},N0:function(){return X},N3:function(){return je},OO:function(){return L},P8:function(){return fn},PJ:function(){return se},PT:function(){return mr},Qc:function(){return oe},RK:function(){return J},Ty:function(){return Ke},UH:function(){return ft},UK:function(){return Zt},Uj:function(){return Ht},Ul:function(){return We},VL:function(){return zt},Vj:function(){return fe},W4:function(){return Vt},WL:function(){return pe},Wj:function(){return q},X4:function(){return Ue},Xn:function(){return Vr},Xo:function(){return ue},YY:function(){return Jt},Ym:function(){return j},Yu:function(){return or},ZD:function(){return on},Zg:function(){return kr},_B:function(){return Ie},_F:function(){return Fr},_U:function(){return V},_u:function(){return _e},aU:function(){return Q},ab:function(){return kt},cC:function(){return be},cV:function(){return G},ck:function(){return jr},dp:function(){return Y},eA:function(){return Bt},fG:function(){return S},gA:function(){return te},gG:function(){return Jr},gJ:function(){return Rt},hk:function(){return y},hv:function(){return _},iB:function(){return b},iU:function(){return R},iw:function(){return wt},kp:function(){return $t},lL:function(){return T},lf:function(){return He},n$:function(){return Re},n7:function(){return K},nF:function(){return Fe},o3:function(){return _t},oS:function(){return Me},oX:function(){return Ot},oy:function(){return mt},p7:function(){return N},pL:function(){return Gt},pu:function(){return Je},q6:function(){return tr},qf:function(){return Qt},qz:function(){return $e},s:function(){return At},sA:function(){return Pt},sS:function(){return vt},tX:function(){return Ut},uR:function(){return yt},ux:function(){return gt},wy:function(){return Dt},xA:function(){return Oe},yE:function(){return ie},yu:function(){return Ce},zP:function(){return M},zR:function(){return Cr}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Ct,cr,Xr)=>cr in Ct?i(Ct,cr,{enumerable:!0,configurable:!0,writable:!0,value:Xr}):Ct[cr]=Xr,a=(Ct,cr)=>{for(var Xr in cr||(cr={}))s.call(cr,Xr)&&u(Ct,Xr,cr[Xr]);if(f)for(var Xr of f(cr))h.call(cr,Xr)&&u(Ct,Xr,cr[Xr]);return Ct},x=(Ct,cr)=>l(Ct,c(cr)),p=(Ct,cr,Xr)=>new Promise((pn,$n)=>{var si=ui=>{try{Li(Xr.next(ui))}catch(mi){$n(mi)}},zn=ui=>{try{Li(Xr.throw(ui))}catch(mi){$n(mi)}},Li=ui=>ui.done?pn(ui.value):Promise.resolve(ui.value).then(si,zn);Li((Xr=Xr.apply(Ct,cr)).next())});const y=Ct=>(0,r.ZP)(`/api/exercises/${Ct==null?void 0:Ct.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:Ct}),_=Ct=>(0,r.ZP)(`/api/exercises/${Ct==null?void 0:Ct.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:Ct}),b=Ct=>(0,r.ZP)(`/api/exercises/${Ct.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:Ct}),S=Ct=>(0,r.ZP)(`/api/exercises/${Ct.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:Ct}),R=Ct=>(0,r.ZP)(`/api/exercises/${Ct==null?void 0:Ct.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:Ct}),L=Ct=>(0,r.ZP)(`/api/exercises/${Ct==null?void 0:Ct.exercise_id}/statistics/list_student_score.json`,{method:"get",params:Ct}),T=Ct=>(0,r.ZP)(`/api/exercises/${Ct==null?void 0:Ct.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:Ct}),D=Ct=>(0,r.ZP)(`/api/exercises/${Ct==null?void 0:Ct.exercise_id}/statistics/score_ranges.json`,{method:"get",params:Ct}),M=Ct=>(0,r.ZP)(`/api/exercises/${Ct.id}/sava_exam_summary.json`,{method:"post",body:Ct}),N=Ct=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:Ct}),j=Ct=>(0,r.ZP)(`/api/exercises/${Ct.id}/generate_exam_summary.json`,{method:"post",body:Ct}),Q=Ct=>(0,r.ZP)(`/api/exercises/${Ct.id}/exam_summary_settings.json`,{method:"post",body:Ct}),X=Ct=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct==null?void 0:Ct.exercise_id}/review_exercise_user.json`,{method:"post",body:Ct})}),Y=Ct=>(0,r.ZP)(`/api/exercises/${Ct==null?void 0:Ct.id}/code_check.json`,{method:"get",params:Ct}),oe=Ct=>(0,r.ZP)(`/api/exercises/${Ct.id}/reset_pwd.json`,{method:"post",body:Ct}),ie=Ct=>(0,r.ZP)(`/api/exercises/${Ct.id}/encrypt_or_decrypt.json`,{method:"post",body:Ct}),ue=Ct=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.id}/delayed_time_or_force.json`,{method:"post",body:Ct})}),K=Ct=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct==null?void 0:Ct.id}/exercise_time.json`,{method:"Get",params:Ct})}),V=Ct=>(0,r.ZP)(`/api/exercises/${Ct==null?void 0:Ct.id}/exercise_question_result.json`,{method:"get",params:Ct}),G=Ct=>(0,r.ZP)(`/api/exercises/${Ct.id}/get_question_type_alias.json`,{method:"get",params:Ct});function te(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Ct==null?void 0:Ct.id}/teacher_update.json`,{method:"post",body:a({},Ct)})})}function q(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Ct==null?void 0:Ct.id}/adjust_comment.json`,{method:"post",body:a({},Ct)})})}function J(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.id}/edit_question_type_alias.json`,{method:"POST",body:Ct})})}function le(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/exercise_lists.json`,{method:"get",params:a({},Ct)})})}function z(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},Ct)})})}function F(Ct){return p(this,null,function*(){return Fetch(`/api/exercises/${Ct.categoryId}/video_push_url.json`,{method:"get",params:a({},Ct)})})}function se(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},Ct)})})}function _e(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/exercise_result.json`,{method:"get",params:a({},Ct)})})}function Pe(Ct){return p(this,null,function*(){return Fetch(`/api/exercises/${Ct.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},Ct)})})}function Re(Ct){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Ct)})})}function He(Ct){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},Ct)})})}function je(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ct.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},Ct)})})}function Zt(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/common_header.json`,{method:"get",params:a({},Ct)})})}function yt(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ct.coursesId}/exercises.json`,{method:"post",body:a({},Ct)})})}function Dt(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.exerciseId}.json`,{method:"put",body:a({},Ct)})})}function Qt(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}.json`,{method:"get",params:a({},Ct)})})}function Jt(Ct){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},Ct)})})}function qt(Ct){return p(this,null,function*(){const{id:cr}=Ct;return delete Ct.id,(0,r.ZP)(`/api/exercise_questions/${cr}.json`,{method:"put",body:a({},Ct)})})}function Xe(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/exercise_questions.json`,{method:"post",body:a({},Ct)})})}function Tt(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Ct.id}/up_down.json`,{method:"post",body:a({},Ct)})})}function jt(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Ct.id}.json`,{method:"delete"})})}function st(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ct.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},Ct)})})}function gt(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/publish_groups.json`,{method:"get",params:a({},Ct)})})}function dt(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},Ct)})})}function Je(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.exerciseId}/consult_exercise.json`,{method:"post",body:a({},Ct)})})}function Ue(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},Ct)})})}function ge(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Ct.id}/adjust_score.json`,{method:"post",body:a({},Ct)})})}function Se(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Ct.id}/batch_adjust_score.json`,{method:"post",body:a({},Ct)})})}function Me(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.id}/adjust_score.json`,{method:"post",body:a({},Ct)})})}function $e(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.id}/delayed_time.json`,{method:"post",body:a({},Ct)})})}function We(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/exercise_setting.json`,{method:"get",params:a({},Ct)})})}function nt(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${Ct.categoryId}/exercise_setting.json`,{method:"get",params:a({},Ct)})})}function lt(Ct){return p(this,null,function*(){return Fetch(`/api/exercises/${Ct.categoryId}/commit_setting.json`,{method:"post",body:a({},Ct)})})}function Vt(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},Ct)})})}function Ht(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},Ct),{export:!0})})})}function Ie(Ct){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},Ct),{login:null})})}function qe(Ct){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/start.json`,{method:"get",params:a({},Ct)})}function Gt(Ct){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/start_unlock.json`,{method:"post",body:a({},Ct)})}function Ot(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Ct.questionId}/exercise_answers.json`,{method:"post",body:Ct})})}function zt(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/commit_exercise.json`,{method:"post",body:Ct})})}function $t(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/simulate_commit_exercise.json`,{method:"post",body:Ct})})}function tr(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/redo_exercise.json`,{method:"post",body:Ct})})}function Wt(Ct){return(0,r.ZP)(`/api/${Ct.url}`,{method:"get",params:a({},Ct)})}function Fe(Ct){return(0,r.ZP)(`/api/problems/${Ct.id}/start.json`,{method:"get",params:a({},Ct)})}function fe(Ct){return(0,r.ZP)(`/api/exercises/${Ct.id}/begin_commit.json`,{method:"get",params:a({},Ct)})}function pe(Ct){return(0,r.ZP)(`/api/exercises/${Ct.id}/simulate_begin_commit.json`,{method:"get",params:a({},Ct)})}function Pt(Ct){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},Ct)})}function Ce(Ct){return console.log("params:",Ct),(0,r.ZP)(`/api/exercises/${Ct.categoryId}/edit.json`,{method:"get",params:a({},Ct)})}function ft(Ct){return(0,r.ZP)(`/api/exercises/${Ct.id}/get_objective_scores.json`,{method:"get",params:a({},Ct)})}function Ut(Ct){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/redo_modal.json`,{method:"get",params:a({},Ct)})}function At(Ct){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/student_redo_lists.json`,{method:"get",params:a({},Ct)})}function Oe(Ct){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:Ct})}function wt(Ct){return(0,r.ZP)(`/api/exercises/${Ct.id}/exercise_header.json`,{method:"get",params:a({},Ct)})}function be(Ct){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/allow_close_camera.json`,{method:"post",body:a({},Ct)})}function Ke(Ct){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},Ct)})}function mt(Ct){return(0,r.ZP)(`/api/exercises/${Ct.id}/record_screen`,{method:"post",params:a({},Ct)})}function kt(Ct){return(0,r.ZP)(`/api/exercises/${Ct.id}/unbind_ip.json`,{method:"post",body:a({},Ct)})}function Be(Ct){return(0,r.ZP)(`/api/exercises/${Ct.id}/check_ip.json`,{method:"get",params:a({},Ct)})}function kr(Ct){return(0,r.ZP)(`/api/exercises/${Ct==null?void 0:Ct.id}/check_user_exercise.json`,{method:"get",params:a({},Ct)})}function St(Ct){return Fetch(`/api/exercises/${Ct.id}/make_up_students.json`,{method:"get",params:a({},Ct)})}function Vr(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ct.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},Ct)})})}function Jr(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Ct.question_id}/adjust_score.json`,{method:"post",body:a({},Ct)})})}function Ar(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ct.categoryId}/simulate_exercise.json`,{method:"post",body:a({},Ct)})})}function Fr(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},Ct)})})}function mr(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/exercise_time.json`,{method:"get",params:a({},Ct)})})}function jr(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct.categoryId}/commit_screen_at.json`,{method:"post",body:a({},Ct)})})}function on(Ct,cr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct}/unlock_user`,{method:"post",body:cr})})}function fn(Ct,cr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct}/save_screen_record.json`,{method:"post",body:cr})})}function or(Ct,cr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct}/screen_record_list.json`,{method:"get",params:cr})})}function Rt(Ct){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},Ct)})})}function _t(Ct){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:Ct})})}function vt(Ct,cr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Ct}/mark.json`,{method:"post",body:cr})})}function Bt(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ct}/exit_delete_pod.json`,{method:"post",body:Ct})})}function Cr(Ct){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:Ct})})}function gr(Ct){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Ct==null?void 0:Ct.id}/send_to_item_bank.json`,{method:"post",body:a({},Ct)})})}function rn(Ct){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${Ct.exercise_id}/wrong_details.json`,{method:"get",params:a({},Ct)})})}function Kr(Ct){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${Ct.exercise_id}/wrong_question.json`,{method:"get",params:a({},Ct)})})}function Pn(Ct){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${Ct.exercise_id}/wrong_question_lists.json`,{method:"get",params:a({},Ct)})})}},94670:function(d,v,e){"use strict";e.d(v,{B0:function(){return p},Si:function(){return L},Sr:function(){return D},YP:function(){return T},b4:function(){return R},bc:function(){return a},dX:function(){return S},eh:function(){return M},iI:function(){return _},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return j},vL:function(){return N},z5:function(){return Q}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(X,Y,oe)=>Y in X?i(X,Y,{enumerable:!0,configurable:!0,writable:!0,value:oe}):X[Y]=oe,h=(X,Y)=>{for(var oe in Y||(Y={}))c.call(Y,oe)&&s(X,oe,Y[oe]);if(l)for(var oe of l(Y))f.call(Y,oe)&&s(X,oe,Y[oe]);return X},u=(X,Y,oe)=>new Promise((ie,ue)=>{var K=te=>{try{G(oe.next(te))}catch(q){ue(q)}},V=te=>{try{G(oe.throw(te))}catch(q){ue(q)}},G=te=>te.done?ie(te.value):Promise.resolve(te.value).then(K,V);G((oe=oe.apply(X,Y)).next())});function a(X){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:X})})}function x(X){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:X})})}function p(X){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${X.id}/sticky_or_cancel.json`,{method:"post",body:X})})}function y(X){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${X.id}.json`,{method:"delete",body:X})})}function _(X){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:X})})}function b(X){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${X.id}/edit.json`,{method:"get",params:X})})}function S(X){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},X)})})}function R(X){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${X.id}.json`,{method:"put",body:h({},X)})})}function L(X){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${X.id}.json`,{method:"get",params:X})})}function T(X){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${X.user_id}/watch.json`,{method:"post",body:X})})}function D(X){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${X.user_id}/watch.json`,{method:"delete",body:h({},X)})})}function M(X){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${X.id}/reward_code.json`,{method:"post",body:X})})}function N(X){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${X.id}/plus.json`,{method:"post",body:X})})}function j(X){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:X})})}function Q(X){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${X.id}/more_reply.json`,{method:"get",params:X})})}},22072:function(d,v,e){"use strict";e.d(v,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(38986),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=M=>{try{D(b.next(M))}catch(N){R(N)}},T=M=>{try{D(b.throw(M))}catch(N){R(N)}},D=M=>M.done?S(M.value):Promise.resolve(M.value).then(L,T);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})})}},24059:function(d,v,e){"use strict";e.d(v,{B6:function(){return p},Gr:function(){return j},Mf:function(){return D},NA:function(){return L},PC:function(){return S},PP:function(){return R},QA:function(){return x},RP:function(){return Y},Sv:function(){return X},YQ:function(){return T},_n:function(){return oe},hL:function(){return N},je:function(){return b},mM:function(){return _},wA:function(){return Q},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(ie,ue,K)=>ue in ie?i(ie,ue,{enumerable:!0,configurable:!0,writable:!0,value:K}):ie[ue]=K,h=(ie,ue)=>{for(var K in ue||(ue={}))c.call(ue,K)&&s(ie,K,ue[K]);if(l)for(var K of l(ue))f.call(ue,K)&&s(ie,K,ue[K]);return ie},u=(ie,ue,K)=>new Promise((V,G)=>{var te=le=>{try{J(K.next(le))}catch(z){G(z)}},q=le=>{try{J(K.throw(le))}catch(z){G(z)}},J=le=>le.done?V(le.value):Promise.resolve(le.value).then(te,q);J((K=K.apply(ie,ue)).next())});function a(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}.json`,{method:"get",params:h({},ie)})})}function x(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}/tasks_list.json`,{method:"get",params:h({},ie)})})}function p(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/show_detail.json`,{method:"get",params:h({},ie)})})}function y(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}.json`,{method:"get",params:h({},ie)})})}function _(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ie)})})}function b(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ie)})})}function S(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ie.categoryId}/show_comment.json`,{method:"get",params:h({},ie)})})}function R(ie){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ie)})})}function L(ie){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ie)})})}function T(ie){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ie)})})}function D(ie){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ie)})})}function M(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ie)})})}function N(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/edit.json`,{method:"get",params:h({},ie)})})}function j(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics`,{method:"post",body:h({},ie)})})}function Q(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}`,{method:"put",body:h({},ie)})})}function X(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_tasks`,{method:"post",body:h({},ie)})})}function Y(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}.json`,{method:"put",body:h({},ie)})})}function oe(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}/edit.json`,{method:"get",params:h({},ie)})})}},12309:function(d,v,e){"use strict";e.d(v,{AA:function(){return Q},Db:function(){return x},Dd:function(){return b},F7:function(){return K},Fi:function(){return le},H3:function(){return _},HF:function(){return R},HH:function(){return y},Ib:function(){return te},J3:function(){return s},NT:function(){return l},NX:function(){return T},Ot:function(){return L},Ou:function(){return V},Ps:function(){return c},Rk:function(){return ue},Tz:function(){return a},V1:function(){return q},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ie},YS:function(){return Y},Zd:function(){return J},bS:function(){return D},ck:function(){return S},eh:function(){return j},il:function(){return h},j7:function(){return u},jW:function(){return X},km:function(){return oe},l5:function(){return N},rU:function(){return z},xF:function(){return M},zC:function(){return G},zT:function(){return F}});var r=e(38986),i=(se,_e,Pe)=>new Promise((Re,He)=>{var je=Dt=>{try{yt(Pe.next(Dt))}catch(Qt){He(Qt)}},Zt=Dt=>{try{yt(Pe.throw(Dt))}catch(Qt){He(Qt)}},yt=Dt=>Dt.done?Re(Dt.value):Promise.resolve(Dt.value).then(je,Zt);yt((Pe=Pe.apply(se,_e)).next())});function l(se){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:se})}function c(se){return(0,r.ZP)(`/api/schools/${se.id}/departments/for_option.json`,{method:"get",params:se})}function f(se){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:se})}function s(se){return(0,r.ZP)("/api/graduations.json",{method:"get",params:se})}function h(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_stages/${se.stageid}/authorized_redelivery.json`,{method:"POST",body:se})})}function u(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_stages/${se.stageid}/submit.json`,{method:"POST",body:se})})}function a(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/export_status.json`,{method:"get",params:se})})}function x(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/export_all_attachments.json`,{method:"get",params:se})})}function p(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_stages/${se.id}.json`,{method:"get",params:se})})}function y(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/set_final_score.json`,{method:"POST",body:se})})}function _(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/final_score.json`,{method:"get",params:se})})}function b(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/set_novice_guide.json`,{method:"POST",body:se})})}function S(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_notices/${se.doid}/set_do.json`,{method:"POST",body:se})})}function R(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_teachers.json`,{method:"POST",body:se})})}function L(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_students/${se.id}/update_major.json`,{method:"PUT",body:se})})}function T(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_students.json`,{method:"POST",body:se})})}function D(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_teachers/search.json`,{method:"get",params:se})})}function M(se){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:se})})}function N(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_students/search.json`,{method:"get",params:se})})}function j(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_students.json`,{method:"get",params:se})})}function Q(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_teachers.json`,{method:"get",params:se})})}function X(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.graduation_id}/graduation_tasks.json`,{method:"POST",body:se})})}function Y(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.graduation_id}/graduation_tasks/${se.id}.json`,{method:"PUT",body:se})})}function oe(se){return i(this,null,function*(){var _e;return(0,r.ZP)(`/api/graduations/${se.id}/graduation_tasks/${(_e=se.ids)==null?void 0:_e[0]}`,{method:"DELETE",body:{ids:se.ids}})})}function ie(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_tasks.json`,{method:"get",params:se})})}function ue(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_notices.json`,{method:"get",params:se})})}function K(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}.json`,{method:"get"})})}function V(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se==null?void 0:se.id}/common_header.json`,{method:"get"})})}function G(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/preview.json`,{method:"get"})})}function te(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_teachers/not_pass.json`,{method:"post",body:_e})})}function q(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_teachers/pass.json`,{method:"post",body:_e})})}function J(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_students/not_pass.json`,{method:"post",body:_e})})}function le(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_students/pass.json`,{method:"post",body:_e})})}function z(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_students/batch_delete`,{method:"delete",body:_e})})}function F(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_teachers/batch_delete`,{method:"delete",body:_e})})}},82220:function(d,v,e){"use strict";e.d(v,{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(38986),i=(p,y,_)=>new Promise((b,S)=>{var R=D=>{try{T(_.next(D))}catch(M){S(M)}},L=D=>{try{T(_.throw(D))}catch(M){S(M)}},T=D=>D.done?b(D.value):Promise.resolve(D.value).then(R,L);T((_=_.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})})}},50958:function(d,v,e){"use strict";e.d(v,{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(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(L,T,D)=>T in L?i(L,T,{enumerable:!0,configurable:!0,writable:!0,value:D}):L[T]=D,h=(L,T)=>{for(var D in T||(T={}))c.call(T,D)&&s(L,D,T[D]);if(l)for(var D of l(T))f.call(T,D)&&s(L,D,T[D]);return L},u=(L,T,D)=>new Promise((M,N)=>{var j=Y=>{try{X(D.next(Y))}catch(oe){N(oe)}},Q=Y=>{try{X(D.throw(Y))}catch(oe){N(oe)}},X=Y=>Y.done?M(Y.value):Promise.resolve(Y.value).then(j,Q);X((D=D.apply(L,T)).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"})})}},49379:function(d,v,e){"use strict";e.d(v,{A2:function(){return b},CI:function(){return p},Ep:function(){return _},Ex:function(){return M},R7:function(){return a},WW:function(){return N},_V:function(){return D},ms:function(){return L},s0:function(){return S},vf:function(){return y},xn:function(){return x},yy:function(){return T}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(j,Q,X)=>Q in j?i(j,Q,{enumerable:!0,configurable:!0,writable:!0,value:X}):j[Q]=X,h=(j,Q)=>{for(var X in Q||(Q={}))c.call(Q,X)&&s(j,X,Q[X]);if(l)for(var X of l(Q))f.call(Q,X)&&s(j,X,Q[X]);return j},u=(j,Q,X)=>new Promise((Y,oe)=>{var ie=V=>{try{K(X.next(V))}catch(G){oe(G)}},ue=V=>{try{K(X.throw(V))}catch(G){oe(G)}},K=V=>V.done?Y(V.value):Promise.resolve(V.value).then(ie,ue);K((X=X.apply(j,Q)).next())});function a(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/online_learning.json`,{method:"get"})})}function x(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}.json`,{method:"put",body:j})})}function p(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/course_stages.json`,{method:"post",body:j})})}function y(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_shixun_to_stage.json`,{method:"post",body:j})})}function _(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/select_shixun_to_stage.json`,{method:"post",body:j})})}function b(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_video_to_stage.json`,{method:"post",body:j})})}function S(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_attachment_to_stage.json`,{method:"post",body:j})})}function R(j){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:j})})}function L(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/up_position.json`,{method:"post"})})}function T(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/down_position.json`,{method:"post"})})}function D(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}.json`,{method:"delete"})})}function M(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.stage_id}/items/move_position.json`,{method:"post",body:h({},j)})})}function N(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.stage_id}/items/${j.id}`,{method:"delete"})})}},93629:function(d,v,e){"use strict";e.d(v,{DF:function(){return b},Di:function(){return q},Dm:function(){return ue},Dq:function(){return Pe},Gd:function(){return _},Hb:function(){return Re},Hm:function(){return Y},ID:function(){return u},JP:function(){return _e},NC:function(){return Q},Pl:function(){return S},Qc:function(){return c},Qp:function(){return K},RK:function(){return x},YP:function(){return X},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 M},jK:function(){return ie},kF:function(){return He},kp:function(){return D},lc:function(){return T},oF:function(){return le},q$:function(){return h},qN:function(){return oe},tS:function(){return L},ts:function(){return N},un:function(){return G},w0:function(){return te},wX:function(){return V},yE:function(){return f}});var r=e(38986),i=(je,Zt,yt)=>new Promise((Dt,Qt)=>{var Jt=Tt=>{try{Xe(yt.next(Tt))}catch(jt){Qt(jt)}},qt=Tt=>{try{Xe(yt.throw(Tt))}catch(jt){Qt(jt)}},Xe=Tt=>Tt.done?Dt(Tt.value):Promise.resolve(Tt.value).then(Jt,qt);Xe((yt=yt.apply(je,Zt)).next())});const l=je=>(0,r.ZP)(`/api/examination_banks/${je==null?void 0:je.id}/code_check.json`,{method:"get",params:je}),c=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/reset_pwd.json`,{method:"post",body:je}),f=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/encrypt_or_decrypt.json`,{method:"post",body:je}),s=je=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:je}),h=je=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:je}),u=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/copy.json`,{method:"post",body:je}),a=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/get_question_type_alias.json`,{method:"get",params:je});function x(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/edit_question_type_alias.json`,{method:"POST",body:je})})}function p(je){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:je})})}function y(je){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:je})})}function _(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:je})})}function b(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/set_public.json`,{method:"post"})})}function S(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/set_private.json`,{method:"post"})})}function R(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"delete"})})}function L(je){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:je})})}const T=je=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:je});function D(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/send_to_course.json`,{method:"post",body:je})})}function M(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"get",params:je})})}function N(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/set_score`,{method:"post",body:je})})}function j(je){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/set_shixun_score.json`,{method:"post",body:je})})}function Q(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}.json`,{method:"delete"})})}function X(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:je})})}function Y(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:je})})}function oe(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/adjust_position.json`,{method:"post",body:je})})}function ie(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"put",body:je})})}function ue(je){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:je})})}function K(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:je})})}function V(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je==null?void 0:je.id}/set_public.json`,{method:"post",body:je})})}function G(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:je})})}function te(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/update_exam.json`,{method:"put",body:je})})}function q(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/edit_exam.json`,{method:"get"})})}function J(je,Zt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/examination_banks_item_banks.json`,{method:"post",body:Zt})})}function le(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:je})})}function z(je,Zt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/sort_question_type.json`,{method:"post",body:Zt})})}function F(je){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je.exam_id}/examination_banks_item_banks/${je.question_id}.json`,{method:"delete"})})}function se(je,Zt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/batch_set_score.json`,{method:"post",body:Zt})})}function _e(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je}/simulate_exercise.json`,{method:"post"})})}function Pe(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je}/exercise_header.json`,{method:"get"})})}function Re(je,Zt,yt){return i(this,null,function*(){const Dt=new FormData;return Dt.append("file",Zt),Dt.append("sub_discipline_id",yt),(0,r.ZP)(`/api/examination_banks/${je}/import_item_banks.json`,{method:"post",body:Dt},!0)})}function He(je){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:je})})}},36714:function(d,v,e){"use strict";e.d(v,{$D:function(){return K},A2:function(){return ge},A7:function(){return Ut},AQ:function(){return j},Ax:function(){return Ie},Bn:function(){return wt},CI:function(){return We},DQ:function(){return pe},DU:function(){return jt},EP:function(){return ue},Ep:function(){return Ue},Er:function(){return se},Ex:function(){return Ot},FD:function(){return Pt},F_:function(){return Tt},Fg:function(){return x},GY:function(){return Wt},Go:function(){return le},Gz:function(){return p},Hl:function(){return y},JS:function(){return yt},KM:function(){return te},M2:function(){return Me},MO:function(){return _e},Mt:function(){return $e},Mu:function(){return qe},NV:function(){return Oe},Q:function(){return Pe},Sp:function(){return N},VO:function(){return Ce},WD:function(){return tr},WO:function(){return F},WW:function(){return zt},_C:function(){return At},_V:function(){return Ht},bw:function(){return ie},bz:function(){return fe},c3:function(){return Zt},eJ:function(){return J},ef:function(){return Xe},fh:function(){return R},fj:function(){return z},hS:function(){return _},jT:function(){return ft},ke:function(){return $t},lk:function(){return M},mQ:function(){return D},ms:function(){return lt},mx:function(){return He},nq:function(){return a},ol:function(){return Fe},p:function(){return X},p4:function(){return Re},pU:function(){return T},rS:function(){return Dt},rs:function(){return q},s0:function(){return Se},sm:function(){return je},tS:function(){return b},tu:function(){return L},ue:function(){return Q},vf:function(){return dt},w4:function(){return Y},xG:function(){return Je},xn:function(){return gt},yN:function(){return oe},yy:function(){return Vt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(be,Ke,mt)=>Ke in be?i(be,Ke,{enumerable:!0,configurable:!0,writable:!0,value:mt}):be[Ke]=mt,h=(be,Ke)=>{for(var mt in Ke||(Ke={}))c.call(Ke,mt)&&s(be,mt,Ke[mt]);if(l)for(var mt of l(Ke))f.call(Ke,mt)&&s(be,mt,Ke[mt]);return be},u=(be,Ke,mt)=>new Promise((kt,Be)=>{var kr=Jr=>{try{Vr(mt.next(Jr))}catch(Ar){Be(Ar)}},St=Jr=>{try{Vr(mt.throw(Jr))}catch(Ar){Be(Ar)}},Vr=Jr=>Jr.done?kt(Jr.value):Promise.resolve(Jr.value).then(kr,St);Vr((mt=mt.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 T(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 M(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"get",params:h({identifier:be.id},be)})})}function N(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}.json`,{method:"get",params:h({identifier:be.id},be)})})}function j(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/right_banner.json`,{method:"get",params:be})})}function Q(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"get",params:be})})}const X=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:be})}),Y=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 ie(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/update_team_title.json`,{method:"post",body:be})})}function ue(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/delete_member.json`,{method:"Delete",body:be})})}function K(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 V(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/up_member_position.json`,{method:"post",body:be})})}function G(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/down_member_position.json`,{method:"post",body:be})})}function te(be){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:be})})}function q(be){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:be})})}function J(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"Delete",body:be})})}function le(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/publish.json`,{method:"post",body:be})})}function z(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_publish.json`,{method:"post",body:be})})}function F(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/apply_public.json`,{method:"post",body:be})})}function se(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_public.json`,{method:"post",body:be})})}function _e(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/choose_course.json`,{method:"get",params:be})})}function Pe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/send_to_course.json`,{method:"post",body:be})})}function Re(be){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${be.id}/send_to_course.json`,{method:"post",body:be})})}function He(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/add_subject_members.json`,{method:"post",body:be})})}function je(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"post",body:be})})}function Zt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/appointment.json`,{method:"post",body:be})})}function yt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}/join_excellent_course.json`,{method:"post",body:be})})}function Dt(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 Jt(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/shixun_analyze.json`,{method:"get",params:be})})}function qt(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 Tt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/shixun_statistics.json`,{method:"get",params:be})})}function jt(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 gt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"put",body:be})})}function dt(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 Se(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 We(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 lt(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 Ht(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"delete"})})}function Ie(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 Ot(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.stage_id}/items/move_position`,{method:"post",body:h({},be)})})}function zt(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 tr(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/post_discuss`,{method:"post",body:h({},be)})})}function Wt(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:be})})}function Fe(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 pe(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 Pt(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 Ce(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 ft(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 Ut(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 At(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 Oe(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:be})})}function wt(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})})}},7299:function(d,v,e){"use strict";e.d(v,{Fd:function(){return te},Hi:function(){return y},IU:function(){return Q},KE:function(){return b},Kc:function(){return J},MK:function(){return X},Q9:function(){return D},Qg:function(){return j},Qn:function(){return R},UK:function(){return p},W:function(){return z},Ye:function(){return N},_c:function(){return a},hO:function(){return ue},iV:function(){return le},jy:function(){return Y},kp:function(){return ie},lf:function(){return T},m7:function(){return _},n$:function(){return L},rJ:function(){return M},s3:function(){return x},ux:function(){return S},vf:function(){return G},wh:function(){return oe},wo:function(){return q},x$:function(){return V}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(F,se,_e)=>se in F?i(F,se,{enumerable:!0,configurable:!0,writable:!0,value:_e}):F[se]=_e,h=(F,se)=>{for(var _e in se||(se={}))c.call(se,_e)&&s(F,_e,se[_e]);if(l)for(var _e of l(se))f.call(se,_e)&&s(F,_e,se[_e]);return F},u=(F,se,_e)=>new Promise((Pe,Re)=>{var He=yt=>{try{Zt(_e.next(yt))}catch(Dt){Re(Dt)}},je=yt=>{try{Zt(_e.throw(yt))}catch(Dt){Re(Dt)}},Zt=yt=>yt.done?Pe(yt.value):Promise.resolve(yt.value).then(He,je);Zt((_e=_e.apply(F,se)).next())});const a=F=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${F==null?void 0:F.id}/commit_word_cloud.json`,{method:"Get",params:F})});function x(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.categoryId}/poll_lists.json`,{method:"get",params:h({},F)})})}function p(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.categoryId}/common_header.json`,{method:"get"})})}function y(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.categoryId}/poll_setting.json`,{method:"get"})})}function _(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.categoryId}/commit_setting.json`,{method:"post",body:h({},F)})})}function b(F){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${F.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},F)})})}function S(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.categoryId}/publish_groups.json`,{method:"get",params:h({},F)})})}function R(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.categoryId}/commit_result.json`,{method:"get",params:h({},F)})})}function L(F){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},F)})})}function T(F){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},F)})})}function D(F){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${F.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},F)})})}function M(F){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${F.coursesId}/polls.json`,{method:"POST",body:h({},F)})})}function N(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.categoryId}/edit.json`,{method:"get"})})}function j(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.pollsId}.json`,{method:"put",body:h({},F)})})}function Q(F){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${F.pollsId}.json`,{method:"put",body:h({},F)})})}function X(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.pollsId}/poll_questions.json`,{method:"post",body:h({},F)})})}function Y(F){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${F.pollsId}.json`,{method:"delete",body:h({},F)})})}function oe(F){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${F.pollsId}/up_down.json`,{method:"post",body:h({},F)})})}function ie(F){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${F.topicId}.json`,{method:"get"})})}function ue(F){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${F.topicId}.json`,{method:"put",body:h({},F)})})}function K(F){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${F.topicId}.json`,{method:"put",body:h({},F)})})}function V(F){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${F.pollsId}.json`,{method:"delete",body:h({},F)})})}function G(F){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${F.pollsId}/up_down.json`,{method:"post",body:h({},F)})})}function te(F){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},F)})})}function q(F){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${F.pollsId}.json`,{method:"put",body:h({},F)})})}function J(F){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${F.id}.json`,{method:"put",body:h({},F)})})}function le(F){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},F)})})}function z(F){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${F.exerciseId}/up_down.json`,{method:"post",body:h({},F)})})}},46722:function(d,v,e){"use strict";e.d(v,{$c:function(){return nt},A1:function(){return $e},Bd:function(){return D},Bo:function(){return K},Cc:function(){return te},Cn:function(){return le},DF:function(){return L},Dm:function(){return Xe},FG:function(){return ue},GW:function(){return Tt},HF:function(){return X},Hm:function(){return F},IJ:function(){return Me},L5:function(){return qt},LS:function(){return st},MZ:function(){return ge},Mr:function(){return ie},NZ:function(){return Zt},Of:function(){return S},Pl:function(){return R},Qj:function(){return _},Qp:function(){return dt},RT:function(){return Ie},Rp:function(){return gt},U6:function(){return Y},Vl:function(){return q},Wk:function(){return oe},YP:function(){return z},Ys:function(){return N},al:function(){return M},bF:function(){return lt},d1:function(){return y},dt:function(){return Vt},et:function(){return _e},ex:function(){return b},fY:function(){return Pe},fn:function(){return T},hI:function(){return yt},hg:function(){return Ue},iT:function(){return V},lS:function(){return je},nD:function(){return jt},qN:function(){return se},rV:function(){return j},s:function(){return He},sD:function(){return Se},sS:function(){return Jt},ts:function(){return G},vi:function(){return We},wX:function(){return Je},x5:function(){return Q},zh:function(){return Re}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(qe,Gt,Ot)=>Gt in qe?i(qe,Gt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):qe[Gt]=Ot,a=(qe,Gt)=>{for(var Ot in Gt||(Gt={}))s.call(Gt,Ot)&&u(qe,Ot,Gt[Ot]);if(f)for(var Ot of f(Gt))h.call(Gt,Ot)&&u(qe,Ot,Gt[Ot]);return qe},x=(qe,Gt)=>l(qe,c(Gt)),p=(qe,Gt,Ot)=>new Promise((zt,$t)=>{var tr=fe=>{try{Fe(Ot.next(fe))}catch(pe){$t(pe)}},Wt=fe=>{try{Fe(Ot.throw(fe))}catch(pe){$t(pe)}},Fe=fe=>fe.done?zt(fe.value):Promise.resolve(fe.value).then(tr,Wt);Fe((Ot=Ot.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 T(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 M(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}.json`,{method:"delete",body:a({},qe)})})}function N(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:qe})})}function j(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:qe})})}function Q(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 X(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:qe})})}function Y(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 ie(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:qe})})}function ue(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/edit.json`,{method:"get"})})}function K(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${qe.id}/edit.json`,{method:"get"})})}function V(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:qe})})}function G(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/set_score.json`,{method:"post",body:qe})})}function te(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/set_challenge_score.json`,{method:"post",body:qe})})}function q(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/combination_set_score.json`,{method:"post",body:qe})})}function J(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 le(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}.json`,{method:"delete"})})}function z(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:qe})})}function F(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:qe})})}function se(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/adjust_position.json`,{method:"post",body:qe})})}function _e(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:qe})})}function Pe(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${qe.id}/revoke_item.json`,{method:"delete",body:qe})})}function Re(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 He(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/join_to_collection.json`,{method:"post",params:qe})})}function je(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/cancel_collection.json`,{method:"post",params:qe})})}function Zt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:qe})})}function yt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:qe})})}function Dt(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 Jt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:qe})})}function qt(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 Tt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:qe})})}function jt(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 gt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:qe})})}function dt(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 Se(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 We(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 lt(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 Ht(qe){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:qe})})}function Ie(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},506:function(d,v,e){"use strict";e.d(v,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(38986),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})})}},1247:function(d,v,e){"use strict";e.d(v,{Am:function(){return _},Ar:function(){return Xe},BD:function(){return We},Be:function(){return Je},Dx:function(){return q},Fr:function(){return pe},G$:function(){return R},GS:function(){return Y},Gw:function(){return S},H:function(){return Jt},H1:function(){return qt},Hj:function(){return lt},JA:function(){return Ht},JG:function(){return te},KE:function(){return z},Lz:function(){return Me},Mf:function(){return Qt},NA:function(){return yt},PC:function(){return je},PP:function(){return Zt},PW:function(){return st},Q3:function(){return J},QC:function(){return Ie},Qt:function(){return $e},Qz:function(){return D},R$:function(){return Fe},RP:function(){return ue},Ti:function(){return At},Uc:function(){return zt},Ul:function(){return V},VB:function(){return ft},Vs:function(){return $t},Wr:function(){return L},Xn:function(){return K},YQ:function(){return Dt},Yn:function(){return b},Z8:function(){return Q},ak:function(){return jt},cN:function(){return N},co:function(){return Ue},cz:function(){return Re},fK:function(){return X},gG:function(){return He},gZ:function(){return Ot},h$:function(){return j},ku:function(){return Se},lf:function(){return se},m7:function(){return G},mQ:function(){return M},mz:function(){return dt},n$:function(){return F},oK:function(){return y},oN:function(){return Ut},pH:function(){return nt},pb:function(){return Ce},qP:function(){return qe},ql:function(){return Gt},rN:function(){return ge},sw:function(){return _e},t1:function(){return Pe},to:function(){return ie},ub:function(){return Vt},ux:function(){return le},wS:function(){return Pt},wT:function(){return T},yT:function(){return Tt},yy:function(){return tr},z2:function(){return gt}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Oe,wt,be)=>wt in Oe?i(Oe,wt,{enumerable:!0,configurable:!0,writable:!0,value:be}):Oe[wt]=be,a=(Oe,wt)=>{for(var be in wt||(wt={}))s.call(wt,be)&&u(Oe,be,wt[be]);if(f)for(var be of f(wt))h.call(wt,be)&&u(Oe,be,wt[be]);return Oe},x=(Oe,wt)=>l(Oe,c(wt)),p=(Oe,wt,be)=>new Promise((Ke,mt)=>{var kt=St=>{try{kr(be.next(St))}catch(Vr){mt(Vr)}},Be=St=>{try{kr(be.throw(St))}catch(Vr){mt(Vr)}},kr=St=>St.done?Ke(St.value):Promise.resolve(St.value).then(kt,Be);kr((be=be.apply(Oe,wt)).next())});const y=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.id}/update_journals.json`,{method:"post",body:Oe})}),_=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/change_score.json`,{method:"post",body:Oe})}),b=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/history_comment`,{method:"Get",params:Oe})}),S=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/feedback_know`,{method:"Get",params:Oe})}),R=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.userId}/student_work_feedbacks.json`,{method:"POST",body:Oe})}),L=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.userId}/feedback_list.json`,{method:"Get",params:Oe})}),T=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.userId}/histories.json`,{method:"Get",params:Oe})}),D=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/feedback_list`,{method:"Get",params:Oe})}),M=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Oe})}),N=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/appeal_list`,{method:"Get",params:Oe})});function j(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/works_list.json`,{method:"post",body:a({},Oe)})})}function Q(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Oe.categoryId}/student_works.json`,{method:"get",params:a({},Oe)})})}function X(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Oe.categoryId}/header_info.json`,{method:"get",params:a({},Oe)})})}function Y(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe}/query_game_url.json`,{method:"get"})})}function oe(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ie(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}.json`,{method:"get"})})}function ue(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/code_review_results.json`,{method:"get",params:a({},Oe)})})}function K(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/code_review_detail.json`,{method:"get",params:a({},Oe)})})}function V(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/settings.json`,{method:"get",params:a({},Oe)})})}function G(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_settings.json`,{method:"post",body:a({},Oe)})})}function te(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/group_list.json`,{method:"get",params:a({},Oe)})})}function q(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/works_list.xlsx`,{method:"get",params:a({},Oe)})})}function J(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.coursesId}/reference_answer.json`,{method:"get",params:a({},Oe)})})}function le(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/publish_groups.json`,{method:"get",params:a({},Oe)})})}function z(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/end_groups.json`,{method:"get",params:a({},Oe)})})}function F(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Oe)})})}function se(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Oe)})})}function _e(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/shixun_work_report.json`,{method:"get",params:Oe})})}function Pe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Oe})})}function Re(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Oe),{id:Oe.categoryId})})})}function He(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Oe)})})}function je(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/show_comment.json`,{method:"get",params:a({},Oe)})})}function Zt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Oe)})})}function yt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Oe)})})}function Dt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Oe)})})}function Qt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Oe)})})}function Jt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_explanation.json`,{method:"post",body:a({},Oe)})})}function qt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons.json`,{method:"post",body:a({},Oe)})})}function Xe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}.json`,{method:"put",body:a({},Oe)})})}function Tt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Oe.id}.json`,{method:"put",body:a({},Oe)})})}function jt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Oe)})})}function st(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/edit.json`,{method:"get",params:a({},Oe)})})}function gt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}.json`,{method:"put",body:a({},Oe)})})}function dt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Oe)})})}function Je(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Oe)})})}function Ue(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Oe)})})}function ge(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Se(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Oe)})})}function Me(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Oe)})})}function $e(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Oe)})})}function We(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/edit.json`,{method:"get",params:a({},Oe)})})}function nt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Oe.id}.json`,{method:"get",params:a({},Oe)})})}function lt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}.json`,{method:"get",params:a({},Oe)})})}function Vt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/supply_attachments.json`,{method:"get",params:a({},Oe)})})}function Ht(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/comment_list.json`,{method:"get",params:a({},Oe)})})}function Ie(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/destroy_score.json`,{method:"delete",body:a({},Oe)})})}function qe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/add_score_reply.json`,{method:"post",body:a({},Oe)})})}function Gt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/all_student_works.json`,{method:"get",params:a({},Oe)})})}function Ot(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Oe)})})}function zt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/score_status.json`,{method:"get",params:a({},Oe)})})}function $t(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_score.json`,{method:"get",params:a({},Oe)})})}function tr(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/add_score.json`,{method:"post",body:a({},Oe)})})}function Wt(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe.userId}/cancel_appeal.json`,{method:"post",body:a({},Oe)})})}function Fe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Oe)})})}function fe(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe.userId}/deal_appeal_score.json`,{method:"post",body:a({},Oe)})})}function pe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Oe.id}/reset_my_game.json`,{method:"get",params:a({},Oe)})})}function Pt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/commit_des.json`,{method:"get",params:a({},Oe)})})}function Ce(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/update_des.json`,{method:"post",body:a({},Oe)})})}function ft(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Oe)})})}function Ut(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Oe)})})}function At(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Oe)})})}},75736:function(d,v,e){"use strict";e.d(v,{$Q:function(){return Fr},AE:function(){return $t},AQ:function(){return M},Ag:function(){return wt},Ar:function(){return le},At:function(){return Rt},BK:function(){return Q},Bj:function(){return jt},DC:function(){return Xe},Dz:function(){return _t},E4:function(){return qt},EH:function(){return se},Ee:function(){return Pn},Er:function(){return q},FB:function(){return j},Fg:function(){return S},GI:function(){return Re},Gr:function(){return dt},Gu:function(){return Pe},Gz:function(){return b},HS:function(){return Et},Hl:function(){return y},IT:function(){return At},I_:function(){return T},Ir:function(){return X},Je:function(){return Be},K:function(){return Bt},K0:function(){return Kr},KM:function(){return K},K_:function(){return jr},LK:function(){return kr},LP:function(){return He},Ne:function(){return te},OV:function(){return Zt},OW:function(){return F},Op:function(){return Ar},P2:function(){return Dt},Po:function(){return D},Ps:function(){return Je},Q:function(){return G},Q1:function(){return Cr},QA:function(){return wi},Ql:function(){return ge},Rs:function(){return Ie},SG:function(){return Yi},Tn:function(){return Wt},Tr:function(){return gi},U0:function(){return We},U9:function(){return Ue},UQ:function(){return Ce},Ui:function(){return mr},Vx:function(){return rn},WO:function(){return J},WT:function(){return Xi},Wi:function(){return st},Wl:function(){return be},X$:function(){return Qt},Yn:function(){return fe},Z2:function(){return Tt},ZO:function(){return gt},Zt:function(){return vt},_7:function(){return V},_9:function(){return pe},aH:function(){return Se},al:function(){return Vt},b8:function(){return z},bq:function(){return Fe},dK:function(){return Y},e:function(){return R},eX:function(){return _e},eb:function(){return qe},fL:function(){return kt},h4:function(){return gr},hS:function(){return _},he:function(){return L},hn:function(){return ie},ii:function(){return Ht},im:function(){return Pt},j8:function(){return je},jq:function(){return Jr},kF:function(){return Vr},km:function(){return lt},l3:function(){return yt},m7:function(){return $e},mI:function(){return mi},n5:function(){return N},nu:function(){return St},p0:function(){return Ut},q0:function(){return zt},q9:function(){return or},qA:function(){return fn},rO:function(){return Ot},rs:function(){return ue},sr:function(){return ft},t2:function(){return Oe},tX:function(){return Ct},uo:function(){return nt},v3:function(){return mt},w:function(){return Ke},xK:function(){return tr},xg:function(){return Gt},xk:function(){return Jt},yE:function(){return Me},yx:function(){return ui},zD:function(){return oe},zH:function(){return on}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ot,Jn,Ai)=>Jn in ot?i(ot,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Ai}):ot[Jn]=Ai,a=(ot,Jn)=>{for(var Ai in Jn||(Jn={}))s.call(Jn,Ai)&&u(ot,Ai,Jn[Ai]);if(f)for(var Ai of f(Jn))h.call(Jn,Ai)&&u(ot,Ai,Jn[Ai]);return ot},x=(ot,Jn)=>l(ot,c(Jn)),p=(ot,Jn,Ai)=>new Promise((ei,Gi)=>{var yi=er=>{try{En(Ai.next(er))}catch(pt){Gi(pt)}},ai=er=>{try{En(Ai.throw(er))}catch(pt){Gi(pt)}},En=er=>er.done?ei(er.value):Promise.resolve(er.value).then(yi,ai);En((Ai=Ai.apply(ot,Jn)).next())});const y=ot=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:ot})}),_=ot=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:ot})}),b=ot=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:ot})}),S=ot=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:ot})}),R=ot=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:ot})});function L(ot){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},ot)})})}function T(ot){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},ot||{})})})}function D(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}.json`,{method:"Get",params:ot})})}function M(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/show_right.json`,{method:"Get"})})}function N(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges.json`,{method:"Get"})})}function j(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:ot.save_type}})})}function Q(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/jupyter_exec.json${ot.reset?`?reset=${ot.reset}`:""}`,{method:"Get",params:ot})})}function X(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/shixun_exec.json${ot.reset?`?reset=${ot.reset}`:""}`,{method:"Get",params:ot})})}function Y(ot){return p(this,null,function*(){return(0,r.ZP)(ot.url,{method:"Get"})})}function oe(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.shixun_identifier}/challenges/${ot.challenge_id}/index_up.json`,{method:"Get"})})}function ie(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.shixun_identifier}/challenges/${ot.challenge_id}/index_down.json`,{method:"Get"})})}function ue(ot){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:ot.container_id,container_type:ot.container_type}})})}function K(ot){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:ot.container_id,container_type:ot.container_type}})})}function V(ot){return p(this,null,function*(){const{id:Jn}=ot||{};return(0,r.ZP)(`/api/shixuns/${Jn}/search_user_courses.json`,{method:"Get",params:ot})})}function G(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot==null?void 0:ot.id}/send_to_course.json`,{method:"Post",body:a({},ot)})})}function te(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/cancel_publish.json`,{method:"Get"})})}function q(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/cancel_apply_public.json`,{method:"Get"})})}function J(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/apply_public.json`,{method:"post",body:a({},ot)})})}function le(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/publish.json`,{method:"Get"})})}function z(ot){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function F(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${ot.id}.json`,{method:"delete"})})}function se(ot){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:ot})})}function _e(ot){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:ot})})}function Pe(ot){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:ot})})}function Re(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/review_newest_record.json`,{method:"Get"})})}function He(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/review_shixun.json`,{method:"post",body:ot})})}function je(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/collaborators.json`,{method:"Get",params:ot})})}function Zt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/shixun_members_added.json`,{method:"post",body:ot})})}function yt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.identifier}/add_members_group.json`,{method:"post",body:ot})})}function Dt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/change_manager.json`,{method:"Get",params:ot})})}function Qt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/change_manager.json`,{method:"post",body:ot})})}function Jt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/collaborators_delete.json`,{method:"delete",body:{user_id:ot.userId}})})}function qt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/ranking_list.json`,{method:"Get"})})}function Xe(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/settings.json`,{method:"Get"})})}function Tt(ot){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:ot.mirror_id}})})}function jt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/get_script_contents.json`,{method:"Get",params:ot})})}function st(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/get_custom_script.json`,{method:"Get",params:ot})})}function gt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/update_for_jupyter.json`,{method:"put",body:ot})})}function dt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/shixun_quotes.json`,{method:"Get"})})}function Je(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}.json`,{method:"delete"})})}function Ue(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/close.json`,{method:"post",body:ot})})}function ge(ot){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:ot})})}function Se(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/update_permission_setting.json`,{method:"post",body:ot})})}function Me(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/update_learn_setting.json`,{method:"post",body:ot})})}function $e(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/update_setting`,{method:"post",body:ot})})}function We(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/get_data_sets.json`,{method:"Get",params:ot})})}function nt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/destroy_data_sets.json`,{method:"Delete",body:{id:ot.deleteId}})})}function lt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/new.json`,{method:"get"})})}function Vt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.identifier}/challenges.json`,{method:"post",body:a({},ot)})})}function Ht(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengeId}/edit.json`,{method:"get",params:{tab:ot.tab}})})}function Ie(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengesId}.json`,{method:"put",body:a({},ot)})})}function qe(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengesId}/choose_questions.json`,{method:"get"})})}function Gt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/move_position.json`,{method:"post",body:a({},ot)})})}function Ot(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengesId}.json`,{method:"delete",body:a({},ot)})})}function zt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengesId}/edit.json`,{method:"get",params:a({},ot)})})}function $t(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengeId}/answer.json`,{method:"get",params:a({},ot)})})}function tr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengeId}/crud_answer.json`,{method:"post",body:a({},ot)})})}function Wt(ot){return p(this,null,function*(){if(ot.type===1)return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengesId}/create_choose_question.json`,{method:"post",body:a({},ot)});if(ot.type===2)return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengesId}/create_blank_question.json`,{method:"post",body:a({},ot)});if(ot.type===3)return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengesId}/create_judge_question.json`,{method:"post",body:a({},ot)})})}function Fe(ot){return p(this,null,function*(){if(ot.type===1)return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},ot),{choose_id:ot.questionId})});if(ot.type===2)return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},ot),{choose_id:ot.questionId})});if(ot.type===3)return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},ot),{choose_id:ot.questionId})})})}function fe(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:ot.questionId}})})}function pe(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:ot.questionId}})})}function Pt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:ot.questionId}})})}function Ce(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/challenges/${ot.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},ot),{choose_id:ot.questionId})})})}function ft(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/delete_git_file.json`,{method:"Delete",body:ot})})}function Ut(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ot.id}/delete_git_file.json`,{method:"Delete",body:ot})})}function At(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/mv_file.json`,{method:"post",body:ot})})}function Oe(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ot.id}/mv_file.json`,{method:"post",body:ot})})}function wt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/repository.json`,{method:"post",body:ot})})}function be(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ot.id}/repository.json`,{method:"post",body:ot})})}function Ke(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/secret_repository.json`,{method:"post",body:ot})})}function mt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/add_file.json`,{method:"post",body:ot})})}function kt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ot.id}/add_file.json`,{method:"post",body:ot})})}function Be(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/commits.json`,{method:"post",body:ot})})}function kr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/file_content.json`,{method:"post",body:ot})})}function St(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ot.id}/file_content.json`,{method:"post",body:ot})})}function Vr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/update_file.json`,{method:"post",body:ot})})}function Jr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ot.id}/update_file.json`,{method:"post",body:ot})})}function Ar(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/upload_git_folder.json`,{method:"post",body:{path:ot.path,secret_repository:ot.secret_repository}})})}function Fr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/${ot.url}`,{method:"Get"})})}function mr(ot){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:ot})})}function jr(ot){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:ot})})}function on(ot){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:ot})})}function fn(ot){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:ot})})}function or(ot){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:ot})})}function Rt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/fork_list.json`,{method:"Get",params:ot})})}function _t(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.identifier}/change_editable.json`,{method:"put",body:a({},ot)})})}function vt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/set_secret_dir.json`,{method:"post",body:a({},ot)})})}function Bt(ot){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:ot})})}function Cr(ot){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:ot})})}function gr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/init_repository.json`,{method:"post",body:a({},ot)})})}function rn(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ot.id}/init_repository.json`,{method:"post",body:a({},ot)})})}function Kr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/update_secret_repository.json`,{method:"post",body:a({},ot)})})}function Pn(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/exist_exercise.json`,{method:"get",params:a({},ot)})})}function Ct(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${ot.id}.json`,{method:"get",params:a({},ot)})})}function cr(ot){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ot.id}/publish.json`,{method:"post",body:a({},ot)})})}function Xr(ot){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ot.id}/open_vnc.json`,{method:"post",params:a({},ot)})})}function pn(ot){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ot.id}/open_webssh.json`,{method:"post",params:a({},ot)})})}function $n(ot){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ot.id}/save_image.json`,{method:"post",body:a({},ot)})})}function si(ot){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ot.id}/delete_image.json`,{method:"post",body:a({},ot)})})}function zn(ot){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ot.id}/extend_vnc.json`,{method:"post",body:a({},ot)})})}function Li(ot){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ot.id}/reset_vnc_link.json`,{method:"post",body:a({},ot)})})}function ui(ot){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},ot)})})}function mi(ot){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},ot)})})}function wi(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},ot)})})}function gi(ot){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:ot})})}function Xi(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${ot}`,{method:"get",params:{is_initiative_study:1}})})}function qn(ot){return p(this,null,function*(){return Fetch(`/api/shixuns/${ot.id}/update_shixun_study_num.json`,{method:"post",body:a({},ot)})})}function Yi(ot){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:ot})})}function Et(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ot}/recommend_config.json`,{method:"get"})})}},49234:function(d,v,e){"use strict";e.d(v,{Bg:function(){return p},FO:function(){return M},eJ:function(){return b},eZ:function(){return S},fd:function(){return X},gp:function(){return a},iU:function(){return j},l3:function(){return L},mw:function(){return T},oZ:function(){return _},rM:function(){return D},r_:function(){return Q},s:function(){return x},ur:function(){return N},xV:function(){return y},yb:function(){return R}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(Y,oe,ie)=>oe in Y?i(Y,oe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):Y[oe]=ie,h=(Y,oe)=>{for(var ie in oe||(oe={}))c.call(oe,ie)&&s(Y,ie,oe[ie]);if(l)for(var ie of l(oe))f.call(oe,ie)&&s(Y,ie,oe[ie]);return Y},u=(Y,oe,ie)=>new Promise((ue,K)=>{var V=q=>{try{te(ie.next(q))}catch(J){K(J)}},G=q=>{try{te(ie.throw(q))}catch(J){K(J)}},te=q=>q.done?ue(q.value):Promise.resolve(q.value).then(V,G);te((ie=ie.apply(Y,oe)).next())});function a(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/teachers.json`,{method:"get",params:h({},Y)})})}function x(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/apply_teachers.json`,{method:"get",params:h({},Y)})})}function p(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/graduation_group_list.json`,{method:"get",params:h({},Y)})})}function y(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/all_course_groups.json`,{method:"get",params:h({},Y)})})}function _(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/set_course_group.json`,{method:"post",body:h({},Y)})})}function b(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/join_graduation_group.json`,{method:"post",body:h({},Y)})})}function S(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/create_graduation_group.json`,{method:"post",body:h({},Y)})})}function R(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},Y)})})}function L(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/delete_from_course.json`,{method:"post",body:h({},Y)})})}function T(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/change_member_role.json`,{method:"post",body:h({},Y)})})}function D(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/change_course_admin.json`,{method:"post",body:h({},Y)})})}function M(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/teacher_application_review.json`,{method:"post",body:h({},Y)})})}function N(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/students.json`,{method:"get",params:h({},Y)})})}function j(Y,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y}/apply_students.json`,{method:"get",params:oe})})}function Q(Y,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y}/join_student_checkout.json`,{method:"get",params:oe})})}function X(Y,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y}/student_application_review.json`,{method:"post",body:oe})})}},86245:function(d,v,e){"use strict";e.d(v,{B$:function(){return y},Cx:function(){return V},DA:function(){return D},DH:function(){return p},Ef:function(){return q},Es:function(){return b},Ex:function(){return Qt},FM:function(){return ie},Fn:function(){return J},Gq:function(){return qt},Ho:function(){return N},IU:function(){return _e},JJ:function(){return le},Ol:function(){return je},Qx:function(){return oe},Tv:function(){return z},V8:function(){return x},WS:function(){return G},WY:function(){return Y},ai:function(){return K},bG:function(){return R},bJ:function(){return a},c0:function(){return Jt},dE:function(){return se},dt:function(){return F},gI:function(){return te},lO:function(){return ue},mW:function(){return X},n0:function(){return T},nV:function(){return He},o1:function(){return Zt},qE:function(){return _},qN:function(){return M},rV:function(){return j},sh:function(){return Re},vR:function(){return S},w3:function(){return Q},x4:function(){return L},z2:function(){return yt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(Xe,Tt,jt)=>Tt in Xe?i(Xe,Tt,{enumerable:!0,configurable:!0,writable:!0,value:jt}):Xe[Tt]=jt,h=(Xe,Tt)=>{for(var jt in Tt||(Tt={}))c.call(Tt,jt)&&s(Xe,jt,Tt[jt]);if(l)for(var jt of l(Tt))f.call(Tt,jt)&&s(Xe,jt,Tt[jt]);return Xe},u=(Xe,Tt,jt)=>new Promise((st,gt)=>{var dt=ge=>{try{Ue(jt.next(ge))}catch(Se){gt(Se)}},Je=ge=>{try{Ue(jt.throw(ge))}catch(Se){gt(Se)}},Ue=ge=>ge.done?st(ge.value):Promise.resolve(ge.value).then(dt,Je);Ue((jt=jt.apply(Xe,Tt)).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 T(){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 M(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function N(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/courses.json`,{method:"get",params:Xe})})}function j(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/shixuns.json`,{method:"get",params:Xe})})}function Q(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/subjects.json`,{method:"get",params:Xe})})}function X(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/projects.json`,{method:"get",params:Xe})})}function Y(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 ie(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/${Xe.id}.json`,{method:"delete"})})}function ue(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Xe})})}function K(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:Xe})})}function V(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Xe})})}function G(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Xe})})}function te(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Xe})})}function q(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Xe})})}function J(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 le(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Xe.topicId}.json`,{method:"get",params:Xe})})}function z(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Xe)})})}function F(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/batch_publish.json`,{method:"post",body:Xe})})}function se(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Xe.identifier}/cancel.json`,{method:"delete",body:h({},Xe)})})}function _e(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Xe)})})}function Pe(Xe){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Xe)})})}function Re(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function He(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function je(Xe){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Xe})}function Zt(Xe){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Xe})}function yt(Xe){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Xe)})}function Dt(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 Jt(Xe){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Xe)})}function qt(Xe){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Xe)})}},69618:function(d,v,e){"use strict";e.d(v,{BQ:function(){return a},DH:function(){return N},Db:function(){return ue},Ju:function(){return ie},Mz:function(){return X},O2:function(){return _},TJ:function(){return R},Vg:function(){return y},ZY:function(){return x},Zx:function(){return Q},cU:function(){return p},fn:function(){return oe},jK:function(){return L},yN:function(){return Y}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(K,V,G)=>V in K?i(K,V,{enumerable:!0,configurable:!0,writable:!0,value:G}):K[V]=G,h=(K,V)=>{for(var G in V||(V={}))c.call(V,G)&&s(K,G,V[G]);if(l)for(var G of l(V))f.call(V,G)&&s(K,G,V[G]);return K},u=(K,V,G)=>new Promise((te,q)=>{var J=F=>{try{z(G.next(F))}catch(se){q(se)}},le=F=>{try{z(G.throw(F))}catch(se){q(se)}},z=F=>F.done?te(F.value):Promise.resolve(F.value).then(J,le);z((G=G.apply(K,V)).next())});function a(K){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${K.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},K)})})}function x(K){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${K.coursesId}/watch_statics.json`,{method:"Get",params:h({},K)})})}function p(K){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${K.videoId}/watch_histories.json`,{method:"Get",params:h({},K)})})}function y(K){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${K.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},K)})})}function _(K){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${K.id}.json`,{method:"Get",params:h({},K)})})}function b(K){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:K})})}function S(K){return u(this,null,function*(){return Fetch(`/api/video_items/${K.id}/edit.json`,{method:"Get",params:h({},K)})})}function R(K){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${K.id}/edit.json`,{method:"Get",params:h({},K)})})}function L(K){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${K.id}/star.json`,{method:"post",body:K})})}function T(K){return u(this,null,function*(){return Fetch(`/api/video_items/${K.id}.json`,{method:"put",body:K})})}function D(K){return u(this,null,function*(){return Fetch(`/api/video_items/${K.id}/send_to_course.json`,{method:"post",body:K})})}function M(K){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},K)})})}function N(K){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${K.id}/view_video.json`,{method:"post",body:K})})}function j(K){return u(this,null,function*(){return Fetch(`/api/video_items/${K.id}/add_school.json`,{method:"post",body:K})})}function Q(K){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${K.course_id}/video_people_statics.json`,{method:"get",params:K})})}function X(K){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${K.course_id}/video_duration_statics.json`,{method:"get",params:K})})}function Y(K){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:K})})}function oe(K){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${K==null?void 0:K.id}/course_videos_tree.json`,{method:"get",params:K})})}function ie(K){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:K})})}function ue(K){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:K})})}},466:function(d,v,e){"use strict";e.d(v,{A:function(){return X},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return _},LY:function(){return M},Ll:function(){return s},MM:function(){return L},Ps:function(){return N},Sl:function(){return S},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return Q},cZ:function(){return u},rV:function(){return D},sT:function(){return b},tS:function(){return j},xt:function(){return T},y2:function(){return l}});var r=e(38986),i=(Y,oe,ie)=>new Promise((ue,K)=>{var V=q=>{try{te(ie.next(q))}catch(J){K(J)}},G=q=>{try{te(ie.throw(q))}catch(J){K(J)}},te=q=>q.done?ue(q.value):Promise.resolve(q.value).then(V,G);te((ie=ie.apply(Y,oe)).next())});const l=Y=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:Y})});function c(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/discussions/${Y.id}.json`,{method:"put",body:Y})})}function f(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/discussions/${Y.id}.json`,{method:"get",params:Y})})}function s(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/discussions.json`,{method:"post",body:Y})})}function h(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/discussions.json`,{method:"get",params:Y})})}function u(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/good_lessons/${Y.id}/add_resources.json`,{method:"post",body:Y})})}function a(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/good_lessons/${Y.id}/lesson_resources_list.json`,{method:"get",params:Y})})}function x(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/good_lessons/${Y.id}.json`,{method:"get",params:Y})})}function p(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/good_lessons/${Y.id}.json`,{method:"put",body:Y})})}function y(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/good_lessons.json`,{method:"post",body:Y})})}function _(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/good_lessons.json`,{method:"get",params:Y})})}function b(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y==null?void 0:Y.id}.json`,{method:"get"})})}function S(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y==null?void 0:Y.id}/modules.json`,{method:"get"})})}function R(Y){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${Y.id}/videos/batch_publish.json`,{method:"post",body:Y})})}function L(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/members.json`,{method:"post",body:Y})})}function T(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/members/${Y.id}/change_creator.json`,{method:"post",body:Y})})}function D(Y,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y}/shixuns.json`,{method:"get",params:oe})})}function M(Y,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y}/shixuns`,{method:"post",body:oe})})}function N(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_classroom_id}/shixuns/${Y.shixun_id}.json`,{method:"delete"})})}function j(Y,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y}/subjects.json`,{method:"get",params:oe})})}function Q(Y,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y}/subjects.json`,{method:"post",body:oe})})}function X(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_classroom_id}/subjects/${Y.subject_id}.json`,{method:"delete"})})}},48790:function(d,v,e){"use strict";e.d(v,{$O:function(){return V},EO:function(){return lt},G5:function(){return Q},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return Y},JA:function(){return nt},JL:function(){return T},Jd:function(){return K},Ny:function(){return R},RV:function(){return ie},Rb:function(){return j},Rm:function(){return X},V9:function(){return se},Yh:function(){return le},aN:function(){return b},aQ:function(){return u},ag:function(){return We},bg:function(){return Ht},d8:function(){return N},dE:function(){return oe},eB:function(){return ue},eY:function(){return Ie},fn:function(){return $e},h:function(){return tr},j5:function(){return _},m$:function(){return qe},oF:function(){return y},qz:function(){return h},t_:function(){return S},tu:function(){return Ot},y8:function(){return Vt}});var r=e(25690),i=(Wt=>(Wt[Wt.SuperAdmin=1]="SuperAdmin",Wt[Wt.Operation=2]="Operation",Wt[Wt.CertifiedTeacher=5]="CertifiedTeacher",Wt[Wt.TrainingProduction=8]="TrainingProduction",Wt[Wt.UncertifiedTeacher=12]="UncertifiedTeacher",Wt[Wt.Student=15]="Student",Wt))(i||{}),l=(Wt=>(Wt[Wt.SuperAdmin=1]="SuperAdmin",Wt[Wt.Operation=2]="Operation",Wt[Wt.Admin=5]="Admin",Wt[Wt.Teacher=8]="Teacher",Wt[Wt.Assistant=12]="Assistant",Wt[Wt.Student=15]="Student",Wt))(l||{}),c=(Wt=>(Wt[Wt.SuperAdmin=0]="SuperAdmin",Wt[Wt.Teacher=1]="Teacher",Wt[Wt.Student=2]="Student",Wt))(c||{});const f=Wt=>{const{user:Fe}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Fe;return Wt.some(pe=>pe==(fe==null?void 0:fe.role))},s=Wt=>{const{user:Fe}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Fe;return fe!=null&&fe.own?!0:Wt.some(pe=>{var Pt;return pe==((Pt=fe==null?void 0:fe.course)==null?void 0:Pt.course_role)})},h=()=>{const{user:Wt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Fe}=Wt;return Fe.main_site},u=()=>{var Wt;const{user:Fe}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Fe;return(Wt=fe==null?void 0:fe.course)==null?void 0:Wt.course_is_end},a=()=>{const{user:Wt}=getDvaApp()._store.getState(),{userInfo:Fe}=Wt;return Fe.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]),T=()=>f([1,2,5]),D=()=>s([1,5]),M=()=>s([5,8]),N=()=>s([5]),j=()=>s([1,5,2]),Q=()=>s([1,2,5,8]),X=()=>s([12]),Y=()=>s([8]),oe=()=>s([15]),ie=()=>s([1,2,5,8,12,15]),ue=()=>s([1,2,5,8,12]),K=()=>{var Wt;const{user:Fe}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Fe;return((Wt=fe==null?void 0:fe.course)==null?void 0:Wt.course_role)===null},V=()=>{const{user:Wt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Fe}=Wt;return Fe==null?void 0:Fe.has_big_model_permission},G=()=>{const{user:Wt}=getDvaApp()._store.getState(),{userInfo:Fe}=Wt;return Fe==null?void 0:Fe.big_model_user_unlimited},te=(Wt=!0,Fe=!1)=>f([1,2,5,8,12,15]),q=(Wt=!0,Fe=!1)=>Fe||!Fe&&f([1]),J=(Wt=!0,Fe=!1)=>Fe||!Fe&&f([1,2]),le=()=>f([15]),z=(Wt=!0,Fe=!1)=>Wt?f([1,2,5,8,12,15]):Fe||!Fe&&f([1,2]),F=(Wt=!0,Fe=!1)=>Wt?f([1,2,5,8,12,15]):Fe||!Fe&&f([1,2]),se=(Wt=!0,Fe=!1)=>{const{user:fe}=(0,r.getDvaApp)()._store.getState(),{userInfo:pe}=fe;return pe!=null&&pe.is_shixun_marker?!0:f([1,2,5,8])},_e=(Wt=!0,Fe=!1)=>Wt?f([1]):Fe||!Fe&&f([1]),Pe=(Wt=!0,Fe=!1)=>Wt?f([1,2]):Fe||!Fe&&f([1,2]),Re=(Wt=!0,Fe=!1)=>Wt?f([1,2,5,8,12,15]):Fe||!Fe&&f([1,2]),He=(Wt=!0,Fe=!1)=>Wt?f([1,2,5,8,12]):Fe||!Fe&&f([1,2]),je=(Wt=!0,Fe=!1)=>Wt?f([1,2,5]):Fe||!Fe&&f([1,2]),Zt=(Wt=!0,Fe=!1)=>Wt?f([1]):!1,yt=(Wt=!0,Fe=!1)=>f([1,2,5,8,12,15]),Dt=(Wt=!0,Fe=!1)=>Wt?f([1]):Fe||!Fe&&f([1]),Qt=(Wt=!0,Fe=!1)=>Wt?f([1,2]):Fe||!Fe&&f([1,2]),Jt=(Wt=!0,Fe=!1)=>Wt?f([1,2,5,8,12,15]):Fe||!Fe&&f([1,2]),qt=(Wt=!0,Fe=!1)=>Wt?!1:Fe||!Fe&&f([1,2]),Xe=(Wt=!0,Fe=!1)=>Wt?Fe||!Fe&&f([1,2]):!1,Tt=(Wt=!0,Fe=!1)=>Wt?f([1,2,5,8,12]):!1,jt=(Wt=!0,Fe=!1)=>Wt?!Fe&&f([1,2,5,8,12]):!1,st=(Wt=!0,Fe=!1)=>Wt?f([1,2,5]):Fe||!Fe&&f([1,2]),gt=(Wt=!0,Fe=!1)=>f([1,2,5,8,12]),dt=(Wt=!0,Fe=!1)=>Wt?f([1]):Fe||!Fe&&f([1]),Je=(Wt=!0,Fe=!1)=>Wt?f([1,2]):Fe||!Fe&&f([1,2]),Ue=(Wt=!0,Fe=!1)=>Wt?f([1,2,5,8,12]):Fe||!Fe&&f([1,2]),ge=(Wt=!0,Fe=!1)=>Wt?Fe||!Fe&&f([1,2]):!1,Se=(Wt=!0,Fe=!1)=>Wt?f([1,2,5,8,12]):Fe||!Fe&&f([1,2]),Me=(Wt=!0,Fe=!1)=>s([8]),$e=()=>f([1]),We=()=>f([1,2]),nt=()=>f([15]),lt=()=>f([1,2,5]),Vt=()=>f([1,2,5,12]),Ht=()=>{var Wt;const{user:Fe}=(0,r.getDvaApp)()._store.getState();return!!((Wt=Fe.userInfo)!=null&&Wt.login)},Ie=()=>{const{user:Wt}=(0,r.getDvaApp)()._store.getState();return Wt.userInfo},qe=()=>{var Wt,Fe;const{user:fe}=(0,r.getDvaApp)()._store.getState();return!!((Fe=(Wt=fe.userInfo)==null?void 0:Wt.path)!=null&&Fe.own)},Gt=Wt=>{const{graduations:Fe}=(0,r.getDvaApp)()._store.getState(),{details:fe}=Fe;return Wt.some(pe=>pe===(fe==null?void 0:fe.user_identity))},Ot=()=>Gt([0,1]),zt=()=>Gt([0]),$t=()=>Gt([1]),tr=()=>Gt([2])},32162:function(d,v,e){"use strict";e.d(v,{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||{})},77935:function(d,v,e){"use strict";e.d(v,{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"}},346:function(d,v,e){"use strict";e.d(v,{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.119",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"]},38986:function(d,v,e){"use strict";e.d(v,{IV:function(){return z},U2:function(){return te},ZP:function(){return ue},d4:function(){return q},gz:function(){return le},rz:function(){return ie},v_:function(){return J}});var r=e(346),i=e(28909),l=e(43418),c=e(8591),f=e(85582),s=e.n(f),h=e(59301),u=e(25690),a=e(51257),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,T=(F,se,_e)=>se in F?y(F,se,{enumerable:!0,configurable:!0,writable:!0,value:_e}):F[se]=_e,D=(F,se)=>{for(var _e in se||(se={}))R.call(se,_e)&&T(F,_e,se[_e]);if(S)for(var _e of S(se))L.call(se,_e)&&T(F,_e,se[_e]);return F},M=(F,se)=>_(F,b(se)),N=(F,se,_e)=>new Promise((Pe,Re)=>{var He=yt=>{try{Zt(_e.next(yt))}catch(Dt){Re(Dt)}},je=yt=>{try{Zt(_e.throw(yt))}catch(Dt){Re(Dt)}},Zt=yt=>yt.done?Pe(yt.value):Promise.resolve(yt.value).then(He,je);Zt((_e=_e.apply(F,se)).next())});let j;const Q={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"},X=(F,se)=>N(void 0,null,function*(){if(F.status>=200&&F.status<300)return F;const _e=Q[F.status]||F.statusText;let Pe;var Re=F.json();yield Re.then((je,Zt)=>{setTimeout(()=>{let yt=(0,u.getDvaApp)()},400),Pe=je.message,window.showNetworkErrorTip(je.message||`\u8BF7\u6C42\u9519\u8BEF ${F.status}: ${F.message}`),i.Z.error({style:{wordBreak:"break-all"},message:je.message||`\u8BF7\u6C42\u9519\u8BEF ${F.status}: ${F.message}`,description:je.message?"":_e})});const He=new Error(_e);throw He.name=F.status,He.response=F,{data:F,code:F.status,message:Pe||_e}}),Y=(F,se)=>{const _e=F.headers.get("Content-Type");return _e&&_e.match(/application\/json/i)&&F.clone().text().then(()=>{}),F};function oe(F){try{return decodeURIComponent(F),decodeURIComponent(encodeURIComponent(F))===F}catch(se){return!1}}const ie=F=>{F=F||{};let se="";for(let _e in F)typeof F[_e]=="object"?Array.isArray(F[_e])&&F[_e].forEach((Pe,Re)=>{se+="&"+_e+"[]="+Pe}):F[_e]!==void 0&&(se+="&"+_e+"="+(oe(F[_e])?F[_e]:encodeURIComponent(F[_e])));return se.substr(1)};function ue(F,se,_e,Pe){se.method||(se.method="get"),se.method=se.method.toUpperCase(),se.mode="cors";const Re=D({},se),{user:He}=(0,u.getDvaApp)()._store.getState(),{userInfo:je}=He,Zt=F+(Re.body?JSON.stringify(Re.body):""),yt=s().sha256().update(Zt).digest("hex"),Dt={credentials:"include",withCredentials:!0},Qt={};je!=null&&je.login&&(Qt.zzud=je==null?void 0:je.login,je!=null&&je.school_id&&(Qt.zzsud=je==null?void 0:je.school_id),Re.params=D(D({},Re.params||{}),Qt));let Jt=D(D({},Dt),(0,x.cloneDeep)(Re));(Jt.method==="POST"||Jt.method==="PUT"||Jt.method==="PATCH"||Jt.method==="DELETE")&&(_e?(Jt.headers=M(D({_method:se.method.toUpperCase()},Jt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Jt.body=Re.body):(Jt.headers=D({Accept:"application/json",_method:se.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},Jt.headers),Jt.body=JSON.stringify(Re.body))),Jt.method=="GET"?(Jt.headers=M(D({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:se.method.toUpperCase()},Jt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Re.params&&ie(Re.params)&&(F+="?"+ie(Re.params))):Qt.zzud&&(F+="?"+ie(D({},Qt)));const qt=Re.expirys&&60;let Xe;(gt=>{gt.json="application/json;charset=UTF-8",gt.form="application/x-www-form-urlencoded; charset=UTF-8"})(Xe||(Xe={}));let Tt;(gt=>{gt.get="GET",gt.post="POST"})(Tt||(Tt={}));const jt=gt=>N(this,null,function*(){const dt=yield gt.arrayBuffer();let Je;const Ue=new Blob([dt]);try{Je=gt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch($e){Je="userfiles.zip"}const ge=document.createElement("a"),Se=window.URL.createObjectURL(Ue),Me=Je;return ge.href=Se,ge.download=Me,ge.click(),window.URL.revokeObjectURL(Se),dt});let st=r.Z.API_SERVER;return(window.ENV==="dev"||F.startsWith("http"))&&(st=""),Jt.method=="GET"&&Jt.params&&Object.keys(Jt.params).map(gt=>{if(Jt.params[gt]&&!Array.isArray(Jt.params[gt]))try{Jt.params[gt]=encodeURIComponent(decodeURIComponent(Jt.params[gt]))}catch(dt){Jt.params[gt]=encodeURIComponent(Jt.params[gt])}}),(0,a.Ec)(Jt,F),Pe&&(st=""),Jt.headers._method=Jt.method,Jt.headers["X-HTTP-Method-Override"]=Jt.method,Jt.method!=="GET"&&(Jt.method="POST"),fetch(st+F,Jt).then(gt=>X(gt,D({url:r.Z.API_SERVER+F},Jt))).then(gt=>Y(gt,yt)).then(gt=>N(this,null,function*(){var dt,Je,Ue,ge;try{const Me=gt.headers.get("cs");Me&&(0,a.d8)("_educoder_session",Me,1)}catch(Me){}if(gt.status===204)return gt.text();let Se;if(gt.headers.get("content-type").indexOf("application/json")>-1){Se=yield gt.json();try{const Me=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,$e=/\"\/api\/attachments\/(\d+)\//g,We=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,nt=/\/api\/attachments\/(\d+)/g,lt=/\/attachments\/download\/(\d+)/g;let Vt=JSON.stringify(Se).replace(nt,(Ht,Ie,qe,Gt)=>{const Ot=Ie||qe||Gt;return"/api/attachments/"+(0,a.Jn)(Ot)}).replace(lt,(Ht,Ie,qe)=>{const Gt=Ie||qe;return"/attachments/download/"+(0,a.Jn)(Gt)}).replace(Me,(Ht,Ie,qe,Gt)=>{const Ot=Ie||qe||Gt;return"(/api/attachments/"+(0,a.Jn)(Ot)}).replace($e,(Ht,Ie,qe)=>{const Gt=Ie||qe;return'"/api/attachments/'+(0,a.Jn)(Gt)}).replace(We,(Ht,Ie,qe)=>{const Gt=Ie||qe;return"(/files/uploads/"+(0,a.Jn)(Gt)}).replace(/\r\n/g,`
|
|
|
`);Se=JSON.parse(Vt)}catch(Me){}}else Jt.headers["Content-Type"]==="application/xml"?Se=yield gt.text():(dt=Re.body)!=null&&dt.autoDownload||(Je=Re.params)!=null&&Je.autoDownload?Se=yield jt(gt):Se=yield gt.arrayBuffer();try{Se.status===401&&(!((Ue=Jt.params)!=null&&Ue.hidePopLogin)||!((ge=Jt.body)!=null&&ge.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Se.status===402&&(localStorage.getItem("addinfo")==="2"?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(j=j||l.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),j.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 G(Se,F),Se})).catch(gt=>{try{const dt=gt.code;if(gt instanceof TypeError&&window.showNetworkErrorTip(`${F}<span class="ml10">${gt.message}</span>`),dt){if(dt===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}G(gt,F)}else F.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:Jt.body}}):gt.message!=="403"&&window.showNetworkErrorTip(`${F}<span class="ml10">${gt.message}</span>`);return gt}catch(dt){}})}let K=!1,V=!1;const G=(F,se)=>{var _e,Pe,Re;if(F.status==-6&&!V){V=!0,(0,a.d8)("_educoder_session","logout",1),(0,a.m5)(),setTimeout(()=>V=!1,500),l.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:F.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(F.status==-7){V=!0,setTimeout(()=>V=!1,500);let je="";(_e=F==null?void 0:F.data)!=null&&_e.exercise_list&&((Re=(Pe=F==null?void 0:F.data)==null?void 0:Pe.exercise_list)==null||Re.map(Zt=>{je+=`<a target="_blank" href="/classrooms/${Zt.identifier}/exercise">\u300A${Zt.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 ${je} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762</div>`},500);return}if((F.status==-1||F.status==-2||F.status==-102||F.status>400)&&F.status!=403&&!V){V=!0,setTimeout(()=>V=!1,500),c.ZP.warning({content:F.message,key:"message-key"});return}const He={403:"/403",404:"/404",500:"/500"};if(He[F.status]&&!K){const{user:je}=(0,u.getDvaApp)()._store.getState(),{userInfo:Zt}=je;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(K=!0),setTimeout(()=>K=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(F)),Object.values(He).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(He[F.status]),new Error("403")}};function te(F,se){return ue(`/api/${F}`,{method:"Get",params:se||{}})}function q(F,se){return ue(`/${F}`,{method:"Get",params:se})}function J(F,se){return ue(`/api/${F}`,{method:"Post",body:D({},se)})}function le(F,se){return ue(`/api/${F}`,{method:"Put",body:D({},se)})}function z(F,se){return ue(`/api/${F}`,{method:"delete",body:D({},se||{})})}},11851:function(d,v,e){"use strict";e.d(v,{Bn:function(){return l},hw:function(){return i},mi:function(){return r}});const r="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",i="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",l="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},81428:function(d,v,e){"use strict";e.d(v,{AL:function(){return N},Iy:function(){return p},Qv:function(){return b},ez:function(){return M},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,ie){const ue=oe.match(/^(\s+)(?:```)/);if(ue===null)return ie;const K=ue[1];return ie.split(`
|
|
|
`).map(V=>{const G=V.match(/^\s+/);if(G===null)return V;const[te]=G;return te.length>=K.length?V.slice(K.length):V}).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,ie,ue,K){if(ie>=oe.length||oe[ie].level<=ue)return ie;var V=oe[ie];K.push("<li><a href='#"+f+V.anchor+"'>"+V.text+"</a>"),ie++;var G=[];return ie=_(oe,ie,V.level,G),G.length>0&&(K.push("<ul>"),G.forEach(function(te){K.push(te)}),K.push("</ul>")),K.push("</li>"),ie=_(oe,ie,ue,K),ie}function b(){return _(h,0,0,u),u.push("</ul>"),u.join("")}const S={heading(oe){const ie=x.exec(oe);if(f+=1,ie)return{type:"heading",raw:ie[0],depth:ie[1].length,text:ie[2]}},fences(oe){const ie=this.rules.block.fences.exec(oe);if(ie){const ue=ie[0];let K=s(ue,ie[3]||"");const V=ie[2]?ie[2].trim():ie[2];if(["latex","katex","math"].indexOf(V)>=0){const G=T(),te=K;K=G,D[G]={type:"block",expression:te}}return{type:"code",raw:ue,lang:V,text:K}}}},R=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let L=0;const T=()=>`__special_katext_id_${L++}__`;let D={};function M(){return D}function N(){L=0,D={}}function j(oe){return oe=oe.replace(R,(ie,ue)=>{const K=T();return D[K]={type:"inline",expression:ue},K}),oe}const Q=a.listitem;a.listitem=function(oe){return Q(j(oe))};const X=a.paragraph;a.paragraph=function(oe){return X(j(oe))};const Y=a.tablecell;a.tablecell=function(oe,ie){return Y(j(oe),ie)},a.code=function(oe,ie,ue){const K=(ie||"").match(/\S*/)[0];return K?["latex","katex","math"].indexOf(K)>=0?`<p class='editormd-tex'>${oe}</p>`:`<pre class="prettyprint linenums"><code class="language-${ie}">${ue?oe:(0,l.escape)(oe,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(ue?oe:(0,l.escape)(oe,!0))+"</code></pre>"},a.heading=function(oe,ie,ue){let K=this.options.headerPrefix+ue.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return h.push({anchor:K,level:ie,text:oe}),"<h"+ie+' id="'+f+K+'">'+oe+"</h"+ie+">"},i().setOptions({silent:!0,gfm:!0,pedantic:!1}),i().use({tokenizer:S,renderer:a}),v.ZP=i()},51257: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 aiReviewConfigformatChecks},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__(48790),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__(6383),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(81722),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(77935),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(25690),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__(346),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(49535),_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(91842),_utils_fetch__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(38986),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__(11851),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,v,e)=>v in d?__defProp(d,v,{enumerable:!0,configurable:!0,writable:!0,value:e}):d[v]=e,__spreadValues=(d,v)=>{for(var e in v||(v={}))__hasOwnProp.call(v,e)&&__defNormalProp(d,e,v[e]);if(__getOwnPropSymbols)for(var e of __getOwnPropSymbols(v))__propIsEnum.call(v,e)&&__defNormalProp(d,e,v[e]);return d},__spreadProps=(d,v)=>__defProps(d,__getOwnPropDescs(v)),__async=(d,v,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,v)).next())}),_a,_b;moment__WEBPACK_IMPORTED_MODULE_12___default().extend(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default());const HighLightedContent=(d,v=[],e="#2EC25B")=>(typeof v=="string"&&(v=[v]),d.replace(new RegExp(`(${v.join("|")})`,"gi"),`<span style="color:${e}">$1</span>`)),parseParams=d=>{d=d||{};let v="";for(let e in d)typeof d[e]=="object"?Array.isArray(d[e])&&d[e].forEach((r,i)=>{v+="&"+e+"[]="+r}):d[e]!==void 0&&(v+="&"+e+"="+d[e]);return v.substr(1)},getKey=d=>window.atob(window.atob(d));function bytesToSize(d){var v=["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)+" "+v[e]}const getTwoDecimalPlaces=d=>Math.round(Math.round(d*1e5)/1e3*100)/100,NewAntdDisabledDate=(d,v=null)=>{const e=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.startTime).startOf("day"),r=d>moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.endTime).endOf("day"),i=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).startOf("day");return v!=null&&v.endTime?v!=null&&v.compared?moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared)?i||r:e||r:d&&e||r:v!=null&&v.compared&&moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared)?i:e},NewAntdDisabledTime=(d,v=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(v!=null&&v.compared){const s=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).format("HH")),h=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).format("mm")),u=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).format("ss"));return moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.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,v,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()(v).endOf("day"),c=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(e).startOf("day");return v?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,v)=>{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(v){const c=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v).format("HH")),f=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v).format("mm"));return moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(v),"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,v,e)=>{typeof d=="string"&&(d=Number(d)),typeof v=="string"&&(v=Number(v));const r=(d.toString().split(".")[1]||"").length,i=(v.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(v*c))/c;case"-":return(Math.round(d*c)-Math.round(v*c))/c;case"*":return Math.round(d*c)*Math.round(v*c)/(c*c);case"/":return Math.round(d*c)/Math.round(v*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 v=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<v.length;f++){const s=v[f],h=l(s),u=h?i[v.length-1-f]:"";c+=h+u}return c=c.replace(/^一十$/,"\u5341"),c=c.replace(/^一(?=十[一二三四五六七八九])/,""),c},moveArray=(d,v,e)=>{const r=d.splice(v,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 v=d.replace(/(?:\r\n|\n)/g,`\x1B[41m\x1B[37m\u21B5\x1B[0m\r
|
|
|
`).replace(/ +$/g,"\x1B[41m \x1B[0m");return console.debug("str:",v,JSON.stringify(d)),v},StatusTags=d=>{const v={\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:v[e]&&v[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 v,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:(v=r==null?void 0:r[d.status])==null?void 0:v.class},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkShixunListStatus=d=>{var v,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:(v=r==null?void 0:r[d.status])==null?void 0:v.class},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkDetailStatus=d=>{var v,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:(v=r==null?void 0:r[d.status])==null?void 0:v.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 v,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:(v=r==null?void 0:r[d.status])==null?void 0:v.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 v,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:(v=r==null?void 0:r[d.status])==null?void 0:v.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:v}=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[v].class},e[v].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 v={\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&&(v=__spreadValues(__spreadValues({},v),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:v[i]&&v[i].class},i))})}catch(i){console.log("utils.status.tag:",i,d.status)}return r},exerciseTips=(d,v)=>{if(d===5||v)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 v,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:(v=r[d.status])==null?void 0:v.class},(e=r[d.status])==null?void 0:e.name)},CommonWorkStatus=d=>{var v,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:(v=r[d.status])==null?void 0:v.class},(e=r[d.status])==null?void 0:e.name)},timego=d=>{d=new Date(d).getTime();let v=1e3*60,e=v*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/v,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,v)=>{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(v)&&(v=v.replace(RegExp.$1,(d.getFullYear()+"").substr(4-RegExp.$1.length))),/(w+)/.test(v)&&(v=v.replace(RegExp.$1,r[RegExp.$1.length-1][d.getDay()]));for(let i in e)new RegExp("("+i+")").test(v)&&(v=v.replace(RegExp.$1,RegExp.$1.length==1?e[i]:("00"+e[i]).substr((""+e[i]).length)));return v},toTimeFormat=d=>{if(!d||d<0)return"0\u79D2";console.log("time:",d);let v=60,e=v*60,r=e*24,i=d/r,l=d/e,c=d/v,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="",v=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<=v};function buildTree(d,v){const e={};let r=null;return d.forEach(i=>{e[i.properties.uuid]=__spreadProps(__spreadValues({},i),{children:[]})}),v.forEach(i=>{const l=e[i.startNodeUuid],c=e[i.endNodeUuid];l&&c&&l.children.push(c)}),d.forEach(i=>{!v.some(c=>c.endNodeUuid===i.properties.uuid)&&(r=e[i.properties.uuid])}),r}const handleValidatorNickName=(d,v,e)=>{if(v){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(v),c=r.test(v);(l===!0||c===!0||v.length<2||v.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57\u53CA\u4E0B\u5212\u7EBF")}e()},handleValidatorName=(d,v,e)=>{if(v){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(v),c=r.test(v);(l===!0||c===!0||v.length<2||v.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57")}e()},getHiddenName=d=>{if(!d)return"";let v=d.length-1,e="";for(var r=0;r<v;r++)e+="*";return d.substr(0,1)+e},getBase64=(d,v)=>{const e=new FileReader;e.addEventListener("load",()=>v(e.result)),e.readAsDataURL(d)},getFileContentAndUrl=d=>new Promise((v,e)=>{var r=new FileReader;r.onload=function(){try{const i=window.URL.createObjectURL(d);v({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 v,e=RegExp("(^| )"+d+"=([^;]+)(;|$)");return(v=document.cookie.match(e))?decodeURIComponent(v[2]):null};function setCookie(d,v,e){var r=new Date;r.setTime(r.getTime()+e*24*60*60*1e3);var i="expires="+r.toUTCString();document.cookie=d+"="+v+"; "+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(";"),v=0;v<d.length;v++){var e=d[v],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,v){let e=document.createElement("a");document.body.appendChild(e),e.href=v,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,v=d.split(".").reverse();return v.length>2?[v[1],v[0]].join("."):d}function getBlob(d){return new Promise(v=>{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&&v(e.response)},e.send()})}function saveAs(d,v){if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveBlob(d,v);else{const e=document.createElement("a"),r=document.querySelector("body");e.href=window.URL.createObjectURL(d),e.download=v,e.style.display="none",r.appendChild(e),e.click(),r.removeChild(e),window.URL.revokeObjectURL(e.href)}}function download(d,v){getBlob(d).then(e=>{saveAs(e,v)})}function downLoadFileIframe(d,v){return new Promise((e,r)=>{var i=v,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,v){downLoadLink(d,v)}const setUrlQuery=d=>{let{url:v,query:e}=d;if(!v)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]}`));v.indexOf("?")!==-1?v=`${v}&${r.join("&")}`:v=`${v}?${r.join("&")}`,console.log("url1111",v)}return v};function isPc(){let d=navigator.userAgent,v=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],e=!0;for(var r=0;r<v.length;r++)if(d.indexOf(v[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 v;return(v=d==null?void 0:d.toString())==null?void 0:v.replace(/\B(?=(\d{3})+(?!\d))/g,",")},openNewWindow=d=>{let v=document.createElement("a");v.target="_blank",document.body.appendChild(v),v.href=d;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),v.dispatchEvent(e),document.body.removeChild(v)},openNewWindows=d=>{let v=document.createElement("a");document.body.appendChild(v),v.href=d;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),v.dispatchEvent(e),document.body.removeChild(v)},formatTextMiddleIntercept=(d="")=>d.length<=6?d:`${d.substring(0,3)}...${d.substring(d.length-3,d.length)}`,HalfPastOne=()=>{let d=new Date().getHours(),v=new Date().getMinutes();return v>=30?(d++,v="00"):v="30",d+":"+v},DayHalfPastOne=(d="-")=>{let v=new Date().getHours(),e=new Date().getMinutes();return e>=30?(v++,e="00"):e="30",new Date().toLocaleDateString().replace(/\//g,d)+" "+v+":"+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 v=Object.prototype.toString.call(d);return v.substring(8,v.length-1)},isEmpty=d=>type(d)==="Array"?d.length===0:type(d)==="Object"?Object.keys(d).length===0:!d,rangeNumber=(d,v)=>{const e=[];for(let r=d;r<v;r++)e.push(r);return e},middleEllipsis=(d,v=12)=>{let e=v/2-2,r=v/2+3;return d.length>v?d.substr(0,e)+"..."+d.substr(r,v):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,v){const e=new RegExp(`(^|&)${d}=([^&]*)(&|$)`,"i"),r=v.substr(1).match(e);return r!=null?decodeURIComponent(r[2]):null}const getMessagesUrl=d=>{var v;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/${(v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.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,v)=>__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||v)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((v,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){v("");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 v,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/${(v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.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,v,e,r){if(console.log("param:",d),v=v||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{v&&(u=c(u)?v+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,v)=>{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],v==="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 v=d.split(".");return v.length>2&&/^[a-z]{2}$/.test(v[v.length-2])?v.slice(-3).join("."):v.slice(-2).join(".")}const setHeader=(d,v)=>{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,v)}},setThreeComponent=()=>{(function(d){XMLHttpRequest.prototype.open=function(v,e,r=!0){const i=setHeader({method:v,headers:{}});d.call(this,v,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(v,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 v=/(\w+)=([^\#&]*)/gi,e={};return d.replace(v,function(r,i,l){e[i]=decodeURI(l)}),e},messageInfo=(d,v)=>{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${v}\u53D1\u5E03\uFF0C\u8BF7\u7B49\u5F85\u3002`}[d];antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning(r)},base64ToBlob=(d,v)=>{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=v.split("."))==null?void 0:e[1]]||"application/octet-stream"})},downloadFile=(d,v,e)=>{const r=base64ToBlob(v,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 v;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:((v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.login)||""})}catch(e){console.log("trackEvent:err:",e)}},trackEventCustom=d=>{if(d.length)try{window._czc.push(["_setCustomVar",...d])}catch(v){console.log("trackEvent:err:",v)}},onPreviewImage=d=>{const v=(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=v(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,v)=>{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 v?(l=(i=(r=c==null?void 0:c.second_category)==null?void 0:r.filter(f=>f.category_id==v))==null?void 0:i[0])==null?void 0:l.category_name:c==null?void 0:c.name}return null},bindPhone=d=>{const v=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:()=>{v.destroy(),d!=null&&d.onCancel&&d.onCancel()}})},copyTextFuc=(d="",v=!1)=>{const e=document.createElement("textarea");e.value=d,document.body.appendChild(e),e.select(),document.execCommand("Copy"),v||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 v=d.substring(1),e={};return v.split("&").forEach(function(r){let i=r.split("=");e[i[0]]=decodeURIComponent(i[1])}),e},arrTrans=(d,v)=>{if(!v)return null;const e=[];return v.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,v,e)=>{const r=d,i=localStorage.getItem(r),l=i!==null&&i!=="[object Object]"?JSON.parse(i):{};l[e]=v,localStorage.setItem(r,JSON.stringify(l))},getItem:(d,v)=>{const e=d,r=localStorage.getItem(e);return(r!==null&&r!=="[object Object]"?JSON.parse(r):{})[v]}},ImgSrcConvert=d=>d!=null&&d.startsWith("http")?d:_env__WEBPACK_IMPORTED_MODULE_7__.Z.IMG_SERVER+d,compareVersion=d=>{const v=getVersion(),e=d.split("."),r=v.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,v)=>{d=`${d}${v?","+v:""}`;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 v=navigator.userAgent.toLowerCase().match(/version\/[\d.]+/gi);return v&&v[0].replace(/version\//,"")},isLocalApp=()=>navigator.userAgent.indexOf("ExerciseApp")>-1;function randomArray(d,v){let e=d.length,r,i;v=v||1;let l=function(){var c=Math.sin(v++)*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 v=document.getElementsByTagName("iframe");for(let r=0;r<v.length;r++)v[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((v,e)=>{var r=new XMLHttpRequest;r.withCredentials=!0,r.onload=function(){var i=new FileReader;i.onloadend=function(){v(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 v;(v=document.querySelector(d))==null||v.scrollTo({left:0,top:0,behavior:"smooth"})}function dealUploadChange(d){var v,e,r,i,l;const c=(v=d.fileList)==null?void 0:v.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="",v){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>v?r[0].slice(0,v)+"..."+r[1]:d}function cutName(d="",v,e="--"){return d?(d==null?void 0:d.length)>=v?(d==null?void 0:d.slice(0,v))+"...":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 v={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(T=>{p.push(T.id),y=y+T.score,_=_+1}),__spreadValues(__spreadValues({},S),{number:v[R+1]})});return{all_questions_count:_,all_score:y,questionList:b,ids:p,exam:e}},formatRandomPaperDatas=d=>{var v;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=[];(v=r==null?void 0:r.question_type_position)==null||v.map((L,T)=>{p==null||p.map((D,M)=>{L.type===D.type&&y.push(D)})});const _=[];let b=0,S=0;const R=y.filter(L=>L.questions_count>0).map((L,T)=>{var D;return(D=L.questions)==null||D.forEach(M=>{_.push(M.id),b=b+M.score,S=S+1}),__spreadValues(__spreadValues({},L),{number:e[T+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,v)=>{var e;try{v?(d.send(JSON.stringify({type:"toggleLockExit",data:!0})),v!=null&&v.forbid_screen&&d.send(JSON.stringify({type:"open-disabled-switchscreen"})),v!=null&&v.use_white_list&&d.send(JSON.stringify({type:"open-only-allow-runapp",data:v==null?void 0:v.white_list})),v!=null&&v.net_limit&&d.send(JSON.stringify({type:"network-close",data:(e=v==null?void 0:v.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"]'),v=d==null?void 0:d.querySelector("span");v&&(v.classList.remove("jumping-icon"),v.offsetWidth,v.classList.add("jumping-icon"),setTimeout(()=>{var e;(e=v==null?void 0:v.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 v=[];return d.is_locked&&v.push("\u8003\u8BD5\u89E3\u9501\u7801"),d.login_restrict&&v.push("\u8003\u8BD5\u767B\u5F55\u9650\u5236"),d.screen_open&&v.push("\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377"),d.ip_bind&&v.push("IP\u5730\u5740\u7ED1\u5B9A"),(d.ip_limit==="pub"||d.ip_limit==="inner")&&v.push("\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP"),d.open_camera&&v.push("\u8003\u8BD5\u4E2D\u542F\u7528\u62CD\u7167\u529F\u80FD\u8FDB\u884C\u76D1\u8003\u548C\u884C\u4E3A\u5206\u6790"),d.identity_verify&&v.push("\u8003\u8BD5\u524D\u4EBA\u8138\u8EAB\u4EFD\u6838\u9A8C"),d.open_phone_video_recording&&v.push("\u8003\u8BD5\u4E2D\u5F00\u542F\u624B\u673A\u89C6\u9891\u5F55\u5236"),v.length>0?v.join("\u3001"):""},releaseRuleDataAdjust=d=>{const v=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(v).map(r=>__spreadProps(__spreadValues({},r),{group_name:r.group_name.flat(),group_id:r.group_id.flat()}))},showInstallWebRtcDoc=()=>new Promise((d,v)=>__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(v=>{throw console.error("Failed to copy text: ",v),v}):new Promise((v,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!"),v(!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,v="utf-8")=>isArrayBuffer(d)?new TextDecoder(v).decode(d):d,aiReviewConfigformatChecks=d=>{if(!d||d.length===0)return!0;const v=new Set,e=new Set;let r=!0,i=!0;const l=d==null?void 0:d.reduce((c,f)=>{v!=null&&v.has(f.name)&&(r=!1),v==null||v.add(f.name),e!=null&&e.has(f.content)&&(i=!1),e==null||e.add(f.content);const s=parseFloat(f.weight);return c+s},0);return r?i?parseFloat(l.toFixed(2))!=100?(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning("\u6240\u6709\u8BC4\u5206\u9879\u76EE\u7684\u6743\u91CD\u4E4B\u548C\u5FC5\u987B\u4E3A100%"),!1):!0:(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning("\u8BC4\u5206\u6807\u51C6\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D!"),!1):(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning("\u8BC4\u5206\u9879\u76EE\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D!"),!1)}},4787:function(d,v,e){"use strict";e.d(v,{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)}},91231:function(d,v,e){"use strict";e.d(v,{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 M={},N=!1;return y.forEach(function(j){var Q=b[j.route.id];Q&&(Object.assign(M,Q),N=!0)}),N?M:void 0}),L=_slicedToArray(R,2),T=L[0],D=L[1];return React.useEffect(function(){window.__UMI_LOADER_DATA__||Promise.all(y.filter(function(M){return M.route.hasServerLoader}).map(function(M){return new Promise(function(N){fetchServerLoader({id:M.route.id,basename:S,cb:N})})})).then(function(M){if(M.length){var N={};M.forEach(function(j){Object.assign(N,j)}),D(N)}})},[]),{data:T}}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 v={en_GB:"en-gb",en_US:"en",zh_CN:"zh-cn",zh_TW:"zh-tw"},e=function(i){var l=v[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,v,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,T=i.useRef(!1),D=i.useRef(null),[M,N]=(0,r.Z)(!1),j=function(){y==null||y.apply(void 0,arguments)};i.useEffect(()=>{let Y=null;return _&&(Y=setTimeout(()=>{var oe;(oe=D.current)===null||oe===void 0||oe.focus()})),()=>{Y&&clearTimeout(Y)}},[]);const Q=Y=>{f(Y)&&(N(!0),Y.then(function(){N(!1,!0),j.apply(void 0,arguments),T.current=!1},oe=>{if(N(!1,!0),T.current=!1,!(S!=null&&S()))return Promise.reject(oe)}))},X=Y=>{if(T.current)return;if(T.current=!0,!L){j();return}let oe;if(b){if(oe=L(Y),R&&!f(oe)){T.current=!1,j(Y);return}}else if(L.length)oe=L(y),T.current=!1;else if(oe=L(),!oe){j();return}Q(oe)};return i.createElement(l.ZP,Object.assign({},(0,c.n)(u),{onClick:X,loading:M,prefixCls:x},p,{ref:D}),a)};v.Z=s},53487:function(d,v,e){"use strict";e.d(v,{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),[T,D]=i.useState(0),[M,N]=(0,r.Z)(!1,{value:y.open}),{getPrefixCls:j}=i.useContext(c.E_),Q=j(u||"select",_);i.useEffect(()=>{if(N(!0),typeof ResizeObserver!="undefined"){const Y=new ResizeObserver(ie=>{const ue=ie[0].target;L(ue.offsetHeight+8),D(ue.offsetWidth)}),oe=setInterval(()=>{var ie;const ue=a?`.${a(Q)}`:`.${Q}-dropdown`,K=(ie=S.current)===null||ie===void 0?void 0:ie.querySelector(ue);K&&(clearInterval(oe),Y.observe(K))},10);return()=>{clearInterval(oe),Y.disconnect()}}},[]);let X=Object.assign(Object.assign({},y),{style:Object.assign(Object.assign({},b),{margin:0}),open:M,visible:M,getPopupContainer:()=>S.current});return x&&(X=x(X)),i.createElement("div",{ref:S,style:{paddingBottom:R,position:"relative",minWidth:T}},i.createElement(h,Object.assign({},X)))}return f(p)}},36785:function(d,v,e){"use strict";e.d(v,{o2:function(){return f},yT:function(){return s}});var r=e(92393),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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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}`;v.Z=f},79676:function(d,v,e){"use strict";e.d(v,{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],T=Object.assign(Object.assign({},L),{offset:[0,0]});switch(S[R]=T,f.has(R)&&(T.autoArrow=!1),R){case"top":case"topLeft":case"topRight":T.offset[1]=-b-p;break;case"bottom":case"bottomLeft":case"bottomRight":T.offset[1]=b+p;break;case"left":case"leftTop":case"leftBottom":T.offset[0]=-b-p;break;case"right":case"rightTop":case"rightBottom":T.offset[0]=b+p;break}const D=(0,r.fS)({contentRadius:y,limitVerticalRadius:!0});if(x)switch(R){case"topLeft":case"bottomLeft":T.offset[0]=-D.dropdownArrowOffset-b;break;case"topRight":case"bottomRight":T.offset[0]=D.dropdownArrowOffset+b;break;case"leftTop":case"rightTop":T.offset[1]=-D.dropdownArrowOffset-b;break;case"leftBottom":case"rightBottom":T.offset[1]=D.dropdownArrowOffset+b;break}T.overflow=i(R,D,u,a),_&&(T.htmlRegion="visibleFirst")}),S}},92343:function(d,v,e){"use strict";var r;e.d(v,{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,v,e){"use strict";e.d(v,{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 T=`screen${x[y+1].toUpperCase()}Min`;if(!(a[R]<=a[T]))throw new Error(`${R}<=${T} fails : !(${a[R]}<=${a[T]})`)}}),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:T}=L;this.dispatch(Object.assign(Object.assign({},y),{[_]:T}))},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,v,e){"use strict";e.d(v,{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=ie=>{const{componentCls:ue,colorPrimary:K}=ie;return{[ue]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${K})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${ie.motionEaseOutCirc}`,`opacity 2s ${ie.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${ie.motionEaseInOut}`,`opacity 0.35s ${ie.motionEaseInOut}`].join(",")}}}}};var x=(0,u.Z)("Wave",ie=>[a(ie)]),p=e(70425),y=e(16089),_=e(77900),b=e(1585);function S(ie){const ue=(ie||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return ue&&ue[1]&&ue[2]&&ue[3]?!(ue[1]===ue[2]&&ue[2]===ue[3]):!0}function R(ie){return ie&&ie!=="#fff"&&ie!=="#ffffff"&&ie!=="rgb(255, 255, 255)"&&ie!=="rgba(255, 255, 255, 1)"&&S(ie)&&!/rgba\((?:\d*, ){3}0\)/.test(ie)&&ie!=="transparent"}function L(ie){const{borderTopColor:ue,borderColor:K,backgroundColor:V}=getComputedStyle(ie);return R(ue)?ue:R(K)?K:R(V)?V:null}var T=e(4572);function D(ie){return Number.isNaN(ie)?0:ie}const M=ie=>{const{className:ue,target:K,component:V}=ie,G=f.useRef(null),[te,q]=f.useState(null),[J,le]=f.useState([]),[z,F]=f.useState(0),[se,_e]=f.useState(0),[Pe,Re]=f.useState(0),[He,je]=f.useState(0),[Zt,yt]=f.useState(!1),Dt={left:z,top:se,width:Pe,height:He,borderRadius:J.map(qt=>`${qt}px`).join(" ")};te&&(Dt["--wave-color"]=te);function Qt(){const qt=getComputedStyle(K);q(L(K));const Xe=qt.position==="static",{borderLeftWidth:Tt,borderTopWidth:jt}=qt;F(Xe?K.offsetLeft:D(-parseFloat(Tt))),_e(Xe?K.offsetTop:D(-parseFloat(jt))),Re(K.offsetWidth),je(K.offsetHeight);const{borderTopLeftRadius:st,borderTopRightRadius:gt,borderBottomLeftRadius:dt,borderBottomRightRadius:Je}=qt;le([st,gt,Je,dt].map(Ue=>D(parseFloat(Ue))))}if(f.useEffect(()=>{if(K){const qt=(0,y.Z)(()=>{Qt(),yt(!0)});let Xe;return typeof ResizeObserver!="undefined"&&(Xe=new ResizeObserver(Qt),Xe.observe(K)),()=>{y.Z.cancel(qt),Xe==null||Xe.disconnect()}}},[]),!Zt)return null;const Jt=(V==="Checkbox"||V==="Radio")&&(K==null?void 0:K.classList.contains(T.A));return f.createElement(_.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(qt,Xe)=>{var Tt;if(Xe.deadline||Xe.propertyName==="opacity"){const jt=(Tt=G.current)===null||Tt===void 0?void 0:Tt.parentElement;(0,b.v)(jt).then(()=>{jt==null||jt.remove()})}return!1}},qt=>{let{className:Xe}=qt;return f.createElement("div",{ref:G,className:i()(ue,{"wave-quick":Jt},Xe),style:Dt})})};var j=(ie,ue)=>{var K;const{component:V}=ue;if(V==="Checkbox"&&!(!((K=ie.querySelector("input"))===null||K===void 0)&&K.checked))return;const G=document.createElement("div");G.style.position="absolute",G.style.left="0px",G.style.top="0px",ie==null||ie.insertBefore(G,ie==null?void 0:ie.firstChild),(0,b.s)(f.createElement(M,Object.assign({},ue,{target:ie})),G)},Q=e(88088);function X(ie,ue,K){const{wave:V}=f.useContext(s.E_),[,G,te]=(0,Q.Z)(),q=(0,p.useEvent)(z=>{const F=ie.current;if(V!=null&&V.disabled||!F)return;const se=F.querySelector(`.${T.A}`)||F,{showEffect:_e}=V||{};(_e||j)(se,{className:ue,token:G,component:K,event:z,hashId:te})}),J=f.useRef();return z=>{y.Z.cancel(J.current),J.current=(0,y.Z)(()=>{q(z)})}}var oe=ie=>{const{children:ue,disabled:K,component:V}=ie,{getPrefixCls:G}=(0,f.useContext)(s.E_),te=(0,f.useRef)(null),q=G("wave"),[,J]=x(q),le=X(te,i()(q,J),V);if(f.useEffect(()=>{const F=te.current;if(!F||F.nodeType!==1||K)return;const se=_e=>{!(0,c.Z)(_e.target)||!F.getAttribute||F.getAttribute("disabled")||F.disabled||F.className.includes("disabled")||F.className.includes("-leave")||le(_e)};return F.addEventListener("click",se,!0),()=>{F.removeEventListener("click",se,!0)}},[K]),!f.isValidElement(ue))return ue!=null?ue:null;const z=(0,l.Yr)(ue)?(0,l.sQ)(ue.ref,te):te;return(0,h.Tm)(ue,{ref:z})}},4572:function(d,v,e){"use strict";e.d(v,{A:function(){return r}});const r="ant-wave-target"},67797:function(d,v,e){"use strict";e.d(v,{n:function(){return Ot},Z:function(){return Wt}});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(Fe,fe){var pe={};for(var Pt in Fe)Object.prototype.hasOwnProperty.call(Fe,Pt)&&fe.indexOf(Pt)<0&&(pe[Pt]=Fe[Pt]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Pt=Object.getOwnPropertySymbols(Fe);Ce<Pt.length;Ce++)fe.indexOf(Pt[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Pt[Ce])&&(pe[Pt[Ce]]=Fe[Pt[Ce]]);return pe};const _=r.createContext(void 0);var S=Fe=>{const{getPrefixCls:fe,direction:pe}=r.useContext(h.E_),{prefixCls:Pt,size:Ce,className:ft}=Fe,Ut=y(Fe,["prefixCls","size","className"]),At=fe("btn-group",Pt),[,,Oe]=(0,p.Z)();let wt="";switch(Ce){case"large":wt="lg";break;case"small":wt="sm";break;case"middle":case void 0:break;default:}const be=l()(At,{[`${At}-${wt}`]:wt,[`${At}-rtl`]:pe==="rtl"},ft,Oe);return r.createElement(_.Provider,{value:Ce},r.createElement("div",Object.assign({},Ut,{className:be})))},R=e(92343);const L=/^[\u4e00-\u9fa5]{2}$/,T=L.test.bind(L);function D(Fe){return typeof Fe=="string"}function M(Fe){return Fe==="text"||Fe==="link"}function N(Fe,fe){if(Fe==null)return;const pe=fe?" ":"";return typeof Fe!="string"&&typeof Fe!="number"&&D(Fe.type)&&T(Fe.props.children)?(0,R.Tm)(Fe,{children:Fe.props.children.split("").join(pe)}):D(Fe)?T(Fe)?r.createElement("span",null,Fe.split("").join(pe)):r.createElement("span",null,Fe):(0,R.M2)(Fe)?r.createElement("span",null,Fe):Fe}function j(Fe,fe){let pe=!1;const Pt=[];return r.Children.forEach(Fe,Ce=>{const ft=typeof Ce,Ut=ft==="string"||ft==="number";if(pe&&Ut){const At=Pt.length-1,Oe=Pt[At];Pt[At]=`${Oe}${Ce}`}else Pt.push(Ce);pe=Ut}),r.Children.map(Pt,Ce=>N(Ce,fe))}const Q=null,X=null,Y=null;var ie=(0,r.forwardRef)((Fe,fe)=>{const{className:pe,style:Pt,children:Ce,prefixCls:ft}=Fe,Ut=l()(`${ft}-icon`,pe);return r.createElement("span",{ref:fe,className:Ut,style:Pt},Ce)}),ue=e(58617),K=e(77900);const V=(0,r.forwardRef)((Fe,fe)=>{let{prefixCls:pe,className:Pt,style:Ce,iconClassName:ft}=Fe;const Ut=l()(`${pe}-loading-icon`,Pt);return r.createElement(ie,{prefixCls:pe,className:Ut,style:Ce,ref:fe},r.createElement(ue.Z,{className:ft}))}),G=()=>({width:0,opacity:0,transform:"scale(0)"}),te=Fe=>({width:Fe.scrollWidth,opacity:1,transform:"scale(1)"});var J=Fe=>{const{prefixCls:fe,loading:pe,existIcon:Pt,className:Ce,style:ft}=Fe,Ut=!!pe;return Pt?r.createElement(V,{prefixCls:fe,className:Ce,style:ft}):r.createElement(K.default,{visible:Ut,motionName:`${fe}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:G,onAppearActive:te,onEnterStart:G,onEnterActive:te,onLeaveStart:te,onLeaveActive:G},(At,Oe)=>{let{className:wt,style:be}=At;return r.createElement(V,{prefixCls:fe,className:Ce,style:Object.assign(Object.assign({},ft),be),ref:Oe,iconClassName:wt})})},le=e(17313),z=e(37613),F=e(83116);const se=(Fe,fe)=>({[`> span, > ${Fe}`]:{"&:not(:last-child)":{[`&, & > ${Fe}`]:{"&:not(:disabled)":{borderInlineEndColor:fe}}},"&:not(:first-child)":{[`&, & > ${Fe}`]:{"&:not(:disabled)":{borderInlineStartColor:fe}}}}});var Pe=Fe=>{const{componentCls:fe,fontSize:pe,lineWidth:Pt,groupBorderColor:Ce,colorErrorHover:ft}=Fe;return{[`${fe}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${fe}`]:{"&:not(:last-child)":{[`&, & > ${fe}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-Pt,[`&, & > ${fe}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[fe]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${fe}-icon-only`]:{fontSize:pe}},se(`${fe}-primary`,Ce),se(`${fe}-danger`,ft)]}};const Re=Fe=>{const{componentCls:fe,iconCls:pe,fontWeight:Pt}=Fe;return{[fe]:{outline:"none",position:"relative",display:"inline-block",fontWeight:Pt,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${Fe.lineWidth}px ${Fe.lineType} transparent`,cursor:"pointer",transition:`all ${Fe.motionDurationMid} ${Fe.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:Fe.lineHeight,color:Fe.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${fe}-icon`]:{lineHeight:0},[`> ${pe} + span, > span + ${pe}`]:{marginInlineStart:Fe.marginXS},[`&:not(${fe}-icon-only) > ${fe}-icon`]:{[`&${fe}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:Fe.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,le.Qy)(Fe)),[`&-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:-Fe.lineWidth,insetInlineStart:-Fe.lineWidth,display:"inline-block",width:Fe.lineWidth,height:`calc(100% + ${Fe.lineWidth*2}px)`,backgroundColor:Fe.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${fe}-primary`]:{[`&:not([disabled]) + ${fe}-compact-vertical-item${fe}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-Fe.lineWidth,insetInlineStart:-Fe.lineWidth,display:"inline-block",width:`calc(100% + ${Fe.lineWidth*2}px)`,height:Fe.lineWidth,backgroundColor:Fe.colorPrimaryHover,content:'""'}}}}}}},He=(Fe,fe,pe)=>({[`&:not(:disabled):not(${Fe}-disabled)`]:{"&:hover":fe,"&:active":pe}}),je=Fe=>({minWidth:Fe.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Zt=Fe=>({borderRadius:Fe.controlHeight,paddingInlineStart:Fe.controlHeight/2,paddingInlineEnd:Fe.controlHeight/2}),yt=Fe=>({cursor:"not-allowed",borderColor:Fe.borderColorDisabled,color:Fe.colorTextDisabled,backgroundColor:Fe.colorBgContainerDisabled,boxShadow:"none"}),Dt=(Fe,fe,pe,Pt,Ce,ft,Ut,At)=>({[`&${Fe}-background-ghost`]:Object.assign(Object.assign({color:pe||void 0,backgroundColor:fe,borderColor:Pt||void 0,boxShadow:"none"},He(Fe,Object.assign({backgroundColor:fe},Ut),Object.assign({backgroundColor:fe},At))),{"&:disabled":{cursor:"not-allowed",color:Ce||void 0,borderColor:ft||void 0}})}),Qt=Fe=>({[`&:disabled, &${Fe.componentCls}-disabled`]:Object.assign({},yt(Fe))}),Jt=Fe=>Object.assign({},Qt(Fe)),qt=Fe=>({[`&:disabled, &${Fe.componentCls}-disabled`]:{cursor:"not-allowed",color:Fe.colorTextDisabled}}),Xe=Fe=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Jt(Fe)),{backgroundColor:Fe.defaultBg,borderColor:Fe.defaultBorderColor,color:Fe.defaultColor,boxShadow:Fe.defaultShadow}),He(Fe.componentCls,{color:Fe.colorPrimaryHover,borderColor:Fe.colorPrimaryHover},{color:Fe.colorPrimaryActive,borderColor:Fe.colorPrimaryActive})),Dt(Fe.componentCls,Fe.ghostBg,Fe.defaultGhostColor,Fe.defaultGhostBorderColor,Fe.colorTextDisabled,Fe.colorBorder)),{[`&${Fe.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:Fe.colorError,borderColor:Fe.colorError},He(Fe.componentCls,{color:Fe.colorErrorHover,borderColor:Fe.colorErrorBorderHover},{color:Fe.colorErrorActive,borderColor:Fe.colorErrorActive})),Dt(Fe.componentCls,Fe.ghostBg,Fe.colorError,Fe.colorError,Fe.colorTextDisabled,Fe.colorBorder)),Qt(Fe))}),Tt=Fe=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Jt(Fe)),{color:Fe.primaryColor,backgroundColor:Fe.colorPrimary,boxShadow:Fe.primaryShadow}),He(Fe.componentCls,{color:Fe.colorTextLightSolid,backgroundColor:Fe.colorPrimaryHover},{color:Fe.colorTextLightSolid,backgroundColor:Fe.colorPrimaryActive})),Dt(Fe.componentCls,Fe.ghostBg,Fe.colorPrimary,Fe.colorPrimary,Fe.colorTextDisabled,Fe.colorBorder,{color:Fe.colorPrimaryHover,borderColor:Fe.colorPrimaryHover},{color:Fe.colorPrimaryActive,borderColor:Fe.colorPrimaryActive})),{[`&${Fe.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:Fe.colorError,boxShadow:Fe.dangerShadow,color:Fe.dangerColor},He(Fe.componentCls,{backgroundColor:Fe.colorErrorHover},{backgroundColor:Fe.colorErrorActive})),Dt(Fe.componentCls,Fe.ghostBg,Fe.colorError,Fe.colorError,Fe.colorTextDisabled,Fe.colorBorder,{color:Fe.colorErrorHover,borderColor:Fe.colorErrorHover},{color:Fe.colorErrorActive,borderColor:Fe.colorErrorActive})),Qt(Fe))}),jt=Fe=>Object.assign(Object.assign({},Xe(Fe)),{borderStyle:"dashed"}),st=Fe=>Object.assign(Object.assign(Object.assign({color:Fe.colorLink},He(Fe.componentCls,{color:Fe.colorLinkHover,backgroundColor:Fe.linkHoverBg},{color:Fe.colorLinkActive})),qt(Fe)),{[`&${Fe.componentCls}-dangerous`]:Object.assign(Object.assign({color:Fe.colorError},He(Fe.componentCls,{color:Fe.colorErrorHover},{color:Fe.colorErrorActive})),qt(Fe))}),gt=Fe=>Object.assign(Object.assign(Object.assign({},He(Fe.componentCls,{color:Fe.colorText,backgroundColor:Fe.textHoverBg},{color:Fe.colorText,backgroundColor:Fe.colorBgTextActive})),qt(Fe)),{[`&${Fe.componentCls}-dangerous`]:Object.assign(Object.assign({color:Fe.colorError},qt(Fe)),He(Fe.componentCls,{color:Fe.colorErrorHover,backgroundColor:Fe.colorErrorBg},{color:Fe.colorErrorHover,backgroundColor:Fe.colorErrorBg}))}),dt=Fe=>{const{componentCls:fe}=Fe;return{[`${fe}-default`]:Xe(Fe),[`${fe}-primary`]:Tt(Fe),[`${fe}-dashed`]:jt(Fe),[`${fe}-link`]:st(Fe),[`${fe}-text`]:gt(Fe),[`${fe}-ghost`]:Dt(Fe.componentCls,Fe.ghostBg,Fe.colorBgContainer,Fe.colorBgContainer,Fe.colorTextDisabled,Fe.colorBorder)}},Je=function(Fe){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:pe,controlHeight:Pt,fontSize:Ce,lineHeight:ft,lineWidth:Ut,borderRadius:At,buttonPaddingHorizontal:Oe,iconCls:wt}=Fe,be=Math.max(0,(Pt-Ce*ft)/2-Ut),Ke=`${pe}-icon-only`;return[{[`${pe}${fe}`]:{fontSize:Ce,height:Pt,padding:`${be}px ${Oe}px`,borderRadius:At,[`&${Ke}`]:{width:Pt,paddingInlineStart:0,paddingInlineEnd:0,[`&${pe}-round`]:{width:"auto"},[wt]:{fontSize:Fe.buttonIconOnlyFontSize}},[`&${pe}-loading`]:{opacity:Fe.opacityLoading,cursor:"default"},[`${pe}-loading-icon`]:{transition:`width ${Fe.motionDurationSlow} ${Fe.motionEaseInOut}, opacity ${Fe.motionDurationSlow} ${Fe.motionEaseInOut}`}}},{[`${pe}${pe}-circle${fe}`]:je(Fe)},{[`${pe}${pe}-round${fe}`]:Zt(Fe)}]},Ue=Fe=>Je((0,z.TS)(Fe,{fontSize:Fe.contentFontSize})),ge=Fe=>{const fe=(0,z.TS)(Fe,{controlHeight:Fe.controlHeightSM,fontSize:Fe.contentFontSizeSM,padding:Fe.paddingXS,buttonPaddingHorizontal:Fe.paddingInlineSM,borderRadius:Fe.borderRadiusSM,buttonIconOnlyFontSize:Fe.onlyIconSizeSM});return Je(fe,`${Fe.componentCls}-sm`)},Se=Fe=>{const fe=(0,z.TS)(Fe,{controlHeight:Fe.controlHeightLG,fontSize:Fe.contentFontSizeLG,buttonPaddingHorizontal:Fe.paddingInlineLG,borderRadius:Fe.borderRadiusLG,buttonIconOnlyFontSize:Fe.onlyIconSizeLG});return Je(fe,`${Fe.componentCls}-lg`)},Me=Fe=>{const{componentCls:fe}=Fe;return{[fe]:{[`&${fe}-block`]:{width:"100%"}}}},$e=Fe=>{const{paddingInline:fe,onlyIconSize:pe}=Fe;return(0,z.TS)(Fe,{buttonPaddingHorizontal:fe,buttonIconOnlyFontSize:pe})},We=Fe=>({fontWeight:400,defaultShadow:`0 ${Fe.controlOutlineWidth}px 0 ${Fe.controlTmpOutline}`,primaryShadow:`0 ${Fe.controlOutlineWidth}px 0 ${Fe.controlOutline}`,dangerShadow:`0 ${Fe.controlOutlineWidth}px 0 ${Fe.colorErrorOutline}`,primaryColor:Fe.colorTextLightSolid,dangerColor:Fe.colorTextLightSolid,borderColorDisabled:Fe.colorBorder,defaultGhostColor:Fe.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:Fe.colorBgContainer,paddingInline:Fe.paddingContentHorizontal-Fe.lineWidth,paddingInlineLG:Fe.paddingContentHorizontal-Fe.lineWidth,paddingInlineSM:8-Fe.lineWidth,onlyIconSize:Fe.fontSizeLG,onlyIconSizeSM:Fe.fontSizeLG-2,onlyIconSizeLG:Fe.fontSizeLG+2,groupBorderColor:Fe.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:Fe.colorBgTextHover,defaultColor:Fe.colorText,defaultBg:Fe.colorBgContainer,defaultBorderColor:Fe.colorBorder,defaultBorderColorDisabled:Fe.colorBorder,contentFontSize:Fe.fontSize,contentFontSizeSM:Fe.fontSize,contentFontSizeLG:Fe.fontSizeLG});var nt=(0,F.Z)("Button",Fe=>{const fe=$e(Fe);return[Re(fe),ge(fe),Ue(fe),Se(fe),Me(fe),dt(fe),Pe(fe)]},We),lt=e(74207);function Vt(Fe,fe){return{[`&-item:not(${fe}-last-item)`]:{marginBottom:-Fe.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Ht(Fe,fe){return{[`&-item:not(${fe}-first-item):not(${fe}-last-item)`]:{borderRadius:0},[`&-item${fe}-first-item:not(${fe}-last-item)`]:{[`&, &${Fe}-sm, &${Fe}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${fe}-last-item:not(${fe}-first-item)`]:{[`&, &${Fe}-sm, &${Fe}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Ie(Fe){const fe=`${Fe.componentCls}-compact-vertical`;return{[fe]:Object.assign(Object.assign({},Vt(Fe,fe)),Ht(Fe.componentCls,fe))}}var qe=(0,F.b)(["Button","compact"],Fe=>{const fe=$e(Fe);return[(0,lt.c)(fe),Ie(fe)]},We),Gt=function(Fe,fe){var pe={};for(var Pt in Fe)Object.prototype.hasOwnProperty.call(Fe,Pt)&&fe.indexOf(Pt)<0&&(pe[Pt]=Fe[Pt]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Pt=Object.getOwnPropertySymbols(Fe);Ce<Pt.length;Ce++)fe.indexOf(Pt[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Pt[Ce])&&(pe[Pt[Ce]]=Fe[Pt[Ce]]);return pe};function Ot(Fe){return Fe==="danger"?{danger:!0}:{type:Fe}}function zt(Fe){if(typeof Fe=="object"&&Fe){const fe=Fe==null?void 0:Fe.delay;return{loading:!1,delay:!Number.isNaN(fe)&&typeof fe=="number"?fe:0}}return{loading:!!Fe,delay:0}}const $t=(Fe,fe)=>{var pe,Pt;const{loading:Ce=!1,prefixCls:ft,type:Ut="default",danger:At,shape:Oe="default",size:wt,styles:be,disabled:Ke,className:mt,rootClassName:kt,children:Be,icon:kr,ghost:St=!1,block:Vr=!1,htmlType:Jr="button",classNames:Ar,style:Fr={}}=Fe,mr=Gt(Fe,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:jr,autoInsertSpaceInButton:on,direction:fn,button:or}=(0,r.useContext)(h.E_),Rt=jr("btn",ft),[_t,vt]=nt(Rt),Bt=(0,r.useContext)(u.Z),Cr=Ke!=null?Ke:Bt,gr=(0,r.useContext)(_),rn=(0,r.useMemo)(()=>zt(Ce),[Ce]),[Kr,Pn]=(0,r.useState)(rn.loading),[Ct,cr]=(0,r.useState)(!1),Xr=(0,r.createRef)(),pn=(0,f.sQ)(fe,Xr),$n=r.Children.count(Be)===1&&!kr&&!M(Ut);(0,r.useEffect)(()=>{let yi=null;rn.delay>0?yi=setTimeout(()=>{yi=null,Pn(!0)},rn.delay):Pn(rn.loading);function ai(){yi&&(clearTimeout(yi),yi=null)}return ai},[rn]),(0,r.useEffect)(()=>{if(!pn||!pn.current||on===!1)return;const yi=pn.current.textContent;$n&&T(yi)?Ct||cr(!0):Ct&&cr(!1)},[pn]);const si=yi=>{const{onClick:ai}=Fe;if(Kr||Cr){yi.preventDefault();return}ai==null||ai(yi)},zn=on!==!1,{compactSize:Li,compactItemClassnames:ui}=(0,x.ri)(Rt,fn),mi={large:"lg",small:"sm",middle:void 0},wi=(0,a.Z)(yi=>{var ai,En;return(En=(ai=wt!=null?wt:Li)!==null&&ai!==void 0?ai:gr)!==null&&En!==void 0?En:yi}),gi=wi&&mi[wi]||"",Xi=Kr?"loading":kr,qn=(0,c.Z)(mr,["navigate"]),Yi=l()(Rt,vt,{[`${Rt}-${Oe}`]:Oe!=="default"&&Oe,[`${Rt}-${Ut}`]:Ut,[`${Rt}-${gi}`]:gi,[`${Rt}-icon-only`]:!Be&&Be!==0&&!!Xi,[`${Rt}-background-ghost`]:St&&!M(Ut),[`${Rt}-loading`]:Kr,[`${Rt}-two-chinese-chars`]:Ct&&zn&&!Kr,[`${Rt}-block`]:Vr,[`${Rt}-dangerous`]:!!At,[`${Rt}-rtl`]:fn==="rtl"},ui,mt,kt,or==null?void 0:or.className),Et=Object.assign(Object.assign({},or==null?void 0:or.style),Fr),ot=l()(Ar==null?void 0:Ar.icon,(pe=or==null?void 0:or.classNames)===null||pe===void 0?void 0:pe.icon),Jn=Object.assign(Object.assign({},(be==null?void 0:be.icon)||{}),((Pt=or==null?void 0:or.styles)===null||Pt===void 0?void 0:Pt.icon)||{}),Ai=kr&&!Kr?r.createElement(ie,{prefixCls:Rt,className:ot,style:Jn},kr):r.createElement(J,{existIcon:!!kr,prefixCls:Rt,loading:!!Kr}),ei=Be||Be===0?j(Be,$n&&zn):null;if(qn.href!==void 0)return _t(r.createElement("a",Object.assign({},qn,{className:l()(Yi,{[`${Rt}-disabled`]:Cr}),style:Et,onClick:si,ref:pn}),Ai,ei));let Gi=r.createElement("button",Object.assign({},mr,{type:Jr,className:Yi,style:Et,onClick:si,disabled:Cr,ref:pn}),Ai,ei,ui&&r.createElement(qe,{key:"compact",prefixCls:Rt}));return M(Ut)||(Gi=r.createElement(s.Z,{component:"Button",disabled:!!Kr},Gi)),_t(Gi)},tr=(0,r.forwardRef)($t);tr.Group=S,tr.__ANT_BUTTON=!0;var Wt=tr},3113:function(d,v,e){"use strict";var r=e(67797);v.ZP=r.Z},43604:function(d,v,e){"use strict";var r=e(37028);v.Z=r.Z},1684:function(d,v,e){"use strict";e.d(v,{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)};v.Z=i},52946:function(d,v,e){"use strict";e.d(v,{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)};v.Z=i},36355:function(d,v,e){"use strict";e.d(v,{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,v,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])};v.Z=l},92736:function(d,v,e){"use strict";e.d(v,{ZP:function(){return qt},w6:function(){return Dt}});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:Tt={},children:jt,_ANT_MARK__:st}=Xe;f.useEffect(()=>(0,h.f)(Tt&&Tt.Modal),[Tt]);const gt=f.useMemo(()=>Object.assign(Object.assign({},Tt),{exist:!0}),[Tt]);return f.createElement(u.Z.Provider,{value:gt},jt)},y=e(31724),_=e(45246),b=e(34117),S=e(36355),R=e(30071),L=e(64993),T=e(47273),D=e(810);const M=`-ant-${Date.now()}-${Math.random()}`;function N(Xe,Tt){const jt={},st=(Je,Ue)=>{let ge=Je.clone();return ge=(Ue==null?void 0:Ue(ge))||ge,ge.toRgbString()},gt=(Je,Ue)=>{const ge=new L.C(Je),Se=(0,R.generate)(ge.toRgbString());jt[`${Ue}-color`]=st(ge),jt[`${Ue}-color-disabled`]=Se[1],jt[`${Ue}-color-hover`]=Se[4],jt[`${Ue}-color-active`]=Se[6],jt[`${Ue}-color-outline`]=ge.clone().setAlpha(.2).toRgbString(),jt[`${Ue}-color-deprecated-bg`]=Se[0],jt[`${Ue}-color-deprecated-border`]=Se[2]};if(Tt.primaryColor){gt(Tt.primaryColor,"primary");const Je=new L.C(Tt.primaryColor),Ue=(0,R.generate)(Je.toRgbString());Ue.forEach((Se,Me)=>{jt[`primary-${Me+1}`]=Se}),jt["primary-color-deprecated-l-35"]=st(Je,Se=>Se.lighten(35)),jt["primary-color-deprecated-l-20"]=st(Je,Se=>Se.lighten(20)),jt["primary-color-deprecated-t-20"]=st(Je,Se=>Se.tint(20)),jt["primary-color-deprecated-t-50"]=st(Je,Se=>Se.tint(50)),jt["primary-color-deprecated-f-12"]=st(Je,Se=>Se.setAlpha(Se.getAlpha()*.12));const ge=new L.C(Ue[0]);jt["primary-color-active-deprecated-f-30"]=st(ge,Se=>Se.setAlpha(Se.getAlpha()*.3)),jt["primary-color-active-deprecated-d-02"]=st(ge,Se=>Se.darken(2))}return Tt.successColor&>(Tt.successColor,"success"),Tt.warningColor&>(Tt.warningColor,"warning"),Tt.errorColor&>(Tt.errorColor,"error"),Tt.infoColor&>(Tt.infoColor,"info"),`
|
|
|
:root {
|
|
|
${Object.keys(jt).map(Je=>`--${Xe}-${Je}: ${jt[Je]};`).join(`
|
|
|
`)}
|
|
|
}
|
|
|
`.trim()}function j(Xe,Tt){const jt=N(Xe,Tt);(0,T.Z)()&&(0,D.hq)(jt,`${M}-dynamic-theme`)}var Q=e(1684),X=e(52946);function Y(){const Xe=(0,f.useContext)(Q.Z),Tt=(0,f.useContext)(X.Z);return{componentDisabled:Xe,componentSize:Tt}}var oe=Y,ie=e(13697);function ue(Xe,Tt){const jt=Xe||{},st=jt.inherit===!1||!Tt?_.u_:Tt;return(0,l.Z)(()=>{if(!Xe)return Tt;const gt=Object.assign({},st.components);return Object.keys(Xe.components||{}).forEach(dt=>{gt[dt]=Object.assign(Object.assign({},gt[dt]),Xe.components[dt])}),Object.assign(Object.assign(Object.assign({},st),jt),{token:Object.assign(Object.assign({},st.token),jt.token),components:gt})},[jt,st],(gt,dt)=>gt.some((Je,Ue)=>{const ge=dt[Ue];return!(0,ie.Z)(Je,ge,!0)}))}var K=e(77900),V=e(88088);function G(Xe){const{children:Tt}=Xe,[,jt]=(0,V.Z)(),{motion:st}=jt,gt=f.useRef(!1);return gt.current=gt.current||st===!1,gt.current?f.createElement(K.Provider,{motion:st},Tt):Tt}var te=e(73040),q=function(Xe,Tt){var jt={};for(var st in Xe)Object.prototype.hasOwnProperty.call(Xe,st)&&Tt.indexOf(st)<0&&(jt[st]=Xe[st]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,st=Object.getOwnPropertySymbols(Xe);gt<st.length;gt++)Tt.indexOf(st[gt])<0&&Object.prototype.propertyIsEnumerable.call(Xe,st[gt])&&(jt[st[gt]]=Xe[st[gt]]);return jt};let J=!1;const le=null,z=null,F=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],se="ant";let _e,Pe,Re;function He(){return _e||se}function je(){return Pe||S.oR}function Zt(Xe){return Object.keys(Xe).some(Tt=>Tt.endsWith("Color"))}const yt=Xe=>{let{prefixCls:Tt,iconPrefixCls:jt,theme:st}=Xe;Tt!==void 0&&(_e=Tt),jt!==void 0&&(Pe=jt),st&&(Zt(st)?j(He(),st):Re=st)},Dt=()=>({getPrefixCls:(Xe,Tt)=>Tt||(Xe?`${He()}-${Xe}`:He()),getIconPrefixCls:je,getRootPrefixCls:()=>_e||He(),getTheme:()=>Re}),Qt=Xe=>{const{children:Tt,csp:jt,autoInsertSpaceInButton:st,alert:gt,anchor:dt,form:Je,locale:Ue,componentSize:ge,direction:Se,space:Me,virtual:$e,dropdownMatchSelectWidth:We,popupMatchSelectWidth:nt,popupOverflow:lt,legacyLocale:Vt,parentContext:Ht,iconPrefixCls:Ie,theme:qe,componentDisabled:Gt,segmented:Ot,statistic:zt,spin:$t,calendar:tr,carousel:Wt,cascader:Fe,collapse:fe,typography:pe,checkbox:Pt,descriptions:Ce,divider:ft,drawer:Ut,skeleton:At,steps:Oe,image:wt,layout:be,list:Ke,mentions:mt,modal:kt,progress:Be,result:kr,slider:St,breadcrumb:Vr,menu:Jr,pagination:Ar,input:Fr,empty:mr,badge:jr,radio:on,rate:fn,switch:or,transfer:Rt,avatar:_t,message:vt,tag:Bt,table:Cr,card:gr,tabs:rn,timeline:Kr,timePicker:Pn,upload:Ct,notification:cr,tree:Xr,colorPicker:pn,datePicker:$n,wave:si}=Xe,zn=f.useCallback((ei,Gi)=>{const{prefixCls:yi}=Xe;if(Gi)return Gi;const ai=yi||Ht.getPrefixCls("");return ei?`${ai}-${ei}`:ai},[Ht.getPrefixCls,Xe.prefixCls]),Li=Ie||Ht.iconPrefixCls||S.oR,ui=Li!==Ht.iconPrefixCls,mi=jt||Ht.csp,wi=(0,te.Z)(Li,mi),gi=ue(qe,Ht.theme),Xi={csp:mi,autoInsertSpaceInButton:st,alert:gt,anchor:dt,locale:Ue||Vt,direction:Se,space:Me,virtual:$e,popupMatchSelectWidth:nt!=null?nt:We,popupOverflow:lt,getPrefixCls:zn,iconPrefixCls:Li,theme:gi,segmented:Ot,statistic:zt,spin:$t,calendar:tr,carousel:Wt,cascader:Fe,collapse:fe,typography:pe,checkbox:Pt,descriptions:Ce,divider:ft,drawer:Ut,skeleton:At,steps:Oe,image:wt,input:Fr,layout:be,list:Ke,mentions:mt,modal:kt,progress:Be,result:kr,slider:St,breadcrumb:Vr,menu:Jr,pagination:Ar,empty:mr,badge:jr,radio:on,rate:fn,switch:or,transfer:Rt,avatar:_t,message:vt,tag:Bt,table:Cr,card:gr,tabs:rn,timeline:Kr,timePicker:Pn,upload:Ct,notification:cr,tree:Xr,colorPicker:pn,datePicker:$n,wave:si},qn=Object.assign({},Ht);Object.keys(Xi).forEach(ei=>{Xi[ei]!==void 0&&(qn[ei]=Xi[ei])}),F.forEach(ei=>{const Gi=Xe[ei];Gi&&(qn[ei]=Gi)});const Yi=(0,l.Z)(()=>qn,qn,(ei,Gi)=>{const yi=Object.keys(ei),ai=Object.keys(Gi);return yi.length!==ai.length||yi.some(En=>ei[En]!==Gi[En])}),Et=f.useMemo(()=>({prefixCls:Li,csp:mi}),[Li,mi]);let ot=ui?wi(Tt):Tt;const Jn=f.useMemo(()=>{var ei,Gi,yi,ai;return(0,c.T)(((ei=y.Z.Form)===null||ei===void 0?void 0:ei.defaultValidateMessages)||{},((yi=(Gi=Yi.locale)===null||Gi===void 0?void 0:Gi.Form)===null||yi===void 0?void 0:yi.defaultValidateMessages)||{},((ai=Yi.form)===null||ai===void 0?void 0:ai.validateMessages)||{},(Je==null?void 0:Je.validateMessages)||{})},[Yi,Je==null?void 0:Je.validateMessages]);Object.keys(Jn).length>0&&(ot=f.createElement(s.Z.Provider,{value:Jn},Tt)),Ue&&(ot=f.createElement(p,{locale:Ue,_ANT_MARK__:a},ot)),(Li||mi)&&(ot=f.createElement(i.Z.Provider,{value:Et},ot)),ge&&(ot=f.createElement(X.q,{size:ge},ot)),ot=f.createElement(G,null,ot);const Ai=f.useMemo(()=>{const ei=gi||{},{algorithm:Gi,token:yi,components:ai}=ei,En=q(ei,["algorithm","token","components"]),er=Gi&&(!Array.isArray(Gi)||Gi.length>0)?(0,r.createTheme)(Gi):_.uH,pt={};return Object.entries(ai||{}).forEach(rt=>{let[It,ht]=rt;const lr=Object.assign({},ht);"algorithm"in lr&&(lr.algorithm===!0?lr.theme=er:(Array.isArray(lr.algorithm)||typeof lr.algorithm=="function")&&(lr.theme=(0,r.createTheme)(lr.algorithm)),delete lr.algorithm),pt[It]=lr}),Object.assign(Object.assign({},En),{theme:er,token:Object.assign(Object.assign({},b.Z),yi),components:pt})},[gi]);return qe&&(ot=f.createElement(_.Mj.Provider,{value:Ai},ot)),Gt!==void 0&&(ot=f.createElement(Q.n,{disabled:Gt},ot)),f.createElement(S.E_.Provider,{value:Yi},ot)},Jt=Xe=>{const Tt=f.useContext(S.E_),jt=f.useContext(u.Z);return f.createElement(Qt,Object.assign({parentContext:Tt,legacyLocale:jt},Xe))};Jt.ConfigContext=S.E_,Jt.SizeContext=X.Z,Jt.config=yt,Jt.useConfig=oe,Object.defineProperty(Jt,"SizeContext",{get:()=>X.Z});var qt=Jt},48183:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";var r=e(59301);v.Z=(0,r.createContext)(void 0)},6700:function(d,v,e){"use strict";var r=e(59301);const i=(0,r.createContext)({});v.Z=i},37028:function(d,v,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:T,order:D,offset:M,push:N,pull:j,className:Q,children:X,flex:Y,style:oe}=p,ie=h(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),ue=_("col",L),[K,V]=(0,s.c)(ue);let G={};a.forEach(J=>{let le={};const z=p[J];typeof z=="number"?le.span=z:typeof z=="object"&&(le=z||{}),delete ie[J],G=Object.assign(Object.assign({},G),{[`${ue}-${J}-${le.span}`]:le.span!==void 0,[`${ue}-${J}-order-${le.order}`]:le.order||le.order===0,[`${ue}-${J}-offset-${le.offset}`]:le.offset||le.offset===0,[`${ue}-${J}-push-${le.push}`]:le.push||le.push===0,[`${ue}-${J}-pull-${le.pull}`]:le.pull||le.pull===0,[`${ue}-${J}-flex-${le.flex}`]:le.flex||le.flex==="auto",[`${ue}-rtl`]:b==="rtl"})});const te=l()(ue,{[`${ue}-${T}`]:T!==void 0,[`${ue}-order-${D}`]:D,[`${ue}-offset-${M}`]:M,[`${ue}-push-${N}`]:N,[`${ue}-pull-${j}`]:j},Q,G,V),q={};if(S&&S[0]>0){const J=S[0]/2;q.paddingLeft=J,q.paddingRight=J}return Y&&(q.flex=u(Y),R===!1&&!q.minWidth&&(q.minWidth=0)),K(r.createElement("div",Object.assign({},ie,{style:Object.assign(Object.assign({},q),oe),className:te,ref:y}),X))});v.Z=x},27382:function(d,v,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 T=0;T<c.c4.length;T++){const D=c.c4[T];if(!b[D])continue;const M=_[D];if(M!==void 0){R(M);return}}};return r.useEffect(()=>{L()},[JSON.stringify(_),b]),S}const y=r.forwardRef((_,b)=>{const{prefixCls:S,justify:R,align:L,className:T,style:D,children:M,gutter:N=0,wrap:j}=_,Q=u(_,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:X,direction:Y}=r.useContext(f.E_),[oe,ie]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[ue,K]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),V=p(L,ue),G=p(R,ue),te=r.useRef(N),q=(0,c.ZP)();r.useEffect(()=>{const yt=q.subscribe(Dt=>{K(Dt);const Qt=te.current||0;(!Array.isArray(Qt)&&typeof Qt=="object"||Array.isArray(Qt)&&(typeof Qt[0]=="object"||typeof Qt[1]=="object"))&&ie(Dt)});return()=>q.unsubscribe(yt)},[]);const J=()=>{const yt=[void 0,void 0];return(Array.isArray(N)?N:[N,void 0]).forEach((Qt,Jt)=>{if(typeof Qt=="object")for(let qt=0;qt<c.c4.length;qt++){const Xe=c.c4[qt];if(oe[Xe]&&Qt[Xe]!==void 0){yt[Jt]=Qt[Xe];break}}else yt[Jt]=Qt}),yt},le=X("row",S),[z,F]=(0,h.V)(le),se=J(),_e=l()(le,{[`${le}-no-wrap`]:j===!1,[`${le}-${G}`]:G,[`${le}-${V}`]:V,[`${le}-rtl`]:Y==="rtl"},T,F),Pe={},Re=se[0]!=null&&se[0]>0?se[0]/-2:void 0;Re&&(Pe.marginLeft=Re,Pe.marginRight=Re),[,Pe.rowGap]=se;const[He,je]=se,Zt=r.useMemo(()=>({gutter:[He,je],wrap:j}),[He,je,j]);return z(r.createElement(s.Z.Provider,{value:Zt},r.createElement("div",Object.assign({},Q,{className:_e,style:Object.assign(Object.assign({},Pe),D),ref:b}),M)))});v.Z=y},98242:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";var r=e(59301);const i=(0,r.createContext)(void 0);v.Z=i},31724:function(d,v,e){"use strict";e.d(v,{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,v,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]};v.Z=c},81863:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{ZP:function(){return gt}});var r=e(92393),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 T=dt=>{const{componentCls:Je,iconCls:Ue,boxShadow:ge,colorText:Se,colorSuccess:Me,colorError:$e,colorWarning:We,colorInfo:nt,fontSizeLG:lt,motionEaseInOutCirc:Vt,motionDurationSlow:Ht,marginXS:Ie,paddingXS:qe,borderRadiusLG:Gt,zIndexPopup:Ot,contentPadding:zt,contentBg:$t}=dt,tr=`${Je}-notice`,Wt=new b.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:qe,transform:"translateY(0)",opacity:1}}),Fe=new b.Keyframes("MessageMoveOut",{"0%":{maxHeight:dt.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:Ie,fontSize:lt},[`${tr}-content`]:{display:"inline-block",padding:zt,background:$t,borderRadius:Gt,boxShadow:ge,pointerEvents:"all"},[`${Je}-success > ${Ue}`]:{color:Me},[`${Je}-error > ${Ue}`]:{color:$e},[`${Je}-warning > ${Ue}`]:{color:We},[`${Je}-info > ${Ue},
|
|
|
${Je}-loading > ${Ue}`]:{color:nt}};return[{[Je]:Object.assign(Object.assign({},(0,S.Wf)(dt)),{color:Se,position:"fixed",top:Ie,width:"100%",pointerEvents:"none",zIndex:Ot,[`${Je}-move-up`]:{animationFillMode:"forwards"},[`
|
|
|
${Je}-move-up-appear,
|
|
|
${Je}-move-up-enter
|
|
|
`]:{animationName:Wt,animationDuration:Ht,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:Fe,animationDuration:Ht,animationPlayState:"paused",animationTimingFunction:Vt},[`${Je}-move-up-leave${Je}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[Je]:{[tr]:Object.assign({},fe)}},{[`${Je}-notice-pure-panel`]:Object.assign(Object.assign({},fe),{padding:0,textAlign:"start"})}]};var D=(0,R.Z)("Message",dt=>{const Je=(0,L.TS)(dt,{height:150});return[T(Je)]},dt=>({zIndexPopup:dt.zIndexPopupBase+10,contentBg:dt.colorBgElevated,contentPadding:`${(dt.controlHeightLG-dt.fontSize*dt.lineHeight)/2}px ${dt.paddingSM}px`})),M=function(dt,Je){var Ue={};for(var ge in dt)Object.prototype.hasOwnProperty.call(dt,ge)&&Je.indexOf(ge)<0&&(Ue[ge]=dt[ge]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,ge=Object.getOwnPropertySymbols(dt);Se<ge.length;Se++)Je.indexOf(ge[Se])<0&&Object.prototype.propertyIsEnumerable.call(dt,ge[Se])&&(Ue[ge[Se]]=dt[ge[Se]]);return Ue};const N={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)},j=dt=>{let{prefixCls:Je,type:Ue,icon:ge,children:Se}=dt;return i.createElement("div",{className:p()(`${Je}-custom-content`,`${Je}-${Ue}`)},ge||N[Ue],i.createElement("span",null,Se))};var X=dt=>{const{prefixCls:Je,className:Ue,type:ge,icon:Se,content:Me}=dt,$e=M(dt,["prefixCls","className","type","icon","content"]),{getPrefixCls:We}=i.useContext(_.E_),nt=Je||We("message"),[,lt]=D(nt);return i.createElement(y.qX,Object.assign({},$e,{prefixCls:nt,className:p()(Ue,lt,`${nt}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(j,{prefixCls:nt,type:ge,icon:Se},Me)}))},Y=e(99267);function oe(dt,Je){return{motionName:Je!=null?Je:`${dt}-move-up`}}function ie(dt){let Je;const Ue=new Promise(Se=>{Je=dt(()=>{Se(!0)})}),ge=()=>{Je==null||Je()};return ge.then=(Se,Me)=>Ue.then(Se,Me),ge.promise=Ue,ge}var ue=function(dt,Je){var Ue={};for(var ge in dt)Object.prototype.hasOwnProperty.call(dt,ge)&&Je.indexOf(ge)<0&&(Ue[ge]=dt[ge]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,ge=Object.getOwnPropertySymbols(dt);Se<ge.length;Se++)Je.indexOf(ge[Se])<0&&Object.prototype.propertyIsEnumerable.call(dt,ge[Se])&&(Ue[ge[Se]]=dt[ge[Se]]);return Ue};const K=8,V=3,G=dt=>{let{children:Je,prefixCls:Ue}=dt;const[,ge]=D(Ue);return i.createElement(y.JB,{classNames:{list:ge,notice:ge}},Je)},te=(dt,Je)=>{let{prefixCls:Ue,key:ge}=Je;return i.createElement(G,{prefixCls:Ue,key:ge},dt)},q=i.forwardRef((dt,Je)=>{const{top:Ue,prefixCls:ge,getContainer:Se,maxCount:Me,duration:$e=V,rtl:We,transitionName:nt,onAllRemoved:lt}=dt,{getPrefixCls:Vt,getPopupContainer:Ht,message:Ie}=i.useContext(_.E_),qe=ge||Vt("message"),Gt=()=>({left:"50%",transform:"translateX(-50%)",top:Ue!=null?Ue:K}),Ot=()=>p()({[`${qe}-rtl`]:We}),zt=()=>oe(qe,nt),$t=i.createElement("span",{className:`${qe}-close-x`},i.createElement(Y.Z,{className:`${qe}-close-icon`})),[tr,Wt]=(0,y.lm)({prefixCls:qe,style:Gt,className:Ot,motion:zt,closable:!1,closeIcon:$t,duration:$e,getContainer:()=>(Se==null?void 0:Se())||(Ht==null?void 0:Ht())||document.body,maxCount:Me,onAllRemoved:lt,renderNotifications:te});return i.useImperativeHandle(Je,()=>Object.assign(Object.assign({},tr),{prefixCls:qe,message:Ie})),Wt});let J=0;function le(dt){const Je=i.useRef(null);return[i.useMemo(()=>{const ge=nt=>{var lt;(lt=Je.current)===null||lt===void 0||lt.close(nt)},Se=nt=>{if(!Je.current){const pe=()=>{};return pe.then=()=>{},pe}const{open:lt,prefixCls:Vt,message:Ht}=Je.current,Ie=`${Vt}-notice`,{content:qe,icon:Gt,type:Ot,key:zt,className:$t,style:tr,onClose:Wt}=nt,Fe=ue(nt,["content","icon","type","key","className","style","onClose"]);let fe=zt;return fe==null&&(J+=1,fe=`antd-message-${J}`),ie(pe=>(lt(Object.assign(Object.assign({},Fe),{key:fe,content:i.createElement(j,{prefixCls:Vt,type:Ot,icon:Gt},qe),placement:"top",className:p()(Ot&&`${Ie}-${Ot}`,$t,Ht==null?void 0:Ht.className),style:Object.assign(Object.assign({},Ht==null?void 0:Ht.style),tr),onClose:()=>{Wt==null||Wt(),pe()}})),()=>{ge(fe)}))},$e={open:Se,destroy:nt=>{var lt;nt!==void 0?ge(nt):(lt=Je.current)===null||lt===void 0||lt.destroy()}};return["info","success","warning","error","loading"].forEach(nt=>{const lt=(Vt,Ht,Ie)=>{let qe;Vt&&typeof Vt=="object"&&"content"in Vt?qe=Vt:qe={content:Vt};let Gt,Ot;typeof Ht=="function"?Ot=Ht:(Gt=Ht,Ot=Ie);const zt=Object.assign(Object.assign({onClose:Ot,duration:Gt},qe),{type:nt});return Se(zt)};$e[nt]=lt}),$e},[]),i.createElement(q,Object.assign({key:"message-holder"},dt,{ref:Je}))]}function z(dt){return le(dt)}let F=null,se=dt=>dt(),_e=[],Pe={};function Re(){const{prefixCls:dt,getContainer:Je,duration:Ue,rtl:ge,maxCount:Se,top:Me}=Pe,$e=dt!=null?dt:(0,c.w6)().getPrefixCls("message"),We=(Je==null?void 0:Je())||document.body;return{prefixCls:$e,getContainer:()=>We,duration:Ue,rtl:ge,maxCount:Se,top:Me}}const He=i.forwardRef((dt,Je)=>{const[Ue,ge]=i.useState(Re),[Se,Me]=le(Ue),$e=(0,c.w6)(),We=$e.getRootPrefixCls(),nt=$e.getIconPrefixCls(),lt=$e.getTheme(),Vt=()=>{ge(Re)};return i.useEffect(Vt,[]),i.useImperativeHandle(Je,()=>{const Ht=Object.assign({},Se);return Object.keys(Ht).forEach(Ie=>{Ht[Ie]=function(){return Vt(),Se[Ie].apply(Se,arguments)}}),{instance:Ht,sync:Vt}}),i.createElement(c.ZP,{prefixCls:We,iconPrefixCls:nt,theme:lt},Me)});function je(){if(!F){const dt=document.createDocumentFragment(),Je={fragment:dt};F=Je,se(()=>{(0,l.s)(i.createElement(He,{ref:Ue=>{const{instance:ge,sync:Se}=Ue||{};Promise.resolve().then(()=>{!Je.instance&&ge&&(Je.instance=ge,Je.sync=Se,je())})}}),dt)});return}F.instance&&(_e.forEach(dt=>{const{type:Je,skipped:Ue}=dt;if(!Ue)switch(Je){case"open":{se(()=>{const ge=F.instance.open(Object.assign(Object.assign({},Pe),dt.config));ge==null||ge.then(dt.resolve),dt.setCloseFn(ge)});break}case"destroy":se(()=>{F==null||F.instance.destroy(dt.key)});break;default:se(()=>{var ge;const Se=(ge=F.instance)[Je].apply(ge,(0,r.Z)(dt.args));Se==null||Se.then(dt.resolve),dt.setCloseFn(Se)})}}),_e=[])}function Zt(dt){Pe=Object.assign(Object.assign({},Pe),dt),se(()=>{var Je;(Je=F==null?void 0:F.sync)===null||Je===void 0||Je.call(F)})}function yt(dt){const Je=ie(Ue=>{let ge;const Se={type:"open",config:dt,resolve:Ue,setCloseFn:Me=>{ge=Me}};return _e.push(Se),()=>{ge?se(()=>{ge()}):Se.skipped=!0}});return je(),Je}function Dt(dt,Je){const Ue=ie(ge=>{let Se;const Me={type:dt,args:Je,resolve:ge,setCloseFn:$e=>{Se=$e}};return _e.push(Me),()=>{Se?se(()=>{Se()}):Me.skipped=!0}});return je(),Ue}function Qt(dt){_e.push({type:"destroy",key:dt}),je()}const Jt=["success","info","warning","error","loading"],Xe={open:yt,destroy:Qt,config:Zt,useMessage:z,_InternalPanelDoNotUseOrYouWillBeFired:X};Jt.forEach(dt=>{Xe[dt]=function(){for(var Je=arguments.length,Ue=new Array(Je),ge=0;ge<Je;ge++)Ue[ge]=arguments[ge];return Dt(dt,Ue)}});const Tt=()=>{};let jt=null,st=null;var gt=Xe},43418:function(d,v,e){"use strict";e.d(v,{default:function(){return ft}});var r=e(92393),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:Ut,cancelButtonProps:At,cancelTextLocale:Oe,isSilent:wt,mergedOkCancel:be,rootPrefixCls:Ke,close:mt,onCancel:kt,onConfirm:Be}=(0,l.useContext)(b);return be?l.createElement(_.Z,{isSilent:wt,actionFn:kt,close:function(){mt==null||mt.apply(void 0,arguments),Be==null||Be(!1)},autoFocus:Ut==="cancel",buttonProps:At,prefixCls:`${Ke}-btn`},Oe):null},D=()=>{const{autoFocusButton:Ut,close:At,isSilent:Oe,okButtonProps:wt,rootPrefixCls:be,okTextLocale:Ke,okType:mt,onConfirm:kt,onOk:Be}=(0,l.useContext)(b);return l.createElement(_.Z,{isSilent:Oe,type:mt||"primary",actionFn:Be,close:function(){At==null||At.apply(void 0,arguments),kt==null||kt(!0)},autoFocus:Ut==="ok",buttonProps:wt,prefixCls:`${be}-btn`},Ke)},M=e(99267),N=e(86923),j=e(47729),Q=e(47273);const X=()=>(0,Q.Z)()&&window.document.documentElement;var Y=e(36355),oe=e(32441),ie=e(33234),ue=e(11575),K=e(1684),V=e(3113),te=()=>{const{cancelButtonProps:Ut,cancelTextLocale:At,onCancel:Oe}=(0,l.useContext)(b);return l.createElement(V.ZP,Object.assign({onClick:Oe},Ut),At)},q=e(67797),le=()=>{const{confirmLoading:Ut,okButtonProps:At,okType:Oe,okTextLocale:wt,onOk:be}=(0,l.useContext)(b);return l.createElement(V.ZP,Object.assign({},(0,q.n)(Oe),{loading:Ut,onClick:be},At),wt)},z=e(98044);function F(Ut,At){return l.createElement("span",{className:`${Ut}-close-x`},At||l.createElement(M.Z,{className:`${Ut}-close-icon`}))}const se=Ut=>{const{okText:At,okType:Oe="primary",cancelText:wt,confirmLoading:be,onOk:Ke,onCancel:mt,okButtonProps:kt,cancelButtonProps:Be,footer:kr}=Ut,[St]=(0,y.Z)("Modal",(0,z.A)()),Vr=At||(St==null?void 0:St.okText),Jr=wt||(St==null?void 0:St.cancelText),Ar={confirmLoading:be,okButtonProps:kt,cancelButtonProps:Be,okTextLocale:Vr,cancelTextLocale:Jr,okType:Oe,onOk:Ke,onCancel:mt},Fr=l.useMemo(()=>Ar,(0,r.Z)(Object.values(Ar)));let mr;return typeof kr=="function"||typeof kr=="undefined"?(mr=l.createElement(S,{value:Fr},l.createElement(te,null),l.createElement(le,null)),typeof kr=="function"&&(mr=kr(mr,{OkBtn:le,CancelBtn:te}))):mr=kr,l.createElement(K.n,{disabled:!1},mr)};var _e=e(73819),Pe=function(Ut,At){var Oe={};for(var wt in Ut)Object.prototype.hasOwnProperty.call(Ut,wt)&&At.indexOf(wt)<0&&(Oe[wt]=Ut[wt]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,wt=Object.getOwnPropertySymbols(Ut);be<wt.length;be++)At.indexOf(wt[be])<0&&Object.prototype.propertyIsEnumerable.call(Ut,wt[be])&&(Oe[wt[be]]=Ut[wt[be]]);return Oe};let Re;const He=Ut=>{Re={x:Ut.pageX,y:Ut.pageY},setTimeout(()=>{Re=null},100)};X()&&document.documentElement.addEventListener("click",He,!0);var Zt=Ut=>{var At;const{getPopupContainer:Oe,getPrefixCls:wt,direction:be,modal:Ke}=l.useContext(Y.E_),mt=pn=>{const{onCancel:$n}=Ut;$n==null||$n(pn)},kt=pn=>{const{onOk:$n}=Ut;$n==null||$n(pn)},{prefixCls:Be,className:kr,rootClassName:St,open:Vr,wrapClassName:Jr,centered:Ar,getContainer:Fr,closeIcon:mr,closable:jr,focusTriggerAfterClose:on=!0,style:fn,visible:or,width:Rt=520,footer:_t}=Ut,vt=Pe(Ut,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),Bt=wt("modal",Be),Cr=wt(),[gr,rn]=(0,_e.ZP)(Bt),Kr=x()(Jr,{[`${Bt}-centered`]:!!Ar,[`${Bt}-wrap-rtl`]:be==="rtl"}),Pn=_t!==null&&l.createElement(se,Object.assign({},Ut,{onOk:kt,onCancel:mt})),[Ct,cr]=(0,j.Z)(jr,mr,pn=>F(Bt,pn),l.createElement(M.Z,{className:`${Bt}-close-icon`}),!0),Xr=(0,ue.H)(`.${Bt}-content`);return gr(l.createElement(ie.BR,null,l.createElement(oe.Ux,{status:!0,override:!0},l.createElement(N.Z,Object.assign({width:Rt},vt,{getContainer:Fr===void 0?Oe:Fr,prefixCls:Bt,rootClassName:x()(rn,St),wrapClassName:Kr,footer:Pn,visible:Vr!=null?Vr:or,mousePosition:(At=vt.mousePosition)!==null&&At!==void 0?At:Re,onClose:mt,closable:Ct,closeIcon:cr,focusTriggerAfterClose:on,transitionName:(0,p.m)(Cr,"zoom",Ut.transitionName),maskTransitionName:(0,p.m)(Cr,"fade",Ut.maskTransitionName),className:x()(rn,kr,Ke==null?void 0:Ke.className),style:Object.assign(Object.assign({},Ke==null?void 0:Ke.style),fn),panelRef:Xr})))))},yt=e(17313),Dt=e(83116);const Qt=Ut=>{const{componentCls:At,titleFontSize:Oe,titleLineHeight:wt,modalConfirmIconSize:be,fontSize:Ke,lineHeight:mt}=Ut,kt=`${At}-confirm`,Be=Math.round(Oe*wt),kr=Math.round(Ke*mt);return{[kt]:{"&-rtl":{direction:"rtl"},[`${Ut.antCls}-modal-header`]:{display:"none"},[`${kt}-body-wrapper`]:Object.assign({},(0,yt.dF)()),[`${kt}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Ut.iconCls}`]:{flex:"none",fontSize:be,marginInlineEnd:Ut.marginSM,marginTop:(kr-be)/2},[`&-has-title > ${Ut.iconCls}`]:{marginTop:(Be-be)/2}},[`${kt}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:Ut.marginXS},[`${kt}-title`]:{color:Ut.colorTextHeading,fontWeight:Ut.fontWeightStrong,fontSize:Oe,lineHeight:wt},[`${kt}-content`]:{color:Ut.colorText,fontSize:Ke,lineHeight:mt},[`${kt}-btns`]:{textAlign:"end",marginTop:Ut.marginSM,[`${Ut.antCls}-btn + ${Ut.antCls}-btn`]:{marginBottom:0,marginInlineStart:Ut.marginXS}}},[`${kt}-error ${kt}-body > ${Ut.iconCls}`]:{color:Ut.colorError},[`${kt}-warning ${kt}-body > ${Ut.iconCls},
|
|
|
${kt}-confirm ${kt}-body > ${Ut.iconCls}`]:{color:Ut.colorWarning},[`${kt}-info ${kt}-body > ${Ut.iconCls}`]:{color:Ut.colorInfo},[`${kt}-success ${kt}-body > ${Ut.iconCls}`]:{color:Ut.colorSuccess}}};var Jt=(0,Dt.b)(["Modal","confirm"],Ut=>{const At=(0,_e.B4)(Ut);return[Qt(At)]},_e.eh,{order:-1e3}),qt=function(Ut,At){var Oe={};for(var wt in Ut)Object.prototype.hasOwnProperty.call(Ut,wt)&&At.indexOf(wt)<0&&(Oe[wt]=Ut[wt]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,wt=Object.getOwnPropertySymbols(Ut);be<wt.length;be++)At.indexOf(wt[be])<0&&Object.prototype.propertyIsEnumerable.call(Ut,wt[be])&&(Oe[wt[be]]=Ut[wt[be]]);return Oe};function Xe(Ut){const{prefixCls:At,icon:Oe,okText:wt,cancelText:be,confirmPrefixCls:Ke,type:mt,okCancel:kt,footer:Be,locale:kr}=Ut,St=qt(Ut,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let Vr=Oe;if(!Oe&&Oe!==null)switch(mt){case"info":Vr=l.createElement(u.Z,null);break;case"success":Vr=l.createElement(f.Z,null);break;case"error":Vr=l.createElement(s.Z,null);break;default:Vr=l.createElement(h.Z,null)}const Jr=kt!=null?kt:mt==="confirm",Ar=Ut.autoFocusButton===null?!1:Ut.autoFocusButton||"ok",[Fr]=(0,y.Z)("Modal"),mr=kr||Fr,jr=wt||(Jr?mr==null?void 0:mr.okText:mr==null?void 0:mr.justOkText),on=be||(mr==null?void 0:mr.cancelText),fn=Object.assign({autoFocusButton:Ar,cancelTextLocale:on,okTextLocale:jr,mergedOkCancel:Jr},St),or=l.useMemo(()=>fn,(0,r.Z)(Object.values(fn))),Rt=l.createElement(l.Fragment,null,l.createElement(L,null),l.createElement(D,null)),_t=Ut.title!==void 0&&Ut.title!==null,vt=`${Ke}-body`;return l.createElement("div",{className:`${Ke}-body-wrapper`},l.createElement("div",{className:x()(vt,{[`${vt}-has-title`]:_t})},Vr,l.createElement("div",{className:`${Ke}-paragraph`},_t&&l.createElement("span",{className:`${Ke}-title`},Ut.title),l.createElement("div",{className:`${Ke}-content`},Ut.content))),Be===void 0||typeof Be=="function"?l.createElement(S,{value:or},l.createElement("div",{className:`${Ke}-btns`},typeof Be=="function"?Be(Rt,{OkBtn:D,CancelBtn:L}):Rt)):Be,l.createElement(Jt,{prefixCls:At}))}var jt=Ut=>{const{close:At,zIndex:Oe,afterClose:wt,visible:be,open:Ke,keyboard:mt,centered:kt,getContainer:Be,maskStyle:kr,direction:St,prefixCls:Vr,wrapClassName:Jr,rootPrefixCls:Ar,iconPrefixCls:Fr,theme:mr,bodyStyle:jr,closable:on=!1,closeIcon:fn,modalRender:or,focusTriggerAfterClose:Rt,onConfirm:_t}=Ut,vt=`${Vr}-confirm`,Bt=Ut.width||416,Cr=Ut.style||{},gr=Ut.mask===void 0?!0:Ut.mask,rn=Ut.maskClosable===void 0?!1:Ut.maskClosable,Kr=x()(vt,`${vt}-${Ut.type}`,{[`${vt}-rtl`]:St==="rtl"},Ut.className);return l.createElement(c.ZP,{prefixCls:Ar,iconPrefixCls:Fr,direction:St,theme:mr},l.createElement(Zt,{prefixCls:Vr,className:Kr,wrapClassName:x()({[`${vt}-centered`]:!!Ut.centered},Jr),onCancel:()=>{At==null||At({triggerCancel:!0}),_t==null||_t(!1)},open:Ke,title:"",footer:null,transitionName:(0,p.m)(Ar||"","zoom",Ut.transitionName),maskTransitionName:(0,p.m)(Ar||"","fade",Ut.maskTransitionName),mask:gr,maskClosable:rn,maskStyle:kr,style:Cr,bodyStyle:jr,width:Bt,zIndex:Oe,afterClose:wt,keyboard:mt,centered:kt,getContainer:Be,closable:on,closeIcon:fn,modalRender:or,focusTriggerAfterClose:Rt},l.createElement(Xe,Object.assign({},Ut,{confirmPrefixCls:vt}))))},gt=[],dt=function(Ut,At){var Oe={};for(var wt in Ut)Object.prototype.hasOwnProperty.call(Ut,wt)&&At.indexOf(wt)<0&&(Oe[wt]=Ut[wt]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,wt=Object.getOwnPropertySymbols(Ut);be<wt.length;be++)At.indexOf(wt[be])<0&&Object.prototype.propertyIsEnumerable.call(Ut,wt[be])&&(Oe[wt[be]]=Ut[wt[be]]);return Oe};let Je="";function Ue(){return Je}function ge(Ut){const At=document.createDocumentFragment();let Oe=Object.assign(Object.assign({},Ut),{close:mt,open:!0}),wt;function be(){for(var Be=arguments.length,kr=new Array(Be),St=0;St<Be;St++)kr[St]=arguments[St];const Vr=kr.some(Jr=>Jr&&Jr.triggerCancel);Ut.onCancel&&Vr&&Ut.onCancel.apply(Ut,[()=>{}].concat((0,r.Z)(kr.slice(1))));for(let Jr=0;Jr<gt.length;Jr++)if(gt[Jr]===mt){gt.splice(Jr,1);break}(0,i.v)(At)}function Ke(Be){var{okText:kr,cancelText:St,prefixCls:Vr,getContainer:Jr}=Be,Ar=dt(Be,["okText","cancelText","prefixCls","getContainer"]);clearTimeout(wt),wt=setTimeout(()=>{const Fr=(0,z.A)(),{getPrefixCls:mr,getIconPrefixCls:jr,getTheme:on}=(0,c.w6)(),fn=mr(void 0,Ue()),or=Vr||`${fn}-modal`,Rt=jr(),_t=on();let vt=Jr;vt===!1&&(vt=void 0),(0,i.s)(l.createElement(jt,Object.assign({},Ar,{getContainer:vt,prefixCls:or,rootPrefixCls:fn,iconPrefixCls:Rt,okText:kr,locale:Fr,theme:_t,cancelText:St||Fr.cancelText})),At)})}function mt(){for(var Be=arguments.length,kr=new Array(Be),St=0;St<Be;St++)kr[St]=arguments[St];Oe=Object.assign(Object.assign({},Oe),{open:!1,afterClose:()=>{typeof Ut.afterClose=="function"&&Ut.afterClose(),be.apply(this,kr)}}),Oe.visible&&delete Oe.visible,Ke(Oe)}function kt(Be){typeof Be=="function"?Oe=Be(Oe):Oe=Object.assign(Object.assign({},Oe),Be),Ke(Oe)}return Ke(Oe),gt.push(mt),{destroy:mt,update:kt}}function Se(Ut){return Object.assign(Object.assign({},Ut),{type:"warning"})}function Me(Ut){return Object.assign(Object.assign({},Ut),{type:"info"})}function $e(Ut){return Object.assign(Object.assign({},Ut),{type:"success"})}function We(Ut){return Object.assign(Object.assign({},Ut),{type:"error"})}function nt(Ut){return Object.assign(Object.assign({},Ut),{type:"confirm"})}function lt(Ut){let{rootPrefixCls:At}=Ut;Je=At}var Vt=e(53487),Ht=function(Ut,At){var Oe={};for(var wt in Ut)Object.prototype.hasOwnProperty.call(Ut,wt)&&At.indexOf(wt)<0&&(Oe[wt]=Ut[wt]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,wt=Object.getOwnPropertySymbols(Ut);be<wt.length;be++)At.indexOf(wt[be])<0&&Object.prototype.propertyIsEnumerable.call(Ut,wt[be])&&(Oe[wt[be]]=Ut[wt[be]]);return Oe};const Ie=Ut=>{const{prefixCls:At,className:Oe,closeIcon:wt,closable:be,type:Ke,title:mt,children:kt}=Ut,Be=Ht(Ut,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:kr}=l.useContext(Y.E_),St=kr(),Vr=At||kr("modal"),[,Jr]=(0,_e.ZP)(Vr),Ar=`${Vr}-confirm`;let Fr={};return Ke?Fr={closable:be!=null?be:!1,title:"",footer:"",children:l.createElement(Xe,Object.assign({},Ut,{prefixCls:Vr,confirmPrefixCls:Ar,rootPrefixCls:St,content:kt}))}:Fr={closable:be!=null?be:!0,title:mt,footer:Ut.footer===void 0?l.createElement(se,Object.assign({},Ut)):Ut.footer,children:kt},l.createElement(N.s,Object.assign({prefixCls:Vr,className:x()(Jr,`${Vr}-pure-panel`,Ke&&Ar,Ke&&`${Ar}-${Ke}`,Oe)},Be,{closeIcon:F(Vr,wt),closable:be},Fr))};var qe=(0,Vt.i)(Ie);function Gt(){const[Ut,At]=l.useState([]),Oe=l.useCallback(wt=>(At(be=>[].concat((0,r.Z)(be),[wt])),()=>{At(be=>be.filter(Ke=>Ke!==wt))}),[]);return[Ut,Oe]}var Ot=e(31724),zt=function(Ut,At){var Oe={};for(var wt in Ut)Object.prototype.hasOwnProperty.call(Ut,wt)&&At.indexOf(wt)<0&&(Oe[wt]=Ut[wt]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,wt=Object.getOwnPropertySymbols(Ut);be<wt.length;be++)At.indexOf(wt[be])<0&&Object.prototype.propertyIsEnumerable.call(Ut,wt[be])&&(Oe[wt[be]]=Ut[wt[be]]);return Oe};const $t=(Ut,At)=>{var Oe,{afterClose:wt,config:be}=Ut,Ke=zt(Ut,["afterClose","config"]);const[mt,kt]=l.useState(!0),[Be,kr]=l.useState(be),{direction:St,getPrefixCls:Vr}=l.useContext(Y.E_),Jr=Vr("modal"),Ar=Vr(),Fr=()=>{var fn;wt(),(fn=Be.afterClose)===null||fn===void 0||fn.call(Be)},mr=function(){kt(!1);for(var fn=arguments.length,or=new Array(fn),Rt=0;Rt<fn;Rt++)or[Rt]=arguments[Rt];const _t=or.some(vt=>vt&&vt.triggerCancel);Be.onCancel&&_t&&Be.onCancel.apply(Be,[()=>{}].concat((0,r.Z)(or.slice(1))))};l.useImperativeHandle(At,()=>({destroy:mr,update:fn=>{kr(or=>Object.assign(Object.assign({},or),fn))}}));const jr=(Oe=Be.okCancel)!==null&&Oe!==void 0?Oe:Be.type==="confirm",[on]=(0,y.Z)("Modal",Ot.Z.Modal);return l.createElement(jt,Object.assign({prefixCls:Jr,rootPrefixCls:Ar},Be,{close:mr,open:mt,afterClose:Fr,okText:Be.okText||(jr?on==null?void 0:on.okText:on==null?void 0:on.justOkText),direction:Be.direction||St,cancelText:Be.cancelText||(on==null?void 0:on.cancelText)},Ke))};var tr=l.forwardRef($t);let Wt=0;const Fe=l.memo(l.forwardRef((Ut,At)=>{const[Oe,wt]=Gt();return l.useImperativeHandle(At,()=>({patchElement:wt}),[]),l.createElement(l.Fragment,null,Oe)}));function fe(){const Ut=l.useRef(null),[At,Oe]=l.useState([]);l.useEffect(()=>{At.length&&((0,r.Z)(At).forEach(mt=>{mt()}),Oe([]))},[At]);const wt=l.useCallback(Ke=>function(kt){var Be;Wt+=1;const kr=l.createRef();let St;const Vr=new Promise(jr=>{St=jr});let Jr=!1,Ar;const Fr=l.createElement(tr,{key:`modal-${Wt}`,config:Ke(kt),ref:kr,afterClose:()=>{Ar==null||Ar()},isSilent:()=>Jr,onConfirm:jr=>{St(jr)}});return Ar=(Be=Ut.current)===null||Be===void 0?void 0:Be.patchElement(Fr),Ar&>.push(Ar),{destroy:()=>{function jr(){var on;(on=kr.current)===null||on===void 0||on.destroy()}kr.current?jr():Oe(on=>[].concat((0,r.Z)(on),[jr]))},update:jr=>{function on(){var fn;(fn=kr.current)===null||fn===void 0||fn.update(jr)}kr.current?on():Oe(fn=>[].concat((0,r.Z)(fn),[on]))},then:jr=>(Jr=!0,Vr.then(jr))}},[]);return[l.useMemo(()=>({info:wt(Me),success:wt($e),error:wt(We),warning:wt(Se),confirm:wt(nt)}),[]),l.createElement(Fe,{key:"modal-holder",ref:Ut})]}var pe=fe;function Pt(Ut){return ge(Se(Ut))}const Ce=Zt;Ce.useModal=pe,Ce.info=function(At){return ge(Me(At))},Ce.success=function(At){return ge($e(At))},Ce.error=function(At){return ge(We(At))},Ce.warning=Pt,Ce.warn=Pt,Ce.confirm=function(At){return ge(nt(At))},Ce.destroyAll=function(){for(;gt.length;){const At=gt.pop();At&&At()}},Ce.config=lt,Ce._InternalPanelDoNotUseOrYouWillBeFired=qe;var ft=Ce},98044:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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});v.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,v,e){"use strict";e.d(v,{Z:function(){return dt}});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:Se}=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}}),We=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:Se,[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:We}}}};const M=Je=>{const{iconCls:Ue,componentCls:ge,boxShadow:Se,fontSizeLG:Me,notificationMarginBottom:$e,borderRadiusLG:We,colorSuccess:nt,colorInfo:lt,colorWarning:Vt,colorError:Ht,colorTextHeading:Ie,notificationBg:qe,notificationPadding:Gt,notificationMarginEdge:Ot,motionDurationMid:zt,motionEaseInOut:$t,fontSize:tr,lineHeight:Wt,width:Fe,notificationIconSize:fe,colorText:pe}=Je,Pt=`${ge}-notice`,Ce=new b.Keyframes("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:Fe},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),ft=new b.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:Je.animationMaxHeight,marginBottom:$e,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),Ut={position:"relative",width:Fe,maxWidth:`calc(100vw - ${Ot*2}px)`,marginBottom:$e,marginInlineStart:"auto",padding:Gt,overflow:"hidden",lineHeight:Wt,wordWrap:"break-word",background:qe,borderRadius:We,boxShadow:Se,[`${ge}-close-icon`]:{fontSize:tr,cursor:"pointer"},[`${Pt}-message`]:{marginBottom:Je.marginXS,color:Ie,fontSize:Me,lineHeight:Je.lineHeightLG},[`${Pt}-description`]:{fontSize:tr,color:pe},[`&${Pt}-closable ${Pt}-message`]:{paddingInlineEnd:Je.paddingLG},[`${Pt}-with-icon ${Pt}-message`]:{marginBottom:Je.marginXS,marginInlineStart:Je.marginSM+fe,fontSize:Me},[`${Pt}-with-icon ${Pt}-description`]:{marginInlineStart:Je.marginSM+fe,fontSize:tr},[`${Pt}-icon`]:{position:"absolute",fontSize:fe,lineHeight:0,[`&-success${Ue}`]:{color:nt},[`&-info${Ue}`]:{color:lt},[`&-warning${Ue}`]:{color:Vt},[`&-error${Ue}`]:{color:Ht}},[`${Pt}-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}},[`${Pt}-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:Ot,[`${ge}-hook-holder`]:{position:"relative"},[`&${ge}-top, &${ge}-bottom`]:{[Pt]:{marginInline:"auto auto"}},[`&${ge}-topLeft, &${ge}-bottomLeft`]:{[Pt]:{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:zt,animationPlayState:"paused"},[`${ge}-fade-enter${ge}-fade-enter-active, ${ge}-fade-appear${ge}-fade-appear-active`]:{animationName:Ce,animationPlayState:"running"},[`${ge}-fade-leave${ge}-fade-leave-active`]:{animationName:ft,animationPlayState:"running"}}),D(Je)),{"&-rtl":{direction:"rtl",[`${Pt}-btn`]:{float:"left"}}})},{[ge]:{[Pt]:Object.assign({},Ut)}},{[`${Pt}-pure-panel`]:Object.assign(Object.assign({},Ut),{margin:0})}]};var N=(0,R.Z)("Notification",Je=>{const Ue=Je.paddingMD,ge=Je.paddingLG,Se=(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[M(Se)]},Je=>({zIndexPopup:Je.zIndexPopupBase+50,width:384})),j=function(Je,Ue){var ge={};for(var Se in Je)Object.prototype.hasOwnProperty.call(Je,Se)&&Ue.indexOf(Se)<0&&(ge[Se]=Je[Se]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Se=Object.getOwnPropertySymbols(Je);Me<Se.length;Me++)Ue.indexOf(Se[Me])<0&&Object.prototype.propertyIsEnumerable.call(Je,Se[Me])&&(ge[Se[Me]]=Je[Se[Me]]);return ge};const Q={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 X(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 Y={success:c.Z,info:u.Z,error:f.Z,warning:h.Z},oe=Je=>{const{prefixCls:Ue,icon:ge,type:Se,message:Me,description:$e,btn:We,role:nt="alert"}=Je;let lt=null;return ge?lt=r.createElement("span",{className:`${Ue}-icon`},ge):Se&&(lt=r.createElement(Y[Se]||null,{className:p()(`${Ue}-icon`,`${Ue}-icon-${Se}`)})),r.createElement("div",{className:p()({[`${Ue}-with-icon`]:lt}),role:nt},lt,r.createElement("div",{className:`${Ue}-message`},Me),r.createElement("div",{className:`${Ue}-description`},$e),We&&r.createElement("div",{className:`${Ue}-btn`},We))};var ue=Je=>{const{prefixCls:Ue,className:ge,icon:Se,type:Me,message:$e,description:We,btn:nt,closable:lt=!0,closeIcon:Vt}=Je,Ht=j(Je,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:Ie}=r.useContext(_.E_),qe=Ue||Ie("notification"),Gt=`${qe}-notice`,[,Ot]=N(qe);return r.createElement(y.qX,Object.assign({},Ht,{prefixCls:qe,className:p()(ge,Ot,`${Gt}-pure-panel`),eventKey:"pure",duration:null,closable:lt,closeIcon:X(qe,Vt),content:r.createElement(oe,{prefixCls:Gt,icon:Se,type:Me,message:$e,description:We,btn:nt})}))};function K(Je,Ue,ge){let Se;switch(Je){case"top":Se={left:"50%",transform:"translateX(-50%)",right:"auto",top:Ue,bottom:"auto"};break;case"topLeft":Se={left:0,top:Ue,bottom:"auto"};break;case"topRight":Se={right:0,top:Ue,bottom:"auto"};break;case"bottom":Se={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:ge};break;case"bottomLeft":Se={left:0,top:"auto",bottom:ge};break;default:Se={right:0,top:"auto",bottom:ge};break}return Se}function V(Je){return{motionName:`${Je}-fade`}}var G=function(Je,Ue){var ge={};for(var Se in Je)Object.prototype.hasOwnProperty.call(Je,Se)&&Ue.indexOf(Se)<0&&(ge[Se]=Je[Se]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Se=Object.getOwnPropertySymbols(Je);Me<Se.length;Me++)Ue.indexOf(Se[Me])<0&&Object.prototype.propertyIsEnumerable.call(Je,Se[Me])&&(ge[Se[Me]]=Je[Se[Me]]);return ge};const te=24,q=4.5,J="topRight",le=Je=>{let{children:Ue,prefixCls:ge}=Je;const[,Se]=N(ge);return r.createElement(y.JB,{classNames:{list:Se,notice:Se}},Ue)},z=(Je,Ue)=>{let{prefixCls:ge,key:Se}=Ue;return r.createElement(le,{prefixCls:ge,key:Se},Je)},F=r.forwardRef((Je,Ue)=>{const{top:ge,bottom:Se,prefixCls:Me,getContainer:$e,maxCount:We,rtl:nt,onAllRemoved:lt}=Je,{getPrefixCls:Vt,getPopupContainer:Ht,notification:Ie}=r.useContext(_.E_),qe=Me||Vt("notification"),Gt=Wt=>K(Wt,ge!=null?ge:te,Se!=null?Se:te),Ot=()=>p()({[`${qe}-rtl`]:nt}),zt=()=>V(qe),[$t,tr]=(0,y.lm)({prefixCls:qe,style:Gt,className:Ot,motion:zt,closable:!0,closeIcon:X(qe),duration:q,getContainer:()=>($e==null?void 0:$e())||(Ht==null?void 0:Ht())||document.body,maxCount:We,onAllRemoved:lt,renderNotifications:z});return r.useImperativeHandle(Ue,()=>Object.assign(Object.assign({},$t),{prefixCls:qe,notification:Ie})),tr});function se(Je){const Ue=r.useRef(null);return[r.useMemo(()=>{const Se=nt=>{var lt;if(!Ue.current)return;const{open:Vt,prefixCls:Ht,notification:Ie}=Ue.current,qe=`${Ht}-notice`,{message:Gt,description:Ot,icon:zt,type:$t,btn:tr,className:Wt,style:Fe,role:fe="alert",closeIcon:pe}=nt,Pt=G(nt,["message","description","icon","type","btn","className","style","role","closeIcon"]),Ce=X(qe,pe);return Vt(Object.assign(Object.assign({placement:(lt=Je==null?void 0:Je.placement)!==null&<!==void 0?lt:J},Pt),{content:r.createElement(oe,{prefixCls:qe,icon:zt,type:$t,message:Gt,description:Ot,btn:tr,role:fe}),className:p()($t&&`${qe}-${$t}`,Wt,Ie==null?void 0:Ie.className),style:Object.assign(Object.assign({},Ie==null?void 0:Ie.style),Fe),closeIcon:Ce,closable:!!Ce}))},$e={open:Se,destroy:nt=>{var lt,Vt;nt!==void 0?(lt=Ue.current)===null||lt===void 0||lt.close(nt):(Vt=Ue.current)===null||Vt===void 0||Vt.destroy()}};return["success","info","warning","error"].forEach(nt=>{$e[nt]=lt=>Se(Object.assign(Object.assign({},lt),{type:nt}))}),$e},[]),r.createElement(F,Object.assign({key:"notification-holder"},Je,{ref:Ue}))]}function _e(Je){return se(Je)}let Pe=null,Re=Je=>Je(),He=[],je={};function Zt(){const{prefixCls:Je,getContainer:Ue,rtl:ge,maxCount:Se,top:Me,bottom:$e}=je,We=Je!=null?Je:(0,l.w6)().getPrefixCls("notification"),nt=(Ue==null?void 0:Ue())||document.body;return{prefixCls:We,getContainer:()=>nt,rtl:ge,maxCount:Se,top:Me,bottom:$e}}const yt=r.forwardRef((Je,Ue)=>{const[ge,Se]=r.useState(Zt),[Me,$e]=se(ge),We=(0,l.w6)(),nt=We.getRootPrefixCls(),lt=We.getIconPrefixCls(),Vt=We.getTheme(),Ht=()=>{Se(Zt)};return r.useEffect(Ht,[]),r.useImperativeHandle(Ue,()=>{const Ie=Object.assign({},Me);return Object.keys(Ie).forEach(qe=>{Ie[qe]=function(){return Ht(),Me[qe].apply(Me,arguments)}}),{instance:Ie,sync:Ht}}),r.createElement(l.ZP,{prefixCls:nt,iconPrefixCls:lt,theme:Vt},$e)});function Dt(){if(!Pe){const Je=document.createDocumentFragment(),Ue={fragment:Je};Pe=Ue,Re(()=>{(0,i.s)(r.createElement(yt,{ref:ge=>{const{instance:Se,sync:Me}=ge||{};Promise.resolve().then(()=>{!Ue.instance&&Se&&(Ue.instance=Se,Ue.sync=Me,Dt())})}}),Je)});return}Pe.instance&&(He.forEach(Je=>{switch(Je.type){case"open":{Re(()=>{Pe.instance.open(Object.assign(Object.assign({},je),Je.config))});break}case"destroy":Re(()=>{Pe==null||Pe.instance.destroy(Je.key)});break}}),He=[])}function Qt(Je){je=Object.assign(Object.assign({},je),Je),Re(()=>{var Ue;(Ue=Pe==null?void 0:Pe.sync)===null||Ue===void 0||Ue.call(Pe)})}function Jt(Je){He.push({type:"open",config:Je}),Dt()}function qt(Je){He.push({type:"destroy",key:Je}),Dt()}const Xe=["success","info","warning","error"],jt={open:Jt,destroy:qt,config:Qt,useNotification:_e,_InternalPanelDoNotUseOrYouWillBeFired:ue};Xe.forEach(Je=>{jt[Je]=Ue=>Jt(Object.assign(Object.assign({},Ue),{type:Je}))});const st=()=>{};let gt=null;var dt=jt},95237:function(d,v,e){"use strict";var r=e(27382);v.Z=r.Z},33234:function(d,v,e){"use strict";e.d(v,{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 T=0,L=Object.getOwnPropertySymbols(b);T<L.length;T++)S.indexOf(L[T])<0&&Object.prototype.propertyIsEnumerable.call(b,L[T])&&(R[L[T]]=b[L[T]]);return R};const a=c.createContext(null),x=(b,S)=>{const R=c.useContext(a),L=c.useMemo(()=>{if(!R)return"";const{compactDirection:T,isFirstItem:D,isLastItem:M}=R,N=T==="vertical"?"-vertical-":"-";return i()(`${b}-compact${N}item`,{[`${b}-compact${N}first-item`]:D,[`${b}-compact${N}last-item`]:M,[`${b}-compact${N}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:T,block:D,prefixCls:M,className:N,rootClassName:j,children:Q}=b,X=u(b,["size","direction","block","prefixCls","className","rootClassName","children"]),Y=(0,s.Z)(q=>L!=null?L:q),oe=S("space-compact",M),[ie,ue]=(0,h.Z)(oe),K=i()(oe,ue,{[`${oe}-rtl`]:R==="rtl",[`${oe}-block`]:D,[`${oe}-vertical`]:T==="vertical"},N,j),V=c.useContext(a),G=(0,l.Z)(Q),te=c.useMemo(()=>G.map((q,J)=>{const le=q&&q.key||`${oe}-item-${J}`;return c.createElement(y,{key:le,compactSize:Y,compactDirection:T,isFirstItem:J===0&&(!V||(V==null?void 0:V.isFirstItem)),isLastItem:J===G.length-1&&(!V||(V==null?void 0:V.isLastItem))},q)}),[L,G,V]);return G.length===0?null:ie(c.createElement("div",Object.assign({className:K},X),te))};v.ZP=_},2856:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{Z:function(){return Q}});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=X=>({[`${X.componentCls}`]:Object.assign(Object.assign({},(0,a.Wf)(X)),{position:"absolute",display:"none",color:X.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${X.motionDurationSlow} ${X.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${X.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:X.contentHeight,[`${X.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-X.dotSize/2},[`${X.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(X.dotSize-X.fontSize)/2+2,textShadow:`0 1px 2px ${X.colorBgContainer}`,fontSize:X.fontSize},[`&${X.componentCls}-show-text ${X.componentCls}-dot`]:{marginTop:-(X.dotSize/2)-10},"&-sm":{[`${X.componentCls}-dot`]:{margin:-X.dotSizeSM/2},[`${X.componentCls}-text`]:{paddingTop:(X.dotSizeSM-X.fontSize)/2+2},[`&${X.componentCls}-show-text ${X.componentCls}-dot`]:{marginTop:-(X.dotSizeSM/2)-10}},"&-lg":{[`${X.componentCls}-dot`]:{margin:-(X.dotSizeLG/2)},[`${X.componentCls}-text`]:{paddingTop:(X.dotSizeLG-X.fontSize)/2+2},[`&${X.componentCls}-show-text ${X.componentCls}-dot`]:{marginTop:-(X.dotSizeLG/2)-10}}},[`${X.componentCls}-container`]:{position:"relative",transition:`opacity ${X.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:X.colorBgContainer,opacity:0,transition:`all ${X.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${X.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:X.spinDotDefault},[`${X.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:X.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(X.dotSize-X.marginXXS/2)/2,height:(X.dotSize-X.marginXXS/2)/2,backgroundColor:X.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 ${X.componentCls}-dot`]:{fontSize:X.dotSizeSM,i:{width:(X.dotSizeSM-X.marginXXS/2)/2,height:(X.dotSizeSM-X.marginXXS/2)/2}},[`&-lg ${X.componentCls}-dot`]:{fontSize:X.dotSizeLG,i:{width:(X.dotSizeLG-X.marginXXS)/2,height:(X.dotSizeLG-X.marginXXS)/2}},[`&${X.componentCls}-show-text ${X.componentCls}-text`]:{display:"block"}})});var S=(0,x.Z)("Spin",X=>{const Y=(0,p.TS)(X,{spinDotDefault:X.colorTextDescription});return[b(Y)]},X=>({contentHeight:400,dotSize:X.controlHeightLG/2,dotSizeSM:X.controlHeightLG*.35,dotSizeLG:X.controlHeight})),R=function(X,Y){var oe={};for(var ie in X)Object.prototype.hasOwnProperty.call(X,ie)&&Y.indexOf(ie)<0&&(oe[ie]=X[ie]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,ie=Object.getOwnPropertySymbols(X);ue<ie.length;ue++)Y.indexOf(ie[ue])<0&&Object.prototype.propertyIsEnumerable.call(X,ie[ue])&&(oe[ie[ue]]=X[ie[ue]]);return oe};const L=null;let T=null;function D(X,Y){const{indicator:oe}=Y,ie=`${X}-dot`;return oe===null?null:(0,s.l$)(oe)?(0,s.Tm)(oe,{className:i()(oe.props.className,ie)}):(0,s.l$)(T)?(0,s.Tm)(T,{className:i()(T.props.className,ie)}):c.createElement("span",{className:i()(ie,`${X}-dot-spin`)},c.createElement("i",{className:`${X}-dot-item`,key:1}),c.createElement("i",{className:`${X}-dot-item`,key:2}),c.createElement("i",{className:`${X}-dot-item`,key:3}),c.createElement("i",{className:`${X}-dot-item`,key:4}))}function M(X,Y){return!!X&&!!Y&&!isNaN(Number(Y))}const N=X=>{const{spinPrefixCls:Y,spinning:oe=!0,delay:ie=0,className:ue,rootClassName:K,size:V="default",tip:G,wrapperClassName:te,style:q,children:J,hashId:le}=X,z=R(X,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[F,se]=c.useState(()=>oe&&!M(oe,ie));c.useEffect(()=>{if(oe){const Qt=(0,f.D)(ie,()=>{se(!0)});return Qt(),()=>{var Jt;(Jt=Qt==null?void 0:Qt.cancel)===null||Jt===void 0||Jt.call(Qt)}}se(!1)},[ie,oe]);const _e=c.useMemo(()=>typeof J!="undefined",[J]),{direction:Pe,spin:Re}=c.useContext(h.E_),He=i()(Y,Re==null?void 0:Re.className,{[`${Y}-sm`]:V==="small",[`${Y}-lg`]:V==="large",[`${Y}-spinning`]:F,[`${Y}-show-text`]:!!G,[`${Y}-rtl`]:Pe==="rtl"},ue,K,le),je=i()(`${Y}-container`,{[`${Y}-blur`]:F}),Zt=(0,l.Z)(z,["indicator","prefixCls"]),yt=Object.assign(Object.assign({},Re==null?void 0:Re.style),q),Dt=c.createElement("div",Object.assign({},Zt,{style:yt,className:He,"aria-live":"polite","aria-busy":F}),D(Y,X),G&&_e?c.createElement("div",{className:`${Y}-text`},G):null);return _e?c.createElement("div",Object.assign({},Zt,{className:i()(`${Y}-nested-loading`,te,le)}),F&&c.createElement("div",{key:"loading"},Dt),c.createElement("div",{className:je,key:"container"},J)):Dt},j=X=>{const{prefixCls:Y}=X,{getPrefixCls:oe}=c.useContext(h.E_),ie=oe("spin",Y),[ue,K]=S(ie),V=Object.assign(Object.assign({},X),{spinPrefixCls:ie,hashId:K});return ue(c.createElement(N,Object.assign({},V)))};j.setDefaultIndicator=X=>{T=X};var Q=j},74207:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{_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,T)=>{const{antCls:D}=L,M=`${D}-${T}`,{inKeyframes:N,outKeyframes:j}=S[T];return[(0,i.R)(M,N,j,T==="zoom-big-fast"?L.motionDurationFast:L.motionDurationMid),{[`
|
|
|
${M}-enter,
|
|
|
${M}-appear
|
|
|
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:L.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${M}-leave`]:{animationTimingFunction:L.motionEaseInOutCirc}}]}},19447:function(d,v,e){"use strict";e.d(v,{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:T,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:T},[`&-placement-leftBottom ${u}-arrow`]:{bottom:T}})),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:T},[`&-placement-rightBottom ${u}-arrow`]:{bottom:T}}))}}},47585:function(d,v,e){"use strict";e.d(v,{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,T=2*h-u,D=a,M=h*Math.sqrt(2)+c*(Math.sqrt(2)-2),N=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(${N}px 100%, 50% ${N}px, ${2*h-N}px 100%, ${N}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 ${T} ${D} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:M,height:M,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,v,e){"use strict";e.d(v,{Mj:function(){return Q},u_:function(){return j},uH:function(){return N}});var r=e(93083),i=e(59301),l=e(30071),f=X=>{const{controlHeight:Y}=X;return{controlHeightSM:Y*.75,controlHeightXS:Y*.5,controlHeightLG:Y*1.25}};function s(X){const{sizeUnit:Y,sizeStep:oe}=X;return{sizeXXL:Y*(oe+8),sizeXL:Y*(oe+4),sizeLG:Y*(oe+2),sizeMD:Y*(oe+1),sizeMS:Y*oe,size:Y*oe,sizeSM:Y*(oe-1),sizeXS:Y*(oe-2),sizeXXS:Y*(oe-3)}}var h=e(34117),u=e(64993);function a(X,Y){let{generateColorPalettes:oe,generateNeutralColorPalettes:ie}=Y;const{colorSuccess:ue,colorWarning:K,colorError:V,colorInfo:G,colorPrimary:te,colorBgBase:q,colorTextBase:J}=X,le=oe(te),z=oe(ue),F=oe(K),se=oe(V),_e=oe(G),Pe=ie(q,J),Re=X.colorLink||X.colorInfo,He=oe(Re);return Object.assign(Object.assign({},Pe),{colorPrimaryBg:le[1],colorPrimaryBgHover:le[2],colorPrimaryBorder:le[3],colorPrimaryBorderHover:le[4],colorPrimaryHover:le[5],colorPrimary:le[6],colorPrimaryActive:le[7],colorPrimaryTextHover:le[8],colorPrimaryText:le[9],colorPrimaryTextActive:le[10],colorSuccessBg:z[1],colorSuccessBgHover:z[2],colorSuccessBorder:z[3],colorSuccessBorderHover:z[4],colorSuccessHover:z[4],colorSuccess:z[6],colorSuccessActive:z[7],colorSuccessTextHover:z[8],colorSuccessText:z[9],colorSuccessTextActive:z[10],colorErrorBg:se[1],colorErrorBgHover:se[2],colorErrorBorder:se[3],colorErrorBorderHover:se[4],colorErrorHover:se[5],colorError:se[6],colorErrorActive:se[7],colorErrorTextHover:se[8],colorErrorText:se[9],colorErrorTextActive:se[10],colorWarningBg:F[1],colorWarningBgHover:F[2],colorWarningBorder:F[3],colorWarningBorderHover:F[4],colorWarningHover:F[4],colorWarning:F[6],colorWarningActive:F[7],colorWarningTextHover:F[8],colorWarningText:F[9],colorWarningTextActive:F[10],colorInfoBg:_e[1],colorInfoBgHover:_e[2],colorInfoBorder:_e[3],colorInfoBorderHover:_e[4],colorInfoHover:_e[4],colorInfo:_e[6],colorInfoActive:_e[7],colorInfoTextHover:_e[8],colorInfoText:_e[9],colorInfoTextActive:_e[10],colorLinkHover:He[4],colorLink:He[6],colorLinkActive:He[7],colorBgMask:new u.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}var p=X=>{let Y=X,oe=X,ie=X,ue=X;return X<6&&X>=5?Y=X+1:X<16&&X>=6?Y=X+2:X>=16&&(Y=16),X<7&&X>=5?oe=4:X<8&&X>=7?oe=5:X<14&&X>=8?oe=6:X<16&&X>=14?oe=7:X>=16&&(oe=8),X<6&&X>=2?ie=1:X>=6&&(ie=2),X>4&&X<8?ue=4:X>=8&&(ue=6),{borderRadius:X>16?16:X,borderRadiusXS:ie,borderRadiusSM:oe,borderRadiusLG:Y,borderRadiusOuter:ue}};function y(X){const{motionUnit:Y,motionBase:oe,borderRadius:ie,lineWidth:ue}=X;return Object.assign({motionDurationFast:`${(oe+Y).toFixed(1)}s`,motionDurationMid:`${(oe+Y*2).toFixed(1)}s`,motionDurationSlow:`${(oe+Y*3).toFixed(1)}s`,lineWidthBold:ue+1},p(ie))}const _=(X,Y)=>new u.C(X).setAlpha(Y).toRgbString(),b=(X,Y)=>new u.C(X).darken(Y).toHexString(),S=X=>{const Y=(0,l.generate)(X);return{1:Y[0],2:Y[1],3:Y[2],4:Y[3],5:Y[4],6:Y[5],7:Y[6],8:Y[4],9:Y[5],10:Y[6]}},R=(X,Y)=>{const oe=X||"#fff",ie=Y||"#000";return{colorBgBase:oe,colorTextBase:ie,colorText:_(ie,.88),colorTextSecondary:_(ie,.65),colorTextTertiary:_(ie,.45),colorTextQuaternary:_(ie,.25),colorFill:_(ie,.15),colorFillSecondary:_(ie,.06),colorFillTertiary:_(ie,.04),colorFillQuaternary:_(ie,.02),colorBgLayout:b(oe,4),colorBgContainer:b(oe,0),colorBgElevated:b(oe,0),colorBgSpotlight:_(ie,.85),colorBorder:b(oe,15),colorBorderSecondary:b(oe,6)}};function L(X){const Y=new Array(10).fill(null).map((oe,ie)=>{const ue=ie-1,K=X*Math.pow(2.71828,ue/5),V=ie>1?Math.floor(K):Math.ceil(K);return Math.floor(V/2)*2});return Y[1]=X,Y.map(oe=>{const ie=oe+8;return{size:oe,lineHeight:ie/oe}})}var D=X=>{const Y=L(X),oe=Y.map(ue=>ue.size),ie=Y.map(ue=>ue.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:ie[1],lineHeightLG:ie[2],lineHeightSM:ie[0],lineHeightHeading1:ie[6],lineHeightHeading2:ie[5],lineHeightHeading3:ie[4],lineHeightHeading4:ie[3],lineHeightHeading5:ie[2]}};function M(X){const Y=Object.keys(h.M).map(oe=>{const ie=(0,l.generate)(X[oe]);return new Array(10).fill(1).reduce((ue,K,V)=>(ue[`${oe}-${V+1}`]=ie[V],ue[`${oe}${V+1}`]=ie[V],ue),{})}).reduce((oe,ie)=>(oe=Object.assign(Object.assign({},oe),ie),oe),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},X),Y),a(X,{generateColorPalettes:S,generateNeutralColorPalettes:R})),D(X.fontSize)),s(X)),f(X)),y(X))}const N=(0,r.createTheme)(M),j={token:h.Z,hashed:!0},Q=i.createContext(j)},33166:function(d,v,e){"use strict";e.d(v,{i:function(){return r}});const r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},34117:function(d,v,e){"use strict";e.d(v,{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});v.Z=i},88088:function(d,v,e){"use strict";e.d(v,{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:T,g:D,b:M,a:N}=new h.C(R).toRgb();if(N<1)return R;const{r:j,g:Q,b:X}=new h.C(L).toRgb();for(let Y=.01;Y<=1;Y+=.01){const oe=Math.round((T-j*(1-Y))/Y),ie=Math.round((D-Q*(1-Y))/Y),ue=Math.round((M-X*(1-Y))/Y);if(u(oe)&&u(ie)&&u(ue))return new h.C({r:oe,g:ie,b:ue,a:Math.round(Y*100)/100}).toRgbString()}return new h.C({r:T,g:D,b:M,a:1}).toRgbString()}var x=a,p=function(R,L){var T={};for(var D in R)Object.prototype.hasOwnProperty.call(R,D)&&L.indexOf(D)<0&&(T[D]=R[D]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,D=Object.getOwnPropertySymbols(R);M<D.length;M++)L.indexOf(D[M])<0&&Object.prototype.propertyIsEnumerable.call(R,D[M])&&(T[D[M]]=R[D[M]]);return T};function y(R){const{override:L}=R,T=p(R,["override"]),D=Object.assign({},L);Object.keys(s.Z).forEach(ue=>{delete D[ue]});const M=Object.assign(Object.assign({},T),D),N=480,j=576,Q=768,X=992,Y=1200,oe=1600;if(M.motion===!1){const ue="0s";M.motionDurationFast=ue,M.motionDurationMid=ue,M.motionDurationSlow=ue}return Object.assign(Object.assign(Object.assign({},M),{colorFillContent:M.colorFillSecondary,colorFillContentHover:M.colorFill,colorFillAlter:M.colorFillQuaternary,colorBgContainerDisabled:M.colorFillTertiary,colorBorderBg:M.colorBgContainer,colorSplit:x(M.colorBorderSecondary,M.colorBgContainer),colorTextPlaceholder:M.colorTextQuaternary,colorTextDisabled:M.colorTextQuaternary,colorTextHeading:M.colorText,colorTextLabel:M.colorTextSecondary,colorTextDescription:M.colorTextTertiary,colorTextLightSolid:M.colorWhite,colorHighlight:M.colorError,colorBgTextHover:M.colorFillSecondary,colorBgTextActive:M.colorFill,colorIcon:M.colorTextTertiary,colorIconHover:M.colorText,colorErrorOutline:x(M.colorErrorBg,M.colorBgContainer),colorWarningOutline:x(M.colorWarningBg,M.colorBgContainer),fontSizeIcon:M.fontSizeSM,lineWidthFocus:M.lineWidth*4,lineWidth:M.lineWidth,controlOutlineWidth:M.lineWidth*2,controlInteractiveSize:M.controlHeight/2,controlItemBgHover:M.colorFillTertiary,controlItemBgActive:M.colorPrimaryBg,controlItemBgActiveHover:M.colorPrimaryBgHover,controlItemBgActiveDisabled:M.colorFill,controlTmpOutline:M.colorFillQuaternary,controlOutline:x(M.colorPrimaryBg,M.colorBgContainer),lineType:M.lineType,borderRadius:M.borderRadius,borderRadiusXS:M.borderRadiusXS,borderRadiusSM:M.borderRadiusSM,borderRadiusLG:M.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:M.sizeXXS,paddingXS:M.sizeXS,paddingSM:M.sizeSM,padding:M.size,paddingMD:M.sizeMD,paddingLG:M.sizeLG,paddingXL:M.sizeXL,paddingContentHorizontalLG:M.sizeLG,paddingContentVerticalLG:M.sizeMS,paddingContentHorizontal:M.sizeMS,paddingContentVertical:M.sizeSM,paddingContentHorizontalSM:M.size,paddingContentVerticalSM:M.sizeXS,marginXXS:M.sizeXXS,marginXS:M.sizeXS,marginSM:M.sizeSM,margin:M.size,marginMD:M.sizeMD,marginLG:M.sizeLG,marginXL:M.sizeXL,marginXXL:M.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:N,screenXSMin:N,screenXSMax:j-1,screenSM:j,screenSMMin:j,screenSMMax:Q-1,screenMD:Q,screenMDMin:Q,screenMDMax:X-1,screenLG:X,screenLGMin:X,screenLGMax:Y-1,screenXL:Y,screenXLMin:Y,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 T={};for(var D in R)Object.prototype.hasOwnProperty.call(R,D)&&L.indexOf(D)<0&&(T[D]=R[D]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,D=Object.getOwnPropertySymbols(R);M<D.length;M++)L.indexOf(D[M])<0&&Object.prototype.propertyIsEnumerable.call(R,D[M])&&(T[D[M]]=R[D[M]]);return T};const b=(R,L,T)=>{const D=T.getDerivativeToken(R),{override:M}=L,N=_(L,["override"]);let j=Object.assign(Object.assign({},D),{override:M});return j=y(j),N&&Object.entries(N).forEach(Q=>{let[X,Y]=Q;const{theme:oe}=Y,ie=_(Y,["theme"]);let ue=ie;oe&&(ue=b(Object.assign(Object.assign({},j),ie),{override:ie},oe)),j[X]=ue}),j};function S(){const{token:R,hashed:L,theme:T,components:D}=i.useContext(f.Mj),M=`${c}-${L||""}`,N=T||f.uH,[j,Q]=(0,r.useCacheToken)(N,[s.Z,R],{salt:M,override:Object.assign({override:R},D),getComputedToken:b,formatToken:y});return[N,j,L?Q:""]}},83116:function(d,v,e){"use strict";e.d(v,{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 T=>{const[D,M,N]=(0,s.Z)(),{getPrefixCls:j,iconPrefixCls:Q,csp:X}=(0,r.useContext)(c.E_),Y=j(),oe={theme:D,token:M,hashId:N,nonce:()=>X==null?void 0:X.nonce,clientOnly:b.clientOnly,order:b.order||-999};return(0,i.useStyleRegister)(Object.assign(Object.assign({},oe),{clientOnly:!1,path:["Shared",Y]}),()=>[{"&":(0,f.Lx)(M)}]),(0,u.Z)(Q),[(0,i.useStyleRegister)(Object.assign(Object.assign({},oe),{path:[L,T,Q]}),()=>{const{token:ie,flush:ue}=(0,h.ZP)(M),K=Object.assign({},M[R]);if(b.deprecatedTokens){const{deprecatedTokens:le}=b;le.forEach(z=>{let[F,se]=z;var _e;(K!=null&&K[F]||K!=null&&K[se])&&((_e=K[se])!==null&&_e!==void 0||(K[se]=K==null?void 0:K[F]))})}const V=typeof _=="function"?_((0,h.TS)(ie,K!=null?K:{})):_,G=Object.assign(Object.assign({},V),K),te=`.${T}`,q=(0,h.TS)(ie,{componentCls:te,prefixCls:T,iconCls:`.${Q}`,antCls:`.${Y}`},G),J=y(q,{hashId:N,prefixCls:T,rootPrefixCls:Y,iconPrefixCls:Q,overrideComponentToken:K});return ue(R,G),[b.resetStyle===!1?null:(0,f.du)(M,T),J]}),N]}}const x=(p,y,_,b)=>{const S=a(p,y,_,Object.assign({resetStyle:!1,order:-998},b));return L=>{let{prefixCls:T}=L;return S(T),null}}},45157:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,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"}})}])};v.Z=c},67532:function(d,v){"use strict";const e={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};v.Z=e},6848:function(d,v,e){"use strict";e.d(v,{Z:function(){return ue}});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 T=K=>{const{componentCls:V,tooltipMaxWidth:G,tooltipColor:te,tooltipBg:q,tooltipBorderRadius:J,zIndexPopup:le,controlHeight:z,boxShadowSecondary:F,paddingSM:se,paddingXS:_e,tooltipRadiusOuter:Pe}=K;return[{[V]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(K)),{position:"absolute",zIndex:le,display:"block",width:"max-content",maxWidth:G,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":q,[`${V}-inner`]:{minWidth:z,minHeight:z,padding:`${se/2}px ${_e}px`,color:te,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:q,borderRadius:J,boxShadow:F,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${V}-inner`]:{borderRadius:Math.min(J,b.qN)}},[`${V}-content`]:{position:"relative"}}),(0,S.Z)(K,(Re,He)=>{let{darkColor:je}=He;return{[`&${V}-${Re}`]:{[`${V}-inner`]:{backgroundColor:je},[`${V}-arrow`]:{"--antd-arrow-background-color":je}}}})),{"&-rtl":{direction:"rtl"}})},(0,b.ZP)((0,R.TS)(K,{borderRadiusOuter:Pe}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:J,limitVerticalRadius:!0}),{[`${V}-pure`]:{position:"relative",maxWidth:"none",margin:K.sizePopupArrow}}]};var D=(K,V)=>(0,L.Z)("Tooltip",te=>{if(V===!1)return[];const{borderRadius:q,colorTextLightSolid:J,colorBgDefault:le,borderRadiusOuter:z}=te,F=(0,R.TS)(te,{tooltipMaxWidth:250,tooltipColor:J,tooltipBorderRadius:q,tooltipBg:le,tooltipRadiusOuter:z>4?4:z});return[T(F),(0,_._y)(te,"zoom-big-fast")]},te=>{let{zIndexPopupBase:q,colorBgSpotlight:J}=te;return{zIndexPopup:q+70,colorBgDefault:J}},{resetStyle:!1})(K),M=e(36785);function N(K,V){const G=(0,M.o2)(V),te=l()({[`${K}-${V}`]:V&&G}),q={},J={};return V&&!G&&(q.background=V,J["--antd-arrow-background-color"]=V),{className:te,overlayStyle:q,arrowStyle:J}}var Q=K=>{const{prefixCls:V,className:G,placement:te="top",title:q,color:J,overlayInnerStyle:le}=K,{getPrefixCls:z}=r.useContext(a.E_),F=z("tooltip",V),[se,_e]=D(F,!0),Pe=N(F,J),Re=Pe.arrowStyle,He=Object.assign(Object.assign({},le),Pe.overlayStyle),je=l()(_e,F,`${F}-pure`,`${F}-placement-${te}`,G,Pe.className);return se(r.createElement("div",{className:je,style:Re},r.createElement("div",{className:`${F}-arrow`}),r.createElement(c.G,Object.assign({},K,{className:_e,prefixCls:F,overlayInnerStyle:He}),q)))},X=function(K,V){var G={};for(var te in K)Object.prototype.hasOwnProperty.call(K,te)&&V.indexOf(te)<0&&(G[te]=K[te]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,te=Object.getOwnPropertySymbols(K);q<te.length;q++)V.indexOf(te[q])<0&&Object.prototype.propertyIsEnumerable.call(K,te[q])&&(G[te[q]]=K[te[q]]);return G};const Y=(K,V)=>{const G={},te=Object.assign({},K);return V.forEach(q=>{K&&q in K&&(G[q]=K[q],delete te[q])}),{picked:G,omitted:te}};function oe(K,V){const G=K.type;if((G.__ANT_BUTTON===!0||K.type==="button")&&K.props.disabled||G.__ANT_SWITCH===!0&&(K.props.disabled||K.props.loading)||G.__ANT_RADIO===!0&&K.props.disabled){const{picked:te,omitted:q}=Y(K.props.style,["position","left","right","top","bottom","float","display","zIndex"]),J=Object.assign(Object.assign({display:"inline-block"},te),{cursor:"not-allowed",width:K.props.block?"100%":void 0}),le=Object.assign(Object.assign({},q),{pointerEvents:"none"}),z=(0,u.Tm)(K,{style:le,className:null});return r.createElement("span",{style:J,className:l()(K.props.className,`${V}-disabled-compatible-wrapper`)},z)}return K}const ie=r.forwardRef((K,V)=>{var G,te;const{prefixCls:q,openClassName:J,getTooltipContainer:le,overlayClassName:z,color:F,overlayInnerStyle:se,children:_e,afterOpenChange:Pe,afterVisibleChange:Re,destroyTooltipOnHide:He,arrow:je=!0,title:Zt,overlay:yt,builtinPlacements:Dt,arrowPointAtCenter:Qt=!1,autoAdjustOverflow:Jt=!0}=K,qt=!!je,[,Xe]=(0,p.Z)(),{getPopupContainer:Tt,getPrefixCls:jt,direction:st}=r.useContext(a.E_),gt=r.useRef(null),dt=()=>{var Oe;(Oe=gt.current)===null||Oe===void 0||Oe.forceAlign()};r.useImperativeHandle(V,()=>({forceAlign:dt,forcePopupAlign:()=>{dt()}}));const[Je,Ue]=(0,f.Z)(!1,{value:(G=K.open)!==null&&G!==void 0?G:K.visible,defaultValue:(te=K.defaultOpen)!==null&&te!==void 0?te:K.defaultVisible}),ge=!Zt&&!yt&&Zt!==0,Se=Oe=>{var wt,be;Ue(ge?!1:Oe),ge||((wt=K.onOpenChange)===null||wt===void 0||wt.call(K,Oe),(be=K.onVisibleChange)===null||be===void 0||be.call(K,Oe))},Me=r.useMemo(()=>{var Oe,wt;let be=Qt;return typeof je=="object"&&(be=(wt=(Oe=je.pointAtCenter)!==null&&Oe!==void 0?Oe:je.arrowPointAtCenter)!==null&&wt!==void 0?wt:Qt),Dt||(0,h.Z)({arrowPointAtCenter:be,autoAdjustOverflow:Jt,arrowWidth:qt?Xe.sizePopupArrow:0,borderRadius:Xe.borderRadius,offset:Xe.marginXXS,visibleFirst:!0})},[Qt,je,Dt,Xe]),$e=r.useMemo(()=>Zt===0?Zt:yt||Zt||"",[yt,Zt]),We=r.createElement(x.BR,null,typeof $e=="function"?$e():$e),{getPopupContainer:nt,placement:lt="top",mouseEnterDelay:Vt=.1,mouseLeaveDelay:Ht=.1,overlayStyle:Ie,rootClassName:qe}=K,Gt=X(K,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),Ot=jt("tooltip",q),zt=jt(),$t=K["data-popover-inject"];let tr=Je;!("open"in K)&&!("visible"in K)&&ge&&(tr=!1);const Wt=oe((0,u.l$)(_e)&&!(0,u.M2)(_e)?_e:r.createElement("span",null,_e),Ot),Fe=Wt.props,fe=!Fe.className||typeof Fe.className=="string"?l()(Fe.className,J||`${Ot}-open`):Fe.className,[pe,Pt]=D(Ot,!$t),Ce=N(Ot,F),ft=Ce.arrowStyle,Ut=Object.assign(Object.assign({},se),Ce.overlayStyle),At=l()(z,{[`${Ot}-rtl`]:st==="rtl"},Ce.className,qe,Pt);return pe(r.createElement(c.Z,Object.assign({},Gt,{showArrow:qt,placement:lt,mouseEnterDelay:Vt,mouseLeaveDelay:Ht,prefixCls:Ot,overlayClassName:At,overlayStyle:Object.assign(Object.assign({},ft),Ie),getTooltipContainer:nt||le||Tt,ref:gt,builtinPlacements:Me,overlay:We,visible:tr,onVisibleChange:Se,afterVisibleChange:Pe!=null?Pe:Re,overlayInnerStyle:Ut,arrowContent:r.createElement("span",{className:`${Ot}-arrow-content`}),motion:{motionName:(0,s.m)(zt,"zoom-big-fast",K.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!He}),tr?(0,u.Tm)(Wt,{className:fe}):Wt))});ie._InternalPanelDoNotUseOrYouWillBeFired=Q;var ue=ie},11575:function(d,v,e){"use strict";e.d(v,{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 v={utf8:{stringToBytes:function(e){return v.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(v.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=v},64018:function(){var d,v,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"],T=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],D=[x,y,p,b,S,R,L,T],M=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,N="str",j="kwd",Q="com",X="typ",Y="lit",oe="pun",ie="pln",ue="tag",K="dec",V="src",G="atn",te="atv",q="nocode",J="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function le(st){for(var gt=0,dt=!1,Je=!1,Ue=0,ge=st.length;Ue<ge;++Ue){var Se=st[Ue];if(Se.ignoreCase)Je=!0;else if(/[a-z]/i.test(Se.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){dt=!0,Je=!1;break}}var Me={b:8,t:9,n:10,v:11,f:12,r:13};function $e(Ht){var Ie=Ht.charCodeAt(0);if(Ie!==92)return Ie;var qe=Ht.charAt(1);return Ie=Me[qe],Ie||("0"<=qe&&qe<="7"?parseInt(Ht.substring(1),8):qe==="u"||qe==="x"?parseInt(Ht.substring(2),16):Ht.charCodeAt(1))}function We(Ht){if(Ht<32)return(Ht<16?"\\x0":"\\x")+Ht.toString(16);var Ie=String.fromCharCode(Ht);return Ie==="\\"||Ie==="-"||Ie==="]"||Ie==="^"?"\\"+Ie:Ie}function nt(Ht){var Ie=Ht.substring(1,Ht.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=Ie[0]==="^",Ot=["["];Gt&&Ot.push("^");for(var zt=Gt?1:0,$t=Ie.length;zt<$t;++zt){var tr=Ie[zt];if(/\\[bdsw]/i.test(tr))Ot.push(tr);else{var Wt=$e(tr),Fe;zt+2<$t&&Ie[zt+1]==="-"?(Fe=$e(Ie[zt+2]),zt+=2):Fe=Wt,qe.push([Wt,Fe]),Fe<65||Wt>122||(Fe<65||Wt>90||qe.push([Math.max(65,Wt)|32,Math.min(Fe,90)|32]),Fe<97||Wt>122||qe.push([Math.max(97,Wt)&-33,Math.min(Fe,122)&-33]))}}qe.sort(function(Ce,ft){return Ce[0]-ft[0]||ft[1]-Ce[1]});for(var fe=[],pe=[],zt=0;zt<qe.length;++zt){var Pt=qe[zt];Pt[0]<=pe[1]+1?pe[1]=Math.max(pe[1],Pt[1]):fe.push(pe=Pt)}for(var zt=0;zt<fe.length;++zt){var Pt=fe[zt];Ot.push(We(Pt[0])),Pt[1]>Pt[0]&&(Pt[1]+1>Pt[0]&&Ot.push("-"),Ot.push(We(Pt[1])))}return Ot.push("]"),Ot.join("")}function lt(Ht){for(var Ie=Ht.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=Ie.length,Gt=[],Ot=0,zt=0;Ot<qe;++Ot){var $t=Ie[Ot];if($t==="(")++zt;else if($t.charAt(0)==="\\"){var tr=+$t.substring(1);tr&&(tr<=zt?Gt[tr]=-1:Ie[Ot]=We(tr))}}for(var Ot=1;Ot<Gt.length;++Ot)Gt[Ot]===-1&&(Gt[Ot]=++gt);for(var Ot=0,zt=0;Ot<qe;++Ot){var $t=Ie[Ot];if($t==="(")++zt,Gt[zt]||(Ie[Ot]="(?:");else if($t.charAt(0)==="\\"){var tr=+$t.substring(1);tr&&tr<=zt&&(Ie[Ot]="\\"+Gt[tr])}}for(var Ot=0;Ot<qe;++Ot)Ie[Ot]==="^"&&Ie[Ot+1]!=="^"&&(Ie[Ot]="");if(Ht.ignoreCase&&dt)for(var Ot=0;Ot<qe;++Ot){var $t=Ie[Ot],Wt=$t.charAt(0);$t.length>=2&&Wt==="["?Ie[Ot]=nt($t):Wt!=="\\"&&(Ie[Ot]=$t.replace(/[a-zA-Z]/g,function(pe){var Pt=pe.charCodeAt(0);return"["+String.fromCharCode(Pt&-33,Pt|32)+"]"}))}return Ie.join("")}for(var Vt=[],Ue=0,ge=st.length;Ue<ge;++Ue){var Se=st[Ue];if(Se.global||Se.multiline)throw new Error(""+Se);Vt.push("(?:"+lt(Se)+")")}return new RegExp(Vt.join("|"),Je?"gi":"g")}function z(st,gt){var dt=/(?:^|\s)nocode(?:\s|$)/,Je=[],Ue=0,ge=[],Se=0;function Me($e){var We=$e.nodeType;if(We==1){if(dt.test($e.className))return;for(var nt=$e.firstChild;nt;nt=nt.nextSibling)Me(nt);var lt=$e.nodeName.toLowerCase();(lt==="br"||lt==="li")&&(Je[Se]=`
|
|
|
`,ge[Se<<1]=Ue++,ge[Se++<<1|1]=$e)}else if(We==3||We==4){var Vt=$e.nodeValue;Vt.length&&(gt?Vt=Vt.replace(/\r\n?/g,`
|
|
|
`):Vt=Vt.replace(/[ \t\r\n]+/g," "),Je[Se]=Vt,ge[Se<<1]=Ue,Ue+=Vt.length,ge[Se++<<1|1]=$e)}}return Me(st),{sourceCode:Je.join("").replace(/\n$/,""),spans:ge}}function F(st,gt,dt,Je,Ue){if(dt){var ge={sourceNode:st,pre:1,langExtension:null,numberLines:null,sourceCode:dt,spans:null,basePos:gt,decorations:null};Je(ge),Ue.push.apply(Ue,ge.decorations)}}var se=/\S/;function _e(st){for(var gt=void 0,dt=st.firstChild;dt;dt=dt.nextSibling){var Je=dt.nodeType;gt=Je===1?gt?st:dt:Je===3&&se.test(dt.nodeValue)?st:gt}return gt===st?void 0:gt}function Pe(st,gt){var dt={},Je;(function(){for(var Se=st.concat(gt),Me=[],$e={},We=0,nt=Se.length;We<nt;++We){var lt=Se[We],Vt=lt[3];if(Vt)for(var Ht=Vt.length;--Ht>=0;)dt[Vt.charAt(Ht)]=lt;var Ie=lt[1],qe=""+Ie;$e.hasOwnProperty(qe)||(Me.push(Ie),$e[qe]=null)}Me.push(/[\0-\uffff]/),Je=le(Me)})();var Ue=gt.length,ge=function(Se){for(var Me=Se.sourceCode,$e=Se.basePos,We=Se.sourceNode,nt=[$e,ie],lt=0,Vt=Me.match(Je)||[],Ht={},Ie=0,qe=Vt.length;Ie<qe;++Ie){var Gt=Vt[Ie],Ot=Ht[Gt],zt=void 0,$t;if(typeof Ot=="string")$t=!1;else{var tr=dt[Gt.charAt(0)];if(tr)zt=Gt.match(tr[1]),Ot=tr[0];else{for(var Wt=0;Wt<Ue;++Wt)if(tr=gt[Wt],zt=Gt.match(tr[1]),zt){Ot=tr[0];break}zt||(Ot=ie)}$t=Ot.length>=5&&Ot.substring(0,5)==="lang-",$t&&!(zt&&typeof zt[1]=="string")&&($t=!1,Ot=V),$t||(Ht[Gt]=Ot)}var Fe=lt;if(lt+=Gt.length,!$t)nt.push($e+Fe,Ot);else{var fe=zt[1],pe=Gt.indexOf(fe),Pt=pe+fe.length;zt[2]&&(Pt=Gt.length-zt[2].length,pe=Pt-fe.length);var Ce=Ot.substring(5);F(We,$e+Fe,Gt.substring(0,pe),ge,nt),F(We,$e+Fe+pe,fe,Qt(Ce,fe),nt),F(We,$e+Fe+Pt,Gt.substring(Pt),ge,nt)}}Se.decorations=nt};return ge}function Re(st){var gt=[],dt=[];st.tripleQuotedStrings?gt.push([N,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):st.multiLineStrings?gt.push([N,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):gt.push([N,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),st.verbatimStrings&&dt.push([N,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Je=st.hashComments;Je&&(st.cStyleComments?(Je>1?gt.push([Q,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):gt.push([Q,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),dt.push([N,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):gt.push([Q,/^#[^\r\n]*/,null,"#"])),st.cStyleComments&&(dt.push([Q,/^\/\/[^\r\n]*/,null]),dt.push([Q,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var Ue=st.regexLiterals;if(Ue){var ge=Ue>1?"":`
|
|
|
\r`,Se=ge?".":"[\\S\\s]",Me="/(?=[^/*"+ge+"])(?:[^/\\x5B\\x5C"+ge+"]|\\x5C"+Se+"|\\x5B(?:[^\\x5C\\x5D"+ge+"]|\\x5C"+Se+")*(?:\\x5D|$))+/";dt.push(["lang-regex",RegExp("^"+J+"("+Me+")")])}var $e=st.types;$e&&dt.push([X,$e]);var We=(""+st.keywords).replace(/^ | $/g,"");We.length&&dt.push([j,new RegExp("^(?:"+We.replace(/[\s,]+/g,"|")+")\\b"),null]),gt.push([ie,/^\s+/,null,` \r
|
|
|
\xA0`]);var nt="^.[^\\s\\w.$@'\"`/\\\\]*";return st.regexLiterals&&(nt+="(?!s*/)"),dt.push([Y,/^@[a-z_$][a-z_$@0-9]*/i,null],[X,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[ie,/^[a-z_$][a-z_$@0-9]*/i,null],[Y,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[ie,/^\\[\s\S]?/,null],[oe,new RegExp(nt),null]),Pe(gt,dt)}var He=Re({keywords:D,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function je(st,gt,dt){for(var Je=/(?:^|\s)nocode(?:\s|$)/,Ue=/\r\n?|\n/,ge=st.ownerDocument,Se=ge.createElement("li");st.firstChild;)Se.appendChild(st.firstChild);var Me=[Se];function $e(Ie){var qe=Ie.nodeType;if(qe==1&&!Je.test(Ie.className))if(Ie.nodeName==="br")We(Ie),Ie.parentNode&&Ie.parentNode.removeChild(Ie);else for(var Gt=Ie.firstChild;Gt;Gt=Gt.nextSibling)$e(Gt);else if((qe==3||qe==4)&&dt){var Ot=Ie.nodeValue,zt=Ot.match(Ue);if(zt){var $t=Ot.substring(0,zt.index);Ie.nodeValue=$t;var tr=Ot.substring(zt.index+zt[0].length);if(tr){var Wt=Ie.parentNode;Wt.insertBefore(ge.createTextNode(tr),Ie.nextSibling)}We(Ie),$t||Ie.parentNode.removeChild(Ie)}}}function We(Ie){for(;!Ie.nextSibling;)if(Ie=Ie.parentNode,!Ie)return;function qe(zt,$t){var tr=$t?zt.cloneNode(!1):zt,Wt=zt.parentNode;if(Wt){var Fe=qe(Wt,1),fe=zt.nextSibling;Fe.appendChild(tr);for(var pe=fe;pe;pe=fe)fe=pe.nextSibling,Fe.appendChild(pe)}return tr}for(var Gt=qe(Ie.nextSibling,0),Ot;(Ot=Gt.parentNode)&&Ot.nodeType===1;)Gt=Ot;Me.push(Gt)}for(var nt=0;nt<Me.length;++nt)$e(Me[nt]);gt===(gt|0)&&Me[0].setAttribute("value",gt);var lt=ge.createElement("ol");lt.className="linenums";for(var Vt=Math.max(0,gt-1|0)||0,nt=0,Ht=Me.length;nt<Ht;++nt)Se=Me[nt],Se.className="L"+(nt+Vt)%10,Se.firstChild||Se.appendChild(ge.createTextNode("\xA0")),lt.appendChild(Se);st.appendChild(lt)}function Zt(st){var gt=/\bMSIE\s(\d+)/.exec(navigator.userAgent);gt=gt&&+gt[1]<=8;var dt=/\n/g,Je=st.sourceCode,Ue=Je.length,ge=0,Se=st.spans,Me=Se.length,$e=0,We=st.decorations,nt=We.length,lt=0;We[nt]=Ue;var Vt,Ht;for(Ht=Vt=0;Ht<nt;)We[Ht]!==We[Ht+2]?(We[Vt++]=We[Ht++],We[Vt++]=We[Ht++]):Ht+=2;for(nt=Vt,Ht=Vt=0;Ht<nt;){for(var Ie=We[Ht],qe=We[Ht+1],Gt=Ht+2;Gt+2<=nt&&We[Gt+1]===qe;)Gt+=2;We[Vt++]=Ie,We[Vt++]=qe,Ht=Gt}nt=We.length=Vt;var Ot=st.sourceNode,zt="";Ot&&(zt=Ot.style.display,Ot.style.display="none");try{for(var $t=null;$e<Me;){var tr=Se[$e],Wt=Se[$e+2]||Ue,Fe=We[lt+2]||Ue,Gt=Math.min(Wt,Fe),fe=Se[$e+1],pe;if(fe.nodeType!==1&&(pe=Je.substring(ge,Gt))){gt&&(pe=pe.replace(dt,"\r")),fe.nodeValue=pe;var Pt=fe.ownerDocument,Ce=Pt.createElement("span");Ce.className=We[lt+1];var ft=fe.parentNode;ft.replaceChild(Ce,fe),Ce.appendChild(fe),ge<Wt&&(Se[$e+1]=fe=Pt.createTextNode(Je.substring(Gt,Wt)),ft.insertBefore(fe,Ce.nextSibling))}ge=Gt,ge>=Wt&&($e+=2),ge>=Fe&&(lt+=2)}}finally{Ot&&(Ot.style.display=zt)}}var yt={};function Dt(st,gt){for(var dt=gt.length;--dt>=0;){var Je=gt[dt];yt.hasOwnProperty(Je)?s.console&&console.warn("cannot override language handler %s",Je):yt[Je]=st}}function Qt(st,gt){return st&&yt.hasOwnProperty(st)||(st=/^\s*</.test(gt)?"default-markup":"default-code"),yt[st]}Dt(He,["default-code"]),Dt(Pe([],[[ie,/^[^<?]+/],[K,/^<!\w[^>]*(?:>|$)/],[Q,/^<\!--[\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"]),Dt(Pe([[ie,/^[\s]+/,null,` \r
|
|
|
`],[te,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[ue,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[G,/^(?!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"]),Dt(Pe([],[[te,/^[\s\S]+/]]),["uq.val"]),Dt(Re({keywords:x,hashComments:!0,cStyleComments:!0,types:M}),["c","cc","cpp","cxx","cyc","m"]),Dt(Re({keywords:"null,true,false"}),["json"]),Dt(Re({keywords:y,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:M}),["cs"]),Dt(Re({keywords:p,cStyleComments:!0}),["java"]),Dt(Re({keywords:T,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Dt(Re({keywords:R,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Dt(Re({keywords:S,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Dt(Re({keywords:L,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Dt(Re({keywords:b,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Dt(Re({keywords:_,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Dt(Pe([],[[N,/^[\s\S]+/]]),["regex"]);function Jt(st){var gt=st.langExtension;try{var dt=z(st.sourceNode,st.pre),Je=dt.sourceCode;st.sourceCode=Je,st.spans=dt.spans,st.basePos=0,Qt(gt,Je)(st),Zt(st)}catch(Ue){s.console&&console.log(Ue&&Ue.stack||Ue)}}function qt(st,gt,dt){var Je=dt||!1,Ue=gt||null,ge=document.createElement("div");ge.innerHTML="<pre>"+st+"</pre>",ge=ge.firstChild,Je&&je(ge,Je,!0);var Se={langExtension:Ue,numberLines:Je,sourceNode:ge,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Jt(Se),ge.innerHTML}function Xe(st,gt){var dt=gt||document.body,Je=dt.ownerDocument||document;function Ue(tr){return dt.getElementsByTagName(tr)}for(var ge=[Ue("pre"),Ue("code"),Ue("xmp")],Se=[],Me=0;Me<ge.length;++Me)for(var $e=0,We=ge[Me].length;$e<We;++$e)Se.push(ge[Me][$e]);ge=null;var nt=Date;nt.now||(nt={now:function(){return+new Date}});var lt=0,Vt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Ht=/\bprettyprint\b/,Ie=/\bprettyprinted\b/,qe=/pre|xmp/i,Gt=/^code$/i,Ot=/^(?:pre|code|xmp)$/i,zt={};function $t(){for(var tr=s.PR_SHOULD_USE_CONTINUATION?nt.now()+250:1/0;lt<Se.length&&nt.now()<tr;lt++){for(var Wt=Se[lt],Fe=zt,fe=Wt;fe=fe.previousSibling;){var pe=fe.nodeType,Pt=(pe===7||pe===8)&&fe.nodeValue;if(Pt?!/^\??prettify\b/.test(Pt):pe!==3||/\S/.test(fe.nodeValue))break;if(Pt){Fe={},Pt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(St,Vr,Jr){Fe[Vr]=Jr});break}}var Ce=Wt.className;if((Fe!==zt||Ht.test(Ce))&&!Ie.test(Ce)){for(var ft=!1,Ut=Wt.parentNode;Ut;Ut=Ut.parentNode){var At=Ut.tagName;if(Ot.test(At)&&Ut.className&&Ht.test(Ut.className)){ft=!0;break}}if(!ft){Wt.className+=" prettyprinted";var Oe=Fe.lang;if(!Oe){Oe=Ce.match(Vt);var wt;!Oe&&(wt=_e(Wt))&&Gt.test(wt.tagName)&&(Oe=wt.className.match(Vt)),Oe&&(Oe=Oe[1])}var be;if(qe.test(Wt.tagName))be=1;else{var Ke=Wt.currentStyle,mt=Je.defaultView,kt=Ke?Ke.whiteSpace:mt&&mt.getComputedStyle?mt.getComputedStyle(Wt,null).getPropertyValue("white-space"):0;be=kt&&kt.substring(0,3)==="pre"}var Be=Fe.linenums;(Be=Be==="true"||+Be)||(Be=Ce.match(/\blinenums\b(?::(\d+))?/),Be=Be?Be[1]&&Be[1].length?+Be[1]:!0:!1),Be&&je(Wt,Be,be);var kr={langExtension:Oe,sourceNode:Wt,numberLines:Be,pre:be,sourceCode:null,basePos:null,spans:null,decorations:null};Jt(kr)}}}lt<Se.length?s.setTimeout($t,250):typeof st=="function"&&st()}$t()}var Tt=s.PR={createSimpleLexer:Pe,registerLangHandler:Dt,sourceDecorator:Re,PR_ATTRIB_NAME:G,PR_ATTRIB_VALUE:te,PR_COMMENT:Q,PR_DECLARATION:K,PR_KEYWORD:j,PR_LITERAL:Y,PR_NOCODE:q,PR_PLAIN:ie,PR_PUNCTUATION:oe,PR_SOURCE:V,PR_STRING:N,PR_TAG:ue,PR_TYPE:X,prettyPrintOne:r?s.prettyPrintOne=qt:c=qt,prettyPrint:f=r?s.prettyPrint=Xe:f=Xe},jt=s.define;typeof jt=="function"&&jt.amd&&jt("google-code-prettify",[],function(){return Tt})})()},25769:function(d,v,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 v="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(v.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((v.indexOf(r.charAt(l-1))&Math.pow(2,-2*c+8)-1)<<c*2|v.indexOf(r.charAt(l))>>>6-c*2);return i}};d.exports=e})()},84452:function(d,v,e){(function(r,i,l){d.exports=v=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 T=[],D=0;D<256;D++)D<128?T[D]=D<<1:T[D]=D<<1^283;for(var M=0,N=0,D=0;D<256;D++){var j=N^N<<1^N<<2^N<<3^N<<4;j=j>>>8^j&255^99,s[M]=j,h[j]=M;var Q=T[M],X=T[Q],Y=T[X],oe=T[j]*257^j*16843008;u[M]=oe<<24|oe>>>8,a[M]=oe<<16|oe>>>16,x[M]=oe<<8|oe>>>24,p[M]=oe;var oe=Y*16843009^X*65537^Q*257^M*16843008;y[j]=oe<<24|oe>>>8,_[j]=oe<<16|oe>>>16,b[j]=oe<<8|oe>>>24,S[j]=oe,M?(M=Q^T[T[T[Y^Q]]],N^=T[T[N]]):M=N=1}})();var R=[0,1,2,4,8,16,32,64,128,27,54],L=f.AES=c.extend({_doReset:function(){var T;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var D=this._keyPriorReset=this._key,M=D.words,N=D.sigBytes/4,j=this._nRounds=N+6,Q=(j+1)*4,X=this._keySchedule=[],Y=0;Y<Q;Y++)Y<N?X[Y]=M[Y]:(T=X[Y-1],Y%N?N>6&&Y%N==4&&(T=s[T>>>24]<<24|s[T>>>16&255]<<16|s[T>>>8&255]<<8|s[T&255]):(T=T<<8|T>>>24,T=s[T>>>24]<<24|s[T>>>16&255]<<16|s[T>>>8&255]<<8|s[T&255],T^=R[Y/N|0]<<24),X[Y]=X[Y-N]^T);for(var oe=this._invKeySchedule=[],ie=0;ie<Q;ie++){var Y=Q-ie;if(ie%4)var T=X[Y];else var T=X[Y-4];ie<4||Y<=4?oe[ie]=T:oe[ie]=y[s[T>>>24]]^_[s[T>>>16&255]]^b[s[T>>>8&255]]^S[s[T&255]]}}},encryptBlock:function(T,D){this._doCryptBlock(T,D,this._keySchedule,u,a,x,p,s)},decryptBlock:function(T,D){var M=T[D+1];T[D+1]=T[D+3],T[D+3]=M,this._doCryptBlock(T,D,this._invKeySchedule,y,_,b,S,h);var M=T[D+1];T[D+1]=T[D+3],T[D+3]=M},_doCryptBlock:function(T,D,M,N,j,Q,X,Y){for(var oe=this._nRounds,ie=T[D]^M[0],ue=T[D+1]^M[1],K=T[D+2]^M[2],V=T[D+3]^M[3],G=4,te=1;te<oe;te++){var q=N[ie>>>24]^j[ue>>>16&255]^Q[K>>>8&255]^X[V&255]^M[G++],J=N[ue>>>24]^j[K>>>16&255]^Q[V>>>8&255]^X[ie&255]^M[G++],le=N[K>>>24]^j[V>>>16&255]^Q[ie>>>8&255]^X[ue&255]^M[G++],z=N[V>>>24]^j[ie>>>16&255]^Q[ue>>>8&255]^X[K&255]^M[G++];ie=q,ue=J,K=le,V=z}var q=(Y[ie>>>24]<<24|Y[ue>>>16&255]<<16|Y[K>>>8&255]<<8|Y[V&255])^M[G++],J=(Y[ue>>>24]<<24|Y[K>>>16&255]<<16|Y[V>>>8&255]<<8|Y[ie&255])^M[G++],le=(Y[K>>>24]<<24|Y[V>>>16&255]<<16|Y[ie>>>8&255]<<8|Y[ue&255])^M[G++],z=(Y[V>>>24]<<24|Y[ie>>>16&255]<<16|Y[ue>>>8&255]<<8|Y[K&255])^M[G++];T[D]=q,T[D+1]=J,T[D+2]=le,T[D+3]=z},keySize:256/32});i.AES=c._createHelper(L)}(),r.AES})},93617:function(d,v,e){(function(r,i,l){d.exports=v=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(ue,K){return this.create(this._ENC_XFORM_MODE,ue,K)},createDecryptor:function(ue,K){return this.create(this._DEC_XFORM_MODE,ue,K)},init:function(ue,K,V){this.cfg=this.cfg.extend(V),this._xformMode=ue,this._key=K,this.reset()},reset:function(){h.reset.call(this),this._doReset()},process:function(ue){return this._append(ue),this._process()},finalize:function(ue){ue&&this._append(ue);var K=this._doFinalize();return K},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function ue(K){return typeof K=="string"?ie:X}return function(K){return{encrypt:function(V,G,te){return ue(G).encrypt(K,V,G,te)},decrypt:function(V,G,te){return ue(G).decrypt(K,V,G,te)}}}}()}),b=c.StreamCipher=_.extend({_doFinalize:function(){var ue=this._process(!0);return ue},blockSize:1}),S=l.mode={},R=c.BlockCipherMode=f.extend({createEncryptor:function(ue,K){return this.Encryptor.create(ue,K)},createDecryptor:function(ue,K){return this.Decryptor.create(ue,K)},init:function(ue,K){this._cipher=ue,this._iv=K}}),L=S.CBC=function(){var ue=R.extend();ue.Encryptor=ue.extend({processBlock:function(V,G){var te=this._cipher,q=te.blockSize;K.call(this,V,G,q),te.encryptBlock(V,G),this._prevBlock=V.slice(G,G+q)}}),ue.Decryptor=ue.extend({processBlock:function(V,G){var te=this._cipher,q=te.blockSize,J=V.slice(G,G+q);te.decryptBlock(V,G),K.call(this,V,G,q),this._prevBlock=J}});function K(V,G,te){var q,J=this._iv;J?(q=J,this._iv=i):q=this._prevBlock;for(var le=0;le<te;le++)V[G+le]^=q[le]}return ue}(),T=l.pad={},D=T.Pkcs7={pad:function(ue,K){for(var V=K*4,G=V-ue.sigBytes%V,te=G<<24|G<<16|G<<8|G,q=[],J=0;J<G;J+=4)q.push(te);var le=s.create(q,G);ue.concat(le)},unpad:function(ue){var K=ue.words[ue.sigBytes-1>>>2]&255;ue.sigBytes-=K}},M=c.BlockCipher=_.extend({cfg:_.cfg.extend({mode:L,padding:D}),reset:function(){var ue;_.reset.call(this);var K=this.cfg,V=K.iv,G=K.mode;this._xformMode==this._ENC_XFORM_MODE?ue=G.createEncryptor:(ue=G.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==ue?this._mode.init(this,V&&V.words):(this._mode=ue.call(G,this,V&&V.words),this._mode.__creator=ue)},_doProcessBlock:function(ue,K){this._mode.processBlock(ue,K)},_doFinalize:function(){var ue,K=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(K.pad(this._data,this.blockSize),ue=this._process(!0)):(ue=this._process(!0),K.unpad(ue)),ue},blockSize:128/32}),N=c.CipherParams=f.extend({init:function(ue){this.mixIn(ue)},toString:function(ue){return(ue||this.formatter).stringify(this)}}),j=l.format={},Q=j.OpenSSL={stringify:function(ue){var K,V=ue.ciphertext,G=ue.salt;return G?K=s.create([1398893684,1701076831]).concat(G).concat(V):K=V,K.toString(x)},parse:function(ue){var K,V=x.parse(ue),G=V.words;return G[0]==1398893684&&G[1]==1701076831&&(K=s.create(G.slice(2,4)),G.splice(0,4),V.sigBytes-=16),N.create({ciphertext:V,salt:K})}},X=c.SerializableCipher=f.extend({cfg:f.extend({format:Q}),encrypt:function(ue,K,V,G){G=this.cfg.extend(G);var te=ue.createEncryptor(V,G),q=te.finalize(K),J=te.cfg;return N.create({ciphertext:q,key:V,iv:J.iv,algorithm:ue,mode:J.mode,padding:J.padding,blockSize:ue.blockSize,formatter:G.format})},decrypt:function(ue,K,V,G){G=this.cfg.extend(G),K=this._parse(K,G.format);var te=ue.createDecryptor(V,G).finalize(K.ciphertext);return te},_parse:function(ue,K){return typeof ue=="string"?K.parse(ue,this):ue}}),Y=l.kdf={},oe=Y.OpenSSL={execute:function(ue,K,V,G){G||(G=s.random(64/8));var te=y.create({keySize:K+V}).compute(ue,G),q=s.create(te.words.slice(K),V*4);return te.sigBytes=K*4,N.create({key:te,iv:q,salt:G})}},ie=c.PasswordBasedCipher=X.extend({cfg:X.cfg.extend({kdf:oe}),encrypt:function(ue,K,V,G){G=this.cfg.extend(G);var te=G.kdf.execute(V,ue.keySize,ue.ivSize);G.iv=te.iv;var q=X.encrypt.call(this,ue,K,te.key,G);return q.mixIn(te),q},decrypt:function(ue,K,V,G){G=this.cfg.extend(G),K=this._parse(K,G.format);var te=G.kdf.execute(V,ue.keySize,ue.ivSize,K.salt);G.iv=te.iv;var q=X.decrypt.call(this,ue,K,te.key,G);return q}})}()})},52952:function(d,v,e){(function(r,i){d.exports=v=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(T){}var f=function(){if(c){if(typeof c.getRandomValues=="function")try{return c.getRandomValues(new Uint32Array(1))[0]}catch(T){}if(typeof c.randomBytes=="function")try{return c.randomBytes(4).readInt32LE()}catch(T){}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function T(){}return function(D){var M;return T.prototype=D,M=new T,T.prototype=null,M}}(),h={},u=h.lib={},a=u.Base=function(){return{extend:function(T){var D=s(this);return T&&D.mixIn(T),(!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 T=this.extend();return T.init.apply(T,arguments),T},init:function(){},mixIn:function(T){for(var D in T)T.hasOwnProperty(D)&&(this[D]=T[D]);T.hasOwnProperty("toString")&&(this.toString=T.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=u.WordArray=a.extend({init:function(T,D){T=this.words=T||[],D!=l?this.sigBytes=D:this.sigBytes=T.length*4},toString:function(T){return(T||y).stringify(this)},concat:function(T){var D=this.words,M=T.words,N=this.sigBytes,j=T.sigBytes;if(this.clamp(),N%4)for(var Q=0;Q<j;Q++){var X=M[Q>>>2]>>>24-Q%4*8&255;D[N+Q>>>2]|=X<<24-(N+Q)%4*8}else for(var Y=0;Y<j;Y+=4)D[N+Y>>>2]=M[Y>>>2];return this.sigBytes+=j,this},clamp:function(){var T=this.words,D=this.sigBytes;T[D>>>2]&=4294967295<<32-D%4*8,T.length=i.ceil(D/4)},clone:function(){var T=a.clone.call(this);return T.words=this.words.slice(0),T},random:function(T){for(var D=[],M=0;M<T;M+=4)D.push(f());return new x.init(D,T)}}),p=h.enc={},y=p.Hex={stringify:function(T){for(var D=T.words,M=T.sigBytes,N=[],j=0;j<M;j++){var Q=D[j>>>2]>>>24-j%4*8&255;N.push((Q>>>4).toString(16)),N.push((Q&15).toString(16))}return N.join("")},parse:function(T){for(var D=T.length,M=[],N=0;N<D;N+=2)M[N>>>3]|=parseInt(T.substr(N,2),16)<<24-N%8*4;return new x.init(M,D/2)}},_=p.Latin1={stringify:function(T){for(var D=T.words,M=T.sigBytes,N=[],j=0;j<M;j++){var Q=D[j>>>2]>>>24-j%4*8&255;N.push(String.fromCharCode(Q))}return N.join("")},parse:function(T){for(var D=T.length,M=[],N=0;N<D;N++)M[N>>>2]|=(T.charCodeAt(N)&255)<<24-N%4*8;return new x.init(M,D)}},b=p.Utf8={stringify:function(T){try{return decodeURIComponent(escape(_.stringify(T)))}catch(D){throw new Error("Malformed UTF-8 data")}},parse:function(T){return _.parse(unescape(encodeURIComponent(T)))}},S=u.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new x.init,this._nDataBytes=0},_append:function(T){typeof T=="string"&&(T=b.parse(T)),this._data.concat(T),this._nDataBytes+=T.sigBytes},_process:function(T){var D,M=this._data,N=M.words,j=M.sigBytes,Q=this.blockSize,X=Q*4,Y=j/X;T?Y=i.ceil(Y):Y=i.max((Y|0)-this._minBufferSize,0);var oe=Y*Q,ie=i.min(oe*4,j);if(oe){for(var ue=0;ue<oe;ue+=Q)this._doProcessBlock(N,ue);D=N.splice(0,oe),M.sigBytes-=ie}return new x.init(D,ie)},clone:function(){var T=a.clone.call(this);return T._data=this._data.clone(),T},_minBufferSize:0}),R=u.Hasher=S.extend({cfg:a.extend(),init:function(T){this.cfg=this.cfg.extend(T),this.reset()},reset:function(){S.reset.call(this),this._doReset()},update:function(T){return this._append(T),this._process(),this},finalize:function(T){T&&this._append(T);var D=this._doFinalize();return D},blockSize:512/32,_createHelper:function(T){return function(D,M){return new T.init(M).finalize(D)}},_createHmacHelper:function(T){return function(D,M){return new L.HMAC.init(T,M).finalize(D)}}}),L=h.algo={};return h}(Math);return r})},35909:function(d,v,e){(function(r,i){d.exports=v=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,T=0;T<4&&_+T*.75<x;T++)y.push(p.charAt(L>>>6*(3-T)&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,v,e){(function(r,i){d.exports=v=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,T=S<<16|R<<8|L,D=0;D<4&&b+D*.75<p;D++)_.push(y.charAt(T>>>6*(3-D)&63));var M=y.charAt(64);if(M)for(;_.length%4;)_.push(M);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,v,e){(function(r,i){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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 T=1;T<L;T++)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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i){d.exports=v=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,v,e){(function(r,i){d.exports=v=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,T=b[L];b[L]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}var D=this._hash.words,M=b[S+0],N=b[S+1],j=b[S+2],Q=b[S+3],X=b[S+4],Y=b[S+5],oe=b[S+6],ie=b[S+7],ue=b[S+8],K=b[S+9],V=b[S+10],G=b[S+11],te=b[S+12],q=b[S+13],J=b[S+14],le=b[S+15],z=D[0],F=D[1],se=D[2],_e=D[3];z=x(z,F,se,_e,M,7,u[0]),_e=x(_e,z,F,se,N,12,u[1]),se=x(se,_e,z,F,j,17,u[2]),F=x(F,se,_e,z,Q,22,u[3]),z=x(z,F,se,_e,X,7,u[4]),_e=x(_e,z,F,se,Y,12,u[5]),se=x(se,_e,z,F,oe,17,u[6]),F=x(F,se,_e,z,ie,22,u[7]),z=x(z,F,se,_e,ue,7,u[8]),_e=x(_e,z,F,se,K,12,u[9]),se=x(se,_e,z,F,V,17,u[10]),F=x(F,se,_e,z,G,22,u[11]),z=x(z,F,se,_e,te,7,u[12]),_e=x(_e,z,F,se,q,12,u[13]),se=x(se,_e,z,F,J,17,u[14]),F=x(F,se,_e,z,le,22,u[15]),z=p(z,F,se,_e,N,5,u[16]),_e=p(_e,z,F,se,oe,9,u[17]),se=p(se,_e,z,F,G,14,u[18]),F=p(F,se,_e,z,M,20,u[19]),z=p(z,F,se,_e,Y,5,u[20]),_e=p(_e,z,F,se,V,9,u[21]),se=p(se,_e,z,F,le,14,u[22]),F=p(F,se,_e,z,X,20,u[23]),z=p(z,F,se,_e,K,5,u[24]),_e=p(_e,z,F,se,J,9,u[25]),se=p(se,_e,z,F,Q,14,u[26]),F=p(F,se,_e,z,ue,20,u[27]),z=p(z,F,se,_e,q,5,u[28]),_e=p(_e,z,F,se,j,9,u[29]),se=p(se,_e,z,F,ie,14,u[30]),F=p(F,se,_e,z,te,20,u[31]),z=y(z,F,se,_e,Y,4,u[32]),_e=y(_e,z,F,se,ue,11,u[33]),se=y(se,_e,z,F,G,16,u[34]),F=y(F,se,_e,z,J,23,u[35]),z=y(z,F,se,_e,N,4,u[36]),_e=y(_e,z,F,se,X,11,u[37]),se=y(se,_e,z,F,ie,16,u[38]),F=y(F,se,_e,z,V,23,u[39]),z=y(z,F,se,_e,q,4,u[40]),_e=y(_e,z,F,se,M,11,u[41]),se=y(se,_e,z,F,Q,16,u[42]),F=y(F,se,_e,z,oe,23,u[43]),z=y(z,F,se,_e,K,4,u[44]),_e=y(_e,z,F,se,te,11,u[45]),se=y(se,_e,z,F,le,16,u[46]),F=y(F,se,_e,z,j,23,u[47]),z=_(z,F,se,_e,M,6,u[48]),_e=_(_e,z,F,se,ie,10,u[49]),se=_(se,_e,z,F,J,15,u[50]),F=_(F,se,_e,z,Y,21,u[51]),z=_(z,F,se,_e,te,6,u[52]),_e=_(_e,z,F,se,Q,10,u[53]),se=_(se,_e,z,F,V,15,u[54]),F=_(F,se,_e,z,N,21,u[55]),z=_(z,F,se,_e,ue,6,u[56]),_e=_(_e,z,F,se,le,10,u[57]),se=_(se,_e,z,F,oe,15,u[58]),F=_(F,se,_e,z,q,21,u[59]),z=_(z,F,se,_e,X,6,u[60]),_e=_(_e,z,F,se,G,10,u[61]),se=_(se,_e,z,F,j,15,u[62]),F=_(F,se,_e,z,K,21,u[63]),D[0]=D[0]+z|0,D[1]=D[1]+F|0,D[2]=D[2]+se|0,D[3]=D[3]+_e|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 T=i.floor(R/4294967296),D=R;S[(L+64>>>9<<4)+15]=(T<<8|T>>>24)&16711935|(T<<24|T>>>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 M=this._hash,N=M.words,j=0;j<4;j++){var Q=N[j];N[j]=(Q<<8|Q>>>24)&16711935|(Q<<24|Q>>>8)&4278255360}return M},clone:function(){var b=s.clone.call(this);return b._hash=this._hash.clone(),b}});function x(b,S,R,L,T,D,M){var N=b+(S&R|~S&L)+T+M;return(N<<D|N>>>32-D)+S}function p(b,S,R,L,T,D,M){var N=b+(S&L|R&~L)+T+M;return(N<<D|N>>>32-D)+S}function y(b,S,R,L,T,D,M){var N=b+(S^R^L)+T+M;return(N<<D|N>>>32-D)+S}function _(b,S,R,L,T,D,M){var N=b+(R^(S|~L))+T+M;return(N<<D|N>>>32-D)+S}l.MD5=s._createHelper(a),l.HmacMD5=s._createHmacHelper(a)}(Math),r.MD5})},2882:function(d,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})},10265:function(d,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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,T=y.keySize,D=y.iterations;R.length<T;){var M=_.update(p).finalize(S);_.reset();for(var N=M.words,j=N.length,Q=M,X=1;X<D;X++){Q=_.finalize(Q),_.reset();for(var Y=Q.words,oe=0;oe<j;oe++)N[oe]^=Y[oe]}b.concat(M),L[0]++}return b.sigBytes=T*4,b}});i.PBKDF2=function(x,p,y){return a.create(y).compute(x,p)}}(),r.PBKDF2})},35308:function(d,v,e){(function(r,i,l){d.exports=v=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],T=R[1],D=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,M=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,N=D>>>16|M&4294901760,j=M<<16|D&65535;b[0]^=D,b[1]^=N,b[2]^=M,b[3]^=j,b[4]^=D,b[5]^=N,b[6]^=M,b[7]^=j;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,T=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=L^T}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,v,e){(function(r,i,l){d.exports=v=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],T=R[1],D=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,M=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,N=D>>>16|M&4294901760,j=M<<16|D&65535;S[0]^=D,S[1]^=N,S[2]^=M,S[3]^=j,S[4]^=D,S[5]^=N,S[6]^=M,S[7]^=j;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,T=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=L^T}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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i){d.exports=v=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(N,j){for(var Q=0;Q<16;Q++){var X=j+Q,Y=N[X];N[X]=(Y<<8|Y>>>24)&16711935|(Y<<24|Y>>>8)&4278255360}var oe=this._hash.words,ie=y.words,ue=_.words,K=u.words,V=a.words,G=x.words,te=p.words,q,J,le,z,F,se,_e,Pe,Re,He;se=q=oe[0],_e=J=oe[1],Pe=le=oe[2],Re=z=oe[3],He=F=oe[4];for(var je,Q=0;Q<80;Q+=1)je=q+N[j+K[Q]]|0,Q<16?je+=S(J,le,z)+ie[0]:Q<32?je+=R(J,le,z)+ie[1]:Q<48?je+=L(J,le,z)+ie[2]:Q<64?je+=T(J,le,z)+ie[3]:je+=D(J,le,z)+ie[4],je=je|0,je=M(je,G[Q]),je=je+F|0,q=F,F=z,z=M(le,10),le=J,J=je,je=se+N[j+V[Q]]|0,Q<16?je+=D(_e,Pe,Re)+ue[0]:Q<32?je+=T(_e,Pe,Re)+ue[1]:Q<48?je+=L(_e,Pe,Re)+ue[2]:Q<64?je+=R(_e,Pe,Re)+ue[3]:je+=S(_e,Pe,Re)+ue[4],je=je|0,je=M(je,te[Q]),je=je+He|0,se=He,He=Re,Re=M(Pe,10),Pe=_e,_e=je;je=oe[1]+le+Re|0,oe[1]=oe[2]+z+He|0,oe[2]=oe[3]+F+se|0,oe[3]=oe[4]+q+_e|0,oe[4]=oe[0]+J+Pe|0,oe[0]=je},_doFinalize:function(){var N=this._data,j=N.words,Q=this._nDataBytes*8,X=N.sigBytes*8;j[X>>>5]|=128<<24-X%32,j[(X+64>>>9<<4)+14]=(Q<<8|Q>>>24)&16711935|(Q<<24|Q>>>8)&4278255360,N.sigBytes=(j.length+1)*4,this._process();for(var Y=this._hash,oe=Y.words,ie=0;ie<5;ie++){var ue=oe[ie];oe[ie]=(ue<<8|ue>>>24)&16711935|(ue<<24|ue>>>8)&4278255360}return Y},clone:function(){var N=s.clone.call(this);return N._hash=this._hash.clone(),N}});function S(N,j,Q){return N^j^Q}function R(N,j,Q){return N&j|~N&Q}function L(N,j,Q){return(N|~j)^Q}function T(N,j,Q){return N&Q|j&~Q}function D(N,j,Q){return N^(j|~Q)}function M(N,j){return N<<j|N>>>32-j}l.RIPEMD160=s._createHelper(b),l.HmacRIPEMD160=s._createHmacHelper(b)}(Math),r.RIPEMD160})},49479:function(d,v,e){(function(r,i){d.exports=v=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 T=h[L-3]^h[L-8]^h[L-14]^h[L-16];h[L]=T<<1|T>>>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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i){d.exports=v=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),T=2;T<=L;T++)if(!(R%T))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],T=b[3],D=b[4],M=b[5],N=b[6],j=b[7],Q=0;Q<64;Q++){if(Q<16)x[Q]=y[_+Q]|0;else{var X=x[Q-15],Y=(X<<25|X>>>7)^(X<<14|X>>>18)^X>>>3,oe=x[Q-2],ie=(oe<<15|oe>>>17)^(oe<<13|oe>>>19)^oe>>>10;x[Q]=Y+x[Q-7]+ie+x[Q-16]}var ue=D&M^~D&N,K=S&R^S&L^R&L,V=(S<<30|S>>>2)^(S<<19|S>>>13)^(S<<10|S>>>22),G=(D<<26|D>>>6)^(D<<21|D>>>11)^(D<<7|D>>>25),te=j+G+ue+a[Q]+x[Q],q=V+K;j=N,N=M,M=D,D=T+te|0,T=L,L=R,R=S,S=te+q|0}b[0]=b[0]+S|0,b[1]=b[1]+R|0,b[2]=b[2]+L|0,b[3]=b[3]+T|0,b[4]=b[4]+D|0,b[5]=b[5]+M|0,b[6]=b[6]+N|0,b[7]=b[7]+j|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,v,e){(function(r,i,l){d.exports=v=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 T=R%5,D=(2*S+3*R)%5;S=T,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 M=1,N=0;N<24;N++){for(var j=0,Q=0,X=0;X<7;X++){if(M&1){var Y=(1<<X)-1;Y<32?Q^=1<<Y:j^=1<<Y-32}M&128?M=M<<1^113:M<<=1}y[N]=u.create(j,Q)}})();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,T=this.blockSize/2,D=0;D<T;D++){var M=S[R+2*D],N=S[R+2*D+1];M=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,N=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360;var j=L[D];j.high^=N,j.low^=M}for(var Q=0;Q<24;Q++){for(var X=0;X<5;X++){for(var Y=0,oe=0,ie=0;ie<5;ie++){var j=L[X+5*ie];Y^=j.high,oe^=j.low}var ue=_[X];ue.high=Y,ue.low=oe}for(var X=0;X<5;X++)for(var K=_[(X+4)%5],V=_[(X+1)%5],G=V.high,te=V.low,Y=K.high^(G<<1|te>>>31),oe=K.low^(te<<1|G>>>31),ie=0;ie<5;ie++){var j=L[X+5*ie];j.high^=Y,j.low^=oe}for(var q=1;q<25;q++){var Y,oe,j=L[q],J=j.high,le=j.low,z=x[q];z<32?(Y=J<<z|le>>>32-z,oe=le<<z|J>>>32-z):(Y=le<<z-32|J>>>64-z,oe=J<<z-32|le>>>64-z);var F=_[p[q]];F.high=Y,F.low=oe}var se=_[0],_e=L[0];se.high=_e.high,se.low=_e.low;for(var X=0;X<5;X++)for(var ie=0;ie<5;ie++){var q=X+5*ie,j=L[q],Pe=_[q],Re=_[(X+1)%5+5*ie],He=_[(X+2)%5+5*ie];j.high=Pe.high^~Re.high&He.high,j.low=Pe.low^~Re.low&He.low}var j=L[0],je=y[Q];j.high^=je.high,j.low^=je.low}},_doFinalize:function(){var S=this._data,R=S.words,L=this._nDataBytes*8,T=S.sigBytes*8,D=this.blockSize*32;R[T>>>5]|=1<<24-T%32,R[(i.ceil((T+1)/D)*D>>>5)-1]|=128,S.sigBytes=R.length*4,this._process();for(var M=this._state,N=this.cfg.outputLength/8,j=N/8,Q=[],X=0;X<j;X++){var Y=M[X],oe=Y.high,ie=Y.low;oe=(oe<<8|oe>>>24)&16711935|(oe<<24|oe>>>8)&4278255360,ie=(ie<<8|ie>>>24)&16711935|(ie<<24|ie>>>8)&4278255360,Q.push(ie),Q.push(oe)}return new f.init(Q,N)},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,v,e){(function(r,i,l){d.exports=v=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,v,e){(function(r,i,l){d.exports=v=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],T=S[2],D=S[3],M=S[4],N=S[5],j=S[6],Q=S[7],X=R.high,Y=R.low,oe=L.high,ie=L.low,ue=T.high,K=T.low,V=D.high,G=D.low,te=M.high,q=M.low,J=N.high,le=N.low,z=j.high,F=j.low,se=Q.high,_e=Q.low,Pe=X,Re=Y,He=oe,je=ie,Zt=ue,yt=K,Dt=V,Qt=G,Jt=te,qt=q,Xe=J,Tt=le,jt=z,st=F,gt=se,dt=_e,Je=0;Je<80;Je++){var Ue,ge,Se=p[Je];if(Je<16)ge=Se.high=_[b+Je*2]|0,Ue=Se.low=_[b+Je*2+1]|0;else{var Me=p[Je-15],$e=Me.high,We=Me.low,nt=($e>>>1|We<<31)^($e>>>8|We<<24)^$e>>>7,lt=(We>>>1|$e<<31)^(We>>>8|$e<<24)^(We>>>7|$e<<25),Vt=p[Je-2],Ht=Vt.high,Ie=Vt.low,qe=(Ht>>>19|Ie<<13)^(Ht<<3|Ie>>>29)^Ht>>>6,Gt=(Ie>>>19|Ht<<13)^(Ie<<3|Ht>>>29)^(Ie>>>6|Ht<<26),Ot=p[Je-7],zt=Ot.high,$t=Ot.low,tr=p[Je-16],Wt=tr.high,Fe=tr.low;Ue=lt+$t,ge=nt+zt+(Ue>>>0<lt>>>0?1:0),Ue=Ue+Gt,ge=ge+qe+(Ue>>>0<Gt>>>0?1:0),Ue=Ue+Fe,ge=ge+Wt+(Ue>>>0<Fe>>>0?1:0),Se.high=ge,Se.low=Ue}var fe=Jt&Xe^~Jt&jt,pe=qt&Tt^~qt&st,Pt=Pe&He^Pe&Zt^He&Zt,Ce=Re&je^Re&yt^je&yt,ft=(Pe>>>28|Re<<4)^(Pe<<30|Re>>>2)^(Pe<<25|Re>>>7),Ut=(Re>>>28|Pe<<4)^(Re<<30|Pe>>>2)^(Re<<25|Pe>>>7),At=(Jt>>>14|qt<<18)^(Jt>>>18|qt<<14)^(Jt<<23|qt>>>9),Oe=(qt>>>14|Jt<<18)^(qt>>>18|Jt<<14)^(qt<<23|Jt>>>9),wt=x[Je],be=wt.high,Ke=wt.low,mt=dt+Oe,kt=gt+At+(mt>>>0<dt>>>0?1:0),mt=mt+pe,kt=kt+fe+(mt>>>0<pe>>>0?1:0),mt=mt+Ke,kt=kt+be+(mt>>>0<Ke>>>0?1:0),mt=mt+Ue,kt=kt+ge+(mt>>>0<Ue>>>0?1:0),Be=Ut+Ce,kr=ft+Pt+(Be>>>0<Ut>>>0?1:0);gt=jt,dt=st,jt=Xe,st=Tt,Xe=Jt,Tt=qt,qt=Qt+mt|0,Jt=Dt+kt+(qt>>>0<Qt>>>0?1:0)|0,Dt=Zt,Qt=yt,Zt=He,yt=je,He=Pe,je=Re,Re=mt+Be|0,Pe=kt+kr+(Re>>>0<mt>>>0?1:0)|0}Y=R.low=Y+Re,R.high=X+Pe+(Y>>>0<Re>>>0?1:0),ie=L.low=ie+je,L.high=oe+He+(ie>>>0<je>>>0?1:0),K=T.low=K+yt,T.high=ue+Zt+(K>>>0<yt>>>0?1:0),G=D.low=G+Qt,D.high=V+Dt+(G>>>0<Qt>>>0?1:0),q=M.low=q+qt,M.high=te+Jt+(q>>>0<qt>>>0?1:0),le=N.low=le+Tt,N.high=J+Xe+(le>>>0<Tt>>>0?1:0),F=j.low=F+st,j.high=z+jt+(F>>>0<st>>>0?1:0),_e=Q.low=_e+dt,Q.high=se+gt+(_e>>>0<dt>>>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,v,e){(function(r,i,l){d.exports=v=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,T=[],D=0;D<56;D++){var M=h[D]-1;T[D]=L[M>>>5]>>>31-M%32&1}for(var N=this._subKeys=[],j=0;j<16;j++){for(var Q=N[j]=[],X=a[j],D=0;D<24;D++)Q[D/6|0]|=T[(u[D]-1+X)%28]<<31-D%6,Q[4+(D/6|0)]|=T[28+(u[D+24]-1+X)%28]<<31-D%6;Q[0]=Q[0]<<1|Q[0]>>>31;for(var D=1;D<7;D++)Q[D]=Q[D]>>>(D-1)*4+3;Q[7]=Q[7]<<5|Q[7]>>>27}for(var Y=this._invSubKeys=[],D=0;D<16;D++)Y[D]=N[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,T){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 M=T[D],N=this._lBlock,j=this._rBlock,Q=0,X=0;X<8;X++)Q|=x[X][((j^M[X])&p[X])>>>0];this._lBlock=j,this._rBlock=N^Q}var Y=this._lBlock;this._lBlock=this._rBlock,this._rBlock=Y,_.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 T=(this._lBlock>>>R^this._rBlock)&L;this._rBlock^=T,this._lBlock^=T<<R}function b(R,L){var T=(this._rBlock>>>R^this._lBlock)&L;this._lBlock^=T,this._rBlock^=T<<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 T=L.slice(0,2),D=L.length<4?L.slice(0,2):L.slice(2,4),M=L.length<6?L.slice(0,2):L.slice(4,6);this._des1=y.createEncryptor(c.create(T)),this._des2=y.createEncryptor(c.create(D)),this._des3=y.createEncryptor(c.create(M))},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,v,e){(function(r,i){d.exports=v=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,v,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(v,e){d.exports=e()})(this,function(){"use strict";var v=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(ie){var ue=["th","st","nd","rd"],K=ie%100;return"["+ie+(ue[(K-20)%10]||ue[K]||ue[0])+"]"}},R=function(ie,ue,K){var V=String(ie);return!V||V.length>=ue?ie:""+Array(ue+1-V.length).join(K)+ie},L={s:R,z:function(ie){var ue=-ie.utcOffset(),K=Math.abs(ue),V=Math.floor(K/60),G=K%60;return(ue<=0?"+":"-")+R(V,2,"0")+":"+R(G,2,"0")},m:function ie(ue,K){if(ue.date()<K.date())return-ie(K,ue);var V=12*(K.year()-ue.year())+(K.month()-ue.month()),G=ue.clone().add(V,u),te=K-G<0,q=ue.clone().add(V+(te?-1:1),u);return+(-(V+(K-G)/(te?G-q:q-G))||0)},a:function(ie){return ie<0?Math.ceil(ie)||0:Math.floor(ie)},p:function(ie){return{M:u,y:x,w:h,d:s,D:p,h:f,m:c,s:l,ms:i,Q:a}[ie]||String(ie||"").toLowerCase().replace(/s$/,"")},u:function(ie){return ie===void 0}},T="en",D={};D[T]=S;var M="$isDayjsObject",N=function(ie){return ie instanceof Y||!(!ie||!ie[M])},j=function ie(ue,K,V){var G;if(!ue)return T;if(typeof ue=="string"){var te=ue.toLowerCase();D[te]&&(G=te),K&&(D[te]=K,G=te);var q=ue.split("-");if(!G&&q.length>1)return ie(q[0])}else{var J=ue.name;D[J]=ue,G=J}return!V&&G&&(T=G),G||!V&&T},Q=function(ie,ue){if(N(ie))return ie.clone();var K=typeof ue=="object"?ue:{};return K.date=ie,K.args=arguments,new Y(K)},X=L;X.l=j,X.i=N,X.w=function(ie,ue){return Q(ie,{locale:ue.$L,utc:ue.$u,x:ue.$x,$offset:ue.$offset})};var Y=function(){function ie(K){this.$L=j(K.locale,null,!0),this.parse(K),this.$x=this.$x||K.x||{},this[M]=!0}var ue=ie.prototype;return ue.parse=function(K){this.$d=function(V){var G=V.date,te=V.utc;if(G===null)return new Date(NaN);if(X.u(G))return new Date;if(G instanceof Date)return new Date(G);if(typeof G=="string"&&!/Z$/i.test(G)){var q=G.match(_);if(q){var J=q[2]-1||0,le=(q[7]||"0").substring(0,3);return te?new Date(Date.UTC(q[1],J,q[3]||1,q[4]||0,q[5]||0,q[6]||0,le)):new Date(q[1],J,q[3]||1,q[4]||0,q[5]||0,q[6]||0,le)}}return new Date(G)}(K),this.init()},ue.init=function(){var K=this.$d;this.$y=K.getFullYear(),this.$M=K.getMonth(),this.$D=K.getDate(),this.$W=K.getDay(),this.$H=K.getHours(),this.$m=K.getMinutes(),this.$s=K.getSeconds(),this.$ms=K.getMilliseconds()},ue.$utils=function(){return X},ue.isValid=function(){return this.$d.toString()!==y},ue.isSame=function(K,V){var G=Q(K);return this.startOf(V)<=G&&G<=this.endOf(V)},ue.isAfter=function(K,V){return Q(K)<this.startOf(V)},ue.isBefore=function(K,V){return this.endOf(V)<Q(K)},ue.$g=function(K,V,G){return X.u(K)?this[V]:this.set(G,K)},ue.unix=function(){return Math.floor(this.valueOf()/1e3)},ue.valueOf=function(){return this.$d.getTime()},ue.startOf=function(K,V){var G=this,te=!!X.u(V)||V,q=X.p(K),J=function(He,je){var Zt=X.w(G.$u?Date.UTC(G.$y,je,He):new Date(G.$y,je,He),G);return te?Zt:Zt.endOf(s)},le=function(He,je){return X.w(G.toDate()[He].apply(G.toDate("s"),(te?[0,0,0,0]:[23,59,59,999]).slice(je)),G)},z=this.$W,F=this.$M,se=this.$D,_e="set"+(this.$u?"UTC":"");switch(q){case x:return te?J(1,0):J(31,11);case u:return te?J(1,F):J(0,F+1);case h:var Pe=this.$locale().weekStart||0,Re=(z<Pe?z+7:z)-Pe;return J(te?se-Re:se+(6-Re),F);case s:case p:return le(_e+"Hours",0);case f:return le(_e+"Minutes",1);case c:return le(_e+"Seconds",2);case l:return le(_e+"Milliseconds",3);default:return this.clone()}},ue.endOf=function(K){return this.startOf(K,!1)},ue.$set=function(K,V){var G,te=X.p(K),q="set"+(this.$u?"UTC":""),J=(G={},G[s]=q+"Date",G[p]=q+"Date",G[u]=q+"Month",G[x]=q+"FullYear",G[f]=q+"Hours",G[c]=q+"Minutes",G[l]=q+"Seconds",G[i]=q+"Milliseconds",G)[te],le=te===s?this.$D+(V-this.$W):V;if(te===u||te===x){var z=this.clone().set(p,1);z.$d[J](le),z.init(),this.$d=z.set(p,Math.min(this.$D,z.daysInMonth())).$d}else J&&this.$d[J](le);return this.init(),this},ue.set=function(K,V){return this.clone().$set(K,V)},ue.get=function(K){return this[X.p(K)]()},ue.add=function(K,V){var G,te=this;K=Number(K);var q=X.p(V),J=function(F){var se=Q(te);return X.w(se.date(se.date()+Math.round(F*K)),te)};if(q===u)return this.set(u,this.$M+K);if(q===x)return this.set(x,this.$y+K);if(q===s)return J(1);if(q===h)return J(7);var le=(G={},G[c]=e,G[f]=r,G[l]=v,G)[q]||1,z=this.$d.getTime()+K*le;return X.w(z,this)},ue.subtract=function(K,V){return this.add(-1*K,V)},ue.format=function(K){var V=this,G=this.$locale();if(!this.isValid())return G.invalidDate||y;var te=K||"YYYY-MM-DDTHH:mm:ssZ",q=X.z(this),J=this.$H,le=this.$m,z=this.$M,F=G.weekdays,se=G.months,_e=G.meridiem,Pe=function(je,Zt,yt,Dt){return je&&(je[Zt]||je(V,te))||yt[Zt].slice(0,Dt)},Re=function(je){return X.s(J%12||12,je,"0")},He=_e||function(je,Zt,yt){var Dt=je<12?"AM":"PM";return yt?Dt.toLowerCase():Dt};return te.replace(b,function(je,Zt){return Zt||function(yt){switch(yt){case"YY":return String(V.$y).slice(-2);case"YYYY":return X.s(V.$y,4,"0");case"M":return z+1;case"MM":return X.s(z+1,2,"0");case"MMM":return Pe(G.monthsShort,z,se,3);case"MMMM":return Pe(se,z);case"D":return V.$D;case"DD":return X.s(V.$D,2,"0");case"d":return String(V.$W);case"dd":return Pe(G.weekdaysMin,V.$W,F,2);case"ddd":return Pe(G.weekdaysShort,V.$W,F,3);case"dddd":return F[V.$W];case"H":return String(J);case"HH":return X.s(J,2,"0");case"h":return Re(1);case"hh":return Re(2);case"a":return He(J,le,!0);case"A":return He(J,le,!1);case"m":return String(le);case"mm":return X.s(le,2,"0");case"s":return String(V.$s);case"ss":return X.s(V.$s,2,"0");case"SSS":return X.s(V.$ms,3,"0");case"Z":return q}return null}(je)||q.replace(":","")})},ue.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ue.diff=function(K,V,G){var te,q=this,J=X.p(V),le=Q(K),z=(le.utcOffset()-this.utcOffset())*e,F=this-le,se=function(){return X.m(q,le)};switch(J){case x:te=se()/12;break;case u:te=se();break;case a:te=se()/3;break;case h:te=(F-z)/6048e5;break;case s:te=(F-z)/864e5;break;case f:te=F/r;break;case c:te=F/e;break;case l:te=F/v;break;default:te=F}return G?te:X.a(te)},ue.daysInMonth=function(){return this.endOf(u).$D},ue.$locale=function(){return D[this.$L]},ue.locale=function(K,V){if(!K)return this.$L;var G=this.clone(),te=j(K,V,!0);return te&&(G.$L=te),G},ue.clone=function(){return X.w(this.$d,this)},ue.toDate=function(){return new Date(this.valueOf())},ue.toJSON=function(){return this.isValid()?this.toISOString():null},ue.toISOString=function(){return this.$d.toISOString()},ue.toString=function(){return this.$d.toUTCString()},ie}(),oe=Y.prototype;return Q.prototype=oe,[["$ms",i],["$s",l],["$m",c],["$H",f],["$W",s],["$M",u],["$y",x],["$D",p]].forEach(function(ie){oe[ie[1]]=function(ue){return this.$g(ue,ie[0],ie[1])}}),Q.extend=function(ie,ue){return ie.$i||(ie(ue,Y,Q),ie.$i=!0),Q},Q.locale=j,Q.isDayjs=N,Q.unix=function(ie){return Q(1e3*ie)},Q.en=D[T],Q.Ls=D,Q.p={},Q})},65517:function(d,v,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(v,e){d.exports=e()})(this,function(){"use strict";return function(v,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(v,e){d.exports=e()})(this,function(){"use strict";var v={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(Q,X,Y){var oe=Y&&Y.toUpperCase();return X||S[Y]||v[Y]||S[oe].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ie,ue,K){return ue||K.slice(1)})})).match(e),L=R.length,T=0;T<L;T+=1){var D=R[T],M=p[D],N=M&&M[0],j=M&&M[1];R[T]=j?{regex:N,parser:j}:D.replace(/^\[|\]$/g,"")}return function(Q){for(var X={},Y=0,oe=0;Y<L;Y+=1){var ie=R[Y];if(typeof ie=="string")oe+=ie.length;else{var ue=ie.regex,K=ie.parser,V=Q.slice(oe),G=ue.exec(V)[0];K.call(X,G),Q=Q.replace(G,"")}}return function(te){var q=te.afternoon;if(q!==void 0){var J=te.hours;q?J<12&&(te.hours+=12):J===12&&(te.hours=0),delete te.afternoon}}(X),X}}return function(_,b,S){S.p.customParseFormat=!0,_&&_.parseTwoDigitYear&&(s=_.parseTwoDigitYear);var R=b.prototype,L=R.parse;R.parse=function(T){var D=T.date,M=T.utc,N=T.args;this.$u=M;var j=N[1];if(typeof j=="string"){var Q=N[2]===!0,X=N[3]===!0,Y=Q||X,oe=N[2];X&&(oe=N[2]),f=this.$locale(),!Q&&oe&&(f=S.Ls[oe]),this.$d=function(V,G,te,q){try{if(["x","X"].indexOf(G)>-1)return new Date((G==="X"?1e3:1)*V);var J=y(G)(V),le=J.year,z=J.month,F=J.day,se=J.hours,_e=J.minutes,Pe=J.seconds,Re=J.milliseconds,He=J.zone,je=J.week,Zt=new Date,yt=F||(le||z?1:Zt.getDate()),Dt=le||Zt.getFullYear(),Qt=0;le&&!z||(Qt=z>0?z-1:Zt.getMonth());var Jt,qt=se||0,Xe=_e||0,Tt=Pe||0,jt=Re||0;return He?new Date(Date.UTC(Dt,Qt,yt,qt,Xe,Tt,jt+60*He.offset*1e3)):te?new Date(Date.UTC(Dt,Qt,yt,qt,Xe,Tt,jt)):(Jt=new Date(Dt,Qt,yt,qt,Xe,Tt,jt),je&&(Jt=q(Jt).week(je).toDate()),Jt)}catch(st){return new Date("")}}(D,j,M,S),this.init(),oe&&oe!==!0&&(this.$L=this.locale(oe).$L),Y&&D!=this.format(j)&&(this.$d=new Date("")),f={}}else if(j instanceof Array)for(var ie=j.length,ue=1;ue<=ie;ue+=1){N[1]=j[ue-1];var K=S.apply(this,N);if(K.isValid()){this.$d=K.$d,this.$L=K.$L,this.init();break}ue===ie&&(this.$d=new Date(""))}else L.call(this,T)}}})},47477:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v,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,M,N){return new L(D,N,M.$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,M){return D?_(D)?{negative:!0,format:""+S(D)+M}:{negative:!1,format:""+D+M}:{negative:!1,format:""}},L=function(){function D(N,j,Q){var X=this;if(this.$d={},this.$l=Q,N===void 0&&(this.$ms=0,this.parseFromMilliseconds()),j)return p(N*a[y(j)],this);if(typeof N=="number")return this.$ms=N,this.parseFromMilliseconds(),this;if(typeof N=="object")return Object.keys(N).forEach(function(ie){X.$d[y(ie)]=N[ie]}),this.calMilliseconds(),this;if(typeof N=="string"){var Y=N.match(u);if(Y){var oe=Y.slice(2).map(function(ie){return ie!=null?Number(ie):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 M=D.prototype;return M.calMilliseconds=function(){var N=this;this.$ms=Object.keys(this.$d).reduce(function(j,Q){return j+(N.$d[Q]||0)*a[Q]},0)},M.parseFromMilliseconds=function(){var N=this.$ms;this.$d.years=b(N/s),N%=s,this.$d.months=b(N/h),N%=h,this.$d.days=b(N/c),N%=c,this.$d.hours=b(N/l),N%=l,this.$d.minutes=b(N/i),N%=i,this.$d.seconds=b(N/r),N%=r,this.$d.milliseconds=N},M.toISOString=function(){var N=R(this.$d.years,"Y"),j=R(this.$d.months,"M"),Q=+this.$d.days||0;this.$d.weeks&&(Q+=7*this.$d.weeks);var X=R(Q,"D"),Y=R(this.$d.hours,"H"),oe=R(this.$d.minutes,"M"),ie=this.$d.seconds||0;this.$d.milliseconds&&(ie+=this.$d.milliseconds/1e3,ie=Math.round(1e3*ie)/1e3);var ue=R(ie,"S"),K=N.negative||j.negative||X.negative||Y.negative||oe.negative||ue.negative,V=Y.format||oe.format||ue.format?"T":"",G=(K?"-":"")+"P"+N.format+j.format+X.format+V+Y.format+oe.format+ue.format;return G==="P"||G==="-P"?"P0D":G},M.toJSON=function(){return this.toISOString()},M.format=function(N){var j=N||"YYYY-MM-DDTHH:mm:ss",Q={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 j.replace(f,function(X,Y){return Y||String(Q[X])})},M.as=function(N){return this.$ms/a[y(N)]},M.get=function(N){var j=this.$ms,Q=y(N);return Q==="milliseconds"?j%=1e3:j=Q==="weeks"?b(j/a[Q]):this.$d[Q],j||0},M.add=function(N,j,Q){var X;return X=j?N*a[y(j)]:x(N)?N.$ms:p(N,this).$ms,p(this.$ms+X*(Q?-1:1),this)},M.subtract=function(N,j){return this.add(N,j,!0)},M.locale=function(N){var j=this.clone();return j.$l=N,j},M.clone=function(){return p(this.$ms,this)},M.humanize=function(N){return v().add(this.$ms,"ms").locale(this.$l).fromNow(!N)},M.valueOf=function(){return this.asMilliseconds()},M.milliseconds=function(){return this.get("milliseconds")},M.asMilliseconds=function(){return this.as("milliseconds")},M.seconds=function(){return this.get("seconds")},M.asSeconds=function(){return this.as("seconds")},M.minutes=function(){return this.get("minutes")},M.asMinutes=function(){return this.as("minutes")},M.hours=function(){return this.get("hours")},M.asHours=function(){return this.as("hours")},M.days=function(){return this.get("days")},M.asDays=function(){return this.as("days")},M.weeks=function(){return this.get("weeks")},M.asWeeks=function(){return this.as("weeks")},M.months=function(){return this.get("months")},M.asMonths=function(){return this.as("months")},M.years=function(){return this.get("years")},M.asYears=function(){return this.as("years")},D}(),T=function(D,M,N){return D.add(M.years()*N,"y").add(M.months()*N,"M").add(M.days()*N,"d").add(M.hours()*N,"h").add(M.minutes()*N,"m").add(M.seconds()*N,"s").add(M.milliseconds()*N,"ms")};return function(D,M,N){v=N,e=N().$utils(),N.duration=function(X,Y){var oe=N.locale();return p(X,{$l:oe},Y)},N.isDuration=x;var j=M.prototype.add,Q=M.prototype.subtract;M.prototype.add=function(X,Y){return x(X)?T(this,X,1):j.bind(this)(X,Y)},M.prototype.subtract=function(X,Y){return x(X)?T(this,X,-1):Q.bind(this)(X,Y)}}})},58862:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e,r){r.isMoment=function(i){return r.isDayjs(i)}}})},19277:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.isSameOrAfter=function(r,i){return this.isSame(r,i)||this.isAfter(r,i)}}})},34749:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.isSameOrBefore=function(r,i){return this.isSame(r,i)||this.isBefore(r,i)}}})},58319:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,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(T){return T.slice(0,p)});if(!y)return R;var L=_.weekStart;return R.map(function(T,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(v,e){d.exports=e()})(this,function(){"use strict";var v={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=v,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]||v[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(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e,r){v=v||{};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=v.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 T=S[L];T.d&&(p=a?r(s).diff(u,T.d,!0):u.diff(s,T.d,!0));var D=(v.rounding||Math.round)(Math.abs(p));if(_=p>0,D<=T.r||!T.r){D<=1&&L>0&&(T=S[L-1]);var M=b[T.l];x&&(D=x(""+D)),y=typeof M=="string"?M.replace("%d",D):M(D,h,T.l,_);break}}if(h)return y;var N=_?b.future:b.past;return typeof N=="function"?N(y):N.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(v,e){d.exports=e()})(this,function(){"use strict";var v="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(v);if(h.isBefore(u))return 1}var a=l(this).startOf(e).date(s).startOf(v).subtract(1,"millisecond"),x=this.diff(a,v,!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(v,e){d.exports=e()})(this,function(){"use strict";return function(v,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(v,e){d.exports=e()})(this,function(){"use strict";return function(v,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 v(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){v(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:{}},_=v({},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,T=R.payload,D=T||{},M=D.namespace,N=D.actionType,j;switch(L){case i:j=r(r({},S),{},{global:!0,models:r(r({},S.models),{},v({},M,!0)),effects:r(r({},S.effects),{},v({},N,!0))});break;case l:{var Q=r(r({},S.effects),{},v({},N,!1)),X=r(r({},S.models),{},v({},M,Object.keys(Q).some(function(oe){var ie=oe.split("/")[0];return ie!==M?!1:Q[oe]}))),Y=Object.keys(X).some(function(oe){return X[oe]});j=r(r({},S),{},{global:Y,models:X,effects:Q});break}default:j=S;break}return j});function b(S,R,L,T){var D=R.put,M=L.namespace;return a.length===0&&p.length===0||a.length>0&&a.indexOf(T)!==-1||p.length>0&&p.indexOf(T)===-1?regeneratorRuntime.mark(function N(){var j=arguments;return regeneratorRuntime.wrap(function(X){for(;;)switch(X.prev=X.next){case 0:return X.next=2,D({type:i,payload:{namespace:M,actionType:T}});case 2:return X.next=4,S.apply(void 0,j);case 4:return X.next=6,D({type:l,payload:{namespace:M,actionType:T}});case 6:case"end":return X.stop()}},N)}):S}return{extraReducers:_,onEffect:b}}d.exports=f},68192:function(d){"use strict";d.exports=function(){}},63474:function(d,v,e){"use strict";d.exports=e(71111)()?Object.assign:e(47597)},71111:function(d){"use strict";d.exports=function(){var v=Object.assign,e;return typeof v!="function"?!1:(e={foo:"raz"},v(e,{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},47597:function(d,v,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,v,e){"use strict";var r=e(68192)();d.exports=function(i){return i!==r&&i!==null}},90721:function(d,v,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(v){return!1}}},34810:function(d,v,e){"use strict";var r=e(67390),i=Object.keys;d.exports=function(l){return i(r(l)?Object(l):l)}},47095:function(d,v,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(v){if(typeof v!="function")throw new TypeError(v+" is not a function");return v}},58883:function(d,v,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,v,e){"use strict";d.exports=e(65136)()?String.prototype.contains:e(12444)},65136:function(d){"use strict";var v="razdwatrzy";d.exports=function(){return typeof v.contains!="function"?!1:v.contains("dwa")===!0&&v.contains("foo")===!1}},12444:function(d){"use strict";var v=String.prototype.indexOf;d.exports=function(e){return v.call(this,e,arguments[1])>-1}},3424:function(d,v,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,T){var D;return i(T),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(T):D[L]=[D[L],T]:D[L]=T,this},p=function(L,T){var D,M;return i(T),M=this,x.call(this,L,D=function(){y.call(M,L,D),l.call(T,this,arguments)}),D.__eeOnceListener__=T,this},y=function(L,T){var D,M,N,j;if(i(T),!u.call(this,"__ee__"))return this;if(D=this.__ee__,!D[L])return this;if(M=D[L],typeof M=="object")for(j=0;N=M[j];++j)(N===T||N.__eeOnceListener__===T)&&(M.length===2?D[L]=M[j?0:1]:M.splice(j,1));else(M===T||M.__eeOnceListener__===T)&&delete D[L];return this},_=function(L){var T,D,M,N,j;if(u.call(this,"__ee__")&&(N=this.__ee__[L],!!N))if(typeof N=="object"){for(D=arguments.length,j=new Array(D-1),T=1;T<D;++T)j[T-1]=arguments[T];for(N=N.slice(),T=0;M=N[T];++T)l.call(M,this,j)}else switch(arguments.length){case 1:c.call(N,this);break;case 2:c.call(N,this,arguments[1]);break;case 3:c.call(N,this,arguments[1],arguments[2]);break;default:for(D=arguments.length,j=new Array(D-1),T=1;T<D;++T)j[T-1]=arguments[T];l.call(N,this,j)}},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=v=function(L){return L==null?f(R):h(Object(L),S)},v.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,v,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,v,e){var r=v;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,v,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}v.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,v,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,v,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),v.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(L,T){for(var D=this.h[0],M=this.h[1],N=this.h[2],j=this.h[3],Q=this.h[4],X=D,Y=M,oe=N,ie=j,ue=Q,K=0;K<80;K++){var V=c(l(s(D,a(K,M,N,j),L[y[K]+T],x(K)),b[K]),Q);D=Q,Q=j,j=l(N,10),N=M,M=V,V=c(l(s(X,a(79-K,Y,oe,ie),L[_[K]+T],p(K)),S[K]),ue),X=ue,ue=ie,ie=l(oe,10),oe=Y,Y=V}V=f(this.h[1],N,ie),this.h[1]=f(this.h[2],j,ue),this.h[2]=f(this.h[3],Q,X),this.h[3]=f(this.h[4],D,Y),this.h[4]=f(this.h[0],M,oe),this.h[0]=V},u.prototype._digest=function(L){return L==="hex"?r.toHex32(this.h,"little"):r.split32(this.h,"little")};function a(R,L,T,D){return R<=15?L^T^D:R<=31?L&T|~L&D:R<=47?(L|~T)^D:R<=63?L&D|T&~D:L^(T|~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,v,e){"use strict";v.sha1=e(16114),v.sha224=e(44853),v.sha256=e(6586),v.sha384=e(66474),v.sha512=e(50663)},16114:function(d,v,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],T=this.h[2],D=this.h[3],M=this.h[4];for(S=0;S<b.length;S++){var N=~~(S/20),j=s(c(R,5),h(N,L,T,D),M,b[S],a[N]);M=D,D=T,T=c(L,30),L=R,R=j}this.h[0]=f(this.h[0],R),this.h[1]=f(this.h[1],L),this.h[2]=f(this.h[2],T),this.h[3]=f(this.h[3],D),this.h[4]=f(this.h[4],M)},x.prototype._digest=function(y){return y==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},44853:function(d,v,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,v,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(T,D){for(var M=this.W,N=0;N<16;N++)M[N]=T[D+N];for(;N<M.length;N++)M[N]=s(_(M[N-2]),M[N-7],y(M[N-15]),M[N-16]);var j=this.h[0],Q=this.h[1],X=this.h[2],Y=this.h[3],oe=this.h[4],ie=this.h[5],ue=this.h[6],K=this.h[7];for(c(this.k.length===M.length),N=0;N<M.length;N++){var V=h(K,p(oe),u(oe,ie,ue),this.k[N],M[N]),G=f(x(j),a(j,Q,X));K=ue,ue=ie,ie=oe,oe=f(Y,V),Y=X,X=Q,Q=j,j=f(V,G)}this.h[0]=f(this.h[0],j),this.h[1]=f(this.h[1],Q),this.h[2]=f(this.h[2],X),this.h[3]=f(this.h[3],Y),this.h[4]=f(this.h[4],oe),this.h[5]=f(this.h[5],ie),this.h[6]=f(this.h[6],ue),this.h[7]=f(this.h[7],K)},R.prototype._digest=function(T){return T==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},66474:function(d,v,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,v,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(G,te){for(var q=this.W,J=0;J<32;J++)q[J]=G[te+J];for(;J<q.length;J+=2){var le=ue(q[J-4],q[J-3]),z=K(q[J-4],q[J-3]),F=q[J-14],se=q[J-13],_e=oe(q[J-30],q[J-29]),Pe=ie(q[J-30],q[J-29]),Re=q[J-32],He=q[J-31];q[J]=p(le,z,F,se,_e,Pe,Re,He),q[J+1]=y(le,z,F,se,_e,Pe,Re,He)}},L.prototype._update=function(G,te){this._prepareBlock(G,te);var q=this.W,J=this.h[0],le=this.h[1],z=this.h[2],F=this.h[3],se=this.h[4],_e=this.h[5],Pe=this.h[6],Re=this.h[7],He=this.h[8],je=this.h[9],Zt=this.h[10],yt=this.h[11],Dt=this.h[12],Qt=this.h[13],Jt=this.h[14],qt=this.h[15];l(this.k.length===q.length);for(var Xe=0;Xe<q.length;Xe+=2){var Tt=Jt,jt=qt,st=X(He,je),gt=Y(He,je),dt=T(He,je,Zt,yt,Dt,Qt),Je=D(He,je,Zt,yt,Dt,Qt),Ue=this.k[Xe],ge=this.k[Xe+1],Se=q[Xe],Me=q[Xe+1],$e=_(Tt,jt,st,gt,dt,Je,Ue,ge,Se,Me),We=b(Tt,jt,st,gt,dt,Je,Ue,ge,Se,Me);Tt=j(J,le),jt=Q(J,le),st=M(J,le,z,F,se,_e),gt=N(J,le,z,F,se,_e);var nt=a(Tt,jt,st,gt),lt=x(Tt,jt,st,gt);Jt=Dt,qt=Qt,Dt=Zt,Qt=yt,Zt=He,yt=je,He=a(Pe,Re,$e,We),je=x(Re,Re,$e,We),Pe=se,Re=_e,se=z,_e=F,z=J,F=le,J=a($e,We,nt,lt),le=x($e,We,nt,lt)}u(this.h,0,J,le),u(this.h,2,z,F),u(this.h,4,se,_e),u(this.h,6,Pe,Re),u(this.h,8,He,je),u(this.h,10,Zt,yt),u(this.h,12,Dt,Qt),u(this.h,14,Jt,qt)},L.prototype._digest=function(G){return G==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")};function T(V,G,te,q,J){var le=V&te^~V&J;return le<0&&(le+=4294967296),le}function D(V,G,te,q,J,le){var z=G&q^~G≤return z<0&&(z+=4294967296),z}function M(V,G,te,q,J){var le=V&te^V&J^te&J;return le<0&&(le+=4294967296),le}function N(V,G,te,q,J,le){var z=G&q^G&le^q≤return z<0&&(z+=4294967296),z}function j(V,G){var te=c(V,G,28),q=c(G,V,2),J=c(G,V,7),le=te^q^J;return le<0&&(le+=4294967296),le}function Q(V,G){var te=f(V,G,28),q=f(G,V,2),J=f(G,V,7),le=te^q^J;return le<0&&(le+=4294967296),le}function X(V,G){var te=c(V,G,14),q=c(V,G,18),J=c(G,V,9),le=te^q^J;return le<0&&(le+=4294967296),le}function Y(V,G){var te=f(V,G,14),q=f(V,G,18),J=f(G,V,9),le=te^q^J;return le<0&&(le+=4294967296),le}function oe(V,G){var te=c(V,G,1),q=c(V,G,8),J=s(V,G,7),le=te^q^J;return le<0&&(le+=4294967296),le}function ie(V,G){var te=f(V,G,1),q=f(V,G,8),J=h(V,G,7),le=te^q^J;return le<0&&(le+=4294967296),le}function ue(V,G){var te=c(V,G,19),q=c(G,V,29),J=s(V,G,6),le=te^q^J;return le<0&&(le+=4294967296),le}function K(V,G){var te=f(V,G,19),q=f(G,V,29),J=h(V,G,6),le=te^q^J;return le<0&&(le+=4294967296),le}},81692:function(d,v,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)}v.ft_1=l;function c(p,y,_){return p&y^~p&_}v.ch32=c;function f(p,y,_){return p&y^p&_^y&_}v.maj32=f;function s(p,y,_){return p^y^_}v.p32=s;function h(p){return i(p,2)^i(p,13)^i(p,22)}v.s0_256=h;function u(p){return i(p,6)^i(p,11)^i(p,25)}v.s1_256=u;function a(p){return i(p,7)^i(p,18)^p>>>3}v.g0_256=a;function x(p){return i(p,17)^i(p,19)^p>>>10}v.g1_256=x},8631:function(d,v,e){"use strict";var r=e(61339),i=e(4603);v.inherits=i;function l(K,V){return(K.charCodeAt(V)&64512)!==55296||V<0||V+1>=K.length?!1:(K.charCodeAt(V+1)&64512)===56320}function c(K,V){if(Array.isArray(K))return K.slice();if(!K)return[];var G=[];if(typeof K=="string")if(V){if(V==="hex")for(K=K.replace(/[^a-z0-9]+/ig,""),K.length%2!==0&&(K="0"+K),q=0;q<K.length;q+=2)G.push(parseInt(K[q]+K[q+1],16))}else for(var te=0,q=0;q<K.length;q++){var J=K.charCodeAt(q);J<128?G[te++]=J:J<2048?(G[te++]=J>>6|192,G[te++]=J&63|128):l(K,q)?(J=65536+((J&1023)<<10)+(K.charCodeAt(++q)&1023),G[te++]=J>>18|240,G[te++]=J>>12&63|128,G[te++]=J>>6&63|128,G[te++]=J&63|128):(G[te++]=J>>12|224,G[te++]=J>>6&63|128,G[te++]=J&63|128)}else for(q=0;q<K.length;q++)G[q]=K[q]|0;return G}v.toArray=c;function f(K){for(var V="",G=0;G<K.length;G++)V+=u(K[G].toString(16));return V}v.toHex=f;function s(K){var V=K>>>24|K>>>8&65280|K<<8&16711680|(K&255)<<24;return V>>>0}v.htonl=s;function h(K,V){for(var G="",te=0;te<K.length;te++){var q=K[te];V==="little"&&(q=s(q)),G+=a(q.toString(16))}return G}v.toHex32=h;function u(K){return K.length===1?"0"+K:K}v.zero2=u;function a(K){return K.length===7?"0"+K:K.length===6?"00"+K:K.length===5?"000"+K:K.length===4?"0000"+K:K.length===3?"00000"+K:K.length===2?"000000"+K:K.length===1?"0000000"+K:K}v.zero8=a;function x(K,V,G,te){var q=G-V;r(q%4===0);for(var J=new Array(q/4),le=0,z=V;le<J.length;le++,z+=4){var F;te==="big"?F=K[z]<<24|K[z+1]<<16|K[z+2]<<8|K[z+3]:F=K[z+3]<<24|K[z+2]<<16|K[z+1]<<8|K[z],J[le]=F>>>0}return J}v.join32=x;function p(K,V){for(var G=new Array(K.length*4),te=0,q=0;te<K.length;te++,q+=4){var J=K[te];V==="big"?(G[q]=J>>>24,G[q+1]=J>>>16&255,G[q+2]=J>>>8&255,G[q+3]=J&255):(G[q+3]=J>>>24,G[q+2]=J>>>16&255,G[q+1]=J>>>8&255,G[q]=J&255)}return G}v.split32=p;function y(K,V){return K>>>V|K<<32-V}v.rotr32=y;function _(K,V){return K<<V|K>>>32-V}v.rotl32=_;function b(K,V){return K+V>>>0}v.sum32=b;function S(K,V,G){return K+V+G>>>0}v.sum32_3=S;function R(K,V,G,te){return K+V+G+te>>>0}v.sum32_4=R;function L(K,V,G,te,q){return K+V+G+te+q>>>0}v.sum32_5=L;function T(K,V,G,te){var q=K[V],J=K[V+1],le=te+J>>>0,z=(le<te?1:0)+G+q;K[V]=z>>>0,K[V+1]=le}v.sum64=T;function D(K,V,G,te){var q=V+te>>>0,J=(q<V?1:0)+K+G;return J>>>0}v.sum64_hi=D;function M(K,V,G,te){var q=V+te;return q>>>0}v.sum64_lo=M;function N(K,V,G,te,q,J,le,z){var F=0,se=V;se=se+te>>>0,F+=se<V?1:0,se=se+J>>>0,F+=se<J?1:0,se=se+z>>>0,F+=se<z?1:0;var _e=K+G+q+le+F;return _e>>>0}v.sum64_4_hi=N;function j(K,V,G,te,q,J,le,z){var F=V+te+J+z;return F>>>0}v.sum64_4_lo=j;function Q(K,V,G,te,q,J,le,z,F,se){var _e=0,Pe=V;Pe=Pe+te>>>0,_e+=Pe<V?1:0,Pe=Pe+J>>>0,_e+=Pe<J?1:0,Pe=Pe+z>>>0,_e+=Pe<z?1:0,Pe=Pe+se>>>0,_e+=Pe<se?1:0;var Re=K+G+q+le+F+_e;return Re>>>0}v.sum64_5_hi=Q;function X(K,V,G,te,q,J,le,z,F,se){var _e=V+te+J+z+se;return _e>>>0}v.sum64_5_lo=X;function Y(K,V,G){var te=V<<32-G|K>>>G;return te>>>0}v.rotr64_hi=Y;function oe(K,V,G){var te=K<<32-G|V>>>G;return te>>>0}v.rotr64_lo=oe;function ie(K,V,G){return K>>>G}v.shr64_hi=ie;function ue(K,V,G){var te=K<<32-G|V>>>G;return te>>>0}v.shr64_lo=ue},19340:function(d,v,e){"use strict";e.d(v,{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(5016),i;(function(L){L.Pop="POP",L.Push="PUSH",L.Replace="REPLACE"})(i||(i={}));var l=function(L){return L};function c(L,T){if(!L){typeof console!="undefined"&&console.warn(T);try{throw new Error(T)}catch(D){}}}var f="beforeunload",s="hashchange",h="popstate";function u(L){L===void 0&&(L={});var T=L,D=T.window,M=D===void 0?document.defaultView:D,N=M.history;function j(){var Pe=M.location,Re=Pe.pathname,He=Pe.search,je=Pe.hash,Zt=N.state||{};return[Zt.idx,l({pathname:Re,search:He,hash:je,state:Zt.usr||null,key:Zt.key||"default"})]}var Q=null;function X(){if(Q)V.call(Q),Q=null;else{var Pe=i.Pop,Re=j(),He=Re[0],je=Re[1];if(V.length){if(He!=null){var Zt=ie-He;Zt&&(Q={action:Pe,location:je,retry:function(){se(Zt*-1)}},se(Zt))}}else le(Pe)}}M.addEventListener(h,X);var Y=i.Pop,oe=j(),ie=oe[0],ue=oe[1],K=_(),V=_();ie==null&&(ie=0,N.replaceState((0,r.Z)({},N.state,{idx:ie}),""));function G(Pe){return typeof Pe=="string"?Pe:S(Pe)}function te(Pe,Re){return Re===void 0&&(Re=null),l((0,r.Z)({pathname:ue.pathname,hash:"",search:""},typeof Pe=="string"?R(Pe):Pe,{state:Re,key:b()}))}function q(Pe,Re){return[{usr:Pe.state,key:Pe.key,idx:Re},G(Pe)]}function J(Pe,Re,He){return!V.length||(V.call({action:Pe,location:Re,retry:He}),!1)}function le(Pe){Y=Pe;var Re=j();ie=Re[0],ue=Re[1],K.call({action:Y,location:ue})}function z(Pe,Re){var He=i.Push,je=te(Pe,Re);function Zt(){z(Pe,Re)}if(J(He,je,Zt)){var yt=q(je,ie+1),Dt=yt[0],Qt=yt[1];try{N.pushState(Dt,"",Qt)}catch(Jt){M.location.assign(Qt)}le(He)}}function F(Pe,Re){var He=i.Replace,je=te(Pe,Re);function Zt(){F(Pe,Re)}if(J(He,je,Zt)){var yt=q(je,ie),Dt=yt[0],Qt=yt[1];N.replaceState(Dt,"",Qt),le(He)}}function se(Pe){N.go(Pe)}var _e={get action(){return Y},get location(){return ue},createHref:G,push:z,replace:F,go:se,back:function(){se(-1)},forward:function(){se(1)},listen:function(Re){return K.push(Re)},block:function(Re){var He=V.push(Re);return V.length===1&&M.addEventListener(f,y),function(){He(),V.length||M.removeEventListener(f,y)}}};return _e}function a(L){L===void 0&&(L={});var T=L,D=T.window,M=D===void 0?document.defaultView:D,N=M.history;function j(){var Re=R(M.location.hash.substr(1)),He=Re.pathname,je=He===void 0?"/":He,Zt=Re.search,yt=Zt===void 0?"":Zt,Dt=Re.hash,Qt=Dt===void 0?"":Dt,Jt=N.state||{};return[Jt.idx,l({pathname:je,search:yt,hash:Qt,state:Jt.usr||null,key:Jt.key||"default"})]}var Q=null;function X(){if(Q)V.call(Q),Q=null;else{var Re=i.Pop,He=j(),je=He[0],Zt=He[1];if(V.length){if(je!=null){var yt=ie-je;yt&&(Q={action:Re,location:Zt,retry:function(){_e(yt*-1)}},_e(yt))}}else z(Re)}}M.addEventListener(h,X),M.addEventListener(s,function(){var Re=j(),He=Re[1];S(He)!==S(ue)&&X()});var Y=i.Pop,oe=j(),ie=oe[0],ue=oe[1],K=_(),V=_();ie==null&&(ie=0,N.replaceState((0,r.Z)({},N.state,{idx:ie}),""));function G(){var Re=document.querySelector("base"),He="";if(Re&&Re.getAttribute("href")){var je=M.location.href,Zt=je.indexOf("#");He=Zt===-1?je:je.slice(0,Zt)}return He}function te(Re){return G()+"#"+(typeof Re=="string"?Re:S(Re))}function q(Re,He){return He===void 0&&(He=null),l((0,r.Z)({pathname:ue.pathname,hash:"",search:""},typeof Re=="string"?R(Re):Re,{state:He,key:b()}))}function J(Re,He){return[{usr:Re.state,key:Re.key,idx:He},te(Re)]}function le(Re,He,je){return!V.length||(V.call({action:Re,location:He,retry:je}),!1)}function z(Re){Y=Re;var He=j();ie=He[0],ue=He[1],K.call({action:Y,location:ue})}function F(Re,He){var je=i.Push,Zt=q(Re,He);function yt(){F(Re,He)}if(le(je,Zt,yt)){var Dt=J(Zt,ie+1),Qt=Dt[0],Jt=Dt[1];try{N.pushState(Qt,"",Jt)}catch(qt){M.location.assign(Jt)}z(je)}}function se(Re,He){var je=i.Replace,Zt=q(Re,He);function yt(){se(Re,He)}if(le(je,Zt,yt)){var Dt=J(Zt,ie),Qt=Dt[0],Jt=Dt[1];N.replaceState(Qt,"",Jt),z(je)}}function _e(Re){N.go(Re)}var Pe={get action(){return Y},get location(){return ue},createHref:te,push:F,replace:se,go:_e,back:function(){_e(-1)},forward:function(){_e(1)},listen:function(He){return K.push(He)},block:function(He){var je=V.push(He);return V.length===1&&M.addEventListener(f,y),function(){je(),V.length||M.removeEventListener(f,y)}}};return Pe}function x(L){L===void 0&&(L={});var T=L,D=T.initialEntries,M=D===void 0?["/"]:D,N=T.initialIndex,j=M.map(function(z){var F=l((0,r.Z)({pathname:"/",search:"",hash:"",state:null,key:b()},typeof z=="string"?R(z):z));return F}),Q=p(N==null?j.length-1:N,0,j.length-1),X=i.Pop,Y=j[Q],oe=_(),ie=_();function ue(z){return typeof z=="string"?z:S(z)}function K(z,F){return F===void 0&&(F=null),l((0,r.Z)({pathname:Y.pathname,search:"",hash:""},typeof z=="string"?R(z):z,{state:F,key:b()}))}function V(z,F,se){return!ie.length||(ie.call({action:z,location:F,retry:se}),!1)}function G(z,F){X=z,Y=F,oe.call({action:X,location:Y})}function te(z,F){var se=i.Push,_e=K(z,F);function Pe(){te(z,F)}V(se,_e,Pe)&&(Q+=1,j.splice(Q,j.length,_e),G(se,_e))}function q(z,F){var se=i.Replace,_e=K(z,F);function Pe(){q(z,F)}V(se,_e,Pe)&&(j[Q]=_e,G(se,_e))}function J(z){var F=p(Q+z,0,j.length-1),se=i.Pop,_e=j[F];function Pe(){J(z)}V(se,_e,Pe)&&(Q=F,G(se,_e))}var le={get index(){return Q},get action(){return X},get location(){return Y},createHref:ue,push:te,replace:q,go:J,back:function(){J(-1)},forward:function(){J(1)},listen:function(F){return oe.push(F)},block:function(F){return ie.push(F)}};return le}function p(L,T,D){return Math.min(Math.max(L,T),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(M){return M!==D})}},call:function(D){L.forEach(function(M){return M&&M(D)})}}}function b(){return Math.random().toString(36).substr(2,8)}function S(L){var T=L.pathname,D=T===void 0?"/":T,M=L.search,N=M===void 0?"":M,j=L.hash,Q=j===void 0?"":j;return N&&N!=="?"&&(D+=N.charAt(0)==="?"?N:"?"+N),Q&&Q!=="#"&&(D+=Q.charAt(0)==="#"?Q:"#"+Q),D}function R(L){var T={};if(L){var D=L.indexOf("#");D>=0&&(T.hash=L.substr(D),L=L.substr(0,D));var M=L.indexOf("?");M>=0&&(T.search=L.substr(M),L=L.substr(0,M)),L&&(T.pathname=L)}return T}},94266:function(d,v,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 T=y(R);T&&T!==_&&b(S,T,L)}var D=a(R);x&&(D=D.concat(x(R)));for(var M=h(S),N=h(R),j=0;j<D.length;++j){var Q=D[j];if(!l[Q]&&!(L&&L[Q])&&!(N&&N[Q])&&!(M&&M[Q])){var X=p(R,Q);try{u(S,Q,X)}catch(Y){}}}}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 v=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=v},78034:function(d){d.exports=function(r){return r!=null&&(v(r)||e(r)||!!r._isBuffer)};function v(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"&&v(r.slice(0,0))}},78639:function(d,v,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,v,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(v,r),i!==void 0&&(d.exports=i)},87804:function(d,v){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,T=/\s/,D=/(?:\s|\n)+/g,M=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,N=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function j(Q,X){this._source_text=Q||"",this._options=new p(X),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"]}j.prototype.eatString=function(Q){var X="";for(this._ch=this._input.next();this._ch;){if(X+=this._ch,this._ch==="\\")X+=this._input.next();else if(Q.indexOf(this._ch)!==-1||this._ch===`
|
|
|
`)break;this._ch=this._input.next()}return X},j.prototype.eatWhitespace=function(Q){for(var X=T.test(this._input.peek()),Y=0;T.test(this._input.peek());)this._ch=this._input.next(),Q&&this._ch===`
|
|
|
`&&(Y===0||Y<this._options.max_preserve_newlines)&&(Y++,this._output.add_new_line(!0));return X},j.prototype.foundNestedPseudoClass=function(){for(var Q=0,X=1,Y=this._input.peek(X);Y;){if(Y==="{")return!0;if(Y==="(")Q+=1;else if(Y===")"){if(Q===0)return!1;Q-=1}else if(Y===";"||Y==="}")return!1;X++,Y=this._input.peek(X)}return!1},j.prototype.print_string=function(Q){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(Q)},j.prototype.preserveSingleSpace=function(Q){Q&&(this._output.space_before_token=!0)},j.prototype.indent=function(){this._indentLevel++},j.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},j.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var Q=this._source_text,X=this._options.eol;X==="auto"&&(X=`
|
|
|
`,Q&&R.test(Q||"")&&(X=Q.match(R)[0])),Q=Q.replace(L,`
|
|
|
`);var Y=Q.match(/^[\t ]*/)[0];this._output=new y(this._options,Y),this._input=new _(Q),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var oe=0,ie=!1,ue=!1,K=!1,V=!1,G=!1,te=this._ch,q=!1,J,le,z;J=this._input.read(D),le=J!=="",z=te,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),te=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var F=this._input.read(M),se=S.get_directives(F);se&&se.ignore==="start"&&(F+=S.readIgnored(this._input)),this.print_string(F),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(N)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(le),this.print_string(this._ch);var _e=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);_e.match(/[ :]$/)&&(_e=this.eatString(": ").replace(/\s+$/,""),this.print_string(_e),this._output.space_before_token=!0),oe===0&&_e.indexOf(":")!==-1&&(ue=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(le),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Pe=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Pe.match(/[ :]$/)&&(Pe=this.eatString(": ").replace(/\s+$/,""),this.print_string(Pe),this._output.space_before_token=!0),oe===0&&Pe.indexOf(":")!==-1?(ue=!0,this.indent()):Pe in this.NESTED_AT_RULE?(this._nestedLevel+=1,Pe in this.CONDITIONAL_GROUP_RULE&&(K=!0)):oe===0&&!ue&&(V=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(le),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")ue&&(ue=!1,this.outdent()),V=!1,K?(K=!1,ie=this._indentLevel>=this._nestedLevel):ie=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&ie&&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)):(z==="("?this._output.space_before_token=!1:z!==","&&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(),z==="{"&&this._output.trim(!0),ue&&(this.outdent(),ue=!1),this.print_string(this._ch),ie=!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 Re=0;Re<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Re++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Re])){q=!0;break}(ie||K)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!V&&oe===0?(this.print_string(":"),ue||(ue=!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 He=z==='"'||z==="'";this.preserveSingleSpace(He||le),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")q=!1,oe===0?(ue&&(this.outdent(),ue=!1),V=!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 je=!1;this._input.lookBack("with")&&(je=!0),this.preserveSingleSpace(le||je),this.print_string(this._ch),ue&&z==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),G=!0):(this.eatWhitespace(),oe++,this.indent())}else if(this._ch===")")oe&&(oe--,this.outdent()),G&&this._input.peek()===";"&&this._options.selector_separator_newline&&(G=!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&&(!ue||G)&&oe===0&&!V?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!ue&&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&&T.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(le),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),T.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 Zt=z==='"'||z==="'";this.preserveSingleSpace(Zt||le),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
|
`&&q&&this._output.add_new_line()}var yt=this._output.get_code(X);return yt},u.exports.Beautifier=j},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(v,e),r!==void 0&&(d.exports=r)})()},40998:function(d,v,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 T=this.__lines[L];if(T.is_empty())break;if(T.item(0).indexOf(S)!==0&&T.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],T=R||[];return typeof L=="object"?L!==null&&typeof L.concat=="function"&&(T=L.concat()):typeof L=="string"&&(T=L.split(/[^a-zA-Z0-9_\/\-]+/)),T},y.prototype._get_boolean=function(S,R){var L=this.raw_options[S],T=L===void 0?!!R:!!L;return T},y.prototype._get_characters=function(S,R){var L=this.raw_options[S],T=R||"";return typeof L=="string"&&(T=L.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),T},y.prototype._get_number=function(S,R){var L=this.raw_options[S];R=parseInt(R,10),isNaN(R)&&(R=0);var T=parseInt(L,10);return isNaN(T)&&(T=R),T},y.prototype._get_selection=function(S,R,L){var T=this._get_selection_list(S,R,L);if(T.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 T[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 T=this._get_array(S,L);if(!this._is_valid_selection(T,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 T},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 T;for(T in S)T!==R&&(L[T]=S[T]);if(R&&S[R])for(T in S[R])L[T]=S[R][T];return L}function b(S){var R={},L;for(L in S){var T=L.replace(/-/g,"_");R[T]=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="",T;return b&&(T=this.match(b),T&&(L+=T[0])),S&&(T||!b)&&(L+=this.readUntil(S,R)),L},_.prototype.readUntil=function(b,S){var R="",L=this.__position;b.lastIndex=this.__position;var T=b.exec(this.__input);return T?(L=T.index,S&&(L+=T[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,T={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},D=function(M,N){this._input=new b(M),this._options=N||{},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 M,N=new S(T.START,""),j=null,Q=[],X=new R;N.type!==T.EOF;){for(M=this._get_next_token(N,j);this._is_comment(M);)X.add(M),M=this._get_next_token(N,j);X.isEmpty()||(M.comments_before=X,X=new R),M.parent=j,this._is_opening(M)?(Q.push(j),j=M):j&&this._is_closing(M,j)&&(M.opened=j,j.closed=M,j=Q.pop(),M.parent=j),M.previous=N,N.next=M,this.__tokens.add(M),N=M}return this.__tokens},D.prototype._is_first_token=function(){return this.__tokens.isEmpty()},D.prototype._reset=function(){},D.prototype._get_next_token=function(M,N){this._readWhitespace();var j=this._input.read(/.+/g);return j?this._create_token(T.RAW,j):this._create_token(T.EOF,"")},D.prototype._is_comment=function(M){return!1},D.prototype._is_opening=function(M){return!1},D.prototype._is_closing=function(M,N){return!1},D.prototype._create_token=function(M,N){var j=new S(M,N,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return j},D.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},p.exports.Tokenizer=D,p.exports.TOKEN=T},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 T=this._create();return T.__set_whitespace_patterns(R,L),T._update(),T},S.prototype._create=function(){return new S(this._input,this)},S.prototype.__split=function(R,L){R.lastIndex=0;for(var T=0,D=[],M=R.exec(L);M;)D.push(L.substring(T,M.index)),T=M.index+M[0].length,M=R.exec(L);return T<L.length?D.push(L.substring(T,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,T){b.call(this,L,T),this.__template_pattern=null,this._disabled=Object.assign({},S),this._excluded=Object.assign({},S),T&&(this.__template_pattern=this._input.get_regexp(T.__template_pattern),this._excluded=Object.assign(this._excluded,T._excluded),this._disabled=Object.assign(this._disabled,T._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 T=this._create();return T._disabled[L]=!0,T._update(),T},R.prototype.read_options=function(L){var T=this._create();for(var D in S)T._disabled[D]=L.templating.indexOf(D)===-1;return T._update(),T},R.prototype.exclude=function(L){var T=this._create();return T._excluded[L]=!0,T._update(),T},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 T=this._read_template();T;)this._match_pattern?T+=this._input.read(this._match_pattern):T+=this._input.readUntil(this.__template_pattern),L+=T,T=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="",T=this._input.peek();if(T==="<"){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 T==="{"&&(!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,T,D,M){var N=new b(L,T,D,M);return N.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,T=/\r\n|[\r\n]/,D=/\r\n|[\r\n]/g,M=function(V,G){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=V.max_preserve_newlines,this.preserve_newlines=V.preserve_newlines,this._output=new S(V,G)};M.prototype.current_line_has_match=function(V){return this._output.current_line.has_match(V)},M.prototype.set_space_before_token=function(V,G){this._output.space_before_token=V,this._output.non_breaking_space=G},M.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},M.prototype.add_raw_token=function(V){this._output.add_raw_token(V)},M.prototype.print_preserved_newlines=function(V){var G=0;V.type!==L.TEXT&&V.previous.type!==L.TEXT&&(G=V.newlines?1:0),this.preserve_newlines&&(G=V.newlines<this.max_preserve_newlines+1?V.newlines:this.max_preserve_newlines+1);for(var te=0;te<G;te++)this.print_newline(te>0);return G!==0},M.prototype.traverse_whitespace=function(V){return V.whitespace_before||V.newlines?(this.print_preserved_newlines(V)||(this._output.space_before_token=!0),!0):!1},M.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},M.prototype.print_newline=function(V){this._output.add_new_line(V)},M.prototype.print_token=function(V){V.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(V.text))},M.prototype.indent=function(){this.indent_level++},M.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},M.prototype.get_full_indent=function(V){return V=this.indent_level+(V||0),V<1?"":this._output.get_indent_string(V)};var N=function(V){for(var G=null,te=V.next;te.type!==L.EOF&&V.closed!==te;){if(te.type===L.ATTRIBUTE&&te.text==="type"){te.next&&te.next.type===L.EQUALS&&te.next.next&&te.next.next.type===L.VALUE&&(G=te.next.next.text);break}te=te.next}return G},j=function(V,G){var te=null,q=null;return G.closed?(V==="script"?te="text/javascript":V==="style"&&(te="text/css"),te=N(G)||te,te.search("text/css")>-1?q="css":te.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?q="javascript":te.search(/(text|application|dojo)\/(x-)?(html)/)>-1?q="html":te.search(/test\/null/)>-1&&(q="null"),q):null};function Q(V,G){return G.indexOf(V)!==-1}function X(V,G,te){this.parent=V||null,this.tag=G?G.tag_name:"",this.indent_level=te||0,this.parser_token=G||null}function Y(V){this._printer=V,this._current_frame=null}Y.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},Y.prototype.record_tag=function(V){var G=new X(this._current_frame,V,this._printer.indent_level);this._current_frame=G},Y.prototype._try_pop_frame=function(V){var G=null;return V&&(G=V.parser_token,this._printer.indent_level=V.indent_level,this._current_frame=V.parent),G},Y.prototype._get_frame=function(V,G){for(var te=this._current_frame;te&&V.indexOf(te.tag)===-1;){if(G&&G.indexOf(te.tag)!==-1){te=null;break}te=te.parent}return te},Y.prototype.try_pop=function(V,G){var te=this._get_frame([V],G);return this._try_pop_frame(te)},Y.prototype.indent_to_tag=function(V){var G=this._get_frame(V);G&&(this._printer.indent_level=G.indent_level)};function oe(V,G,te,q){this._source_text=V||"",G=G||{},this._js_beautify=te,this._css_beautify=q,this._tag_stack=null;var J=new b(G,"html");this._options=J,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 V=this._source_text,G=this._options.eol;this._options.eol==="auto"&&(G=`
|
|
|
`,V&&T.test(V)&&(G=V.match(T)[0])),V=V.replace(D,`
|
|
|
`);var te=V.match(/^[\t ]*/)[0],q={text:"",type:""},J=new ie(this._options),le=new M(this._options,te),z=new R(V,this._options).tokenize();this._tag_stack=new Y(le);for(var F=null,se=z.next();se.type!==L.EOF;)se.type===L.TAG_OPEN||se.type===L.COMMENT?(F=this._handle_tag_open(le,se,J,q,z),J=F):se.type===L.ATTRIBUTE||se.type===L.EQUALS||se.type===L.VALUE||se.type===L.TEXT&&!J.tag_complete?F=this._handle_inside_tag(le,se,J,q):se.type===L.TAG_CLOSE?F=this._handle_tag_close(le,se,J):se.type===L.TEXT?F=this._handle_text(le,se,J):se.type===L.CONTROL_FLOW_OPEN?F=this._handle_control_flow_open(le,se):se.type===L.CONTROL_FLOW_CLOSE?F=this._handle_control_flow_close(le,se):le.add_raw_token(se),q=F,se=z.next();var _e=le._output.get_code(G);return _e},oe.prototype._handle_control_flow_open=function(V,G){var te={text:G.text,type:G.type};return V.set_space_before_token(G.newlines||G.whitespace_before!=="",!0),G.newlines?V.print_preserved_newlines(G):V.set_space_before_token(G.newlines||G.whitespace_before!=="",!0),V.print_token(G),V.indent(),te},oe.prototype._handle_control_flow_close=function(V,G){var te={text:G.text,type:G.type};return V.deindent(),G.newlines?V.print_preserved_newlines(G):V.set_space_before_token(G.newlines||G.whitespace_before!=="",!0),V.print_token(G),te},oe.prototype._handle_tag_close=function(V,G,te){var q={text:G.text,type:G.type};return V.alignment_size=0,te.tag_complete=!0,V.set_space_before_token(G.newlines||G.whitespace_before!=="",!0),te.is_unformatted?V.add_raw_token(G):(te.tag_start_char==="<"&&(V.set_space_before_token(G.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&te.has_wrapped_attrs&&V.print_newline(!1)),V.print_token(G)),te.indent_content&&!(te.is_unformatted||te.is_content_unformatted)&&(V.indent(),te.indent_content=!1),!te.is_inline_element&&!(te.is_unformatted||te.is_content_unformatted)&&V.set_wrap_point(),q},oe.prototype._handle_inside_tag=function(V,G,te,q){var J=te.has_wrapped_attrs,le={text:G.text,type:G.type};return V.set_space_before_token(G.newlines||G.whitespace_before!=="",!0),te.is_unformatted?V.add_raw_token(G):te.tag_start_char==="{"&&G.type===L.TEXT?V.print_preserved_newlines(G)?(G.newlines=0,V.add_raw_token(G)):V.print_token(G):(G.type===L.ATTRIBUTE?V.set_space_before_token(!0):(G.type===L.EQUALS||G.type===L.VALUE&&G.previous.type===L.EQUALS)&&V.set_space_before_token(!1),G.type===L.ATTRIBUTE&&te.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(V.traverse_whitespace(G),J=J||G.newlines!==0),this._is_wrap_attributes_force&&te.attr_count>=this._options.wrap_attributes_min_attrs&&(q.type!==L.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(V.print_newline(!1),J=!0)),V.print_token(G),J=J||V.previous_token_wrapped(),te.has_wrapped_attrs=J),le},oe.prototype._handle_text=function(V,G,te){var q={text:G.text,type:"TK_CONTENT"};return te.custom_beautifier_name?this._print_custom_beatifier_text(V,G,te):te.is_unformatted||te.is_content_unformatted?V.add_raw_token(G):(V.traverse_whitespace(G),V.print_token(G)),q},oe.prototype._print_custom_beatifier_text=function(V,G,te){var q=this;if(G.text!==""){var J=G.text,le,z=1,F="",se="";te.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?le=this._js_beautify:te.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?le=this._css_beautify:te.custom_beautifier_name==="html"&&(le=function(Zt,yt){var Dt=new oe(Zt,yt,q._js_beautify,q._css_beautify);return Dt.beautify()}),this._options.indent_scripts==="keep"?z=0:this._options.indent_scripts==="separate"&&(z=-V.indent_level);var _e=V.get_full_indent(z);if(J=J.replace(/\n[ \t]*$/,""),te.custom_beautifier_name!=="html"&&J[0]==="<"&&J.match(/^(<!--|<!\[CDATA\[)/)){var Pe=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(J);if(!Pe){V.add_raw_token(G);return}F=_e+Pe[1]+`
|
|
|
`,J=Pe[4],Pe[5]&&(se=_e+Pe[5]),J=J.replace(/\n[ \t]*$/,""),(Pe[2]||Pe[3].indexOf(`
|
|
|
`)!==-1)&&(Pe=Pe[3].match(/[ \t]+$/),Pe&&(G.whitespace_before=Pe[0]))}if(J)if(le){var Re=function(){this.eol=`
|
|
|
`};Re.prototype=this._options.raw_options;var He=new Re;J=le(_e+J,He)}else{var je=G.whitespace_before;je&&(J=J.replace(new RegExp(`
|
|
|
(`+je+")?","g"),`
|
|
|
`)),J=_e+J.replace(/\n/g,`
|
|
|
`+_e)}F&&(J?J=F+J+`
|
|
|
`+se:J=F+se),V.print_newline(!1),J&&(G.text=J,G.whitespace_before="",G.newlines=0,V.add_raw_token(G),V.print_newline(!0))}},oe.prototype._handle_tag_open=function(V,G,te,q,J){var le=this._get_tag_open_token(G);if((te.is_unformatted||te.is_content_unformatted)&&!te.is_empty_element&&G.type===L.TAG_OPEN&&!le.is_start_tag?(V.add_raw_token(G),le.start_tag_token=this._tag_stack.try_pop(le.tag_name)):(V.traverse_whitespace(G),this._set_tag_position(V,G,le,te,q),le.is_inline_element||V.set_wrap_point(),V.print_token(G)),le.is_start_tag&&this._is_wrap_attributes_force){var z=0,F;do F=J.peek(z),F.type===L.ATTRIBUTE&&(le.attr_count+=1),z+=1;while(F.type!==L.EOF&&F.type!==L.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(le.alignment_size=G.text.length+1),!le.tag_complete&&!le.is_unformatted&&(V.alignment_size=le.alignment_size),le};var ie=function(V,G,te){if(this.parent=G||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="",!te)this.tag_complete=!0;else{var q;this.tag_start_char=te.text[0],this.text=te.text,this.tag_start_char==="<"?(q=te.text.match(/^<([^\s>]*)/),this.tag_check=q?q[1]:""):(q=te.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=q?q[1]:"",(te.text.startsWith("{{#>")||te.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&te.next!==null?this.tag_check=te.next.text.split(" ")[0]:this.tag_check=te.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),te.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||te.closed&&te.closed.text==="/>";var J=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(J=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!V.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(J)))}};oe.prototype._get_tag_open_token=function(V){var G=new ie(this._options,this._tag_stack.get_parser_token(),V);return G.alignment_size=this._options.wrap_attributes_indent_size,G.is_end_tag=G.is_end_tag||Q(G.tag_check,this._options.void_elements),G.is_empty_element=G.tag_complete||G.is_start_tag&&G.is_end_tag,G.is_unformatted=!G.tag_complete&&Q(G.tag_check,this._options.unformatted),G.is_content_unformatted=!G.is_empty_element&&Q(G.tag_check,this._options.content_unformatted),G.is_inline_element=Q(G.tag_name,this._options.inline)||this._options.inline_custom_elements&&G.tag_name.includes("-")||G.tag_start_char==="{",G},oe.prototype._set_tag_position=function(V,G,te,q,J){if(te.is_empty_element||(te.is_end_tag?te.start_tag_token=this._tag_stack.try_pop(te.tag_name):(this._do_optional_end_element(te)&&(te.is_inline_element||V.print_newline(!1)),this._tag_stack.record_tag(te),(te.tag_name==="script"||te.tag_name==="style")&&!(te.is_unformatted||te.is_content_unformatted)&&(te.custom_beautifier_name=j(te.tag_check,G)))),Q(te.tag_check,this._options.extra_liners)&&(V.print_newline(!1),V._output.just_added_blankline()||V.print_newline(!0)),te.is_empty_element){if(te.tag_start_char==="{"&&te.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),te.indent_content=!0;var le=V.current_line_has_match(/{{#if/);le||V.print_newline(!1)}te.tag_name==="!--"&&J.type===L.TAG_CLOSE&&q.is_end_tag&&te.text.indexOf(`
|
|
|
`)===-1||(te.is_inline_element||te.is_unformatted||V.print_newline(!1),this._calcluate_parent_multiline(V,te))}else if(te.is_end_tag){var z=!1;z=te.start_tag_token&&te.start_tag_token.multiline_content,z=z||!te.is_inline_element&&!(q.is_inline_element||q.is_unformatted)&&!(J.type===L.TAG_CLOSE&&te.start_tag_token===q)&&J.type!=="TK_CONTENT",(te.is_content_unformatted||te.is_unformatted)&&(z=!1),z&&V.print_newline(!1)}else te.indent_content=!te.custom_beautifier_name,te.tag_start_char==="<"&&(te.tag_name==="html"?te.indent_content=this._options.indent_inner_html:te.tag_name==="head"?te.indent_content=this._options.indent_head_inner_html:te.tag_name==="body"&&(te.indent_content=this._options.indent_body_inner_html)),!(te.is_inline_element||te.is_unformatted)&&(J.type!=="TK_CONTENT"||te.is_content_unformatted)&&V.print_newline(!1),this._calcluate_parent_multiline(V,te)},oe.prototype._calcluate_parent_multiline=function(V,G){G.parent&&V._output.just_added_newline()&&!((G.is_inline_element||G.is_unformatted)&&G.parent.is_inline_element)&&(G.parent.multiline_content=!0)};var ue=["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"],K=["a","audio","del","ins","map","noscript","video"];oe.prototype._do_optional_end_element=function(V){var G=null;if(!(V.is_empty_element||!V.is_start_tag||!V.parent)){if(V.tag_name==="body")G=G||this._tag_stack.try_pop("head");else if(V.tag_name==="li")G=G||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(V.tag_name==="dd"||V.tag_name==="dt")G=G||this._tag_stack.try_pop("dt",["dl"]),G=G||this._tag_stack.try_pop("dd",["dl"]);else if(V.parent.tag_name==="p"&&ue.indexOf(V.tag_name)!==-1){var te=V.parent.parent;(!te||K.indexOf(te.tag_name)===-1)&&(G=G||this._tag_stack.try_pop("p"))}else V.tag_name==="rp"||V.tag_name==="rt"?(G=G||this._tag_stack.try_pop("rt",["ruby","rtc"]),G=G||this._tag_stack.try_pop("rp",["ruby","rtc"])):V.tag_name==="optgroup"?G=G||this._tag_stack.try_pop("optgroup",["select"]):V.tag_name==="option"?G=G||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):V.tag_name==="colgroup"?G=G||this._tag_stack.try_pop("caption",["table"]):V.tag_name==="thead"?(G=G||this._tag_stack.try_pop("caption",["table"]),G=G||this._tag_stack.try_pop("colgroup",["table"])):V.tag_name==="tbody"||V.tag_name==="tfoot"?(G=G||this._tag_stack.try_pop("caption",["table"]),G=G||this._tag_stack.try_pop("colgroup",["table"]),G=G||this._tag_stack.try_pop("thead",["table"]),G=G||this._tag_stack.try_pop("tbody",["table"])):V.tag_name==="tr"?(G=G||this._tag_stack.try_pop("caption",["table"]),G=G||this._tag_stack.try_pop("colgroup",["table"]),G=G||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(V.tag_name==="th"||V.tag_name==="td")&&(G=G||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),G=G||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return V.parent=this._tag_stack.get_parser_token(),G}},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,T=_(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},M=new R(/<\!--/,/-->/),N=function(j,Q){b.call(this,j,Q),this._current_tag_name="";var X=new L(this._input).read_options(this._options),Y=new T(this._input);if(this.__patterns={word:X.until(/[\n\r\t <]/),word_control_flow_close_excluded:X.until(/[\n\r\t <}]/),single_quote:X.until_after(/'/),double_quote:X.until_after(/"/),attribute:X.until(/[\n\r\t =>]|\/>/),element_name:X.until(/[\n\r\t >\/]/),angular_control_flow_start:Y.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:Y.starting_with(/{{!--/).until_after(/--}}/),handlebars:Y.starting_with(/{{/).until_after(/}}/),handlebars_open:Y.until(/[\n\r\t }]/),handlebars_raw_close:Y.until(/}}/),comment:Y.starting_with(/<!--/).until_after(/-->/),cdata:Y.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:Y.starting_with(/<!\[/).until_after(/]>/),processing:Y.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=Y.matching(oe).until_after(oe)}};N.prototype=new b,N.prototype._is_comment=function(j){return!1},N.prototype._is_opening=function(j){return j.type===D.TAG_OPEN||j.type===D.CONTROL_FLOW_OPEN},N.prototype._is_closing=function(j,Q){return j.type===D.TAG_CLOSE&&Q&&((j.text===">"||j.text==="/>")&&Q.text[0]==="<"||j.text==="}}"&&Q.text[0]==="{"&&Q.text[1]==="{")||j.type===D.CONTROL_FLOW_CLOSE&&j.text==="}"&&Q.text.endsWith("{")},N.prototype._reset=function(){this._current_tag_name=""},N.prototype._get_next_token=function(j,Q){var X=null;this._readWhitespace();var Y=this._input.peek();return Y===null?this._create_token(D.EOF,""):(X=X||this._read_open_handlebars(Y,Q),X=X||this._read_attribute(Y,j,Q),X=X||this._read_close(Y,Q),X=X||this._read_script_and_style(Y,j),X=X||this._read_control_flows(Y,Q),X=X||this._read_raw_content(Y,j,Q),X=X||this._read_content_word(Y,Q),X=X||this._read_comment_or_cdata(Y),X=X||this._read_processing(Y),X=X||this._read_open(Y,Q),X=X||this._create_token(D.UNKNOWN,this._input.next()),X)},N.prototype._read_comment_or_cdata=function(j){var Q=null,X=null,Y=null;if(j==="<"){var oe=this._input.peek(1);oe==="!"&&(X=this.__patterns.comment.read(),X?(Y=M.get_directives(X),Y&&Y.ignore==="start"&&(X+=M.readIgnored(this._input))):X=this.__patterns.cdata.read()),X&&(Q=this._create_token(D.COMMENT,X),Q.directives=Y)}return Q},N.prototype._read_processing=function(j){var Q=null,X=null,Y=null;if(j==="<"){var oe=this._input.peek(1);(oe==="!"||oe==="?")&&(X=this.__patterns.conditional_comment.read(),X=X||this.__patterns.processing.read()),X&&(Q=this._create_token(D.COMMENT,X),Q.directives=Y)}return Q},N.prototype._read_open=function(j,Q){var X=null,Y=null;return(!Q||Q.type===D.CONTROL_FLOW_OPEN)&&j==="<"&&(X=this._input.next(),this._input.peek()==="/"&&(X+=this._input.next()),X+=this.__patterns.element_name.read(),Y=this._create_token(D.TAG_OPEN,X)),Y},N.prototype._read_open_handlebars=function(j,Q){var X=null,Y=null;return(!Q||Q.type===D.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&j==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(X=this.__patterns.handlebars_comment.read(),X=X||this.__patterns.handlebars.read(),Y=this._create_token(D.COMMENT,X)):(X=this.__patterns.handlebars_open.read(),Y=this._create_token(D.TAG_OPEN,X))),Y},N.prototype._read_control_flows=function(j,Q){var X="",Y=null;if(!this._options.templating.includes("angular"))return Y;if(j==="@"){if(X=this.__patterns.angular_control_flow_start.read(),X==="")return Y;for(var oe=X.endsWith("(")?1:0,ie=0;!(X.endsWith("{")&&oe===ie);){var ue=this._input.next();if(ue===null)break;ue==="("?oe++:ue===")"&&ie++,X+=ue}Y=this._create_token(D.CONTROL_FLOW_OPEN,X)}else j==="}"&&Q&&Q.type===D.CONTROL_FLOW_OPEN&&(X=this._input.next(),Y=this._create_token(D.CONTROL_FLOW_CLOSE,X));return Y},N.prototype._read_close=function(j,Q){var X=null,Y=null;return Q&&Q.type===D.TAG_OPEN&&(Q.text[0]==="<"&&(j===">"||j==="/"&&this._input.peek(1)===">")?(X=this._input.next(),j==="/"&&(X+=this._input.next()),Y=this._create_token(D.TAG_CLOSE,X)):Q.text[0]==="{"&&j==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),Y=this._create_token(D.TAG_CLOSE,"}}"))),Y},N.prototype._read_attribute=function(j,Q,X){var Y=null,oe="";if(X&&X.text[0]==="<")if(j==="=")Y=this._create_token(D.EQUALS,this._input.next());else if(j==='"'||j==="'"){var ie=this._input.next();j==='"'?ie+=this.__patterns.double_quote.read():ie+=this.__patterns.single_quote.read(),Y=this._create_token(D.VALUE,ie)}else oe=this.__patterns.attribute.read(),oe&&(Q.type===D.EQUALS?Y=this._create_token(D.VALUE,oe):Y=this._create_token(D.ATTRIBUTE,oe));return Y},N.prototype._is_content_unformatted=function(j){return this._options.void_elements.indexOf(j)===-1&&(this._options.content_unformatted.indexOf(j)!==-1||this._options.unformatted.indexOf(j)!==-1)},N.prototype._read_raw_content=function(j,Q,X){var Y="";if(X&&X.text[0]==="{")Y=this.__patterns.handlebars_raw_close.read();else if(Q.type===D.TAG_CLOSE&&Q.opened.text[0]==="<"&&Q.text[0]!=="/"){var oe=Q.opened.text.substr(1).toLowerCase();this._is_content_unformatted(oe)&&(Y=this._input.readUntil(new RegExp("</"+oe+"[\\n\\r\\t ]*?>","ig")))}return Y?this._create_token(D.TEXT,Y):null},N.prototype._read_script_and_style=function(j,Q){if(Q.type===D.TAG_CLOSE&&Q.opened.text[0]==="<"&&Q.text[0]!=="/"){var X=Q.opened.text.substr(1).toLowerCase();if(X==="script"||X==="style"){var Y=this._read_comment_or_cdata(j);if(Y)return Y.type=D.TEXT,Y;var oe=this._input.readUntil(new RegExp("</"+X+"[\\n\\r\\t ]*?>","ig"));if(oe)return this._create_token(D.TEXT,oe)}}return null},N.prototype._read_content_word=function(j,Q){var X="";return this._options.unformatted_content_delimiter&&j===this._options.unformatted_content_delimiter[0]&&(X=this.__patterns.unformatted_content_delimiter.read()),X||(X=Q&&Q.type===D.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),X?this._create_token(D.TEXT,X):null},p.exports.Tokenizer=N,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(v,r),i!==void 0&&(d.exports=i);else var f,s})()},58553:function(d,v){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,T=x(7).TOKEN;function D(F,se){return se.indexOf(F)!==-1}function M(F){return F.replace(/^\s+/g,"")}function N(F){for(var se={},_e=0;_e<F.length;_e++)se[F[_e].replace(/-/g,"_")]=F[_e];return se}function j(F,se){return F&&F.type===T.RESERVED&&F.text===se}function Q(F,se){return F&&F.type===T.RESERVED&&D(F.text,se)}var X=["case","return","do","if","throw","else","await","break","continue","async"],Y=["before-newline","after-newline","preserve-newline"],oe=N(Y),ie=[oe.before_newline,oe.preserve_newline],ue={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function K(F,se){se.multiline_frame||se.mode===ue.ForInitializer||se.mode===ue.Conditional||F.remove_indent(se.start_line_index)}function V(F){F=F.replace(_.allLineBreaks,`
|
|
|
`);for(var se=[],_e=F.indexOf(`
|
|
|
`);_e!==-1;)se.push(F.substring(0,_e)),F=F.substring(_e+1),_e=F.indexOf(`
|
|
|
`);return F.length&&se.push(F),se}function G(F){return F===ue.ArrayLiteral}function te(F){return D(F,[ue.Expression,ue.ForInitializer,ue.Conditional])}function q(F,se){for(var _e=0;_e<F.length;_e++){var Pe=F[_e].trim();if(Pe.charAt(0)!==se)return!1}return!0}function J(F,se){for(var _e=0,Pe=F.length,Re;_e<Pe;_e++)if(Re=F[_e],Re&&Re.indexOf(se)!==0)return!1;return!0}function le(F,se){se=se||{},this._source_text=F||"",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(se)}le.prototype.create_flags=function(F,se){var _e=0;F&&(_e=F.indentation_level,!this._output.just_added_newline()&&F.line_indent_level>_e&&(_e=F.line_indent_level));var Pe={mode:se,parent:F,last_token:F?F.last_token:new y(T.START_BLOCK,""),last_word:F?F.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:_e,alignment:0,line_indent_level:F?F.line_indent_level:_e,start_line_index:this._output.get_line_number(),ternary_depth:0};return Pe},le.prototype._reset=function(F){var se=F.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new p(this._options,se),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(ue.BlockStatement);var _e=new S(F,this._options);return this._tokens=_e.tokenize(),F},le.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var F,se=this._reset(this._source_text),_e=this._options.eol;this._options.eol==="auto"&&(_e=`
|
|
|
`,se&&_.lineBreak.test(se||"")&&(_e=se.match(_.lineBreak)[0]));for(var Pe=this._tokens.next();Pe;)this.handle_token(Pe),this._last_last_text=this._flags.last_token.text,this._flags.last_token=Pe,Pe=this._tokens.next();return F=this._output.get_code(_e),F},le.prototype.handle_token=function(F,se){F.type===T.START_EXPR?this.handle_start_expr(F):F.type===T.END_EXPR?this.handle_end_expr(F):F.type===T.START_BLOCK?this.handle_start_block(F):F.type===T.END_BLOCK?this.handle_end_block(F):F.type===T.WORD?this.handle_word(F):F.type===T.RESERVED?this.handle_word(F):F.type===T.SEMICOLON?this.handle_semicolon(F):F.type===T.STRING?this.handle_string(F):F.type===T.EQUALS?this.handle_equals(F):F.type===T.OPERATOR?this.handle_operator(F):F.type===T.COMMA?this.handle_comma(F):F.type===T.BLOCK_COMMENT?this.handle_block_comment(F,se):F.type===T.COMMENT?this.handle_comment(F,se):F.type===T.DOT?this.handle_dot(F):F.type===T.EOF?this.handle_eof(F):F.type===T.UNKNOWN?this.handle_unknown(F,se):this.handle_unknown(F,se)},le.prototype.handle_whitespace_and_comments=function(F,se){var _e=F.newlines,Pe=this._options.keep_array_indentation&&G(this._flags.mode);if(F.comments_before)for(var Re=F.comments_before.next();Re;)this.handle_whitespace_and_comments(Re,se),this.handle_token(Re,se),Re=F.comments_before.next();if(Pe)for(var He=0;He<_e;He+=1)this.print_newline(He>0,se);else if(this._options.max_preserve_newlines&&_e>this._options.max_preserve_newlines&&(_e=this._options.max_preserve_newlines),this._options.preserve_newlines&&_e>1){this.print_newline(!1,se);for(var je=1;je<_e;je+=1)this.print_newline(!0,se)}};var z=["async","break","continue","return","throw","yield"];le.prototype.allow_wrap_or_preserved_newline=function(F,se){if(se=se===void 0?!1:se,!this._output.just_added_newline()){var _e=this._options.preserve_newlines&&F.newlines||se,Pe=D(this._flags.last_token.text,L)||D(F.text,L);if(Pe){var Re=D(this._flags.last_token.text,L)&&D(this._options.operator_position,ie)||D(F.text,L);_e=_e&&Re}if(_e)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(Q(this._flags.last_token,z))return;this._output.set_wrap_point()}}},le.prototype.print_newline=function(F,se){if(!se&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==T.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var _e=this._tokens.peek();this._flags.mode===ue.Statement&&!(this._flags.if_block&&j(_e,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(F)&&(this._flags.multiline_frame=!0)},le.prototype.print_token_line_indentation=function(F){this._output.just_added_newline()&&(this._options.keep_array_indentation&&F.newlines&&(F.text==="["||G(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(F.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))},le.prototype.print_token=function(F){if(this._output.raw){this._output.add_raw_token(F);return}if(this._options.comma_first&&F.previous&&F.previous.type===T.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var se=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(se),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(F),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(F),this._output.non_breaking_space=!0,this._output.add_token(F.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},le.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},le.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))},le.prototype.set_mode=function(F){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,F),this._flags=this.create_flags(this._previous_flags,F),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},le.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===ue.Statement&&K(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},le.prototype.start_of_object_property=function(){return this._flags.parent.mode===ue.ObjectLiteral&&this._flags.mode===ue.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||Q(this._flags.last_token,["get","set"]))},le.prototype.start_of_statement=function(F){var se=!1;return se=se||Q(this._flags.last_token,["var","let","const"])&&F.type===T.WORD,se=se||j(this._flags.last_token,"do"),se=se||!(this._flags.parent.mode===ue.ObjectLiteral&&this._flags.mode===ue.Statement)&&Q(this._flags.last_token,z)&&!F.newlines,se=se||j(this._flags.last_token,"else")&&!(j(F,"if")&&!F.comments_before),se=se||this._flags.last_token.type===T.END_EXPR&&(this._previous_flags.mode===ue.ForInitializer||this._previous_flags.mode===ue.Conditional),se=se||this._flags.last_token.type===T.WORD&&this._flags.mode===ue.BlockStatement&&!this._flags.in_case&&!(F.text==="--"||F.text==="++")&&this._last_last_text!=="function"&&F.type!==T.WORD&&F.type!==T.RESERVED,se=se||this._flags.mode===ue.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||Q(this._flags.last_token,["get","set"])),se?(this.set_mode(ue.Statement),this.indent(),this.handle_whitespace_and_comments(F,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(F,Q(F,["do","for","if","while"])),!0):!1},le.prototype.handle_start_expr=function(F){this.start_of_statement(F)||this.handle_whitespace_and_comments(F);var se=ue.Expression;if(F.text==="["){if(this._flags.last_token.type===T.WORD||this._flags.last_token.text===")"){Q(this._flags.last_token,R)&&(this._output.space_before_token=!0),this.print_token(F),this.set_mode(se),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}se=ue.ArrayLiteral,G(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,[T.START_EXPR,T.END_EXPR,T.WORD,T.OPERATOR,T.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===T.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,se=ue.ForInitializer):D(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,se=ue.Conditional):D(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&F.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===T.EQUALS||this._flags.last_token.type===T.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(F);else if(this._flags.last_token.type===T.WORD){this._output.space_before_token=!1;var _e=this._tokens.peek(-3);if(this._options.space_after_named_function&&_e){var Pe=this._tokens.peek(-4);Q(_e,["async","function"])||_e.text==="*"&&Q(Pe,["async","function"])?this._output.space_before_token=!0:this._flags.mode===ue.ObjectLiteral?(_e.text==="{"||_e.text===","||_e.text==="*"&&(Pe.text==="{"||Pe.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(F);(this._flags.last_token.type===T.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===ue.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===T.START_BLOCK?this.print_newline():(this._flags.last_token.type===T.END_EXPR||this._flags.last_token.type===T.START_EXPR||this._flags.last_token.type===T.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===T.COMMA)&&this.allow_wrap_or_preserved_newline(F,F.newlines),this.print_token(F),this.set_mode(se),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},le.prototype.handle_end_expr=function(F){for(;this._flags.mode===ue.Statement;)this.restore_mode();this.handle_whitespace_and_comments(F),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(F,F.text==="]"&&G(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===T.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(F),this.restore_mode(),K(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===ue.Conditional&&(this._previous_flags.mode=ue.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},le.prototype.handle_start_block=function(F){this.handle_whitespace_and_comments(F);var se=this._tokens.peek(),_e=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===T.END_EXPR?(this.set_mode(ue.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(ue.BlockStatement):_e&&(D(_e.text,[":",","])&&D(se.type,[T.STRING,T.WORD,T.RESERVED])||D(se.text,["get","set","..."])&&D(_e.type,[T.WORD,T.RESERVED]))?D(this._last_last_text,["class","interface"])&&!D(_e.text,[":",","])?this.set_mode(ue.BlockStatement):this.set_mode(ue.ObjectLiteral):this._flags.last_token.type===T.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(ue.BlockStatement):D(this._flags.last_token.type,[T.EQUALS,T.START_EXPR,T.COMMA,T.OPERATOR])||Q(this._flags.last_token,["return","throw","import","default"])?this.set_mode(ue.ObjectLiteral):this.set_mode(ue.BlockStatement),this._flags.last_token&&Q(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var Pe=!se.comments_before&&se.text==="}",Re=Pe&&this._flags.last_word==="function"&&this._flags.last_token.type===T.END_EXPR;if(this._options.brace_preserve_inline){var He=0,je=null;this._flags.inline_frame=!0;do if(He+=1,je=this._tokens.peek(He-1),je.newlines){this._flags.inline_frame=!1;break}while(je.type!==T.EOF&&!(je.type===T.END_BLOCK&&je.opened===F))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&F.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==T.OPERATOR&&(Re||this._flags.last_token.type===T.EQUALS||Q(this._flags.last_token,X)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(G(this._previous_flags.mode)&&(this._flags.last_token.type===T.START_EXPR||this._flags.last_token.type===T.COMMA)&&((this._flags.last_token.type===T.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===T.COMMA||this._flags.last_token.type===T.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(F),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==T.OPERATOR&&this._flags.last_token.type!==T.START_EXPR&&(D(this._flags.last_token.type,[T.START_BLOCK,T.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(F),this.indent(),!Pe&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},le.prototype.handle_end_block=function(F){for(this.handle_whitespace_and_comments(F);this._flags.mode===ue.Statement;)this.restore_mode();var se=this._flags.last_token.type===T.START_BLOCK;this._flags.inline_frame&&!se?this._output.space_before_token=!0:this._options.brace_style==="expand"?se||this.print_newline():se||(G(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(F)},le.prototype.handle_word=function(F){if(F.type===T.RESERVED){if(D(F.text,["set","get"])&&this._flags.mode!==ue.ObjectLiteral)F.type=T.WORD;else if(F.text==="import"&&D(this._tokens.peek().text,["(","."]))F.type=T.WORD;else if(D(F.text,["as","from"])&&!this._flags.import_block)F.type=T.WORD;else if(this._flags.mode===ue.ObjectLiteral){var se=this._tokens.peek();se.text===":"&&(F.type=T.WORD)}}if(this.start_of_statement(F)?Q(this._flags.last_token,["var","let","const"])&&F.type===T.WORD&&(this._flags.declaration_statement=!0):F.newlines&&!te(this._flags.mode)&&(this._flags.last_token.type!==T.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==T.EQUALS&&(this._options.preserve_newlines||!Q(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(F),this.print_newline()):this.handle_whitespace_and_comments(F),this._flags.do_block&&!this._flags.do_while)if(j(F,"while")){this._output.space_before_token=!0,this.print_token(F),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&&j(F,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===ue.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&Q(F,["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(F),this._flags.in_case=!0;return}if((this._flags.last_token.type===T.COMMA||this._flags.last_token.type===T.START_EXPR||this._flags.last_token.type===T.EQUALS||this._flags.last_token.type===T.OPERATOR)&&!this.start_of_object_property()&&!(D(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===ue.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(F),j(F,"function")){(D(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(D(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===T.OPERATOR))&&!this._output.just_added_blankline()&&!F.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===T.RESERVED||this._flags.last_token.type===T.WORD?Q(this._flags.last_token,["get","set","new","export"])||Q(this._flags.last_token,z)?this._output.space_before_token=!0:j(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===T.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(te(this._flags.mode)||G(this._flags.mode))||this.print_newline(),this.print_token(F),this._flags.last_word=F.text;return}var _e="NONE";if(this._flags.last_token.type===T.END_BLOCK?this._previous_flags.inline_frame?_e="SPACE":Q(F,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&F.newlines?_e="NEWLINE":(_e="SPACE",this._output.space_before_token=!0):_e="NEWLINE":this._flags.last_token.type===T.SEMICOLON&&this._flags.mode===ue.BlockStatement?_e="NEWLINE":this._flags.last_token.type===T.SEMICOLON&&te(this._flags.mode)?_e="SPACE":this._flags.last_token.type===T.STRING?_e="NEWLINE":this._flags.last_token.type===T.RESERVED||this._flags.last_token.type===T.WORD||this._flags.last_token.text==="*"&&(D(this._last_last_text,["function","yield"])||this._flags.mode===ue.ObjectLiteral&&D(this._last_last_text,["{",","]))?_e="SPACE":this._flags.last_token.type===T.START_BLOCK?this._flags.inline_frame?_e="SPACE":_e="NEWLINE":this._flags.last_token.type===T.END_EXPR&&(this._output.space_before_token=!0,_e="NEWLINE"),Q(F,R)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?_e="SPACE":_e="NEWLINE"),Q(F,["else","catch","finally"]))if((!(this._flags.last_token.type===T.END_BLOCK&&this._previous_flags.mode===ue.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&F.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var Pe=this._output.current_line;Pe.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else _e==="NEWLINE"?Q(this._flags.last_token,X)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&Q(F,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==T.END_EXPR?(this._flags.last_token.type!==T.START_EXPR||!Q(F,["var","let","const"]))&&this._flags.last_token.text!==":"&&(j(F,"if")&&j(F.previous,"else")?this._output.space_before_token=!0:this.print_newline()):Q(F,R)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&G(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():_e==="SPACE"&&(this._output.space_before_token=!0);F.previous&&(F.previous.type===T.WORD||F.previous.type===T.RESERVED)&&(this._output.space_before_token=!0),this.print_token(F),this._flags.last_word=F.text,F.type===T.RESERVED&&(F.text==="do"?this._flags.do_block=!0:F.text==="if"?this._flags.if_block=!0:F.text==="import"?this._flags.import_block=!0:this._flags.import_block&&j(F,"from")&&(this._flags.import_block=!1))},le.prototype.handle_semicolon=function(F){this.start_of_statement(F)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(F);for(var se=this._tokens.peek();this._flags.mode===ue.Statement&&!(this._flags.if_block&&j(se,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(F)},le.prototype.handle_string=function(F){F.text.startsWith("`")&&F.newlines===0&&F.whitespace_before===""&&(F.previous.text===")"||this._flags.last_token.type===T.WORD)||(this.start_of_statement(F)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(F),this._flags.last_token.type===T.RESERVED||this._flags.last_token.type===T.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===T.COMMA||this._flags.last_token.type===T.START_EXPR||this._flags.last_token.type===T.EQUALS||this._flags.last_token.type===T.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(F):F.text.startsWith("`")&&this._flags.last_token.type===T.END_EXPR&&(F.previous.text==="]"||F.previous.text===")")&&F.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(F)},le.prototype.handle_equals=function(F){this.start_of_statement(F)||this.handle_whitespace_and_comments(F),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(F),this._output.space_before_token=!0},le.prototype.handle_comma=function(F){this.handle_whitespace_and_comments(F,!0),this.print_token(F),this._output.space_before_token=!0,this._flags.declaration_statement?(te(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(F)):this._flags.mode===ue.ObjectLiteral||this._flags.mode===ue.Statement&&this._flags.parent.mode===ue.ObjectLiteral?(this._flags.mode===ue.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(F)},le.prototype.handle_operator=function(F){var se=F.text==="*"&&(Q(this._flags.last_token,["function","yield"])||D(this._flags.last_token.type,[T.START_BLOCK,T.COMMA,T.END_BLOCK,T.SEMICOLON])),_e=D(F.text,["-","+"])&&(D(this._flags.last_token.type,[T.START_BLOCK,T.START_EXPR,T.EQUALS,T.OPERATOR])||D(this._flags.last_token.text,R)||this._flags.last_token.text===",");if(!this.start_of_statement(F)){var Pe=!se;this.handle_whitespace_and_comments(F,Pe)}if(F.text==="*"&&this._flags.last_token.type===T.DOT){this.print_token(F);return}if(F.text==="::"){this.print_token(F);return}if(D(F.text,["-","+"])&&this.start_of_object_property()){this.print_token(F);return}if(this._flags.last_token.type===T.OPERATOR&&D(this._options.operator_position,ie)&&this.allow_wrap_or_preserved_newline(F),F.text===":"&&this._flags.in_case){this.print_token(F),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==T.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 Re=!0,He=!0,je=!1;if(F.text===":"?this._flags.ternary_depth===0?Re=!1:(this._flags.ternary_depth-=1,je=!0):F.text==="?"&&(this._flags.ternary_depth+=1),!_e&&!se&&this._options.preserve_newlines&&D(F.text,L)){var Zt=F.text===":",yt=Zt&&je,Dt=Zt&&!je;switch(this._options.operator_position){case oe.before_newline:this._output.space_before_token=!Dt,this.print_token(F),(!Zt||yt)&&this.allow_wrap_or_preserved_newline(F),this._output.space_before_token=!0;return;case oe.after_newline:this._output.space_before_token=!0,!Zt||yt?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(F):this._output.space_before_token=!1,this.print_token(F),this._output.space_before_token=!0;return;case oe.preserve_newline:Dt||this.allow_wrap_or_preserved_newline(F),Re=!(this._output.just_added_newline()||Dt),this._output.space_before_token=Re,this.print_token(F),this._output.space_before_token=!0;return}}if(se){this.allow_wrap_or_preserved_newline(F),Re=!1;var Qt=this._tokens.peek();He=Qt&&D(Qt.type,[T.WORD,T.RESERVED])}else if(F.text==="...")this.allow_wrap_or_preserved_newline(F),Re=this._flags.last_token.type===T.START_BLOCK,He=!1;else if(D(F.text,["--","++","!","~"])||_e){if((this._flags.last_token.type===T.COMMA||this._flags.last_token.type===T.START_EXPR)&&this.allow_wrap_or_preserved_newline(F),Re=!1,He=!1,F.newlines&&(F.text==="--"||F.text==="++"||F.text==="~")){var Jt=Q(this._flags.last_token,X)&&F.newlines;Jt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Jt,!0)}this._flags.last_token.text===";"&&te(this._flags.mode)&&(Re=!0),this._flags.last_token.type===T.RESERVED?Re=!0:this._flags.last_token.type===T.END_EXPR?Re=!(this._flags.last_token.text==="]"&&(F.text==="--"||F.text==="++")):this._flags.last_token.type===T.OPERATOR&&(Re=D(F.text,["--","-","++","+"])&&D(this._flags.last_token.text,["--","-","++","+"]),D(F.text,["+","-"])&&D(this._flags.last_token.text,["--","++"])&&(He=!0)),(this._flags.mode===ue.BlockStatement&&!this._flags.inline_frame||this._flags.mode===ue.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Re,this.print_token(F),this._output.space_before_token=He},le.prototype.handle_block_comment=function(F,se){if(this._output.raw){this._output.add_raw_token(F),F.directives&&F.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(F.directives){this.print_newline(!1,se),this.print_token(F),F.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!_.newline.test(F.text)&&!F.newlines){this._output.space_before_token=!0,this.print_token(F),this._output.space_before_token=!0;return}else this.print_block_commment(F,se)},le.prototype.print_block_commment=function(F,se){var _e=V(F.text),Pe,Re=!1,He=!1,je=F.whitespace_before,Zt=je.length;if(this.print_newline(!1,se),this.print_token_line_indentation(F),this._output.add_token(_e[0]),this.print_newline(!1,se),_e.length>1){for(_e=_e.slice(1),Re=q(_e,"*"),He=J(_e,je),Re&&(this._flags.alignment=1),Pe=0;Pe<_e.length;Pe++)Re?(this.print_token_line_indentation(F),this._output.add_token(M(_e[Pe]))):He&&_e[Pe]?(this.print_token_line_indentation(F),this._output.add_token(_e[Pe].substring(Zt))):(this._output.current_line.set_indent(-1),this._output.add_token(_e[Pe])),this.print_newline(!1,se);this._flags.alignment=0}},le.prototype.handle_comment=function(F,se){F.newlines?this.print_newline(!1,se):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(F),this.print_newline(!1,se)},le.prototype.handle_dot=function(F){this.start_of_statement(F)||this.handle_whitespace_and_comments(F,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),Q(this._flags.last_token,X)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(F,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(F)},le.prototype.handle_unknown=function(F,se){this.print_token(F),F.text[F.text.length-1]===`
|
|
|
`&&this.print_newline(!1,se)},le.prototype.handle_eof=function(F){for(;this._flags.mode===ue.Statement;)this.restore_mode();this.handle_whitespace_and_comments(F)},u.exports.Beautifier=le},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 T(q,J){return J.indexOf(q)!==-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},M=new b(/\/\*/,/\*\//),N=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,j=/[0-9]/,Q=/[^\d\.]/,X=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),Y=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";Y=Y.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),Y="\\?\\.(?!\\d) "+Y,Y=Y.replace(/ /g,"|");var oe=new RegExp(Y),ie="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),ue=ie.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),K=new RegExp("^(?:"+ue.join("|")+")$"),V,G=function(q,J){y.call(this,q,J),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var le=new R(this._input),z=new L(this._input).read_options(this._options);this.__patterns={template:z,identifier:z.starting_with(S.identifier).matching(S.identifierMatch),number:le.matching(N),punct:le.matching(oe),comment:le.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:le.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:le.matching(/<!--/),html_comment_end:le.matching(/-->/),include:le.starting_with(/#include/).until_after(S.lineBreak),shebang:le.starting_with(/#!/).until_after(S.lineBreak),xml:le.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:z.until(/['\\\n\r\u2028\u2029]/),double_quote:z.until(/["\\\n\r\u2028\u2029]/),template_text:z.until(/[`\\$]/),template_expression:z.until(/[`}\\]/)}};G.prototype=new y,G.prototype._is_comment=function(q){return q.type===D.COMMENT||q.type===D.BLOCK_COMMENT||q.type===D.UNKNOWN},G.prototype._is_opening=function(q){return q.type===D.START_BLOCK||q.type===D.START_EXPR},G.prototype._is_closing=function(q,J){return(q.type===D.END_BLOCK||q.type===D.END_EXPR)&&J&&(q.text==="]"&&J.text==="["||q.text===")"&&J.text==="("||q.text==="}"&&J.text==="{")},G.prototype._reset=function(){V=!1},G.prototype._get_next_token=function(q,J){var le=null;this._readWhitespace();var z=this._input.peek();return z===null?this._create_token(D.EOF,""):(le=le||this._read_non_javascript(z),le=le||this._read_string(z),le=le||this._read_pair(z,this._input.peek(1)),le=le||this._read_word(q),le=le||this._read_singles(z),le=le||this._read_comment(z),le=le||this._read_regexp(z,q),le=le||this._read_xml(z,q),le=le||this._read_punctuation(),le=le||this._create_token(D.UNKNOWN,this._input.next()),le)},G.prototype._read_word=function(q){var J;if(J=this.__patterns.identifier.read(),J!=="")return J=J.replace(S.allLineBreaks,`
|
|
|
`),!(q.type===D.DOT||q.type===D.RESERVED&&(q.text==="set"||q.text==="get"))&&K.test(J)?(J==="in"||J==="of")&&(q.type===D.WORD||q.type===D.STRING)?this._create_token(D.OPERATOR,J):this._create_token(D.RESERVED,J):this._create_token(D.WORD,J);if(J=this.__patterns.number.read(),J!=="")return this._create_token(D.WORD,J)},G.prototype._read_singles=function(q){var J=null;return q==="("||q==="["?J=this._create_token(D.START_EXPR,q):q===")"||q==="]"?J=this._create_token(D.END_EXPR,q):q==="{"?J=this._create_token(D.START_BLOCK,q):q==="}"?J=this._create_token(D.END_BLOCK,q):q===";"?J=this._create_token(D.SEMICOLON,q):q==="."&&Q.test(this._input.peek(1))?J=this._create_token(D.DOT,q):q===","&&(J=this._create_token(D.COMMA,q)),J&&this._input.next(),J},G.prototype._read_pair=function(q,J){var le=null;return q==="#"&&J==="{"&&(le=this._create_token(D.START_BLOCK,q+J)),le&&(this._input.next(),this._input.next()),le},G.prototype._read_punctuation=function(){var q=this.__patterns.punct.read();if(q!=="")return q==="="?this._create_token(D.EQUALS,q):q==="?."?this._create_token(D.DOT,q):this._create_token(D.OPERATOR,q)},G.prototype._read_non_javascript=function(q){var J="";if(q==="#"){if(this._is_first_token()&&(J=this.__patterns.shebang.read(),J))return this._create_token(D.UNKNOWN,J.trim()+`
|
|
|
`);if(J=this.__patterns.include.read(),J)return this._create_token(D.UNKNOWN,J.trim()+`
|
|
|
`);q=this._input.next();var le="#";if(this._input.hasNext()&&this._input.testChar(j)){do q=this._input.next(),le+=q;while(this._input.hasNext()&&q!=="#"&&q!=="=");return q==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(le+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(le+="{}",this._input.next(),this._input.next())),this._create_token(D.WORD,le)}this._input.back()}else if(q==="<"&&this._is_first_token()){if(J=this.__patterns.html_comment_start.read(),J){for(;this._input.hasNext()&&!this._input.testChar(S.newline);)J+=this._input.next();return V=!0,this._create_token(D.COMMENT,J)}}else if(V&&q==="-"&&(J=this.__patterns.html_comment_end.read(),J))return V=!1,this._create_token(D.COMMENT,J);return null},G.prototype._read_comment=function(q){var J=null;if(q==="/"){var le="";if(this._input.peek(1)==="*"){le=this.__patterns.block_comment.read();var z=M.get_directives(le);z&&z.ignore==="start"&&(le+=M.readIgnored(this._input)),le=le.replace(S.allLineBreaks,`
|
|
|
`),J=this._create_token(D.BLOCK_COMMENT,le),J.directives=z}else this._input.peek(1)==="/"&&(le=this.__patterns.comment.read(),J=this._create_token(D.COMMENT,le))}return J},G.prototype._read_string=function(q){if(q==="`"||q==="'"||q==='"'){var J=this._input.next();return this.has_char_escapes=!1,q==="`"?J+=this._read_string_recursive("`",!0,"${"):J+=this._read_string_recursive(q),this.has_char_escapes&&this._options.unescape_strings&&(J=te(J)),this._input.peek()===q&&(J+=this._input.next()),J=J.replace(S.allLineBreaks,`
|
|
|
`),this._create_token(D.STRING,J)}return null},G.prototype._allow_regexp_or_xml=function(q){return q.type===D.RESERVED&&T(q.text,["return","case","throw","else","do","typeof","yield"])||q.type===D.END_EXPR&&q.text===")"&&q.opened.previous.type===D.RESERVED&&T(q.opened.previous.text,["if","while","for"])||T(q.type,[D.COMMENT,D.START_EXPR,D.START_BLOCK,D.START,D.END_BLOCK,D.OPERATOR,D.EQUALS,D.EOF,D.SEMICOLON,D.COMMA])},G.prototype._read_regexp=function(q,J){if(q==="/"&&this._allow_regexp_or_xml(J)){for(var le=this._input.next(),z=!1,F=!1;this._input.hasNext()&&(z||F||this._input.peek()!==q)&&!this._input.testChar(S.newline);)le+=this._input.peek(),z?z=!1:(z=this._input.peek()==="\\",this._input.peek()==="["?F=!0:this._input.peek()==="]"&&(F=!1)),this._input.next();return this._input.peek()===q&&(le+=this._input.next(),le+=this._input.read(S.identifier)),this._create_token(D.STRING,le)}return null},G.prototype._read_xml=function(q,J){if(this._options.e4x&&q==="<"&&this._allow_regexp_or_xml(J)){var le="",z=this.__patterns.xml.read_match();if(z){for(var F=z[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),se=F.indexOf("{")===0,_e=0;z;){var Pe=!!z[1],Re=z[2],He=!!z[z.length-1]||Re.slice(0,8)==="![CDATA[";if(!He&&(Re===F||se&&Re.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(Pe?--_e:++_e),le+=z[0],_e<=0)break;z=this.__patterns.xml.read_match()}return z||(le+=this._input.match(/[\s\S]*/g)[0]),le=le.replace(S.allLineBreaks,`
|
|
|
`),this._create_token(D.STRING,le)}}return null};function te(q){for(var J="",le=0,z=new p(q),F=null;z.hasNext();)if(F=z.match(/([\s]|[^\\]|\\\\)+/g),F&&(J+=F[0]),z.peek()==="\\"){if(z.next(),z.peek()==="x")F=z.match(/x([0-9A-Fa-f]{2})/g);else if(z.peek()==="u")F=z.match(/u([0-9A-Fa-f]{4})/g),F||(F=z.match(/u\{([0-9A-Fa-f]+)\}/g));else{J+="\\",z.hasNext()&&(J+=z.next());continue}if(!F||(le=parseInt(F[1],16),le>126&&le<=255&&F[0].indexOf("x")===0))return q;le>=0&&le<32||le>1114111?J+="\\"+F[0]:le===34||le===39||le===92?J+="\\"+String.fromCharCode(le):J+=String.fromCharCode(le)}return J}G.prototype._read_string_recursive=function(q,J,le){var z,F;q==="'"?F=this.__patterns.single_quote:q==='"'?F=this.__patterns.double_quote:q==="`"?F=this.__patterns.template_text:q==="}"&&(F=this.__patterns.template_expression);for(var se=F.read(),_e="";this._input.hasNext();){if(_e=this._input.next(),_e===q||!J&&S.newline.test(_e)){this._input.back();break}else _e==="\\"&&this._input.hasNext()?(z=this._input.peek(),z==="x"||z==="u"?this.has_char_escapes=!0:z==="\r"&&this._input.peek(1)===`
|
|
|
`&&this._input.next(),_e+=this._input.next()):le&&(le==="${"&&_e==="$"&&this._input.peek()==="{"&&(_e+=this._input.next()),le===_e&&(q==="`"?_e+=this._read_string_recursive("}",J,"`"):_e+=this._read_string_recursive("`",J,"${"),this._input.hasNext()&&(_e+=this._input.next())));_e+=F.read(),se+=_e}return se},u.exports.Tokenizer=G,u.exports.TOKEN=D,u.exports.positionable_operators=X.slice(),u.exports.line_starters=ie.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,T){this._input=new p(L),this._options=T||{},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,T=new y(S.START,""),D=null,M=[],N=new _;T.type!==S.EOF;){for(L=this._get_next_token(T,D);this._is_comment(L);)N.add(L),L=this._get_next_token(T,D);N.isEmpty()||(L.comments_before=N,N=new _),L.parent=D,this._is_opening(L)?(M.push(D),D=L):D&&this._is_closing(L,D)&&(L.opened=D,D.closed=L,D=M.pop(),L.parent=D),L.previous=T,T.next=L,this.__tokens.add(L),T=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,T){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,T){return!1},R.prototype._create_token=function(L,T){var D=new y(L,T,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(v,e),r!==void 0&&(d.exports=r)})()},15342:function(d){(function(e,r){d.exports=r()})(typeof self!="undefined"?self:this,function(){return function(v){var e={};function r(i){if(e[i])return e[i].exports;var l=e[i]={i,l:!1,exports:{}};return v[i].call(l.exports,l,l.exports,r),l.l=!0,l.exports}return r.m=v,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(v,e,r){},function(v,e,r){"use strict";r.r(e);var i=r(0),l=function(){function Ve(W,ee,ne){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=W,this.start=ee,this.end=ne}return Ve.range=function(ee,ne){return ne?!ee||!ee.loc||!ne.loc||ee.loc.lexer!==ne.loc.lexer?null:new Ve(ee.loc.lexer,ee.loc.start,ne.loc.end):ee&&ee.loc},Ve}(),c=function(){function Ve(ee,ne){this.text=void 0,this.loc=void 0,this.text=ee,this.loc=ne}var W=Ve.prototype;return W.range=function(ne,he){return new Ve(he,l.range(this,ne))},Ve}(),f=function Ve(W,ee){this.position=void 0;var ne="KaTeX parse error: "+W,he,Ae=ee&&ee.loc;if(Ae&&Ae.start<=Ae.end){var Ge=Ae.lexer.input;he=Ae.start;var bt=Ae.end;he===Ge.length?ne+=" at end of input: ":ne+=" at position "+(he+1)+": ";var Mt=Ge.slice(he,bt).replace(/[^]/g,"$&\u0332"),nr;he>15?nr="\u2026"+Ge.slice(he-15,he):nr=Ge.slice(0,he);var Tr;bt+15<Ge.length?Tr=Ge.slice(bt,bt+15)+"\u2026":Tr=Ge.slice(bt),ne+=nr+Mt+Tr}var Hr=new Error(ne);return Hr.name="ParseError",Hr.__proto__=Ve.prototype,Hr.position=he,Hr};f.prototype.__proto__=Error.prototype;var s=f,h=function(W,ee){return W.indexOf(ee)!==-1},u=function(W,ee){return W===void 0?ee:W},a=/([A-Z])/g,x=function(W){return W.replace(a,"-$1").toLowerCase()},p={"&":"&",">":">","<":"<",'"':""","'":"'"},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 ee=b(W);return ee.type==="mathord"||ee.type==="textord"||ee.type==="atom"},R=function(W){if(!W)throw new Error("Expected non-null, but got "+String(W));return W},L=function(W){var ee=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(W);return ee!=null?ee[1]:"_relative"},T={contains:h,deflt:u,escape:_,hyphenate:x,getBaseElem:b,isCharacterBox:S,protocolFromUrl:L},D=function(){function Ve(ee){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,ee=ee||{},this.displayMode=T.deflt(ee.displayMode,!1),this.output=T.deflt(ee.output,"htmlAndMathml"),this.leqno=T.deflt(ee.leqno,!1),this.fleqn=T.deflt(ee.fleqn,!1),this.throwOnError=T.deflt(ee.throwOnError,!0),this.errorColor=T.deflt(ee.errorColor,"#cc0000"),this.macros=ee.macros||{},this.minRuleThickness=Math.max(0,T.deflt(ee.minRuleThickness,0)),this.colorIsTextColor=T.deflt(ee.colorIsTextColor,!1),this.strict=T.deflt(ee.strict,"warn"),this.trust=T.deflt(ee.trust,!1),this.maxSize=Math.max(0,T.deflt(ee.maxSize,1/0)),this.maxExpand=Math.max(0,T.deflt(ee.maxExpand,1e3))}var W=Ve.prototype;return W.reportNonstrict=function(ne,he,Ae){var Ge=this.strict;if(typeof Ge=="function"&&(Ge=Ge(ne,he,Ae)),!(!Ge||Ge==="ignore")){if(Ge===!0||Ge==="error")throw new s("LaTeX-incompatible input and strict mode is set to 'error': "+(he+" ["+ne+"]"),Ae);Ge==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(he+" ["+ne+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ge+"': "+he+" ["+ne+"]"))}},W.useStrictBehavior=function(ne,he,Ae){var Ge=this.strict;if(typeof Ge=="function")try{Ge=Ge(ne,he,Ae)}catch(bt){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': "+(he+" ["+ne+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ge+"': "+he+" ["+ne+"]")),!1)},W.isTrusted=function(ne){ne.url&&!ne.protocol&&(ne.protocol=T.protocolFromUrl(ne.url));var he=typeof this.trust=="function"?this.trust(ne):this.trust;return!!he},Ve}(),M=function(){function Ve(ee,ne,he){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=ee,this.size=ne,this.cramped=he}var W=Ve.prototype;return W.sup=function(){return K[V[this.id]]},W.sub=function(){return K[G[this.id]]},W.fracNum=function(){return K[te[this.id]]},W.fracDen=function(){return K[q[this.id]]},W.cramp=function(){return K[J[this.id]]},W.text=function(){return K[le[this.id]]},W.isTight=function(){return this.size>=2},Ve}(),N=0,j=1,Q=2,X=3,Y=4,oe=5,ie=6,ue=7,K=[new M(N,0,!1),new M(j,0,!0),new M(Q,1,!1),new M(X,1,!0),new M(Y,2,!1),new M(oe,2,!0),new M(ie,3,!1),new M(ue,3,!0)],V=[Y,oe,Y,oe,ie,ue,ie,ue],G=[oe,oe,oe,oe,ue,ue,ue,ue],te=[Q,X,Y,oe,ie,ue,ie,ue],q=[X,X,oe,oe,ue,ue,ue,ue],J=[j,j,X,X,oe,oe,ue,ue],le=[N,j,Q,X,Q,X,Q,X],z={DISPLAY:K[N],TEXT:K[Q],SCRIPT:K[Y],SCRIPTSCRIPT:K[ie]},F=[{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 se(Ve){for(var W=0;W<F.length;W++)for(var ee=F[W],ne=0;ne<ee.blocks.length;ne++){var he=ee.blocks[ne];if(Ve>=he[0]&&Ve<=he[1])return ee.name}return null}var _e=[];F.forEach(function(Ve){return Ve.blocks.forEach(function(W){return _e.push.apply(_e,W)})});function Pe(Ve){for(var W=0;W<_e.length;W+=2)if(Ve>=_e[W]&&Ve<=_e[W+1])return!0;return!1}var Re=80,He=function(W,ee){return"M95,"+(622+W+ee)+`
|
|
|
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)+" "+ee+"h400000v"+(40+W)+"h-400000z"},je=function(W,ee){return"M263,"+(601+W+ee)+`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)+" "+ee+"h400000v"+(40+W)+"h-400000z"},Zt=function(W,ee){return"M983 "+(10+W+ee)+`
|
|
|
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)+" "+ee+"h400000v"+(40+W)+"h-400000z"},yt=function(W,ee){return"M424,"+(2398+W+ee)+`
|
|
|
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)+" "+ee+`
|
|
|
h400000v`+(40+W)+"h-400000z"},Dt=function(W,ee){return"M473,"+(2713+W+ee)+`
|
|
|
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)+" "+ee+"h400000v"+(40+W)+"H1017.7z"},Qt=function(W,ee,ne){var he=ne-54-ee-W;return"M702 "+(W+ee)+"H400000"+(40+W)+`
|
|
|
H742v`+he+`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 `+ee+"H400000v"+(40+W)+"H742z"},Jt=function(W,ee,ne){ee=1e3*ee;var he="";switch(W){case"sqrtMain":he=He(ee,Re);break;case"sqrtSize1":he=je(ee,Re);break;case"sqrtSize2":he=Zt(ee,Re);break;case"sqrtSize3":he=yt(ee,Re);break;case"sqrtSize4":he=Dt(ee,Re);break;case"sqrtTall":he=Qt(ee,Re,ne)}return he},qt={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(ee){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=ee,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var W=Ve.prototype;return W.hasClass=function(ne){return T.contains(this.classes,ne)},W.toNode=function(){for(var ne=document.createDocumentFragment(),he=0;he<this.children.length;he++)ne.appendChild(this.children[he].toNode());return ne},W.toMarkup=function(){for(var ne="",he=0;he<this.children.length;he++)ne+=this.children[he].toMarkup();return ne},W.toText=function(){var ne=function(Ae){return Ae.toText()};return this.children.map(ne).join("")},Ve}(),Tt=function(W){return W.filter(function(ee){return ee}).join(" ")},jt=function(W,ee,ne){if(this.classes=W||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=ne||{},ee){ee.style.isTight()&&this.classes.push("mtight");var he=ee.getColor();he&&(this.style.color=he)}},st=function(W){var ee=document.createElement(W);ee.className=Tt(this.classes);for(var ne in this.style)this.style.hasOwnProperty(ne)&&(ee.style[ne]=this.style[ne]);for(var he in this.attributes)this.attributes.hasOwnProperty(he)&&ee.setAttribute(he,this.attributes[he]);for(var Ae=0;Ae<this.children.length;Ae++)ee.appendChild(this.children[Ae].toNode());return ee},gt=function(W){var ee="<"+W;this.classes.length&&(ee+=' class="'+T.escape(Tt(this.classes))+'"');var ne="";for(var he in this.style)this.style.hasOwnProperty(he)&&(ne+=T.hyphenate(he)+":"+this.style[he]+";");ne&&(ee+=' style="'+T.escape(ne)+'"');for(var Ae in this.attributes)this.attributes.hasOwnProperty(Ae)&&(ee+=" "+Ae+'="'+T.escape(this.attributes[Ae])+'"');ee+=">";for(var Ge=0;Ge<this.children.length;Ge++)ee+=this.children[Ge].toMarkup();return ee+="</"+W+">",ee},dt=function(){function Ve(ee,ne,he,Ae){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,jt.call(this,ee,he,Ae),this.children=ne||[]}var W=Ve.prototype;return W.setAttribute=function(ne,he){this.attributes[ne]=he},W.hasClass=function(ne){return T.contains(this.classes,ne)},W.toNode=function(){return st.call(this,"span")},W.toMarkup=function(){return gt.call(this,"span")},Ve}(),Je=function(){function Ve(ee,ne,he,Ae){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,jt.call(this,ne,Ae),this.children=he||[],this.setAttribute("href",ee)}var W=Ve.prototype;return W.setAttribute=function(ne,he){this.attributes[ne]=he},W.hasClass=function(ne){return T.contains(this.classes,ne)},W.toNode=function(){return st.call(this,"a")},W.toMarkup=function(){return gt.call(this,"a")},Ve}(),Ue=function(){function Ve(ee,ne,he){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=ne,this.src=ee,this.classes=["mord"],this.style=he}var W=Ve.prototype;return W.hasClass=function(ne){return T.contains(this.classes,ne)},W.toNode=function(){var ne=document.createElement("img");ne.src=this.src,ne.alt=this.alt,ne.className="mord";for(var he in this.style)this.style.hasOwnProperty(he)&&(ne.style[he]=this.style[he]);return ne},W.toMarkup=function(){var ne="<img src='"+this.src+" 'alt='"+this.alt+"' ",he="";for(var Ae in this.style)this.style.hasOwnProperty(Ae)&&(he+=T.hyphenate(Ae)+":"+this.style[Ae]+";");return he&&(ne+=' style="'+T.escape(he)+'"'),ne+="'/>",ne},Ve}(),ge={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Se=function(){function Ve(ee,ne,he,Ae,Ge,bt,Mt,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=ee,this.height=ne||0,this.depth=he||0,this.italic=Ae||0,this.skew=Ge||0,this.width=bt||0,this.classes=Mt||[],this.style=nr||{},this.maxFontSize=0;var Tr=se(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(ne){return T.contains(this.classes,ne)},W.toNode=function(){var ne=document.createTextNode(this.text),he=null;this.italic>0&&(he=document.createElement("span"),he.style.marginRight=this.italic+"em"),this.classes.length>0&&(he=he||document.createElement("span"),he.className=Tt(this.classes));for(var Ae in this.style)this.style.hasOwnProperty(Ae)&&(he=he||document.createElement("span"),he.style[Ae]=this.style[Ae]);return he?(he.appendChild(ne),he):ne},W.toMarkup=function(){var ne=!1,he="<span";this.classes.length&&(ne=!0,he+=' class="',he+=T.escape(Tt(this.classes)),he+='"');var Ae="";this.italic>0&&(Ae+="margin-right:"+this.italic+"em;");for(var Ge in this.style)this.style.hasOwnProperty(Ge)&&(Ae+=T.hyphenate(Ge)+":"+this.style[Ge]+";");Ae&&(ne=!0,he+=' style="'+T.escape(Ae)+'"');var bt=T.escape(this.text);return ne?(he+=">",he+=bt,he+="</span>",he):bt},Ve}(),Me=function(){function Ve(ee,ne){this.children=void 0,this.attributes=void 0,this.children=ee||[],this.attributes=ne||{}}var W=Ve.prototype;return W.toNode=function(){var ne="http://www.w3.org/2000/svg",he=document.createElementNS(ne,"svg");for(var Ae in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ae)&&he.setAttribute(Ae,this.attributes[Ae]);for(var Ge=0;Ge<this.children.length;Ge++)he.appendChild(this.children[Ge].toNode());return he},W.toMarkup=function(){var ne="<svg";for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ne+=" "+he+"='"+this.attributes[he]+"'");ne+=">";for(var Ae=0;Ae<this.children.length;Ae++)ne+=this.children[Ae].toMarkup();return ne+="</svg>",ne},Ve}(),$e=function(){function Ve(ee,ne){this.pathName=void 0,this.alternate=void 0,this.pathName=ee,this.alternate=ne}var W=Ve.prototype;return W.toNode=function(){var ne="http://www.w3.org/2000/svg",he=document.createElementNS(ne,"path");return this.alternate?he.setAttribute("d",this.alternate):he.setAttribute("d",qt[this.pathName]),he},W.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+qt[this.pathName]+"'/>"},Ve}(),We=function(){function Ve(ee){this.attributes=void 0,this.attributes=ee||{}}var W=Ve.prototype;return W.toNode=function(){var ne="http://www.w3.org/2000/svg",he=document.createElementNS(ne,"line");for(var Ae in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ae)&&he.setAttribute(Ae,this.attributes[Ae]);return he},W.toMarkup=function(){var ne="<line";for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ne+=" "+he+"='"+this.attributes[he]+"'");return ne+="/>",ne},Ve}();function nt(Ve){if(Ve instanceof Se)return Ve;throw new Error("Expected symbolNode but got "+String(Ve)+".")}function lt(Ve){if(Ve instanceof dt)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]}},Ht={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]},Ie={\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,ee){if(!Vt[W])throw new Error("Font metrics not found for font: "+W+".");var ne=Ve.charCodeAt(0),he=Vt[W][ne];if(!he&&Ve[0]in Ie&&(ne=Ie[Ve[0]].charCodeAt(0),he=Vt[W][ne]),!he&&ee==="text"&&Pe(ne)&&(he=Vt[W][77]),he)return{depth:he[0],height:he[1],italic:he[2],skew:he[3],width:he[4]}}var Ot={};function zt(Ve){var W;if(Ve>=5?W=0:Ve>=3?W=1:W=2,!Ot[W]){var ee=Ot[W]={cssEmPerMu:Ht.quad[W]/18};for(var ne in Ht)Ht.hasOwnProperty(ne)&&(ee[ne]=Ht[ne][W])}return Ot[W]}var $t={bin:1,close:1,inner:1,open:1,punct:1,rel:1},tr={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Wt={math:{},text:{}},Fe=Wt;function fe(Ve,W,ee,ne,he,Ae){Wt[Ve][he]={font:W,group:ee,replace:ne},Ae&&ne&&(Wt[Ve][ne]=Wt[Ve][he])}var pe="math",Pt="text",Ce="main",ft="ams",Ut="accent-token",At="bin",Oe="close",wt="inner",be="mathord",Ke="op-token",mt="open",kt="punct",Be="rel",kr="spacing",St="textord";fe(pe,Ce,Be,"\u2261","\\equiv",!0),fe(pe,Ce,Be,"\u227A","\\prec",!0),fe(pe,Ce,Be,"\u227B","\\succ",!0),fe(pe,Ce,Be,"\u223C","\\sim",!0),fe(pe,Ce,Be,"\u22A5","\\perp"),fe(pe,Ce,Be,"\u2AAF","\\preceq",!0),fe(pe,Ce,Be,"\u2AB0","\\succeq",!0),fe(pe,Ce,Be,"\u2243","\\simeq",!0),fe(pe,Ce,Be,"\u2223","\\mid",!0),fe(pe,Ce,Be,"\u226A","\\ll",!0),fe(pe,Ce,Be,"\u226B","\\gg",!0),fe(pe,Ce,Be,"\u224D","\\asymp",!0),fe(pe,Ce,Be,"\u2225","\\parallel"),fe(pe,Ce,Be,"\u22C8","\\bowtie",!0),fe(pe,Ce,Be,"\u2323","\\smile",!0),fe(pe,Ce,Be,"\u2291","\\sqsubseteq",!0),fe(pe,Ce,Be,"\u2292","\\sqsupseteq",!0),fe(pe,Ce,Be,"\u2250","\\doteq",!0),fe(pe,Ce,Be,"\u2322","\\frown",!0),fe(pe,Ce,Be,"\u220B","\\ni",!0),fe(pe,Ce,Be,"\u221D","\\propto",!0),fe(pe,Ce,Be,"\u22A2","\\vdash",!0),fe(pe,Ce,Be,"\u22A3","\\dashv",!0),fe(pe,Ce,Be,"\u220B","\\owns"),fe(pe,Ce,kt,".","\\ldotp"),fe(pe,Ce,kt,"\u22C5","\\cdotp"),fe(pe,Ce,St,"#","\\#"),fe(Pt,Ce,St,"#","\\#"),fe(pe,Ce,St,"&","\\&"),fe(Pt,Ce,St,"&","\\&"),fe(pe,Ce,St,"\u2135","\\aleph",!0),fe(pe,Ce,St,"\u2200","\\forall",!0),fe(pe,Ce,St,"\u210F","\\hbar",!0),fe(pe,Ce,St,"\u2203","\\exists",!0),fe(pe,Ce,St,"\u2207","\\nabla",!0),fe(pe,Ce,St,"\u266D","\\flat",!0),fe(pe,Ce,St,"\u2113","\\ell",!0),fe(pe,Ce,St,"\u266E","\\natural",!0),fe(pe,Ce,St,"\u2663","\\clubsuit",!0),fe(pe,Ce,St,"\u2118","\\wp",!0),fe(pe,Ce,St,"\u266F","\\sharp",!0),fe(pe,Ce,St,"\u2662","\\diamondsuit",!0),fe(pe,Ce,St,"\u211C","\\Re",!0),fe(pe,Ce,St,"\u2661","\\heartsuit",!0),fe(pe,Ce,St,"\u2111","\\Im",!0),fe(pe,Ce,St,"\u2660","\\spadesuit",!0),fe(Pt,Ce,St,"\xA7","\\S",!0),fe(Pt,Ce,St,"\xB6","\\P",!0),fe(pe,Ce,St,"\u2020","\\dag"),fe(Pt,Ce,St,"\u2020","\\dag"),fe(Pt,Ce,St,"\u2020","\\textdagger"),fe(pe,Ce,St,"\u2021","\\ddag"),fe(Pt,Ce,St,"\u2021","\\ddag"),fe(Pt,Ce,St,"\u2021","\\textdaggerdbl"),fe(pe,Ce,Oe,"\u23B1","\\rmoustache",!0),fe(pe,Ce,mt,"\u23B0","\\lmoustache",!0),fe(pe,Ce,Oe,"\u27EF","\\rgroup",!0),fe(pe,Ce,mt,"\u27EE","\\lgroup",!0),fe(pe,Ce,At,"\u2213","\\mp",!0),fe(pe,Ce,At,"\u2296","\\ominus",!0),fe(pe,Ce,At,"\u228E","\\uplus",!0),fe(pe,Ce,At,"\u2293","\\sqcap",!0),fe(pe,Ce,At,"\u2217","\\ast"),fe(pe,Ce,At,"\u2294","\\sqcup",!0),fe(pe,Ce,At,"\u25EF","\\bigcirc"),fe(pe,Ce,At,"\u2219","\\bullet"),fe(pe,Ce,At,"\u2021","\\ddagger"),fe(pe,Ce,At,"\u2240","\\wr",!0),fe(pe,Ce,At,"\u2A3F","\\amalg"),fe(pe,Ce,At,"&","\\And"),fe(pe,Ce,Be,"\u27F5","\\longleftarrow",!0),fe(pe,Ce,Be,"\u21D0","\\Leftarrow",!0),fe(pe,Ce,Be,"\u27F8","\\Longleftarrow",!0),fe(pe,Ce,Be,"\u27F6","\\longrightarrow",!0),fe(pe,Ce,Be,"\u21D2","\\Rightarrow",!0),fe(pe,Ce,Be,"\u27F9","\\Longrightarrow",!0),fe(pe,Ce,Be,"\u2194","\\leftrightarrow",!0),fe(pe,Ce,Be,"\u27F7","\\longleftrightarrow",!0),fe(pe,Ce,Be,"\u21D4","\\Leftrightarrow",!0),fe(pe,Ce,Be,"\u27FA","\\Longleftrightarrow",!0),fe(pe,Ce,Be,"\u21A6","\\mapsto",!0),fe(pe,Ce,Be,"\u27FC","\\longmapsto",!0),fe(pe,Ce,Be,"\u2197","\\nearrow",!0),fe(pe,Ce,Be,"\u21A9","\\hookleftarrow",!0),fe(pe,Ce,Be,"\u21AA","\\hookrightarrow",!0),fe(pe,Ce,Be,"\u2198","\\searrow",!0),fe(pe,Ce,Be,"\u21BC","\\leftharpoonup",!0),fe(pe,Ce,Be,"\u21C0","\\rightharpoonup",!0),fe(pe,Ce,Be,"\u2199","\\swarrow",!0),fe(pe,Ce,Be,"\u21BD","\\leftharpoondown",!0),fe(pe,Ce,Be,"\u21C1","\\rightharpoondown",!0),fe(pe,Ce,Be,"\u2196","\\nwarrow",!0),fe(pe,Ce,Be,"\u21CC","\\rightleftharpoons",!0),fe(pe,ft,Be,"\u226E","\\nless",!0),fe(pe,ft,Be,"\uE010","\\@nleqslant"),fe(pe,ft,Be,"\uE011","\\@nleqq"),fe(pe,ft,Be,"\u2A87","\\lneq",!0),fe(pe,ft,Be,"\u2268","\\lneqq",!0),fe(pe,ft,Be,"\uE00C","\\@lvertneqq"),fe(pe,ft,Be,"\u22E6","\\lnsim",!0),fe(pe,ft,Be,"\u2A89","\\lnapprox",!0),fe(pe,ft,Be,"\u2280","\\nprec",!0),fe(pe,ft,Be,"\u22E0","\\npreceq",!0),fe(pe,ft,Be,"\u22E8","\\precnsim",!0),fe(pe,ft,Be,"\u2AB9","\\precnapprox",!0),fe(pe,ft,Be,"\u2241","\\nsim",!0),fe(pe,ft,Be,"\uE006","\\@nshortmid"),fe(pe,ft,Be,"\u2224","\\nmid",!0),fe(pe,ft,Be,"\u22AC","\\nvdash",!0),fe(pe,ft,Be,"\u22AD","\\nvDash",!0),fe(pe,ft,Be,"\u22EA","\\ntriangleleft"),fe(pe,ft,Be,"\u22EC","\\ntrianglelefteq",!0),fe(pe,ft,Be,"\u228A","\\subsetneq",!0),fe(pe,ft,Be,"\uE01A","\\@varsubsetneq"),fe(pe,ft,Be,"\u2ACB","\\subsetneqq",!0),fe(pe,ft,Be,"\uE017","\\@varsubsetneqq"),fe(pe,ft,Be,"\u226F","\\ngtr",!0),fe(pe,ft,Be,"\uE00F","\\@ngeqslant"),fe(pe,ft,Be,"\uE00E","\\@ngeqq"),fe(pe,ft,Be,"\u2A88","\\gneq",!0),fe(pe,ft,Be,"\u2269","\\gneqq",!0),fe(pe,ft,Be,"\uE00D","\\@gvertneqq"),fe(pe,ft,Be,"\u22E7","\\gnsim",!0),fe(pe,ft,Be,"\u2A8A","\\gnapprox",!0),fe(pe,ft,Be,"\u2281","\\nsucc",!0),fe(pe,ft,Be,"\u22E1","\\nsucceq",!0),fe(pe,ft,Be,"\u22E9","\\succnsim",!0),fe(pe,ft,Be,"\u2ABA","\\succnapprox",!0),fe(pe,ft,Be,"\u2246","\\ncong",!0),fe(pe,ft,Be,"\uE007","\\@nshortparallel"),fe(pe,ft,Be,"\u2226","\\nparallel",!0),fe(pe,ft,Be,"\u22AF","\\nVDash",!0),fe(pe,ft,Be,"\u22EB","\\ntriangleright"),fe(pe,ft,Be,"\u22ED","\\ntrianglerighteq",!0),fe(pe,ft,Be,"\uE018","\\@nsupseteqq"),fe(pe,ft,Be,"\u228B","\\supsetneq",!0),fe(pe,ft,Be,"\uE01B","\\@varsupsetneq"),fe(pe,ft,Be,"\u2ACC","\\supsetneqq",!0),fe(pe,ft,Be,"\uE019","\\@varsupsetneqq"),fe(pe,ft,Be,"\u22AE","\\nVdash",!0),fe(pe,ft,Be,"\u2AB5","\\precneqq",!0),fe(pe,ft,Be,"\u2AB6","\\succneqq",!0),fe(pe,ft,Be,"\uE016","\\@nsubseteqq"),fe(pe,ft,At,"\u22B4","\\unlhd"),fe(pe,ft,At,"\u22B5","\\unrhd"),fe(pe,ft,Be,"\u219A","\\nleftarrow",!0),fe(pe,ft,Be,"\u219B","\\nrightarrow",!0),fe(pe,ft,Be,"\u21CD","\\nLeftarrow",!0),fe(pe,ft,Be,"\u21CF","\\nRightarrow",!0),fe(pe,ft,Be,"\u21AE","\\nleftrightarrow",!0),fe(pe,ft,Be,"\u21CE","\\nLeftrightarrow",!0),fe(pe,ft,Be,"\u25B3","\\vartriangle"),fe(pe,ft,St,"\u210F","\\hslash"),fe(pe,ft,St,"\u25BD","\\triangledown"),fe(pe,ft,St,"\u25CA","\\lozenge"),fe(pe,ft,St,"\u24C8","\\circledS"),fe(pe,ft,St,"\xAE","\\circledR"),fe(Pt,ft,St,"\xAE","\\circledR"),fe(pe,ft,St,"\u2221","\\measuredangle",!0),fe(pe,ft,St,"\u2204","\\nexists"),fe(pe,ft,St,"\u2127","\\mho"),fe(pe,ft,St,"\u2132","\\Finv",!0),fe(pe,ft,St,"\u2141","\\Game",!0),fe(pe,ft,St,"\u2035","\\backprime"),fe(pe,ft,St,"\u25B2","\\blacktriangle"),fe(pe,ft,St,"\u25BC","\\blacktriangledown"),fe(pe,ft,St,"\u25A0","\\blacksquare"),fe(pe,ft,St,"\u29EB","\\blacklozenge"),fe(pe,ft,St,"\u2605","\\bigstar"),fe(pe,ft,St,"\u2222","\\sphericalangle",!0),fe(pe,ft,St,"\u2201","\\complement",!0),fe(pe,ft,St,"\xF0","\\eth",!0),fe(pe,ft,St,"\u2571","\\diagup"),fe(pe,ft,St,"\u2572","\\diagdown"),fe(pe,ft,St,"\u25A1","\\square"),fe(pe,ft,St,"\u25A1","\\Box"),fe(pe,ft,St,"\u25CA","\\Diamond"),fe(pe,ft,St,"\xA5","\\yen",!0),fe(Pt,ft,St,"\xA5","\\yen",!0),fe(pe,ft,St,"\u2713","\\checkmark",!0),fe(Pt,ft,St,"\u2713","\\checkmark"),fe(pe,ft,St,"\u2136","\\beth",!0),fe(pe,ft,St,"\u2138","\\daleth",!0),fe(pe,ft,St,"\u2137","\\gimel",!0),fe(pe,ft,St,"\u03DD","\\digamma",!0),fe(pe,ft,St,"\u03F0","\\varkappa"),fe(pe,ft,mt,"\u250C","\\ulcorner",!0),fe(pe,ft,Oe,"\u2510","\\urcorner",!0),fe(pe,ft,mt,"\u2514","\\llcorner",!0),fe(pe,ft,Oe,"\u2518","\\lrcorner",!0),fe(pe,ft,Be,"\u2266","\\leqq",!0),fe(pe,ft,Be,"\u2A7D","\\leqslant",!0),fe(pe,ft,Be,"\u2A95","\\eqslantless",!0),fe(pe,ft,Be,"\u2272","\\lesssim",!0),fe(pe,ft,Be,"\u2A85","\\lessapprox",!0),fe(pe,ft,Be,"\u224A","\\approxeq",!0),fe(pe,ft,At,"\u22D6","\\lessdot"),fe(pe,ft,Be,"\u22D8","\\lll",!0),fe(pe,ft,Be,"\u2276","\\lessgtr",!0),fe(pe,ft,Be,"\u22DA","\\lesseqgtr",!0),fe(pe,ft,Be,"\u2A8B","\\lesseqqgtr",!0),fe(pe,ft,Be,"\u2251","\\doteqdot"),fe(pe,ft,Be,"\u2253","\\risingdotseq",!0),fe(pe,ft,Be,"\u2252","\\fallingdotseq",!0),fe(pe,ft,Be,"\u223D","\\backsim",!0),fe(pe,ft,Be,"\u22CD","\\backsimeq",!0),fe(pe,ft,Be,"\u2AC5","\\subseteqq",!0),fe(pe,ft,Be,"\u22D0","\\Subset",!0),fe(pe,ft,Be,"\u228F","\\sqsubset",!0),fe(pe,ft,Be,"\u227C","\\preccurlyeq",!0),fe(pe,ft,Be,"\u22DE","\\curlyeqprec",!0),fe(pe,ft,Be,"\u227E","\\precsim",!0),fe(pe,ft,Be,"\u2AB7","\\precapprox",!0),fe(pe,ft,Be,"\u22B2","\\vartriangleleft"),fe(pe,ft,Be,"\u22B4","\\trianglelefteq"),fe(pe,ft,Be,"\u22A8","\\vDash",!0),fe(pe,ft,Be,"\u22AA","\\Vvdash",!0),fe(pe,ft,Be,"\u2323","\\smallsmile"),fe(pe,ft,Be,"\u2322","\\smallfrown"),fe(pe,ft,Be,"\u224F","\\bumpeq",!0),fe(pe,ft,Be,"\u224E","\\Bumpeq",!0),fe(pe,ft,Be,"\u2267","\\geqq",!0),fe(pe,ft,Be,"\u2A7E","\\geqslant",!0),fe(pe,ft,Be,"\u2A96","\\eqslantgtr",!0),fe(pe,ft,Be,"\u2273","\\gtrsim",!0),fe(pe,ft,Be,"\u2A86","\\gtrapprox",!0),fe(pe,ft,At,"\u22D7","\\gtrdot"),fe(pe,ft,Be,"\u22D9","\\ggg",!0),fe(pe,ft,Be,"\u2277","\\gtrless",!0),fe(pe,ft,Be,"\u22DB","\\gtreqless",!0),fe(pe,ft,Be,"\u2A8C","\\gtreqqless",!0),fe(pe,ft,Be,"\u2256","\\eqcirc",!0),fe(pe,ft,Be,"\u2257","\\circeq",!0),fe(pe,ft,Be,"\u225C","\\triangleq",!0),fe(pe,ft,Be,"\u223C","\\thicksim"),fe(pe,ft,Be,"\u2248","\\thickapprox"),fe(pe,ft,Be,"\u2AC6","\\supseteqq",!0),fe(pe,ft,Be,"\u22D1","\\Supset",!0),fe(pe,ft,Be,"\u2290","\\sqsupset",!0),fe(pe,ft,Be,"\u227D","\\succcurlyeq",!0),fe(pe,ft,Be,"\u22DF","\\curlyeqsucc",!0),fe(pe,ft,Be,"\u227F","\\succsim",!0),fe(pe,ft,Be,"\u2AB8","\\succapprox",!0),fe(pe,ft,Be,"\u22B3","\\vartriangleright"),fe(pe,ft,Be,"\u22B5","\\trianglerighteq"),fe(pe,ft,Be,"\u22A9","\\Vdash",!0),fe(pe,ft,Be,"\u2223","\\shortmid"),fe(pe,ft,Be,"\u2225","\\shortparallel"),fe(pe,ft,Be,"\u226C","\\between",!0),fe(pe,ft,Be,"\u22D4","\\pitchfork",!0),fe(pe,ft,Be,"\u221D","\\varpropto"),fe(pe,ft,Be,"\u25C0","\\blacktriangleleft"),fe(pe,ft,Be,"\u2234","\\therefore",!0),fe(pe,ft,Be,"\u220D","\\backepsilon"),fe(pe,ft,Be,"\u25B6","\\blacktriangleright"),fe(pe,ft,Be,"\u2235","\\because",!0),fe(pe,ft,Be,"\u22D8","\\llless"),fe(pe,ft,Be,"\u22D9","\\gggtr"),fe(pe,ft,At,"\u22B2","\\lhd"),fe(pe,ft,At,"\u22B3","\\rhd"),fe(pe,ft,Be,"\u2242","\\eqsim",!0),fe(pe,Ce,Be,"\u22C8","\\Join"),fe(pe,ft,Be,"\u2251","\\Doteq",!0),fe(pe,ft,At,"\u2214","\\dotplus",!0),fe(pe,ft,At,"\u2216","\\smallsetminus"),fe(pe,ft,At,"\u22D2","\\Cap",!0),fe(pe,ft,At,"\u22D3","\\Cup",!0),fe(pe,ft,At,"\u2A5E","\\doublebarwedge",!0),fe(pe,ft,At,"\u229F","\\boxminus",!0),fe(pe,ft,At,"\u229E","\\boxplus",!0),fe(pe,ft,At,"\u22C7","\\divideontimes",!0),fe(pe,ft,At,"\u22C9","\\ltimes",!0),fe(pe,ft,At,"\u22CA","\\rtimes",!0),fe(pe,ft,At,"\u22CB","\\leftthreetimes",!0),fe(pe,ft,At,"\u22CC","\\rightthreetimes",!0),fe(pe,ft,At,"\u22CF","\\curlywedge",!0),fe(pe,ft,At,"\u22CE","\\curlyvee",!0),fe(pe,ft,At,"\u229D","\\circleddash",!0),fe(pe,ft,At,"\u229B","\\circledast",!0),fe(pe,ft,At,"\u22C5","\\centerdot"),fe(pe,ft,At,"\u22BA","\\intercal",!0),fe(pe,ft,At,"\u22D2","\\doublecap"),fe(pe,ft,At,"\u22D3","\\doublecup"),fe(pe,ft,At,"\u22A0","\\boxtimes",!0),fe(pe,ft,Be,"\u21E2","\\dashrightarrow",!0),fe(pe,ft,Be,"\u21E0","\\dashleftarrow",!0),fe(pe,ft,Be,"\u21C7","\\leftleftarrows",!0),fe(pe,ft,Be,"\u21C6","\\leftrightarrows",!0),fe(pe,ft,Be,"\u21DA","\\Lleftarrow",!0),fe(pe,ft,Be,"\u219E","\\twoheadleftarrow",!0),fe(pe,ft,Be,"\u21A2","\\leftarrowtail",!0),fe(pe,ft,Be,"\u21AB","\\looparrowleft",!0),fe(pe,ft,Be,"\u21CB","\\leftrightharpoons",!0),fe(pe,ft,Be,"\u21B6","\\curvearrowleft",!0),fe(pe,ft,Be,"\u21BA","\\circlearrowleft",!0),fe(pe,ft,Be,"\u21B0","\\Lsh",!0),fe(pe,ft,Be,"\u21C8","\\upuparrows",!0),fe(pe,ft,Be,"\u21BF","\\upharpoonleft",!0),fe(pe,ft,Be,"\u21C3","\\downharpoonleft",!0),fe(pe,ft,Be,"\u22B8","\\multimap",!0),fe(pe,ft,Be,"\u21AD","\\leftrightsquigarrow",!0),fe(pe,ft,Be,"\u21C9","\\rightrightarrows",!0),fe(pe,ft,Be,"\u21C4","\\rightleftarrows",!0),fe(pe,ft,Be,"\u21A0","\\twoheadrightarrow",!0),fe(pe,ft,Be,"\u21A3","\\rightarrowtail",!0),fe(pe,ft,Be,"\u21AC","\\looparrowright",!0),fe(pe,ft,Be,"\u21B7","\\curvearrowright",!0),fe(pe,ft,Be,"\u21BB","\\circlearrowright",!0),fe(pe,ft,Be,"\u21B1","\\Rsh",!0),fe(pe,ft,Be,"\u21CA","\\downdownarrows",!0),fe(pe,ft,Be,"\u21BE","\\upharpoonright",!0),fe(pe,ft,Be,"\u21C2","\\downharpoonright",!0),fe(pe,ft,Be,"\u21DD","\\rightsquigarrow",!0),fe(pe,ft,Be,"\u21DD","\\leadsto"),fe(pe,ft,Be,"\u21DB","\\Rrightarrow",!0),fe(pe,ft,Be,"\u21BE","\\restriction"),fe(pe,Ce,St,"\u2018","`"),fe(pe,Ce,St,"$","\\$"),fe(Pt,Ce,St,"$","\\$"),fe(Pt,Ce,St,"$","\\textdollar"),fe(pe,Ce,St,"%","\\%"),fe(Pt,Ce,St,"%","\\%"),fe(pe,Ce,St,"_","\\_"),fe(Pt,Ce,St,"_","\\_"),fe(Pt,Ce,St,"_","\\textunderscore"),fe(pe,Ce,St,"\u2220","\\angle",!0),fe(pe,Ce,St,"\u221E","\\infty",!0),fe(pe,Ce,St,"\u2032","\\prime"),fe(pe,Ce,St,"\u25B3","\\triangle"),fe(pe,Ce,St,"\u0393","\\Gamma",!0),fe(pe,Ce,St,"\u0394","\\Delta",!0),fe(pe,Ce,St,"\u0398","\\Theta",!0),fe(pe,Ce,St,"\u039B","\\Lambda",!0),fe(pe,Ce,St,"\u039E","\\Xi",!0),fe(pe,Ce,St,"\u03A0","\\Pi",!0),fe(pe,Ce,St,"\u03A3","\\Sigma",!0),fe(pe,Ce,St,"\u03A5","\\Upsilon",!0),fe(pe,Ce,St,"\u03A6","\\Phi",!0),fe(pe,Ce,St,"\u03A8","\\Psi",!0),fe(pe,Ce,St,"\u03A9","\\Omega",!0),fe(pe,Ce,St,"A","\u0391"),fe(pe,Ce,St,"B","\u0392"),fe(pe,Ce,St,"E","\u0395"),fe(pe,Ce,St,"Z","\u0396"),fe(pe,Ce,St,"H","\u0397"),fe(pe,Ce,St,"I","\u0399"),fe(pe,Ce,St,"K","\u039A"),fe(pe,Ce,St,"M","\u039C"),fe(pe,Ce,St,"N","\u039D"),fe(pe,Ce,St,"O","\u039F"),fe(pe,Ce,St,"P","\u03A1"),fe(pe,Ce,St,"T","\u03A4"),fe(pe,Ce,St,"X","\u03A7"),fe(pe,Ce,St,"\xAC","\\neg",!0),fe(pe,Ce,St,"\xAC","\\lnot"),fe(pe,Ce,St,"\u22A4","\\top"),fe(pe,Ce,St,"\u22A5","\\bot"),fe(pe,Ce,St,"\u2205","\\emptyset"),fe(pe,ft,St,"\u2205","\\varnothing"),fe(pe,Ce,be,"\u03B1","\\alpha",!0),fe(pe,Ce,be,"\u03B2","\\beta",!0),fe(pe,Ce,be,"\u03B3","\\gamma",!0),fe(pe,Ce,be,"\u03B4","\\delta",!0),fe(pe,Ce,be,"\u03F5","\\epsilon",!0),fe(pe,Ce,be,"\u03B6","\\zeta",!0),fe(pe,Ce,be,"\u03B7","\\eta",!0),fe(pe,Ce,be,"\u03B8","\\theta",!0),fe(pe,Ce,be,"\u03B9","\\iota",!0),fe(pe,Ce,be,"\u03BA","\\kappa",!0),fe(pe,Ce,be,"\u03BB","\\lambda",!0),fe(pe,Ce,be,"\u03BC","\\mu",!0),fe(pe,Ce,be,"\u03BD","\\nu",!0),fe(pe,Ce,be,"\u03BE","\\xi",!0),fe(pe,Ce,be,"\u03BF","\\omicron",!0),fe(pe,Ce,be,"\u03C0","\\pi",!0),fe(pe,Ce,be,"\u03C1","\\rho",!0),fe(pe,Ce,be,"\u03C3","\\sigma",!0),fe(pe,Ce,be,"\u03C4","\\tau",!0),fe(pe,Ce,be,"\u03C5","\\upsilon",!0),fe(pe,Ce,be,"\u03D5","\\phi",!0),fe(pe,Ce,be,"\u03C7","\\chi",!0),fe(pe,Ce,be,"\u03C8","\\psi",!0),fe(pe,Ce,be,"\u03C9","\\omega",!0),fe(pe,Ce,be,"\u03B5","\\varepsilon",!0),fe(pe,Ce,be,"\u03D1","\\vartheta",!0),fe(pe,Ce,be,"\u03D6","\\varpi",!0),fe(pe,Ce,be,"\u03F1","\\varrho",!0),fe(pe,Ce,be,"\u03C2","\\varsigma",!0),fe(pe,Ce,be,"\u03C6","\\varphi",!0),fe(pe,Ce,At,"\u2217","*"),fe(pe,Ce,At,"+","+"),fe(pe,Ce,At,"\u2212","-"),fe(pe,Ce,At,"\u22C5","\\cdot",!0),fe(pe,Ce,At,"\u2218","\\circ"),fe(pe,Ce,At,"\xF7","\\div",!0),fe(pe,Ce,At,"\xB1","\\pm",!0),fe(pe,Ce,At,"\xD7","\\times",!0),fe(pe,Ce,At,"\u2229","\\cap",!0),fe(pe,Ce,At,"\u222A","\\cup",!0),fe(pe,Ce,At,"\u2216","\\setminus"),fe(pe,Ce,At,"\u2227","\\land"),fe(pe,Ce,At,"\u2228","\\lor"),fe(pe,Ce,At,"\u2227","\\wedge",!0),fe(pe,Ce,At,"\u2228","\\vee",!0),fe(pe,Ce,St,"\u221A","\\surd"),fe(pe,Ce,mt,"(","("),fe(pe,Ce,mt,"[","["),fe(pe,Ce,mt,"\u27E8","\\langle",!0),fe(pe,Ce,mt,"\u2223","\\lvert"),fe(pe,Ce,mt,"\u2225","\\lVert"),fe(pe,Ce,Oe,")",")"),fe(pe,Ce,Oe,"]","]"),fe(pe,Ce,Oe,"?","?"),fe(pe,Ce,Oe,"!","!"),fe(pe,Ce,Oe,"\u27E9","\\rangle",!0),fe(pe,Ce,Oe,"\u2223","\\rvert"),fe(pe,Ce,Oe,"\u2225","\\rVert"),fe(pe,Ce,Be,"=","="),fe(pe,Ce,Be,"<","<"),fe(pe,Ce,Be,">",">"),fe(pe,Ce,Be,":",":"),fe(pe,Ce,Be,"\u2248","\\approx",!0),fe(pe,Ce,Be,"\u2245","\\cong",!0),fe(pe,Ce,Be,"\u2265","\\ge"),fe(pe,Ce,Be,"\u2265","\\geq",!0),fe(pe,Ce,Be,"\u2190","\\gets"),fe(pe,Ce,Be,">","\\gt"),fe(pe,Ce,Be,"\u2208","\\in",!0),fe(pe,Ce,Be,"\uE020","\\@not"),fe(pe,Ce,Be,"\u2282","\\subset",!0),fe(pe,Ce,Be,"\u2283","\\supset",!0),fe(pe,Ce,Be,"\u2286","\\subseteq",!0),fe(pe,Ce,Be,"\u2287","\\supseteq",!0),fe(pe,ft,Be,"\u2288","\\nsubseteq",!0),fe(pe,ft,Be,"\u2289","\\nsupseteq",!0),fe(pe,Ce,Be,"\u22A8","\\models"),fe(pe,Ce,Be,"\u2190","\\leftarrow",!0),fe(pe,Ce,Be,"\u2264","\\le"),fe(pe,Ce,Be,"\u2264","\\leq",!0),fe(pe,Ce,Be,"<","\\lt"),fe(pe,Ce,Be,"\u2192","\\rightarrow",!0),fe(pe,Ce,Be,"\u2192","\\to"),fe(pe,ft,Be,"\u2271","\\ngeq",!0),fe(pe,ft,Be,"\u2270","\\nleq",!0),fe(pe,Ce,kr,"\xA0","\\ "),fe(pe,Ce,kr,"\xA0","~"),fe(pe,Ce,kr,"\xA0","\\space"),fe(pe,Ce,kr,"\xA0","\\nobreakspace"),fe(Pt,Ce,kr,"\xA0","\\ "),fe(Pt,Ce,kr,"\xA0","~"),fe(Pt,Ce,kr,"\xA0","\\space"),fe(Pt,Ce,kr,"\xA0","\\nobreakspace"),fe(pe,Ce,kr,null,"\\nobreak"),fe(pe,Ce,kr,null,"\\allowbreak"),fe(pe,Ce,kt,",",","),fe(pe,Ce,kt,";",";"),fe(pe,ft,At,"\u22BC","\\barwedge",!0),fe(pe,ft,At,"\u22BB","\\veebar",!0),fe(pe,Ce,At,"\u2299","\\odot",!0),fe(pe,Ce,At,"\u2295","\\oplus",!0),fe(pe,Ce,At,"\u2297","\\otimes",!0),fe(pe,Ce,St,"\u2202","\\partial",!0),fe(pe,Ce,At,"\u2298","\\oslash",!0),fe(pe,ft,At,"\u229A","\\circledcirc",!0),fe(pe,ft,At,"\u22A1","\\boxdot",!0),fe(pe,Ce,At,"\u25B3","\\bigtriangleup"),fe(pe,Ce,At,"\u25BD","\\bigtriangledown"),fe(pe,Ce,At,"\u2020","\\dagger"),fe(pe,Ce,At,"\u22C4","\\diamond"),fe(pe,Ce,At,"\u22C6","\\star"),fe(pe,Ce,At,"\u25C3","\\triangleleft"),fe(pe,Ce,At,"\u25B9","\\triangleright"),fe(pe,Ce,mt,"{","\\{"),fe(Pt,Ce,St,"{","\\{"),fe(Pt,Ce,St,"{","\\textbraceleft"),fe(pe,Ce,Oe,"}","\\}"),fe(Pt,Ce,St,"}","\\}"),fe(Pt,Ce,St,"}","\\textbraceright"),fe(pe,Ce,mt,"{","\\lbrace"),fe(pe,Ce,Oe,"}","\\rbrace"),fe(pe,Ce,mt,"[","\\lbrack"),fe(Pt,Ce,St,"[","\\lbrack"),fe(pe,Ce,Oe,"]","\\rbrack"),fe(Pt,Ce,St,"]","\\rbrack"),fe(pe,Ce,mt,"(","\\lparen"),fe(pe,Ce,Oe,")","\\rparen"),fe(Pt,Ce,St,"<","\\textless"),fe(Pt,Ce,St,">","\\textgreater"),fe(pe,Ce,mt,"\u230A","\\lfloor",!0),fe(pe,Ce,Oe,"\u230B","\\rfloor",!0),fe(pe,Ce,mt,"\u2308","\\lceil",!0),fe(pe,Ce,Oe,"\u2309","\\rceil",!0),fe(pe,Ce,St,"\\","\\backslash"),fe(pe,Ce,St,"\u2223","|"),fe(pe,Ce,St,"\u2223","\\vert"),fe(Pt,Ce,St,"|","\\textbar"),fe(pe,Ce,St,"\u2225","\\|"),fe(pe,Ce,St,"\u2225","\\Vert"),fe(Pt,Ce,St,"\u2225","\\textbardbl"),fe(Pt,Ce,St,"~","\\textasciitilde"),fe(Pt,Ce,St,"\\","\\textbackslash"),fe(Pt,Ce,St,"^","\\textasciicircum"),fe(pe,Ce,Be,"\u2191","\\uparrow",!0),fe(pe,Ce,Be,"\u21D1","\\Uparrow",!0),fe(pe,Ce,Be,"\u2193","\\downarrow",!0),fe(pe,Ce,Be,"\u21D3","\\Downarrow",!0),fe(pe,Ce,Be,"\u2195","\\updownarrow",!0),fe(pe,Ce,Be,"\u21D5","\\Updownarrow",!0),fe(pe,Ce,Ke,"\u2210","\\coprod"),fe(pe,Ce,Ke,"\u22C1","\\bigvee"),fe(pe,Ce,Ke,"\u22C0","\\bigwedge"),fe(pe,Ce,Ke,"\u2A04","\\biguplus"),fe(pe,Ce,Ke,"\u22C2","\\bigcap"),fe(pe,Ce,Ke,"\u22C3","\\bigcup"),fe(pe,Ce,Ke,"\u222B","\\int"),fe(pe,Ce,Ke,"\u222B","\\intop"),fe(pe,Ce,Ke,"\u222C","\\iint"),fe(pe,Ce,Ke,"\u222D","\\iiint"),fe(pe,Ce,Ke,"\u220F","\\prod"),fe(pe,Ce,Ke,"\u2211","\\sum"),fe(pe,Ce,Ke,"\u2A02","\\bigotimes"),fe(pe,Ce,Ke,"\u2A01","\\bigoplus"),fe(pe,Ce,Ke,"\u2A00","\\bigodot"),fe(pe,Ce,Ke,"\u222E","\\oint"),fe(pe,Ce,Ke,"\u222F","\\oiint"),fe(pe,Ce,Ke,"\u2230","\\oiiint"),fe(pe,Ce,Ke,"\u2A06","\\bigsqcup"),fe(pe,Ce,Ke,"\u222B","\\smallint"),fe(Pt,Ce,wt,"\u2026","\\textellipsis"),fe(pe,Ce,wt,"\u2026","\\mathellipsis"),fe(Pt,Ce,wt,"\u2026","\\ldots",!0),fe(pe,Ce,wt,"\u2026","\\ldots",!0),fe(pe,Ce,wt,"\u22EF","\\@cdots",!0),fe(pe,Ce,wt,"\u22F1","\\ddots",!0),fe(pe,Ce,St,"\u22EE","\\varvdots"),fe(pe,Ce,Ut,"\u02CA","\\acute"),fe(pe,Ce,Ut,"\u02CB","\\grave"),fe(pe,Ce,Ut,"\xA8","\\ddot"),fe(pe,Ce,Ut,"~","\\tilde"),fe(pe,Ce,Ut,"\u02C9","\\bar"),fe(pe,Ce,Ut,"\u02D8","\\breve"),fe(pe,Ce,Ut,"\u02C7","\\check"),fe(pe,Ce,Ut,"^","\\hat"),fe(pe,Ce,Ut,"\u20D7","\\vec"),fe(pe,Ce,Ut,"\u02D9","\\dot"),fe(pe,Ce,Ut,"\u02DA","\\mathring"),fe(pe,Ce,be,"\u0131","\\imath",!0),fe(pe,Ce,be,"\u0237","\\jmath",!0),fe(Pt,Ce,St,"\u0131","\\i",!0),fe(Pt,Ce,St,"\u0237","\\j",!0),fe(Pt,Ce,St,"\xDF","\\ss",!0),fe(Pt,Ce,St,"\xE6","\\ae",!0),fe(Pt,Ce,St,"\xE6","\\ae",!0),fe(Pt,Ce,St,"\u0153","\\oe",!0),fe(Pt,Ce,St,"\xF8","\\o",!0),fe(Pt,Ce,St,"\xC6","\\AE",!0),fe(Pt,Ce,St,"\u0152","\\OE",!0),fe(Pt,Ce,St,"\xD8","\\O",!0),fe(Pt,Ce,Ut,"\u02CA","\\'"),fe(Pt,Ce,Ut,"\u02CB","\\`"),fe(Pt,Ce,Ut,"\u02C6","\\^"),fe(Pt,Ce,Ut,"\u02DC","\\~"),fe(Pt,Ce,Ut,"\u02C9","\\="),fe(Pt,Ce,Ut,"\u02D8","\\u"),fe(Pt,Ce,Ut,"\u02D9","\\."),fe(Pt,Ce,Ut,"\u02DA","\\r"),fe(Pt,Ce,Ut,"\u02C7","\\v"),fe(Pt,Ce,Ut,"\xA8",'\\"'),fe(Pt,Ce,Ut,"\u02DD","\\H"),fe(Pt,Ce,Ut,"\u25EF","\\textcircled");var Vr={"--":!0,"---":!0,"``":!0,"''":!0};fe(Pt,Ce,St,"\u2013","--"),fe(Pt,Ce,St,"\u2013","\\textendash"),fe(Pt,Ce,St,"\u2014","---"),fe(Pt,Ce,St,"\u2014","\\textemdash"),fe(Pt,Ce,St,"\u2018","`"),fe(Pt,Ce,St,"\u2018","\\textquoteleft"),fe(Pt,Ce,St,"\u2019","'"),fe(Pt,Ce,St,"\u2019","\\textquoteright"),fe(Pt,Ce,St,"\u201C","``"),fe(Pt,Ce,St,"\u201C","\\textquotedblleft"),fe(Pt,Ce,St,"\u201D","''"),fe(Pt,Ce,St,"\u201D","\\textquotedblright"),fe(pe,Ce,St,"\xB0","\\degree",!0),fe(Pt,Ce,St,"\xB0","\\degree"),fe(Pt,Ce,St,"\xB0","\\textdegree",!0),fe(pe,Ce,be,"\xA3","\\pounds"),fe(pe,Ce,be,"\xA3","\\mathsterling",!0),fe(Pt,Ce,be,"\xA3","\\pounds"),fe(Pt,Ce,be,"\xA3","\\textsterling",!0),fe(pe,ft,St,"\u2720","\\maltese"),fe(Pt,ft,St,"\u2720","\\maltese"),fe(Pt,Ce,kr,"\xA0","\\ "),fe(Pt,Ce,kr,"\xA0"," "),fe(Pt,Ce,kr,"\xA0","~");for(var Jr='0123456789/@."',Ar=0;Ar<Jr.length;Ar++){var Fr=Jr.charAt(Ar);fe(pe,Ce,St,Fr,Fr)}for(var mr='0123456789!@*()-=+[]<>|";:?/.,',jr=0;jr<mr.length;jr++){var on=mr.charAt(jr);fe(Pt,Ce,St,on,on)}for(var fn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",or=0;or<fn.length;or++){var Rt=fn.charAt(or);fe(pe,Ce,be,Rt,Rt),fe(Pt,Ce,St,Rt,Rt)}fe(pe,ft,St,"C","\u2102"),fe(Pt,ft,St,"C","\u2102"),fe(pe,ft,St,"H","\u210D"),fe(Pt,ft,St,"H","\u210D"),fe(pe,ft,St,"N","\u2115"),fe(Pt,ft,St,"N","\u2115"),fe(pe,ft,St,"P","\u2119"),fe(Pt,ft,St,"P","\u2119"),fe(pe,ft,St,"Q","\u211A"),fe(Pt,ft,St,"Q","\u211A"),fe(pe,ft,St,"R","\u211D"),fe(Pt,ft,St,"R","\u211D"),fe(pe,ft,St,"Z","\u2124"),fe(Pt,ft,St,"Z","\u2124"),fe(pe,Ce,be,"h","\u210E"),fe(Pt,Ce,be,"h","\u210E");for(var _t="",vt=0;vt<fn.length;vt++){var Bt=fn.charAt(vt);_t=String.fromCharCode(55349,56320+vt),fe(pe,Ce,be,Bt,_t),fe(Pt,Ce,St,Bt,_t),_t=String.fromCharCode(55349,56372+vt),fe(pe,Ce,be,Bt,_t),fe(Pt,Ce,St,Bt,_t),_t=String.fromCharCode(55349,56424+vt),fe(pe,Ce,be,Bt,_t),fe(Pt,Ce,St,Bt,_t),_t=String.fromCharCode(55349,56580+vt),fe(pe,Ce,be,Bt,_t),fe(Pt,Ce,St,Bt,_t),_t=String.fromCharCode(55349,56736+vt),fe(pe,Ce,be,Bt,_t),fe(Pt,Ce,St,Bt,_t),_t=String.fromCharCode(55349,56788+vt),fe(pe,Ce,be,Bt,_t),fe(Pt,Ce,St,Bt,_t),_t=String.fromCharCode(55349,56840+vt),fe(pe,Ce,be,Bt,_t),fe(Pt,Ce,St,Bt,_t),_t=String.fromCharCode(55349,56944+vt),fe(pe,Ce,be,Bt,_t),fe(Pt,Ce,St,Bt,_t),vt<26&&(_t=String.fromCharCode(55349,56632+vt),fe(pe,Ce,be,Bt,_t),fe(Pt,Ce,St,Bt,_t),_t=String.fromCharCode(55349,56476+vt),fe(pe,Ce,be,Bt,_t),fe(Pt,Ce,St,Bt,_t))}_t="\u{1D55C}",fe(pe,Ce,be,"k",_t),fe(Pt,Ce,St,"k",_t);for(var Cr=0;Cr<10;Cr++){var gr=Cr.toString();_t=String.fromCharCode(55349,57294+Cr),fe(pe,Ce,be,gr,_t),fe(Pt,Ce,St,gr,_t),_t=String.fromCharCode(55349,57314+Cr),fe(pe,Ce,be,gr,_t),fe(Pt,Ce,St,gr,_t),_t=String.fromCharCode(55349,57324+Cr),fe(pe,Ce,be,gr,_t),fe(Pt,Ce,St,gr,_t),_t=String.fromCharCode(55349,57334+Cr),fe(pe,Ce,be,gr,_t),fe(Pt,Ce,St,gr,_t)}for(var rn="\xC7\xD0\xDE\xE7\xFE",Kr=0;Kr<rn.length;Kr++){var Pn=rn.charAt(Kr);fe(pe,Ce,be,Pn,Pn),fe(Pt,Ce,St,Pn,Pn)}fe(Pt,Ce,St,"\xF0","\xF0"),fe(Pt,Ce,St,"\u2013","\u2013"),fe(Pt,Ce,St,"\u2014","\u2014"),fe(Pt,Ce,St,"\u2018","\u2018"),fe(Pt,Ce,St,"\u2019","\u2019"),fe(Pt,Ce,St,"\u201C","\u201C"),fe(Pt,Ce,St,"\u201D","\u201D");var Ct=[["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"]],cr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Xr=function(W,ee){var ne=W.charCodeAt(0),he=W.charCodeAt(1),Ae=(ne-55296)*1024+(he-56320)+65536,Ge=ee==="math"?0:1;if(119808<=Ae&&Ae<120484){var bt=Math.floor((Ae-119808)/26);return[Ct[bt][2],Ct[bt][Ge]]}else if(120782<=Ae&&Ae<=120831){var Mt=Math.floor((Ae-120782)/10);return[cr[Mt][2],cr[Mt][Ge]]}else{if(Ae===120485||Ae===120486)return[Ct[0][2],Ct[0][Ge]];if(120486<Ae&&Ae<120782)return["",""];throw new s("Unsupported character: "+W)}},pn=[[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]],$n=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],si=function(W,ee){return ee.size<2?W:pn[W-1][ee.size-1]},zn=function(){function Ve(ee){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=ee.style,this.color=ee.color,this.size=ee.size||Ve.BASESIZE,this.textSize=ee.textSize||this.size,this.phantom=!!ee.phantom,this.font=ee.font||"",this.fontFamily=ee.fontFamily||"",this.fontWeight=ee.fontWeight||"",this.fontShape=ee.fontShape||"",this.sizeMultiplier=$n[this.size-1],this.maxSize=ee.maxSize,this.minRuleThickness=ee.minRuleThickness,this._fontMetrics=void 0}var W=Ve.prototype;return W.extend=function(ne){var he={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 Ae in ne)ne.hasOwnProperty(Ae)&&(he[Ae]=ne[Ae]);return new Ve(he)},W.havingStyle=function(ne){return this.style===ne?this:this.extend({style:ne,size:si(this.textSize,ne)})},W.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},W.havingSize=function(ne){return this.size===ne&&this.textSize===ne?this:this.extend({style:this.style.text(),size:ne,textSize:ne,sizeMultiplier:$n[ne-1]})},W.havingBaseStyle=function(ne){ne=ne||this.style.text();var he=si(Ve.BASESIZE,ne);return this.size===he&&this.textSize===Ve.BASESIZE&&this.style===ne?this:this.extend({style:ne,size:he})},W.havingBaseSizing=function(){var ne;switch(this.style.id){case 4:case 5:ne=3;break;case 6:case 7:ne=1;break;default:ne=6}return this.extend({style:this.style.text(),size:ne})},W.withColor=function(ne){return this.extend({color:ne})},W.withPhantom=function(){return this.extend({phantom:!0})},W.withFont=function(ne){return this.extend({font:ne})},W.withTextFontFamily=function(ne){return this.extend({fontFamily:ne,font:""})},W.withTextFontWeight=function(ne){return this.extend({fontWeight:ne,font:""})},W.withTextFontShape=function(ne){return this.extend({fontShape:ne,font:""})},W.sizingClasses=function(ne){return ne.size!==this.size?["sizing","reset-size"+ne.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=zt(this.size)),this._fontMetrics},W.getColor=function(){return this.phantom?"transparent":this.color},Ve}();zn.BASESIZE=6;var Li=zn,ui={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},mi={ex:!0,em:!0,mu:!0},wi=function(W){return typeof W!="string"&&(W=W.unit),W in ui||W in mi||W==="ex"},gi=function(W,ee){var ne;if(W.unit in ui)ne=ui[W.unit]/ee.fontMetrics().ptPerEm/ee.sizeMultiplier;else if(W.unit==="mu")ne=ee.fontMetrics().cssEmPerMu;else{var he;if(ee.style.isTight()?he=ee.havingStyle(ee.style.text()):he=ee,W.unit==="ex")ne=he.fontMetrics().xHeight;else if(W.unit==="em")ne=he.fontMetrics().quad;else throw new s("Invalid unit: '"+W.unit+"'");he!==ee&&(ne*=he.sizeMultiplier/ee.sizeMultiplier)}return Math.min(W.number*ne,ee.maxSize)},Xi=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],qn=function(W,ee,ne){return Fe[ne][W]&&Fe[ne][W].replace&&(W=Fe[ne][W].replace),{value:W,metrics:Gt(W,ee,ne)}},Yi=function(W,ee,ne,he,Ae){var Ge=qn(W,ee,ne),bt=Ge.metrics;W=Ge.value;var Mt;if(bt){var nr=bt.italic;(ne==="text"||he&&he.font==="mathit")&&(nr=0),Mt=new Se(W,bt.height,bt.depth,nr,bt.skew,bt.width,Ae)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+W+"' in style '"+ee+"' and mode '"+ne+"'")),Mt=new Se(W,0,0,0,0,0,Ae);if(he){Mt.maxFontSize=he.sizeMultiplier,he.style.isTight()&&Mt.classes.push("mtight");var Tr=he.getColor();Tr&&(Mt.style.color=Tr)}return Mt},Et=function(W,ee,ne,he){return he===void 0&&(he=[]),ne.font==="boldsymbol"&&qn(W,"Main-Bold",ee).metrics?Yi(W,"Main-Bold",ee,ne,he.concat(["mathbf"])):W==="\\"||Fe[ee][W].font==="main"?Yi(W,"Main-Regular",ee,ne,he):Yi(W,"AMS-Regular",ee,ne,he.concat(["amsrm"]))},ot=function(W,ee,ne,he){return/[0-9]/.test(W.charAt(0))||T.contains(Xi,W)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Jn=function(W,ee,ne,he){return T.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,ee,ne,he){return qn(W,"Math-BoldItalic",ee).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},ei=function(W,ee,ne){var he=W.mode,Ae=W.text,Ge=["mord"],bt=he==="math"||he==="text"&&ee.font,Mt=bt?ee.font:ee.fontFamily;if(Ae.charCodeAt(0)===55349){var nr=Xr(Ae,he),Tr=nr[0],Hr=nr[1];return Yi(Ae,Tr,he,ee,Ge.concat(Hr))}else if(Mt){var sn,wn;if(Mt==="boldsymbol"||Mt==="mathnormal"){var Nn=Mt==="boldsymbol"?Ai(Ae,he,ee,Ge):Jn(Ae,he,ee,Ge);sn=Nn.fontName,wn=[Nn.fontClass]}else T.contains(Xi,Ae)?(sn="Main-Italic",wn=["mathit"]):bt?(sn=Ze[Mt].fontName,wn=[Mt]):(sn=Zr(Mt,ee.fontWeight,ee.fontShape),wn=[Mt,ee.fontWeight,ee.fontShape]);if(qn(Ae,sn,he).metrics)return Yi(Ae,sn,he,ee,Ge.concat(wn));if(Vr.hasOwnProperty(Ae)&&sn.substr(0,10)==="Typewriter"){for(var Wn=[],_i=0;_i<Ae.length;_i++)Wn.push(Yi(Ae[_i],sn,he,ee,Ge.concat(wn)));return It(Wn)}}if(ne==="mathord"){var Sr=ot(Ae,he,ee,Ge);return Yi(Ae,Sr.fontName,he,ee,Ge.concat([Sr.fontClass]))}else if(ne==="textord"){var aa=Fe[he][Ae]&&Fe[he][Ae].font;if(aa==="ams"){var sa=Zr("amsrm",ee.fontWeight,ee.fontShape);return Yi(Ae,sa,he,ee,Ge.concat("amsrm",ee.fontWeight,ee.fontShape))}else if(aa==="main"||!aa){var is=Zr("textrm",ee.fontWeight,ee.fontShape);return Yi(Ae,is,he,ee,Ge.concat(ee.fontWeight,ee.fontShape))}else{var Za=Zr(aa,ee.fontWeight,ee.fontShape);return Yi(Ae,Za,he,ee,Ge.concat(Za,ee.fontWeight,ee.fontShape))}}else throw new Error("unexpected type: "+ne+" in makeOrd")},Gi=function(W,ee){if(Tt(W.classes)!==Tt(ee.classes)||W.skew!==ee.skew||W.maxFontSize!==ee.maxFontSize)return!1;for(var ne in W.style)if(W.style.hasOwnProperty(ne)&&W.style[ne]!==ee.style[ne])return!1;for(var he in ee.style)if(ee.style.hasOwnProperty(he)&&W.style[he]!==ee.style[he])return!1;return!0},yi=function(W){for(var ee=0;ee<W.length-1;ee++){var ne=W[ee],he=W[ee+1];ne instanceof Se&&he instanceof Se&&Gi(ne,he)&&(ne.text+=he.text,ne.height=Math.max(ne.height,he.height),ne.depth=Math.max(ne.depth,he.depth),ne.italic=he.italic,W.splice(ee+1,1),ee--)}return W},ai=function(W){for(var ee=0,ne=0,he=0,Ae=0;Ae<W.children.length;Ae++){var Ge=W.children[Ae];Ge.height>ee&&(ee=Ge.height),Ge.depth>ne&&(ne=Ge.depth),Ge.maxFontSize>he&&(he=Ge.maxFontSize)}W.height=ee,W.depth=ne,W.maxFontSize=he},En=function(W,ee,ne,he){var Ae=new dt(W,ee,ne,he);return ai(Ae),Ae},er=function(W,ee,ne,he){return new dt(W,ee,ne,he)},pt=function(W,ee,ne){var he=En([W],[],ee);return he.height=Math.max(ne||ee.fontMetrics().defaultRuleThickness,ee.minRuleThickness),he.style.borderBottomWidth=he.height+"em",he.maxFontSize=1,he},rt=function(W,ee,ne,he){var Ae=new Je(W,ee,ne,he);return ai(Ae),Ae},It=function(W){var ee=new Xe(W);return ai(ee),ee},ht=function(W,ee){return W instanceof Xe?En([],[W],ee):W},lr=function(W){if(W.positionType==="individualShift"){for(var ee=W.children,ne=[ee[0]],he=-ee[0].shift-ee[0].elem.depth,Ae=he,Ge=1;Ge<ee.length;Ge++){var bt=-ee[Ge].shift-Ae-ee[Ge].elem.depth,Mt=bt-(ee[Ge-1].elem.height+ee[Ge-1].elem.depth);Ae=Ae+bt,ne.push({type:"kern",size:Mt}),ne.push(ee[Ge])}return{children:ne,depth:he}}var nr;if(W.positionType==="top"){for(var Tr=W.positionData,Hr=0;Hr<W.children.length;Hr++){var sn=W.children[Hr];Tr-=sn.type==="kern"?sn.size:sn.elem.height+sn.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}},dr=function(W,ee){for(var ne=lr(W),he=ne.children,Ae=ne.depth,Ge=0,bt=0;bt<he.length;bt++){var Mt=he[bt];if(Mt.type==="elem"){var nr=Mt.elem;Ge=Math.max(Ge,nr.maxFontSize,nr.height)}}Ge+=2;var Tr=En(["pstrut"],[]);Tr.style.height=Ge+"em";for(var Hr=[],sn=Ae,wn=Ae,Nn=Ae,Wn=0;Wn<he.length;Wn++){var _i=he[Wn];if(_i.type==="kern")Nn+=_i.size;else{var Sr=_i.elem,aa=_i.wrapperClasses||[],sa=_i.wrapperStyle||{},is=En(aa,[Tr,Sr],void 0,sa);is.style.top=-Ge-Nn-Sr.depth+"em",_i.marginLeft&&(is.style.marginLeft=_i.marginLeft),_i.marginRight&&(is.style.marginRight=_i.marginRight),Hr.push(is),Nn+=Sr.height+Sr.depth}sn=Math.min(sn,Nn),wn=Math.max(wn,Nn)}var Za=En(["vlist"],Hr);Za.style.height=wn+"em";var ws;if(sn<0){var as=En([],[]),Aa=En(["vlist"],[as]);Aa.style.height=-sn+"em";var Fs=En(["vlist-s"],[new Se("\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=-sn,Rs},Ir=function(W,ee){var ne=En(["mspace"],[],ee),he=gi(W,ee);return ne.style.marginRight=he+"em",ne},Zr=function(W,ee,ne){var he="";switch(W){case"amsrm":he="AMS";break;case"textrm":he="Main";break;case"textsf":he="SansSerif";break;case"texttt":he="Typewriter";break;default:he=W}var Ae;return ee==="textbf"&&ne==="textit"?Ae="BoldItalic":ee==="textbf"?Ae="Bold":ee==="textit"?Ae="Italic":Ae="Regular",he+"-"+Ae},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,ee){var ne=et[W],he=ne[0],Ae=ne[1],Ge=ne[2],bt=new $e(he),Mt=new Me([bt],{width:Ae+"em",height:Ge+"em",style:"width:"+Ae+"em",viewBox:"0 0 "+1e3*Ae+" "+1e3*Ge,preserveAspectRatio:"xMinYMin"}),nr=er(["overlay"],[Mt],ee);return nr.height=Ge,nr.style.height=Ge+"em",nr.style.width=Ae+"em",nr},it={fontMap:Ze,makeSymbol:Yi,mathsym:Et,makeSpan:En,makeSvgSpan:er,makeLineSpan:pt,makeAnchor:rt,makeFragment:It,wrapFragment:ht,makeVList:dr,makeOrd:ei,makeGlue:Ir,staticSvg:Ee,svgData:et,tryCombineChars:yi};function ir(Ve,W){var ee=Dr(Ve,W);if(!ee)throw new Error("Expected node of type "+W+", but got "+(Ve?"node of type "+Ve.type:String(Ve)));return ee}function Dr(Ve,W){return Ve&&Ve.type===W?Ve:null}function Er(Ve,W){var ee=Or(Ve,W);if(!ee)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 ee}function Or(Ve,W){return Ve&&Ve.type==="atom"&&Ve.family===W?Ve:null}function Nr(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"||tr.hasOwnProperty(Ve.type))?Ve:null}var Pr={number:3,unit:"mu"},ln={number:4,unit:"mu"},nn={number:5,unit:"mu"},cn={mord:{mop:Pr,mbin:ln,mrel:nn,minner:Pr},mop:{mord:Pr,mop:Pr,mrel:nn,minner:Pr},mbin:{mord:ln,mop:ln,mopen:ln,minner:ln},mrel:{mord:nn,mop:nn,mopen:nn,minner:nn},mopen:{},mclose:{mop:Pr,mbin:ln,mrel:nn,minner:Pr},mpunct:{mord:Pr,mop:Pr,mrel:nn,mopen:Pr,mclose:Pr,mpunct:Pr,minner:Pr},minner:{mord:Pr,mop:Pr,mbin:ln,mrel:nn,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={},bi={};function _n(Ve){for(var W=Ve.type,ee=Ve.names,ne=Ve.props,he=Ve.handler,Ae=Ve.htmlBuilder,Ge=Ve.mathmlBuilder,bt={type:W,numArgs:ne.numArgs,argTypes:ne.argTypes,greediness:ne.greediness===void 0?1:ne.greediness,allowedInText:!!ne.allowedInText,allowedInMath:ne.allowedInMath===void 0?!0:ne.allowedInMath,numOptionalArgs:ne.numOptionalArgs||0,infix:!!ne.infix,handler:he},Mt=0;Mt<ee.length;++Mt)pa[ee[Mt]]=bt;W&&(Ae&&(Pi[W]=Ae),Ge&&(bi[W]=Ge))}function li(Ve){var W=Ve.type,ee=Ve.htmlBuilder,ne=Ve.mathmlBuilder;_n({type:W,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:ee,mathmlBuilder:ne})}var $i=function(W){var ee=Dr(W,"ordgroup");return ee?ee.body:[W]},la=it.makeSpan,xs=["leftmost","mbin","mopen","mrel","mop","mpunct"],Pa=["rightmost","mrel","mclose","mpunct"],Na={display:z.DISPLAY,text:z.TEXT,script:z.SCRIPT,scriptscript:z.SCRIPTSCRIPT},Is={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},$a=function(W,ee,ne,he){he===void 0&&(he=[null,null]);for(var Ae=[],Ge=0;Ge<W.length;Ge++){var bt=ji(W[Ge],ee);if(bt instanceof Xe){var Mt=bt.children;Ae.push.apply(Ae,Mt)}else Ae.push(bt)}if(!ne)return Ae;var nr=ee;if(W.length===1){var Tr=Dr(W[0],"sizing")||Dr(W[0],"styling");Tr&&(Tr.type==="sizing"?nr=ee.havingSize(Tr.size):Tr.type==="styling"&&(nr=ee.havingStyle(Na[Tr.style])))}var Hr=la([he[0]||"leftmost"],[],ee),sn=la([he[1]||"rightmost"],[],ee);return hs(Ae,function(wn,Nn){var Wn=Nn.classes[0],_i=wn.classes[0];Wn==="mbin"&&T.contains(Pa,_i)?Nn.classes[0]="mord":_i==="mbin"&&T.contains(xs,Wn)&&(wn.classes[0]="mord")},{node:Hr},sn),hs(Ae,function(wn,Nn){var Wn=Ga(Nn),_i=Ga(wn),Sr=Wn&&_i?wn.hasClass("mtight")?An[Wn][_i]:cn[Wn][_i]:null;if(Sr)return it.makeGlue(Sr,nr)},{node:Hr},sn),Ae},hs=function Ve(W,ee,ne,he){he&&W.push(he);for(var Ae=0;Ae<W.length;Ae++){var Ge=W[Ae],bt=oa(Ge);if(bt){Ve(bt.children,ee,ne);continue}if(Ge.classes[0]!=="mspace"){var Mt=ee(Ge,ne.node);Mt&&(ne.insertAfter?ne.insertAfter(Mt):(W.unshift(Mt),Ae++)),ne.node=Ge,ne.insertAfter=function(nr){return function(Tr){W.splice(nr+1,0,Tr),Ae++}}(Ae)}}he&&W.pop()},oa=function(W){return W instanceof Xe||W instanceof Je?W:null},xi=function Ve(W,ee){var ne=oa(W);if(ne){var he=ne.children;if(he.length){if(ee==="right")return Ve(he[he.length-1],"right");if(ee==="left")return Ve(he[0],"left")}}return W},Ga=function(W,ee){return W?(ee&&(W=xi(W,ee)),Is[W.classes[0]]||null):null},Ds=function(W,ee){var ne=["nulldelimiter"].concat(W.baseSizingClasses());return la(ee.concat(ne))},ji=function(W,ee,ne){if(!W)return la();if(Pi[W.type]){var he=Pi[W.type](W,ee);if(ne&&ee.size!==ne.size){he=la(ee.sizingClasses(ne),[he],ee);var Ae=ee.sizeMultiplier/ne.sizeMultiplier;he.height*=Ae,he.depth*=Ae}return he}else throw new s("Got group of unknown type: '"+W.type+"'")};function ps(Ve,W){var ee=la(["base"],Ve,W),ne=la(["strut"]);return ne.style.height=ee.height+ee.depth+"em",ne.style.verticalAlign=-ee.depth+"em",ee.children.unshift(ne),ee}function Co(Ve,W){var ee=null;Ve.length===1&&Ve[0].type==="tag"&&(ee=Ve[0].tag,Ve=Ve[0].body);for(var ne=$a(Ve,W,!0),he=[],Ae=[],Ge=0;Ge<ne.length;Ge++)if(Ae.push(ne[Ge]),ne[Ge].hasClass("mbin")||ne[Ge].hasClass("mrel")||ne[Ge].hasClass("allowbreak")){for(var bt=!1;Ge<ne.length-1&&ne[Ge+1].hasClass("mspace")&&!ne[Ge+1].hasClass("newline");)Ge++,Ae.push(ne[Ge]),ne[Ge].hasClass("nobreak")&&(bt=!0);bt||(he.push(ps(Ae,W)),Ae=[])}else ne[Ge].hasClass("newline")&&(Ae.pop(),Ae.length>0&&(he.push(ps(Ae,W)),Ae=[]),he.push(ne[Ge]));Ae.length>0&&he.push(ps(Ae,W));var Mt;ee&&(Mt=ps($a(ee,W,!0)),Mt.classes=["tag"],he.push(Mt));var nr=la(["katex-html"],he);if(nr.setAttribute("aria-hidden","true"),Mt){var Tr=Mt.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(ee,ne){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=ee,this.attributes={},this.children=ne||[]}var W=Ve.prototype;return W.setAttribute=function(ne,he){this.attributes[ne]=he},W.getAttribute=function(ne){return this.attributes[ne]},W.toNode=function(){var ne=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&ne.setAttribute(he,this.attributes[he]);for(var Ae=0;Ae<this.children.length;Ae++)ne.appendChild(this.children[Ae].toNode());return ne},W.toMarkup=function(){var ne="<"+this.type;for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ne+=" "+he+'="',ne+=T.escape(this.attributes[he]),ne+='"');ne+=">";for(var Ae=0;Ae<this.children.length;Ae++)ne+=this.children[Ae].toMarkup();return ne+="</"+this.type+">",ne},W.toText=function(){return this.children.map(function(ne){return ne.toText()}).join("")},Ve}(),Ui=function(){function Ve(ee){this.text=void 0,this.text=ee}var W=Ve.prototype;return W.toNode=function(){return document.createTextNode(this.text)},W.toMarkup=function(){return T.escape(this.toText())},W.toText=function(){return this.text},Ve}(),Gs=function(){function Ve(ee){this.width=void 0,this.character=void 0,this.width=ee,ee>=.05555&&ee<=.05556?this.character="\u200A":ee>=.1666&&ee<=.1667?this.character="\u2009":ee>=.2222&&ee<=.2223?this.character="\u2005":ee>=.2777&&ee<=.2778?this.character="\u2005\u200A":ee>=-.05556&&ee<=-.05555?this.character="\u200A\u2063":ee>=-.1667&&ee<=-.1666?this.character="\u2009\u2063":ee>=-.2223&&ee<=-.2222?this.character="\u205F\u2063":ee>=-.2778&&ee<=-.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 ne=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return ne.setAttribute("width",this.width+"em"),ne},W.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},W.toText=function(){return this.character?this.character:" "},Ve}(),Ln={MathNode:_s,TextNode:Ui,SpaceNode:Gs,newDocumentFragment:La},ja=function(W,ee,ne){return Fe[ee][W]&&Fe[ee][W].replace&&W.charCodeAt(0)!==55349&&!(Vr.hasOwnProperty(W)&&ne&&(ne.fontFamily&&ne.fontFamily.substr(4,2)==="tt"||ne.font&&ne.font.substr(4,2)==="tt"))&&(W=Fe[ee][W].replace),new Ln.TextNode(W)},ns=function(W){return W.length===1?W[0]:new Ln.MathNode("mrow",W)},ls=function(W,ee){if(ee.fontFamily==="texttt")return"monospace";if(ee.fontFamily==="textsf")return ee.fontShape==="textit"&&ee.fontWeight==="textbf"?"sans-serif-bold-italic":ee.fontShape==="textit"?"sans-serif-italic":ee.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(ee.fontShape==="textit"&&ee.fontWeight==="textbf")return"bold-italic";if(ee.fontShape==="textit")return"italic";if(ee.fontWeight==="textbf")return"bold";var ne=ee.font;if(!ne||ne==="mathnormal")return null;var he=W.mode;if(ne==="mathit")return"italic";if(ne==="boldsymbol")return"bold-italic";if(ne==="mathbf")return"bold";if(ne==="mathbb")return"double-struck";if(ne==="mathfrak")return"fraktur";if(ne==="mathscr"||ne==="mathcal")return"script";if(ne==="mathsf")return"sans-serif";if(ne==="mathtt")return"monospace";var Ae=W.text;if(T.contains(["\\imath","\\jmath"],Ae))return null;Fe[he][Ae]&&Fe[he][Ae].replace&&(Ae=Fe[he][Ae].replace);var Ge=it.fontMap[ne].fontName;return Gt(Ae,Ge,he)?it.fontMap[ne].variant:null},Vi=function(W,ee,ne){if(W.length===1){var he=Da(W[0],ee);return ne&&he instanceof _s&&he.type==="mo"&&(he.setAttribute("lspace","0em"),he.setAttribute("rspace","0em")),[he]}for(var Ae=[],Ge,bt=0;bt<W.length;bt++){var Mt=Da(W[bt],ee);if(Mt instanceof _s&&Ge instanceof _s){if(Mt.type==="mtext"&&Ge.type==="mtext"&&Mt.getAttribute("mathvariant")===Ge.getAttribute("mathvariant")){var nr;(nr=Ge.children).push.apply(nr,Mt.children);continue}else if(Mt.type==="mn"&&Ge.type==="mn"){var Tr;(Tr=Ge.children).push.apply(Tr,Mt.children);continue}else if(Mt.type==="mi"&&Mt.children.length===1&&Ge.type==="mn"){var Hr=Mt.children[0];if(Hr instanceof Ui&&Hr.text==="."){var sn;(sn=Ge.children).push.apply(sn,Mt.children);continue}}else if(Ge.type==="mi"&&Ge.children.length===1){var wn=Ge.children[0];if(wn instanceof Ui&&wn.text==="\u0338"&&(Mt.type==="mo"||Mt.type==="mi"||Mt.type==="mn")){var Nn=Mt.children[0];Nn instanceof Ui&&Nn.text.length>0&&(Nn.text=Nn.text.slice(0,1)+"\u0338"+Nn.text.slice(1),Ae.pop())}}}Ae.push(Mt),Ge=Mt}return Ae},Ia=function(W,ee,ne){return ns(Vi(W,ee,ne))},Da=function(W,ee){if(!W)return new Ln.MathNode("mrow");if(bi[W.type]){var ne=bi[W.type](W,ee);return ne}else throw new s("Got group of unknown type: '"+W.type+"'")};function ms(Ve,W,ee,ne){var he=Vi(Ve,ee),Ae;he.length===1&&he[0]instanceof _s&&T.contains(["mrow","mtable"],he[0].type)?Ae=he[0]:Ae=new Ln.MathNode("mrow",he);var Ge=new Ln.MathNode("annotation",[new Ln.TextNode(W)]);Ge.setAttribute("encoding","application/x-tex");var bt=new Ln.MathNode("semantics",[Ae,Ge]),Mt=new Ln.MathNode("math",[bt]);Mt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var nr=ne?"katex":"katex-mathml";return it.makeSpan([nr],[Mt])}var Bs=function(W){return new Li({style:W.displayMode?z.DISPLAY:z.TEXT,maxSize:W.maxSize,minRuleThickness:W.minRuleThickness})},_o=function(W,ee){if(ee.displayMode){var ne=["katex-display"];ee.leqno&&ne.push("leqno"),ee.fleqn&&ne.push("fleqn"),W=it.makeSpan(ne,[W])}return W},To=function(W,ee,ne){var he=Bs(ne),Ae;if(ne.output==="mathml")return ms(W,ee,he,!0);if(ne.output==="html"){var Ge=Co(W,he);Ae=it.makeSpan(["katex"],[Ge])}else{var bt=ms(W,ee,he,!1),Mt=Co(W,he);Ae=it.makeSpan(["katex"],[bt,Mt])}return _o(Ae,ne)},Vo=function(W,ee,ne){var he=Bs(ne),Ae=Co(W,he),Ge=it.makeSpan(["katex"],[Ae]);return _o(Ge,ne)},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 ee=new Ln.MathNode("mo",[new Ln.TextNode(ca[W.substr(1)])]);return ee.setAttribute("stretchy","true"),ee},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,ee){function ne(){var Mt=4e5,nr=W.label.substr(1);if(T.contains(["widehat","widecheck","widetilde","utilde"],nr)){var Tr=W,Hr=vo(Tr.base),sn,wn,Nn;if(Hr>5)nr==="widehat"||nr==="widecheck"?(sn=420,Mt=2364,Nn=.42,wn=nr+"4"):(sn=312,Mt=2340,Nn=.34,wn="tilde4");else{var Wn=[1,1,2,2,3,3][Hr];nr==="widehat"||nr==="widecheck"?(Mt=[0,1062,2364,2364,2364][Wn],sn=[0,239,300,360,420][Wn],Nn=[0,.24,.3,.3,.36,.42][Wn],wn=nr+Wn):(Mt=[0,600,1033,2339,2340][Wn],sn=[0,260,286,306,312][Wn],Nn=[0,.26,.286,.3,.306,.34][Wn],wn="tilde"+Wn)}var _i=new $e(wn),Sr=new Me([_i],{width:"100%",height:Nn+"em",viewBox:"0 0 "+Mt+" "+sn,preserveAspectRatio:"none"});return{span:it.makeSvgSpan([],[Sr],ee),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 di=sa[3];Fs=["hide-tail"],Rs=[di]}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 "+Mt+" "+ws,preserveAspectRatio:Rs[Qs]+" slice"}),za=it.makeSvgSpan([Fs[Qs]],[Oo],ee);if(Aa===1)return{span:za,minWidth:Za,height:as};za.style.height=as+"em",aa.push(za)}return{span:it.makeSpan(["stretchy"],aa,ee),minWidth:Za,height:as}}}var he=ne(),Ae=he.span,Ge=he.minWidth,bt=he.height;return Ae.height=bt,Ae.style.height=bt+"em",Ge>0&&(Ae.style.minWidth=Ge+"em"),Ae},pi=function(W,ee,ne,he){var Ae,Ge=W.height+W.depth+2*ne;if(/fbox|color/.test(ee)){if(Ae=it.makeSpan(["stretchy",ee],[],he),ee==="fbox"){var bt=he.color&&he.getColor();bt&&(Ae.style.borderColor=bt)}}else{var Mt=[];/^[bx]cancel$/.test(ee)&&Mt.push(new We({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(ee)&&Mt.push(new We({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var nr=new Me(Mt,{width:"100%",height:Ge+"em"});Ae=it.makeSvgSpan([],[nr],he)}return Ae.height=Ge,Ae.style.height=Ge+"em",Ae},oi={encloseSpan:pi,mathMLnode:cs,svgSpan:go},Fa=function(W,ee){var ne,he,Ae=Dr(W,"supsub"),Ge;Ae?(he=ir(Ae.base,"accent"),ne=he.base,Ae.base=ne,Ge=lt(ji(Ae,ee)),Ae.base=he):(he=ir(W,"accent"),ne=he.base);var bt=ji(ne,ee.havingCrampedStyle()),Mt=he.isShifty&&T.isCharacterBox(ne),nr=0;if(Mt){var Tr=T.getBaseElem(ne),Hr=ji(Tr,ee.havingCrampedStyle());nr=nt(Hr).skew}var sn=Math.min(bt.height,ee.fontMetrics().xHeight),wn;if(he.isStretchy)wn=oi.svgSpan(he,ee),wn=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:bt},{type:"elem",elem:wn,wrapperClasses:["svg-align"],wrapperStyle:nr>0?{width:"calc(100% - "+2*nr+"em)",marginLeft:2*nr+"em"}:void 0}]},ee);else{var Nn,Wn;he.label==="\\vec"?(Nn=it.staticSvg("vec",ee),Wn=it.svgData.vec[1]):(Nn=it.makeOrd({mode:he.mode,text:he.label},ee,"textord"),Nn=nt(Nn),Nn.italic=0,Wn=Nn.width),wn=it.makeSpan(["accent-body"],[Nn]);var _i=he.label==="\\textcircled";_i&&(wn.classes.push("accent-full"),sn=bt.height);var Sr=nr;_i||(Sr-=Wn/2),wn.style.left=Sr+"em",he.label==="\\textcircled"&&(wn.style.top=".2em"),wn=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:bt},{type:"kern",size:-sn},{type:"elem",elem:wn}]},ee)}var aa=it.makeSpan(["mord","accent"],[wn],ee);return Ge?(Ge.children[0]=aa,Ge.height=Math.max(aa.height,Ge.height),Ge.classes[0]="mord",Ge):aa},Va=function(W,ee){var ne=W.isStretchy?oi.mathMLnode(W.label):new Ln.MathNode("mo",[ja(W.label,W.mode)]),he=new Ln.MathNode("mover",[Da(W.base,ee),ne]);return he.setAttribute("accent","true"),he},Xa=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Ve){return"\\"+Ve}).join("|"));_n({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,ee){var ne=ee[0],he=!Xa.test(W.funcName),Ae=!he||W.funcName==="\\widehat"||W.funcName==="\\widetilde"||W.funcName==="\\widecheck";return{type:"accent",mode:W.parser.mode,label:W.funcName,isStretchy:he,isShifty:Ae,base:ne}},htmlBuilder:Fa,mathmlBuilder:Va}),_n({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(W,ee){var ne=ee[0];return{type:"accent",mode:W.parser.mode,label:W.funcName,isStretchy:!1,isShifty:!0,base:ne}},htmlBuilder:Fa,mathmlBuilder:Va}),_n({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0];return{type:"accentUnder",mode:ne.mode,label:he,base:Ae}},htmlBuilder:function(W,ee){var ne=ji(W.base,ee),he=oi.svgSpan(W,ee),Ae=W.label==="\\utilde"?.12:0,Ge=it.makeVList({positionType:"bottom",positionData:he.height+Ae,children:[{type:"elem",elem:he,wrapperClasses:["svg-align"]},{type:"kern",size:Ae},{type:"elem",elem:ne}]},ee);return it.makeSpan(["mord","accentunder"],[Ge],ee)},mathmlBuilder:function(W,ee){var ne=oi.mathMLnode(W.label),he=new Ln.MathNode("munder",[Da(W.base,ee),ne]);return he.setAttribute("accentunder","true"),he}});var lo=function(W){var ee=new Ln.MathNode("mpadded",W?[W]:[]);return ee.setAttribute("width","+0.6em"),ee.setAttribute("lspace","0.3em"),ee};_n({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,ee,ne){var he=W.parser,Ae=W.funcName;return{type:"xArrow",mode:he.mode,label:Ae,body:ee[0],below:ne[0]}},htmlBuilder:function(W,ee){var ne=ee.style,he=ee.havingStyle(ne.sup()),Ae=it.wrapFragment(ji(W.body,he,ee),ee);Ae.classes.push("x-arrow-pad");var Ge;W.below&&(he=ee.havingStyle(ne.sub()),Ge=it.wrapFragment(ji(W.below,he,ee),ee),Ge.classes.push("x-arrow-pad"));var bt=oi.svgSpan(W,ee),Mt=-ee.fontMetrics().axisHeight+.5*bt.height,nr=-ee.fontMetrics().axisHeight-.5*bt.height-.111;(Ae.depth>.25||W.label==="\\xleftequilibrium")&&(nr-=Ae.depth);var Tr;if(Ge){var Hr=-ee.fontMetrics().axisHeight+Ge.height+.5*bt.height+.111;Tr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ae,shift:nr},{type:"elem",elem:bt,shift:Mt},{type:"elem",elem:Ge,shift:Hr}]},ee)}else Tr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ae,shift:nr},{type:"elem",elem:bt,shift:Mt}]},ee);return Tr.children[0].children[0].children[1].classes.push("svg-align"),it.makeSpan(["mrel","x-arrow"],[Tr],ee)},mathmlBuilder:function(W,ee){var ne=oi.mathMLnode(W.label),he;if(W.body){var Ae=lo(Da(W.body,ee));if(W.below){var Ge=lo(Da(W.below,ee));he=new Ln.MathNode("munderover",[ne,Ge,Ae])}else he=new Ln.MathNode("mover",[ne,Ae])}else if(W.below){var bt=lo(Da(W.below,ee));he=new Ln.MathNode("munder",[ne,bt])}else he=lo(),he=new Ln.MathNode("mover",[ne,he]);return he}}),_n({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(W,ee){for(var ne=W.parser,he=ir(ee[0],"ordgroup"),Ae=he.body,Ge="",bt=0;bt<Ae.length;bt++){var Mt=ir(Ae[bt],"textord");Ge+=Mt.text}var nr=parseInt(Ge);if(isNaN(nr))throw new s("\\@char has non-numeric argument "+Ge);return{type:"textord",mode:ne.mode,text:String.fromCharCode(nr)}}});var co=function(W,ee){var ne=$a(W.body,ee.withColor(W.color),!1);return it.makeFragment(ne)},Po=function(W,ee){var ne=Vi(W.body,ee.withColor(W.color)),he=new Ln.MathNode("mstyle",ne);return he.setAttribute("mathcolor",W.color),he};_n({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(W,ee){var ne=W.parser,he=ir(ee[0],"color-token").color,Ae=ee[1];return{type:"color",mode:ne.mode,color:he,body:$i(Ae)}},htmlBuilder:co,mathmlBuilder:Po}),_n({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(W,ee){var ne=W.parser,he=W.breakOnTokenText,Ae=ir(ee[0],"color-token").color;ne.gullet.macros.set("\\current@color",Ae);var Ge=ne.parseExpression(!0,he);return{type:"color",mode:ne.mode,color:Ae,body:Ge}},htmlBuilder:co,mathmlBuilder:Po}),_n({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(W,ee,ne){var he=W.parser,Ae=W.funcName,Ge=ne[0],bt=Ae==="\\cr",Mt=!1;return bt||(he.settings.displayMode&&he.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Mt=!1:Mt=!0),{type:"cr",mode:he.mode,newLine:Mt,newRow:bt,size:Ge&&ir(Ge,"size").value}},htmlBuilder:function(W,ee){if(W.newRow)throw new s("\\cr valid only within a tabular/array environment");var ne=it.makeSpan(["mspace"],[],ee);return W.newLine&&(ne.classes.push("newline"),W.size&&(ne.style.marginTop=gi(W.size,ee)+"em")),ne},mathmlBuilder:function(W,ee){var ne=new Ln.MathNode("mspace");return W.newLine&&(ne.setAttribute("linebreak","newline"),W.size&&ne.setAttribute("height",gi(W.size,ee)+"em")),ne}});var Qa=function(W,ee,ne){var he=Fe.math[W]&&Fe.math[W].replace,Ae=Gt(he||W,ee,ne);if(!Ae)throw new Error("Unsupported symbol "+W+" and font size "+ee+".");return Ae},Lo=function(W,ee,ne,he){var Ae=ne.havingBaseStyle(ee),Ge=it.makeSpan(he.concat(Ae.sizingClasses(ne)),[W],ne),bt=Ae.sizeMultiplier/ne.sizeMultiplier;return Ge.height*=bt,Ge.depth*=bt,Ge.maxFontSize=Ae.sizeMultiplier,Ge},yo=function(W,ee,ne){var he=ee.havingBaseStyle(ne),Ae=(1-ee.sizeMultiplier/he.sizeMultiplier)*ee.fontMetrics().axisHeight;W.classes.push("delimcenter"),W.style.top=Ae+"em",W.height-=Ae,W.depth+=Ae},Ko=function(W,ee,ne,he,Ae,Ge){var bt=it.makeSymbol(W,"Main-Regular",Ae,he),Mt=Lo(bt,ee,he,Ge);return ne&&yo(Mt,he,ee),Mt},Tu=function(W,ee,ne,he){return it.makeSymbol(W,"Size"+ee+"-Regular",ne,he)},_u=function(W,ee,ne,he,Ae,Ge){var bt=Tu(W,ee,Ae,he),Mt=Lo(it.makeSpan(["delimsizing","size"+ee],[bt],he),z.TEXT,he,Ge);return ne&&yo(Mt,he,z.TEXT),Mt},fo=function(W,ee,ne){var he;ee==="Size1-Regular"?he="delim-size1":he="delim-size4";var Ae=it.makeSpan(["delimsizinginner",he],[it.makeSpan([],[it.makeSymbol(W,ee,ne)])]);return{type:"elem",elem:Ae}},fs={type:"kern",size:-.005},zu=function(W,ee,ne,he,Ae,Ge){var bt,Mt,nr,Tr;bt=nr=Tr=W,Mt=null;var Hr="Size1-Regular";W==="\\uparrow"?nr=Tr="\u23D0":W==="\\Uparrow"?nr=Tr="\u2016":W==="\\downarrow"?bt=nr="\u23D0":W==="\\Downarrow"?bt=nr="\u2016":W==="\\updownarrow"?(bt="\\uparrow",nr="\u23D0",Tr="\\downarrow"):W==="\\Updownarrow"?(bt="\\Uparrow",nr="\u2016",Tr="\\Downarrow"):W==="["||W==="\\lbrack"?(bt="\u23A1",nr="\u23A2",Tr="\u23A3",Hr="Size4-Regular"):W==="]"||W==="\\rbrack"?(bt="\u23A4",nr="\u23A5",Tr="\u23A6",Hr="Size4-Regular"):W==="\\lfloor"||W==="\u230A"?(nr=bt="\u23A2",Tr="\u23A3",Hr="Size4-Regular"):W==="\\lceil"||W==="\u2308"?(bt="\u23A1",nr=Tr="\u23A2",Hr="Size4-Regular"):W==="\\rfloor"||W==="\u230B"?(nr=bt="\u23A5",Tr="\u23A6",Hr="Size4-Regular"):W==="\\rceil"||W==="\u2309"?(bt="\u23A4",nr=Tr="\u23A5",Hr="Size4-Regular"):W==="("||W==="\\lparen"?(bt="\u239B",nr="\u239C",Tr="\u239D",Hr="Size4-Regular"):W===")"||W==="\\rparen"?(bt="\u239E",nr="\u239F",Tr="\u23A0",Hr="Size4-Regular"):W==="\\{"||W==="\\lbrace"?(bt="\u23A7",Mt="\u23A8",Tr="\u23A9",nr="\u23AA",Hr="Size4-Regular"):W==="\\}"||W==="\\rbrace"?(bt="\u23AB",Mt="\u23AC",Tr="\u23AD",nr="\u23AA",Hr="Size4-Regular"):W==="\\lgroup"||W==="\u27EE"?(bt="\u23A7",Tr="\u23A9",nr="\u23AA",Hr="Size4-Regular"):W==="\\rgroup"||W==="\u27EF"?(bt="\u23AB",Tr="\u23AD",nr="\u23AA",Hr="Size4-Regular"):W==="\\lmoustache"||W==="\u23B0"?(bt="\u23A7",Tr="\u23AD",nr="\u23AA",Hr="Size4-Regular"):(W==="\\rmoustache"||W==="\u23B1")&&(bt="\u23AB",Tr="\u23A9",nr="\u23AA",Hr="Size4-Regular");var sn=Qa(bt,Hr,Ae),wn=sn.height+sn.depth,Nn=Qa(nr,Hr,Ae),Wn=Nn.height+Nn.depth,_i=Qa(Tr,Hr,Ae),Sr=_i.height+_i.depth,aa=0,sa=1;if(Mt!==null){var is=Qa(Mt,Hr,Ae);aa=is.height+is.depth,sa=2}var Za=wn+Sr+aa,ws=Math.max(0,Math.ceil((ee-Za)/(sa*Wn))),as=Za+ws*sa*Wn,Aa=he.fontMetrics().axisHeight;ne&&(Aa*=he.sizeMultiplier);var Fs=as/2-Aa,Rs=(ws+1)*.005-Wn,di=[];if(di.push(fo(Tr,Hr,Ae)),Mt===null)for(var Qs=0;Qs<ws;Qs++)di.push(fs),di.push(fo(nr,Hr,Ae));else{for(var po=0;po<ws;po++)di.push(fs),di.push(fo(nr,Hr,Ae));di.push({type:"kern",size:Rs}),di.push(fo(nr,Hr,Ae)),di.push(fs),di.push(fo(Mt,Hr,Ae));for(var Oo=0;Oo<ws;Oo++)di.push(fs),di.push(fo(nr,Hr,Ae))}di.push({type:"kern",size:Rs}),di.push(fo(nr,Hr,Ae)),di.push(fs),di.push(fo(bt,Hr,Ae));var za=he.havingBaseStyle(z.TEXT),Eo=it.makeVList({positionType:"bottom",positionData:Fs,children:di},za);return Lo(it.makeSpan(["delimsizing","mult"],[Eo],za),z.TEXT,he,Ge)},Mo=80,Io=.08,Us=function(W,ee,ne,he,Ae){var Ge=Jt(W,he,ne),bt=new $e(W,Ge),Mt=new Me([bt],{width:"400em",height:ee+"em",viewBox:"0 0 400000 "+ne,preserveAspectRatio:"xMinYMin slice"});return it.makeSvgSpan(["hide-tail"],[Mt],Ae)},ou=function(W,ee){var ne=ee.havingBaseSizing(),he=vr("\\surd",W*ne.sizeMultiplier,fr,ne),Ae=ne.sizeMultiplier,Ge=Math.max(0,ee.minRuleThickness-ee.fontMetrics().sqrtRuleThickness),bt,Mt=0,nr=0,Tr=0,Hr;return he.type==="small"?(Tr=1e3+1e3*Ge+Mo,W<1?Ae=1:W<1.4&&(Ae=.7),Mt=(1+Ge+Io)/Ae,nr=(1+Ge)/Ae,bt=Us("sqrtMain",Mt,Tr,Ge,ee),bt.style.minWidth="0.853em",Hr=.833/Ae):he.type==="large"?(Tr=(1e3+Mo)*bo[he.size],nr=(bo[he.size]+Ge)/Ae,Mt=(bo[he.size]+Ge+Io)/Ae,bt=Us("sqrtSize"+he.size,Mt,Tr,Ge,ee),bt.style.minWidth="1.02em",Hr=1/Ae):(Mt=W+Ge+Io,nr=W+Ge,Tr=Math.floor(1e3*W+Ge)+Mo,bt=Us("sqrtTall",Mt,Tr,Ge,ee),bt.style.minWidth="0.742em",Hr=1.056),bt.height=nr,bt.style.height=Mt+"em",{span:bt,advanceWidth:Hr,ruleWidth:(ee.fontMetrics().sqrtRuleThickness+Ge)*Ae}},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,ee,ne,he,Ae){if(W==="<"||W==="\\lt"||W==="\u27E8"?W="\\langle":(W===">"||W==="\\gt"||W==="\u27E9")&&(W="\\rangle"),T.contains(jo,W)||T.contains(Ls,W))return _u(W,ee,!1,ne,he,Ae);if(T.contains(Do,W))return zu(W,bo[ee],!1,ne,he,Ae);throw new s("Illegal delimiter: '"+W+"'")},Fo=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Xt=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"stack"}],fr=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.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,ee,ne,he){for(var Ae=Math.min(2,3-he.style.size),Ge=Ae;Ge<ne.length&&ne[Ge].type!=="stack";Ge++){var bt=Qa(W,sr(ne[Ge]),"math"),Mt=bt.height+bt.depth;if(ne[Ge].type==="small"){var nr=he.havingBaseStyle(ne[Ge].style);Mt*=nr.sizeMultiplier}if(Mt>ee)return ne[Ge]}return ne[ne.length-1]},wr=function(W,ee,ne,he,Ae,Ge){W==="<"||W==="\\lt"||W==="\u27E8"?W="\\langle":(W===">"||W==="\\gt"||W==="\u27E9")&&(W="\\rangle");var bt;T.contains(Ls,W)?bt=Fo:T.contains(jo,W)?bt=fr:bt=Xt;var Mt=vr(W,ee,bt,he);return Mt.type==="small"?Ko(W,Mt.style,ne,he,Ae,Ge):Mt.type==="large"?_u(W,Mt.size,ne,he,Ae,Ge):zu(W,ee,ne,he,Ae,Ge)},xn=function(W,ee,ne,he,Ae,Ge){var bt=he.fontMetrics().axisHeight*he.sizeMultiplier,Mt=901,nr=5/he.fontMetrics().ptPerEm,Tr=Math.max(ee-bt,ne+bt),Hr=Math.max(Tr/500*Mt,2*Tr-nr);return wr(W,Hr,!0,he,Ae,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}},Mn=["(","\\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 ee=bn(Ve);if(ee&&T.contains(Mn,ee.text))return ee;throw new s("Invalid delimiter: '"+(ee?ee.text:JSON.stringify(Ve))+"' after '"+W.funcName+"'",Ve)}_n({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,ee){var ne=Gn(ee[0],W);return{type:"delimsizing",mode:W.parser.mode,size:Un[W.funcName].size,mclass:Un[W.funcName].mclass,delim:ne.text}},htmlBuilder:function(W,ee){return W.delim==="."?it.makeSpan([W.mclass]):Sn.sizedDelim(W.delim,W.size,ee,W.mode,[W.mclass])},mathmlBuilder:function(W){var ee=[];W.delim!=="."&&ee.push(ja(W.delim,W.mode));var ne=new Ln.MathNode("mo",ee);return W.mclass==="mopen"||W.mclass==="mclose"?ne.setAttribute("fence","true"):ne.setAttribute("fence","false"),ne}});function ur(Ve){if(!Ve.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}_n({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(W,ee){var ne=W.parser.gullet.macros.get("\\current@color");if(ne&&typeof ne!="string")throw new s("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:W.parser.mode,delim:Gn(ee[0],W).text,color:ne}}}),_n({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(W,ee){var ne=Gn(ee[0],W),he=W.parser;++he.leftrightDepth;var Ae=he.parseExpression(!1);--he.leftrightDepth,he.expect("\\right",!1);var Ge=ir(he.parseFunction(),"leftright-right");return{type:"leftright",mode:he.mode,body:Ae,left:ne.text,right:Ge.delim,rightColor:Ge.color}},htmlBuilder:function(W,ee){ur(W);for(var ne=$a(W.body,ee,!0,["mopen","mclose"]),he=0,Ae=0,Ge=!1,bt=0;bt<ne.length;bt++)ne[bt].isMiddle?Ge=!0:(he=Math.max(ne[bt].height,he),Ae=Math.max(ne[bt].depth,Ae));he*=ee.sizeMultiplier,Ae*=ee.sizeMultiplier;var Mt;if(W.left==="."?Mt=Ds(ee,["mopen"]):Mt=Sn.leftRightDelim(W.left,he,Ae,ee,W.mode,["mopen"]),ne.unshift(Mt),Ge)for(var nr=1;nr<ne.length;nr++){var Tr=ne[nr],Hr=Tr.isMiddle;Hr&&(ne[nr]=Sn.leftRightDelim(Hr.delim,he,Ae,Hr.options,W.mode,[]))}var sn;if(W.right===".")sn=Ds(ee,["mclose"]);else{var wn=W.rightColor?ee.withColor(W.rightColor):ee;sn=Sn.leftRightDelim(W.right,he,Ae,wn,W.mode,["mclose"])}return ne.push(sn),it.makeSpan(["minner"],ne,ee)},mathmlBuilder:function(W,ee){ur(W);var ne=Vi(W.body,ee);if(W.left!=="."){var he=new Ln.MathNode("mo",[ja(W.left,W.mode)]);he.setAttribute("fence","true"),ne.unshift(he)}if(W.right!=="."){var Ae=new Ln.MathNode("mo",[ja(W.right,W.mode)]);Ae.setAttribute("fence","true"),W.rightColor&&Ae.setAttribute("mathcolor",W.rightColor),ne.push(Ae)}return ns(ne)}}),_n({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(W,ee){var ne=Gn(ee[0],W);if(!W.parser.leftrightDepth)throw new s("\\middle without preceding \\left",ne);return{type:"middle",mode:W.parser.mode,delim:ne.text}},htmlBuilder:function(W,ee){var ne;if(W.delim===".")ne=Ds(ee,[]);else{ne=Sn.sizedDelim(W.delim,1,ee,W.mode,[]);var he={delim:W.delim,options:ee};ne.isMiddle=he}return ne},mathmlBuilder:function(W,ee){var ne=W.delim==="\\vert"||W.delim==="|"?ja("|","text"):ja(W.delim,W.mode),he=new Ln.MathNode("mo",[ne]);return he.setAttribute("fence","true"),he.setAttribute("lspace","0.05em"),he.setAttribute("rspace","0.05em"),he}});var Mr=function(W,ee){var ne=it.wrapFragment(ji(W.body,ee),ee),he=W.label.substr(1),Ae=ee.sizeMultiplier,Ge,bt=0,Mt=T.isCharacterBox(W.body);if(he==="sout")Ge=it.makeSpan(["stretchy","sout"]),Ge.height=ee.fontMetrics().defaultRuleThickness/Ae,bt=-.5*ee.fontMetrics().xHeight;else{/cancel/.test(he)?Mt||ne.classes.push("cancel-pad"):ne.classes.push("boxpad");var nr=0,Tr=0;/box/.test(he)?(Tr=Math.max(ee.fontMetrics().fboxrule,ee.minRuleThickness),nr=ee.fontMetrics().fboxsep+(he==="colorbox"?0:Tr)):nr=Mt?.2:0,Ge=oi.encloseSpan(ne,he,nr,ee),/fbox|boxed|fcolorbox/.test(he)&&(Ge.style.borderStyle="solid",Ge.style.borderWidth=Tr+"em"),bt=ne.depth+nr,W.backgroundColor&&(Ge.style.backgroundColor=W.backgroundColor,W.borderColor&&(Ge.style.borderColor=W.borderColor))}var Hr;return W.backgroundColor?Hr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ge,shift:bt},{type:"elem",elem:ne,shift:0}]},ee):Hr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ne,shift:0},{type:"elem",elem:Ge,shift:bt,wrapperClasses:/cancel/.test(he)?["svg-align"]:[]}]},ee),/cancel/.test(he)&&(Hr.height=ne.height,Hr.depth=ne.depth),/cancel/.test(he)&&!Mt?it.makeSpan(["mord","cancel-lap"],[Hr],ee):it.makeSpan(["mord"],[Hr],ee)},xr=function(W,ee){var ne=0,he=new Ln.MathNode(W.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Da(W.body,ee)]);switch(W.label){case"\\cancel":he.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":he.setAttribute("notation","downdiagonalstrike");break;case"\\sout":he.setAttribute("notation","horizontalstrike");break;case"\\fbox":he.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(ne=ee.fontMetrics().fboxsep*ee.fontMetrics().ptPerEm,he.setAttribute("width","+"+2*ne+"pt"),he.setAttribute("height","+"+2*ne+"pt"),he.setAttribute("lspace",ne+"pt"),he.setAttribute("voffset",ne+"pt"),W.label==="\\fcolorbox"){var Ae=Math.max(ee.fontMetrics().fboxrule,ee.minRuleThickness);he.setAttribute("style","border: "+Ae+"em solid "+String(W.borderColor))}break;case"\\xcancel":he.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return W.backgroundColor&&he.setAttribute("mathbackground",W.backgroundColor),he};_n({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(W,ee,ne){var he=W.parser,Ae=W.funcName,Ge=ir(ee[0],"color-token").color,bt=ee[1];return{type:"enclose",mode:he.mode,label:Ae,backgroundColor:Ge,body:bt}},htmlBuilder:Mr,mathmlBuilder:xr}),_n({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(W,ee,ne){var he=W.parser,Ae=W.funcName,Ge=ir(ee[0],"color-token").color,bt=ir(ee[1],"color-token").color,Mt=ee[2];return{type:"enclose",mode:he.mode,label:Ae,backgroundColor:bt,borderColor:Ge,body:Mt}},htmlBuilder:Mr,mathmlBuilder:xr}),_n({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(W,ee){var ne=W.parser;return{type:"enclose",mode:ne.mode,label:"\\fbox",body:ee[0]}}}),_n({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(W,ee,ne){var he=W.parser,Ae=W.funcName,Ge=ee[0];return{type:"enclose",mode:he.mode,label:Ae,body:Ge}},htmlBuilder:Mr,mathmlBuilder:xr});var vn={};function Hn(Ve){for(var W=Ve.type,ee=Ve.names,ne=Ve.props,he=Ve.handler,Ae=Ve.htmlBuilder,Ge=Ve.mathmlBuilder,bt={type:W,numArgs:ne.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:he},Mt=0;Mt<ee.length;++Mt)vn[ee[Mt]]=bt;Ae&&(Pi[W]=Ae),Ge&&(bi[W]=Ge)}function ct(Ve){var W=[];Ve.consumeSpaces();for(var ee=Ve.fetch().text;ee==="\\hline"||ee==="\\hdashline";)Ve.consume(),W.push(ee==="\\hdashline"),Ve.consumeSpaces(),ee=Ve.fetch().text;return W}function In(Ve,W,ee){var ne=W.hskipBeforeAndAfter,he=W.addJot,Ae=W.cols,Ge=W.arraystretch,bt=W.colSeparationType;if(Ve.gullet.beginGroup(),Ve.gullet.macros.set("\\\\","\\cr"),!Ge){var Mt=Ve.gullet.expandMacroAsText("\\arraystretch");if(Mt==null)Ge=1;else if(Ge=parseFloat(Mt),!Ge||Ge<0)throw new s("Invalid \\arraystretch: "+Mt)}Ve.gullet.beginGroup();var nr=[],Tr=[nr],Hr=[],sn=[];for(sn.push(ct(Ve));;){var wn=Ve.parseExpression(!1,"\\cr");Ve.gullet.endGroup(),Ve.gullet.beginGroup(),wn={type:"ordgroup",mode:Ve.mode,body:wn},ee&&(wn={type:"styling",mode:Ve.mode,style:ee,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(),sn.length<Tr.length+1&&sn.push([]);break}else if(Nn==="\\cr"){var Wn=ir(Ve.parseFunction(),"cr");Hr.push(Wn.size),sn.push(ct(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:he,arraystretch:Ge,body:Tr,cols:Ae,rowGaps:Hr,hskipBeforeAndAfter:ne,hLinesBeforeRow:sn,colSeparationType:bt}}function Vn(Ve){return Ve.substr(0,1)==="d"?"display":"text"}var ci=function(W,ee){var ne,he,Ae=W.body.length,Ge=W.hLinesBeforeRow,bt=0,Mt=new Array(Ae),nr=[],Tr=Math.max(ee.fontMetrics().arrayRuleWidth,ee.minRuleThickness),Hr=1/ee.fontMetrics().ptPerEm,sn=5*Hr;if(W.colSeparationType&&W.colSeparationType==="small"){var wn=ee.havingStyle(z.SCRIPT).sizeMultiplier;sn=.2778*(wn/ee.sizeMultiplier)}var Nn=12*Hr,Wn=3*Hr,_i=W.arraystretch*Nn,Sr=.7*_i,aa=.3*_i,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]),ne=0;ne<W.body.length;++ne){var Za=W.body[ne],ws=Sr,as=aa;bt<Za.length&&(bt=Za.length);var Aa=new Array(Za.length);for(he=0;he<Za.length;++he){var Fs=ji(Za[he],ee);as<Fs.depth&&(as=Fs.depth),ws<Fs.height&&(ws=Fs.height),Aa[he]=Fs}var Rs=W.rowGaps[ne],di=0;Rs&&(di=gi(Rs,ee),di>0&&(di+=aa,as<di&&(as=di),di=0)),W.addJot&&(as+=Wn),Aa.height=ws,Aa.depth=as,sa+=ws,Aa.pos=sa,sa+=as+di,Mt[ne]=Aa,is(Ge[ne+1])}var Qs=sa/2+ee.fontMetrics().axisHeight,po=W.cols||[],Oo=[],za,Eo;for(he=0,Eo=0;he<bt||Eo<po.length;++he,++Eo){for(var zs=po[Eo]||{},Al=!0;zs.type==="separator";){if(Al||(za=it.makeSpan(["arraycolsep"],[]),za.style.width=ee.fontMetrics().doubleRuleSep+"em",Oo.push(za)),zs.separator==="|"||zs.separator===":"){var Ju=zs.separator==="|"?"solid":"dashed",el=it.makeSpan(["vertical-separator"],[],ee);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(!(he>=bt)){var gu=void 0;(he>0||W.hskipBeforeAndAfter)&&(gu=T.deflt(zs.pregap,sn),gu!==0&&(za=it.makeSpan(["arraycolsep"],[]),za.style.width=gu+"em",Oo.push(za)));var ss=[];for(ne=0;ne<Ae;++ne){var uu=Mt[ne],yu=uu[he];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},ee),ss=it.makeSpan(["col-align-"+(zs.align||"c")],[ss]),Oo.push(ss),(he<bt-1||W.hskipBeforeAndAfter)&&(gu=T.deflt(zs.postgap,sn),gu!==0&&(za=it.makeSpan(["arraycolsep"],[]),za.style.width=gu+"em",Oo.push(za)))}}if(Mt=it.makeSpan(["mtable"],Oo),nr.length>0){for(var tl=it.makeLineSpan("hline",ee,Tr),Iu=it.makeLineSpan("hdashline",ee,Tr),Yo=[{type:"elem",elem:Mt,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})}Mt=it.makeVList({positionType:"individualShift",children:Yo},ee)}return it.makeSpan(["mord"],[Mt],ee)},Qi={c:"center ",l:"left ",r:"right "},Br=function(W,ee){var ne=new Ln.MathNode("mtable",W.body.map(function(sa){return new Ln.MathNode("mtr",sa.map(function(is){return new Ln.MathNode("mtd",[Da(is,ee)])}))})),he=W.arraystretch===.5?.1:.16+W.arraystretch-1+(W.addJot?.09:0);ne.setAttribute("rowspacing",he+"em");var Ae="",Ge="";if(W.cols){var bt=W.cols,Mt="",nr=!1,Tr=0,Hr=bt.length;bt[0].type==="separator"&&(Ae+="top ",Tr=1),bt[bt.length-1].type==="separator"&&(Ae+="bottom ",Hr-=1);for(var sn=Tr;sn<Hr;sn++)bt[sn].type==="align"?(Ge+=Qi[bt[sn].align],nr&&(Mt+="none "),nr=!0):bt[sn].type==="separator"&&nr&&(Mt+=bt[sn].separator==="|"?"solid ":"dashed ",nr=!1);ne.setAttribute("columnalign",Ge.trim()),/[sd]/.test(Mt)&&ne.setAttribute("columnlines",Mt.trim())}if(W.colSeparationType==="align"){for(var wn=W.cols||[],Nn="",Wn=1;Wn<wn.length;Wn++)Nn+=Wn%2?"0em ":"1em ";ne.setAttribute("columnspacing",Nn.trim())}else W.colSeparationType==="alignat"?ne.setAttribute("columnspacing","0em"):W.colSeparationType==="small"?ne.setAttribute("columnspacing","0.2778em"):ne.setAttribute("columnspacing","1em");var _i="",Sr=W.hLinesBeforeRow;Ae+=Sr[0].length>0?"left ":"",Ae+=Sr[Sr.length-1].length>0?"right ":"";for(var aa=1;aa<Sr.length-1;aa++)_i+=Sr[aa].length===0?"none ":Sr[aa][0]?"dashed ":"solid ";return/[sd]/.test(_i)&&ne.setAttribute("rowlines",_i.trim()),Ae!==""&&(ne=new Ln.MathNode("menclose",[ne]),ne.setAttribute("notation",Ae.trim())),W.arraystretch&&W.arraystretch<1&&(ne=new Ln.MathNode("mstyle",[ne]),ne.setAttribute("scriptlevel","1")),ne},Mi=function(W,ee){var ne=[],he=In(W.parser,{cols:ne,addJot:!0},"display"),Ae,Ge=0,bt={type:"ordgroup",mode:W.mode,body:[]},Mt=Dr(ee[0],"ordgroup");if(Mt){for(var nr="",Tr=0;Tr<Mt.body.length;Tr++){var Hr=ir(Mt.body[Tr],"textord");nr+=Hr.text}Ae=Number(nr),Ge=Ae*2}var sn=!Ge;he.body.forEach(function(_i){for(var Sr=1;Sr<_i.length;Sr+=2){var aa=ir(_i[Sr],"styling"),sa=ir(aa.body[0],"ordgroup");sa.body.unshift(bt)}if(sn)Ge<_i.length&&(Ge=_i.length);else{var is=_i.length/2;if(Ae<is)throw new s("Too many math in a row: "+("expected "+Ae+", but got "+is),_i[0])}});for(var wn=0;wn<Ge;++wn){var Nn="r",Wn=0;wn%2===1?Nn="l":wn>0&&sn&&(Wn=1),ne[wn]={type:"align",align:Nn,pregap:Wn,postgap:0}}return he.colSeparationType=sn?"align":"alignat",he};Hn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(W,ee){var ne=bn(ee[0]),he=ne?[ee[0]]:ir(ee[0],"ordgroup").body,Ae=he.map(function(bt){var Mt=Nr(bt),nr=Mt.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,bt)}),Ge={cols:Ae,hskipBeforeAndAfter:!0};return In(W.parser,Ge,Vn(W.envName))},htmlBuilder:ci,mathmlBuilder:Br}),Hn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(W){var ee={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[W.envName],ne={hskipBeforeAndAfter:!1},he=In(W.parser,ne,Vn(W.envName));return ee?{type:"leftright",mode:W.mode,body:[he],left:ee[0],right:ee[1],rightColor:void 0}:he},htmlBuilder:ci,mathmlBuilder:Br}),Hn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(W){var ee={arraystretch:.5},ne=In(W.parser,ee,"script");return ne.colSeparationType="small",ne},htmlBuilder:ci,mathmlBuilder:Br}),Hn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(W,ee){var ne=bn(ee[0]),he=ne?[ee[0]]:ir(ee[0],"ordgroup").body,Ae=he.map(function(bt){var Mt=Nr(bt),nr=Mt.text;if("lc".indexOf(nr)!==-1)return{type:"align",align:nr};throw new s("Unknown column alignment: "+nr,bt)});if(Ae.length>1)throw new s("{subarray} can contain only one column");var Ge={cols:Ae,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ge=In(W.parser,Ge,"script"),Ge.body[0].length>1)throw new s("{subarray} can contain only one column");return Ge},htmlBuilder:ci,mathmlBuilder:Br}),Hn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(W){var ee={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},ne=In(W.parser,ee,Vn(W.envName));return{type:"leftright",mode:W.mode,body:[ne],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:ci,mathmlBuilder:Br}),Hn({type:"array",names:["aligned"],props:{numArgs:0},handler:Mi,htmlBuilder:ci,mathmlBuilder:Br}),Hn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(W){var ee={cols:[{type:"align",align:"c"}],addJot:!0};return In(W.parser,ee,"display")},htmlBuilder:ci,mathmlBuilder:Br}),Hn({type:"array",names:["alignedat"],props:{numArgs:1},handler:Mi,htmlBuilder:ci,mathmlBuilder:Br}),_n({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(W,ee){throw new s(W.funcName+" valid only within array environment")}});var ba=vn,Ur=ba;_n({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0];if(Ae.type!=="ordgroup")throw new s("Invalid environment name",Ae);for(var Ge="",bt=0;bt<Ae.body.length;++bt)Ge+=ir(Ae.body[bt],"textord").text;if(he==="\\begin"){if(!Ur.hasOwnProperty(Ge))throw new s("No such environment: "+Ge,Ae);var Mt=Ur[Ge],nr=ne.parseArguments("\\begin{"+Ge+"}",Mt),Tr=nr.args,Hr=nr.optArgs,sn={mode:ne.mode,envName:Ge,parser:ne},wn=Mt.handler(sn,Tr,Hr);ne.expect("\\end",!1);var Nn=ne.nextToken,Wn=ir(ne.parseFunction(),"environment");if(Wn.name!==Ge)throw new s("Mismatch: \\begin{"+Ge+"} matched by \\end{"+Wn.name+"}",Nn);return wn}return{type:"environment",mode:ne.mode,name:Ge,nameGroup:Ae}}});var na=it.makeSpan;function Ss(Ve,W){var ee=$a(Ve.body,W,!0);return na([Ve.mclass],ee,W)}function fi(Ve,W){var ee,ne=Vi(Ve.body,W);return Ve.mclass==="minner"?Ln.newDocumentFragment(ne):(Ve.mclass==="mord"?Ve.isCharacterBox?(ee=ne[0],ee.type="mi"):ee=new Ln.MathNode("mi",ne):(Ve.isCharacterBox?(ee=ne[0],ee.type="mo"):ee=new Ln.MathNode("mo",ne),Ve.mclass==="mbin"?(ee.attributes.lspace="0.22em",ee.attributes.rspace="0.22em"):Ve.mclass==="mpunct"?(ee.attributes.lspace="0em",ee.attributes.rspace="0.17em"):(Ve.mclass==="mopen"||Ve.mclass==="mclose")&&(ee.attributes.lspace="0em",ee.attributes.rspace="0em")),ee)}_n({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0];return{type:"mclass",mode:ne.mode,mclass:"m"+he.substr(5),body:$i(Ae),isCharacterBox:T.isCharacterBox(Ae)}},htmlBuilder:Ss,mathmlBuilder:fi});var Vs=function(W){var ee=W.type==="ordgroup"&&W.body.length?W.body[0]:W;return ee.type==="atom"&&(ee.family==="bin"||ee.family==="rel")?"m"+ee.family:"mord"};_n({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(W,ee){var ne=W.parser;return{type:"mclass",mode:ne.mode,mclass:Vs(ee[0]),body:[ee[1]],isCharacterBox:T.isCharacterBox(ee[1])}}}),_n({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[1],Ge=ee[0],bt;he!=="\\stackrel"?bt=Vs(Ae):bt="mrel";var Mt={type:"op",mode:Ae.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:he!=="\\stackrel",body:$i(Ae)},nr={type:"supsub",mode:Ge.mode,base:Mt,sup:he==="\\underset"?null:Ge,sub:he==="\\underset"?Ge:null};return{type:"mclass",mode:ne.mode,mclass:bt,body:[nr],isCharacterBox:T.isCharacterBox(nr)}},htmlBuilder:Ss,mathmlBuilder:fi});var xo=function(W,ee){var ne=W.font,he=ee.withFont(ne);return ji(W.body,he)},Os=function(W,ee){var ne=W.font,he=ee.withFont(ne);return Da(W.body,he)},xa={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};_n({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0],Ge=he;return Ge in xa&&(Ge=xa[Ge]),{type:"font",mode:ne.mode,font:Ge.slice(1),body:Ae}},htmlBuilder:xo,mathmlBuilder:Os}),_n({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(W,ee){var ne=W.parser,he=ee[0],Ae=T.isCharacterBox(he);return{type:"mclass",mode:ne.mode,mclass:Vs(he),body:[{type:"font",mode:ne.mode,font:"boldsymbol",body:he}],isCharacterBox:Ae}}}),_n({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=W.breakOnTokenText,Ge=ne.mode,bt=ne.parseExpression(!0,Ae),Mt="math"+he.slice(1);return{type:"font",mode:Ge,font:Mt,body:{type:"ordgroup",mode:ne.mode,body:bt}}},htmlBuilder:xo,mathmlBuilder:Os});var ds=function(W,ee){var ne=ee;return W==="display"?ne=ne.id>=z.SCRIPT.id?ne.text():z.DISPLAY:W==="text"&&ne.size===z.DISPLAY.size?ne=z.TEXT:W==="script"?ne=z.SCRIPT:W==="scriptscript"&&(ne=z.SCRIPTSCRIPT),ne},ks=function(W,ee){var ne=ds(W.size,ee.style),he=ne.fracNum(),Ae=ne.fracDen(),Ge;Ge=ee.havingStyle(he);var bt=ji(W.numer,Ge,ee);if(W.continued){var Mt=8.5/ee.fontMetrics().ptPerEm,nr=3.5/ee.fontMetrics().ptPerEm;bt.height=bt.height<Mt?Mt:bt.height,bt.depth=bt.depth<nr?nr:bt.depth}Ge=ee.havingStyle(Ae);var Tr=ji(W.denom,Ge,ee),Hr,sn,wn;W.hasBarLine?(W.barSize?(sn=gi(W.barSize,ee),Hr=it.makeLineSpan("frac-line",ee,sn)):Hr=it.makeLineSpan("frac-line",ee),sn=Hr.height,wn=Hr.height):(Hr=null,sn=0,wn=ee.fontMetrics().defaultRuleThickness);var Nn,Wn,_i;ne.size===z.DISPLAY.size||W.size==="display"?(Nn=ee.fontMetrics().num1,sn>0?Wn=3*wn:Wn=7*wn,_i=ee.fontMetrics().denom1):(sn>0?(Nn=ee.fontMetrics().num2,Wn=wn):(Nn=ee.fontMetrics().num3,Wn=3*wn),_i=ee.fontMetrics().denom2);var Sr;if(Hr){var sa=ee.fontMetrics().axisHeight;Nn-bt.depth-(sa+.5*sn)<Wn&&(Nn+=Wn-(Nn-bt.depth-(sa+.5*sn))),sa-.5*sn-(Tr.height-_i)<Wn&&(_i+=Wn-(sa-.5*sn-(Tr.height-_i)));var is=-(sa-.5*sn);Sr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Tr,shift:_i},{type:"elem",elem:Hr,shift:is},{type:"elem",elem:bt,shift:-Nn}]},ee)}else{var aa=Nn-bt.depth-(Tr.height-_i);aa<Wn&&(Nn+=.5*(Wn-aa),_i+=.5*(Wn-aa)),Sr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Tr,shift:_i},{type:"elem",elem:bt,shift:-Nn}]},ee)}Ge=ee.havingStyle(ne),Sr.height*=Ge.sizeMultiplier/ee.sizeMultiplier,Sr.depth*=Ge.sizeMultiplier/ee.sizeMultiplier;var Za;ne.size===z.DISPLAY.size?Za=ee.fontMetrics().delim1:Za=ee.fontMetrics().delim2;var ws,as;return W.leftDelim==null?ws=Ds(ee,["mopen"]):ws=Sn.customSizedDelim(W.leftDelim,Za,!0,ee.havingStyle(ne),W.mode,["mopen"]),W.continued?as=it.makeSpan([]):W.rightDelim==null?as=Ds(ee,["mclose"]):as=Sn.customSizedDelim(W.rightDelim,Za,!0,ee.havingStyle(ne),W.mode,["mclose"]),it.makeSpan(["mord"].concat(Ge.sizingClasses(ee)),[ws,it.makeSpan(["mfrac"],[Sr]),as],ee)},Dn=function(W,ee){var ne=new Ln.MathNode("mfrac",[Da(W.numer,ee),Da(W.denom,ee)]);if(!W.hasBarLine)ne.setAttribute("linethickness","0px");else if(W.barSize){var he=gi(W.barSize,ee);ne.setAttribute("linethickness",he+"em")}var Ae=ds(W.size,ee.style);if(Ae.size!==ee.style.size){ne=new Ln.MathNode("mstyle",[ne]);var Ge=Ae.size===z.DISPLAY.size?"true":"false";ne.setAttribute("displaystyle",Ge),ne.setAttribute("scriptlevel","0")}if(W.leftDelim!=null||W.rightDelim!=null){var bt=[];if(W.leftDelim!=null){var Mt=new Ln.MathNode("mo",[new Ln.TextNode(W.leftDelim.replace("\\",""))]);Mt.setAttribute("fence","true"),bt.push(Mt)}if(bt.push(ne),W.rightDelim!=null){var nr=new Ln.MathNode("mo",[new Ln.TextNode(W.rightDelim.replace("\\",""))]);nr.setAttribute("fence","true"),bt.push(nr)}return ns(bt)}return ne};_n({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0],Ge=ee[1],bt,Mt=null,nr=null,Tr="auto";switch(he){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":bt=!0;break;case"\\\\atopfrac":bt=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":bt=!1,Mt="(",nr=")";break;case"\\\\bracefrac":bt=!1,Mt="\\{",nr="\\}";break;case"\\\\brackfrac":bt=!1,Mt="[",nr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(he){case"\\cfrac":case"\\dfrac":case"\\dbinom":Tr="display";break;case"\\tfrac":case"\\tbinom":Tr="text";break}return{type:"genfrac",mode:ne.mode,continued:he==="\\cfrac",numer:Ae,denom:Ge,hasBarLine:bt,leftDelim:Mt,rightDelim:nr,size:Tr,barSize:null}},htmlBuilder:ks,mathmlBuilder:Dn}),_n({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(W){var ee=W.parser,ne=W.funcName,he=W.token,Ae;switch(ne){case"\\over":Ae="\\frac";break;case"\\choose":Ae="\\binom";break;case"\\atop":Ae="\\\\atopfrac";break;case"\\brace":Ae="\\\\bracefrac";break;case"\\brack":Ae="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:ee.mode,replaceWith:Ae,token:he}}});var gs=["display","text","script","scriptscript"],Ns=function(W){var ee=null;return W.length>0&&(ee=W,ee=ee==="."?null:ee),ee};_n({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(W,ee){var ne=W.parser,he=ee[4],Ae=ee[5],Ge=Dr(ee[0],"atom");Ge&&(Ge=Er(ee[0],"open"));var bt=Ge?Ns(Ge.text):null,Mt=Dr(ee[1],"atom");Mt&&(Mt=Er(ee[1],"close"));var nr=Mt?Ns(Mt.text):null,Tr=ir(ee[2],"size"),Hr,sn=null;Tr.isBlank?Hr=!0:(sn=Tr.value,Hr=sn.number>0);var wn="auto",Nn=Dr(ee[3],"ordgroup");if(Nn){if(Nn.body.length>0){var Wn=ir(Nn.body[0],"textord");wn=gs[Number(Wn.text)]}}else Nn=ir(ee[3],"textord"),wn=gs[Number(Nn.text)];return{type:"genfrac",mode:ne.mode,numer:he,denom:Ae,continued:!1,hasBarLine:Hr,barSize:sn,leftDelim:bt,rightDelim:nr,size:wn}},htmlBuilder:ks,mathmlBuilder:Dn}),_n({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=W.token;return{type:"infix",mode:ne.mode,replaceWith:"\\\\abovefrac",size:ir(ee[0],"size").value,token:Ae}}}),_n({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0],Ge=R(ir(ee[1],"infix").size),bt=ee[2],Mt=Ge.number>0;return{type:"genfrac",mode:ne.mode,numer:Ae,denom:bt,continued:!1,hasBarLine:Mt,barSize:Ge,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ks,mathmlBuilder:Dn});var Ye=function(W,ee){var ne=ee.style,he,Ae,Ge=Dr(W,"supsub");Ge?(he=Ge.sup?ji(Ge.sup,ee.havingStyle(ne.sup()),ee):ji(Ge.sub,ee.havingStyle(ne.sub()),ee),Ae=ir(Ge.base,"horizBrace")):Ae=ir(W,"horizBrace");var bt=ji(Ae.base,ee.havingBaseStyle(z.DISPLAY)),Mt=oi.svgSpan(Ae,ee),nr;if(Ae.isOver?(nr=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:bt},{type:"kern",size:.1},{type:"elem",elem:Mt}]},ee),nr.children[0].children[0].children[1].classes.push("svg-align")):(nr=it.makeVList({positionType:"bottom",positionData:bt.depth+.1+Mt.height,children:[{type:"elem",elem:Mt},{type:"kern",size:.1},{type:"elem",elem:bt}]},ee),nr.children[0].children[0].children[0].classes.push("svg-align")),he){var Tr=it.makeSpan(["mord",Ae.isOver?"mover":"munder"],[nr],ee);Ae.isOver?nr=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tr},{type:"kern",size:.2},{type:"elem",elem:he}]},ee):nr=it.makeVList({positionType:"bottom",positionData:Tr.depth+.2+he.height+he.depth,children:[{type:"elem",elem:he},{type:"kern",size:.2},{type:"elem",elem:Tr}]},ee)}return it.makeSpan(["mord",Ae.isOver?"mover":"munder"],[nr],ee)},Qe=function(W,ee){var ne=oi.mathMLnode(W.label);return new Ln.MathNode(W.isOver?"mover":"munder",[Da(W.base,ee),ne])};_n({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(W,ee){var ne=W.parser,he=W.funcName;return{type:"horizBrace",mode:ne.mode,label:he,isOver:/^\\over/.test(he),base:ee[0]}},htmlBuilder:Ye,mathmlBuilder:Qe}),_n({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=ee[1],Ae=ir(ee[0],"url").url;return ne.settings.isTrusted({command:"\\href",url:Ae})?{type:"href",mode:ne.mode,href:Ae,body:$i(he)}:ne.formatUnsupportedCmd("\\href")},htmlBuilder:function(W,ee){var ne=$a(W.body,ee,!1);return it.makeAnchor(W.href,[],ne,ee)},mathmlBuilder:function(W,ee){var ne=Ia(W.body,ee);return ne instanceof _s||(ne=new _s("mrow",[ne])),ne.setAttribute("href",W.href),ne}}),_n({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=ir(ee[0],"url").url;if(!ne.settings.isTrusted({command:"\\url",url:he}))return ne.formatUnsupportedCmd("\\url");for(var Ae=[],Ge=0;Ge<he.length;Ge++){var bt=he[Ge];bt==="~"&&(bt="\\textasciitilde"),Ae.push({type:"textord",mode:"text",text:bt})}var Mt={type:"text",mode:ne.mode,font:"\\texttt",body:Ae};return{type:"href",mode:ne.mode,href:he,body:$i(Mt)}}}),_n({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(W,ee){var ne=W.parser;return{type:"htmlmathml",mode:ne.mode,html:$i(ee[0]),mathml:$i(ee[1])}},htmlBuilder:function(W,ee){var ne=$a(W.html,ee,!1);return it.makeFragment(ne)},mathmlBuilder:function(W,ee){return Ia(W.mathml,ee)}});var Lt=function(W){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(W))return{number:+W,unit:"bp"};var ee=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(W);if(!ee)throw new s("Invalid size: '"+W+"' in \\includegraphics");var ne={number:+(ee[1]+ee[2]),unit:ee[3]};if(!wi(ne))throw new s("Invalid unit: '"+ne.unit+"' in \\includegraphics.");return ne};_n({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(W,ee,ne){var he=W.parser,Ae={number:0,unit:"em"},Ge={number:.9,unit:"em"},bt={number:0,unit:"em"},Mt="";if(ne[0])for(var nr=ir(ne[0],"raw").string,Tr=nr.split(","),Hr=0;Hr<Tr.length;Hr++){var sn=Tr[Hr].split("=");if(sn.length===2){var wn=sn[1].trim();switch(sn[0].trim()){case"alt":Mt=wn;break;case"width":Ae=Lt(wn);break;case"height":Ge=Lt(wn);break;case"totalheight":bt=Lt(wn);break;default:throw new s("Invalid key: '"+sn[0]+"' in \\includegraphics.")}}}var Nn=ir(ee[0],"url").url;return Mt===""&&(Mt=Nn,Mt=Mt.replace(/^.*[\\/]/,""),Mt=Mt.substring(0,Mt.lastIndexOf("."))),he.settings.isTrusted({command:"\\includegraphics",url:Nn})?{type:"includegraphics",mode:he.mode,alt:Mt,width:Ae,height:Ge,totalheight:bt,src:Nn}:he.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(W,ee){var ne=gi(W.height,ee),he=0;W.totalheight.number>0&&(he=gi(W.totalheight,ee)-ne,he=Number(he.toFixed(2)));var Ae=0;W.width.number>0&&(Ae=gi(W.width,ee));var Ge={height:ne+he+"em"};Ae>0&&(Ge.width=Ae+"em"),he>0&&(Ge.verticalAlign=-he+"em");var bt=new Ue(W.src,W.alt,Ge);return bt.height=ne,bt.depth=he,bt},mathmlBuilder:function(W,ee){var ne=new Ln.MathNode("mglyph",[]);ne.setAttribute("alt",W.alt);var he=gi(W.height,ee),Ae=0;if(W.totalheight.number>0&&(Ae=gi(W.totalheight,ee)-he,Ae=Ae.toFixed(2),ne.setAttribute("valign","-"+Ae+"em")),ne.setAttribute("height",he+Ae+"em"),W.width.number>0){var Ge=gi(W.width,ee);ne.setAttribute("width",Ge+"em")}return ne.setAttribute("src",W.src),ne}}),_n({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ir(ee[0],"size");if(ne.settings.strict){var Ge=he[1]==="m",bt=Ae.value.unit==="mu";Ge?(bt||ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" supports only mu units, "+("not "+Ae.value.unit+" units")),ne.mode!=="math"&&ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" works only in math mode")):bt&&ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" doesn't support mu units")}return{type:"kern",mode:ne.mode,dimension:Ae.value}},htmlBuilder:function(W,ee){return it.makeGlue(W.dimension,ee)},mathmlBuilder:function(W,ee){var ne=gi(W.dimension,ee);return new Ln.SpaceNode(ne)}}),_n({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0];return{type:"lap",mode:ne.mode,alignment:he.slice(5),body:Ae}},htmlBuilder:function(W,ee){var ne;W.alignment==="clap"?(ne=it.makeSpan([],[ji(W.body,ee)]),ne=it.makeSpan(["inner"],[ne],ee)):ne=it.makeSpan(["inner"],[ji(W.body,ee)]);var he=it.makeSpan(["fix"],[]),Ae=it.makeSpan([W.alignment],[ne,he],ee),Ge=it.makeSpan(["strut"]);return Ge.style.height=Ae.height+Ae.depth+"em",Ge.style.verticalAlign=-Ae.depth+"em",Ae.children.unshift(Ge),Ae=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ae}]},ee),it.makeSpan(["mord"],[Ae],ee)},mathmlBuilder:function(W,ee){var ne=new Ln.MathNode("mpadded",[Da(W.body,ee)]);if(W.alignment!=="rlap"){var he=W.alignment==="llap"?"-1":"-0.5";ne.setAttribute("lspace",he+"width")}return ne.setAttribute("width","0px"),ne}}),_n({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(W,ee){var ne=W.funcName,he=W.parser,Ae=he.mode;he.switchMode("math");var Ge=ne==="\\("?"\\)":"$",bt=he.parseExpression(!1,Ge);return he.expect(Ge),he.switchMode(Ae),{type:"styling",mode:he.mode,style:"text",body:bt}}}),_n({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(W,ee){throw new s("Mismatched "+W.funcName)}});var Kt=function(W,ee){switch(ee.style.size){case z.DISPLAY.size:return W.display;case z.TEXT.size:return W.text;case z.SCRIPT.size:return W.script;case z.SCRIPTSCRIPT.size:return W.scriptscript;default:return W.text}};_n({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(W,ee){var ne=W.parser;return{type:"mathchoice",mode:ne.mode,display:$i(ee[0]),text:$i(ee[1]),script:$i(ee[2]),scriptscript:$i(ee[3])}},htmlBuilder:function(W,ee){var ne=Kt(W,ee),he=$a(ne,ee,!1);return it.makeFragment(he)},mathmlBuilder:function(W,ee){var ne=Kt(W,ee);return Ia(ne,ee)}});var pr=function(W,ee,ne,he,Ae,Ge,bt){W=it.makeSpan([],[W]);var Mt,nr;if(ee){var Tr=ji(ee,he.havingStyle(Ae.sup()),he);nr={elem:Tr,kern:Math.max(he.fontMetrics().bigOpSpacing1,he.fontMetrics().bigOpSpacing3-Tr.depth)}}if(ne){var Hr=ji(ne,he.havingStyle(Ae.sub()),he);Mt={elem:Hr,kern:Math.max(he.fontMetrics().bigOpSpacing2,he.fontMetrics().bigOpSpacing4-Hr.height)}}var sn;if(nr&&Mt){var wn=he.fontMetrics().bigOpSpacing5+Mt.elem.height+Mt.elem.depth+Mt.kern+W.depth+bt;sn=it.makeVList({positionType:"bottom",positionData:wn,children:[{type:"kern",size:he.fontMetrics().bigOpSpacing5},{type:"elem",elem:Mt.elem,marginLeft:-Ge+"em"},{type:"kern",size:Mt.kern},{type:"elem",elem:W},{type:"kern",size:nr.kern},{type:"elem",elem:nr.elem,marginLeft:Ge+"em"},{type:"kern",size:he.fontMetrics().bigOpSpacing5}]},he)}else if(Mt){var Nn=W.height-bt;sn=it.makeVList({positionType:"top",positionData:Nn,children:[{type:"kern",size:he.fontMetrics().bigOpSpacing5},{type:"elem",elem:Mt.elem,marginLeft:-Ge+"em"},{type:"kern",size:Mt.kern},{type:"elem",elem:W}]},he)}else if(nr){var Wn=W.depth+bt;sn=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:he.fontMetrics().bigOpSpacing5}]},he)}else return W;return it.makeSpan(["mop","op-limits"],[sn],he)},Rr=["\\smallint"],$r=function(W,ee){var ne,he,Ae=!1,Ge,bt=Dr(W,"supsub");bt?(ne=bt.sup,he=bt.sub,Ge=ir(bt.base,"op"),Ae=!0):Ge=ir(W,"op");var Mt=ee.style,nr=!1;Mt.size===z.DISPLAY.size&&Ge.symbol&&!T.contains(Rr,Ge.name)&&(nr=!0);var Tr;if(Ge.symbol){var Hr=nr?"Size2-Regular":"Size1-Regular",sn="";if((Ge.name==="\\oiint"||Ge.name==="\\oiiint")&&(sn=Ge.name.substr(1),Ge.name=sn==="oiint"?"\\iint":"\\iiint"),Tr=it.makeSymbol(Ge.name,Hr,"math",ee,["mop","op-symbol",nr?"large-op":"small-op"]),sn.length>0){var wn=Tr.italic,Nn=it.staticSvg(sn+"Size"+(nr?"2":"1"),ee);Tr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Tr,shift:0},{type:"elem",elem:Nn,shift:nr?.08:0}]},ee),Ge.name="\\"+sn,Tr.classes.unshift("mop"),Tr.italic=wn}}else if(Ge.body){var Wn=$a(Ge.body,ee,!0);Wn.length===1&&Wn[0]instanceof Se?(Tr=Wn[0],Tr.classes[0]="mop"):Tr=it.makeSpan(["mop"],it.tryCombineChars(Wn),ee)}else{for(var _i=[],Sr=1;Sr<Ge.name.length;Sr++)_i.push(it.mathsym(Ge.name[Sr],Ge.mode,ee));Tr=it.makeSpan(["mop"],_i,ee)}var aa=0,sa=0;return(Tr instanceof Se||Ge.name==="\\oiint"||Ge.name==="\\oiiint")&&!Ge.suppressBaseShift&&(aa=(Tr.height-Tr.depth)/2-ee.fontMetrics().axisHeight,sa=Tr.italic),Ae?pr(Tr,ne,he,ee,Mt,sa,aa):(aa&&(Tr.style.position="relative",Tr.style.top=aa+"em"),Tr)},gn=function(W,ee){var ne;if(W.symbol)ne=new _s("mo",[ja(W.name,W.mode)]),T.contains(Rr,W.name)&&ne.setAttribute("largeop","false");else if(W.body)ne=new _s("mo",Vi(W.body,ee));else{ne=new _s("mi",[new Ui(W.name.slice(1))]);var he=new _s("mo",[ja("\u2061","text")]);W.parentIsSupSub?ne=new _s("mo",[ne,he]):ne=La([ne,he])}return ne},an={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};_n({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,ee){var ne=W.parser,he=W.funcName,Ae=he;return Ae.length===1&&(Ae=an[Ae]),{type:"op",mode:ne.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Ae}},htmlBuilder:$r,mathmlBuilder:gn}),_n({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(W,ee){var ne=W.parser,he=ee[0];return{type:"op",mode:ne.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:$i(he)}},htmlBuilder:$r,mathmlBuilder:gn});var yn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};_n({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 ee=W.parser,ne=W.funcName;return{type:"op",mode:ee.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:ne}},htmlBuilder:$r,mathmlBuilder:gn}),_n({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(W){var ee=W.parser,ne=W.funcName;return{type:"op",mode:ee.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:ne}},htmlBuilder:$r,mathmlBuilder:gn}),_n({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(W){var ee=W.parser,ne=W.funcName,he=ne;return he.length===1&&(he=yn[he]),{type:"op",mode:ee.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:he}},htmlBuilder:$r,mathmlBuilder:gn});var Qn=function(W,ee){var ne,he,Ae=!1,Ge,bt=Dr(W,"supsub");bt?(ne=bt.sup,he=bt.sub,Ge=ir(bt.base,"operatorname"),Ae=!0):Ge=ir(W,"operatorname");var Mt;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,ee.withFont("mathrm"),!0),Hr=0;Hr<Tr.length;Hr++){var sn=Tr[Hr];sn instanceof Se&&(sn.text=sn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Mt=it.makeSpan(["mop"],Tr,ee)}else Mt=it.makeSpan(["mop"],[],ee);return Ae?pr(Mt,ne,he,ee,ee.style,0,0):Mt},ri=function(W,ee){for(var ne=Vi(W.body,ee.withFont("mathrm")),he=!0,Ae=0;Ae<ne.length;Ae++){var Ge=ne[Ae];if(!(Ge instanceof Ln.SpaceNode))if(Ge instanceof Ln.MathNode)switch(Ge.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var bt=Ge.children[0];Ge.children.length===1&&bt instanceof Ln.TextNode?bt.text=bt.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):he=!1;break}default:he=!1}else he=!1}if(he){var Mt=ne.map(function(Hr){return Hr.toText()}).join("");ne=[new Ln.TextNode(Mt)]}var nr=new Ln.MathNode("mi",ne);nr.setAttribute("mathvariant","normal");var Tr=new Ln.MathNode("mo",[ja("\u2061","text")]);return W.parentIsSupSub?new Ln.MathNode("mo",[nr,Tr]):Ln.newDocumentFragment([nr,Tr])};_n({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0];return{type:"operatorname",mode:ne.mode,body:$i(Ae),alwaysHandleSupSub:he==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Qn,mathmlBuilder:ri}),li({type:"ordgroup",htmlBuilder:function(W,ee){return W.semisimple?it.makeFragment($a(W.body,ee,!1)):it.makeSpan(["mord"],$a(W.body,ee,!0),ee)},mathmlBuilder:function(W,ee){return Ia(W.body,ee,!0)}}),_n({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(W,ee){var ne=W.parser,he=ee[0];return{type:"overline",mode:ne.mode,body:he}},htmlBuilder:function(W,ee){var ne=ji(W.body,ee.havingCrampedStyle()),he=it.makeLineSpan("overline-line",ee),Ae=ee.fontMetrics().defaultRuleThickness,Ge=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne},{type:"kern",size:3*Ae},{type:"elem",elem:he},{type:"kern",size:Ae}]},ee);return it.makeSpan(["mord","overline"],[Ge],ee)},mathmlBuilder:function(W,ee){var ne=new Ln.MathNode("mo",[new Ln.TextNode("\u203E")]);ne.setAttribute("stretchy","true");var he=new Ln.MathNode("mover",[Da(W.body,ee),ne]);return he.setAttribute("accent","true"),he}}),_n({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=ee[0];return{type:"phantom",mode:ne.mode,body:$i(he)}},htmlBuilder:function(W,ee){var ne=$a(W.body,ee.withPhantom(),!1);return it.makeFragment(ne)},mathmlBuilder:function(W,ee){var ne=Vi(W.body,ee);return new Ln.MathNode("mphantom",ne)}}),_n({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=ee[0];return{type:"hphantom",mode:ne.mode,body:he}},htmlBuilder:function(W,ee){var ne=it.makeSpan([],[ji(W.body,ee.withPhantom())]);if(ne.height=0,ne.depth=0,ne.children)for(var he=0;he<ne.children.length;he++)ne.children[he].height=0,ne.children[he].depth=0;return ne=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne}]},ee),it.makeSpan(["mord"],[ne],ee)},mathmlBuilder:function(W,ee){var ne=Vi($i(W.body),ee),he=new Ln.MathNode("mphantom",ne),Ae=new Ln.MathNode("mpadded",[he]);return Ae.setAttribute("height","0px"),Ae.setAttribute("depth","0px"),Ae}}),_n({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=ee[0];return{type:"vphantom",mode:ne.mode,body:he}},htmlBuilder:function(W,ee){var ne=it.makeSpan(["inner"],[ji(W.body,ee.withPhantom())]),he=it.makeSpan(["fix"],[]);return it.makeSpan(["mord","rlap"],[ne,he],ee)},mathmlBuilder:function(W,ee){var ne=Vi($i(W.body),ee),he=new Ln.MathNode("mphantom",ne),Ae=new Ln.MathNode("mpadded",[he]);return Ae.setAttribute("width","0px"),Ae}}),_n({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=ir(ee[0],"size").value,Ae=ee[1];return{type:"raisebox",mode:ne.mode,dy:he,body:Ae}},htmlBuilder:function(W,ee){var ne=ji(W.body,ee),he=gi(W.dy,ee);return it.makeVList({positionType:"shift",positionData:-he,children:[{type:"elem",elem:ne}]},ee)},mathmlBuilder:function(W,ee){var ne=new Ln.MathNode("mpadded",[Da(W.body,ee)]),he=W.dy.number+W.dy.unit;return ne.setAttribute("voffset",he),ne}}),_n({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(W,ee,ne){var he=W.parser,Ae=ne[0],Ge=ir(ee[0],"size"),bt=ir(ee[1],"size");return{type:"rule",mode:he.mode,shift:Ae&&ir(Ae,"size").value,width:Ge.value,height:bt.value}},htmlBuilder:function(W,ee){var ne=it.makeSpan(["mord","rule"],[],ee),he=gi(W.width,ee),Ae=gi(W.height,ee),Ge=W.shift?gi(W.shift,ee):0;return ne.style.borderRightWidth=he+"em",ne.style.borderTopWidth=Ae+"em",ne.style.bottom=Ge+"em",ne.width=he,ne.height=Ae+Ge,ne.depth=-Ge,ne.maxFontSize=Ae*1.125*ee.sizeMultiplier,ne},mathmlBuilder:function(W,ee){var ne=gi(W.width,ee),he=gi(W.height,ee),Ae=W.shift?gi(W.shift,ee):0,Ge=ee.color&&ee.getColor()||"black",bt=new Ln.MathNode("mspace");bt.setAttribute("mathbackground",Ge),bt.setAttribute("width",ne+"em"),bt.setAttribute("height",he+"em");var Mt=new Ln.MathNode("mpadded",[bt]);return Ae>=0?Mt.setAttribute("height","+"+Ae+"em"):(Mt.setAttribute("height",Ae+"em"),Mt.setAttribute("depth","+"+-Ae+"em")),Mt.setAttribute("voffset",Ae+"em"),Mt}});function vi(Ve,W,ee){for(var ne=$a(Ve,W,!1),he=W.sizeMultiplier/ee.sizeMultiplier,Ae=0;Ae<ne.length;Ae++){var Ge=ne[Ae].classes.indexOf("sizing");Ge<0?Array.prototype.push.apply(ne[Ae].classes,W.sizingClasses(ee)):ne[Ae].classes[Ge+1]==="reset-size"+W.size&&(ne[Ae].classes[Ge+1]="reset-size"+ee.size),ne[Ae].height*=he,ne[Ae].depth*=he}return it.makeFragment(ne)}var Ii=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Hi=function(W,ee){var ne=ee.havingSize(W.size);return vi(W.body,ne,ee)};_n({type:"sizing",names:Ii,props:{numArgs:0,allowedInText:!0},handler:function(W,ee){var ne=W.breakOnTokenText,he=W.funcName,Ae=W.parser,Ge=Ae.parseExpression(!1,ne);return{type:"sizing",mode:Ae.mode,size:Ii.indexOf(he)+1,body:Ge}},htmlBuilder:Hi,mathmlBuilder:function(W,ee){var ne=ee.havingSize(W.size),he=Vi(W.body,ne),Ae=new Ln.MathNode("mstyle",he);return Ae.setAttribute("mathsize",ne.sizeMultiplier+"em"),Ae}}),_n({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(W,ee,ne){var he=W.parser,Ae=!1,Ge=!1,bt=ne[0]&&ir(ne[0],"ordgroup");if(bt)for(var Mt="",nr=0;nr<bt.body.length;++nr){var Tr=bt.body[nr];if(Mt=Tr.text,Mt==="t")Ae=!0;else if(Mt==="b")Ge=!0;else{Ae=!1,Ge=!1;break}}else Ae=!0,Ge=!0;var Hr=ee[0];return{type:"smash",mode:he.mode,body:Hr,smashHeight:Ae,smashDepth:Ge}},htmlBuilder:function(W,ee){var ne=it.makeSpan([],[ji(W.body,ee)]);if(!W.smashHeight&&!W.smashDepth)return ne;if(W.smashHeight&&(ne.height=0,ne.children))for(var he=0;he<ne.children.length;he++)ne.children[he].height=0;if(W.smashDepth&&(ne.depth=0,ne.children))for(var Ae=0;Ae<ne.children.length;Ae++)ne.children[Ae].depth=0;var Ge=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne}]},ee);return it.makeSpan(["mord"],[Ge],ee)},mathmlBuilder:function(W,ee){var ne=new Ln.MathNode("mpadded",[Da(W.body,ee)]);return W.smashHeight&&ne.setAttribute("height","0px"),W.smashDepth&&ne.setAttribute("depth","0px"),ne}}),_n({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(W,ee,ne){var he=W.parser,Ae=ne[0],Ge=ee[0];return{type:"sqrt",mode:he.mode,body:Ge,index:Ae}},htmlBuilder:function(W,ee){var ne=ji(W.body,ee.havingCrampedStyle());ne.height===0&&(ne.height=ee.fontMetrics().xHeight),ne=it.wrapFragment(ne,ee);var he=ee.fontMetrics(),Ae=he.defaultRuleThickness,Ge=Ae;ee.style.id<z.TEXT.id&&(Ge=ee.fontMetrics().xHeight);var bt=Ae+Ge/4,Mt=ne.height+ne.depth+bt+Ae,nr=Sn.sqrtImage(Mt,ee),Tr=nr.span,Hr=nr.ruleWidth,sn=nr.advanceWidth,wn=Tr.height-Hr;wn>ne.height+ne.depth+bt&&(bt=(bt+wn-ne.height-ne.depth)/2);var Nn=Tr.height-ne.height-bt-Hr;ne.style.paddingLeft=sn+"em";var Wn=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne,wrapperClasses:["svg-align"]},{type:"kern",size:-(ne.height+Nn)},{type:"elem",elem:Tr},{type:"kern",size:Hr}]},ee);if(W.index){var _i=ee.havingStyle(z.SCRIPTSCRIPT),Sr=ji(W.index,_i,ee),aa=.6*(Wn.height-Wn.depth),sa=it.makeVList({positionType:"shift",positionData:-aa,children:[{type:"elem",elem:Sr}]},ee),is=it.makeSpan(["root"],[sa]);return it.makeSpan(["mord","sqrt"],[is,Wn],ee)}else return it.makeSpan(["mord","sqrt"],[Wn],ee)},mathmlBuilder:function(W,ee){var ne=W.body,he=W.index;return he?new Ln.MathNode("mroot",[Da(ne,ee),Da(he,ee)]):new Ln.MathNode("msqrt",[Da(ne,ee)])}});var Fi={display:z.DISPLAY,text:z.TEXT,script:z.SCRIPT,scriptscript:z.SCRIPTSCRIPT};_n({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(W,ee){var ne=W.breakOnTokenText,he=W.funcName,Ae=W.parser,Ge=Ae.parseExpression(!0,ne),bt=he.slice(1,he.length-5);return{type:"styling",mode:Ae.mode,style:bt,body:Ge}},htmlBuilder:function(W,ee){var ne=Fi[W.style],he=ee.havingStyle(ne).withFont("");return vi(W.body,he,ee)},mathmlBuilder:function(W,ee){var ne=Fi[W.style],he=ee.havingStyle(ne),Ae=Vi(W.body,he),Ge=new Ln.MathNode("mstyle",Ae),bt={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Mt=bt[W.style];return Ge.setAttribute("scriptlevel",Mt[0]),Ge.setAttribute("displaystyle",Mt[1]),Ge}});var Si=function(W,ee){var ne=W.base;if(ne)if(ne.type==="op"){var he=ne.limits&&(ee.style.size===z.DISPLAY.size||ne.alwaysHandleSupSub);return he?$r:null}else if(ne.type==="operatorname"){var Ae=ne.alwaysHandleSupSub&&(ee.style.size===z.DISPLAY.size||ne.limits);return Ae?Qn:null}else{if(ne.type==="accent")return T.isCharacterBox(ne.base)?Fa:null;if(ne.type==="horizBrace"){var Ge=!W.sub;return Ge===ne.isOver?Ye:null}else return null}else return null};li({type:"supsub",htmlBuilder:function(W,ee){var ne=Si(W,ee);if(ne)return ne(W,ee);var he=W.base,Ae=W.sup,Ge=W.sub,bt=ji(he,ee),Mt,nr,Tr=ee.fontMetrics(),Hr=0,sn=0,wn=he&&T.isCharacterBox(he);if(Ae){var Nn=ee.havingStyle(ee.style.sup());Mt=ji(Ae,Nn,ee),wn||(Hr=bt.height-Nn.fontMetrics().supDrop*Nn.sizeMultiplier/ee.sizeMultiplier)}if(Ge){var Wn=ee.havingStyle(ee.style.sub());nr=ji(Ge,Wn,ee),wn||(sn=bt.depth+Wn.fontMetrics().subDrop*Wn.sizeMultiplier/ee.sizeMultiplier)}var _i;ee.style===z.DISPLAY?_i=Tr.sup1:ee.style.cramped?_i=Tr.sup3:_i=Tr.sup2;var Sr=ee.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");(bt instanceof Se||is)&&(sa=-bt.italic+"em")}var Za;if(Mt&&nr){Hr=Math.max(Hr,_i,Mt.depth+.25*Tr.xHeight),sn=Math.max(sn,Tr.sub2);var ws=Tr.defaultRuleThickness,as=4*ws;if(Hr-Mt.depth-(nr.height-sn)<as){sn=as-(Hr-Mt.depth)+nr.height;var Aa=.8*Tr.xHeight-(Hr-Mt.depth);Aa>0&&(Hr+=Aa,sn-=Aa)}var Fs=[{type:"elem",elem:nr,shift:sn,marginRight:aa,marginLeft:sa},{type:"elem",elem:Mt,shift:-Hr,marginRight:aa}];Za=it.makeVList({positionType:"individualShift",children:Fs},ee)}else if(nr){sn=Math.max(sn,Tr.sub1,nr.height-.8*Tr.xHeight);var Rs=[{type:"elem",elem:nr,marginLeft:sa,marginRight:aa}];Za=it.makeVList({positionType:"shift",positionData:sn,children:Rs},ee)}else if(Mt)Hr=Math.max(Hr,_i,Mt.depth+.25*Tr.xHeight),Za=it.makeVList({positionType:"shift",positionData:-Hr,children:[{type:"elem",elem:Mt,marginRight:aa}]},ee);else throw new Error("supsub must have either sup or sub.");var di=Ga(bt,"right")||"mord";return it.makeSpan([di],[bt,it.makeSpan(["msupsub"],[Za])],ee)},mathmlBuilder:function(W,ee){var ne=!1,he,Ae,Ge=Dr(W.base,"horizBrace");Ge&&(Ae=!!W.sup,Ae===Ge.isOver&&(ne=!0,he=Ge.isOver)),W.base&&(W.base.type==="op"||W.base.type==="operatorname")&&(W.base.parentIsSupSub=!0);var bt=[Da(W.base,ee)];W.sub&&bt.push(Da(W.sub,ee)),W.sup&&bt.push(Da(W.sup,ee));var Mt;if(ne)Mt=he?"mover":"munder";else if(W.sub)if(W.sup){var Hr=W.base;Hr&&Hr.type==="op"&&Hr.limits&&ee.style===z.DISPLAY||Hr&&Hr.type==="operatorname"&&Hr.alwaysHandleSupSub&&(ee.style===z.DISPLAY||Hr.limits)?Mt="munderover":Mt="msubsup"}else{var Tr=W.base;Tr&&Tr.type==="op"&&Tr.limits&&(ee.style===z.DISPLAY||Tr.alwaysHandleSupSub)||Tr&&Tr.type==="operatorname"&&Tr.alwaysHandleSupSub&&(Tr.limits||ee.style===z.DISPLAY)?Mt="munder":Mt="msub"}else{var nr=W.base;nr&&nr.type==="op"&&nr.limits&&(ee.style===z.DISPLAY||nr.alwaysHandleSupSub)||nr&&nr.type==="operatorname"&&nr.alwaysHandleSupSub&&(nr.limits||ee.style===z.DISPLAY)?Mt="mover":Mt="msup"}var sn=new Ln.MathNode(Mt,bt);return sn}}),li({type:"atom",htmlBuilder:function(W,ee){return it.mathsym(W.text,W.mode,ee,["m"+W.family])},mathmlBuilder:function(W,ee){var ne=new Ln.MathNode("mo",[ja(W.text,W.mode)]);if(W.family==="bin"){var he=ls(W,ee);he==="bold-italic"&&ne.setAttribute("mathvariant",he)}else W.family==="punct"?ne.setAttribute("separator","true"):(W.family==="open"||W.family==="close")&&ne.setAttribute("stretchy","false");return ne}});var ma={mi:"italic",mn:"normal",mtext:"normal"};li({type:"mathord",htmlBuilder:function(W,ee){return it.makeOrd(W,ee,"mathord")},mathmlBuilder:function(W,ee){var ne=new Ln.MathNode("mi",[ja(W.text,W.mode,ee)]),he=ls(W,ee)||"italic";return he!==ma[ne.type]&&ne.setAttribute("mathvariant",he),ne}}),li({type:"textord",htmlBuilder:function(W,ee){return it.makeOrd(W,ee,"textord")},mathmlBuilder:function(W,ee){var ne=ja(W.text,W.mode,ee),he=ls(W,ee)||"normal",Ae;return W.mode==="text"?Ae=new Ln.MathNode("mtext",[ne]):/[0-9]/.test(W.text)?Ae=new Ln.MathNode("mn",[ne]):W.text==="\\prime"?Ae=new Ln.MathNode("mo",[ne]):Ae=new Ln.MathNode("mi",[ne]),he!==ma[Ae.type]&&Ae.setAttribute("mathvariant",he),Ae}});var Ci={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ei={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};li({type:"spacing",htmlBuilder:function(W,ee){if(Ei.hasOwnProperty(W.text)){var ne=Ei[W.text].className||"";if(W.mode==="text"){var he=it.makeOrd(W,ee,"textord");return he.classes.push(ne),he}else return it.makeSpan(["mspace",ne],[it.mathsym(W.text,W.mode,ee)],ee)}else{if(Ci.hasOwnProperty(W.text))return it.makeSpan(["mspace",Ci[W.text]],[],ee);throw new s('Unknown type of space "'+W.text+'"')}},mathmlBuilder:function(W,ee){var ne;if(Ei.hasOwnProperty(W.text))ne=new Ln.MathNode("mtext",[new Ln.TextNode("\xA0")]);else{if(Ci.hasOwnProperty(W.text))return new Ln.MathNode("mspace");throw new s('Unknown type of space "'+W.text+'"')}return ne}});var fa=function(){var W=new Ln.MathNode("mtd",[]);return W.setAttribute("width","50%"),W};li({type:"tag",mathmlBuilder:function(W,ee){var ne=new Ln.MathNode("mtable",[new Ln.MathNode("mtr",[fa(),new Ln.MathNode("mtd",[Ia(W.body,ee)]),fa(),new Ln.MathNode("mtd",[Ia(W.tag,ee)])])]);return ne.setAttribute("width","100%"),ne}});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,ee){var ne=W.font;return ne?Ks[ne]?ee.withTextFontFamily(Ks[ne]):Es[ne]?ee.withTextFontWeight(Es[ne]):ee.withTextFontShape(Wi[ne]):ee};_n({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0];return{type:"text",mode:ne.mode,body:$i(Ae),font:he}},htmlBuilder:function(W,ee){var ne=ka(W,ee),he=$a(W.body,ne,!0);return it.makeSpan(["mord","text"],it.tryCombineChars(he),ne)},mathmlBuilder:function(W,ee){var ne=ka(W,ee);return Ia(W.body,ne)}}),_n({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(W,ee){var ne=W.parser;return{type:"underline",mode:ne.mode,body:ee[0]}},htmlBuilder:function(W,ee){var ne=ji(W.body,ee),he=it.makeLineSpan("underline-line",ee),Ae=ee.fontMetrics().defaultRuleThickness,Ge=it.makeVList({positionType:"top",positionData:ne.height,children:[{type:"kern",size:Ae},{type:"elem",elem:he},{type:"kern",size:3*Ae},{type:"elem",elem:ne}]},ee);return it.makeSpan(["mord","underline"],[Ge],ee)},mathmlBuilder:function(W,ee){var ne=new Ln.MathNode("mo",[new Ln.TextNode("\u203E")]);ne.setAttribute("stretchy","true");var he=new Ln.MathNode("munder",[Da(W.body,ee),ne]);return he.setAttribute("accentunder","true"),he}}),_n({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(W,ee,ne){throw new s("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(W,ee){for(var ne=ea(W),he=[],Ae=ee.havingStyle(ee.style.text()),Ge=0;Ge<ne.length;Ge++){var bt=ne[Ge];bt==="~"&&(bt="\\textasciitilde"),he.push(it.makeSymbol(bt,"Typewriter-Regular",W.mode,Ae,["mord","texttt"]))}return it.makeSpan(["mord","text"].concat(Ae.sizingClasses(ee)),it.tryCombineChars(he),Ae)},mathmlBuilder:function(W,ee){var ne=new Ln.TextNode(ea(W)),he=new Ln.MathNode("mtext",[ne]);return he.setAttribute("mathvariant","monospace"),he}});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(ee,ne){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=ee,this.settings=ne,this.tokenRegex=new RegExp(Ms,"g"),this.catcodes={"%":14}}var W=Ve.prototype;return W.setCatcode=function(ne,he){this.catcodes[ne]=he},W.lex=function(){var ne=this.input,he=this.tokenRegex.lastIndex;if(he===ne.length)return new c("EOF",new l(this,he,he));var Ae=this.tokenRegex.exec(ne);if(Ae===null||Ae.index!==he)throw new s("Unexpected character: '"+ne[he]+"'",new c(ne[he],new l(this,he,he+1)));var Ge=Ae[2]||" ";if(this.catcodes[Ge]===14){var bt=ne.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return bt===-1?(this.tokenRegex.lastIndex=ne.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=bt+1,this.lex()}var Mt=Ge.match(so);return Mt&&(Ge=Mt[1]),new c(Ge,new l(this,he,this.tokenRegex.lastIndex))},Ve}(),Ua=function(){function Ve(ee,ne){ee===void 0&&(ee={}),ne===void 0&&(ne={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=ne,this.builtins=ee,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 ne=this.undefStack.pop();for(var he in ne)ne.hasOwnProperty(he)&&(ne[he]===void 0?delete this.current[he]:this.current[he]=ne[he])},W.has=function(ne){return this.current.hasOwnProperty(ne)||this.builtins.hasOwnProperty(ne)},W.get=function(ne){return this.current.hasOwnProperty(ne)?this.current[ne]:this.builtins[ne]},W.set=function(ne,he,Ae){if(Ae===void 0&&(Ae=!1),Ae){for(var Ge=0;Ge<this.undefStack.length;Ge++)delete this.undefStack[Ge][ne];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][ne]=he)}else{var bt=this.undefStack[this.undefStack.length-1];bt&&!bt.hasOwnProperty(ne)&&(bt[ne]=this.current[ne])}this.current[ne]=he},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),ee=Ve.future();return W[0].length===1&&W[0][0].text===ee.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 we={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(),ee,ne="";if(W.text==="'")ee=8,W=Ve.popToken();else if(W.text==='"')ee=16,W=Ve.popToken();else if(W.text==="`")if(W=Ve.popToken(),W.text[0]==="\\")ne=W.text.charCodeAt(1);else{if(W.text==="EOF")throw new s("\\char` missing argument");ne=W.text.charCodeAt(0)}else ee=10;if(ee){if(ne=we[W.text],ne==null||ne>=ee)throw new s("Invalid base-"+ee+" digit "+W.text);for(var he;(he=we[Ve.future().text])!=null&&he<ee;)ne*=ee,ne+=he,Ve.popToken()}return"\\@char{"+ne+"}"});var yr=function(W,ee){var ne=W.consumeArgs(1)[0];if(ne.length!==1)throw new s("\\gdef's first argument must be a macro name");var he=ne[0].text,Ae=0;for(ne=W.consumeArgs(1)[0];ne.length===1&&ne[0].text==="#";){if(ne=W.consumeArgs(1)[0],ne.length!==1)throw new s('Invalid argument number length "'+ne.length+'"');if(!/^[1-9]$/.test(ne[0].text))throw new s('Invalid argument number "'+ne[0].text+'"');if(Ae++,parseInt(ne[0].text)!==Ae)throw new s('Argument number "'+ne[0].text+'" out of order');ne=W.consumeArgs(1)[0]}return W.macros.set(he,{tokens:ne,numArgs:Ae},ee),""};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 ee=W[0].text;if(ee==="\\def")return yr(Ve,!0);throw new s("Invalid command '"+ee+"' after \\global")});var en=function(W,ee,ne){var he=W.consumeArgs(1)[0];if(he.length!==1)throw new s("\\newcommand's first argument must be a macro name");var Ae=he[0].text,Ge=W.isDefined(Ae);if(Ge&&!ee)throw new s("\\newcommand{"+Ae+"} attempting to redefine "+(Ae+"; use \\renewcommand"));if(!Ge&&!ne)throw new s("\\renewcommand{"+Ae+"} when command "+Ae+" does not yet exist; use \\newcommand");var bt=0;if(he=W.consumeArgs(1)[0],he.length===1&&he[0].text==="["){for(var Mt="",nr=W.expandNextToken();nr.text!=="]"&&nr.text!=="EOF";)Mt+=nr.text,nr=W.expandNextToken();if(!Mt.match(/^\s*[0-9]+\s*$/))throw new s("Invalid number of arguments: "+Mt);bt=parseInt(Mt),he=W.consumeArgs(1)[0]}return W.macros.set(Ae,{tokens:he,numArgs:bt}),""};ye("\\newcommand",function(Ve){return en(Ve,!1,!0)}),ye("\\renewcommand",function(Ve){return en(Ve,!0,!1)}),ye("\\providecommand",function(Ve){return en(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",ee=Ve.expandAfterFuture().text;return ee in br?W=br[ee]:(ee.substr(0,4)==="\\not"||ee in Fe.math&&T.contains(["bin","rel"],Fe.math[ee].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 ti={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Bi=function(){function Ve(ee,ne,he){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=ne,this.expansionCount=0,this.feed(ee),this.macros=new Ua(ga,ne.macros),this.mode=he,this.stack=[]}var W=Ve.prototype;return W.feed=function(ne){this.lexer=new da(ne,this.settings)},W.switchMode=function(ne){this.mode=ne},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(ne){this.stack.push(ne)},W.pushTokens=function(ne){var he;(he=this.stack).push.apply(he,ne)},W.consumeSpaces=function(){for(;;){var ne=this.future();if(ne.text===" ")this.stack.pop();else break}},W.consumeArgs=function(ne){for(var he=[],Ae=0;Ae<ne;++Ae){this.consumeSpaces();var Ge=this.popToken();if(Ge.text==="{"){for(var bt=[],Mt=1;Mt!==0;){var nr=this.popToken();if(bt.push(nr),nr.text==="{")++Mt;else if(nr.text==="}")--Mt;else if(nr.text==="EOF")throw new s("End of input in macro argument",Ge)}bt.pop(),bt.reverse(),he[Ae]=bt}else{if(Ge.text==="EOF")throw new s("End of input expecting macro argument");he[Ae]=[Ge]}}return he},W.expandOnce=function(){var ne=this.popToken(),he=ne.text,Ae=this._getExpansion(he);if(Ae==null)return this.pushToken(ne),ne;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new s("Too many expansions: infinite loop or need to increase maxExpand setting");var Ge=Ae.tokens;if(Ae.numArgs){var bt=this.consumeArgs(Ae.numArgs);Ge=Ge.slice();for(var Mt=Ge.length-1;Mt>=0;--Mt){var nr=Ge[Mt];if(nr.text==="#"){if(Mt===0)throw new s("Incomplete placeholder at end of macro body",nr);if(nr=Ge[--Mt],nr.text==="#")Ge.splice(Mt+1,1);else if(/^[1-9]$/.test(nr.text)){var Tr;(Tr=Ge).splice.apply(Tr,[Mt,2].concat(bt[+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 ne=this.expandOnce();if(ne instanceof c)if(ne.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},W.expandMacro=function(ne){if(this.macros.get(ne)){var he=[],Ae=this.stack.length;for(this.pushToken(new c(ne));this.stack.length>Ae;){var Ge=this.expandOnce();Ge instanceof c&&he.push(this.stack.pop())}return he}},W.expandMacroAsText=function(ne){var he=this.expandMacro(ne);return he&&he.map(function(Ae){return Ae.text}).join("")},W._getExpansion=function(ne){var he=this.macros.get(ne);if(he==null)return he;var Ae=typeof he=="function"?he(this):he;if(typeof Ae=="string"){var Ge=0;if(Ae.indexOf("#")!==-1)for(var bt=Ae.replace(/##/g,"");bt.indexOf("#"+(Ge+1))!==-1;)++Ge;for(var Mt=new da(Ae,this.settings),nr=[],Tr=Mt.lex();Tr.text!=="EOF";)nr.push(Tr),Tr=Mt.lex();nr.reverse();var Hr={tokens:nr,numArgs:Ge};return Hr}return Ae},W.isDefined=function(ne){return this.macros.has(ne)||va.hasOwnProperty(ne)||Fe.math.hasOwnProperty(ne)||Fe.text.hasOwnProperty(ne)||ti.hasOwnProperty(ne)},Ve}(),Fn={"\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"}},On={\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(ee,ne){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 Bi(ee,ne,this.mode),this.settings=ne,this.leftrightDepth=0}var W=Ve.prototype;return W.expect=function(ne,he){if(he===void 0&&(he=!0),this.fetch().text!==ne)throw new s("Expected '"+ne+"', got '"+this.fetch().text+"'",this.fetch());he&&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(ne){this.mode=ne,this.gullet.switchMode(ne)},W.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var ne=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),ne},W.parseExpression=function(ne,he){for(var Ae=[];;){this.mode==="math"&&this.consumeSpaces();var Ge=this.fetch();if(Ve.endOfExpression.indexOf(Ge.text)!==-1||he&&Ge.text===he||ne&&va[Ge.text]&&va[Ge.text].infix)break;var bt=this.parseAtom(he);if(!bt)break;Ae.push(bt)}return this.mode==="text"&&this.formLigatures(Ae),this.handleInfixNodes(Ae)},W.handleInfixNodes=function(ne){for(var he=-1,Ae,Ge=0;Ge<ne.length;Ge++){var bt=Dr(ne[Ge],"infix");if(bt){if(he!==-1)throw new s("only one infix operator per group",bt.token);he=Ge,Ae=bt.replaceWith}}if(he!==-1&&Ae){var Mt,nr,Tr=ne.slice(0,he),Hr=ne.slice(he+1);Tr.length===1&&Tr[0].type==="ordgroup"?Mt=Tr[0]:Mt={type:"ordgroup",mode:this.mode,body:Tr},Hr.length===1&&Hr[0].type==="ordgroup"?nr=Hr[0]:nr={type:"ordgroup",mode:this.mode,body:Hr};var sn;return Ae==="\\\\abovefrac"?sn=this.callFunction(Ae,[Mt,ne[he],nr],[]):sn=this.callFunction(Ae,[Mt,nr],[]),[sn]}else return ne},W.handleSupSubscript=function(ne){var he=this.fetch(),Ae=he.text;this.consume();var Ge=this.parseGroup(ne,!1,Ve.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ge)throw new s("Expected group after '"+Ae+"'",he);return Ge},W.formatUnsupportedCmd=function(ne){for(var he=[],Ae=0;Ae<ne.length;Ae++)he.push({type:"textord",mode:"text",text:ne[Ae]});var Ge={type:"text",mode:this.mode,body:he},bt={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ge]};return bt},W.parseAtom=function(ne){var he=this.parseGroup("atom",!1,null,ne);if(this.mode==="text")return he;for(var Ae,Ge;;){this.consumeSpaces();var bt=this.fetch();if(bt.text==="\\limits"||bt.text==="\\nolimits"){var Mt=Dr(he,"op");if(Mt){var nr=bt.text==="\\limits";Mt.limits=nr,Mt.alwaysHandleSupSub=!0}else if(Mt=Dr(he,"operatorname"),Mt&&Mt.alwaysHandleSupSub){var Tr=bt.text==="\\limits";Mt.limits=Tr}else throw new s("Limit controls must follow a math operator",bt);this.consume()}else if(bt.text==="^"){if(Ae)throw new s("Double superscript",bt);Ae=this.handleSupSubscript("superscript")}else if(bt.text==="_"){if(Ge)throw new s("Double subscript",bt);Ge=this.handleSupSubscript("subscript")}else if(bt.text==="'"){if(Ae)throw new s("Double superscript",bt);var Hr={type:"textord",mode:this.mode,text:"\\prime"},sn=[Hr];for(this.consume();this.fetch().text==="'";)sn.push(Hr),this.consume();this.fetch().text==="^"&&sn.push(this.handleSupSubscript("superscript")),Ae={type:"ordgroup",mode:this.mode,body:sn}}else break}return Ae||Ge?{type:"supsub",mode:this.mode,base:he,sup:Ae,sub:Ge}:he},W.parseFunction=function(ne,he,Ae){var Ge=this.fetch(),bt=Ge.text,Mt=va[bt];if(!Mt)return null;if(this.consume(),Ae!=null&&Mt.greediness<=Ae)throw new s("Got function '"+bt+"' with no arguments"+(he?" as "+he:""),Ge);if(this.mode==="text"&&!Mt.allowedInText)throw new s("Can't use function '"+bt+"' in text mode",Ge);if(this.mode==="math"&&Mt.allowedInMath===!1)throw new s("Can't use function '"+bt+"' in math mode",Ge);var nr=this.parseArguments(bt,Mt),Tr=nr.args,Hr=nr.optArgs;return this.callFunction(bt,Tr,Hr,Ge,ne)},W.callFunction=function(ne,he,Ae,Ge,bt){var Mt={funcName:ne,parser:this,token:Ge,breakOnTokenText:bt},nr=va[ne];if(nr&&nr.handler)return nr.handler(Mt,he,Ae);throw new s("No function handler for "+ne)},W.parseArguments=function(ne,he){var Ae=he.numArgs+he.numOptionalArgs;if(Ae===0)return{args:[],optArgs:[]};for(var Ge=he.greediness,bt=[],Mt=[],nr=0;nr<Ae;nr++){var Tr=he.argTypes&&he.argTypes[nr],Hr=nr<he.numOptionalArgs,sn=nr>0&&!Hr||nr===0&&!Hr&&this.mode==="math",wn=this.parseGroupOfType("argument to '"+ne+"'",Tr,Hr,Ge,sn);if(!wn){if(Hr){Mt.push(null);continue}throw new s("Expected group after '"+ne+"'",this.fetch())}(Hr?Mt:bt).push(wn)}return{args:bt,optArgs:Mt}},W.parseGroupOfType=function(ne,he,Ae,Ge,bt){switch(he){case"color":return bt&&this.consumeSpaces(),this.parseColorGroup(Ae);case"size":return bt&&this.consumeSpaces(),this.parseSizeGroup(Ae);case"url":return this.parseUrlGroup(Ae,bt);case"math":case"text":return this.parseGroup(ne,Ae,Ge,void 0,he,bt);case"hbox":{var Mt=this.parseGroup(ne,Ae,Ge,void 0,"text",bt);if(!Mt)return Mt;var nr={type:"styling",mode:Mt.mode,body:[Mt],style:"text"};return nr}case"raw":{if(bt&&this.consumeSpaces(),Ae&&this.fetch().text==="{")return null;var Tr=this.parseStringGroup("raw",Ae,!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(ne,Ae,Ge,void 0,void 0,bt);default:throw new s("Unknown group type as "+ne,this.fetch())}},W.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},W.parseStringGroup=function(ne,he,Ae){var Ge=he?"[":"{",bt=he?"]":"}",Mt=this.fetch();if(Mt.text!==Ge){if(he)return null;if(Ae&&Mt.text!=="EOF"&&/[^{}[\]]/.test(Mt.text))return this.consume(),Mt}var nr=this.mode;this.mode="text",this.expect(Ge);for(var Tr="",Hr=this.fetch(),sn=0,wn=Hr,Nn;(Nn=this.fetch()).text!==bt||Ae&&sn>0;){switch(Nn.text){case"EOF":throw new s("Unexpected end of input in "+ne,Hr.range(wn,Tr));case Ge:sn++;break;case bt:sn--;break}wn=Nn,Tr+=wn.text,this.consume()}return this.expect(bt),this.mode=nr,Hr.range(wn,Tr)},W.parseRegexGroup=function(ne,he){var Ae=this.mode;this.mode="text";for(var Ge=this.fetch(),bt=Ge,Mt="",nr;(nr=this.fetch()).text!=="EOF"&&ne.test(Mt+nr.text);)bt=nr,Mt+=bt.text,this.consume();if(Mt==="")throw new s("Invalid "+he+": '"+Ge.text+"'",Ge);return this.mode=Ae,Ge.range(bt,Mt)},W.parseColorGroup=function(ne){var he=this.parseStringGroup("color",ne);if(!he)return null;var Ae=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(he.text);if(!Ae)throw new s("Invalid color: '"+he.text+"'",he);var Ge=Ae[0];return/^[0-9a-f]{6}$/i.test(Ge)&&(Ge="#"+Ge),{type:"color-token",mode:this.mode,color:Ge}},W.parseSizeGroup=function(ne){var he,Ae=!1;if(!ne&&this.fetch().text!=="{"?he=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):he=this.parseStringGroup("size",ne),!he)return null;!ne&&he.text.length===0&&(he.text="0pt",Ae=!0);var Ge=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(he.text);if(!Ge)throw new s("Invalid size: '"+he.text+"'",he);var bt={number:+(Ge[1]+Ge[2]),unit:Ge[3]};if(!wi(bt))throw new s("Invalid unit: '"+bt.unit+"'",he);return{type:"size",mode:this.mode,value:bt,isBlank:Ae}},W.parseUrlGroup=function(ne,he){this.gullet.lexer.setCatcode("%",13);var Ae=this.parseStringGroup("url",ne,!0);if(this.gullet.lexer.setCatcode("%",14),!Ae)return null;var Ge=Ae.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ge}},W.parseGroup=function(ne,he,Ae,Ge,bt,Mt){var nr=this.mode;bt&&this.switchMode(bt),Mt&&this.consumeSpaces();var Tr=this.fetch(),Hr=Tr.text,sn;if(he?Hr==="[":Hr==="{"||Hr==="\\begingroup"){this.consume();var wn=Ve.endOfGroup[Hr];this.gullet.beginGroup();var Nn=this.parseExpression(!1,wn),Wn=this.fetch();this.expect(wn),this.gullet.endGroup(),sn={type:"ordgroup",mode:this.mode,loc:l.range(Tr,Wn),body:Nn,semisimple:Hr==="\\begingroup"||void 0}}else if(he)sn=null;else if(sn=this.parseFunction(Ge,ne,Ae)||this.parseSymbol(),sn==null&&Hr[0]==="\\"&&!ti.hasOwnProperty(Hr)){if(this.settings.throwOnError)throw new s("Undefined control sequence: "+Hr,Tr);sn=this.formatUnsupportedCmd(Hr),this.consume()}return bt&&this.switchMode(nr),sn},W.formLigatures=function(ne){for(var he=ne.length-1,Ae=0;Ae<he;++Ae){var Ge=ne[Ae],bt=Ge.text;bt==="-"&&ne[Ae+1].text==="-"&&(Ae+1<he&&ne[Ae+2].text==="-"?(ne.splice(Ae,3,{type:"textord",mode:"text",loc:l.range(Ge,ne[Ae+2]),text:"---"}),he-=2):(ne.splice(Ae,2,{type:"textord",mode:"text",loc:l.range(Ge,ne[Ae+1]),text:"--"}),he-=1)),(bt==="'"||bt==="`")&&ne[Ae+1].text===bt&&(ne.splice(Ae,2,{type:"textord",mode:"text",loc:l.range(Ge,ne[Ae+1]),text:bt+bt}),he-=1)}},W.parseSymbol=function(){var ne=this.fetch(),he=ne.text;if(/^\\verb[^a-zA-Z]/.test(he)){this.consume();var Ae=he.slice(5),Ge=Ae.charAt(0)==="*";if(Ge&&(Ae=Ae.slice(1)),Ae.length<2||Ae.charAt(0)!==Ae.slice(-1))throw new s(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return Ae=Ae.slice(1,-1),{type:"verb",mode:"text",body:Ae,star:Ge}}On.hasOwnProperty(he[0])&&!Fe[this.mode][he[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+he[0]+'" used in math mode',ne),he=On[he[0]]+he.substr(1));var bt=Ys.exec(he);bt&&(he=he.substring(0,bt.index),he==="i"?he="\u0131":he==="j"&&(he="\u0237"));var Mt;if(Fe[this.mode][he]){this.settings.strict&&this.mode==="math"&&rn.indexOf(he)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+he[0]+'" used in math mode',ne);var nr=Fe[this.mode][he].group,Tr=l.range(ne),Hr;if($t.hasOwnProperty(nr)){var sn=nr;Hr={type:"atom",mode:this.mode,family:sn,loc:Tr,text:he}}else Hr={type:nr,mode:this.mode,loc:Tr,text:he};Mt=Hr}else if(he.charCodeAt(0)>=128)this.settings.strict&&(Pe(he.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+he[0]+'" used in math mode',ne):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+he[0]+'"'+(" ("+he.charCodeAt(0)+")"),ne)),Mt={type:"textord",mode:"text",loc:l.range(ne),text:he};else return null;if(this.consume(),bt)for(var wn=0;wn<bt[0].length;wn++){var Nn=bt[0][wn];if(!Fn[Nn])throw new s("Unknown accent ' "+Nn+"'",ne);var Wn=Fn[Nn][this.mode];if(!Wn)throw new s("Accent "+Nn+" unsupported in "+this.mode+" mode",ne);Mt={type:"accent",mode:this.mode,loc:l.range(ne),label:Wn,isStretchy:!1,isShifty:!0,base:Mt}}return Mt},Ve}();Bn.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Bn.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Bn.SUPSUB_GREEDINESS=1;var ia=function(W,ee){if(!(typeof W=="string"||W instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var ne=new Bn(W,ee);delete ne.gullet.macros.current["\\df@tag"];var he=ne.parse();if(ne.gullet.macros.get("\\df@tag")){if(!ee.displayMode)throw new s("\\tag works only in display equations");ne.gullet.feed("\\df@tag"),he=[{type:"tag",mode:"text",body:he,tag:ne.parse()}]}return he},zi=ia,ho=function(W,ee,ne){ee.textContent="";var he=qu(W,ne).toNode();ee.appendChild(he)};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,ee){var ne=qu(W,ee).toMarkup();return ne},eu=function(W,ee){var ne=new D(ee);return zi(W,ne)},hl=function(W,ee,ne){if(ne.throwOnError||!(W instanceof s))throw W;var he=it.makeSpan(["katex-error"],[new Se(ee)]);return he.setAttribute("title",W.toString()),he.setAttribute("style","color:"+ne.errorColor),he},qu=function(W,ee){var ne=new D(ee);try{var he=zi(W,ne);return To(he,W,ne)}catch(Ae){return hl(Ae,W,ne)}},vu=function(W,ee){var ne=new D(ee);try{var he=zi(W,ne);return Vo(he,W,ne)}catch(Ae){return hl(Ae,W,ne)}},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:dt,Anchor:Je,SymbolNode:Se,SvgNode:Me,PathNode:$e,LineNode:We}},Pu=e.default=Uc}]).default})},76414:function(d,v,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,v,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,v,e){var r=e(73893),i=e(33152),l=r(i,"Map");d.exports=l},52166:function(d,v,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,v,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,v,e){var r=e(33152),i=r.Symbol;d.exports=i},77945:function(d,v,e){var r=e(33152),i=r.Uint8Array;d.exports=i},79628:function(d){function v(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=v},63333:function(d,v,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):[],T=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,T)))&&L.push(D);return L}d.exports=a},89135:function(d,v,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,v,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,v,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,v,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,v,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,v,e){var r=e(78010),i=r();d.exports=i},86756:function(d,v,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,v,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,v,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,v,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]",T="[object DataView]",D="[object Float32Array]",M="[object Float64Array]",N="[object Int8Array]",j="[object Int16Array]",Q="[object Int32Array]",X="[object Uint8Array]",Y="[object Uint8ClampedArray]",oe="[object Uint16Array]",ie="[object Uint32Array]",ue={};ue[D]=ue[M]=ue[N]=ue[j]=ue[Q]=ue[X]=ue[Y]=ue[oe]=ue[ie]=!0,ue[c]=ue[f]=ue[L]=ue[s]=ue[T]=ue[h]=ue[u]=ue[a]=ue[x]=ue[p]=ue[y]=ue[_]=ue[b]=ue[S]=ue[R]=!1;function K(V){return l(V)&&i(V.length)&&!!ue[r(V)]}d.exports=K},33988:function(d,v,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,v,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,v,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,T,D,M,N,j,Q){var X=b(L,D),Y=b(T,D),oe=Q.get(Y);if(oe){r(L,D,oe);return}var ie=j?j(X,Y,D+"",L,T,Q):void 0,ue=ie===void 0;if(ue){var K=h(Y),V=!K&&a(Y),G=!K&&!V&&_(Y);ie=Y,K||V||G?h(X)?ie=X:u(X)?ie=c(X):V?(ue=!1,ie=i(Y,!0)):G?(ue=!1,ie=l(Y,!0)):ie=[]:y(Y)||s(Y)?(ie=X,s(X)?ie=S(X):(!p(X)||x(X))&&(ie=f(Y))):ue=!1}ue&&(Q.set(Y,ie),N(ie,Y,M,j,Q),Q.delete(Y)),r(L,D,ie)}d.exports=R},92918:function(d,v,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,v,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 v(e,r){for(var i=-1,l=Array(e);++i<e;)l[i]=r(i);return l}d.exports=v},38342:function(d){function v(e){return function(r){return e(r)}}d.exports=v},20188:function(d,v,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,v,e){d=e.nmd(d);var r=e(33152),i=v&&!v.nodeType&&v,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,v,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 v(e,r){var i=-1,l=e.length;for(r||(r=Array(l));++i<l;)r[i]=e[i];return r}d.exports=v},95378:function(d,v,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,v,e){var r=e(33152),i=r["__core-js_shared__"];d.exports=i},63323:function(d,v,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 v(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=v},35234:function(d,v,e){var r=e(73893),i=function(){try{var l=r(Object,"defineProperty");return l({},"",{}),l}catch(c){}}();d.exports=i},37675:function(d,v,e){var r=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g;d.exports=r},89819:function(d,v,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,v,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,v,e){var r=e(31030),i=r(Object.getPrototypeOf,Object);d.exports=i},72533:function(d,v,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 v(e,r){return e==null?void 0:e[r]}d.exports=v},64696:function(d,v,e){var r=e(65294);function i(){this.__data__=r?r(null):{},this.size=0}d.exports=i},16824:function(d){function v(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}d.exports=v},23476:function(d,v,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,v,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,v,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,v,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 v=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function r(i,l){var c=typeof i;return l=l==null?v:l,!!l&&(c=="number"||c!="symbol"&&e.test(i))&&i>-1&&i%1==0&&i<l}d.exports=r},8138:function(d,v,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 v(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}d.exports=v},89379:function(d,v,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 v=Object.prototype;function e(r){var i=r&&r.constructor,l=typeof i=="function"&&i.prototype||v;return r===l}d.exports=e},34251:function(d){function v(){this.__data__=[],this.size=0}d.exports=v},24968:function(d,v,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,v,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,v,e){var r=e(67971);function i(l){return r(this.__data__,l)>-1}d.exports=i},54238:function(d,v,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,v,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,v,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,v,e){var r=e(89819);function i(l){return r(this,l).get(l)}d.exports=i},10203:function(d,v,e){var r=e(89819);function i(l){return r(this,l).has(l)}d.exports=i},11298:function(d,v,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,v,e){var r=e(73893),i=r(Object,"create");d.exports=i},97817:function(d){function v(e){var r=[];if(e!=null)for(var i in Object(e))r.push(i);return r}d.exports=v},52495:function(d,v,e){d=e.nmd(d);var r=e(37675),i=v&&!v.nodeType&&v,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 v=Object.prototype,e=v.toString;function r(i){return e.call(i)}d.exports=r},31030:function(d){function v(e,r){return function(i){return e(r(i))}}d.exports=v},19652:function(d,v,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,v,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 v(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}d.exports=v},71152:function(d,v,e){var r=e(63989),i=e(12345),l=i(r);d.exports=l},12345:function(d){var v=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>=v)return arguments[0]}else c=0;return l.apply(void 0,arguments)}}d.exports=i},31119:function(d,v,e){var r=e(99746);function i(){this.__data__=new r,this.size=0}d.exports=i},64399:function(d){function v(e){var r=this.__data__,i=r.delete(e);return this.size=r.size,i}d.exports=v},81897:function(d){function v(e){return this.__data__.get(e)}d.exports=v},90558:function(d){function v(e){return this.__data__.has(e)}d.exports=v},64841:function(d,v,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 v=Function.prototype,e=v.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 v(e){return function(){return e}}d.exports=v},43607:function(d){function v(e,r){return e===r||e!==e&&r!==r}d.exports=v},46962:function(d){function v(e){return e}d.exports=v},13053:function(d,v,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 v=Array.isArray;d.exports=v},24665:function(d,v,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,v,e){var r=e(24665),i=e(93913);function l(c){return i(c)&&r(c)}d.exports=l},57835:function(d,v,e){d=e.nmd(d);var r=e(33152),i=e(55950),l=v&&!v.nodeType&&v,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,v,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 v=9007199254740991;function e(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=v}d.exports=e},20816:function(d){function v(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}d.exports=v},93913:function(d){function v(e){return e!=null&&typeof e=="object"}d.exports=v},19308:function(d,v,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,v,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,v,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,v,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,T=4,D=8,M=16,N=32,j=64,Q=128,X=256,Y=512,oe=30,ie="...",ue=800,K=16,V=1,G=2,te=3,q=1/0,J=9007199254740991,le=17976931348623157e292,z=NaN,F=4294967295,se=F-1,_e=F>>>1,Pe=[["ary",Q],["bind",R],["bindKey",L],["curry",D],["curryRight",M],["flip",Y],["partial",N],["partialRight",j],["rearg",X]],Re="[object Arguments]",He="[object Array]",je="[object AsyncFunction]",Zt="[object Boolean]",yt="[object Date]",Dt="[object DOMException]",Qt="[object Error]",Jt="[object Function]",qt="[object GeneratorFunction]",Xe="[object Map]",Tt="[object Number]",jt="[object Null]",st="[object Object]",gt="[object Promise]",dt="[object Proxy]",Je="[object RegExp]",Ue="[object Set]",ge="[object String]",Se="[object Symbol]",Me="[object Undefined]",$e="[object WeakMap]",We="[object WeakSet]",nt="[object ArrayBuffer]",lt="[object DataView]",Vt="[object Float32Array]",Ht="[object Float64Array]",Ie="[object Int8Array]",qe="[object Int16Array]",Gt="[object Int32Array]",Ot="[object Uint8Array]",zt="[object Uint8ClampedArray]",$t="[object Uint16Array]",tr="[object Uint32Array]",Wt=/\b__p \+= '';/g,Fe=/\b(__p \+=) '' \+/g,fe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,pe=/&(?:amp|lt|gt|quot|#39);/g,Pt=/[&<>"']/g,Ce=RegExp(pe.source),ft=RegExp(Pt.source),Ut=/<%-([\s\S]+?)%>/g,At=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,wt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,be=/^\w*$/,Ke=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mt=/[\\^$.*+?()[\]{}|]/g,kt=RegExp(mt.source),Be=/^\s+/,kr=/\s/,St=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Vr=/\{\n\/\* \[wrapped with (.+)\] \*/,Jr=/,? & /,Ar=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Fr=/[()=,{}\[\]\/\s]/,mr=/\\(\\)?/g,jr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,on=/\w*$/,fn=/^[-+]0x[0-9a-f]+$/i,or=/^0b[01]+$/i,Rt=/^\[object .+?Constructor\]$/,_t=/^0o[0-7]+$/i,vt=/^(?:0|[1-9]\d*)$/,Bt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Cr=/($^)/,gr=/['\n\r\u2028\u2029\\]/g,rn="\\ud800-\\udfff",Kr="\\u0300-\\u036f",Pn="\\ufe20-\\ufe2f",Ct="\\u20d0-\\u20ff",cr=Kr+Pn+Ct,Xr="\\u2700-\\u27bf",pn="a-z\\xdf-\\xf6\\xf8-\\xff",$n="\\xac\\xb1\\xd7\\xf7",si="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",zn="\\u2000-\\u206f",Li=" \\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",ui="A-Z\\xc0-\\xd6\\xd8-\\xde",mi="\\ufe0e\\ufe0f",wi=$n+si+zn+Li,gi="['\u2019]",Xi="["+rn+"]",qn="["+wi+"]",Yi="["+cr+"]",Et="\\d+",ot="["+Xr+"]",Jn="["+pn+"]",Ai="[^"+rn+wi+Et+Xr+pn+ui+"]",ei="\\ud83c[\\udffb-\\udfff]",Gi="(?:"+Yi+"|"+ei+")",yi="[^"+rn+"]",ai="(?:\\ud83c[\\udde6-\\uddff]){2}",En="[\\ud800-\\udbff][\\udc00-\\udfff]",er="["+ui+"]",pt="\\u200d",rt="(?:"+Jn+"|"+Ai+")",It="(?:"+er+"|"+Ai+")",ht="(?:"+gi+"(?:d|ll|m|re|s|t|ve))?",lr="(?:"+gi+"(?:D|LL|M|RE|S|T|VE))?",dr=Gi+"?",Ir="["+mi+"]?",Zr="(?:"+pt+"(?:"+[yi,ai,En].join("|")+")"+Ir+dr+")*",Ze="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",et="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ee=Ir+dr+Zr,it="(?:"+[ot,ai,En].join("|")+")"+Ee,ir="(?:"+[yi+Yi+"?",Yi,ai,En,Xi].join("|")+")",Dr=RegExp(gi,"g"),Er=RegExp(Yi,"g"),Or=RegExp(ei+"(?="+ei+")|"+ir+Ee,"g"),Nr=RegExp([er+"?"+Jn+"+"+ht+"(?="+[qn,er,"$"].join("|")+")",It+"+"+lr+"(?="+[qn,er+rt,"$"].join("|")+")",er+"?"+rt+"+"+ht,er+"+"+lr,et,Ze,Et,it].join("|"),"g"),bn=RegExp("["+pt+rn+cr+mi+"]"),Pr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ln=["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"],nn=-1,cn={};cn[Vt]=cn[Ht]=cn[Ie]=cn[qe]=cn[Gt]=cn[Ot]=cn[zt]=cn[$t]=cn[tr]=!0,cn[Re]=cn[He]=cn[nt]=cn[Zt]=cn[lt]=cn[yt]=cn[Qt]=cn[Jt]=cn[Xe]=cn[Tt]=cn[st]=cn[Je]=cn[Ue]=cn[ge]=cn[$e]=!1;var An={};An[Re]=An[He]=An[nt]=An[lt]=An[Zt]=An[yt]=An[Vt]=An[Ht]=An[Ie]=An[qe]=An[Gt]=An[Xe]=An[Tt]=An[st]=An[Je]=An[Ue]=An[ge]=An[Se]=An[Ot]=An[zt]=An[$t]=An[tr]=!0,An[Qt]=An[Jt]=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={"&":"&","<":"<",">":">",'"':""","'":"'"},bi={"&":"&","<":"<",">":">",""":'"',"'":"'"},_n={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},li=parseFloat,$i=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=v&&!v.nodeType&&v,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(Mr){}}(),xi=oa&&oa.isArrayBuffer,Ga=oa&&oa.isDate,Ds=oa&&oa.isMap,ji=oa&&oa.isRegExp,ps=oa&&oa.isSet,Co=oa&&oa.isTypedArray;function La(ur,Mr,xr){switch(xr.length){case 0:return ur.call(Mr);case 1:return ur.call(Mr,xr[0]);case 2:return ur.call(Mr,xr[0],xr[1]);case 3:return ur.call(Mr,xr[0],xr[1],xr[2])}return ur.apply(Mr,xr)}function _s(ur,Mr,xr,vn){for(var Hn=-1,ct=ur==null?0:ur.length;++Hn<ct;){var In=ur[Hn];Mr(vn,In,xr(In),ur)}return vn}function Ui(ur,Mr){for(var xr=-1,vn=ur==null?0:ur.length;++xr<vn&&Mr(ur[xr],xr,ur)!==!1;);return ur}function Gs(ur,Mr){for(var xr=ur==null?0:ur.length;xr--&&Mr(ur[xr],xr,ur)!==!1;);return ur}function Ln(ur,Mr){for(var xr=-1,vn=ur==null?0:ur.length;++xr<vn;)if(!Mr(ur[xr],xr,ur))return!1;return!0}function ja(ur,Mr){for(var xr=-1,vn=ur==null?0:ur.length,Hn=0,ct=[];++xr<vn;){var In=ur[xr];Mr(In,xr,ur)&&(ct[Hn++]=In)}return ct}function ns(ur,Mr){var xr=ur==null?0:ur.length;return!!xr&&cs(ur,Mr,0)>-1}function ls(ur,Mr,xr){for(var vn=-1,Hn=ur==null?0:ur.length;++vn<Hn;)if(xr(Mr,ur[vn]))return!0;return!1}function Vi(ur,Mr){for(var xr=-1,vn=ur==null?0:ur.length,Hn=Array(vn);++xr<vn;)Hn[xr]=Mr(ur[xr],xr,ur);return Hn}function Ia(ur,Mr){for(var xr=-1,vn=Mr.length,Hn=ur.length;++xr<vn;)ur[Hn+xr]=Mr[xr];return ur}function Da(ur,Mr,xr,vn){var Hn=-1,ct=ur==null?0:ur.length;for(vn&&ct&&(xr=ur[++Hn]);++Hn<ct;)xr=Mr(xr,ur[Hn],Hn,ur);return xr}function ms(ur,Mr,xr,vn){var Hn=ur==null?0:ur.length;for(vn&&Hn&&(xr=ur[--Hn]);Hn--;)xr=Mr(xr,ur[Hn],Hn,ur);return xr}function Bs(ur,Mr){for(var xr=-1,vn=ur==null?0:ur.length;++xr<vn;)if(Mr(ur[xr],xr,ur))return!0;return!1}var _o=pi("length");function To(ur){return ur.split("")}function Vo(ur){return ur.match(Ar)||[]}function uo(ur,Mr,xr){var vn;return xr(ur,function(Hn,ct,In){if(Mr(Hn,ct,In))return vn=ct,!1}),vn}function ca(ur,Mr,xr,vn){for(var Hn=ur.length,ct=xr+(vn?1:-1);vn?ct--:++ct<Hn;)if(Mr(ur[ct],ct,ur))return ct;return-1}function cs(ur,Mr,xr){return Mr===Mr?Fo(ur,Mr,xr):ca(ur,vo,xr)}function mo(ur,Mr,xr,vn){for(var Hn=xr-1,ct=ur.length;++Hn<ct;)if(vn(ur[Hn],Mr))return Hn;return-1}function vo(ur){return ur!==ur}function go(ur,Mr){var xr=ur==null?0:ur.length;return xr?Xa(ur,Mr)/xr:z}function pi(ur){return function(Mr){return Mr==null?i:Mr[ur]}}function oi(ur){return function(Mr){return ur==null?i:ur[Mr]}}function Fa(ur,Mr,xr,vn,Hn){return Hn(ur,function(ct,In,Vn){xr=vn?(vn=!1,ct):Mr(xr,ct,In,Vn)}),xr}function Va(ur,Mr){var xr=ur.length;for(ur.sort(Mr);xr--;)ur[xr]=ur[xr].value;return ur}function Xa(ur,Mr){for(var xr,vn=-1,Hn=ur.length;++vn<Hn;){var ct=Mr(ur[vn]);ct!==i&&(xr=xr===i?ct:xr+ct)}return xr}function lo(ur,Mr){for(var xr=-1,vn=Array(ur);++xr<ur;)vn[xr]=Mr(xr);return vn}function co(ur,Mr){return Vi(Mr,function(xr){return[xr,ur[xr]]})}function Po(ur){return ur&&ur.slice(0,vr(ur)+1).replace(Be,"")}function Qa(ur){return function(Mr){return ur(Mr)}}function Lo(ur,Mr){return Vi(Mr,function(xr){return ur[xr]})}function yo(ur,Mr){return ur.has(Mr)}function Ko(ur,Mr){for(var xr=-1,vn=ur.length;++xr<vn&&cs(Mr,ur[xr],0)>-1;);return xr}function Tu(ur,Mr){for(var xr=ur.length;xr--&&cs(Mr,ur[xr],0)>-1;);return xr}function _u(ur,Mr){for(var xr=ur.length,vn=0;xr--;)ur[xr]===Mr&&++vn;return vn}var fo=oi(pa),fs=oi(Pi);function zu(ur){return"\\"+_n[ur]}function Mo(ur,Mr){return ur==null?i:ur[Mr]}function Io(ur){return bn.test(ur)}function Us(ur){return Pr.test(ur)}function ou(ur){for(var Mr,xr=[];!(Mr=ur.next()).done;)xr.push(Mr.value);return xr}function jo(ur){var Mr=-1,xr=Array(ur.size);return ur.forEach(function(vn,Hn){xr[++Mr]=[Hn,vn]}),xr}function Do(ur,Mr){return function(xr){return ur(Mr(xr))}}function Ls(ur,Mr){for(var xr=-1,vn=ur.length,Hn=0,ct=[];++xr<vn;){var In=ur[xr];(In===Mr||In===x)&&(ur[xr]=x,ct[Hn++]=xr)}return ct}function bo(ur){var Mr=-1,xr=Array(ur.size);return ur.forEach(function(vn){xr[++Mr]=vn}),xr}function mu(ur){var Mr=-1,xr=Array(ur.size);return ur.forEach(function(vn){xr[++Mr]=[vn,vn]}),xr}function Fo(ur,Mr,xr){for(var vn=xr-1,Hn=ur.length;++vn<Hn;)if(ur[vn]===Mr)return vn;return-1}function Xt(ur,Mr,xr){for(var vn=xr+1;vn--;)if(ur[vn]===Mr)return vn;return vn}function fr(ur){return Io(ur)?xn(ur):_o(ur)}function sr(ur){return Io(ur)?Sn(ur):To(ur)}function vr(ur){for(var Mr=ur.length;Mr--&&kr.test(ur.charAt(Mr)););return Mr}var wr=oi(bi);function xn(ur){for(var Mr=Or.lastIndex=0;Or.test(ur);)++Mr;return Mr}function Sn(ur){return ur.match(Or)||[]}function Un(ur){return ur.match(Nr)||[]}var Mn=function ur(Mr){Mr=Mr==null?Pa:Gn.defaults(Pa.Object(),Mr,Gn.pick(Pa,ln));var xr=Mr.Array,vn=Mr.Date,Hn=Mr.Error,ct=Mr.Function,In=Mr.Math,Vn=Mr.Object,ci=Mr.RegExp,Qi=Mr.String,Br=Mr.TypeError,Mi=xr.prototype,ba=ct.prototype,Ur=Vn.prototype,na=Mr["__core-js_shared__"],Ss=ba.toString,fi=Ur.hasOwnProperty,Vs=0,xo=function(){var w=/[^.]+$/.exec(na&&na.keys&&na.keys.IE_PROTO||"");return w?"Symbol(src)_1."+w:""}(),Os=Ur.toString,xa=Ss.call(Vn),ds=Pa._,ks=ci("^"+Ss.call(fi).replace(mt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Dn=$a?Mr.Buffer:i,gs=Mr.Symbol,Ns=Mr.Uint8Array,Ye=Dn?Dn.allocUnsafe:i,Qe=Do(Vn.getPrototypeOf,Vn),Lt=Vn.create,Kt=Ur.propertyIsEnumerable,pr=Mi.splice,Rr=gs?gs.isConcatSpreadable:i,$r=gs?gs.iterator:i,gn=gs?gs.toStringTag:i,an=function(){try{var w=Oa(Vn,"defineProperty");return w({},"",{}),w}catch(B){}}(),yn=Mr.clearTimeout!==Pa.clearTimeout&&Mr.clearTimeout,Qn=vn&&vn.now!==Pa.Date.now&&vn.now,ri=Mr.setTimeout!==Pa.setTimeout&&Mr.setTimeout,vi=In.ceil,Ii=In.floor,Hi=Vn.getOwnPropertySymbols,Fi=Dn?Dn.isBuffer:i,Si=Mr.isFinite,ma=Mi.join,Ci=Do(Vn.keys,Vn),Ei=In.max,fa=In.min,Ks=vn.now,Es=Mr.parseInt,Wi=In.random,ka=Mi.reverse,ea=Oa(Mr,"DataView"),ki=Oa(Mr,"Map"),va=Oa(Mr,"Promise"),Ba=Oa(Mr,"Set"),Ka=Oa(Mr,"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 we(w){if(Jo(w)&&!Wa(w)&&!(w instanceof qr)){if(w instanceof br)return w;if(fi.call(w,"__wrapped__"))return vs(w)}return new br(w)}var yr=function(){function w(){}return function(B){if(!Go(B))return{};if(Lt)return Lt(B);w.prototype=B;var de=new w;return w.prototype=i,de}}();function en(){}function br(w,B){this.__wrapped__=w,this.__actions__=[],this.__chain__=!!B,this.__index__=0,this.__values__=i}we.templateSettings={escape:Ut,evaluate:At,interpolate:Oe,variable:"",imports:{_:we}},we.prototype=en.prototype,we.prototype.constructor=we,br.prototype=yr(en.prototype),br.prototype.constructor=br;function qr(w){this.__wrapped__=w,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=F,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 ti(){if(this.__filtered__){var w=new qr(this);w.__dir__=-1,w.__filtered__=!0}else w=this.clone(),w.__dir__*=-1;return w}function Bi(){var w=this.__wrapped__.value(),B=this.__dir__,de=Wa(w),Ne=B<0,xt=de?w.length:0,Yt=kc(0,xt,this.__views__),_r=Yt.start,Lr=Yt.end,Yr=Lr-_r,kn=Ne?Lr:_r-1,Rn=this.__iteratees__,Zn=Rn.length,Ti=0,ra=fa(Yr,this.__takeCount__);if(!de||!Ne&&xt==Yr&&ra==Yr)return Wc(w,this.__actions__);var Ca=[];e:for(;Yr--&&Ti<ra;){kn+=B;for(var us=-1,Ta=w[kn];++us<Zn;){var bs=Rn[us],Ps=bs.iteratee,ac=bs.type,Sl=Ps(Ta);if(ac==G)Ta=Sl;else if(!Sl){if(ac==V)continue e;break e}}Ca[Ti++]=Ta}return Ca}qr.prototype=yr(en.prototype),qr.prototype.constructor=qr;function Fn(w){var B=-1,de=w==null?0:w.length;for(this.clear();++B<de;){var Ne=w[B];this.set(Ne[0],Ne[1])}}function On(){this.__data__=eo?eo(null):{},this.size=0}function Bn(w){var B=this.has(w)&&delete this.__data__[w];return this.size-=B?1:0,B}function ia(w){var B=this.__data__;if(eo){var de=B[w];return de===u?i:de}return fi.call(B,w)?B[w]:i}function zi(w){var B=this.__data__;return eo?B[w]!==i:fi.call(B,w)}function ho(w,B){var de=this.__data__;return this.size+=this.has(w)?0:1,de[w]=eo&&B===i?u:B,this}Fn.prototype.clear=On,Fn.prototype.delete=Bn,Fn.prototype.get=ia,Fn.prototype.has=zi,Fn.prototype.set=ho;function Xs(w){var B=-1,de=w==null?0:w.length;for(this.clear();++B<de;){var Ne=w[B];this.set(Ne[0],Ne[1])}}function eu(){this.__data__=[],this.size=0}function hl(w){var B=this.__data__,de=is(B,w);if(de<0)return!1;var Ne=B.length-1;return de==Ne?B.pop():pr.call(B,de,1),--this.size,!0}function qu(w){var B=this.__data__,de=is(B,w);return de<0?i:B[de][1]}function vu(w){return is(this.__data__,w)>-1}function Uc(w,B){var de=this.__data__,Ne=is(de,w);return Ne<0?(++this.size,de.push([w,B])):de[Ne][1]=B,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 B=-1,de=w==null?0:w.length;for(this.clear();++B<de;){var Ne=w[B];this.set(Ne[0],Ne[1])}}function Ve(){this.size=0,this.__data__={hash:new Fn,map:new(ki||Xs),string:new Fn}}function W(w){var B=Di(this,w).delete(w);return this.size-=B?1:0,B}function ee(w){return Di(this,w).get(w)}function ne(w){return Di(this,w).has(w)}function he(w,B){var de=Di(this,w),Ne=de.size;return de.set(w,B),this.size+=de.size==Ne?0:1,this}Pu.prototype.clear=Ve,Pu.prototype.delete=W,Pu.prototype.get=ee,Pu.prototype.has=ne,Pu.prototype.set=he;function Ae(w){var B=-1,de=w==null?0:w.length;for(this.__data__=new Pu;++B<de;)this.add(w[B])}function Ge(w){return this.__data__.set(w,u),this}function bt(w){return this.__data__.has(w)}Ae.prototype.add=Ae.prototype.push=Ge,Ae.prototype.has=bt;function Mt(w){var B=this.__data__=new Xs(w);this.size=B.size}function nr(){this.__data__=new Xs,this.size=0}function Tr(w){var B=this.__data__,de=B.delete(w);return this.size=B.size,de}function Hr(w){return this.__data__.get(w)}function sn(w){return this.__data__.has(w)}function wn(w,B){var de=this.__data__;if(de instanceof Xs){var Ne=de.__data__;if(!ki||Ne.length<c-1)return Ne.push([w,B]),this.size=++de.size,this;de=this.__data__=new Pu(Ne)}return de.set(w,B),this.size=de.size,this}Mt.prototype.clear=nr,Mt.prototype.delete=Tr,Mt.prototype.get=Hr,Mt.prototype.has=sn,Mt.prototype.set=wn;function Nn(w,B){var de=Wa(w),Ne=!de&&Lf(w),xt=!de&&!Ne&&If(w),Yt=!de&&!Ne&&!xt&&zf(w),_r=de||Ne||xt||Yt,Lr=_r?lo(w.length,Qi):[],Yr=Lr.length;for(var kn in w)(B||fi.call(w,kn))&&!(_r&&(kn=="length"||xt&&(kn=="offset"||kn=="parent")||Yt&&(kn=="buffer"||kn=="byteLength"||kn=="byteOffset")||Ro(kn,Yr)))&&Lr.push(kn);return Lr}function Wn(w){var B=w.length;return B?w[xu(0,B-1)]:i}function _i(w,B){return Ni($o(w),Rs(B,0,w.length))}function Sr(w){return Ni($o(w))}function aa(w,B,de){(de!==i&&!$c(w[B],de)||de===i&&!(B in w))&&Aa(w,B,de)}function sa(w,B,de){var Ne=w[B];(!(fi.call(w,B)&&$c(Ne,de))||de===i&&!(B in w))&&Aa(w,B,de)}function is(w,B){for(var de=w.length;de--;)if($c(w[de][0],B))return de;return-1}function Za(w,B,de,Ne){return Eo(w,function(xt,Yt,_r){B(Ne,xt,de(xt),_r)}),Ne}function ws(w,B){return w&&fu(B,Uu(B),w)}function as(w,B){return w&&fu(B,jl(B),w)}function Aa(w,B,de){B=="__proto__"&&an?an(w,B,{configurable:!0,enumerable:!0,value:de,writable:!0}):w[B]=de}function Fs(w,B){for(var de=-1,Ne=B.length,xt=xr(Ne),Yt=w==null;++de<Ne;)xt[de]=Yt?i:sd(w,B[de]);return xt}function Rs(w,B,de){return w===w&&(de!==i&&(w=w<=de?w:de),B!==i&&(w=w>=B?w:B)),w}function di(w,B,de,Ne,xt,Yt){var _r,Lr=B&p,Yr=B&y,kn=B&_;if(de&&(_r=xt?de(w,Ne,xt,Yt):de(w)),_r!==i)return _r;if(!Go(w))return w;var Rn=Wa(w);if(Rn){if(_r=bc(w),!Lr)return $o(w,_r)}else{var Zn=ys(w),Ti=Zn==Jt||Zn==qt;if(If(w))return ff(w,Lr);if(Zn==st||Zn==Re||Ti&&!xt){if(_r=Yr||Ti?{}:Nu(w),!Lr)return Yr?Lu(w,as(_r,w)):Yl(w,ws(_r,w))}else{if(!An[Zn])return xt?w:{};_r=Oi(w,Zn,Lr)}}Yt||(Yt=new Mt);var ra=Yt.get(w);if(ra)return ra;Yt.set(w,_r),gd(w)?w.forEach(function(Ta){_r.add(di(Ta,B,de,Ta,w,Yt))}):md(w)&&w.forEach(function(Ta,bs){_r.set(bs,di(Ta,B,de,bs,w,Yt))});var Ca=kn?Yr?me:k:Yr?jl:Uu,us=Rn?i:Ca(w);return Ui(us||w,function(Ta,bs){us&&(bs=Ta,Ta=w[bs]),sa(_r,bs,di(Ta,B,de,bs,w,Yt))}),_r}function Qs(w){var B=Uu(w);return function(de){return po(de,w,B)}}function po(w,B,de){var Ne=de.length;if(w==null)return!Ne;for(w=Vn(w);Ne--;){var xt=de[Ne],Yt=B[xt],_r=w[xt];if(_r===i&&!(xt in w)||!Yt(_r))return!1}return!0}function Oo(w,B,de){if(typeof w!="function")throw new Br(s);return nc(function(){w.apply(i,de)},B)}function za(w,B,de,Ne){var xt=-1,Yt=ns,_r=!0,Lr=w.length,Yr=[],kn=B.length;if(!Lr)return Yr;de&&(B=Vi(B,Qa(de))),Ne?(Yt=ls,_r=!1):B.length>=c&&(Yt=yo,_r=!1,B=new Ae(B));e:for(;++xt<Lr;){var Rn=w[xt],Zn=de==null?Rn:de(Rn);if(Rn=Ne||Rn!==0?Rn:0,_r&&Zn===Zn){for(var Ti=kn;Ti--;)if(B[Ti]===Zn)continue e;Yr.push(Rn)}else Yt(B,Zn,Ne)||Yr.push(Rn)}return Yr}var Eo=Su(wo),zs=Su(tl,!0);function Al(w,B){var de=!0;return Eo(w,function(Ne,xt,Yt){return de=!!B(Ne,xt,Yt),de}),de}function Ju(w,B,de){for(var Ne=-1,xt=w.length;++Ne<xt;){var Yt=w[Ne],_r=B(Yt);if(_r!=null&&(Lr===i?_r===_r&&!ic(_r):de(_r,Lr)))var Lr=_r,Yr=Yt}return Yr}function el(w,B,de,Ne){var xt=w.length;for(de=rs(de),de<0&&(de=-de>xt?0:xt+de),Ne=Ne===i||Ne>xt?xt:rs(Ne),Ne<0&&(Ne+=xt),Ne=de>Ne?0:bd(Ne);de<Ne;)w[de++]=B;return w}function gu(w,B){var de=[];return Eo(w,function(Ne,xt,Yt){B(Ne,xt,Yt)&&de.push(Ne)}),de}function ss(w,B,de,Ne,xt){var Yt=-1,_r=w.length;for(de||(de=Rl),xt||(xt=[]);++Yt<_r;){var Lr=w[Yt];B>0&&de(Lr)?B>1?ss(Lr,B-1,de,Ne,xt):Ia(xt,Lr):Ne||(xt[xt.length]=Lr)}return xt}var uu=vc(),yu=vc(!0);function wo(w,B){return w&&uu(w,B,Uu)}function tl(w,B){return w&&yu(w,B,Uu)}function Iu(w,B){return ja(B,function(de){return bf(w[de])})}function Yo(w,B){B=ku(B,w);for(var de=0,Ne=B.length;w!=null&&de<Ne;)w=w[Zi(B[de++])];return de&&de==Ne?w:i}function zl(w,B,de){var Ne=B(w);return Wa(w)?Ne:Ia(Ne,de(w))}function Zs(w){return w==null?w===i?Me:jt:gn&&gn in Vn(w)?Ao(w):qc(w)}function Uo(w,B){return w>B}function Du(w,B){return w!=null&&fi.call(w,B)}function Zl(w,B){return w!=null&&B in Vn(w)}function lu(w,B,de){return w>=fa(B,de)&&w<Ei(B,de)}function oc(w,B,de){for(var Ne=de?ls:ns,xt=w[0].length,Yt=w.length,_r=Yt,Lr=xr(Yt),Yr=1/0,kn=[];_r--;){var Rn=w[_r];_r&&B&&(Rn=Vi(Rn,Qa(B))),Yr=fa(Rn.length,Yr),Lr[_r]=!de&&(B||xt>=120&&Rn.length>=120)?new Ae(_r&&Rn):i}Rn=w[0];var Zn=-1,Ti=Lr[0];e:for(;++Zn<xt&&kn.length<Yr;){var ra=Rn[Zn],Ca=B?B(ra):ra;if(ra=de||ra!==0?ra:0,!(Ti?yo(Ti,Ca):Ne(kn,Ca,de))){for(_r=Yt;--_r;){var us=Lr[_r];if(!(us?yo(us,Ca):Ne(w[_r],Ca,de)))continue e}Ti&&Ti.push(Ca),kn.push(ra)}}return kn}function Zu(w,B,de,Ne){return wo(w,function(xt,Yt,_r){B(Ne,de(xt),Yt,_r)}),Ne}function ii(w,B,de){B=ku(B,w),w=$u(w,B);var Ne=w==null?w:w[Zi(Wo(B))];return Ne==null?i:La(Ne,w,de)}function Sc(w){return Jo(w)&&Zs(w)==Re}function to(w){return Jo(w)&&Zs(w)==nt}function uc(w){return Jo(w)&&Zs(w)==yt}function tu(w,B,de,Ne,xt){return w===B?!0:w==null||B==null||!Jo(w)&&!Jo(B)?w!==w&&B!==B:rl(w,B,de,Ne,tu,xt)}function rl(w,B,de,Ne,xt,Yt){var _r=Wa(w),Lr=Wa(B),Yr=_r?He:ys(w),kn=Lr?He:ys(B);Yr=Yr==Re?st:Yr,kn=kn==Re?st:kn;var Rn=Yr==st,Zn=kn==st,Ti=Yr==kn;if(Ti&&If(w)){if(!If(B))return!1;_r=!0,Rn=!1}if(Ti&&!Rn)return Yt||(Yt=new Mt),_r||zf(w)?yc(w,B,de,Ne,xt,Yt):Oc(w,B,Yr,de,Ne,xt,Yt);if(!(de&b)){var ra=Rn&&fi.call(w,"__wrapped__"),Ca=Zn&&fi.call(B,"__wrapped__");if(ra||Ca){var us=ra?w.value():w,Ta=Ca?B.value():B;return Yt||(Yt=new Mt),xt(us,Ta,de,Ne,Yt)}}return Ti?(Yt||(Yt=new Mt),I(w,B,de,Ne,xt,Yt)):!1}function Hu(w){return Jo(w)&&ys(w)==Xe}function lc(w,B,de,Ne){var xt=de.length,Yt=xt,_r=!Ne;if(w==null)return!Yt;for(w=Vn(w);xt--;){var Lr=de[xt];if(_r&&Lr[2]?Lr[1]!==w[Lr[0]]:!(Lr[0]in w))return!1}for(;++xt<Yt;){Lr=de[xt];var Yr=Lr[0],kn=w[Yr],Rn=Lr[1];if(_r&&Lr[2]){if(kn===i&&!(Yr in w))return!1}else{var Zn=new Mt;if(Ne)var Ti=Ne(kn,Rn,Yr,w,B,Zn);if(!(Ti===i?tu(Rn,kn,b|S,Ne,Zn):Ti))return!1}}return!0}function Ac(w){if(!Go(w)||bl(w))return!1;var B=bf(w)?ks:Rt;return B.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)&&!!cn[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 B=[];for(var de in Vn(w))fi.call(w,de)&&de!="constructor"&&B.push(de);return B}function Cc(w){if(!Go(w))return Ll(w);var B=ol(w),de=[];for(var Ne in w)Ne=="constructor"&&(B||!fi.call(w,Ne))||de.push(Ne);return de}function Hl(w,B){return w<B}function bu(w,B){var de=-1,Ne=$l(w)?xr(w.length):[];return Eo(w,function(xt,Yt,_r){Ne[++de]=B(xt,Yt,_r)}),Ne}function Wl(w){var B=Ha(w);return B.length==1&&B[0][2]?Rc(B[0][0],B[0][1]):function(de){return de===w||lc(de,w,B)}}function Hs(w,B){return Ja(w)&&Xc(B)?Rc(Zi(w),B):function(de){var Ne=sd(de,w);return Ne===i&&Ne===B?od(de,w):tu(B,Ne,b|S)}}function ro(w,B,de,Ne,xt){w!==B&&uu(B,function(Yt,_r){if(xt||(xt=new Mt),Go(Yt))No(w,B,_r,de,ro,Ne,xt);else{var Lr=Ne?Ne(rc(w,_r),Yt,_r+"",w,B,xt):i;Lr===i&&(Lr=Yt),aa(w,_r,Lr)}},jl)}function No(w,B,de,Ne,xt,Yt,_r){var Lr=rc(w,de),Yr=rc(B,de),kn=_r.get(Yr);if(kn){aa(w,de,kn);return}var Rn=Yt?Yt(Lr,Yr,de+"",w,B,_r):i,Zn=Rn===i;if(Zn){var Ti=Wa(Yr),ra=!Ti&&If(Yr),Ca=!Ti&&!ra&&zf(Yr);Rn=Yr,Ti||ra||Ca?Wa(Lr)?Rn=Lr:au(Lr)?Rn=$o(Lr):ra?(Zn=!1,Rn=ff(Yr,!0)):Ca?(Zn=!1,Rn=Il(Yr,!0)):Rn=[]:Vf(Yr)||Lf(Yr)?(Rn=Lr,Lf(Lr)?Rn=xd(Lr):(!Go(Lr)||bf(Lr))&&(Rn=Nu(Yr))):Zn=!1}Zn&&(_r.set(Yr,Rn),xt(Rn,Yr,Ne,Yt,_r),_r.delete(Yr)),aa(w,de,Rn)}function Wu(w,B){var de=w.length;if(de)return B+=B<0?de:0,Ro(B,de)?w[B]:i}function Tl(w,B,de){B.length?B=Vi(B,function(Yt){return Wa(Yt)?function(_r){return Yo(_r,Yt.length===1?Yt[0]:Yt)}:Yt}):B=[Ul];var Ne=-1;B=Vi(B,Qa(hn()));var xt=bu(w,function(Yt,_r,Lr){var Yr=Vi(B,function(kn){return kn(Yt)});return{criteria:Yr,index:++Ne,value:Yt}});return Va(xt,function(Yt,_r){return wu(Yt,_r,de)})}function ru(w,B){return Tc(w,B,function(de,Ne){return od(w,Ne)})}function Tc(w,B,de){for(var Ne=-1,xt=B.length,Yt={};++Ne<xt;){var _r=B[Ne],Lr=Yo(w,_r);de(Lr,_r)&&Ou(Yt,ku(_r,w),Lr)}return Yt}function cu(w){return function(B){return Yo(B,w)}}function Xo(w,B,de,Ne){var xt=Ne?mo:cs,Yt=-1,_r=B.length,Lr=w;for(w===B&&(B=$o(B)),de&&(Lr=Vi(w,Qa(de)));++Yt<_r;)for(var Yr=0,kn=B[Yt],Rn=de?de(kn):kn;(Yr=xt(Lr,Rn,Yr,Ne))>-1;)Lr!==w&&pr.call(Lr,Yr,1),pr.call(w,Yr,1);return w}function pl(w,B){for(var de=w?B.length:0,Ne=de-1;de--;){var xt=B[de];if(de==Ne||xt!==Yt){var Yt=xt;Ro(xt)?pr.call(w,xt,1):Pl(w,xt)}}return w}function xu(w,B){return w+Ii(Wi()*(B-w+1))}function fc(w,B,de,Ne){for(var xt=-1,Yt=Ei(vi((B-w)/(de||1)),0),_r=xr(Yt);Yt--;)_r[Ne?Yt:++xt]=w,w+=de;return _r}function _l(w,B){var de="";if(!w||B<1||B>J)return de;do B%2&&(de+=w),B=Ii(B/2),B&&(w+=w);while(B);return de}function Ra(w,B){return Ml(hu(w,B,Ul),w+"")}function lf(w){return Wn(Zf(w))}function zc(w,B){var de=Zf(w);return Ni(de,Rs(B,0,de.length))}function Ou(w,B,de,Ne){if(!Go(w))return w;B=ku(B,w);for(var xt=-1,Yt=B.length,_r=Yt-1,Lr=w;Lr!=null&&++xt<Yt;){var Yr=Zi(B[xt]),kn=de;if(Yr==="__proto__"||Yr==="constructor"||Yr==="prototype")return w;if(xt!=_r){var Rn=Lr[Yr];kn=Ne?Ne(Rn,Yr,Lr):i,kn===i&&(kn=Go(Rn)?Rn:Ro(B[xt+1])?[]:{})}sa(Lr,Yr,kn),Lr=Lr[Yr]}return w}var Pc=qa?function(w,B){return qa.set(w,B),w}:Ul,cf=an?function(w,B){return an(w,"toString",{configurable:!0,enumerable:!1,value:ld(B),writable:!0})}:Ul;function dc(w){return Ni(Zf(w))}function nu(w,B,de){var Ne=-1,xt=w.length;B<0&&(B=-B>xt?0:xt+B),de=de>xt?xt:de,de<0&&(de+=xt),xt=B>de?0:de-B>>>0,B>>>=0;for(var Yt=xr(xt);++Ne<xt;)Yt[Ne]=w[Ne+B];return Yt}function Zc(w,B){var de;return Eo(w,function(Ne,xt,Yt){return de=B(Ne,xt,Yt),!de}),!!de}function hc(w,B,de){var Ne=0,xt=w==null?Ne:w.length;if(typeof B=="number"&&B===B&&xt<=_e){for(;Ne<xt;){var Yt=Ne+xt>>>1,_r=w[Yt];_r!==null&&!ic(_r)&&(de?_r<=B:_r<B)?Ne=Yt+1:xt=Yt}return xt}return Gl(w,B,Ul,de)}function Gl(w,B,de,Ne){var xt=0,Yt=w==null?0:w.length;if(Yt===0)return 0;B=de(B);for(var _r=B!==B,Lr=B===null,Yr=ic(B),kn=B===i;xt<Yt;){var Rn=Ii((xt+Yt)/2),Zn=de(w[Rn]),Ti=Zn!==i,ra=Zn===null,Ca=Zn===Zn,us=ic(Zn);if(_r)var Ta=Ne||Ca;else kn?Ta=Ca&&(Ne||Ti):Lr?Ta=Ca&&Ti&&(Ne||!ra):Yr?Ta=Ca&&Ti&&!ra&&(Ne||!us):ra||us?Ta=!1:Ta=Ne?Zn<=B:Zn<B;Ta?xt=Rn+1:Yt=Rn}return fa(Yt,se)}function Hc(w,B){for(var de=-1,Ne=w.length,xt=0,Yt=[];++de<Ne;){var _r=w[de],Lr=B?B(_r):_r;if(!de||!$c(Lr,Yr)){var Yr=Lr;Yt[xt++]=_r===0?0:_r}}return Yt}function pc(w){return typeof w=="number"?w:ic(w)?z:+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 B=w+"";return B=="0"&&1/w==-q?"-0":B}function Gu(w,B,de){var Ne=-1,xt=ns,Yt=w.length,_r=!0,Lr=[],Yr=Lr;if(de)_r=!1,xt=ls;else if(Yt>=c){var kn=B?null:Yc(w);if(kn)return bo(kn);_r=!1,xt=yo,Yr=new Ae}else Yr=B?[]:Lr;e:for(;++Ne<Yt;){var Rn=w[Ne],Zn=B?B(Rn):Rn;if(Rn=de||Rn!==0?Rn:0,_r&&Zn===Zn){for(var Ti=Yr.length;Ti--;)if(Yr[Ti]===Zn)continue e;B&&Yr.push(Zn),Lr.push(Rn)}else xt(Yr,Zn,de)||(Yr!==Lr&&Yr.push(Zn),Lr.push(Rn))}return Lr}function Pl(w,B){return B=ku(B,w),w=$u(w,B),w==null||delete w[Zi(Wo(B))]}function Eu(w,B,de,Ne){return Ou(w,B,de(Yo(w,B)),Ne)}function _c(w,B,de,Ne){for(var xt=w.length,Yt=Ne?xt:-1;(Ne?Yt--:++Yt<xt)&&B(w[Yt],Yt,w););return de?nu(w,Ne?0:Yt,Ne?Yt+1:xt):nu(w,Ne?Yt+1:0,Ne?xt:Yt)}function Wc(w,B){var de=w;return de instanceof qr&&(de=de.value()),Da(B,function(Ne,xt){return xt.func.apply(xt.thisArg,Ia([Ne],xt.args))},de)}function Vl(w,B,de){var Ne=w.length;if(Ne<2)return Ne?Gu(w[0]):[];for(var xt=-1,Yt=xr(Ne);++xt<Ne;)for(var _r=w[xt],Lr=-1;++Lr<Ne;)Lr!=xt&&(Yt[xt]=za(Yt[xt]||_r,w[Lr],B,de));return Gu(ss(Yt,1),B,de)}function no(w,B,de){for(var Ne=-1,xt=w.length,Yt=B.length,_r={};++Ne<xt;){var Lr=Ne<Yt?B[Ne]:i;de(_r,w[Ne],Lr)}return _r}function Gc(w){return au(w)?w:[]}function Ic(w){return typeof w=="function"?w:Ul}function ku(w,B){return Wa(w)?w:Ja(w,B)?[w]:Ea(Js(w))}var Ru=Ra;function $s(w,B,de){var Ne=w.length;return de=de===i?Ne:de,!B&&de>=Ne?w:nu(w,B,de)}var ml=yn||function(w){return Pa.clearTimeout(w)};function ff(w,B){if(B)return w.slice();var de=w.length,Ne=Ye?Ye(de):new w.constructor(de);return w.copy(Ne),Ne}function mc(w){var B=new w.constructor(w.byteLength);return new Ns(B).set(new Ns(w)),B}function Vc(w,B){var de=B?mc(w.buffer):w.buffer;return new w.constructor(de,w.byteOffset,w.byteLength)}function vl(w){var B=new w.constructor(w.source,on.exec(w));return B.lastIndex=w.lastIndex,B}function ko(w){return ga?Vn(ga.call(w)):{}}function Il(w,B){var de=B?mc(w.buffer):w.buffer;return new w.constructor(de,w.byteOffset,w.length)}function ze(w,B){if(w!==B){var de=w!==i,Ne=w===null,xt=w===w,Yt=ic(w),_r=B!==i,Lr=B===null,Yr=B===B,kn=ic(B);if(!Lr&&!kn&&!Yt&&w>B||Yt&&_r&&Yr&&!Lr&&!kn||Ne&&_r&&Yr||!de&&Yr||!xt)return 1;if(!Ne&&!Yt&&!kn&&w<B||kn&&de&&xt&&!Ne&&!Yt||Lr&&de&&xt||!_r&&xt||!Yr)return-1}return 0}function wu(w,B,de){for(var Ne=-1,xt=w.criteria,Yt=B.criteria,_r=xt.length,Lr=de.length;++Ne<_r;){var Yr=ze(xt[Ne],Yt[Ne]);if(Yr){if(Ne>=Lr)return Yr;var kn=de[Ne];return Yr*(kn=="desc"?-1:1)}}return w.index-B.index}function Qo(w,B,de,Ne){for(var xt=-1,Yt=w.length,_r=de.length,Lr=-1,Yr=B.length,kn=Ei(Yt-_r,0),Rn=xr(Yr+kn),Zn=!Ne;++Lr<Yr;)Rn[Lr]=B[Lr];for(;++xt<_r;)(Zn||xt<Yt)&&(Rn[de[xt]]=w[xt]);for(;kn--;)Rn[Lr++]=w[xt++];return Rn}function Kl(w,B,de,Ne){for(var xt=-1,Yt=w.length,_r=-1,Lr=de.length,Yr=-1,kn=B.length,Rn=Ei(Yt-Lr,0),Zn=xr(Rn+kn),Ti=!Ne;++xt<Rn;)Zn[xt]=w[xt];for(var ra=xt;++Yr<kn;)Zn[ra+Yr]=B[Yr];for(;++_r<Lr;)(Ti||xt<Yt)&&(Zn[ra+de[_r]]=w[xt++]);return Zn}function $o(w,B){var de=-1,Ne=w.length;for(B||(B=xr(Ne));++de<Ne;)B[de]=w[de];return B}function fu(w,B,de,Ne){var xt=!de;de||(de={});for(var Yt=-1,_r=B.length;++Yt<_r;){var Lr=B[Yt],Yr=Ne?Ne(de[Lr],w[Lr],Lr,de,w):i;Yr===i&&(Yr=w[Lr]),xt?Aa(de,Lr,Yr):sa(de,Lr,Yr)}return de}function Yl(w,B){return fu(w,Ma(w),B)}function Lu(w,B){return fu(w,io(w),B)}function So(w,B){return function(de,Ne){var xt=Wa(de)?_s:Za,Yt=B?B():{};return xt(de,w,hn(Ne,2),Yt)}}function nl(w){return Ra(function(B,de){var Ne=-1,xt=de.length,Yt=xt>1?de[xt-1]:i,_r=xt>2?de[2]:i;for(Yt=w.length>3&&typeof Yt=="function"?(xt--,Yt):i,_r&&Ws(de[0],de[1],_r)&&(Yt=xt<3?i:Yt,xt=1),B=Vn(B);++Ne<xt;){var Lr=de[Ne];Lr&&w(B,Lr,Ne,Yt)}return B})}function Su(w,B){return function(de,Ne){if(de==null)return de;if(!$l(de))return w(de,Ne);for(var xt=de.length,Yt=B?xt:-1,_r=Vn(de);(B?Yt--:++Yt<xt)&&Ne(_r[Yt],Yt,_r)!==!1;);return de}}function vc(w){return function(B,de,Ne){for(var xt=-1,Yt=Vn(B),_r=Ne(B),Lr=_r.length;Lr--;){var Yr=_r[w?Lr:++xt];if(de(Yt[Yr],Yr,Yt)===!1)break}return B}}function Mu(w,B,de){var Ne=B&R,xt=Au(w);function Yt(){var _r=this&&this!==Pa&&this instanceof Yt?xt:w;return _r.apply(Ne?de:this,arguments)}return Yt}function Zo(w){return function(B){B=Js(B);var de=Io(B)?sr(B):i,Ne=de?de[0]:B.charAt(0),xt=de?$s(de,1).join(""):B.slice(1);return Ne[w]()+xt}}function il(w){return function(B){return Da(Id(Pd(B).replace(Dr,"")),w,"")}}function Au(w){return function(){var B=arguments;switch(B.length){case 0:return new w;case 1:return new w(B[0]);case 2:return new w(B[0],B[1]);case 3:return new w(B[0],B[1],B[2]);case 4:return new w(B[0],B[1],B[2],B[3]);case 5:return new w(B[0],B[1],B[2],B[3],B[4]);case 6:return new w(B[0],B[1],B[2],B[3],B[4],B[5]);case 7:return new w(B[0],B[1],B[2],B[3],B[4],B[5],B[6])}var de=yr(w.prototype),Ne=w.apply(de,B);return Go(Ne)?Ne:de}}function Dc(w,B,de){var Ne=Au(w);function xt(){for(var Yt=arguments.length,_r=xr(Yt),Lr=Yt,Yr=jn(xt);Lr--;)_r[Lr]=arguments[Lr];var kn=Yt<3&&_r[0]!==Yr&&_r[Yt-1]!==Yr?[]:Ls(_r,Yr);if(Yt-=kn.length,Yt<de)return ql(w,B,du,xt.placeholder,i,_r,kn,i,i,de-Yt);var Rn=this&&this!==Pa&&this instanceof xt?Ne:w;return La(Rn,this,_r)}return xt}function Kc(w){return function(B,de,Ne){var xt=Vn(B);if(!$l(B)){var Yt=hn(de,3);B=Uu(B),de=function(Lr){return Yt(xt[Lr],Lr,xt)}}var _r=w(B,de,Ne);return _r>-1?xt[Yt?B[_r]:_r]:i}}function oo(w){return O(function(B){var de=B.length,Ne=de,xt=br.prototype.thru;for(w&&B.reverse();Ne--;){var Yt=B[Ne];if(typeof Yt!="function")throw new Br(s);if(xt&&!_r&&tn(Yt)=="wrapper")var _r=new br([],!0)}for(Ne=_r?Ne:de;++Ne<de;){Yt=B[Ne];var Lr=tn(Yt),Yr=Lr=="wrapper"?ke(Yt):i;Yr&&sl(Yr[0])&&Yr[1]==(Q|D|N|X)&&!Yr[4].length&&Yr[9]==1?_r=_r[tn(Yr[0])].apply(_r,Yr[3]):_r=Yt.length==1&&sl(Yt)?_r[Lr]():_r.thru(Yt)}return function(){var kn=arguments,Rn=kn[0];if(_r&&kn.length==1&&Wa(Rn))return _r.plant(Rn).value();for(var Zn=0,Ti=de?B[Zn].apply(this,kn):Rn;++Zn<de;)Ti=B[Zn].call(this,Ti);return Ti}})}function du(w,B,de,Ne,xt,Yt,_r,Lr,Yr,kn){var Rn=B&Q,Zn=B&R,Ti=B&L,ra=B&(D|M),Ca=B&Y,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=jn(Ta),sc=_u(Ps,Sl);if(Ne&&(Ps=Qo(Ps,Ne,xt,ra)),Yt&&(Ps=Kl(Ps,Yt,_r,ra)),bs-=sc,ra&&bs<kn){var su=Ls(Ps,Sl);return ql(w,B,du,Ta.placeholder,de,Ps,su,Lr,Yr,kn-bs)}var jc=Zn?de:this,Ef=Ti?jc[w]:w;return bs=Ps.length,Lr?Ps=El(Ps,Lr):Ca&&bs>1&&Ps.reverse(),Rn&&Yr<bs&&(Ps.length=Yr),this&&this!==Pa&&this instanceof Ta&&(Ef=us||Au(Ef)),Ef.apply(jc,Ps)}return Ta}function Dl(w,B){return function(de,Ne){return Zu(de,w,B(Ne),{})}}function Xl(w,B){return function(de,Ne){var xt;if(de===i&&Ne===i)return B;if(de!==i&&(xt=de),Ne!==i){if(xt===i)return Ne;typeof de=="string"||typeof Ne=="string"?(de=zo(de),Ne=zo(Ne)):(de=pc(de),Ne=pc(Ne)),xt=w(de,Ne)}return xt}}function Ql(w){return O(function(B){return B=Vi(B,Qa(hn())),Ra(function(de){var Ne=this;return w(B,function(xt){return La(xt,Ne,de)})})})}function gl(w,B){B=B===i?" ":zo(B);var de=B.length;if(de<2)return de?_l(B,w):B;var Ne=_l(B,vi(w/fr(B)));return Io(B)?$s(sr(Ne),0,w).join(""):Ne.slice(0,w)}function Ol(w,B,de,Ne){var xt=B&R,Yt=Au(w);function _r(){for(var Lr=-1,Yr=arguments.length,kn=-1,Rn=Ne.length,Zn=xr(Rn+Yr),Ti=this&&this!==Pa&&this instanceof _r?Yt:w;++kn<Rn;)Zn[kn]=Ne[kn];for(;Yr--;)Zn[kn++]=arguments[++Lr];return La(Ti,xt?de:this,Zn)}return _r}function df(w){return function(B,de,Ne){return Ne&&typeof Ne!="number"&&Ws(B,de,Ne)&&(de=Ne=i),B=xf(B),de===i?(de=B,B=0):de=xf(de),Ne=Ne===i?B<de?1:-1:xf(Ne),fc(B,de,Ne,w)}}function kl(w){return function(B,de){return typeof B=="string"&&typeof de=="string"||(B=wc(B),de=wc(de)),w(B,de)}}function ql(w,B,de,Ne,xt,Yt,_r,Lr,Yr,kn){var Rn=B&D,Zn=Rn?_r:i,Ti=Rn?i:_r,ra=Rn?Yt:i,Ca=Rn?i:Yt;B|=Rn?N:j,B&=~(Rn?j:N),B&T||(B&=~(R|L));var us=[w,B,xt,ra,Zn,Ca,Ti,Lr,Yr,kn],Ta=de.apply(i,us);return sl(w)&&Cu(Ta,us),Ta.placeholder=Ne,Tn(Ta,w,B)}function yl(w){var B=In[w];return function(de,Ne){if(de=wc(de),Ne=Ne==null?0:fa(rs(Ne),292),Ne&&Si(de)){var xt=(Js(de)+"e").split("e"),Yt=B(xt[0]+"e"+(+xt[1]+Ne));return xt=(Js(Yt)+"e").split("e"),+(xt[0]+"e"+(+xt[1]-Ne))}return B(de)}}var Yc=Ba&&1/bo(new Ba([,-0]))[1]==q?function(w){return new Ba(w)}:dd;function Fu(w){return function(B){var de=ys(B);return de==Xe?jo(B):de==Ue?mu(B):co(B,w(B))}}function Bu(w,B,de,Ne,xt,Yt,_r,Lr){var Yr=B&L;if(!Yr&&typeof w!="function")throw new Br(s);var kn=Ne?Ne.length:0;if(kn||(B&=~(N|j),Ne=xt=i),_r=_r===i?_r:Ei(rs(_r),0),Lr=Lr===i?Lr:rs(Lr),kn-=xt?xt.length:0,B&j){var Rn=Ne,Zn=xt;Ne=xt=i}var Ti=Yr?i:ke(w),ra=[w,B,de,Ne,xt,Rn,Zn,Yt,_r,Lr];if(Ti&&Qc(ra,Ti),w=ra[0],B=ra[1],de=ra[2],Ne=ra[3],xt=ra[4],Lr=ra[9]=ra[9]===i?Yr?0:w.length:Ei(ra[9]-kn,0),!Lr&&B&(D|M)&&(B&=~(D|M)),!B||B==R)var Ca=Mu(w,B,de);else B==D||B==M?Ca=Dc(w,B,Lr):(B==N||B==(R|N))&&!xt.length?Ca=Ol(w,B,de,Ne):Ca=du.apply(i,ra);var us=Ti?Pc:Cu;return Tn(us(Ca,ra),w,B)}function iu(w,B,de,Ne){return w===i||$c(w,Ur[de])&&!fi.call(Ne,de)?B:w}function qo(w,B,de,Ne,xt,Yt){return Go(w)&&Go(B)&&(Yt.set(B,w),ro(w,B,i,qo,Yt),Yt.delete(B)),w}function gc(w){return Vf(w)?i:w}function yc(w,B,de,Ne,xt,Yt){var _r=de&b,Lr=w.length,Yr=B.length;if(Lr!=Yr&&!(_r&&Yr>Lr))return!1;var kn=Yt.get(w),Rn=Yt.get(B);if(kn&&Rn)return kn==B&&Rn==w;var Zn=-1,Ti=!0,ra=de&S?new Ae:i;for(Yt.set(w,B),Yt.set(B,w);++Zn<Lr;){var Ca=w[Zn],us=B[Zn];if(Ne)var Ta=_r?Ne(us,Ca,Zn,B,w,Yt):Ne(Ca,us,Zn,w,B,Yt);if(Ta!==i){if(Ta)continue;Ti=!1;break}if(ra){if(!Bs(B,function(bs,Ps){if(!yo(ra,Ps)&&(Ca===bs||xt(Ca,bs,de,Ne,Yt)))return ra.push(Ps)})){Ti=!1;break}}else if(!(Ca===us||xt(Ca,us,de,Ne,Yt))){Ti=!1;break}}return Yt.delete(w),Yt.delete(B),Ti}function Oc(w,B,de,Ne,xt,Yt,_r){switch(de){case lt:if(w.byteLength!=B.byteLength||w.byteOffset!=B.byteOffset)return!1;w=w.buffer,B=B.buffer;case nt:return!(w.byteLength!=B.byteLength||!Yt(new Ns(w),new Ns(B)));case Zt:case yt:case Tt:return $c(+w,+B);case Qt:return w.name==B.name&&w.message==B.message;case Je:case ge:return w==B+"";case Xe:var Lr=jo;case Ue:var Yr=Ne&b;if(Lr||(Lr=bo),w.size!=B.size&&!Yr)return!1;var kn=_r.get(w);if(kn)return kn==B;Ne|=S,_r.set(w,B);var Rn=yc(Lr(w),Lr(B),Ne,xt,Yt,_r);return _r.delete(w),Rn;case Se:if(ga)return ga.call(w)==ga.call(B)}return!1}function I(w,B,de,Ne,xt,Yt){var _r=de&b,Lr=k(w),Yr=Lr.length,kn=k(B),Rn=kn.length;if(Yr!=Rn&&!_r)return!1;for(var Zn=Yr;Zn--;){var Ti=Lr[Zn];if(!(_r?Ti in B:fi.call(B,Ti)))return!1}var ra=Yt.get(w),Ca=Yt.get(B);if(ra&&Ca)return ra==B&&Ca==w;var us=!0;Yt.set(w,B),Yt.set(B,w);for(var Ta=_r;++Zn<Yr;){Ti=Lr[Zn];var bs=w[Ti],Ps=B[Ti];if(Ne)var ac=_r?Ne(Ps,bs,Ti,B,w,Yt):Ne(bs,Ps,Ti,w,B,Yt);if(!(ac===i?bs===Ps||xt(bs,Ps,de,Ne,Yt):ac)){us=!1;break}Ta||(Ta=Ti=="constructor")}if(us&&!Ta){var Sl=w.constructor,sc=B.constructor;Sl!=sc&&"constructor"in w&&"constructor"in B&&!(typeof Sl=="function"&&Sl instanceof Sl&&typeof sc=="function"&&sc instanceof sc)&&(us=!1)}return Yt.delete(w),Yt.delete(B),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 ke=qa?function(w){return qa.get(w)}:dd;function tn(w){for(var B=w.name+"",de=so[B],Ne=fi.call(so,B)?de.length:0;Ne--;){var xt=de[Ne],Yt=xt.func;if(Yt==null||Yt==w)return xt.name}return B}function jn(w){var B=fi.call(we,"placeholder")?we:w;return B.placeholder}function hn(){var w=we.iteratee||cd;return w=w===cd?Bo:w,arguments.length?w(arguments[0],arguments[1]):w}function Di(w,B){var de=w.__data__;return al(B)?de[typeof B=="string"?"string":"hash"]:de.map}function Ha(w){for(var B=Uu(w),de=B.length;de--;){var Ne=B[de],xt=w[Ne];B[de]=[Ne,xt,Xc(xt)]}return B}function Oa(w,B){var de=Mo(w,B);return Ac(de)?de:i}function Ao(w){var B=fi.call(w,gn),de=w[gn];try{w[gn]=i;var Ne=!0}catch(Yt){}var xt=Os.call(w);return Ne&&(B?w[gn]=de:delete w[gn]),xt}var Ma=Hi?function(w){return w==null?[]:(w=Vn(w),ja(Hi(w),function(B){return Kt.call(w,B)}))}:hd,io=Hi?function(w){for(var B=[];w;)Ia(B,Ma(w)),w=Qe(w);return B}:hd,ys=Zs;(ea&&ys(new ea(new ArrayBuffer(1)))!=lt||ki&&ys(new ki)!=Xe||va&&ys(va.resolve())!=gt||Ba&&ys(new Ba)!=Ue||Ka&&ys(new Ka)!=$e)&&(ys=function(w){var B=Zs(w),de=B==st?w.constructor:i,Ne=de?ua(de):"";if(Ne)switch(Ne){case Ya:return lt;case Ys:return Xe;case Ms:return gt;case da:return Ue;case Ua:return $e}return B});function kc(w,B,de){for(var Ne=-1,xt=de.length;++Ne<xt;){var Yt=de[Ne],_r=Yt.size;switch(Yt.type){case"drop":w+=_r;break;case"dropRight":B-=_r;break;case"take":B=fa(B,w+_r);break;case"takeRight":w=Ei(w,B-_r);break}}return{start:w,end:B}}function Jl(w){var B=w.match(Vr);return B?B[1].split(Jr):[]}function ec(w,B,de){B=ku(B,w);for(var Ne=-1,xt=B.length,Yt=!1;++Ne<xt;){var _r=Zi(B[Ne]);if(!(Yt=w!=null&&de(w,_r)))break;w=w[_r]}return Yt||++Ne!=xt?Yt:(xt=w==null?0:w.length,!!xt&&Qf(xt)&&Ro(_r,xt)&&(Wa(w)||Lf(w)))}function bc(w){var B=w.length,de=new w.constructor(B);return B&&typeof w[0]=="string"&&fi.call(w,"index")&&(de.index=w.index,de.input=w.input),de}function Nu(w){return typeof w.constructor=="function"&&!ol(w)?yr(Qe(w)):{}}function Oi(w,B,de){var Ne=w.constructor;switch(B){case nt:return mc(w);case Zt:case yt:return new Ne(+w);case lt:return Vc(w,de);case Vt:case Ht:case Ie:case qe:case Gt:case Ot:case zt:case $t:case tr:return Il(w,de);case Xe:return new Ne;case Tt:case ge:return new Ne(w);case Je:return vl(w);case Ue:return new Ne;case Se:return ko(w)}}function tc(w,B){var de=B.length;if(!de)return w;var Ne=de-1;return B[Ne]=(de>1?"& ":"")+B[Ne],B=B.join(de>2?", ":" "),w.replace(St,`{
|
|
|
/* [wrapped with `+B+`] */
|
|
|
`)}function Rl(w){return Wa(w)||Lf(w)||!!(Rr&&w&&w[Rr])}function Ro(w,B){var de=typeof w;return B=B==null?J:B,!!B&&(de=="number"||de!="symbol"&&vt.test(w))&&w>-1&&w%1==0&&w<B}function Ws(w,B,de){if(!Go(de))return!1;var Ne=typeof B;return(Ne=="number"?$l(de)&&Ro(B,de.length):Ne=="string"&&B in de)?$c(de[B],w):!1}function Ja(w,B){if(Wa(w))return!1;var de=typeof w;return de=="number"||de=="symbol"||de=="boolean"||w==null||ic(w)?!0:be.test(w)||!wt.test(w)||B!=null&&w in Vn(B)}function al(w){var B=typeof w;return B=="string"||B=="number"||B=="symbol"||B=="boolean"?w!=="__proto__":w===null}function sl(w){var B=tn(w),de=we[B];if(typeof de!="function"||!(B in qr.prototype))return!1;if(w===de)return!0;var Ne=ke(de);return!!Ne&&w===Ne[0]}function bl(w){return!!xo&&xo in w}var xl=na?bf:pd;function ol(w){var B=w&&w.constructor,de=typeof B=="function"&&B.prototype||Ur;return w===de}function Xc(w){return w===w&&!Go(w)}function Rc(w,B){return function(de){return de==null?!1:de[w]===B&&(B!==i||w in Vn(de))}}function Vu(w){var B=kf(w,function(Ne){return de.size===a&&de.clear(),Ne}),de=B.cache;return B}function Qc(w,B){var de=w[1],Ne=B[1],xt=de|Ne,Yt=xt<(R|L|Q),_r=Ne==Q&&de==D||Ne==Q&&de==X&&w[7].length<=B[8]||Ne==(Q|X)&&B[7].length<=B[8]&&de==D;if(!(Yt||_r))return w;Ne&R&&(w[2]=B[2],xt|=de&R?0:T);var Lr=B[3];if(Lr){var Yr=w[3];w[3]=Yr?Qo(Yr,Lr,B[4]):Lr,w[4]=Yr?Ls(w[3],x):B[4]}return Lr=B[5],Lr&&(Yr=w[5],w[5]=Yr?Kl(Yr,Lr,B[6]):Lr,w[6]=Yr?Ls(w[5],x):B[6]),Lr=B[7],Lr&&(w[7]=Lr),Ne&Q&&(w[8]=w[8]==null?B[8]:fa(w[8],B[8])),w[9]==null&&(w[9]=B[9]),w[0]=B[0],w[1]=xt,w}function Ll(w){var B=[];if(w!=null)for(var de in Vn(w))B.push(de);return B}function qc(w){return Os.call(w)}function hu(w,B,de){return B=Ei(B===i?w.length-1:B,0),function(){for(var Ne=arguments,xt=-1,Yt=Ei(Ne.length-B,0),_r=xr(Yt);++xt<Yt;)_r[xt]=Ne[B+xt];xt=-1;for(var Lr=xr(B+1);++xt<B;)Lr[xt]=Ne[xt];return Lr[B]=de(_r),La(w,this,Lr)}}function $u(w,B){return B.length<2?w:Yo(w,nu(B,0,-1))}function El(w,B){for(var de=w.length,Ne=fa(B.length,de),xt=$o(w);Ne--;){var Yt=B[Ne];w[Ne]=Ro(Yt,de)?xt[Yt]:i}return w}function rc(w,B){if(!(B==="constructor"&&typeof w[B]=="function")&&B!="__proto__")return w[B]}var Cu=Kn(Pc),nc=ri||function(w,B){return Pa.setTimeout(w,B)},Ml=Kn(cf);function Tn(w,B,de){var Ne=B+"";return Ml(w,tc(Ne,ha(Jl(Ne),de)))}function Kn(w){var B=0,de=0;return function(){var Ne=Ks(),xt=K-(Ne-de);if(de=Ne,xt>0){if(++B>=ue)return arguments[0]}else B=0;return w.apply(i,arguments)}}function Ni(w,B){var de=-1,Ne=w.length,xt=Ne-1;for(B=B===i?Ne:B;++de<B;){var Yt=xu(de,xt),_r=w[Yt];w[Yt]=w[de],w[de]=_r}return w.length=B,w}var Ea=Vu(function(w){var B=[];return w.charCodeAt(0)===46&&B.push(""),w.replace(Ke,function(de,Ne,xt,Yt){B.push(xt?Yt.replace(mr,"$1"):Ne||de)}),B});function Zi(w){if(typeof w=="string"||ic(w))return w;var B=w+"";return B=="0"&&1/w==-q?"-0":B}function ua(w){if(w!=null){try{return Ss.call(w)}catch(B){}try{return w+""}catch(B){}}return""}function ha(w,B){return Ui(Pe,function(de){var Ne="_."+de[0];B&de[1]&&!ns(w,Ne)&&w.push(Ne)}),w.sort()}function vs(w){if(w instanceof qr)return w.clone();var B=new br(w.__wrapped__,w.__chain__);return B.__actions__=$o(w.__actions__),B.__index__=w.__index__,B.__values__=w.__values__,B}function Ki(w,B,de){(de?Ws(w,B,de):B===i)?B=1:B=Ei(rs(B),0);var Ne=w==null?0:w.length;if(!Ne||B<1)return[];for(var xt=0,Yt=0,_r=xr(vi(Ne/B));xt<Ne;)_r[Yt++]=nu(w,xt,xt+=B);return _r}function es(w){for(var B=-1,de=w==null?0:w.length,Ne=0,xt=[];++B<de;){var Yt=w[B];Yt&&(xt[Ne++]=Yt)}return xt}function Ku(){var w=arguments.length;if(!w)return[];for(var B=xr(w-1),de=arguments[0],Ne=w;Ne--;)B[Ne-1]=arguments[Ne];return Ia(Wa(de)?$o(de):[de],ss(B,1))}var ju=Ra(function(w,B){return au(w)?za(w,ss(B,1,au,!0)):[]}),Yu=Ra(function(w,B){var de=Wo(B);return au(de)&&(de=i),au(w)?za(w,ss(B,1,au,!0),hn(de,2)):[]}),ul=Ra(function(w,B){var de=Wo(B);return au(de)&&(de=i),au(w)?za(w,ss(B,1,au,!0),i,de):[]});function ll(w,B,de){var Ne=w==null?0:w.length;return Ne?(B=de||B===i?1:rs(B),nu(w,B<0?0:B,Ne)):[]}function Df(w,B,de){var Ne=w==null?0:w.length;return Ne?(B=de||B===i?1:rs(B),B=Ne-B,nu(w,0,B<0?0:B)):[]}function wf(w,B){return w&&w.length?_c(w,hn(B,3),!0,!0):[]}function Fl(w,B){return w&&w.length?_c(w,hn(B,3),!0):[]}function Sf(w,B,de,Ne){var xt=w==null?0:w.length;return xt?(de&&typeof de!="number"&&Ws(w,B,de)&&(de=0,Ne=xt),el(w,B,de,Ne)):[]}function xc(w,B,de){var Ne=w==null?0:w.length;if(!Ne)return-1;var xt=de==null?0:rs(de);return xt<0&&(xt=Ei(Ne+xt,0)),ca(w,hn(B,3),xt)}function Jc(w,B,de){var Ne=w==null?0:w.length;if(!Ne)return-1;var xt=Ne-1;return de!==i&&(xt=rs(de),xt=de<0?Ei(Ne+xt,0):fa(xt,Ne-1)),ca(w,hn(B,3),xt,!0)}function hf(w){var B=w==null?0:w.length;return B?ss(w,1):[]}function cl(w){var B=w==null?0:w.length;return B?ss(w,q):[]}function Of(w,B){var de=w==null?0:w.length;return de?(B=B===i?1:rs(B),ss(w,B)):[]}function Xu(w){for(var B=-1,de=w==null?0:w.length,Ne={};++B<de;){var xt=w[B];Ne[xt[0]]=xt[1]}return Ne}function Lc(w){return w&&w.length?w[0]:i}function ef(w,B,de){var Ne=w==null?0:w.length;if(!Ne)return-1;var xt=de==null?0:rs(de);return xt<0&&(xt=Ei(Ne+xt,0)),cs(w,B,xt)}function Ho(w){var B=w==null?0:w.length;return B?nu(w,0,-1):[]}var tf=Ra(function(w){var B=Vi(w,Gc);return B.length&&B[0]===w[0]?oc(B):[]}),pf=Ra(function(w){var B=Wo(w),de=Vi(w,Gc);return B===Wo(de)?B=i:de.pop(),de.length&&de[0]===w[0]?oc(de,hn(B,2)):[]}),fl=Ra(function(w){var B=Wo(w),de=Vi(w,Gc);return B=typeof B=="function"?B:i,B&&de.pop(),de.length&&de[0]===w[0]?oc(de,i,B):[]});function Bl(w,B){return w==null?"":ma.call(w,B)}function Wo(w){var B=w==null?0:w.length;return B?w[B-1]:i}function Ec(w,B,de){var Ne=w==null?0:w.length;if(!Ne)return-1;var xt=Ne;return de!==i&&(xt=rs(de),xt=xt<0?Ei(Ne+xt,0):fa(xt,Ne-1)),B===B?Xt(w,B,xt):ca(w,vo,xt,!0)}function _f(w,B){return w&&w.length?Wu(w,rs(B)):i}var Mc=Ra(Fc);function Fc(w,B){return w&&w.length&&B&&B.length?Xo(w,B):w}function mf(w,B,de){return w&&w.length&&B&&B.length?Xo(w,B,hn(de,2)):w}function Bc(w,B,de){return w&&w.length&&B&&B.length?Xo(w,B,i,de):w}var Af=O(function(w,B){var de=w==null?0:w.length,Ne=Fs(w,B);return pl(w,Vi(B,function(xt){return Ro(xt,de)?+xt:xt}).sort(ze)),Ne});function Mf(w,B){var de=[];if(!(w&&w.length))return de;var Ne=-1,xt=[],Yt=w.length;for(B=hn(B,3);++Ne<Yt;){var _r=w[Ne];B(_r,Ne,w)&&(de.push(_r),xt.push(Ne))}return pl(w,xt),de}function Nc(w){return w==null?w:ka.call(w)}function Ff(w,B,de){var Ne=w==null?0:w.length;return Ne?(de&&typeof de!="number"&&Ws(w,B,de)?(B=0,de=Ne):(B=B==null?0:rs(B),de=de===i?Ne:rs(de)),nu(w,B,de)):[]}function rf(w,B){return hc(w,B)}function vf(w,B,de){return Gl(w,B,hn(de,2))}function Hf(w,B){var de=w==null?0:w.length;if(de){var Ne=hc(w,B);if(Ne<de&&$c(w[Ne],B))return Ne}return-1}function Cf(w,B){return hc(w,B,!0)}function Bf(w,B,de){return Gl(w,B,hn(de,2),!0)}function Nf(w,B){var de=w==null?0:w.length;if(de){var Ne=hc(w,B,!0)-1;if($c(w[Ne],B))return Ne}return-1}function nf(w){return w&&w.length?Hc(w):[]}function $f(w,B){return w&&w.length?Hc(w,hn(B,2)):[]}function Tf(w){var B=w==null?0:w.length;return B?nu(w,1,B):[]}function g(w,B,de){return w&&w.length?(B=de||B===i?1:rs(B),nu(w,0,B<0?0:B)):[]}function A(w,B,de){var Ne=w==null?0:w.length;return Ne?(B=de||B===i?1:rs(B),B=Ne-B,nu(w,B<0?0:B,Ne)):[]}function Z(w,B){return w&&w.length?_c(w,hn(B,3),!1,!0):[]}function ve(w,B){return w&&w.length?_c(w,hn(B,3)):[]}var Le=Ra(function(w){return Gu(ss(w,1,au,!0))}),ut=Ra(function(w){var B=Wo(w);return au(B)&&(B=i),Gu(ss(w,1,au,!0),hn(B,2))}),Nt=Ra(function(w){var B=Wo(w);return B=typeof B=="function"?B:i,Gu(ss(w,1,au,!0),i,B)});function rr(w){return w&&w.length?Gu(w):[]}function P(w,B){return w&&w.length?Gu(w,hn(B,2)):[]}function t(w,B){return B=typeof B=="function"?B:i,w&&w.length?Gu(w,i,B):[]}function n(w){if(!(w&&w.length))return[];var B=0;return w=ja(w,function(de){if(au(de))return B=Ei(de.length,B),!0}),lo(B,function(de){return Vi(w,pi(de))})}function o(w,B){if(!(w&&w.length))return[];var de=n(w);return B==null?de:Vi(de,function(Ne){return La(B,i,Ne)})}var m=Ra(function(w,B){return au(w)?za(w,B):[]}),E=Ra(function(w){return Vl(ja(w,au))}),C=Ra(function(w){var B=Wo(w);return au(B)&&(B=i),Vl(ja(w,au),hn(B,2))}),U=Ra(function(w){var B=Wo(w);return B=typeof B=="function"?B:i,Vl(ja(w,au),i,B)}),H=Ra(n);function $(w,B){return no(w||[],B||[],sa)}function ae(w,B){return no(w||[],B||[],Ou)}var ce=Ra(function(w){var B=w.length,de=B>1?w[B-1]:i;return de=typeof de=="function"?(w.pop(),de):i,o(w,de)});function xe(w){var B=we(w);return B.__chain__=!0,B}function Te(w,B){return B(w),w}function De(w,B){return B(w)}var tt=O(function(w){var B=w.length,de=B?w[0]:0,Ne=this.__wrapped__,xt=function(Yt){return Fs(Yt,w)};return B>1||this.__actions__.length||!(Ne instanceof qr)||!Ro(de)?this.thru(xt):(Ne=Ne.slice(de,+de+(B?1:0)),Ne.__actions__.push({func:De,args:[xt],thisArg:i}),new br(Ne,this.__chain__).thru(function(Yt){return B&&!Yt.length&&Yt.push(i),Yt}))});function at(){return xe(this)}function Ft(){return new br(this.value(),this.__chain__)}function hr(){this.__values__===i&&(this.__values__=yd(this.value()));var w=this.__index__>=this.__values__.length,B=w?i:this.__values__[this.__index__++];return{done:w,value:B}}function ar(){return this}function zr(w){for(var B,de=this;de instanceof en;){var Ne=vs(de);Ne.__index__=0,Ne.__values__=i,B?xt.__wrapped__=Ne:B=Ne;var xt=Ne;de=de.__wrapped__}return xt.__wrapped__=w,B}function Wr(){var w=this.__wrapped__;if(w instanceof qr){var B=w;return this.__actions__.length&&(B=new qr(this)),B=B.reverse(),B.__actions__.push({func:De,args:[Nc],thisArg:i}),new br(B,this.__chain__)}return this.thru(Nc)}function dn(){return Wc(this.__wrapped__,this.__actions__)}var Gr=So(function(w,B,de){fi.call(w,de)?++w[de]:Aa(w,de,1)});function un(w,B,de){var Ne=Wa(w)?Ln:Al;return de&&Ws(w,B,de)&&(B=i),Ne(w,hn(B,3))}function mn(w,B){var de=Wa(w)?ja:gu;return de(w,hn(B,3))}var Qr=Kc(xc),Yn=Kc(Jc);function hi(w,B){return ss(wa(w,B),1)}function os(w,B){return ss(wa(w,B),q)}function ya(w,B,de){return de=de===i?1:rs(de),ss(wa(w,B),de)}function Ji(w,B){var de=Wa(w)?Ui:Eo;return de(w,hn(B,3))}function Ri(w,B){var de=Wa(w)?Gs:zs;return de(w,hn(B,3))}var ta=So(function(w,B,de){fi.call(w,de)?w[de].push(B):Aa(w,de,[B])});function qi(w,B,de,Ne){w=$l(w)?w:Zf(w),de=de&&!Ne?rs(de):0;var xt=w.length;return de<0&&(de=Ei(xt+de,0)),qf(w)?de<=xt&&w.indexOf(B,de)>-1:!!xt&&cs(w,B,de)>-1}var Xn=Ra(function(w,B,de){var Ne=-1,xt=typeof B=="function",Yt=$l(w)?xr(w.length):[];return Eo(w,function(_r){Yt[++Ne]=xt?La(B,_r,de):ii(_r,B,de)}),Yt}),ni=So(function(w,B,de){Aa(w,de,B)});function wa(w,B){var de=Wa(w)?Vi:bu;return de(w,hn(B,3))}function Sa(w,B,de,Ne){return w==null?[]:(Wa(B)||(B=B==null?[]:[B]),de=Ne?i:de,Wa(de)||(de=de==null?[]:[de]),Tl(w,B,de))}var ts=So(function(w,B,de){w[de?0:1].push(B)},function(){return[[],[]]});function Cs(w,B,de){var Ne=Wa(w)?Da:Fa,xt=arguments.length<3;return Ne(w,hn(B,4),de,xt,Eo)}function js(w,B,de){var Ne=Wa(w)?ms:Fa,xt=arguments.length<3;return Ne(w,hn(B,4),de,xt,zs)}function ao(w,B){var de=Wa(w)?ja:gu;return de(w,of(hn(B,3)))}function Qu(w){var B=Wa(w)?Wn:lf;return B(w)}function dl(w,B,de){(de?Ws(w,B,de):B===i)?B=1:B=rs(B);var Ne=Wa(w)?_i:zc;return Ne(w,B)}function af(w){var B=Wa(w)?Sr:dc;return B(w)}function Kf(w){if(w==null)return 0;if($l(w))return qf(w)?fr(w):w.length;var B=ys(w);return B==Xe||B==Ue?w.size:Cl(w).length}function ed(w,B,de){var Ne=Wa(w)?Bs:Zc;return de&&Ws(w,B,de)&&(B=i),Ne(w,hn(B,3))}var td=Ra(function(w,B){if(w==null)return[];var de=B.length;return de>1&&Ws(w,B[0],B[1])?B=[]:de>2&&Ws(B[0],B[1],B[2])&&(B=[B[0]]),Tl(w,ss(B,1),[])}),Pf=Qn||function(){return Pa.Date.now()};function Wf(w,B){if(typeof B!="function")throw new Br(s);return w=rs(w),function(){if(--w<1)return B.apply(this,arguments)}}function rd(w,B,de){return B=de?i:B,B=w&&B==null?w.length:B,Bu(w,Q,i,i,i,i,B)}function Ts(w,B){var de;if(typeof B!="function")throw new Br(s);return w=rs(w),function(){return--w>0&&(de=B.apply(this,arguments)),w<=1&&(B=i),de}}var pu=Ra(function(w,B,de){var Ne=R;if(de.length){var xt=Ls(de,jn(pu));Ne|=N}return Bu(w,Ne,B,de,xt)}),wl=Ra(function(w,B,de){var Ne=R|L;if(de.length){var xt=Ls(de,jn(wl));Ne|=N}return Bu(B,Ne,w,de,xt)});function sf(w,B,de){B=de?i:B;var Ne=Bu(w,D,i,i,i,i,i,B);return Ne.placeholder=sf.placeholder,Ne}function Nl(w,B,de){B=de?i:B;var Ne=Bu(w,M,i,i,i,i,i,B);return Ne.placeholder=Nl.placeholder,Ne}function gf(w,B,de){var Ne,xt,Yt,_r,Lr,Yr,kn=0,Rn=!1,Zn=!1,Ti=!0;if(typeof w!="function")throw new Br(s);B=wc(B)||0,Go(de)&&(Rn=!!de.leading,Zn="maxWait"in de,Yt=Zn?Ei(wc(de.maxWait)||0,B):Yt,Ti="trailing"in de?!!de.trailing:Ti);function ra(su){var jc=Ne,Ef=xt;return Ne=xt=i,kn=su,_r=w.apply(Ef,jc),_r}function Ca(su){return kn=su,Lr=nc(bs,B),Rn?ra(su):_r}function us(su){var jc=su-Yr,Ef=su-kn,kd=B-jc;return Zn?fa(kd,Yt-Ef):kd}function Ta(su){var jc=su-Yr,Ef=su-kn;return Yr===i||jc>=B||jc<0||Zn&&Ef>=Yt}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=xt=i,_r)}function ac(){Lr!==i&&ml(Lr),kn=0,Ne=Yr=xt=Lr=i}function Sl(){return Lr===i?_r:Ps(Pf())}function sc(){var su=Pf(),jc=Ta(su);if(Ne=arguments,xt=this,Yr=su,jc){if(Lr===i)return Ca(Yr);if(Zn)return ml(Lr),Lr=nc(bs,B),ra(Yr)}return Lr===i&&(Lr=nc(bs,B)),_r}return sc.cancel=ac,sc.flush=Sl,sc}var yf=Ra(function(w,B){return Oo(w,1,B)}),Yf=Ra(function(w,B,de){return Oo(w,wc(B)||0,de)});function jf(w){return Bu(w,Y)}function kf(w,B){if(typeof w!="function"||B!=null&&typeof B!="function")throw new Br(s);var de=function(){var Ne=arguments,xt=B?B.apply(this,Ne):Ne[0],Yt=de.cache;if(Yt.has(xt))return Yt.get(xt);var _r=w.apply(this,Ne);return de.cache=Yt.set(xt,_r)||Yt,_r};return de.cache=new(kf.Cache||Pu),de}kf.Cache=Pu;function of(w){if(typeof w!="function")throw new Br(s);return function(){var B=arguments;switch(B.length){case 0:return!w.call(this);case 1:return!w.call(this,B[0]);case 2:return!w.call(this,B[0],B[1]);case 3:return!w.call(this,B[0],B[1],B[2])}return!w.apply(this,B)}}function Xf(w){return Ts(2,w)}var nd=Ru(function(w,B){B=B.length==1&&Wa(B[0])?Vi(B[0],Qa(hn())):Vi(ss(B,1),Qa(hn()));var de=B.length;return Ra(function(Ne){for(var xt=-1,Yt=fa(Ne.length,de);++xt<Yt;)Ne[xt]=B[xt].call(this,Ne[xt]);return La(w,this,Ne)})}),Uf=Ra(function(w,B){var de=Ls(B,jn(Uf));return Bu(w,N,i,B,de)}),Gf=Ra(function(w,B){var de=Ls(B,jn(Gf));return Bu(w,j,i,B,de)}),Rf=O(function(w,B){return Bu(w,X,i,i,i,B)});function Md(w,B){if(typeof w!="function")throw new Br(s);return B=B===i?B:rs(B),Ra(w,B)}function Fd(w,B){if(typeof w!="function")throw new Br(s);return B=B==null?0:Ei(rs(B),0),Ra(function(de){var Ne=de[B],xt=$s(de,0,B);return Ne&&Ia(xt,Ne),La(w,this,xt)})}function Bd(w,B,de){var Ne=!0,xt=!0;if(typeof w!="function")throw new Br(s);return Go(de)&&(Ne="leading"in de?!!de.leading:Ne,xt="trailing"in de?!!de.trailing:xt),gf(w,B,{leading:Ne,maxWait:B,trailing:xt})}function Nd(w){return rd(w,1)}function $d(w,B){return Uf(Ic(B),w)}function jd(){if(!arguments.length)return[];var w=arguments[0];return Wa(w)?w:[w]}function Ud(w){return di(w,_)}function zd(w,B){return B=typeof B=="function"?B:i,di(w,_,B)}function Zd(w){return di(w,p|_)}function Hd(w,B){return B=typeof B=="function"?B:i,di(w,p|_,B)}function Wd(w,B){return B==null||po(w,B,Uu(B))}function $c(w,B){return w===B||w!==w&&B!==B}var Gd=kl(Uo),Vd=kl(function(w,B){return w>=B}),Lf=Sc(function(){return arguments}())?Sc:function(w){return Jo(w)&&fi.call(w,"callee")&&!Kt.call(w,"callee")},Wa=xr.isArray,Kd=xi?Qa(xi):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)==Zt}var If=Fi||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 B=ys(w);if(B==Xe||B==Ue)return!w.size;if(ol(w))return!Cl(w).length;for(var de in w)if(fi.call(w,de))return!1;return!0}function Jd(w,B){return tu(w,B)}function e0(w,B,de){de=typeof de=="function"?de:i;var Ne=de?de(w,B):i;return Ne===i?tu(w,B,i,de):!!Ne}function id(w){if(!Jo(w))return!1;var B=Zs(w);return B==Qt||B==Dt||typeof w.message=="string"&&typeof w.name=="string"&&!Vf(w)}function t0(w){return typeof w=="number"&&Si(w)}function bf(w){if(!Go(w))return!1;var B=Zs(w);return B==Jt||B==qt||B==je||B==dt}function _d(w){return typeof w=="number"&&w==rs(w)}function Qf(w){return typeof w=="number"&&w>-1&&w%1==0&&w<=J}function Go(w){var B=typeof w;return w!=null&&(B=="object"||B=="function")}function Jo(w){return w!=null&&typeof w=="object"}var md=Ds?Qa(Ds):Hu;function r0(w,B){return w===B||lc(w,B,Ha(B))}function n0(w,B,de){return de=typeof de=="function"?de:i,lc(w,B,Ha(B),de)}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)==Tt}function Vf(w){if(!Jo(w)||Zs(w)!=st)return!1;var B=Qe(w);if(B===null)return!0;var de=fi.call(B,"constructor")&&B.constructor;return typeof de=="function"&&de instanceof de&&Ss.call(de)==xa}var ad=ji?Qa(ji):qs;function u0(w){return _d(w)&&w>=-J&&w<=J}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)==Se}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)==We}var d0=kl(Hl),h0=kl(function(w,B){return w<=B});function yd(w){if(!w)return[];if($l(w))return qf(w)?sr(w):$o(w);if($r&&w[$r])return ou(w[$r]());var B=ys(w),de=B==Xe?jo:B==Ue?bo:Zf;return de(w)}function xf(w){if(!w)return w===0?w:0;if(w=wc(w),w===q||w===-q){var B=w<0?-1:1;return B*le}return w===w?w:0}function rs(w){var B=xf(w),de=B%1;return B===B?de?B-de:B:0}function bd(w){return w?Rs(rs(w),0,F):0}function wc(w){if(typeof w=="number")return w;if(ic(w))return z;if(Go(w)){var B=typeof w.valueOf=="function"?w.valueOf():w;w=Go(B)?B+"":B}if(typeof w!="string")return w===0?w:+w;w=Po(w);var de=or.test(w);return de||_t.test(w)?$i(w.slice(2),de?2:8):fn.test(w)?z:+w}function xd(w){return fu(w,jl(w))}function p0(w){return w?Rs(rs(w),-J,J):w===0?w:0}function Js(w){return w==null?"":zo(w)}var _0=nl(function(w,B){if(ol(B)||$l(B)){fu(B,Uu(B),w);return}for(var de in B)fi.call(B,de)&&sa(w,de,B[de])}),Ed=nl(function(w,B){fu(B,jl(B),w)}),Jf=nl(function(w,B,de,Ne){fu(B,jl(B),w,Ne)}),m0=nl(function(w,B,de,Ne){fu(B,Uu(B),w,Ne)}),v0=O(Fs);function g0(w,B){var de=yr(w);return B==null?de:ws(de,B)}var y0=Ra(function(w,B){w=Vn(w);var de=-1,Ne=B.length,xt=Ne>2?B[2]:i;for(xt&&Ws(B[0],B[1],xt)&&(Ne=1);++de<Ne;)for(var Yt=B[de],_r=jl(Yt),Lr=-1,Yr=_r.length;++Lr<Yr;){var kn=_r[Lr],Rn=w[kn];(Rn===i||$c(Rn,Ur[kn])&&!fi.call(w,kn))&&(w[kn]=Yt[kn])}return w}),b0=Ra(function(w){return w.push(i,qo),La(wd,i,w)});function x0(w,B){return uo(w,hn(B,3),wo)}function E0(w,B){return uo(w,hn(B,3),tl)}function w0(w,B){return w==null?w:uu(w,hn(B,3),jl)}function S0(w,B){return w==null?w:yu(w,hn(B,3),jl)}function A0(w,B){return w&&wo(w,hn(B,3))}function C0(w,B){return w&&tl(w,hn(B,3))}function T0(w){return w==null?[]:Iu(w,Uu(w))}function P0(w){return w==null?[]:Iu(w,jl(w))}function sd(w,B,de){var Ne=w==null?i:Yo(w,B);return Ne===i?de:Ne}function I0(w,B){return w!=null&&ec(w,B,Du)}function od(w,B){return w!=null&&ec(w,B,Zl)}var D0=Dl(function(w,B,de){B!=null&&typeof B.toString!="function"&&(B=Os.call(B)),w[B]=de},ld(Ul)),O0=Dl(function(w,B,de){B!=null&&typeof B.toString!="function"&&(B=Os.call(B)),fi.call(w,B)?w[B].push(de):w[B]=[de]},hn),k0=Ra(ii);function Uu(w){return $l(w)?Nn(w):Cl(w)}function jl(w){return $l(w)?Nn(w,!0):Cc(w)}function R0(w,B){var de={};return B=hn(B,3),wo(w,function(Ne,xt,Yt){Aa(de,B(Ne,xt,Yt),Ne)}),de}function L0(w,B){var de={};return B=hn(B,3),wo(w,function(Ne,xt,Yt){Aa(de,xt,B(Ne,xt,Yt))}),de}var M0=nl(function(w,B,de){ro(w,B,de)}),wd=nl(function(w,B,de,Ne){ro(w,B,de,Ne)}),F0=O(function(w,B){var de={};if(w==null)return de;var Ne=!1;B=Vi(B,function(Yt){return Yt=ku(Yt,w),Ne||(Ne=Yt.length>1),Yt}),fu(w,me(w),de),Ne&&(de=di(de,p|y|_,gc));for(var xt=B.length;xt--;)Pl(de,B[xt]);return de});function B0(w,B){return Sd(w,of(hn(B)))}var N0=O(function(w,B){return w==null?{}:ru(w,B)});function Sd(w,B){if(w==null)return{};var de=Vi(me(w),function(Ne){return[Ne]});return B=hn(B),Tc(w,de,function(Ne,xt){return B(Ne,xt[0])})}function $0(w,B,de){B=ku(B,w);var Ne=-1,xt=B.length;for(xt||(xt=1,w=i);++Ne<xt;){var Yt=w==null?i:w[Zi(B[Ne])];Yt===i&&(Ne=xt,Yt=de),w=bf(Yt)?Yt.call(w):Yt}return w}function j0(w,B,de){return w==null?w:Ou(w,B,de)}function U0(w,B,de,Ne){return Ne=typeof Ne=="function"?Ne:i,w==null?w:Ou(w,B,de,Ne)}var Ad=Fu(Uu),Cd=Fu(jl);function z0(w,B,de){var Ne=Wa(w),xt=Ne||If(w)||zf(w);if(B=hn(B,4),de==null){var Yt=w&&w.constructor;xt?de=Ne?new Yt:[]:Go(w)?de=bf(Yt)?yr(Qe(w)):{}:de={}}return(xt?Ui:wo)(w,function(_r,Lr,Yr){return B(de,_r,Lr,Yr)}),de}function Z0(w,B){return w==null?!0:Pl(w,B)}function H0(w,B,de){return w==null?w:Eu(w,B,Ic(de))}function W0(w,B,de,Ne){return Ne=typeof Ne=="function"?Ne:i,w==null?w:Eu(w,B,Ic(de),Ne)}function Zf(w){return w==null?[]:Lo(w,Uu(w))}function G0(w){return w==null?[]:Lo(w,jl(w))}function V0(w,B,de){return de===i&&(de=B,B=i),de!==i&&(de=wc(de),de=de===de?de:0),B!==i&&(B=wc(B),B=B===B?B:0),Rs(wc(w),B,de)}function K0(w,B,de){return B=xf(B),de===i?(de=B,B=0):de=xf(de),w=wc(w),lu(w,B,de)}function Y0(w,B,de){if(de&&typeof de!="boolean"&&Ws(w,B,de)&&(B=de=i),de===i&&(typeof B=="boolean"?(de=B,B=i):typeof w=="boolean"&&(de=w,w=i)),w===i&&B===i?(w=0,B=1):(w=xf(w),B===i?(B=w,w=0):B=xf(B)),w>B){var Ne=w;w=B,B=Ne}if(de||w%1||B%1){var xt=Wi();return fa(w+xt*(B-w+li("1e-"+((xt+"").length-1))),B)}return xu(w,B)}var X0=il(function(w,B,de){return B=B.toLowerCase(),w+(de?Td(B):B)});function Td(w){return ud(Js(w).toLowerCase())}function Pd(w){return w=Js(w),w&&w.replace(Bt,fo).replace(Er,"")}function Q0(w,B,de){w=Js(w),B=zo(B);var Ne=w.length;de=de===i?Ne:Rs(rs(de),0,Ne);var xt=de;return de-=B.length,de>=0&&w.slice(de,xt)==B}function q0(w){return w=Js(w),w&&ft.test(w)?w.replace(Pt,fs):w}function J0(w){return w=Js(w),w&&kt.test(w)?w.replace(mt,"\\$&"):w}var eh=il(function(w,B,de){return w+(de?"-":"")+B.toLowerCase()}),th=il(function(w,B,de){return w+(de?" ":"")+B.toLowerCase()}),rh=Zo("toLowerCase");function nh(w,B,de){w=Js(w),B=rs(B);var Ne=B?fr(w):0;if(!B||Ne>=B)return w;var xt=(B-Ne)/2;return gl(Ii(xt),de)+w+gl(vi(xt),de)}function ih(w,B,de){w=Js(w),B=rs(B);var Ne=B?fr(w):0;return B&&Ne<B?w+gl(B-Ne,de):w}function ah(w,B,de){w=Js(w),B=rs(B);var Ne=B?fr(w):0;return B&&Ne<B?gl(B-Ne,de)+w:w}function sh(w,B,de){return de||B==null?B=0:B&&(B=+B),Es(Js(w).replace(Be,""),B||0)}function oh(w,B,de){return(de?Ws(w,B,de):B===i)?B=1:B=rs(B),_l(Js(w),B)}function uh(){var w=arguments,B=Js(w[0]);return w.length<3?B:B.replace(w[1],w[2])}var lh=il(function(w,B,de){return w+(de?"_":"")+B.toLowerCase()});function ch(w,B,de){return de&&typeof de!="number"&&Ws(w,B,de)&&(B=de=i),de=de===i?F:de>>>0,de?(w=Js(w),w&&(typeof B=="string"||B!=null&&!ad(B))&&(B=zo(B),!B&&Io(w))?$s(sr(w),0,de):w.split(B,de)):[]}var fh=il(function(w,B,de){return w+(de?" ":"")+ud(B)});function dh(w,B,de){return w=Js(w),de=de==null?0:Rs(rs(de),0,w.length),B=zo(B),w.slice(de,de+B.length)==B}function hh(w,B,de){var Ne=we.templateSettings;de&&Ws(w,B,de)&&(B=i),w=Js(w),B=Jf({},B,Ne,iu);var xt=Jf({},B.imports,Ne.imports,iu),Yt=Uu(xt),_r=Lo(xt,Yt),Lr,Yr,kn=0,Rn=B.interpolate||Cr,Zn="__p += '",Ti=ci((B.escape||Cr).source+"|"+Rn.source+"|"+(Rn===Oe?jr:Cr).source+"|"+(B.evaluate||Cr).source+"|$","g"),ra="//# sourceURL="+(fi.call(B,"sourceURL")?(B.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++nn+"]")+`
|
|
|
`;w.replace(Ti,function(Ta,bs,Ps,ac,Sl,sc){return Ps||(Ps=ac),Zn+=w.slice(kn,sc).replace(gr,zu),bs&&(Lr=!0,Zn+=`' +
|
|
|
__e(`+bs+`) +
|
|
|
'`),Sl&&(Yr=!0,Zn+=`';
|
|
|
`+Sl+`;
|
|
|
__p += '`),Ps&&(Zn+=`' +
|
|
|
((__t = (`+Ps+`)) == null ? '' : __t) +
|
|
|
'`),kn=sc+Ta.length,Ta}),Zn+=`';
|
|
|
`;var Ca=fi.call(B,"variable")&&B.variable;if(!Ca)Zn=`with (obj) {
|
|
|
`+Zn+`
|
|
|
}
|
|
|
`;else if(Fr.test(Ca))throw new Hn(h);Zn=(Yr?Zn.replace(Wt,""):Zn).replace(Fe,"$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 ct(Yt,ra+"return "+Zn).apply(i,_r)});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,B,de){if(w=Js(w),w&&(de||B===i))return Po(w);if(!w||!(B=zo(B)))return w;var Ne=sr(w),xt=sr(B),Yt=Ko(Ne,xt),_r=Tu(Ne,xt)+1;return $s(Ne,Yt,_r).join("")}function vh(w,B,de){if(w=Js(w),w&&(de||B===i))return w.slice(0,vr(w)+1);if(!w||!(B=zo(B)))return w;var Ne=sr(w),xt=Tu(Ne,sr(B))+1;return $s(Ne,0,xt).join("")}function gh(w,B,de){if(w=Js(w),w&&(de||B===i))return w.replace(Be,"");if(!w||!(B=zo(B)))return w;var Ne=sr(w),xt=Ko(Ne,sr(B));return $s(Ne,xt).join("")}function yh(w,B){var de=oe,Ne=ie;if(Go(B)){var xt="separator"in B?B.separator:xt;de="length"in B?rs(B.length):de,Ne="omission"in B?zo(B.omission):Ne}w=Js(w);var Yt=w.length;if(Io(w)){var _r=sr(w);Yt=_r.length}if(de>=Yt)return w;var Lr=de-fr(Ne);if(Lr<1)return Ne;var Yr=_r?$s(_r,0,Lr).join(""):w.slice(0,Lr);if(xt===i)return Yr+Ne;if(_r&&(Lr+=Yr.length-Lr),ad(xt)){if(w.slice(Lr).search(xt)){var kn,Rn=Yr;for(xt.global||(xt=ci(xt.source,Js(on.exec(xt))+"g")),xt.lastIndex=0;kn=xt.exec(Rn);)var Zn=kn.index;Yr=Yr.slice(0,Zn===i?Lr:Zn)}}else if(w.indexOf(zo(xt),Lr)!=Lr){var Ti=Yr.lastIndexOf(xt);Ti>-1&&(Yr=Yr.slice(0,Ti))}return Yr+Ne}function bh(w){return w=Js(w),w&&Ce.test(w)?w.replace(pe,wr):w}var xh=il(function(w,B,de){return w+(de?" ":"")+B.toUpperCase()}),ud=Zo("toUpperCase");function Id(w,B,de){return w=Js(w),B=de?i:B,B===i?Us(w)?Un(w):Vo(w):w.match(B)||[]}var Dd=Ra(function(w,B){try{return La(w,i,B)}catch(de){return id(de)?de:new Hn(de)}}),Eh=O(function(w,B){return Ui(B,function(de){de=Zi(de),Aa(w,de,pu(w[de],w))}),w});function wh(w){var B=w==null?0:w.length,de=hn();return w=B?Vi(w,function(Ne){if(typeof Ne[1]!="function")throw new Br(s);return[de(Ne[0]),Ne[1]]}):[],Ra(function(Ne){for(var xt=-1;++xt<B;){var Yt=w[xt];if(La(Yt[0],this,Ne))return La(Yt[1],this,Ne)}})}function Sh(w){return Qs(di(w,p))}function ld(w){return function(){return w}}function Ah(w,B){return w==null||w!==w?B:w}var Ch=oo(),Th=oo(!0);function Ul(w){return w}function cd(w){return Bo(typeof w=="function"?w:di(w,p))}function Ph(w){return Wl(di(w,p))}function Ih(w,B){return Hs(w,di(B,p))}var Dh=Ra(function(w,B){return function(de){return ii(de,w,B)}}),Oh=Ra(function(w,B){return function(de){return ii(w,de,B)}});function fd(w,B,de){var Ne=Uu(B),xt=Iu(B,Ne);de==null&&!(Go(B)&&(xt.length||!Ne.length))&&(de=B,B=w,w=this,xt=Iu(B,Uu(B)));var Yt=!(Go(de)&&"chain"in de)||!!de.chain,_r=bf(w);return Ui(xt,function(Lr){var Yr=B[Lr];w[Lr]=Yr,_r&&(w.prototype[Lr]=function(){var kn=this.__chain__;if(Yt||kn){var Rn=w(this.__wrapped__),Zn=Rn.__actions__=$o(this.__actions__);return Zn.push({func:Yr,args:arguments,thisArg:w}),Rn.__chain__=kn,Rn}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(B){return Wu(B,w)})}var Lh=Ql(Vi),Mh=Ql(Ln),Fh=Ql(Bs);function Od(w){return Ja(w)?pi(Zi(w)):cu(w)}function Bh(w){return function(B){return w==null?i:Yo(w,B)}}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,B){if(w=rs(w),w<1||w>J)return[];var de=F,Ne=fa(w,F);B=hn(B),w-=F;for(var xt=lo(Ne,B);++de<w;)B(de);return xt}function Hh(w){return Wa(w)?Vi(w,Zi):ic(w)?[w]:$o(Ea(Js(w)))}function Wh(w){var B=++Vs;return Js(w)+B}var Gh=Xl(function(w,B){return w+B},0),Vh=yl("ceil"),Kh=Xl(function(w,B){return w/B},1),Yh=yl("floor");function Xh(w){return w&&w.length?Ju(w,Ul,Uo):i}function Qh(w,B){return w&&w.length?Ju(w,hn(B,2),Uo):i}function qh(w){return go(w,Ul)}function Jh(w,B){return go(w,hn(B,2))}function ep(w){return w&&w.length?Ju(w,Ul,Hl):i}function tp(w,B){return w&&w.length?Ju(w,hn(B,2),Hl):i}var rp=Xl(function(w,B){return w*B},1),np=yl("round"),ip=Xl(function(w,B){return w-B},0);function ap(w){return w&&w.length?Xa(w,Ul):0}function sp(w,B){return w&&w.length?Xa(w,hn(B,2)):0}return we.after=Wf,we.ary=rd,we.assign=_0,we.assignIn=Ed,we.assignInWith=Jf,we.assignWith=m0,we.at=v0,we.before=Ts,we.bind=pu,we.bindAll=Eh,we.bindKey=wl,we.castArray=jd,we.chain=xe,we.chunk=Ki,we.compact=es,we.concat=Ku,we.cond=wh,we.conforms=Sh,we.constant=ld,we.countBy=Gr,we.create=g0,we.curry=sf,we.curryRight=Nl,we.debounce=gf,we.defaults=y0,we.defaultsDeep=b0,we.defer=yf,we.delay=Yf,we.difference=ju,we.differenceBy=Yu,we.differenceWith=ul,we.drop=ll,we.dropRight=Df,we.dropRightWhile=wf,we.dropWhile=Fl,we.fill=Sf,we.filter=mn,we.flatMap=hi,we.flatMapDeep=os,we.flatMapDepth=ya,we.flatten=hf,we.flattenDeep=cl,we.flattenDepth=Of,we.flip=jf,we.flow=Ch,we.flowRight=Th,we.fromPairs=Xu,we.functions=T0,we.functionsIn=P0,we.groupBy=ta,we.initial=Ho,we.intersection=tf,we.intersectionBy=pf,we.intersectionWith=fl,we.invert=D0,we.invertBy=O0,we.invokeMap=Xn,we.iteratee=cd,we.keyBy=ni,we.keys=Uu,we.keysIn=jl,we.map=wa,we.mapKeys=R0,we.mapValues=L0,we.matches=Ph,we.matchesProperty=Ih,we.memoize=kf,we.merge=M0,we.mergeWith=wd,we.method=Dh,we.methodOf=Oh,we.mixin=fd,we.negate=of,we.nthArg=Rh,we.omit=F0,we.omitBy=B0,we.once=Xf,we.orderBy=Sa,we.over=Lh,we.overArgs=nd,we.overEvery=Mh,we.overSome=Fh,we.partial=Uf,we.partialRight=Gf,we.partition=ts,we.pick=N0,we.pickBy=Sd,we.property=Od,we.propertyOf=Bh,we.pull=Mc,we.pullAll=Fc,we.pullAllBy=mf,we.pullAllWith=Bc,we.pullAt=Af,we.range=Nh,we.rangeRight=$h,we.rearg=Rf,we.reject=ao,we.remove=Mf,we.rest=Md,we.reverse=Nc,we.sampleSize=dl,we.set=j0,we.setWith=U0,we.shuffle=af,we.slice=Ff,we.sortBy=td,we.sortedUniq=nf,we.sortedUniqBy=$f,we.split=ch,we.spread=Fd,we.tail=Tf,we.take=g,we.takeRight=A,we.takeRightWhile=Z,we.takeWhile=ve,we.tap=Te,we.throttle=Bd,we.thru=De,we.toArray=yd,we.toPairs=Ad,we.toPairsIn=Cd,we.toPath=Hh,we.toPlainObject=xd,we.transform=z0,we.unary=Nd,we.union=Le,we.unionBy=ut,we.unionWith=Nt,we.uniq=rr,we.uniqBy=P,we.uniqWith=t,we.unset=Z0,we.unzip=n,we.unzipWith=o,we.update=H0,we.updateWith=W0,we.values=Zf,we.valuesIn=G0,we.without=m,we.words=Id,we.wrap=$d,we.xor=E,we.xorBy=C,we.xorWith=U,we.zip=H,we.zipObject=$,we.zipObjectDeep=ae,we.zipWith=ce,we.entries=Ad,we.entriesIn=Cd,we.extend=Ed,we.extendWith=Jf,fd(we,we),we.add=Gh,we.attempt=Dd,we.camelCase=X0,we.capitalize=Td,we.ceil=Vh,we.clamp=V0,we.clone=Ud,we.cloneDeep=Zd,we.cloneDeepWith=Hd,we.cloneWith=zd,we.conformsTo=Wd,we.deburr=Pd,we.defaultTo=Ah,we.divide=Kh,we.endsWith=Q0,we.eq=$c,we.escape=q0,we.escapeRegExp=J0,we.every=un,we.find=Qr,we.findIndex=xc,we.findKey=x0,we.findLast=Yn,we.findLastIndex=Jc,we.findLastKey=E0,we.floor=Yh,we.forEach=Ji,we.forEachRight=Ri,we.forIn=w0,we.forInRight=S0,we.forOwn=A0,we.forOwnRight=C0,we.get=sd,we.gt=Gd,we.gte=Vd,we.has=I0,we.hasIn=od,we.head=Lc,we.identity=Ul,we.includes=qi,we.indexOf=ef,we.inRange=K0,we.invoke=k0,we.isArguments=Lf,we.isArray=Wa,we.isArrayBuffer=Kd,we.isArrayLike=$l,we.isArrayLikeObject=au,we.isBoolean=Yd,we.isBuffer=If,we.isDate=Xd,we.isElement=Qd,we.isEmpty=qd,we.isEqual=Jd,we.isEqualWith=e0,we.isError=id,we.isFinite=t0,we.isFunction=bf,we.isInteger=_d,we.isLength=Qf,we.isMap=md,we.isMatch=r0,we.isMatchWith=n0,we.isNaN=i0,we.isNative=a0,we.isNil=o0,we.isNull=s0,we.isNumber=vd,we.isObject=Go,we.isObjectLike=Jo,we.isPlainObject=Vf,we.isRegExp=ad,we.isSafeInteger=u0,we.isSet=gd,we.isString=qf,we.isSymbol=ic,we.isTypedArray=zf,we.isUndefined=l0,we.isWeakMap=c0,we.isWeakSet=f0,we.join=Bl,we.kebabCase=eh,we.last=Wo,we.lastIndexOf=Ec,we.lowerCase=th,we.lowerFirst=rh,we.lt=d0,we.lte=h0,we.max=Xh,we.maxBy=Qh,we.mean=qh,we.meanBy=Jh,we.min=ep,we.minBy=tp,we.stubArray=hd,we.stubFalse=pd,we.stubObject=jh,we.stubString=Uh,we.stubTrue=zh,we.multiply=rp,we.nth=_f,we.noConflict=kh,we.noop=dd,we.now=Pf,we.pad=nh,we.padEnd=ih,we.padStart=ah,we.parseInt=sh,we.random=Y0,we.reduce=Cs,we.reduceRight=js,we.repeat=oh,we.replace=uh,we.result=$0,we.round=np,we.runInContext=ur,we.sample=Qu,we.size=Kf,we.snakeCase=lh,we.some=ed,we.sortedIndex=rf,we.sortedIndexBy=vf,we.sortedIndexOf=Hf,we.sortedLastIndex=Cf,we.sortedLastIndexBy=Bf,we.sortedLastIndexOf=Nf,we.startCase=fh,we.startsWith=dh,we.subtract=ip,we.sum=ap,we.sumBy=sp,we.template=hh,we.times=Zh,we.toFinite=xf,we.toInteger=rs,we.toLength=bd,we.toLower=ph,we.toNumber=wc,we.toSafeInteger=p0,we.toString=Js,we.toUpper=_h,we.trim=mh,we.trimEnd=vh,we.trimStart=gh,we.truncate=yh,we.unescape=bh,we.uniqueId=Wh,we.upperCase=xh,we.upperFirst=ud,we.each=Ji,we.eachRight=Ri,we.first=Lc,fd(we,function(){var w={};return wo(we,function(B,de){fi.call(we.prototype,de)||(w[de]=B)}),w}(),{chain:!1}),we.VERSION=l,Ui(["bind","bindKey","curry","curryRight","partial","partialRight"],function(w){we[w].placeholder=we}),Ui(["drop","take"],function(w,B){qr.prototype[w]=function(de){de=de===i?1:Ei(rs(de),0);var Ne=this.__filtered__&&!B?new qr(this):this.clone();return Ne.__filtered__?Ne.__takeCount__=fa(de,Ne.__takeCount__):Ne.__views__.push({size:fa(de,F),type:w+(Ne.__dir__<0?"Right":"")}),Ne},qr.prototype[w+"Right"]=function(de){return this.reverse()[w](de).reverse()}}),Ui(["filter","map","takeWhile"],function(w,B){var de=B+1,Ne=de==V||de==te;qr.prototype[w]=function(xt){var Yt=this.clone();return Yt.__iteratees__.push({iteratee:hn(xt,3),type:de}),Yt.__filtered__=Yt.__filtered__||Ne,Yt}}),Ui(["head","last"],function(w,B){var de="take"+(B?"Right":"");qr.prototype[w]=function(){return this[de](1).value()[0]}}),Ui(["initial","tail"],function(w,B){var de="drop"+(B?"":"Right");qr.prototype[w]=function(){return this.__filtered__?new qr(this):this[de](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,B){return typeof w=="function"?new qr(this):this.map(function(de){return ii(de,w,B)})}),qr.prototype.reject=function(w){return this.filter(of(hn(w)))},qr.prototype.slice=function(w,B){w=rs(w);var de=this;return de.__filtered__&&(w>0||B<0)?new qr(de):(w<0?de=de.takeRight(-w):w&&(de=de.drop(w)),B!==i&&(B=rs(B),de=B<0?de.dropRight(-B):de.take(B-w)),de)},qr.prototype.takeRightWhile=function(w){return this.reverse().takeWhile(w).reverse()},qr.prototype.toArray=function(){return this.take(F)},wo(qr.prototype,function(w,B){var de=/^(?:filter|find|map|reject)|While$/.test(B),Ne=/^(?:head|last)$/.test(B),xt=we[Ne?"take"+(B=="last"?"Right":""):B],Yt=Ne||/^find/.test(B);xt&&(we.prototype[B]=function(){var _r=this.__wrapped__,Lr=Ne?[1]:arguments,Yr=_r instanceof qr,kn=Lr[0],Rn=Yr||Wa(_r),Zn=function(bs){var Ps=xt.apply(we,Ia([bs],Lr));return Ne&&Ti?Ps[0]:Ps};Rn&&de&&typeof kn=="function"&&kn.length!=1&&(Yr=Rn=!1);var Ti=this.__chain__,ra=!!this.__actions__.length,Ca=Yt&&!Ti,us=Yr&&!ra;if(!Yt&&Rn){_r=us?_r:new qr(this);var Ta=w.apply(_r,Lr);return Ta.__actions__.push({func:De,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)})}),Ui(["pop","push","shift","sort","splice","unshift"],function(w){var B=Mi[w],de=/^(?:push|sort|unshift)$/.test(w)?"tap":"thru",Ne=/^(?:pop|shift)$/.test(w);we.prototype[w]=function(){var xt=arguments;if(Ne&&!this.__chain__){var Yt=this.value();return B.apply(Wa(Yt)?Yt:[],xt)}return this[de](function(_r){return B.apply(Wa(_r)?_r:[],xt)})}}),wo(qr.prototype,function(w,B){var de=we[B];if(de){var Ne=de.name+"";fi.call(so,Ne)||(so[Ne]=[]),so[Ne].push({name:B,func:de})}}),so[du(i,L).name]=[{name:"wrapper",func:i}],qr.prototype.clone=Cn,qr.prototype.reverse=ti,qr.prototype.value=Bi,we.prototype.at=tt,we.prototype.chain=at,we.prototype.commit=Ft,we.prototype.next=hr,we.prototype.plant=zr,we.prototype.reverse=Wr,we.prototype.toJSON=we.prototype.valueOf=we.prototype.value=dn,we.prototype.first=we.prototype.head,$r&&(we.prototype[$r]=ar),we},Gn=Mn();Pa._=Gn,r=function(){return Gn}.call(v,e,v,d),r!==i&&(d.exports=r)}).call(this)},28440:function(d,v,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 v(){return!1}d.exports=v},20480:function(d,v,e){var r=e(95378),i=e(56730);function l(c){return r(c,i(c))}d.exports=l},32834:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";function v(At,Oe){for(var wt=0;wt<Oe.length;wt++){var be=Oe[wt];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(At,be.key,be)}}function e(At,Oe,wt){return Oe&&v(At.prototype,Oe),wt&&v(At,wt),At}function r(At,Oe){if(At){if(typeof At=="string")return i(At,Oe);var wt=Object.prototype.toString.call(At).slice(8,-1);if(wt==="Object"&&At.constructor&&(wt=At.constructor.name),wt==="Map"||wt==="Set")return Array.from(At);if(wt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(wt))return i(At,Oe)}}function i(At,Oe){(Oe==null||Oe>At.length)&&(Oe=At.length);for(var wt=0,be=new Array(Oe);wt<Oe;wt++)be[wt]=At[wt];return be}function l(At,Oe){var wt=typeof Symbol!="undefined"&&At[Symbol.iterator]||At["@@iterator"];if(wt)return(wt=wt.call(At)).next.bind(wt);if(Array.isArray(At)||(wt=r(At))||Oe&&At&&typeof At.length=="number"){wt&&(At=wt);var be=0;return function(){return be>=At.length?{done:!0}:{done:!1,value:At[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(At){c.exports.defaults=At}c.exports={defaults:f(),getDefaults:f,changeDefaults:s};var h=/[&<>"']/,u=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,x=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},y=function(Oe){return p[Oe]};function _(At,Oe){if(Oe){if(h.test(At))return At.replace(u,y)}else if(a.test(At))return At.replace(x,y);return At}var b=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function S(At){return At.replace(b,function(Oe,wt){return wt=wt.toLowerCase(),wt==="colon"?":":wt.charAt(0)==="#"?wt.charAt(1)==="x"?String.fromCharCode(parseInt(wt.substring(2),16)):String.fromCharCode(+wt.substring(1)):""})}var R=/(^|[^\[])\^/g;function L(At,Oe){At=At.source||At,Oe=Oe||"";var wt={replace:function(Ke,mt){return mt=mt.source||mt,mt=mt.replace(R,"$1"),At=At.replace(Ke,mt),wt},getRegex:function(){return new RegExp(At,Oe)}};return wt}var T=/[^\w:]/g,D=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function M(At,Oe,wt){if(At){var be;try{be=decodeURIComponent(S(wt)).replace(T,"").toLowerCase()}catch(Ke){return null}if(be.indexOf("javascript:")===0||be.indexOf("vbscript:")===0||be.indexOf("data:")===0)return null}Oe&&!D.test(wt)&&(wt=Y(Oe,wt));try{wt=encodeURI(wt).replace(/%25/g,"%")}catch(Ke){return null}return wt}var N={},j=/^[^:]+:\/*[^/]*$/,Q=/^([^:]+:)[\s\S]*$/,X=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Y(At,Oe){N[" "+At]||(j.test(At)?N[" "+At]=At+"/":N[" "+At]=K(At,"/",!0)),At=N[" "+At];var wt=At.indexOf(":")===-1;return Oe.substring(0,2)==="//"?wt?Oe:At.replace(Q,"$1")+Oe:Oe.charAt(0)==="/"?wt?Oe:At.replace(X,"$1")+Oe:At+Oe}var oe={exec:function(){}};function ie(At){for(var Oe=1,wt,be;Oe<arguments.length;Oe++){wt=arguments[Oe];for(be in wt)Object.prototype.hasOwnProperty.call(wt,be)&&(At[be]=wt[be])}return At}function ue(At,Oe){var wt=At.replace(/\|/g,function(mt,kt,Be){for(var kr=!1,St=kt;--St>=0&&Be[St]==="\\";)kr=!kr;return kr?"|":" |"}),be=wt.split(/ \|/),Ke=0;if(be.length>Oe)be.splice(Oe);else for(;be.length<Oe;)be.push("");for(;Ke<be.length;Ke++)be[Ke]=be[Ke].trim().replace(/\\\|/g,"|");return be}function K(At,Oe,wt){var be=At.length;if(be===0)return"";for(var Ke=0;Ke<be;){var mt=At.charAt(be-Ke-1);if(mt===Oe&&!wt)Ke++;else if(mt!==Oe&&wt)Ke++;else break}return At.substr(0,be-Ke)}function V(At,Oe){if(At.indexOf(Oe[1])===-1)return-1;for(var wt=At.length,be=0,Ke=0;Ke<wt;Ke++)if(At[Ke]==="\\")Ke++;else if(At[Ke]===Oe[0])be++;else if(At[Ke]===Oe[1]&&(be--,be<0))return Ke;return-1}function G(At){At&&At.sanitize&&!At.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 te(At,Oe){if(Oe<1)return"";for(var wt="";Oe>1;)Oe&1&&(wt+=At),Oe>>=1,At+=At;return wt+At}var q={escape:_,unescape:S,edit:L,cleanUrl:M,resolveUrl:Y,noopTest:oe,merge:ie,splitCells:ue,rtrim:K,findClosingBracket:V,checkSanitizeDeprecation:G,repeatString:te},J=c.exports.defaults,le=q.rtrim,z=q.splitCells,F=q.escape,se=q.findClosingBracket;function _e(At,Oe,wt){var be=Oe.href,Ke=Oe.title?F(Oe.title):null,mt=At[1].replace(/\\([\[\]])/g,"$1");return At[0].charAt(0)!=="!"?{type:"link",raw:wt,href:be,title:Ke,text:mt}:{type:"image",raw:wt,href:be,title:Ke,text:F(mt)}}function Pe(At,Oe){var wt=At.match(/^(\s+)(?:```)/);if(wt===null)return Oe;var be=wt[1];return Oe.split(`
|
|
|
`).map(function(Ke){var mt=Ke.match(/^\s+/);if(mt===null)return Ke;var kt=mt[0];return kt.length>=be.length?Ke.slice(be.length):Ke}).join(`
|
|
|
`)}var Re=function(){function At(wt){this.options=wt||J}var Oe=At.prototype;return Oe.space=function(be){var Ke=this.rules.block.newline.exec(be);if(Ke)return Ke[0].length>1?{type:"space",raw:Ke[0]}:{raw:`
|
|
|
`}},Oe.code=function(be){var Ke=this.rules.block.code.exec(be);if(Ke){var mt=Ke[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:Ke[0],codeBlockStyle:"indented",text:this.options.pedantic?mt:le(mt,`
|
|
|
`)}}},Oe.fences=function(be){var Ke=this.rules.block.fences.exec(be);if(Ke){var mt=Ke[0],kt=Pe(mt,Ke[3]||"");return{type:"code",raw:mt,lang:Ke[2]?Ke[2].trim():Ke[2],text:kt}}},Oe.heading=function(be){var Ke=this.rules.block.heading.exec(be);if(Ke){var mt=Ke[2].trim();if(/#$/.test(mt)){var kt=le(mt,"#");(this.options.pedantic||!kt||/ $/.test(kt))&&(mt=kt.trim())}return{type:"heading",raw:Ke[0],depth:Ke[1].length,text:mt}}},Oe.nptable=function(be){var Ke=this.rules.block.nptable.exec(be);if(Ke){var mt={type:"table",header:z(Ke[1].replace(/^ *| *\| *$/g,"")),align:Ke[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ke[3]?Ke[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:Ke[0]};if(mt.header.length===mt.align.length){var kt=mt.align.length,Be;for(Be=0;Be<kt;Be++)/^ *-+: *$/.test(mt.align[Be])?mt.align[Be]="right":/^ *:-+: *$/.test(mt.align[Be])?mt.align[Be]="center":/^ *:-+ *$/.test(mt.align[Be])?mt.align[Be]="left":mt.align[Be]=null;for(kt=mt.cells.length,Be=0;Be<kt;Be++)mt.cells[Be]=z(mt.cells[Be],mt.header.length);return mt}}},Oe.hr=function(be){var Ke=this.rules.block.hr.exec(be);if(Ke)return{type:"hr",raw:Ke[0]}},Oe.blockquote=function(be){var Ke=this.rules.block.blockquote.exec(be);if(Ke){var mt=Ke[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Ke[0],text:mt}}},Oe.list=function(be){var Ke=this.rules.block.list.exec(be);if(Ke){var mt=Ke[0],kt=Ke[2],Be=kt.length>1,kr={type:"list",raw:mt,ordered:Be,start:Be?+kt.slice(0,-1):"",loose:!1,items:[]},St=Ke[0].match(this.rules.block.item),Vr=!1,Jr,Ar,Fr,mr,jr,on,fn,or,Rt,_t=St.length;Fr=this.rules.block.listItemStart.exec(St[0]);for(var vt=0;vt<_t;vt++){if(Jr=St[vt],mt=Jr,this.options.pedantic||(Rt=Jr.match(new RegExp("\\n\\s*\\n {0,"+(Fr[0].length-1)+"}\\S")),Rt&&(jr=Jr.length-Rt.index+St.slice(vt+1).join(`
|
|
|
`).length,kr.raw=kr.raw.substring(0,kr.raw.length-jr),Jr=Jr.substring(0,Rt.index),mt=Jr,_t=vt+1)),vt!==_t-1){if(mr=this.rules.block.listItemStart.exec(St[vt+1]),this.options.pedantic?mr[1].length>Fr[1].length:mr[1].length>=Fr[0].length||mr[1].length>3){St.splice(vt,2,St[vt]+(!this.options.pedantic&&mr[1].length<Fr[0].length&&!St[vt].match(/\n$/)?"":`
|
|
|
`)+St[vt+1]),vt--,_t--;continue}else(!this.options.pedantic||this.options.smartLists?mr[2][mr[2].length-1]!==kt[kt.length-1]:Be===(mr[2].length===1))&&(jr=St.slice(vt+1).join(`
|
|
|
`).length,kr.raw=kr.raw.substring(0,kr.raw.length-jr),vt=_t-1);Fr=mr}Ar=Jr.length,Jr=Jr.replace(/^ *([*+-]|\d+[.)]) ?/,""),~Jr.indexOf(`
|
|
|
`)&&(Ar-=Jr.length,Jr=this.options.pedantic?Jr.replace(/^ {1,4}/gm,""):Jr.replace(new RegExp("^ {1,"+Ar+"}","gm"),"")),Jr=le(Jr,`
|
|
|
`),vt!==_t-1&&(mt=mt+`
|
|
|
`),on=Vr||/\n\n(?!\s*$)/.test(mt),vt!==_t-1&&(Vr=mt.slice(-2)===`
|
|
|
|
|
|
`,on||(on=Vr)),on&&(kr.loose=!0),this.options.gfm&&(fn=/^\[[ xX]\] /.test(Jr),or=void 0,fn&&(or=Jr[1]!==" ",Jr=Jr.replace(/^\[[ xX]\] +/,""))),kr.items.push({type:"list_item",raw:mt,task:fn,checked:or,loose:on,text:Jr})}return kr}},Oe.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]):F(Ke[0]):Ke[0]}},Oe.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 mt=Ke[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:mt,raw:Ke[0],href:Ke[2],title:Ke[3]}}},Oe.table=function(be){var Ke=this.rules.block.table.exec(be);if(Ke){var mt={type:"table",header:z(Ke[1].replace(/^ *| *\| *$/g,"")),align:Ke[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ke[3]?Ke[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(mt.header.length===mt.align.length){mt.raw=Ke[0];var kt=mt.align.length,Be;for(Be=0;Be<kt;Be++)/^ *-+: *$/.test(mt.align[Be])?mt.align[Be]="right":/^ *:-+: *$/.test(mt.align[Be])?mt.align[Be]="center":/^ *:-+ *$/.test(mt.align[Be])?mt.align[Be]="left":mt.align[Be]=null;for(kt=mt.cells.length,Be=0;Be<kt;Be++)mt.cells[Be]=z(mt.cells[Be].replace(/^ *\| *| *\| *$/g,""),mt.header.length);return mt}}},Oe.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]}},Oe.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]}},Oe.text=function(be){var Ke=this.rules.block.text.exec(be);if(Ke)return{type:"text",raw:Ke[0],text:Ke[0]}},Oe.escape=function(be){var Ke=this.rules.inline.escape.exec(be);if(Ke)return{type:"escape",raw:Ke[0],text:F(Ke[1])}},Oe.tag=function(be,Ke,mt){var kt=this.rules.inline.tag.exec(be);if(kt)return!Ke&&/^<a /i.test(kt[0])?Ke=!0:Ke&&/^<\/a>/i.test(kt[0])&&(Ke=!1),!mt&&/^<(pre|code|kbd|script)(\s|>)/i.test(kt[0])?mt=!0:mt&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(kt[0])&&(mt=!1),{type:this.options.sanitize?"text":"html",raw:kt[0],inLink:Ke,inRawBlock:mt,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(kt[0]):F(kt[0]):kt[0]}},Oe.link=function(be){var Ke=this.rules.inline.link.exec(be);if(Ke){var mt=Ke[2].trim();if(!this.options.pedantic&&/^</.test(mt)){if(!/>$/.test(mt))return;var kt=le(mt.slice(0,-1),"\\");if((mt.length-kt.length)%2===0)return}else{var Be=se(Ke[2],"()");if(Be>-1){var kr=Ke[0].indexOf("!")===0?5:4,St=kr+Ke[1].length+Be;Ke[2]=Ke[2].substring(0,Be),Ke[0]=Ke[0].substring(0,St).trim(),Ke[3]=""}}var Vr=Ke[2],Jr="";if(this.options.pedantic){var Ar=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Vr);Ar&&(Vr=Ar[1],Jr=Ar[3])}else Jr=Ke[3]?Ke[3].slice(1,-1):"";return Vr=Vr.trim(),/^</.test(Vr)&&(this.options.pedantic&&!/>$/.test(mt)?Vr=Vr.slice(1):Vr=Vr.slice(1,-1)),_e(Ke,{href:Vr&&Vr.replace(this.rules.inline._escapes,"$1"),title:Jr&&Jr.replace(this.rules.inline._escapes,"$1")},Ke[0])}},Oe.reflink=function(be,Ke){var mt;if((mt=this.rules.inline.reflink.exec(be))||(mt=this.rules.inline.nolink.exec(be))){var kt=(mt[2]||mt[1]).replace(/\s+/g," ");if(kt=Ke[kt.toLowerCase()],!kt||!kt.href){var Be=mt[0].charAt(0);return{type:"text",raw:Be,text:Be}}return _e(mt,kt,mt[0])}},Oe.emStrong=function(be,Ke,mt){mt===void 0&&(mt="");var kt=this.rules.inline.emStrong.lDelim.exec(be);if(kt&&!(kt[3]&&mt.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=kt[1]||kt[2]||"";if(!Be||Be&&(mt===""||this.rules.inline.punctuation.exec(mt))){var kr=kt[0].length-1,St,Vr,Jr=kr,Ar=0,Fr=kt[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Fr.lastIndex=0,Ke=Ke.slice(-1*be.length+kr);(kt=Fr.exec(Ke))!=null;)if(St=kt[1]||kt[2]||kt[3]||kt[4]||kt[5]||kt[6],!!St){if(Vr=St.length,kt[3]||kt[4]){Jr+=Vr;continue}else if((kt[5]||kt[6])&&kr%3&&!((kr+Vr)%3)){Ar+=Vr;continue}if(Jr-=Vr,!(Jr>0))return Vr=Math.min(Vr,Vr+Jr+Ar),Math.min(kr,Vr)%2?{type:"em",raw:be.slice(0,kr+kt.index+Vr+1),text:be.slice(1,kr+kt.index+Vr)}:{type:"strong",raw:be.slice(0,kr+kt.index+Vr+1),text:be.slice(2,kr+kt.index+Vr-1)}}}}},Oe.codespan=function(be){var Ke=this.rules.inline.code.exec(be);if(Ke){var mt=Ke[2].replace(/\n/g," "),kt=/[^ ]/.test(mt),Be=/^ /.test(mt)&&/ $/.test(mt);return kt&&Be&&(mt=mt.substring(1,mt.length-1)),mt=F(mt,!0),{type:"codespan",raw:Ke[0],text:mt}}},Oe.br=function(be){var Ke=this.rules.inline.br.exec(be);if(Ke)return{type:"br",raw:Ke[0]}},Oe.del=function(be){var Ke=this.rules.inline.del.exec(be);if(Ke)return{type:"del",raw:Ke[0],text:Ke[2]}},Oe.autolink=function(be,Ke){var mt=this.rules.inline.autolink.exec(be);if(mt){var kt,Be;return mt[2]==="@"?(kt=F(this.options.mangle?Ke(mt[1]):mt[1]),Be="mailto:"+kt):(kt=F(mt[1]),Be=kt),{type:"link",raw:mt[0],text:kt,href:Be,tokens:[{type:"text",raw:kt,text:kt}]}}},Oe.url=function(be,Ke){var mt;if(mt=this.rules.inline.url.exec(be)){var kt,Be;if(mt[2]==="@")kt=F(this.options.mangle?Ke(mt[0]):mt[0]),Be="mailto:"+kt;else{var kr;do kr=mt[0],mt[0]=this.rules.inline._backpedal.exec(mt[0])[0];while(kr!==mt[0]);kt=F(mt[0]),mt[1]==="www."?Be="http://"+kt:Be=kt}return{type:"link",raw:mt[0],text:kt,href:Be,tokens:[{type:"text",raw:kt,text:kt}]}}},Oe.inlineText=function(be,Ke,mt){var kt=this.rules.inline.text.exec(be);if(kt){var Be;return Ke?Be=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(kt[0]):F(kt[0]):kt[0]:Be=F(this.options.smartypants?mt(kt[0]):kt[0]),{type:"text",raw:kt[0],text:Be}}},At}(),He=q.noopTest,je=q.edit,Zt=q.merge,yt={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:He,table:He,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};yt._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,yt._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,yt.def=je(yt.def).replace("label",yt._label).replace("title",yt._title).getRegex(),yt.bullet=/(?:[*+-]|\d{1,9}[.)])/,yt.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,yt.item=je(yt.item,"gm").replace(/bull/g,yt.bullet).getRegex(),yt.listItemStart=je(/^( *)(bull) */).replace("bull",yt.bullet).getRegex(),yt.list=je(yt.list).replace(/bull/g,yt.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+yt.def.source+")").getRegex(),yt._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",yt._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,yt.html=je(yt.html,"i").replace("comment",yt._comment).replace("tag",yt._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),yt.paragraph=je(yt._paragraph).replace("hr",yt.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",yt._tag).getRegex(),yt.blockquote=je(yt.blockquote).replace("paragraph",yt.paragraph).getRegex(),yt.normal=Zt({},yt),yt.gfm=Zt({},yt.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*|$)"}),yt.gfm.nptable=je(yt.gfm.nptable).replace("hr",yt.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",yt._tag).getRegex(),yt.gfm.table=je(yt.gfm.table).replace("hr",yt.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",yt._tag).getRegex(),yt.pedantic=Zt({},yt.normal,{html:je(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",yt._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:He,paragraph:je(yt.normal._paragraph).replace("hr",yt.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",yt.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Dt={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:He,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:He,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};Dt._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Dt.punctuation=je(Dt.punctuation).replace(/punctuation/g,Dt._punctuation).getRegex(),Dt.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,Dt.escapedEmSt=/\\\*|\\_/g,Dt._comment=je(yt._comment).replace("(?:-->|$)","-->").getRegex(),Dt.emStrong.lDelim=je(Dt.emStrong.lDelim).replace(/punct/g,Dt._punctuation).getRegex(),Dt.emStrong.rDelimAst=je(Dt.emStrong.rDelimAst,"g").replace(/punct/g,Dt._punctuation).getRegex(),Dt.emStrong.rDelimUnd=je(Dt.emStrong.rDelimUnd,"g").replace(/punct/g,Dt._punctuation).getRegex(),Dt._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Dt._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Dt._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])?)+(?![-_])/,Dt.autolink=je(Dt.autolink).replace("scheme",Dt._scheme).replace("email",Dt._email).getRegex(),Dt._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Dt.tag=je(Dt.tag).replace("comment",Dt._comment).replace("attribute",Dt._attribute).getRegex(),Dt._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Dt._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Dt._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Dt.link=je(Dt.link).replace("label",Dt._label).replace("href",Dt._href).replace("title",Dt._title).getRegex(),Dt.reflink=je(Dt.reflink).replace("label",Dt._label).getRegex(),Dt.reflinkSearch=je(Dt.reflinkSearch,"g").replace("reflink",Dt.reflink).replace("nolink",Dt.nolink).getRegex(),Dt.normal=Zt({},Dt),Dt.pedantic=Zt({},Dt.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:je(/^!?\[(label)\]\((.*?)\)/).replace("label",Dt._label).getRegex(),reflink:je(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Dt._label).getRegex()}),Dt.gfm=Zt({},Dt.normal,{escape:je(Dt.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),Dt.gfm.url=je(Dt.gfm.url,"i").replace("email",Dt.gfm._extended_email).getRegex(),Dt.breaks=Zt({},Dt.gfm,{br:je(Dt.br).replace("{2,}","*").getRegex(),text:je(Dt.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Qt={block:yt,inline:Dt},Jt=Re,qt=c.exports.defaults,Xe=Qt.block,Tt=Qt.inline,jt=q.repeatString;function st(At){return At.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 gt(At){var Oe="",wt,be,Ke=At.length;for(wt=0;wt<Ke;wt++)be=At.charCodeAt(wt),Math.random()>.5&&(be="x"+be.toString(16)),Oe+="&#"+be+";";return Oe}var dt=function(){function At(wt){this.tokens=[],this.tokens.links=Object.create(null),this.options=wt||qt,this.options.tokenizer=this.options.tokenizer||new Jt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var be={block:Xe.normal,inline:Tt.normal};this.options.pedantic?(be.block=Xe.pedantic,be.inline=Tt.pedantic):this.options.gfm&&(be.block=Xe.gfm,this.options.breaks?be.inline=Tt.breaks:be.inline=Tt.gfm),this.tokenizer.rules=be}At.lex=function(be,Ke){var mt=new At(Ke);return mt.lex(be)},At.lexInline=function(be,Ke){var mt=new At(Ke);return mt.inlineTokens(be)};var Oe=At.prototype;return Oe.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},Oe.blockTokens=function(be,Ke,mt){Ke===void 0&&(Ke=[]),mt===void 0&&(mt=!0),this.options.pedantic&&(be=be.replace(/^ +$/gm,""));for(var kt,Be,kr,St;be;){if(kt=this.tokenizer.space(be)){be=be.substring(kt.raw.length),kt.type&&Ke.push(kt);continue}if(kt=this.tokenizer.code(be)){be=be.substring(kt.raw.length),St=Ke[Ke.length-1],St&&St.type==="paragraph"?(St.raw+=`
|
|
|
`+kt.raw,St.text+=`
|
|
|
`+kt.text):Ke.push(kt);continue}if(kt=this.tokenizer.fences(be)){be=be.substring(kt.raw.length),Ke.push(kt);continue}if(kt=this.tokenizer.heading(be)){be=be.substring(kt.raw.length),Ke.push(kt);continue}if(kt=this.tokenizer.nptable(be)){be=be.substring(kt.raw.length),Ke.push(kt);continue}if(kt=this.tokenizer.hr(be)){be=be.substring(kt.raw.length),Ke.push(kt);continue}if(kt=this.tokenizer.blockquote(be)){be=be.substring(kt.raw.length),kt.tokens=this.blockTokens(kt.text,[],mt),Ke.push(kt);continue}if(kt=this.tokenizer.list(be)){for(be=be.substring(kt.raw.length),kr=kt.items.length,Be=0;Be<kr;Be++)kt.items[Be].tokens=this.blockTokens(kt.items[Be].text,[],!1);Ke.push(kt);continue}if(kt=this.tokenizer.html(be)){be=be.substring(kt.raw.length),Ke.push(kt);continue}if(mt&&(kt=this.tokenizer.def(be))){be=be.substring(kt.raw.length),this.tokens.links[kt.tag]||(this.tokens.links[kt.tag]={href:kt.href,title:kt.title});continue}if(kt=this.tokenizer.table(be)){be=be.substring(kt.raw.length),Ke.push(kt);continue}if(kt=this.tokenizer.lheading(be)){be=be.substring(kt.raw.length),Ke.push(kt);continue}if(mt&&(kt=this.tokenizer.paragraph(be))){be=be.substring(kt.raw.length),Ke.push(kt);continue}if(kt=this.tokenizer.text(be)){be=be.substring(kt.raw.length),St=Ke[Ke.length-1],St&&St.type==="text"?(St.raw+=`
|
|
|
`+kt.raw,St.text+=`
|
|
|
`+kt.text):Ke.push(kt);continue}if(be){var Vr="Infinite loop on byte: "+be.charCodeAt(0);if(this.options.silent){console.error(Vr);break}else throw new Error(Vr)}}return Ke},Oe.inline=function(be){var Ke,mt,kt,Be,kr,St,Vr=be.length;for(Ke=0;Ke<Vr;Ke++)switch(St=be[Ke],St.type){case"paragraph":case"text":case"heading":{St.tokens=[],this.inlineTokens(St.text,St.tokens);break}case"table":{for(St.tokens={header:[],cells:[]},Be=St.header.length,mt=0;mt<Be;mt++)St.tokens.header[mt]=[],this.inlineTokens(St.header[mt],St.tokens.header[mt]);for(Be=St.cells.length,mt=0;mt<Be;mt++)for(kr=St.cells[mt],St.tokens.cells[mt]=[],kt=0;kt<kr.length;kt++)St.tokens.cells[mt][kt]=[],this.inlineTokens(kr[kt],St.tokens.cells[mt][kt]);break}case"blockquote":{this.inline(St.tokens);break}case"list":{for(Be=St.items.length,mt=0;mt<Be;mt++)this.inline(St.items[mt].tokens);break}}return be},Oe.inlineTokens=function(be,Ke,mt,kt){Ke===void 0&&(Ke=[]),mt===void 0&&(mt=!1),kt===void 0&&(kt=!1);var Be,kr,St=be,Vr,Jr,Ar;if(this.tokens.links){var Fr=Object.keys(this.tokens.links);if(Fr.length>0)for(;(Vr=this.tokenizer.rules.inline.reflinkSearch.exec(St))!=null;)Fr.includes(Vr[0].slice(Vr[0].lastIndexOf("[")+1,-1))&&(St=St.slice(0,Vr.index)+"["+jt("a",Vr[0].length-2)+"]"+St.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Vr=this.tokenizer.rules.inline.blockSkip.exec(St))!=null;)St=St.slice(0,Vr.index)+"["+jt("a",Vr[0].length-2)+"]"+St.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(Vr=this.tokenizer.rules.inline.escapedEmSt.exec(St))!=null;)St=St.slice(0,Vr.index)+"++"+St.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;be;){if(Jr||(Ar=""),Jr=!1,Be=this.tokenizer.escape(be)){be=be.substring(Be.raw.length),Ke.push(Be);continue}if(Be=this.tokenizer.tag(be,mt,kt)){be=be.substring(Be.raw.length),mt=Be.inLink,kt=Be.inRawBlock;var mr=Ke[Ke.length-1];mr&&Be.type==="text"&&mr.type==="text"?(mr.raw+=Be.raw,mr.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,kt)),Ke.push(Be);continue}if(Be=this.tokenizer.reflink(be,this.tokens.links)){be=be.substring(Be.raw.length);var jr=Ke[Ke.length-1];Be.type==="link"?(Be.tokens=this.inlineTokens(Be.text,[],!0,kt),Ke.push(Be)):jr&&Be.type==="text"&&jr.type==="text"?(jr.raw+=Be.raw,jr.text+=Be.text):Ke.push(Be);continue}if(Be=this.tokenizer.emStrong(be,St,Ar)){be=be.substring(Be.raw.length),Be.tokens=this.inlineTokens(Be.text,[],mt,kt),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,[],mt,kt),Ke.push(Be);continue}if(Be=this.tokenizer.autolink(be,gt)){be=be.substring(Be.raw.length),Ke.push(Be);continue}if(!mt&&(Be=this.tokenizer.url(be,gt))){be=be.substring(Be.raw.length),Ke.push(Be);continue}if(Be=this.tokenizer.inlineText(be,kt,st)){be=be.substring(Be.raw.length),Be.raw.slice(-1)!=="_"&&(Ar=Be.raw.slice(-1)),Jr=!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 on="Infinite loop on byte: "+be.charCodeAt(0);if(this.options.silent){console.error(on);break}else throw new Error(on)}}return Ke},e(At,null,[{key:"rules",get:function(){return{block:Xe,inline:Tt}}}]),At}(),Je=c.exports.defaults,Ue=q.cleanUrl,ge=q.escape,Se=function(){function At(wt){this.options=wt||Je}var Oe=At.prototype;return Oe.code=function(be,Ke,mt){var kt=(Ke||"").match(/\S*/)[0];if(this.options.highlight){var Be=this.options.highlight(be,kt);Be!=null&&Be!==be&&(mt=!0,be=Be)}return be=be.replace(/\n$/,"")+`
|
|
|
`,kt?'<pre><code class="'+this.options.langPrefix+ge(kt,!0)+'">'+(mt?be:ge(be,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(mt?be:ge(be,!0))+`</code></pre>
|
|
|
`},Oe.blockquote=function(be){return`<blockquote>
|
|
|
`+be+`</blockquote>
|
|
|
`},Oe.html=function(be){return be},Oe.heading=function(be,Ke,mt,kt){return this.options.headerIds?"<h"+Ke+' id="'+this.options.headerPrefix+kt.slug(mt)+'">'+be+"</h"+Ke+`>
|
|
|
`:"<h"+Ke+">"+be+"</h"+Ke+`>
|
|
|
`},Oe.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},Oe.list=function(be,Ke,mt){var kt=Ke?"ol":"ul",Be=Ke&&mt!==1?' start="'+mt+'"':"";return"<"+kt+Be+`>
|
|
|
`+be+"</"+kt+`>
|
|
|
`},Oe.listitem=function(be){return"<li>"+be+`</li>
|
|
|
`},Oe.checkbox=function(be){return"<input "+(be?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Oe.paragraph=function(be){return"<p>"+be+`</p>
|
|
|
`},Oe.table=function(be,Ke){return Ke&&(Ke="<tbody>"+Ke+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+be+`</thead>
|
|
|
`+Ke+`</table>
|
|
|
`},Oe.tablerow=function(be){return`<tr>
|
|
|
`+be+`</tr>
|
|
|
`},Oe.tablecell=function(be,Ke){var mt=Ke.header?"th":"td",kt=Ke.align?"<"+mt+' align="'+Ke.align+'">':"<"+mt+">";return kt+be+"</"+mt+`>
|
|
|
`},Oe.strong=function(be){return"<strong>"+be+"</strong>"},Oe.em=function(be){return"<em>"+be+"</em>"},Oe.codespan=function(be){return"<code>"+be+"</code>"},Oe.br=function(){return this.options.xhtml?"<br/>":"<br>"},Oe.del=function(be){return"<del>"+be+"</del>"},Oe.link=function(be,Ke,mt){if(be=Ue(this.options.sanitize,this.options.baseUrl,be),be===null)return mt;var kt='<a href="'+ge(be)+'"';return Ke&&(kt+=' title="'+Ke+'"'),kt+=">"+mt+"</a>",kt},Oe.image=function(be,Ke,mt){if(be=Ue(this.options.sanitize,this.options.baseUrl,be),be===null)return mt;var kt='<img src="'+be+'" alt="'+mt+'"';return Ke&&(kt+=' title="'+Ke+'"'),kt+=this.options.xhtml?"/>":">",kt},Oe.text=function(be){return be},At}(),Me=function(){function At(){}var Oe=At.prototype;return Oe.strong=function(be){return be},Oe.em=function(be){return be},Oe.codespan=function(be){return be},Oe.del=function(be){return be},Oe.html=function(be){return be},Oe.text=function(be){return be},Oe.link=function(be,Ke,mt){return""+mt},Oe.image=function(be,Ke,mt){return""+mt},Oe.br=function(){return""},At}(),$e=function(){function At(){this.seen={}}var Oe=At.prototype;return Oe.serialize=function(be){return be.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},Oe.getNextSafeSlug=function(be,Ke){var mt=be,kt=0;if(this.seen.hasOwnProperty(mt)){kt=this.seen[be];do kt++,mt=be+"-"+kt;while(this.seen.hasOwnProperty(mt))}return Ke||(this.seen[be]=kt,this.seen[mt]=0),mt},Oe.slug=function(be,Ke){Ke===void 0&&(Ke={});var mt=this.serialize(be);return this.getNextSafeSlug(mt,Ke.dryrun)},At}(),We=Se,nt=Me,lt=$e,Vt=c.exports.defaults,Ht=q.unescape,Ie=function(){function At(wt){this.options=wt||Vt,this.options.renderer=this.options.renderer||new We,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new nt,this.slugger=new lt}At.parse=function(be,Ke){var mt=new At(Ke);return mt.parse(be)},At.parseInline=function(be,Ke){var mt=new At(Ke);return mt.parseInline(be)};var Oe=At.prototype;return Oe.parse=function(be,Ke){Ke===void 0&&(Ke=!0);var mt="",kt,Be,kr,St,Vr,Jr,Ar,Fr,mr,jr,on,fn,or,Rt,_t,vt,Bt,Cr,gr=be.length;for(kt=0;kt<gr;kt++)switch(jr=be[kt],jr.type){case"space":continue;case"hr":{mt+=this.renderer.hr();continue}case"heading":{mt+=this.renderer.heading(this.parseInline(jr.tokens),jr.depth,Ht(this.parseInline(jr.tokens,this.textRenderer)),this.slugger);continue}case"code":{mt+=this.renderer.code(jr.text,jr.lang,jr.escaped);continue}case"table":{for(Fr="",Ar="",St=jr.header.length,Be=0;Be<St;Be++)Ar+=this.renderer.tablecell(this.parseInline(jr.tokens.header[Be]),{header:!0,align:jr.align[Be]});for(Fr+=this.renderer.tablerow(Ar),mr="",St=jr.cells.length,Be=0;Be<St;Be++){for(Jr=jr.tokens.cells[Be],Ar="",Vr=Jr.length,kr=0;kr<Vr;kr++)Ar+=this.renderer.tablecell(this.parseInline(Jr[kr]),{header:!1,align:jr.align[kr]});mr+=this.renderer.tablerow(Ar)}mt+=this.renderer.table(Fr,mr);continue}case"blockquote":{mr=this.parse(jr.tokens),mt+=this.renderer.blockquote(mr);continue}case"list":{for(on=jr.ordered,fn=jr.start,or=jr.loose,St=jr.items.length,mr="",Be=0;Be<St;Be++)_t=jr.items[Be],vt=_t.checked,Bt=_t.task,Rt="",_t.task&&(Cr=this.renderer.checkbox(vt),or?_t.tokens.length>0&&_t.tokens[0].type==="text"?(_t.tokens[0].text=Cr+" "+_t.tokens[0].text,_t.tokens[0].tokens&&_t.tokens[0].tokens.length>0&&_t.tokens[0].tokens[0].type==="text"&&(_t.tokens[0].tokens[0].text=Cr+" "+_t.tokens[0].tokens[0].text)):_t.tokens.unshift({type:"text",text:Cr}):Rt+=Cr),Rt+=this.parse(_t.tokens,or),mr+=this.renderer.listitem(Rt,Bt,vt);mt+=this.renderer.list(mr,on,fn);continue}case"html":{mt+=this.renderer.html(jr.text);continue}case"paragraph":{mt+=this.renderer.paragraph(this.parseInline(jr.tokens));continue}case"text":{for(mr=jr.tokens?this.parseInline(jr.tokens):jr.text;kt+1<gr&&be[kt+1].type==="text";)jr=be[++kt],mr+=`
|
|
|
`+(jr.tokens?this.parseInline(jr.tokens):jr.text);mt+=Ke?this.renderer.paragraph(mr):mr;continue}default:{var rn='Token with "'+jr.type+'" type was not found.';if(this.options.silent){console.error(rn);return}else throw new Error(rn)}}return mt},Oe.parseInline=function(be,Ke){Ke=Ke||this.renderer;var mt="",kt,Be,kr=be.length;for(kt=0;kt<kr;kt++)switch(Be=be[kt],Be.type){case"escape":{mt+=Ke.text(Be.text);break}case"html":{mt+=Ke.html(Be.text);break}case"link":{mt+=Ke.link(Be.href,Be.title,this.parseInline(Be.tokens,Ke));break}case"image":{mt+=Ke.image(Be.href,Be.title,Be.text);break}case"strong":{mt+=Ke.strong(this.parseInline(Be.tokens,Ke));break}case"em":{mt+=Ke.em(this.parseInline(Be.tokens,Ke));break}case"codespan":{mt+=Ke.codespan(Be.text);break}case"br":{mt+=Ke.br();break}case"del":{mt+=Ke.del(this.parseInline(Be.tokens,Ke));break}case"text":{mt+=Ke.text(Be.text);break}default:{var St='Token with "'+Be.type+'" type was not found.';if(this.options.silent){console.error(St);return}else throw new Error(St)}}return mt},At}(),qe=dt,Gt=Ie,Ot=Re,zt=Se,$t=Me,tr=$e,Wt=q.merge,Fe=q.checkSanitizeDeprecation,fe=q.escape,pe=c.exports.getDefaults,Pt=c.exports.changeDefaults,Ce=c.exports.defaults;function ft(At,Oe,wt){if(typeof At=="undefined"||At===null)throw new Error("marked(): input parameter is undefined or null");if(typeof At!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(At)+", string expected");if(typeof Oe=="function"&&(wt=Oe,Oe=null),Oe=Wt({},ft.defaults,Oe||{}),Fe(Oe),wt){var be=Oe.highlight,Ke;try{Ke=qe.lex(At,Oe)}catch(kr){return wt(kr)}var mt=function(St){var Vr;if(!St)try{Oe.walkTokens&&ft.walkTokens(Ke,Oe.walkTokens),Vr=Gt.parse(Ke,Oe)}catch(Jr){St=Jr}return Oe.highlight=be,St?wt(St):wt(null,Vr)};if(!be||be.length<3||(delete Oe.highlight,!Ke.length))return mt();var kt=0;ft.walkTokens(Ke,function(kr){kr.type==="code"&&(kt++,setTimeout(function(){be(kr.text,kr.lang,function(St,Vr){if(St)return mt(St);Vr!=null&&Vr!==kr.text&&(kr.text=Vr,kr.escaped=!0),kt--,kt===0&&mt()})},0))}),kt===0&&mt();return}try{var Be=qe.lex(At,Oe);return Oe.walkTokens&&ft.walkTokens(Be,Oe.walkTokens),Gt.parse(Be,Oe)}catch(kr){if(kr.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Oe.silent)return"<p>An error occurred:</p><pre>"+fe(kr.message+"",!0)+"</pre>";throw kr}}ft.options=ft.setOptions=function(At){return Wt(ft.defaults,At),Pt(ft.defaults),ft},ft.getDefaults=pe,ft.defaults=Ce,ft.use=function(At){var Oe=Wt({},At);if(At.renderer&&function(){var be=ft.defaults.renderer||new zt,Ke=function(Be){var kr=be[Be];be[Be]=function(){for(var St=arguments.length,Vr=new Array(St),Jr=0;Jr<St;Jr++)Vr[Jr]=arguments[Jr];var Ar=At.renderer[Be].apply(be,Vr);return Ar===!1&&(Ar=kr.apply(be,Vr)),Ar}};for(var mt in At.renderer)Ke(mt);Oe.renderer=be}(),At.tokenizer&&function(){var be=ft.defaults.tokenizer||new Ot,Ke=function(Be){var kr=be[Be];be[Be]=function(){for(var St=arguments.length,Vr=new Array(St),Jr=0;Jr<St;Jr++)Vr[Jr]=arguments[Jr];var Ar=At.tokenizer[Be].apply(be,Vr);return Ar===!1&&(Ar=kr.apply(be,Vr)),Ar}};for(var mt in At.tokenizer)Ke(mt);Oe.tokenizer=be}(),At.walkTokens){var wt=ft.defaults.walkTokens;Oe.walkTokens=function(be){At.walkTokens(be),wt&&wt(be)}}ft.setOptions(Oe)},ft.walkTokens=function(At,Oe){for(var wt=l(At),be;!(be=wt()).done;){var Ke=be.value;switch(Oe(Ke),Ke.type){case"table":{for(var mt=l(Ke.tokens.header),kt;!(kt=mt()).done;){var Be=kt.value;ft.walkTokens(Be,Oe)}for(var kr=l(Ke.tokens.cells),St;!(St=kr()).done;)for(var Vr=St.value,Jr=l(Vr),Ar;!(Ar=Jr()).done;){var Fr=Ar.value;ft.walkTokens(Fr,Oe)}break}case"list":{ft.walkTokens(Ke.items,Oe);break}default:Ke.tokens&&ft.walkTokens(Ke.tokens,Oe)}}},ft.parseInline=function(At,Oe){if(typeof At=="undefined"||At===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof At!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(At)+", string expected");Oe=Wt({},ft.defaults,Oe||{}),Fe(Oe);try{var wt=qe.lexInline(At,Oe);return Oe.walkTokens&&ft.walkTokens(wt,Oe.walkTokens),Gt.parseInline(wt,Oe)}catch(be){if(be.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Oe.silent)return"<p>An error occurred:</p><pre>"+fe(be.message+"",!0)+"</pre>";throw be}},ft.Parser=Gt,ft.parser=Gt.parse,ft.Renderer=zt,ft.TextRenderer=$t,ft.Lexer=qe,ft.lexer=qe.lex,ft.Tokenizer=Ot,ft.Slugger=tr,ft.parse=ft;var Ut=ft;return Ut})},11690:function(d){const v=/[&<>"']/,e=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"},c=Y=>l[Y];function f(Y,oe){if(oe){if(v.test(Y))return Y.replace(e,c)}else if(r.test(Y))return Y.replace(i,c);return Y}const s=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(Y){return Y.replace(s,(oe,ie)=>(ie=ie.toLowerCase(),ie==="colon"?":":ie.charAt(0)==="#"?ie.charAt(1)==="x"?String.fromCharCode(parseInt(ie.substring(2),16)):String.fromCharCode(+ie.substring(1)):""))}const u=/(^|[^\[])\^/g;function a(Y,oe){Y=Y.source||Y,oe=oe||"";const ie={replace:(ue,K)=>(K=K.source||K,K=K.replace(u,"$1"),Y=Y.replace(ue,K),ie),getRegex:()=>new RegExp(Y,oe)};return ie}const x=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(Y,oe,ie){if(Y){let ue;try{ue=decodeURIComponent(h(ie)).replace(x,"").toLowerCase()}catch(K){return null}if(ue.indexOf("javascript:")===0||ue.indexOf("vbscript:")===0||ue.indexOf("data:")===0)return null}oe&&!p.test(ie)&&(ie=L(oe,ie));try{ie=encodeURI(ie).replace(/%25/g,"%")}catch(ue){return null}return ie}const _={},b=/^[^:]+:\/*[^/]*$/,S=/^([^:]+:)[\s\S]*$/,R=/^([^:]+:\/*[^/]*)[\s\S]*$/;function L(Y,oe){_[" "+Y]||(b.test(Y)?_[" "+Y]=Y+"/":_[" "+Y]=N(Y,"/",!0)),Y=_[" "+Y];const ie=Y.indexOf(":")===-1;return oe.substring(0,2)==="//"?ie?oe:Y.replace(S,"$1")+oe:oe.charAt(0)==="/"?ie?oe:Y.replace(R,"$1")+oe:Y+oe}const T={exec:function(){}};function D(Y){let oe=1,ie,ue;for(;oe<arguments.length;oe++){ie=arguments[oe];for(ue in ie)Object.prototype.hasOwnProperty.call(ie,ue)&&(Y[ue]=ie[ue])}return Y}function M(Y,oe){const ie=Y.replace(/\|/g,(V,G,te)=>{let q=!1,J=G;for(;--J>=0&&te[J]==="\\";)q=!q;return q?"|":" |"}),ue=ie.split(/ \|/);let K=0;if(ue.length>oe)ue.splice(oe);else for(;ue.length<oe;)ue.push("");for(;K<ue.length;K++)ue[K]=ue[K].trim().replace(/\\\|/g,"|");return ue}function N(Y,oe,ie){const ue=Y.length;if(ue===0)return"";let K=0;for(;K<ue;){const V=Y.charAt(ue-K-1);if(V===oe&&!ie)K++;else if(V!==oe&&ie)K++;else break}return Y.substr(0,ue-K)}function j(Y,oe){if(Y.indexOf(oe[1])===-1)return-1;const ie=Y.length;let ue=0,K=0;for(;K<ie;K++)if(Y[K]==="\\")K++;else if(Y[K]===oe[0])ue++;else if(Y[K]===oe[1]&&(ue--,ue<0))return K;return-1}function Q(Y){Y&&Y.sanitize&&!Y.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 X(Y,oe){if(oe<1)return"";let ie="";for(;oe>1;)oe&1&&(ie+=Y),oe>>=1,Y+=Y;return ie+Y}d.exports={escape:f,unescape:h,edit:a,cleanUrl:y,resolveUrl:L,noopTest:T,merge:D,splitCells:M,rtrim:N,findClosingBracket:j,checkSanitizeDeprecation:Q,repeatString:X}},93735:function(d,v,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,T=f._ii,b=0;b<u.length;b+=16){var D=x,M=p,N=y,j=_;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=T(x,p,y,_,u[b+0],6,-198630844),_=T(_,x,p,y,u[b+7],10,1126891415),y=T(y,_,x,p,u[b+14],15,-1416354905),p=T(p,y,_,x,u[b+5],21,-57434055),x=T(x,p,y,_,u[b+12],6,1700485571),_=T(_,x,p,y,u[b+3],10,-1894986606),y=T(y,_,x,p,u[b+10],15,-1051523),p=T(p,y,_,x,u[b+1],21,-2054922799),x=T(x,p,y,_,u[b+8],6,1873313359),_=T(_,x,p,y,u[b+15],10,-30611744),y=T(y,_,x,p,u[b+6],15,-1560198380),p=T(p,y,_,x,u[b+13],21,1309151649),x=T(x,p,y,_,u[b+4],6,-145523070),_=T(_,x,p,y,u[b+11],10,-1120210379),y=T(y,_,x,p,u[b+2],15,718787259),p=T(p,y,_,x,u[b+9],21,-343485551),x=x+D>>>0,p=p+M>>>0,y=y+N>>>0,_=_+j>>>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=v;function v(e,r){if(!e)throw new Error(r||"Assertion failed")}v.equal=function(r,i,l){if(r!=i)throw new Error(l||"Assertion failed: "+r+" != "+i)}},75918:function(d,v,e){"use strict";e.d(v,{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(M){try{D(_.next(M))}catch(N){R(N)}}function T(M){try{D(_.throw(M))}catch(N){R(N)}}function D(M){M.done?S(M.value):b(M.value).then(L,T)}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,v,e){"use strict";e.d(v,{ok:function(){return r}});function r(i,l){if(!i)throw new Error(l?`Assertion failed (${l})`:"Assertion Failed")}},52615:function(d,v,e){"use strict";e.d(v,{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 T=["codicon","codicon-"+R];return L&&T.push("codicon-modifier-"+L.substr(1)),T}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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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(te){return(q,J=null,le)=>{let z=!1,F;return F=te(se=>{if(!z)return F?F.dispose():z=!0,q.call(J,se)},null,le),z&&F.dispose(),F}}b.once=S;function R(te,q){return j((J,le=null,z)=>te(F=>J.call(le,q(F)),null,z))}b.map=R;function L(te,q){return j((J,le=null,z)=>te(F=>{q(F),J.call(le,F)},null,z))}b.forEach=L;function T(te,q){return j((J,le=null,z)=>te(F=>q(F)&&J.call(le,F),null,z))}b.filter=T;function D(te){return te}b.signal=D;function M(...te){return(q,J=null,le)=>(0,i.F8)(...te.map(z=>z(F=>q.call(J,F),null,le)))}b.any=M;function N(te,q,J){let le=J;return R(te,z=>(le=q(le,z),le))}b.reduce=N;function j(te){let q;const J=new a({onFirstListenerAdd(){q=te(J.fire,J)},onLastListenerRemove(){q.dispose()}});return J.event}function Q(te,q,J=100,le=!1,z){let F,se,_e,Pe=0;const Re=new a({leakWarningThreshold:z,onFirstListenerAdd(){F=te(He=>{Pe++,se=q(se,He),le&&!_e&&(Re.fire(se),se=void 0),clearTimeout(_e),_e=setTimeout(()=>{const je=se;se=void 0,_e=void 0,(!le||Pe>1)&&Re.fire(je),Pe=0},J)})},onLastListenerRemove(){F.dispose()}});return Re.event}b.debounce=Q;function X(te,q=(J,le)=>J===le){let J=!0,le;return T(te,z=>{const F=J||!q(z,le);return J=!1,le=z,F})}b.latch=X;function Y(te,q){return[b.filter(te,q),b.filter(te,J=>!q(J))]}b.split=Y;function oe(te,q=!1,J=[]){let le=J.slice(),z=te(_e=>{le?le.push(_e):se.fire(_e)});const F=()=>{le&&le.forEach(_e=>se.fire(_e)),le=null},se=new a({onFirstListenerAdd(){z||(z=te(_e=>se.fire(_e)))},onFirstListenerDidAdd(){le&&(q?setTimeout(F):F())},onLastListenerRemove(){z&&z.dispose(),z=null}});return se.event}b.buffer=oe;class ie{constructor(q){this.event=q}map(q){return new ie(R(this.event,q))}forEach(q){return new ie(L(this.event,q))}filter(q){return new ie(T(this.event,q))}reduce(q,J){return new ie(N(this.event,q,J))}latch(){return new ie(X(this.event))}debounce(q,J=100,le=!1,z){return new ie(Q(this.event,q,J,le,z))}on(q,J,le){return this.event(q,J,le)}once(q,J,le){return S(this.event)(q,J,le)}}function ue(te){return new ie(te)}b.chain=ue;function K(te,q,J=le=>le){const le=(..._e)=>se.fire(J(..._e)),z=()=>te.on(q,le),F=()=>te.removeListener(q,le),se=new a({onFirstListenerAdd:z,onLastListenerRemove:F});return se.event}b.fromNodeEventEmitter=K;function V(te,q,J=le=>le){const le=(..._e)=>se.fire(J(..._e)),z=()=>te.addEventListener(q,le),F=()=>te.removeEventListener(q,le),se=new a({onFirstListenerAdd:z,onLastListenerRemove:F});return se.event}b.fromDOMEventEmitter=V;function G(te){return new Promise(q=>S(te)(q))}b.toPromise=G})(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(`
|
|
|
`),T=this._stacks.get(L)||0;if(this._stacks.set(L,T+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=R*.5;let D,M=0;for(const[N,j]of this._stacks)(!D||M<j)&&(D=N,M=j);console.warn(`[${this.name}] potential listener LEAK detected, having ${S} listeners already. MOST frequent listener (${M}):`),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 T;this._listeners||(this._listeners=new l.S);const D=this._listeners.isEmpty();D&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const M=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 N=(T=this._leakageMon)===null||T===void 0?void 0:T.check(this._listeners.size),j=(0,i.OF)(()=>{N&&N(),this._disposed||(M(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return L instanceof i.SL?L.add(j):Array.isArray(L)&&L.push(j),j}),this._event}fire(S){var R,L;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new l.S);for(let T of this._listeners)this._deliveryQueue.push([T,S]);for((R=this._perfMon)===null||R===void 0||R.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[T,D]=this._deliveryQueue.shift();try{typeof T=="function"?T.call(void 0,D):T[0].call(T[1],D)}catch(M){(0,r.dL)(M)}}(L=this._perfMon)===null||L===void 0||L.stop()}}dispose(){var S,R,L,T,D;this._disposed||(this._disposed=!0,(S=this._listeners)===null||S===void 0||S.clear(),(R=this._deliveryQueue)===null||R===void 0||R.clear(),(T=(L=this._options)===null||L===void 0?void 0:L.onLastListenerRemove)===null||T===void 0||T.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,T)=>S(D=>{const M=this.buffers[this.buffers.length-1];M?M.push(()=>R.call(L,D)):R.call(L,D)},void 0,T)}bufferEvents(S){const R=[];this.buffers.push(R);const L=S();return this.buffers.pop(),R.forEach(T=>T()),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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{$:function(){return r}});var r;(function(i){function l(M){return M&&typeof M=="object"&&typeof M[Symbol.iterator]=="function"}i.is=l;const c=Object.freeze([]);function f(){return c}i.empty=f;function*s(M){yield M}i.single=s;function h(M){return M||c}i.from=h;function u(M){return!M||M[Symbol.iterator]().next().done===!0}i.isEmpty=u;function a(M){return M[Symbol.iterator]().next().value}i.first=a;function x(M,N){for(const j of M)if(N(j))return!0;return!1}i.some=x;function p(M,N){for(const j of M)if(N(j))return j}i.find=p;function*y(M,N){for(const j of M)N(j)&&(yield j)}i.filter=y;function*_(M,N){let j=0;for(const Q of M)yield N(Q,j++)}i.map=_;function*b(...M){for(const N of M)for(const j of N)yield j}i.concat=b;function*S(M){for(const N of M)for(const j of N)yield j}i.concatNested=S;function R(M,N,j){let Q=j;for(const X of M)Q=N(Q,X);return Q}i.reduce=R;function*L(M,N,j=M.length){for(N<0&&(N+=M.length),j<0?j+=M.length:j>M.length&&(j=M.length);N<j;N++)yield M[N]}i.slice=L;function T(M,N=Number.POSITIVE_INFINITY){const j=[];if(N===0)return[j,M];const Q=M[Symbol.iterator]();for(let X=0;X<N;X++){const Y=Q.next();if(Y.done)return[j,i.empty()];j.push(Y.value)}return[j,{[Symbol.iterator](){return Q}}]}i.consume=T;function D(M,N,j=(Q,X)=>Q===X){const Q=M[Symbol.iterator](),X=N[Symbol.iterator]();for(;;){const Y=Q.next(),oe=X.next();if(Y.done!==oe.done)return!1;if(Y.done)return!0;if(!j(Y.value,oe.value))return!1}}i.equals=D})(r||(r={}))},69323:function(d,v,e){"use strict";e.d(v,{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 T},dk:function(){return x}});var r=e(17845),i=e(88226);const l=!1;let c=null;function f(M){c=M}if(l){const M="__is_disposable_tracked__";f(new class{trackDisposable(N){const j=new Error("Potentially leaked disposable").stack;setTimeout(()=>{N[M]||console.log(j)},3e3)}setParent(N,j){if(N&&N!==L.None)try{N[M]=!0}catch(Q){}}markAsDisposed(N){if(N&&N!==L.None)try{N[M]=!0}catch(j){}}markAsSingleton(N){}})}function s(M){return c==null||c.trackDisposable(M),M}function h(M){c==null||c.markAsDisposed(M)}function u(M,N){c==null||c.setParent(M,N)}function a(M,N){if(c)for(const j of M)c.setParent(j,N)}function x(M){return c==null||c.markAsSingleton(M),M}class p extends Error{constructor(N){super(`Encountered errors while disposing of store. Errors: [${N.join(", ")}]`),this.errors=N}}function y(M){return typeof M.dispose=="function"&&M.dispose.length===0}function _(M){if(i.$.is(M)){let N=[];for(const j of M)if(j)try{j.dispose()}catch(Q){N.push(Q)}if(N.length===1)throw N[0];if(N.length>1)throw new p(N);return Array.isArray(M)?[]:M}else if(M)return M.dispose(),M}function b(...M){const N=S(()=>_(M));return a(M,N),N}function S(M){const N=s({dispose:(0,r.I)(()=>{h(N),M()})});return N}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(N){if(!N)return N;if(N===this)throw new Error("Cannot register a disposable on itself!");return u(N,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(N),N}}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(N){if(N===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(N)}}L.None=Object.freeze({dispose(){}});class T{constructor(){this._isDisposed=!1,s(this)}get value(){return this._isDisposed?void 0:this._value}set value(N){var j;this._isDisposed||N===this._value||((j=this._value)===null||j===void 0||j.dispose(),N&&u(N,this),this._value=N)}clear(){this.value=void 0}dispose(){var N;this._isDisposed=!0,h(this),(N=this._value)===null||N===void 0||N.dispose(),this._value=void 0}clearAndLeak(){const N=this._value;return this._value=void 0,N&&u(N,null),N}}class D{constructor(N){this.object=N}dispose(){}}},34502:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{$L:function(){return Q},ED:function(){return D},IJ:function(){return N},OS:function(){return ie},WE:function(){return Y},dz:function(){return M},gn:function(){return X},li:function(){return S},r:function(){return V},tY:function(){return j},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 G=R.env.VSCODE_NLS_CONFIG;if(G)try{const te=JSON.parse(G),q=te.availableLanguages["*"];p=te.locale,y=q||l,_=te._translationsConfigFile}catch(te){}u=!0}else console.error("Unable to resolve platform.");let T=0;f?T=1:c?T=3:s&&(T=2);const D=c,M=f,N=s,j=u,Q=a,X=x,Y=b,oe=function(){if(S.setImmediate)return S.setImmediate.bind(S);if(typeof S.postMessage=="function"&&!S.importScripts){let q=[];S.addEventListener("message",le=>{if(le.data&&le.data.vscodeSetImmediateId)for(let z=0,F=q.length;z<F;z++){const se=q[z];if(se.id===le.data.vscodeSetImmediateId){q.splice(z,1),se.callback();return}}});let J=0;return le=>{const z=++J;q.push({id:z,callback:le}),S.postMessage({vscodeSetImmediateId:z},"*")}}if(typeof(R==null?void 0:R.nextTick)=="function")return R.nextTick.bind(R);const te=Promise.resolve();return q=>te.then(q)}(),ie=f||x?2:c?1:3;let ue=!0,K=!1;function V(){if(!K){K=!0;const G=new Uint8Array(2);G[0]=1,G[1]=2,ue=new Uint16Array(G.buffer)[0]===513}return ue}},95830:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{$i:function(){return Pe},C8:function(){return yt},GF:function(){return p},HO:function(){return J},IO:function(){return y},K7:function(){return Zt},Kw:function(){return Jt},LC:function(){return S},Mh:function(){return oe},P1:function(){return ie},PJ:function(){return qt},Qe:function(){return Re},R1:function(){return x},RP:function(){return se},S6:function(){return Xe},TT:function(){return D},Ut:function(){return z},V8:function(){return R},WU:function(){return l},YK:function(){return K},YU:function(){return c},ZG:function(){return ue},ZH:function(){return G},ab:function(){return He},c1:function(){return Dt},df:function(){return Q},ec:function(){return f},fi:function(){return Tt},fy:function(){return s},j3:function(){return h},j_:function(){return N},m5:function(){return r},mK:function(){return j},mr:function(){return _},oH:function(){return gt},oL:function(){return u},ok:function(){return Y},ow:function(){return L},qq:function(){return X},qu:function(){return T},rL:function(){return V},uS:function(){return Qt},un:function(){return a},uq:function(){return b},vH:function(){return q},xe:function(){return je},zY:function(){return M}});function r(ge){return!ge||typeof ge!="string"?!0:ge.trim().length===0}const i=/{(\d+)}/g;function l(ge,...Se){return Se.length===0?ge:ge.replace(i,function(Me,$e){const We=parseInt($e,10);return isNaN(We)||We<0||We>=Se.length?Me:Se[We]})}function c(ge){return ge.replace(/[<>&]/g,function(Se){switch(Se){case"<":return"<";case">":return">";case"&":return"&";default:return Se}})}function f(ge){return ge.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function s(ge,Se=" "){const Me=h(ge,Se);return u(Me,Se)}function h(ge,Se){if(!ge||!Se)return ge;const Me=Se.length;if(Me===0||ge.length===0)return ge;let $e=0;for(;ge.indexOf(Se,$e)===$e;)$e=$e+Me;return ge.substring($e)}function u(ge,Se){if(!ge||!Se)return ge;const Me=Se.length,$e=ge.length;if(Me===0||$e===0)return ge;let We=$e,nt=-1;for(;nt=ge.lastIndexOf(Se,We-1),!(nt===-1||nt+Me!==We);){if(nt===0)return"";We=nt}return ge.substring(0,We)}function a(ge){return ge.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function x(ge){return ge.replace(/\*/g,"")}function p(ge,Se,Me={}){if(!ge)throw new Error("Cannot create regex from empty string");Se||(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 Se=0,Me=ge.length;Se<Me;Se++){const $e=ge.charCodeAt(Se);if($e!==32&&$e!==9)return Se}return-1}function R(ge,Se=0,Me=ge.length){for(let $e=Se;$e<Me;$e++){const We=ge.charCodeAt($e);if(We!==32&&We!==9)return ge.substring(Se,$e)}return ge.substring(Se,Me)}function L(ge,Se=ge.length-1){for(let Me=Se;Me>=0;Me--){const $e=ge.charCodeAt(Me);if($e!==32&&$e!==9)return Me}return-1}function T(ge,Se){return ge<Se?-1:ge>Se?1:0}function D(ge,Se,Me=0,$e=ge.length,We=0,nt=Se.length){for(;Me<$e&&We<nt;Me++,We++){let Ht=ge.charCodeAt(Me),Ie=Se.charCodeAt(We);if(Ht<Ie)return-1;if(Ht>Ie)return 1}const lt=$e-Me,Vt=nt-We;return lt<Vt?-1:lt>Vt?1:0}function M(ge,Se){return N(ge,Se,0,ge.length,0,Se.length)}function N(ge,Se,Me=0,$e=ge.length,We=0,nt=Se.length){for(;Me<$e&&We<nt;Me++,We++){let Ht=ge.charCodeAt(Me),Ie=Se.charCodeAt(We);if(Ht===Ie)continue;if(Ht>=128||Ie>=128)return D(ge.toLowerCase(),Se.toLowerCase(),Me,$e,We,nt);j(Ht)&&(Ht-=32),j(Ie)&&(Ie-=32);const qe=Ht-Ie;if(qe!==0)return qe}const lt=$e-Me,Vt=nt-We;return lt<Vt?-1:lt>Vt?1:0}function j(ge){return ge>=97&&ge<=122}function Q(ge){return ge>=65&&ge<=90}function X(ge,Se){return ge.length===Se.length&&N(ge,Se)===0}function Y(ge,Se){const Me=Se.length;return Se.length>ge.length?!1:N(ge,Se,0,Me)===0}function oe(ge,Se){let Me,$e=Math.min(ge.length,Se.length);for(Me=0;Me<$e;Me++)if(ge.charCodeAt(Me)!==Se.charCodeAt(Me))return Me;return $e}function ie(ge,Se){let Me,$e=Math.min(ge.length,Se.length);const We=ge.length-1,nt=Se.length-1;for(Me=0;Me<$e;Me++)if(ge.charCodeAt(We-Me)!==Se.charCodeAt(nt-Me))return Me;return $e}function ue(ge){return 55296<=ge&&ge<=56319}function K(ge){return 56320<=ge&&ge<=57343}function V(ge,Se){return(ge-55296<<10)+(Se-56320)+65536}function G(ge,Se,Me){const $e=ge.charCodeAt(Me);if(ue($e)&&Me+1<Se){const We=ge.charCodeAt(Me+1);if(K(We))return V($e,We)}return $e}function te(ge,Se){const Me=ge.charCodeAt(Se-1);if(K(Me)&&Se>1){const $e=ge.charCodeAt(Se-2);if(ue($e))return V($e,Me)}return Me}function q(ge,Se){const Me=jt.getInstance(),$e=Se,We=ge.length,nt=G(ge,We,Se);Se+=nt>=65536?2:1;let lt=Me.getGraphemeBreakType(nt);for(;Se<We;){const Vt=G(ge,We,Se),Ht=Me.getGraphemeBreakType(Vt);if(Tt(lt,Ht))break;Se+=Vt>=65536?2:1,lt=Ht}return Se-$e}function J(ge,Se){const Me=jt.getInstance(),$e=Se,We=te(ge,Se);Se-=We>=65536?2:1;let nt=Me.getGraphemeBreakType(We);for(;Se>0;){const lt=te(ge,Se),Vt=Me.getGraphemeBreakType(lt);if(Tt(Vt,nt))break;Se-=lt>=65536?2:1,nt=Vt}return $e-Se}const le=/(?:[\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 z(ge){return le.test(ge)}const F=/(?:[\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 se(ge){return F.test(ge)}const _e=/^[\t\n\r\x20-\x7E]*$/;function Pe(ge){return _e.test(ge)}const Re=/[\u2028\u2029]/;function He(ge){return Re.test(ge)}function je(ge){for(let Se=0,Me=ge.length;Se<Me;Se++)if(Zt(ge.charCodeAt(Se)))return!0;return!1}function Zt(ge){return ge=+ge,ge>=11904&&ge<=55215||ge>=63744&&ge<=64255||ge>=65281&&ge<=65374}function yt(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 Dt="\uFEFF";function Qt(ge){return!!(ge&&ge.length>0&&ge.charCodeAt(0)===65279)}function Jt(ge,Se=!1){return ge?(Se&&(ge=ge.replace(/\\./g,"")),ge.toLowerCase()!==ge):!1}function qt(ge){return ge=ge%52,ge<26?String.fromCharCode(97+ge):String.fromCharCode(65+ge-26)}function Xe(ge){return jt.getInstance().getGraphemeBreakType(ge)}function Tt(ge,Se){return ge===0?Se!==5&&Se!==7:ge===2&&Se===3?!1:ge===4||ge===2||ge===3||Se===4||Se===2||Se===3?!0:!(ge===8&&(Se===8||Se===9||Se===11||Se===12)||(ge===11||ge===9)&&(Se===9||Se===10)||(ge===12||ge===10)&&Se===10||Se===5||Se===13||Se===7||ge===1||ge===13&&Se===14||ge===6&&Se===6)}class jt{constructor(){this._data=st()}static getInstance(){return jt._INSTANCE||(jt._INSTANCE=new jt),jt._INSTANCE}getGraphemeBreakType(Se){if(Se<32)return Se===10?3:Se===13?2:4;if(Se<127)return 0;const Me=this._data,$e=Me.length/3;let We=1;for(;We<=$e;)if(Se<Me[3*We])We=2*We;else if(Se>Me[3*We+1])We=2*We+1;else return Me[3*We+2];return 0}}jt._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 gt(ge,Se){if(ge===0)return 0;const Me=dt(ge,Se);if(Me!==void 0)return Me;const $e=te(Se,ge);return ge-=Je($e),ge}function dt(ge,Se){let Me=te(Se,ge);for(ge-=Je(Me);Ue(Me)||Me===65039||Me===8419;){if(ge===0)return;Me=te(Se,ge),ge-=Je(Me)}if(yt(Me)){if(ge>=0){const $e=te(Se,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,v,e){"use strict";e.d(v,{$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 T}});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,M){if(!D)throw new Error(M?`Unexpected type, expected '${M}'`:"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,M){const N=Math.min(D.length,M.length);for(let j=0;j<N;j++)_(D[j],M[j])}function _(D,M){if(i(M)){if(typeof D!==M)throw new Error(`argument does not match constraint: typeof ${M}`)}else if(p(M)){try{if(D instanceof M)return}catch(N){}if(!u(D)&&D.constructor===M||M.length===1&&M.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 M=[],N=Object.getPrototypeOf(D);for(;Object.prototype!==N;)M=M.concat(Object.getOwnPropertyNames(N)),N=Object.getPrototypeOf(N);return M}function S(D){const M=[];for(const N of b(D))typeof D[N]=="function"&&M.push(N);return M}function R(D,M){const N=Q=>function(){const X=Array.prototype.slice.call(arguments,0);return M(Q,X)};let j={};for(const Q of D)j[Q]=N(Q);return j}function L(D){return D===null?void 0:D}function T(D,M="Unreachable"){throw new Error(M)}},13268:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{BH:function(){return R},NZ:function(){return L},U8:function(){return T},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,M,N,j){var Q=arguments.length,X=Q<3?M:j===null?j=Object.getOwnPropertyDescriptor(M,N):j,Y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")X=Reflect.decorate(D,M,N,j);else for(var oe=D.length-1;oe>=0;oe--)(Y=D[oe])&&(X=(Q<3?Y(X):Q>3?Y(M,N,X):Y(M,N))||X);return Q>3&&X&&Object.defineProperty(M,N,X),X},y=function(D,M){return function(N,j){M(N,j,D)}};function _(D){return D.command!==void 0}class b{constructor(M){this.id=b._idPool++,this._debugName=M}}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 M of D)this._commands.set(M.id,M);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,f.OF)(()=>{let M=!1;for(const N of D)M=this._commands.delete(N.id)||M;M&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(D){return this._commands.get(D)}getCommands(){const D=new Map;return this._commands.forEach((M,N)=>D.set(N,M)),D}appendMenuItem(D,M){return this.appendMenuItems(c.$.single({id:D,item:M}))}appendMenuItems(D){const M=new Set,N=new s.S;for(const{id:j,item:Q}of D){let X=this._menuItems.get(j);X||(X=new s.S,this._menuItems.set(j,X)),N.push(X.push(Q)),M.add(j)}return this._onDidChangeMenu.fire(M),(0,f.OF)(()=>{if(N.size>0){for(let j of N)j();this._onDidChangeMenu.fire(M),N.clear()}})}getMenuItems(D){let M;return this._menuItems.has(D)?M=[...this._menuItems.get(D)]:M=[],D===b.CommandPalette&&this._appendImplicitItems(M),M}_appendImplicitItems(D){const M=new Set;for(const N of D)_(N)&&(M.add(N.command.id),N.alt&&M.add(N.alt.id));this._commands.forEach((N,j)=>{M.has(j)||D.push({command:N})})}};class L extends r.wY{constructor(M,N,j,Q){super(`submenuitem.${M.submenu.id}`,typeof M.title=="string"?M.title:M.title.value,[],"submenu"),this.item=M,this._menuService=N,this._contextKeyService=j,this._options=Q}get actions(){const M=[],N=this._menuService.createMenu(this.item.submenu,this._contextKeyService),j=N.getActions(this._options);N.dispose();for(const[,Q]of j)Q.length>0&&(M.push(...Q),M.push(new r.Z0));return M.length&&M.pop(),M}}let T=class Ld{constructor(M,N,j,Q,X){var Y,oe;if(this._commandService=X,this.id=M.id,this.label=j!=null&&j.renderShortTitle&&M.shortTitle?typeof M.shortTitle=="string"?M.shortTitle:M.shortTitle.value:typeof M.title=="string"?M.title:M.title.value,this.tooltip=(oe=typeof M.tooltip=="string"?M.tooltip:(Y=M.tooltip)===null||Y===void 0?void 0:Y.value)!==null&&oe!==void 0?oe:"",this.enabled=!M.precondition||Q.contextMatchesRules(M.precondition),this.checked=void 0,M.toggled){const ie=M.toggled.condition?M.toggled:{condition:M.toggled};this.checked=Q.contextMatchesRules(ie.condition),this.checked&&ie.tooltip&&(this.tooltip=typeof ie.tooltip=="string"?ie.tooltip:ie.tooltip.value),ie.title&&(this.label=typeof ie.title=="string"?ie.title:ie.title.value)}this.item=M,this.alt=N?new Ld(N,void 0,j,Q,X):void 0,this._options=j,x.kS.isThemeIcon(M.icon)&&(this.class=i.dT.asClassName(M.icon))}dispose(){}run(...M){var N,j;let Q=[];return!((N=this._options)===null||N===void 0)&&N.arg&&(Q=[...Q,this._options.arg]),!((j=this._options)===null||j===void 0)&&j.shouldForwardArgs&&(Q=[...Q,...M]),this._commandService.executeCommand(this.id,...Q)}};T=p([y(3,u.i6),y(4,h.H)],T)},35884:function(d,v,e){"use strict";e.d(v,{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,...T){return(0,f.D8)(T,S),R(L,...T)}}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,v,e){"use strict";e.d(v,{Ao:function(){return h},Eq:function(){return V},Fb:function(){return u},K8:function(){return q},i6:function(){return K},uy:function(){return ue}});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(z){return y.create(z)}static equals(z,F){return _.create(z,F)}static regex(z,F){return Q.create(z,F)}static not(z){return L.create(z)}static and(...z){return oe.create(z,null)}static or(...z){return ie.create(z,null,!0)}static deserialize(z,F=!1){if(z)return this._deserializeOrExpression(z,F)}static _deserializeOrExpression(z,F){let se=z.split("||");return ie.create(se.map(_e=>this._deserializeAndExpression(_e,F)),null,!0)}static _deserializeAndExpression(z,F){let se=z.split("&&");return oe.create(se.map(_e=>this._deserializeOne(_e,F)),null)}static _deserializeOne(z,F){if(z=z.trim(),z.indexOf("!=")>=0){let se=z.split("!=");return R.create(se[0].trim(),this._deserializeValue(se[1],F))}if(z.indexOf("==")>=0){let se=z.split("==");return _.create(se[0].trim(),this._deserializeValue(se[1],F))}if(z.indexOf("=~")>=0){let se=z.split("=~");return Q.create(se[0].trim(),this._deserializeRegexValue(se[1],F))}if(z.indexOf(" in ")>=0){let se=z.split(" in ");return b.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(z)){const se=z.split(">=");return M.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(z)){const se=z.split(">");return D.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(z)){const se=z.split("<=");return j.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(z)){const se=z.split("<");return N.create(se[0].trim(),se[1].trim())}return/^\!\s*/.test(z)?L.create(z.substr(1).trim()):y.create(z)}static _deserializeValue(z,F){if(z=z.trim(),z==="true")return!0;if(z==="false")return!1;let se=/^'([^']*)'$/.exec(z);return se?se[1].trim():z}static _deserializeRegexValue(z,F){if((0,i.m5)(z)){if(F)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let se=z.indexOf("/"),_e=z.lastIndexOf("/");if(se===_e||se<0){if(F)throw new Error(`bad regexp-value '${z}', missing /-enclosure`);return console.warn(`bad regexp-value '${z}', missing /-enclosure`),null}let Pe=z.slice(se+1,_e),Re=z[_e+1]==="i"?"i":"";try{return new RegExp(Pe,Re)}catch(He){if(F)throw new Error(`bad regexp-value '${z}', parse error: ${He}`);return console.warn(`bad regexp-value '${z}', parse error: ${He}`),null}}}function u(le,z){const F=le?le.substituteConstants():void 0,se=z?z.substituteConstants():void 0;return!F&&!se?!0:!F||!se?!1:F.equals(se)}function a(le,z){return le.cmp(z)}class x{constructor(){this.type=0}cmp(z){return this.type-z.type}equals(z){return z.type===this.type}substituteConstants(){return this}evaluate(z){return!1}serialize(){return"false"}keys(){return[]}negate(){return p.INSTANCE}}x.INSTANCE=new x;class p{constructor(){this.type=1}cmp(z){return this.type-z.type}equals(z){return z.type===this.type}substituteConstants(){return this}evaluate(z){return!0}serialize(){return"true"}keys(){return[]}negate(){return x.INSTANCE}}p.INSTANCE=new p;class y{constructor(z,F){this.key=z,this.negated=F,this.type=2}static create(z,F=null){const se=f.get(z);return typeof se=="boolean"?se?p.INSTANCE:x.INSTANCE:new y(z,F)}cmp(z){return z.type!==this.type?this.type-z.type:G(this.key,z.key)}equals(z){return z.type===this.type?this.key===z.key:!1}substituteConstants(){const z=f.get(this.key);return typeof z=="boolean"?z?p.INSTANCE:x.INSTANCE:this}evaluate(z){return!!z.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(z,F,se){this.key=z,this.value=F,this.negated=se,this.type=4}static create(z,F,se=null){if(typeof F=="boolean")return F?y.create(z,se):L.create(z,se);const _e=f.get(z);return typeof _e=="boolean"?F===(_e?"true":"false")?p.INSTANCE:x.INSTANCE:new _(z,F,se)}cmp(z){return z.type!==this.type?this.type-z.type:te(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){const z=f.get(this.key);if(typeof z=="boolean"){const F=z?"true":"false";return this.value===F?p.INSTANCE:x.INSTANCE}return this}evaluate(z){return z.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(z,F){this.key=z,this.valueKey=F,this.type=10,this.negated=null}static create(z,F){return new b(z,F)}cmp(z){return z.type!==this.type?this.type-z.type:te(this.key,this.valueKey,z.key,z.valueKey)}equals(z){return z.type===this.type?this.key===z.key&&this.valueKey===z.valueKey:!1}substituteConstants(){return this}evaluate(z){const F=z.getValue(this.valueKey),se=z.getValue(this.key);return Array.isArray(F)?F.indexOf(se)>=0:typeof se=="string"&&typeof F=="object"&&F!==null?s.call(F,se):!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(z){this._actual=z,this.type=11}static create(z){return new S(z)}cmp(z){return z.type!==this.type?this.type-z.type:this._actual.cmp(z._actual)}equals(z){return z.type===this.type?this._actual.equals(z._actual):!1}substituteConstants(){return this}evaluate(z){return!this._actual.evaluate(z)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class R{constructor(z,F,se){this.key=z,this.value=F,this.negated=se,this.type=5}static create(z,F,se=null){if(typeof F=="boolean")return F?L.create(z,se):y.create(z,se);const _e=f.get(z);return typeof _e=="boolean"?F===(_e?"true":"false")?x.INSTANCE:p.INSTANCE:new R(z,F,se)}cmp(z){return z.type!==this.type?this.type-z.type:te(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){const z=f.get(this.key);if(typeof z=="boolean"){const F=z?"true":"false";return this.value===F?x.INSTANCE:p.INSTANCE}return this}evaluate(z){return z.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(z,F){this.key=z,this.negated=F,this.type=3}static create(z,F=null){const se=f.get(z);return typeof se=="boolean"?se?x.INSTANCE:p.INSTANCE:new L(z,F)}cmp(z){return z.type!==this.type?this.type-z.type:G(this.key,z.key)}equals(z){return z.type===this.type?this.key===z.key:!1}substituteConstants(){const z=f.get(this.key);return typeof z=="boolean"?z?x.INSTANCE:p.INSTANCE:this}evaluate(z){return!z.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 T(le,z){if(typeof le=="string"){const F=parseFloat(le);isNaN(F)||(le=F)}return typeof le=="string"||typeof le=="number"?z(le):x.INSTANCE}class D{constructor(z,F,se){this.key=z,this.value=F,this.negated=se,this.type=12}static create(z,F,se=null){return T(F,_e=>new D(z,_e,se))}cmp(z){return z.type!==this.type?this.type-z.type:te(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=j.create(this.key,this.value,this)),this.negated}}class M{constructor(z,F,se){this.key=z,this.value=F,this.negated=se,this.type=13}static create(z,F,se=null){return T(F,_e=>new M(z,_e,se))}cmp(z){return z.type!==this.type?this.type-z.type:te(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=N.create(this.key,this.value,this)),this.negated}}class N{constructor(z,F,se){this.key=z,this.value=F,this.negated=se,this.type=14}static create(z,F,se=null){return T(F,_e=>new N(z,_e,se))}cmp(z){return z.type!==this.type?this.type-z.type:te(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=M.create(this.key,this.value,this)),this.negated}}class j{constructor(z,F,se){this.key=z,this.value=F,this.negated=se,this.type=15}static create(z,F,se=null){return T(F,_e=>new j(z,_e,se))}cmp(z){return z.type!==this.type?this.type-z.type:te(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.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 Q{constructor(z,F){this.key=z,this.regexp=F,this.type=7,this.negated=null}static create(z,F){return new Q(z,F)}cmp(z){if(z.type!==this.type)return this.type-z.type;if(this.key<z.key)return-1;if(this.key>z.key)return 1;const F=this.regexp?this.regexp.source:"",se=z.regexp?z.regexp.source:"";return F<se?-1:F>se?1:0}equals(z){if(z.type===this.type){const F=this.regexp?this.regexp.source:"",se=z.regexp?z.regexp.source:"";return this.key===z.key&&F===se}return!1}substituteConstants(){return this}evaluate(z){let F=z.getValue(this.key);return this.regexp?this.regexp.test(F):!1}serialize(){const z=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${z}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=X.create(this)),this.negated}}class X{constructor(z){this._actual=z,this.type=8}static create(z){return new X(z)}cmp(z){return z.type!==this.type?this.type-z.type:this._actual.cmp(z._actual)}equals(z){return z.type===this.type?this._actual.equals(z._actual):!1}substituteConstants(){return this}evaluate(z){return!this._actual.evaluate(z)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function Y(le){let z=null;for(let F=0,se=le.length;F<se;F++){const _e=le[F].substituteConstants();if(le[F]!==_e&&z===null){z=[];for(let Pe=0;Pe<F;Pe++)z[Pe]=le[Pe]}z!==null&&(z[F]=_e)}return z===null?le:z}class oe{constructor(z,F){this.expr=z,this.negated=F,this.type=6}static create(z,F){return oe._normalizeArr(z,F)}cmp(z){if(z.type!==this.type)return this.type-z.type;if(this.expr.length<z.expr.length)return-1;if(this.expr.length>z.expr.length)return 1;for(let F=0,se=this.expr.length;F<se;F++){const _e=a(this.expr[F],z.expr[F]);if(_e!==0)return _e}return 0}equals(z){if(z.type===this.type){if(this.expr.length!==z.expr.length)return!1;for(let F=0,se=this.expr.length;F<se;F++)if(!this.expr[F].equals(z.expr[F]))return!1;return!0}return!1}substituteConstants(){const z=Y(this.expr);return z===this.expr?this:oe.create(z,this.negated)}evaluate(z){for(let F=0,se=this.expr.length;F<se;F++)if(!this.expr[F].evaluate(z))return!1;return!0}static _normalizeArr(z,F){const se=[];let _e=!1;for(const Pe of z)if(Pe){if(Pe.type===1){_e=!0;continue}if(Pe.type===0)return x.INSTANCE;if(Pe.type===6){se.push(...Pe.expr);continue}se.push(Pe)}if(se.length===0&&_e)return p.INSTANCE;if(se.length!==0){if(se.length===1)return se[0];se.sort(a);for(let Pe=1;Pe<se.length;Pe++)se[Pe-1].equals(se[Pe])&&(se.splice(Pe,1),Pe--);if(se.length===1)return se[0];for(;se.length>1;){const Pe=se[se.length-1];if(Pe.type!==9)break;se.pop();const Re=se.pop(),He=se.length===0,je=ie.create(Pe.expr.map(Zt=>oe.create([Zt,Re],null)),null,He);je&&(se.push(je),se.sort(a))}return se.length===1?se[0]:new oe(se,F)}}serialize(){return this.expr.map(z=>z.serialize()).join(" && ")}keys(){const z=[];for(let F of this.expr)z.push(...F.keys());return z}negate(){if(!this.negated){const z=[];for(let F of this.expr)z.push(F.negate());this.negated=ie.create(z,this,!0)}return this.negated}}class ie{constructor(z,F){this.expr=z,this.negated=F,this.type=9}static create(z,F,se){return ie._normalizeArr(z,F,se)}cmp(z){if(z.type!==this.type)return this.type-z.type;if(this.expr.length<z.expr.length)return-1;if(this.expr.length>z.expr.length)return 1;for(let F=0,se=this.expr.length;F<se;F++){const _e=a(this.expr[F],z.expr[F]);if(_e!==0)return _e}return 0}equals(z){if(z.type===this.type){if(this.expr.length!==z.expr.length)return!1;for(let F=0,se=this.expr.length;F<se;F++)if(!this.expr[F].equals(z.expr[F]))return!1;return!0}return!1}substituteConstants(){const z=Y(this.expr);return z===this.expr?this:ie.create(z,this.negated,!1)}evaluate(z){for(let F=0,se=this.expr.length;F<se;F++)if(this.expr[F].evaluate(z))return!0;return!1}static _normalizeArr(z,F,se){let _e=[],Pe=!1;if(z){for(let Re=0,He=z.length;Re<He;Re++){const je=z[Re];if(je){if(je.type===0){Pe=!0;continue}if(je.type===1)return p.INSTANCE;if(je.type===9){_e=_e.concat(je.expr);continue}_e.push(je)}}if(_e.length===0&&Pe)return x.INSTANCE;_e.sort(a)}if(_e.length!==0){if(_e.length===1)return _e[0];for(let Re=1;Re<_e.length;Re++)_e[Re-1].equals(_e[Re])&&(_e.splice(Re,1),Re--);if(_e.length===1)return _e[0];if(se){for(let Re=0;Re<_e.length;Re++)for(let He=Re+1;He<_e.length;He++)q(_e[Re],_e[He])&&(_e.splice(He,1),He--);if(_e.length===1)return _e[0]}return new ie(_e,F)}}serialize(){return this.expr.map(z=>z.serialize()).join(" || ")}keys(){const z=[];for(let F of this.expr)z.push(...F.keys());return z}negate(){if(!this.negated){let z=[];for(let F of this.expr)z.push(F.negate());for(;z.length>1;){const F=z.shift(),se=z.shift(),_e=[];for(const Re of J(F))for(const He of J(se))_e.push(oe.create([Re,He],null));const Pe=z.length===0;z.unshift(ie.create(_e,null,Pe))}this.negated=z[0]}return this.negated}}class ue extends y{constructor(z,F,se){super(z,null),this._defaultValue=F,typeof se=="object"?ue._info.push(Object.assign(Object.assign({},se),{key:z})):se!==!0&&ue._info.push({key:z,description:se,type:F!=null?typeof F:void 0})}static all(){return ue._info.values()}bindTo(z){return z.createKey(this.key,this._defaultValue)}getValue(z){return z.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(z){return _.create(this.key,z)}}ue._info=[];const K=(0,l.yh)("contextKeyService"),V="setContext";function G(le,z){return le<z?-1:le>z?1:0}function te(le,z,F,se){return le<F?-1:le>F?1:z<se?-1:z>se?1:0}function q(le,z){if(z.type===6&&le.type!==9&&le.type!==6){for(const _e of z.expr)if(le.equals(_e))return!0}const F=le.negate(),se=J(F).concat(J(z));se.sort(a);for(let _e=0;_e<se.length;_e++){const Re=se[_e].negate();for(let He=_e+1;He<se.length;He++){const je=se[He];if(Re.equals(je))return!0}}return!1}function J(le){return le.type===9?le.expr:[le]}},16925:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{e:function(){return r}});var r;(function(i){i.DARK="dark",i.LIGHT="light",i.HIGH_CONTRAST="hc"})(r||(r={}))},49055:function(d,v,e){"use strict";e.d(v,{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 T(D){return D&&typeof D=="object"&&typeof D.id=="string"}L.isThemeColor=T})(u||(u={}));function a(L){return{id:L}}var x;(function(L){function T(X){return X&&typeof X=="object"&&typeof X.id=="string"&&(typeof X.color=="undefined"||u.isThemeColor(X.color))}L.isThemeIcon=T;const D=new RegExp(`^\\$\\((${r.dT.iconNameExpression}(?:${r.dT.iconModifierExpression})?)\\)$`);function M(X){const Y=D.exec(X);if(!Y)return;let[,oe]=Y;return{id:oe}}L.fromString=M;function N(X,Y){let oe=X.id;const ie=oe.lastIndexOf("~");return ie!==-1&&(oe=oe.substring(0,ie)),Y&&(oe=`${oe}~${Y}`),{id:oe}}L.modify=N;function j(X,Y){var oe,ie;return X.id===Y.id&&((oe=X.color)===null||oe===void 0?void 0:oe.id)===((ie=Y.color)===null||ie===void 0?void 0:ie.id)}L.isEqual=j;function Q(X,Y){return{id:X.id,color:Y?a(Y):void 0}}L.asThemeIcon=Q,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(T){return this.themingParticipants.push(T),this.onThemingParticipantAddedEmitter.fire(T),(0,l.OF)(()=>{const D=this.themingParticipants.indexOf(T);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(T){super(),this.themeService=T,this.theme=T.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(D=>this.onThemeChange(D)))}onThemeChange(T){this.theme=T,this.updateStyles()}updateStyles(){}}},84126:function(d){"use strict";var v=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(v){u=v(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 v=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)}}v.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)},v.title="browser",v.browser=!0,v.env={},v.argv=[],v.version="",v.versions={};function _(){}v.on=_,v.addListener=_,v.once=_,v.off=_,v.removeListener=_,v.removeAllListeners=_,v.emit=_,v.prependListener=_,v.prependOnceListener=_,v.listeners=function(b){return[]},v.binding=function(b){throw new Error("process.binding is not supported")},v.cwd=function(){return"/"},v.chdir=function(b){throw new Error("process.chdir is not supported")},v.umask=function(){return 0}},79442:function(d,v,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,v,e){if(0)var r,i;else d.exports=e(79442)()},97825:function(d){"use strict";var v="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";d.exports=v},86923:function(d,v,e){"use strict";e.d(v,{s:function(){return N},Z:function(){return ue}});var r=e(5016),i=e(52456),l=e(43403),c=e(59301),f=c.createContext({}),s=e(20049),h=e(92310),u=e.n(h),a=e(48519),x=e(80402),p=e(10228),y=e(26112);function _(K,V,G){var te=V;return!te&&G&&(te="".concat(K,"-").concat(G)),te}function b(K,V){var G=K["page".concat(V?"Y":"X","Offset")],te="scroll".concat(V?"Top":"Left");if(typeof G!="number"){var q=K.document;G=q.documentElement[te],typeof G!="number"&&(G=q.body[te])}return G}function S(K){var V=K.getBoundingClientRect(),G={left:V.left,top:V.top},te=K.ownerDocument,q=te.defaultView||te.parentWindow;return G.left+=b(q),G.top+=b(q,!0),G}var R=e(77900),L=e(8654),T=c.memo(function(K){var V=K.children;return V},function(K,V){var G=V.shouldUpdate;return!G}),D={width:0,height:0,overflow:"hidden",outline:"none"},M=c.forwardRef(function(K,V){var G=K.prefixCls,te=K.className,q=K.style,J=K.title,le=K.ariaId,z=K.footer,F=K.closable,se=K.closeIcon,_e=K.onClose,Pe=K.children,Re=K.bodyStyle,He=K.bodyProps,je=K.modalRender,Zt=K.onMouseDown,yt=K.onMouseUp,Dt=K.holderRef,Qt=K.visible,Jt=K.forceRender,qt=K.width,Xe=K.height,Tt=c.useContext(f),jt=Tt.panel,st=(0,L.x1)(Dt,jt),gt=(0,c.useRef)(),dt=(0,c.useRef)();c.useImperativeHandle(V,function(){return{focus:function(){var We;(We=gt.current)===null||We===void 0||We.focus()},changeActive:function(We){var nt=document,lt=nt.activeElement;We&<===dt.current?gt.current.focus():!We&<===gt.current&&dt.current.focus()}}});var Je={};qt!==void 0&&(Je.width=qt),Xe!==void 0&&(Je.height=Xe);var Ue;z&&(Ue=c.createElement("div",{className:"".concat(G,"-footer")},z));var ge;J&&(ge=c.createElement("div",{className:"".concat(G,"-header")},c.createElement("div",{className:"".concat(G,"-title"),id:le},J)));var Se;F&&(Se=c.createElement("button",{type:"button",onClick:_e,"aria-label":"Close",className:"".concat(G,"-close")},se||c.createElement("span",{className:"".concat(G,"-close-x")})));var Me=c.createElement("div",{className:"".concat(G,"-content")},Se,ge,c.createElement("div",(0,r.Z)({className:"".concat(G,"-body"),style:Re},He),Pe),Ue);return c.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":J?le:null,"aria-modal":"true",ref:st,style:(0,s.Z)((0,s.Z)({},q),Je),className:u()(G,te),onMouseDown:Zt,onMouseUp:yt},c.createElement("div",{tabIndex:0,ref:gt,style:D,"aria-hidden":"true"}),c.createElement(T,{shouldUpdate:Qt||Jt},je?je(Me):Me),c.createElement("div",{tabIndex:0,ref:dt,style:D,"aria-hidden":"true"}))}),N=M,j=c.forwardRef(function(K,V){var G=K.prefixCls,te=K.title,q=K.style,J=K.className,le=K.visible,z=K.forceRender,F=K.destroyOnClose,se=K.motionName,_e=K.ariaId,Pe=K.onVisibleChanged,Re=K.mousePosition,He=(0,c.useRef)(),je=c.useState(),Zt=(0,i.Z)(je,2),yt=Zt[0],Dt=Zt[1],Qt={};yt&&(Qt.transformOrigin=yt);function Jt(){var qt=S(He.current);Dt(Re?"".concat(Re.x-qt.left,"px ").concat(Re.y-qt.top,"px"):"")}return c.createElement(R.default,{visible:le,onVisibleChanged:Pe,onAppearPrepare:Jt,onEnterPrepare:Jt,forceRender:z,motionName:se,removeOnLeave:F,ref:He},function(qt,Xe){var Tt=qt.className,jt=qt.style;return c.createElement(N,(0,r.Z)({},K,{ref:V,title:te,ariaId:_e,prefixCls:G,holderRef:Xe,style:(0,s.Z)((0,s.Z)((0,s.Z)({},jt),q),Qt),className:u()(J,Tt)}))})});j.displayName="Content";var Q=j;function X(K){var V=K.prefixCls,G=K.style,te=K.visible,q=K.maskProps,J=K.motionName;return c.createElement(R.default,{key:"mask",visible:te,motionName:J,leavedClassName:"".concat(V,"-mask-hidden")},function(le,z){var F=le.className,se=le.style;return c.createElement("div",(0,r.Z)({ref:z,style:(0,s.Z)((0,s.Z)({},se),G),className:u()("".concat(V,"-mask"),F)},q))})}function Y(K){var V=K.prefixCls,G=V===void 0?"rc-dialog":V,te=K.zIndex,q=K.visible,J=q===void 0?!1:q,le=K.keyboard,z=le===void 0?!0:le,F=K.focusTriggerAfterClose,se=F===void 0?!0:F,_e=K.wrapStyle,Pe=K.wrapClassName,Re=K.wrapProps,He=K.onClose,je=K.afterOpenChange,Zt=K.afterClose,yt=K.transitionName,Dt=K.animation,Qt=K.closable,Jt=Qt===void 0?!0:Qt,qt=K.mask,Xe=qt===void 0?!0:qt,Tt=K.maskTransitionName,jt=K.maskAnimation,st=K.maskClosable,gt=st===void 0?!0:st,dt=K.maskStyle,Je=K.maskProps,Ue=K.rootClassName,ge=(0,c.useRef)(),Se=(0,c.useRef)(),Me=(0,c.useRef)(),$e=c.useState(J),We=(0,i.Z)($e,2),nt=We[0],lt=We[1],Vt=(0,x.Z)();function Ht(){(0,a.Z)(Se.current,document.activeElement)||(ge.current=document.activeElement)}function Ie(){if(!(0,a.Z)(Se.current,document.activeElement)){var fe;(fe=Me.current)===null||fe===void 0||fe.focus()}}function qe(fe){if(fe)Ie();else{if(lt(!1),Xe&&ge.current&&se){try{ge.current.focus({preventScroll:!0})}catch(pe){}ge.current=null}nt&&(Zt==null||Zt())}je==null||je(fe)}function Gt(fe){He==null||He(fe)}var Ot=(0,c.useRef)(!1),zt=(0,c.useRef)(),$t=function(){clearTimeout(zt.current),Ot.current=!0},tr=function(){zt.current=setTimeout(function(){Ot.current=!1})},Wt=null;gt&&(Wt=function(pe){Ot.current?Ot.current=!1:Se.current===pe.target&&Gt(pe)});function Fe(fe){if(z&&fe.keyCode===p.Z.ESC){fe.stopPropagation(),Gt(fe);return}J&&fe.keyCode===p.Z.TAB&&Me.current.changeActive(!fe.shiftKey)}return(0,c.useEffect)(function(){J&&(lt(!0),Ht())},[J]),(0,c.useEffect)(function(){return function(){clearTimeout(zt.current)}},[]),c.createElement("div",(0,r.Z)({className:u()("".concat(G,"-root"),Ue)},(0,y.Z)(K,{data:!0})),c.createElement(X,{prefixCls:G,visible:Xe&&J,motionName:_(G,Tt,jt),style:(0,s.Z)({zIndex:te},dt),maskProps:Je}),c.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:Fe,className:u()("".concat(G,"-wrap"),Pe),ref:Se,onClick:Wt,style:(0,s.Z)((0,s.Z)({zIndex:te},_e),{},{display:nt?null:"none"})},Re),c.createElement(Q,(0,r.Z)({},K,{onMouseDown:$t,onMouseUp:tr,ref:Me,closable:Jt,ariaId:Vt,prefixCls:G,visible:J&&nt,onClose:Gt,onVisibleChanged:qe,motionName:_(G,yt,Dt)}))))}var oe=function(V){var G=V.visible,te=V.getContainer,q=V.forceRender,J=V.destroyOnClose,le=J===void 0?!1:J,z=V.afterClose,F=V.panelRef,se=c.useState(G),_e=(0,i.Z)(se,2),Pe=_e[0],Re=_e[1],He=c.useMemo(function(){return{panel:F}},[F]);return c.useEffect(function(){G&&Re(!0)},[G]),!q&&le&&!Pe?null:c.createElement(f.Provider,{value:He},c.createElement(l.Z,{open:G||q||Pe,autoDestroy:!1,getContainer:te,autoLock:G||Pe},c.createElement(Y,(0,r.Z)({},V,{destroyOnClose:le,afterClose:function(){z==null||z(),Re(!1)}}))))};oe.displayName="Dialog";var ie=oe,ue=ie},95013:function(d,v,e){"use strict";e.r(v),e.d(v,{Field:function(){return Kr},FieldContext:function(){return M},FormProvider:function(){return Xi},List:function(){return Ct},ListContext:function(){return j},default:function(){return En},useForm:function(){return wi},useWatch:function(){return Gi}});var r=e(59301),i=e(5016),l=e(5883),c=e(85444),f=e(21566),s=e(20049),h=e(92393),u=e(6487),a=e(56789),x=e(41281),p=e(7942),y=e(76773),_=e(18082),b=e(11592),S=e(13697),R=e(48736),L="RC_FORM_INTERNAL_HOOKS",T=function(){(0,R.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},D=r.createContext({getFieldValue:T,getFieldsValue:T,getFieldError:T,getFieldWarning:T,getFieldsError:T,isFieldsTouched:T,isFieldTouched:T,isFieldValidating:T,isFieldsValidating:T,resetFields:T,setFields:T,setFieldValue:T,setFieldsValue:T,validateFields:T,submit:T,getInternalHooks:function(){return T(),{dispatch:T,initEntityValue:T,registerField:T,useSubscribe:T,setInitialValues:T,destroyForm:T,setCallbacks:T,registerWatch:T,getFields:T,setValidateMessages:T,setPreserve:T,getInitialValue:T}}}),M=D,N=r.createContext(null),j=N;function Q(er){return er==null?[]:Array.isArray(er)?er:[er]}function X(er){return er&&!!er._init}var Y=e(97671);function oe(){return oe=Object.assign?Object.assign.bind():function(er){for(var pt=1;pt<arguments.length;pt++){var rt=arguments[pt];for(var It in rt)Object.prototype.hasOwnProperty.call(rt,It)&&(er[It]=rt[It])}return er},oe.apply(this,arguments)}function ie(er,pt){er.prototype=Object.create(pt.prototype),er.prototype.constructor=er,K(er,pt)}function ue(er){return ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(rt){return rt.__proto__||Object.getPrototypeOf(rt)},ue(er)}function K(er,pt){return K=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(It,ht){return It.__proto__=ht,It},K(er,pt)}function V(){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(er){return!1}}function G(er,pt,rt){return V()?G=Reflect.construct.bind():G=function(ht,lr,dr){var Ir=[null];Ir.push.apply(Ir,lr);var Zr=Function.bind.apply(ht,Ir),Ze=new Zr;return dr&&K(Ze,dr.prototype),Ze},G.apply(null,arguments)}function te(er){return Function.toString.call(er).indexOf("[native code]")!==-1}function q(er){var pt=typeof Map=="function"?new Map:void 0;return q=function(It){if(It===null||!te(It))return It;if(typeof It!="function")throw new TypeError("Super expression must either be null or a function");if(typeof pt!="undefined"){if(pt.has(It))return pt.get(It);pt.set(It,ht)}function ht(){return G(It,arguments,ue(this).constructor)}return ht.prototype=Object.create(It.prototype,{constructor:{value:ht,enumerable:!1,writable:!0,configurable:!0}}),K(ht,It)},q(er)}var J=/%[sdj%]/g,le=function(){};function z(er){if(!er||!er.length)return null;var pt={};return er.forEach(function(rt){var It=rt.field;pt[It]=pt[It]||[],pt[It].push(rt)}),pt}function F(er){for(var pt=arguments.length,rt=new Array(pt>1?pt-1:0),It=1;It<pt;It++)rt[It-1]=arguments[It];var ht=0,lr=rt.length;if(typeof er=="function")return er.apply(null,rt);if(typeof er=="string"){var dr=er.replace(J,function(Ir){if(Ir==="%%")return"%";if(ht>=lr)return Ir;switch(Ir){case"%s":return String(rt[ht++]);case"%d":return Number(rt[ht++]);case"%j":try{return JSON.stringify(rt[ht++])}catch(Zr){return"[Circular]"}break;default:return Ir}});return dr}return er}function se(er){return er==="string"||er==="url"||er==="hex"||er==="email"||er==="date"||er==="pattern"}function _e(er,pt){return!!(er==null||pt==="array"&&Array.isArray(er)&&!er.length||se(pt)&&typeof er=="string"&&!er)}function Pe(er,pt,rt){var It=[],ht=0,lr=er.length;function dr(Ir){It.push.apply(It,Ir||[]),ht++,ht===lr&&rt(It)}er.forEach(function(Ir){pt(Ir,dr)})}function Re(er,pt,rt){var It=0,ht=er.length;function lr(dr){if(dr&&dr.length){rt(dr);return}var Ir=It;It=It+1,Ir<ht?pt(er[Ir],lr):rt([])}lr([])}function He(er){var pt=[];return Object.keys(er).forEach(function(rt){pt.push.apply(pt,er[rt]||[])}),pt}var je=function(er){ie(pt,er);function pt(rt,It){var ht;return ht=er.call(this,"Async Validation Error")||this,ht.errors=rt,ht.fields=It,ht}return pt}(q(Error));function Zt(er,pt,rt,It,ht){if(pt.first){var lr=new Promise(function(it,ir){var Dr=function(Nr){return It(Nr),Nr.length?ir(new je(Nr,z(Nr))):it(ht)},Er=He(er);Re(Er,rt,Dr)});return lr.catch(function(it){return it}),lr}var dr=pt.firstFields===!0?Object.keys(er):pt.firstFields||[],Ir=Object.keys(er),Zr=Ir.length,Ze=0,et=[],Ee=new Promise(function(it,ir){var Dr=function(Or){if(et.push.apply(et,Or),Ze++,Ze===Zr)return It(et),et.length?ir(new je(et,z(et))):it(ht)};Ir.length||(It(et),it(ht)),Ir.forEach(function(Er){var Or=er[Er];dr.indexOf(Er)!==-1?Re(Or,rt,Dr):Pe(Or,rt,Dr)})});return Ee.catch(function(it){return it}),Ee}function yt(er){return!!(er&&er.message!==void 0)}function Dt(er,pt){for(var rt=er,It=0;It<pt.length;It++){if(rt==null)return rt;rt=rt[pt[It]]}return rt}function Qt(er,pt){return function(rt){var It;return er.fullFields?It=Dt(pt,er.fullFields):It=pt[rt.field||er.fullField],yt(rt)?(rt.field=rt.field||er.fullField,rt.fieldValue=It,rt):{message:typeof rt=="function"?rt():rt,fieldValue:It,field:rt.field||er.fullField}}}function Jt(er,pt){if(pt){for(var rt in pt)if(pt.hasOwnProperty(rt)){var It=pt[rt];typeof It=="object"&&typeof er[rt]=="object"?er[rt]=oe({},er[rt],It):er[rt]=It}}return er}var qt=function(pt,rt,It,ht,lr,dr){pt.required&&(!It.hasOwnProperty(pt.field)||_e(rt,dr||pt.type))&&ht.push(F(lr.messages.required,pt.fullField))},Xe=function(pt,rt,It,ht,lr){(/^\s+$/.test(rt)||rt==="")&&ht.push(F(lr.messages.whitespace,pt.fullField))},Tt,jt=function(){if(Tt)return Tt;var er="[a-fA-F\\d:]",pt=function(ln){return ln&&ln.includeBoundaries?"(?:(?<=\\s|^)(?="+er+")|(?<="+er+")(?=\\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}",It="[a-fA-F\\d]{1,4}",ht=(`
|
|
|
(?:
|
|
|
(?:`+It+":){7}(?:"+It+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
|
(?:`+It+":){6}(?:"+rt+"|:"+It+`|:)| // 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
|
|
|
(?:`+It+":){5}(?::"+rt+"|(?::"+It+`){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
|
|
|
(?:`+It+":){4}(?:(?::"+It+"){0,1}:"+rt+"|(?::"+It+`){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
|
|
|
(?:`+It+":){3}(?:(?::"+It+"){0,2}:"+rt+"|(?::"+It+`){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
|
|
|
(?:`+It+":){2}(?:(?::"+It+"){0,3}:"+rt+"|(?::"+It+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
|
|
(?:`+It+":){1}(?:(?::"+It+"){0,4}:"+rt+"|(?::"+It+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|
|
(?::(?:(?::`+It+"){0,5}:"+rt+"|(?::"+It+`){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+"$)|(?:^"+ht+"$)"),dr=new RegExp("^"+rt+"$"),Ir=new RegExp("^"+ht+"$"),Zr=function(ln){return ln&&ln.exact?lr:new RegExp("(?:"+pt(ln)+rt+pt(ln)+")|(?:"+pt(ln)+ht+pt(ln)+")","g")};Zr.v4=function(Pr){return Pr&&Pr.exact?dr:new RegExp(""+pt(Pr)+rt+pt(Pr),"g")},Zr.v6=function(Pr){return Pr&&Pr.exact?Ir:new RegExp(""+pt(Pr)+ht+pt(Pr),"g")};var Ze="(?:(?:[a-z]+:)?//)",et="(?:\\S+(?::\\S*)?@)?",Ee=Zr.v4().source,it=Zr.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})?",Nr='(?:[/?#][^\\s"]*)?',bn="(?:"+Ze+"|www\\.)"+et+"(?:localhost|"+Ee+"|"+it+"|"+ir+Dr+Er+")"+Or+Nr;return Tt=new RegExp("(?:^"+bn+"$)","i"),Tt},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},gt={integer:function(pt){return gt.number(pt)&&parseInt(pt,10)===pt},float:function(pt){return gt.number(pt)&&!gt.integer(pt)},array:function(pt){return Array.isArray(pt)},regexp:function(pt){if(pt instanceof RegExp)return!0;try{return!!new RegExp(pt)}catch(rt){return!1}},date:function(pt){return typeof pt.getTime=="function"&&typeof pt.getMonth=="function"&&typeof pt.getYear=="function"&&!isNaN(pt.getTime())},number:function(pt){return isNaN(pt)?!1:typeof pt=="number"},object:function(pt){return typeof pt=="object"&&!gt.array(pt)},method:function(pt){return typeof pt=="function"},email:function(pt){return typeof pt=="string"&&pt.length<=320&&!!pt.match(st.email)},url:function(pt){return typeof pt=="string"&&pt.length<=2048&&!!pt.match(jt())},hex:function(pt){return typeof pt=="string"&&!!pt.match(st.hex)}},dt=function(pt,rt,It,ht,lr){if(pt.required&&rt===void 0){qt(pt,rt,It,ht,lr);return}var dr=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Ir=pt.type;dr.indexOf(Ir)>-1?gt[Ir](rt)||ht.push(F(lr.messages.types[Ir],pt.fullField,pt.type)):Ir&&typeof rt!==pt.type&&ht.push(F(lr.messages.types[Ir],pt.fullField,pt.type))},Je=function(pt,rt,It,ht,lr){var dr=typeof pt.len=="number",Ir=typeof pt.min=="number",Zr=typeof pt.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),dr?et!==pt.len&&ht.push(F(lr.messages[Ee].len,pt.fullField,pt.len)):Ir&&!Zr&&et<pt.min?ht.push(F(lr.messages[Ee].min,pt.fullField,pt.min)):Zr&&!Ir&&et>pt.max?ht.push(F(lr.messages[Ee].max,pt.fullField,pt.max)):Ir&&Zr&&(et<pt.min||et>pt.max)&&ht.push(F(lr.messages[Ee].range,pt.fullField,pt.min,pt.max))},Ue="enum",ge=function(pt,rt,It,ht,lr){pt[Ue]=Array.isArray(pt[Ue])?pt[Ue]:[],pt[Ue].indexOf(rt)===-1&&ht.push(F(lr.messages[Ue],pt.fullField,pt[Ue].join(", ")))},Se=function(pt,rt,It,ht,lr){if(pt.pattern){if(pt.pattern instanceof RegExp)pt.pattern.lastIndex=0,pt.pattern.test(rt)||ht.push(F(lr.messages.pattern.mismatch,pt.fullField,rt,pt.pattern));else if(typeof pt.pattern=="string"){var dr=new RegExp(pt.pattern);dr.test(rt)||ht.push(F(lr.messages.pattern.mismatch,pt.fullField,rt,pt.pattern))}}},Me={required:qt,whitespace:Xe,type:dt,range:Je,enum:ge,pattern:Se},$e=function(pt,rt,It,ht,lr){var dr=[],Ir=pt.required||!pt.required&&ht.hasOwnProperty(pt.field);if(Ir){if(_e(rt,"string")&&!pt.required)return It();Me.required(pt,rt,ht,dr,lr,"string"),_e(rt,"string")||(Me.type(pt,rt,ht,dr,lr),Me.range(pt,rt,ht,dr,lr),Me.pattern(pt,rt,ht,dr,lr),pt.whitespace===!0&&Me.whitespace(pt,rt,ht,dr,lr))}It(dr)},We=function(pt,rt,It,ht,lr){var dr=[],Ir=pt.required||!pt.required&&ht.hasOwnProperty(pt.field);if(Ir){if(_e(rt)&&!pt.required)return It();Me.required(pt,rt,ht,dr,lr),rt!==void 0&&Me.type(pt,rt,ht,dr,lr)}It(dr)},nt=function(pt,rt,It,ht,lr){var dr=[],Ir=pt.required||!pt.required&&ht.hasOwnProperty(pt.field);if(Ir){if(rt===""&&(rt=void 0),_e(rt)&&!pt.required)return It();Me.required(pt,rt,ht,dr,lr),rt!==void 0&&(Me.type(pt,rt,ht,dr,lr),Me.range(pt,rt,ht,dr,lr))}It(dr)},lt=function(pt,rt,It,ht,lr){var dr=[],Ir=pt.required||!pt.required&&ht.hasOwnProperty(pt.field);if(Ir){if(_e(rt)&&!pt.required)return It();Me.required(pt,rt,ht,dr,lr),rt!==void 0&&Me.type(pt,rt,ht,dr,lr)}It(dr)},Vt=function(pt,rt,It,ht,lr){var dr=[],Ir=pt.required||!pt.required&&ht.hasOwnProperty(pt.field);if(Ir){if(_e(rt)&&!pt.required)return It();Me.required(pt,rt,ht,dr,lr),_e(rt)||Me.type(pt,rt,ht,dr,lr)}It(dr)},Ht=function(pt,rt,It,ht,lr){var dr=[],Ir=pt.required||!pt.required&&ht.hasOwnProperty(pt.field);if(Ir){if(_e(rt)&&!pt.required)return It();Me.required(pt,rt,ht,dr,lr),rt!==void 0&&(Me.type(pt,rt,ht,dr,lr),Me.range(pt,rt,ht,dr,lr))}It(dr)},Ie=function(pt,rt,It,ht,lr){var dr=[],Ir=pt.required||!pt.required&&ht.hasOwnProperty(pt.field);if(Ir){if(_e(rt)&&!pt.required)return It();Me.required(pt,rt,ht,dr,lr),rt!==void 0&&(Me.type(pt,rt,ht,dr,lr),Me.range(pt,rt,ht,dr,lr))}It(dr)},qe=function(pt,rt,It,ht,lr){var dr=[],Ir=pt.required||!pt.required&&ht.hasOwnProperty(pt.field);if(Ir){if(rt==null&&!pt.required)return It();Me.required(pt,rt,ht,dr,lr,"array"),rt!=null&&(Me.type(pt,rt,ht,dr,lr),Me.range(pt,rt,ht,dr,lr))}It(dr)},Gt=function(pt,rt,It,ht,lr){var dr=[],Ir=pt.required||!pt.required&&ht.hasOwnProperty(pt.field);if(Ir){if(_e(rt)&&!pt.required)return It();Me.required(pt,rt,ht,dr,lr),rt!==void 0&&Me.type(pt,rt,ht,dr,lr)}It(dr)},Ot="enum",zt=function(pt,rt,It,ht,lr){var dr=[],Ir=pt.required||!pt.required&&ht.hasOwnProperty(pt.field);if(Ir){if(_e(rt)&&!pt.required)return It();Me.required(pt,rt,ht,dr,lr),rt!==void 0&&Me[Ot](pt,rt,ht,dr,lr)}It(dr)},$t=function(pt,rt,It,ht,lr){var dr=[],Ir=pt.required||!pt.required&&ht.hasOwnProperty(pt.field);if(Ir){if(_e(rt,"string")&&!pt.required)return It();Me.required(pt,rt,ht,dr,lr),_e(rt,"string")||Me.pattern(pt,rt,ht,dr,lr)}It(dr)},tr=function(pt,rt,It,ht,lr){var dr=[],Ir=pt.required||!pt.required&&ht.hasOwnProperty(pt.field);if(Ir){if(_e(rt,"date")&&!pt.required)return It();if(Me.required(pt,rt,ht,dr,lr),!_e(rt,"date")){var Zr;rt instanceof Date?Zr=rt:Zr=new Date(rt),Me.type(pt,Zr,ht,dr,lr),Zr&&Me.range(pt,Zr.getTime(),ht,dr,lr)}}It(dr)},Wt=function(pt,rt,It,ht,lr){var dr=[],Ir=Array.isArray(rt)?"array":typeof rt;Me.required(pt,rt,ht,dr,lr,Ir),It(dr)},Fe=function(pt,rt,It,ht,lr){var dr=pt.type,Ir=[],Zr=pt.required||!pt.required&&ht.hasOwnProperty(pt.field);if(Zr){if(_e(rt,dr)&&!pt.required)return It();Me.required(pt,rt,ht,Ir,lr,dr),_e(rt,dr)||Me.type(pt,rt,ht,Ir,lr)}It(Ir)},fe=function(pt,rt,It,ht,lr){var dr=[],Ir=pt.required||!pt.required&&ht.hasOwnProperty(pt.field);if(Ir){if(_e(rt)&&!pt.required)return It();Me.required(pt,rt,ht,dr,lr)}It(dr)},pe={string:$e,method:We,number:nt,boolean:lt,regexp:Vt,integer:Ht,float:Ie,array:qe,object:Gt,enum:zt,pattern:$t,date:tr,url:Fe,hex:Fe,email:Fe,required:Wt,any:fe};function Pt(){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 pt=JSON.parse(JSON.stringify(this));return pt.clone=this.clone,pt}}}var Ce=Pt(),ft=function(){function er(rt){this.rules=null,this._messages=Ce,this.define(rt)}var pt=er.prototype;return pt.define=function(It){var ht=this;if(!It)throw new Error("Cannot configure a schema with no rules");if(typeof It!="object"||Array.isArray(It))throw new Error("Rules must be an object");this.rules={},Object.keys(It).forEach(function(lr){var dr=It[lr];ht.rules[lr]=Array.isArray(dr)?dr:[dr]})},pt.messages=function(It){return It&&(this._messages=Jt(Pt(),It)),this._messages},pt.validate=function(It,ht,lr){var dr=this;ht===void 0&&(ht={}),lr===void 0&&(lr=function(){});var Ir=It,Zr=ht,Ze=lr;if(typeof Zr=="function"&&(Ze=Zr,Zr={}),!this.rules||Object.keys(this.rules).length===0)return Ze&&Ze(null,Ir),Promise.resolve(Ir);function et(Er){var Or=[],Nr={};function bn(ln){if(Array.isArray(ln)){var nn;Or=(nn=Or).concat.apply(nn,ln)}else Or.push(ln)}for(var Pr=0;Pr<Er.length;Pr++)bn(Er[Pr]);Or.length?(Nr=z(Or),Ze(Or,Nr)):Ze(null,Ir)}if(Zr.messages){var Ee=this.messages();Ee===Ce&&(Ee=Pt()),Jt(Ee,Zr.messages),Zr.messages=Ee}else Zr.messages=this.messages();var it={},ir=Zr.keys||Object.keys(this.rules);ir.forEach(function(Er){var Or=dr.rules[Er],Nr=Ir[Er];Or.forEach(function(bn){var Pr=bn;typeof Pr.transform=="function"&&(Ir===It&&(Ir=oe({},Ir)),Nr=Ir[Er]=Pr.transform(Nr)),typeof Pr=="function"?Pr={validator:Pr}:Pr=oe({},Pr),Pr.validator=dr.getValidationMethod(Pr),Pr.validator&&(Pr.field=Er,Pr.fullField=Pr.fullField||Er,Pr.type=dr.getType(Pr),it[Er]=it[Er]||[],it[Er].push({rule:Pr,value:Nr,source:Ir,field:Er}))})});var Dr={};return Zt(it,Zr,function(Er,Or){var Nr=Er.rule,bn=(Nr.type==="object"||Nr.type==="array")&&(typeof Nr.fields=="object"||typeof Nr.defaultField=="object");bn=bn&&(Nr.required||!Nr.required&&Er.value),Nr.field=Er.field;function Pr(cn,An){return oe({},An,{fullField:Nr.fullField+"."+cn,fullFields:Nr.fullFields?[].concat(Nr.fullFields,[cn]):[cn]})}function ln(cn){cn===void 0&&(cn=[]);var An=Array.isArray(cn)?cn:[cn];!Zr.suppressWarning&&An.length&&er.warning("async-validator:",An),An.length&&Nr.message!==void 0&&(An=[].concat(Nr.message));var pa=An.map(Qt(Nr,Ir));if(Zr.first&&pa.length)return Dr[Nr.field]=1,Or(pa);if(!bn)Or(pa);else{if(Nr.required&&!Er.value)return Nr.message!==void 0?pa=[].concat(Nr.message).map(Qt(Nr,Ir)):Zr.error&&(pa=[Zr.error(Nr,F(Zr.messages.required,Nr.field))]),Or(pa);var Pi={};Nr.defaultField&&Object.keys(Er.value).map(function(li){Pi[li]=Nr.defaultField}),Pi=oe({},Pi,Er.rule.fields);var bi={};Object.keys(Pi).forEach(function(li){var $i=Pi[li],la=Array.isArray($i)?$i:[$i];bi[li]=la.map(Pr.bind(null,li))});var _n=new er(bi);_n.messages(Zr.messages),Er.rule.options&&(Er.rule.options.messages=Zr.messages,Er.rule.options.error=Zr.error),_n.validate(Er.value,Er.rule.options||Zr,function(li){var $i=[];pa&&pa.length&&$i.push.apply($i,pa),li&&li.length&&$i.push.apply($i,li),Or($i.length?$i:null)})}}var nn;if(Nr.asyncValidator)nn=Nr.asyncValidator(Nr,Er.value,ln,Er.source,Zr);else if(Nr.validator){try{nn=Nr.validator(Nr,Er.value,ln,Er.source,Zr)}catch(cn){console.error==null||console.error(cn),Zr.suppressValidatorError||setTimeout(function(){throw cn},0),ln(cn.message)}nn===!0?ln():nn===!1?ln(typeof Nr.message=="function"?Nr.message(Nr.fullField||Nr.field):Nr.message||(Nr.fullField||Nr.field)+" fails"):nn instanceof Array?ln(nn):nn instanceof Error&&ln(nn.message)}nn&&nn.then&&nn.then(function(){return ln()},function(cn){return ln(cn)})},function(Er){et(Er)},Ir)},pt.getType=function(It){if(It.type===void 0&&It.pattern instanceof RegExp&&(It.type="pattern"),typeof It.validator!="function"&&It.type&&!pe.hasOwnProperty(It.type))throw new Error(F("Unknown rule type %s",It.type));return It.type||"string"},pt.getValidationMethod=function(It){if(typeof It.validator=="function")return It.validator;var ht=Object.keys(It),lr=ht.indexOf("message");return lr!==-1&&ht.splice(lr,1),ht.length===1&&ht[0]==="required"?pe.required:pe[this.getType(It)]||void 0},er}();ft.register=function(pt,rt){if(typeof rt!="function")throw new Error("Cannot register a validator by type, validator is not a function");pe[pt]=rt},ft.warning=le,ft.messages=Ce,ft.validators=pe;var Ut="'${name}' is not a valid ${type}",At={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:Ut,method:Ut,array:Ut,object:Ut,number:Ut,date:Ut,boolean:Ut,integer:Ut,float:Ut,regexp:Ut,email:Ut,url:Ut,hex:Ut},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}"}},Oe=e(24434),wt=ft;function be(er,pt){return er.replace(/\$\{\w+\}/g,function(rt){var It=rt.slice(2,-1);return pt[It]})}var Ke="CODE_LOGIC_ERROR";function mt(er,pt,rt,It,ht){return kt.apply(this,arguments)}function kt(){return kt=(0,f.Z)((0,c.Z)().mark(function er(pt,rt,It,ht,lr){var dr,Ir,Zr,Ze,et,Ee,it,ir,Dr;return(0,c.Z)().wrap(function(Or){for(;;)switch(Or.prev=Or.next){case 0:return dr=(0,s.Z)({},It),delete dr.ruleIndex,wt.warning=function(){},dr.validator&&(Ir=dr.validator,dr.validator=function(){try{return Ir.apply(void 0,arguments)}catch(Nr){return console.error(Nr),Promise.reject(Ke)}}),Zr=null,dr&&dr.type==="array"&&dr.defaultField&&(Zr=dr.defaultField,delete dr.defaultField),Ze=new wt((0,_.Z)({},pt,[dr])),et=(0,Oe.T)(At,ht.validateMessages),Ze.messages(et),Ee=[],Or.prev=10,Or.next=13,Promise.resolve(Ze.validate((0,_.Z)({},pt,rt),(0,s.Z)({},ht)));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(Nr,bn){var Pr=Nr.message,ln=Pr===Ke?et.default:Pr;return r.isValidElement(ln)?r.cloneElement(ln,{key:"error_".concat(bn)}):ln}));case 18:if(!(!Ee.length&&Zr)){Or.next=23;break}return Or.next=21,Promise.all(rt.map(function(Nr,bn){return mt("".concat(pt,".").concat(bn),Nr,Zr,ht,lr)}));case 21:return it=Or.sent,Or.abrupt("return",it.reduce(function(Nr,bn){return[].concat((0,h.Z)(Nr),(0,h.Z)(bn))},[]));case 23:return ir=(0,s.Z)((0,s.Z)({},It),{},{name:pt,enum:(It.enum||[]).join(", ")},lr),Dr=Ee.map(function(Nr){return typeof Nr=="string"?be(Nr,ir):Nr}),Or.abrupt("return",Dr);case 26:case"end":return Or.stop()}},er,null,[[10,15]])})),kt.apply(this,arguments)}function Be(er,pt,rt,It,ht,lr){var dr=er.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 Nr=!1,bn=function(){for(var nn=arguments.length,cn=new Array(nn),An=0;An<nn;An++)cn[An]=arguments[An];Promise.resolve().then(function(){(0,R.ZP)(!Nr,"Your validator function has already return a promise. `callback` will be ignored."),Nr||Or.apply(void 0,cn)})},Pr=it(Dr,Er,bn);Nr=Pr&&typeof Pr.then=="function"&&typeof Pr.catch=="function",(0,R.ZP)(Nr,"`callback` is deprecated. Please return a promise instead."),Nr&&Pr.then(function(){Or()}).catch(function(ln){Or(ln||" ")})}),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}),Zr;if(ht===!0)Zr=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,mt(dr,pt,Er,It,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 mt(dr,pt,et,It,lr).then(function(Ee){return{errors:Ee,rule:et}})});Zr=(ht?Vr(Ze):kr(Ze)).then(function(et){return Promise.reject(et)})}return Zr.catch(function(et){return et}),Zr}function kr(er){return St.apply(this,arguments)}function St(){return St=(0,f.Z)((0,c.Z)().mark(function er(pt){return(0,c.Z)().wrap(function(It){for(;;)switch(It.prev=It.next){case 0:return It.abrupt("return",Promise.all(pt).then(function(ht){var lr,dr=(lr=[]).concat.apply(lr,(0,h.Z)(ht));return dr}));case 1:case"end":return It.stop()}},er)})),St.apply(this,arguments)}function Vr(er){return Jr.apply(this,arguments)}function Jr(){return Jr=(0,f.Z)((0,c.Z)().mark(function er(pt){var rt;return(0,c.Z)().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:return rt=0,ht.abrupt("return",new Promise(function(lr){pt.forEach(function(dr){dr.then(function(Ir){Ir.errors.length&&lr([Ir]),rt+=1,rt===pt.length&&lr([])})})}));case 2:case"end":return ht.stop()}},er)})),Jr.apply(this,arguments)}var Ar=e(10928),Fr=e(97938);function mr(er){return Q(er)}function jr(er,pt){var rt={};return pt.forEach(function(It){var ht=(0,Fr.Z)(er,It);rt=(0,Oe.Z)(rt,It,ht)}),rt}function on(er,pt){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return er&&er.some(function(It){return fn(pt,It,rt)})}function fn(er,pt){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!er||!pt||!rt&&er.length!==pt.length?!1:pt.every(function(It,ht){return er[ht]===It})}function or(er,pt){if(er===pt)return!0;if(!er&&pt||er&&!pt||!er||!pt||(0,Ar.Z)(er)!=="object"||(0,Ar.Z)(pt)!=="object")return!1;var rt=Object.keys(er),It=Object.keys(pt),ht=new Set([].concat(rt,It));return(0,h.Z)(ht).every(function(lr){var dr=er[lr],Ir=pt[lr];return typeof dr=="function"&&typeof Ir=="function"?!0:dr===Ir})}function Rt(er){var pt=arguments.length<=1?void 0:arguments[1];return pt&&pt.target&&(0,Ar.Z)(pt.target)==="object"&&er in pt.target?pt.target[er]:pt}function _t(er,pt,rt){var It=er.length;if(pt<0||pt>=It||rt<0||rt>=It)return er;var ht=er[pt],lr=pt-rt;return lr>0?[].concat((0,h.Z)(er.slice(0,rt)),[ht],(0,h.Z)(er.slice(rt,pt)),(0,h.Z)(er.slice(pt+1,It))):lr<0?[].concat((0,h.Z)(er.slice(0,pt)),(0,h.Z)(er.slice(pt+1,rt+1)),[ht],(0,h.Z)(er.slice(rt+1,It))):er}var vt=["name"],Bt=[];function Cr(er,pt,rt,It,ht,lr){return typeof er=="function"?er(pt,rt,"source"in lr?{source:lr.source}:{}):It!==ht}var gr=function(er){(0,p.Z)(rt,er);var pt=(0,y.Z)(rt);function rt(It){var ht;if((0,u.Z)(this,rt),ht=pt.call(this,It),(0,_.Z)((0,x.Z)(ht),"state",{resetCount:0}),(0,_.Z)((0,x.Z)(ht),"cancelRegisterFunc",null),(0,_.Z)((0,x.Z)(ht),"mounted",!1),(0,_.Z)((0,x.Z)(ht),"touched",!1),(0,_.Z)((0,x.Z)(ht),"dirty",!1),(0,_.Z)((0,x.Z)(ht),"validatePromise",void 0),(0,_.Z)((0,x.Z)(ht),"prevValidating",void 0),(0,_.Z)((0,x.Z)(ht),"errors",Bt),(0,_.Z)((0,x.Z)(ht),"warnings",Bt),(0,_.Z)((0,x.Z)(ht),"cancelRegister",function(){var Zr=ht.props,Ze=Zr.preserve,et=Zr.isListField,Ee=Zr.name;ht.cancelRegisterFunc&&ht.cancelRegisterFunc(et,Ze,mr(Ee)),ht.cancelRegisterFunc=null}),(0,_.Z)((0,x.Z)(ht),"getNamePath",function(){var Zr=ht.props,Ze=Zr.name,et=Zr.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)(ht),"getRules",function(){var Zr=ht.props,Ze=Zr.rules,et=Ze===void 0?[]:Ze,Ee=Zr.fieldContext;return et.map(function(it){return typeof it=="function"?it(Ee):it})}),(0,_.Z)((0,x.Z)(ht),"refresh",function(){ht.mounted&&ht.setState(function(Zr){var Ze=Zr.resetCount;return{resetCount:Ze+1}})}),(0,_.Z)((0,x.Z)(ht),"metaCache",null),(0,_.Z)((0,x.Z)(ht),"triggerMetaEvent",function(Zr){var Ze=ht.props.onMetaChange;if(Ze){var et=(0,s.Z)((0,s.Z)({},ht.getMeta()),{},{destroy:Zr});(0,S.Z)(ht.metaCache,et)||Ze(et),ht.metaCache=et}else ht.metaCache=null}),(0,_.Z)((0,x.Z)(ht),"onStoreChange",function(Zr,Ze,et){var Ee=ht.props,it=Ee.shouldUpdate,ir=Ee.dependencies,Dr=ir===void 0?[]:ir,Er=Ee.onReset,Or=et.store,Nr=ht.getNamePath(),bn=ht.getValue(Zr),Pr=ht.getValue(Or),ln=Ze&&on(Ze,Nr);switch(et.type==="valueUpdate"&&et.source==="external"&&bn!==Pr&&(ht.touched=!0,ht.dirty=!0,ht.validatePromise=null,ht.errors=Bt,ht.warnings=Bt,ht.triggerMetaEvent()),et.type){case"reset":if(!Ze||ln){ht.touched=!1,ht.dirty=!1,ht.validatePromise=void 0,ht.errors=Bt,ht.warnings=Bt,ht.triggerMetaEvent(),Er==null||Er(),ht.refresh();return}break;case"remove":{if(it){ht.reRender();return}break}case"setField":{var nn=et.data;if(ln){"touched"in nn&&(ht.touched=nn.touched),"validating"in nn&&!("originRCField"in nn)&&(ht.validatePromise=nn.validating?Promise.resolve([]):null),"errors"in nn&&(ht.errors=nn.errors||Bt),"warnings"in nn&&(ht.warnings=nn.warnings||Bt),ht.dirty=!0,ht.triggerMetaEvent(),ht.reRender();return}else if("value"in nn&&on(Ze,Nr,!0)){ht.reRender();return}if(it&&!Nr.length&&Cr(it,Zr,Or,bn,Pr,et)){ht.reRender();return}break}case"dependenciesUpdate":{var cn=Dr.map(mr);if(cn.some(function(An){return on(et.relatedFields,An)})){ht.reRender();return}break}default:if(ln||(!Dr.length||Nr.length||it)&&Cr(it,Zr,Or,bn,Pr,et)){ht.reRender();return}break}it===!0&&ht.reRender()}),(0,_.Z)((0,x.Z)(ht),"validateRules",function(Zr){var Ze=ht.getNamePath(),et=ht.getValue(),Ee=Zr||{},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 Nr,bn,Pr,ln,nn,cn,An;return(0,c.Z)().wrap(function(Pi){for(;;)switch(Pi.prev=Pi.next){case 0:if(ht.mounted){Pi.next=2;break}return Pi.abrupt("return",[]);case 2:if(Nr=ht.props,bn=Nr.validateFirst,Pr=bn===void 0?!1:bn,ln=Nr.messageVariables,nn=Nr.validateDebounce,cn=ht.getRules(),it&&(cn=cn.filter(function(bi){return bi}).filter(function(bi){var _n=bi.validateTrigger;if(!_n)return!0;var li=Q(_n);return li.includes(it)})),!(nn&&it)){Pi.next=10;break}return Pi.next=8,new Promise(function(bi){setTimeout(bi,nn)});case 8:if(ht.validatePromise===Er){Pi.next=10;break}return Pi.abrupt("return",[]);case 10:return An=Be(Ze,et,cn,Zr,Pr,ln),An.catch(function(bi){return bi}).then(function(){var bi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Bt;if(ht.validatePromise===Er){var _n;ht.validatePromise=null;var li=[],$i=[];(_n=bi.forEach)===null||_n===void 0||_n.call(bi,function(la){var xs=la.rule.warningOnly,Pa=la.errors,Na=Pa===void 0?Bt:Pa;xs?$i.push.apply($i,(0,h.Z)(Na)):li.push.apply(li,(0,h.Z)(Na))}),ht.errors=li,ht.warnings=$i,ht.triggerMetaEvent(),ht.reRender()}}),Pi.abrupt("return",An);case 13:case"end":return Pi.stop()}},Or)})));return Dr||(ht.validatePromise=Er,ht.dirty=!0,ht.errors=Bt,ht.warnings=Bt,ht.triggerMetaEvent(),ht.reRender()),Er}),(0,_.Z)((0,x.Z)(ht),"isFieldValidating",function(){return!!ht.validatePromise}),(0,_.Z)((0,x.Z)(ht),"isFieldTouched",function(){return ht.touched}),(0,_.Z)((0,x.Z)(ht),"isFieldDirty",function(){if(ht.dirty||ht.props.initialValue!==void 0)return!0;var Zr=ht.props.fieldContext,Ze=Zr.getInternalHooks(L),et=Ze.getInitialValue;return et(ht.getNamePath())!==void 0}),(0,_.Z)((0,x.Z)(ht),"getErrors",function(){return ht.errors}),(0,_.Z)((0,x.Z)(ht),"getWarnings",function(){return ht.warnings}),(0,_.Z)((0,x.Z)(ht),"isListField",function(){return ht.props.isListField}),(0,_.Z)((0,x.Z)(ht),"isList",function(){return ht.props.isList}),(0,_.Z)((0,x.Z)(ht),"isPreserve",function(){return ht.props.preserve}),(0,_.Z)((0,x.Z)(ht),"getMeta",function(){ht.prevValidating=ht.isFieldValidating();var Zr={touched:ht.isFieldTouched(),validating:ht.prevValidating,errors:ht.errors,warnings:ht.warnings,name:ht.getNamePath(),validated:ht.validatePromise===null};return Zr}),(0,_.Z)((0,x.Z)(ht),"getOnlyChild",function(Zr){if(typeof Zr=="function"){var Ze=ht.getMeta();return(0,s.Z)((0,s.Z)({},ht.getOnlyChild(Zr(ht.getControlled(),Ze,ht.props.fieldContext))),{},{isFunction:!0})}var et=(0,b.Z)(Zr);return et.length!==1||!r.isValidElement(et[0])?{child:et,isFunction:!1}:{child:et[0],isFunction:!1}}),(0,_.Z)((0,x.Z)(ht),"getValue",function(Zr){var Ze=ht.props.fieldContext.getFieldsValue,et=ht.getNamePath();return(0,Fr.Z)(Zr||Ze(!0),et)}),(0,_.Z)((0,x.Z)(ht),"getControlled",function(){var Zr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ze=ht.props,et=Ze.trigger,Ee=Ze.validateTrigger,it=Ze.getValueFromEvent,ir=Ze.normalize,Dr=Ze.valuePropName,Er=Ze.getValueProps,Or=Ze.fieldContext,Nr=Ee!==void 0?Ee:Or.validateTrigger,bn=ht.getNamePath(),Pr=Or.getInternalHooks,ln=Or.getFieldsValue,nn=Pr(L),cn=nn.dispatch,An=ht.getValue(),pa=Er||function(li){return(0,_.Z)({},Dr,li)},Pi=Zr[et],bi=(0,s.Z)((0,s.Z)({},Zr),pa(An));bi[et]=function(){ht.touched=!0,ht.dirty=!0,ht.triggerMetaEvent();for(var li,$i=arguments.length,la=new Array($i),xs=0;xs<$i;xs++)la[xs]=arguments[xs];it?li=it.apply(void 0,la):li=Rt.apply(void 0,[Dr].concat(la)),ir&&(li=ir(li,An,ln(!0))),cn({type:"updateValue",namePath:bn,value:li}),Pi&&Pi.apply(void 0,la)};var _n=Q(Nr||[]);return _n.forEach(function(li){var $i=bi[li];bi[li]=function(){$i&&$i.apply(void 0,arguments);var la=ht.props.rules;la&&la.length&&cn({type:"validateField",namePath:bn,triggerName:li})}}),bi}),It.fieldContext){var lr=It.fieldContext.getInternalHooks,dr=lr(L),Ir=dr.initEntityValue;Ir((0,x.Z)(ht))}return ht}return(0,a.Z)(rt,[{key:"componentDidMount",value:function(){var ht=this.props,lr=ht.shouldUpdate,dr=ht.fieldContext;if(this.mounted=!0,dr){var Ir=dr.getInternalHooks,Zr=Ir(L),Ze=Zr.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 ht=this.state.resetCount,lr=this.props.children,dr=this.getOnlyChild(lr),Ir=dr.child,Zr=dr.isFunction,Ze;return Zr?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:ht},Ze)}}]),rt}(r.Component);(0,_.Z)(gr,"contextType",M),(0,_.Z)(gr,"defaultProps",{trigger:"onChange",valuePropName:"value"});function rn(er){var pt=er.name,rt=(0,l.Z)(er,vt),It=r.useContext(M),ht=r.useContext(j),lr=pt!==void 0?mr(pt):void 0,dr="keep";return rt.isListField||(dr="_".concat((lr||[]).join("_"))),r.createElement(gr,(0,i.Z)({key:dr,name:lr,isListField:!!ht},rt,{fieldContext:It}))}var Kr=rn;function Pn(er){var pt=er.name,rt=er.initialValue,It=er.children,ht=er.rules,lr=er.validateTrigger,dr=er.isListField,Ir=r.useContext(M),Zr=r.useContext(j),Ze=r.useRef({keys:[],id:0}),et=Ze.current,Ee=r.useMemo(function(){var Er=mr(Ir.prefixName)||[];return[].concat((0,h.Z)(Er),(0,h.Z)(mr(pt)))},[Ir.prefixName,pt]),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 Nr=Ee.length,bn=Or[Nr];return[et.keys[bn],Or.slice(Nr+1)]}}},[Ee]);if(typeof It!="function")return(0,R.ZP)(!1,"Form.List only accepts function as children."),null;var Dr=function(Or,Nr,bn){var Pr=bn.source;return Pr==="internal"?!1:Or!==Nr};return r.createElement(j.Provider,{value:ir},r.createElement(M.Provider,{value:it},r.createElement(Kr,{name:[],shouldUpdate:Dr,rules:ht,validateTrigger:lr,initialValue:rt,isList:!0,isListField:dr!=null?dr:!!Zr},function(Er,Or){var Nr=Er.value,bn=Nr===void 0?[]:Nr,Pr=Er.onChange,ln=Ir.getFieldValue,nn=function(){var Pi=ln(Ee||[]);return Pi||[]},cn={add:function(Pi,bi){var _n=nn();bi>=0&&bi<=_n.length?(et.keys=[].concat((0,h.Z)(et.keys.slice(0,bi)),[et.id],(0,h.Z)(et.keys.slice(bi))),Pr([].concat((0,h.Z)(_n.slice(0,bi)),[Pi],(0,h.Z)(_n.slice(bi))))):(et.keys=[].concat((0,h.Z)(et.keys),[et.id]),Pr([].concat((0,h.Z)(_n),[Pi]))),et.id+=1},remove:function(Pi){var bi=nn(),_n=new Set(Array.isArray(Pi)?Pi:[Pi]);_n.size<=0||(et.keys=et.keys.filter(function(li,$i){return!_n.has($i)}),Pr(bi.filter(function(li,$i){return!_n.has($i)})))},move:function(Pi,bi){if(Pi!==bi){var _n=nn();Pi<0||Pi>=_n.length||bi<0||bi>=_n.length||(et.keys=_t(et.keys,Pi,bi),Pr(_t(_n,Pi,bi)))}}},An=bn||[];return Array.isArray(An)||(An=[]),It(An.map(function(pa,Pi){var bi=et.keys[Pi];return bi===void 0&&(et.keys[Pi]=et.id,bi=et.keys[Pi],et.id+=1),{name:Pi,key:bi,isListField:!0}}),cn,Or)})))}var Ct=Pn,cr=e(52456);function Xr(er){var pt=!1,rt=er.length,It=[];return er.length?new Promise(function(ht,lr){er.forEach(function(dr,Ir){dr.catch(function(Zr){return pt=!0,Zr}).then(function(Zr){rt-=1,It[Ir]=Zr,!(rt>0)&&(pt&&lr(It),ht(It))})})}):Promise.resolve([])}var pn="__@field_split__";function $n(er){return er.map(function(pt){return"".concat((0,Ar.Z)(pt),":").concat(pt)}).join(pn)}var si=function(){function er(){(0,u.Z)(this,er),(0,_.Z)(this,"kvs",new Map)}return(0,a.Z)(er,[{key:"set",value:function(rt,It){this.kvs.set($n(rt),It)}},{key:"get",value:function(rt){return this.kvs.get($n(rt))}},{key:"update",value:function(rt,It){var ht=this.get(rt),lr=It(ht);lr?this.set(rt,lr):this.delete(rt)}},{key:"delete",value:function(rt){this.kvs.delete($n(rt))}},{key:"map",value:function(rt){return(0,h.Z)(this.kvs.entries()).map(function(It){var ht=(0,cr.Z)(It,2),lr=ht[0],dr=ht[1],Ir=lr.split(pn);return rt({key:Ir.map(function(Zr){var Ze=Zr.match(/^([^:]*):(.*)$/),et=(0,cr.Z)(Ze,3),Ee=et[1],it=et[2];return Ee==="number"?Number(it):it}),value:dr})})}},{key:"toJSON",value:function(){var rt={};return this.map(function(It){var ht=It.key,lr=It.value;return rt[ht.join(".")]=lr,null}),rt}}]),er}(),zn=si,Li=["name"],ui=(0,a.Z)(function er(pt){var rt=this;(0,u.Z)(this,er),(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(It){return It===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(It){rt.subscribable=It}),(0,_.Z)(this,"prevWithoutPreserves",null),(0,_.Z)(this,"setInitialValues",function(It,ht){if(rt.initialValues=It||{},ht){var lr,dr=(0,Oe.T)(It,rt.store);(lr=rt.prevWithoutPreserves)===null||lr===void 0||lr.map(function(Ir){var Zr=Ir.key;dr=(0,Oe.Z)(dr,Zr,(0,Fr.Z)(It,Zr))}),rt.prevWithoutPreserves=null,rt.updateStore(dr)}}),(0,_.Z)(this,"destroyForm",function(){var It=new zn;rt.getFieldEntities(!0).forEach(function(ht){rt.isMergedPreserve(ht.isPreserve())||It.set(ht.getNamePath(),!0)}),rt.prevWithoutPreserves=It}),(0,_.Z)(this,"getInitialValue",function(It){var ht=(0,Fr.Z)(rt.initialValues,It);return It.length?(0,Oe.T)(ht):ht}),(0,_.Z)(this,"setCallbacks",function(It){rt.callbacks=It}),(0,_.Z)(this,"setValidateMessages",function(It){rt.validateMessages=It}),(0,_.Z)(this,"setPreserve",function(It){rt.preserve=It}),(0,_.Z)(this,"watchList",[]),(0,_.Z)(this,"registerWatch",function(It){return rt.watchList.push(It),function(){rt.watchList=rt.watchList.filter(function(ht){return ht!==It})}}),(0,_.Z)(this,"notifyWatch",function(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(rt.watchList.length){var ht=rt.getFieldsValue(),lr=rt.getFieldsValue(!0);rt.watchList.forEach(function(dr){dr(ht,lr,It)})}}),(0,_.Z)(this,"timeoutId",null),(0,_.Z)(this,"warningUnhooked",function(){}),(0,_.Z)(this,"updateStore",function(It){rt.store=It}),(0,_.Z)(this,"getFieldEntities",function(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return It?rt.fieldEntities.filter(function(ht){return ht.getNamePath().length}):rt.fieldEntities}),(0,_.Z)(this,"getFieldsMap",function(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ht=new zn;return rt.getFieldEntities(It).forEach(function(lr){var dr=lr.getNamePath();ht.set(dr,lr)}),ht}),(0,_.Z)(this,"getFieldEntitiesForNamePathList",function(It){if(!It)return rt.getFieldEntities(!0);var ht=rt.getFieldsMap(!0);return It.map(function(lr){var dr=mr(lr);return ht.get(dr)||{INVALIDATE_NAME_PATH:mr(lr)}})}),(0,_.Z)(this,"getFieldsValue",function(It,ht){rt.warningUnhooked();var lr,dr,Ir;if(It===!0||Array.isArray(It)?(lr=It,dr=ht):It&&(0,Ar.Z)(It)==="object"&&(Ir=It.strict,dr=It.filter),lr===!0&&!dr)return rt.store;var Zr=rt.getFieldEntitiesForNamePathList(Array.isArray(lr)?lr:null),Ze=[];return Zr.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(!dr)Ze.push(ir);else{var Or="getMeta"in et?et.getMeta():null;dr(Or)&&Ze.push(ir)}}),jr(rt.store,Ze.map(mr))}),(0,_.Z)(this,"getFieldValue",function(It){rt.warningUnhooked();var ht=mr(It);return(0,Fr.Z)(rt.store,ht)}),(0,_.Z)(this,"getFieldsError",function(It){rt.warningUnhooked();var ht=rt.getFieldEntitiesForNamePathList(It);return ht.map(function(lr,dr){return lr&&!("INVALIDATE_NAME_PATH"in lr)?{name:lr.getNamePath(),errors:lr.getErrors(),warnings:lr.getWarnings()}:{name:mr(It[dr]),errors:[],warnings:[]}})}),(0,_.Z)(this,"getFieldError",function(It){rt.warningUnhooked();var ht=mr(It),lr=rt.getFieldsError([ht])[0];return lr.errors}),(0,_.Z)(this,"getFieldWarning",function(It){rt.warningUnhooked();var ht=mr(It),lr=rt.getFieldsError([ht])[0];return lr.warnings}),(0,_.Z)(this,"isFieldsTouched",function(){rt.warningUnhooked();for(var It=arguments.length,ht=new Array(It),lr=0;lr<It;lr++)ht[lr]=arguments[lr];var dr=ht[0],Ir=ht[1],Zr,Ze=!1;ht.length===0?Zr=null:ht.length===1?Array.isArray(dr)?(Zr=dr.map(mr),Ze=!1):(Zr=null,Ze=dr):(Zr=dr.map(mr),Ze=Ir);var et=rt.getFieldEntities(!0),Ee=function(Or){return Or.isFieldTouched()};if(!Zr)return Ze?et.every(Ee):et.some(Ee);var it=new zn;Zr.forEach(function(Er){it.set(Er,[])}),et.forEach(function(Er){var Or=Er.getNamePath();Zr.forEach(function(Nr){Nr.every(function(bn,Pr){return Or[Pr]===bn})&&it.update(Nr,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(It){return rt.warningUnhooked(),rt.isFieldsTouched([It])}),(0,_.Z)(this,"isFieldsValidating",function(It){rt.warningUnhooked();var ht=rt.getFieldEntities();if(!It)return ht.some(function(dr){return dr.isFieldValidating()});var lr=It.map(mr);return ht.some(function(dr){var Ir=dr.getNamePath();return on(lr,Ir)&&dr.isFieldValidating()})}),(0,_.Z)(this,"isFieldValidating",function(It){return rt.warningUnhooked(),rt.isFieldsValidating([It])}),(0,_.Z)(this,"resetWithFieldInitialValue",function(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ht=new zn,lr=rt.getFieldEntities(!0);lr.forEach(function(Zr){var Ze=Zr.props.initialValue,et=Zr.getNamePath();if(Ze!==void 0){var Ee=ht.get(et)||new Set;Ee.add({entity:Zr,value:Ze}),ht.set(et,Ee)}});var dr=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=ht.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);(!It.skipExist||Er===void 0)&&rt.updateStore((0,Oe.Z)(rt.store,it,(0,h.Z)(Dr)[0].value))}}}})},Ir;It.entities?Ir=It.entities:It.namePathList?(Ir=[],It.namePathList.forEach(function(Zr){var Ze=ht.get(Zr);if(Ze){var et;(et=Ir).push.apply(et,(0,h.Z)((0,h.Z)(Ze).map(function(Ee){return Ee.entity})))}})):Ir=lr,dr(Ir)}),(0,_.Z)(this,"resetFields",function(It){rt.warningUnhooked();var ht=rt.store;if(!It){rt.updateStore((0,Oe.T)(rt.initialValues)),rt.resetWithFieldInitialValue(),rt.notifyObservers(ht,null,{type:"reset"}),rt.notifyWatch();return}var lr=It.map(mr);lr.forEach(function(dr){var Ir=rt.getInitialValue(dr);rt.updateStore((0,Oe.Z)(rt.store,dr,Ir))}),rt.resetWithFieldInitialValue({namePathList:lr}),rt.notifyObservers(ht,lr,{type:"reset"}),rt.notifyWatch(lr)}),(0,_.Z)(this,"setFields",function(It){rt.warningUnhooked();var ht=rt.store,lr=[];It.forEach(function(dr){var Ir=dr.name,Zr=(0,l.Z)(dr,Li),Ze=mr(Ir);lr.push(Ze),"value"in Zr&&rt.updateStore((0,Oe.Z)(rt.store,Ze,Zr.value)),rt.notifyObservers(ht,[Ze],{type:"setField",data:dr})}),rt.notifyWatch(lr)}),(0,_.Z)(this,"getFields",function(){var It=rt.getFieldEntities(!0),ht=It.map(function(lr){var dr=lr.getNamePath(),Ir=lr.getMeta(),Zr=(0,s.Z)((0,s.Z)({},Ir),{},{name:dr,value:rt.getFieldValue(dr)});return Object.defineProperty(Zr,"originRCField",{value:!0}),Zr});return ht}),(0,_.Z)(this,"initEntityValue",function(It){var ht=It.props.initialValue;if(ht!==void 0){var lr=It.getNamePath(),dr=(0,Fr.Z)(rt.store,lr);dr===void 0&&rt.updateStore((0,Oe.Z)(rt.store,lr,ht))}}),(0,_.Z)(this,"isMergedPreserve",function(It){var ht=It!==void 0?It:rt.preserve;return ht!=null?ht:!0}),(0,_.Z)(this,"registerField",function(It){rt.fieldEntities.push(It);var ht=It.getNamePath();if(rt.notifyWatch([ht]),It.props.initialValue!==void 0){var lr=rt.store;rt.resetWithFieldInitialValue({entities:[It],skipExist:!0}),rt.notifyObservers(lr,[It.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(dr,Ir){var Zr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(rt.fieldEntities=rt.fieldEntities.filter(function(Ee){return Ee!==It}),!rt.isMergedPreserve(Ir)&&(!dr||Zr.length>1)){var Ze=dr?void 0:rt.getInitialValue(ht);if(ht.length&&rt.getFieldValue(ht)!==Ze&&rt.fieldEntities.every(function(Ee){return!fn(Ee.getNamePath(),ht)})){var et=rt.store;rt.updateStore((0,Oe.Z)(et,ht,Ze,!0)),rt.notifyObservers(et,[ht],{type:"remove"}),rt.triggerDependenciesUpdate(et,ht)}}rt.notifyWatch([ht])}}),(0,_.Z)(this,"dispatch",function(It){switch(It.type){case"updateValue":{var ht=It.namePath,lr=It.value;rt.updateValue(ht,lr);break}case"validateField":{var dr=It.namePath,Ir=It.triggerName;rt.validateFields([dr],{triggerName:Ir});break}default:}}),(0,_.Z)(this,"notifyObservers",function(It,ht,lr){if(rt.subscribable){var dr=(0,s.Z)((0,s.Z)({},lr),{},{store:rt.getFieldsValue(!0)});rt.getFieldEntities().forEach(function(Ir){var Zr=Ir.onStoreChange;Zr(It,ht,dr)})}else rt.forceRootUpdate()}),(0,_.Z)(this,"triggerDependenciesUpdate",function(It,ht){var lr=rt.getDependencyChildrenFields(ht);return lr.length&&rt.validateFields(lr),rt.notifyObservers(It,lr,{type:"dependenciesUpdate",relatedFields:[ht].concat((0,h.Z)(lr))}),lr}),(0,_.Z)(this,"updateValue",function(It,ht){var lr=mr(It),dr=rt.store;rt.updateStore((0,Oe.Z)(rt.store,lr,ht)),rt.notifyObservers(dr,[lr],{type:"valueUpdate",source:"internal"}),rt.notifyWatch([lr]);var Ir=rt.triggerDependenciesUpdate(dr,lr),Zr=rt.callbacks.onValuesChange;if(Zr){var Ze=jr(rt.store,[lr]);Zr(Ze,rt.getFieldsValue())}rt.triggerOnFieldsChange([lr].concat((0,h.Z)(Ir)))}),(0,_.Z)(this,"setFieldsValue",function(It){rt.warningUnhooked();var ht=rt.store;if(It){var lr=(0,Oe.T)(rt.store,It);rt.updateStore(lr)}rt.notifyObservers(ht,null,{type:"valueUpdate",source:"external"}),rt.notifyWatch()}),(0,_.Z)(this,"setFieldValue",function(It,ht){rt.setFields([{name:It,value:ht}])}),(0,_.Z)(this,"getDependencyChildrenFields",function(It){var ht=new Set,lr=[],dr=new zn;rt.getFieldEntities().forEach(function(Zr){var Ze=Zr.props.dependencies;(Ze||[]).forEach(function(et){var Ee=mr(et);dr.update(Ee,function(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return it.add(Zr),it})})});var Ir=function Zr(Ze){var et=dr.get(Ze)||new Set;et.forEach(function(Ee){if(!ht.has(Ee)){ht.add(Ee);var it=Ee.getNamePath();Ee.isFieldDirty()&&it.length&&(lr.push(it),Zr(it))}})};return Ir(It),lr}),(0,_.Z)(this,"triggerOnFieldsChange",function(It,ht){var lr=rt.callbacks.onFieldsChange;if(lr){var dr=rt.getFields();if(ht){var Ir=new zn;ht.forEach(function(Ze){var et=Ze.name,Ee=Ze.errors;Ir.set(et,Ee)}),dr.forEach(function(Ze){Ze.errors=Ir.get(Ze.name)||Ze.errors})}var Zr=dr.filter(function(Ze){var et=Ze.name;return on(It,et)});Zr.length&&lr(Zr,dr)}}),(0,_.Z)(this,"validateFields",function(It,ht){var lr;rt.warningUnhooked();var dr,Ir;Array.isArray(It)||typeof It=="string"||typeof ht=="string"?(dr=It,Ir=ht):Ir=It;var Zr=!!dr,Ze=Zr?dr.map(mr):[],et=[],Ee=String(Date.now()),it=new Set,ir=(lr=Ir)===null||lr===void 0?void 0:lr.recursive;rt.getFieldEntities(!0).forEach(function(Nr){if(Zr||Ze.push(Nr.getNamePath()),!(!Nr.props.rules||!Nr.props.rules.length)){var bn=Nr.getNamePath();if(it.add(bn.join(Ee)),!Zr||on(Ze,bn,ir)){var Pr=Nr.validateRules((0,s.Z)({validateMessages:(0,s.Z)((0,s.Z)({},At),rt.validateMessages)},Ir));et.push(Pr.then(function(){return{name:bn,errors:[],warnings:[]}}).catch(function(ln){var nn,cn=[],An=[];return(nn=ln.forEach)===null||nn===void 0||nn.call(ln,function(pa){var Pi=pa.rule.warningOnly,bi=pa.errors;Pi?An.push.apply(An,(0,h.Z)(bi)):cn.push.apply(cn,(0,h.Z)(bi))}),cn.length?Promise.reject({name:bn,errors:cn,warnings:An}):{name:bn,errors:cn,warnings:An}}))}}});var Dr=Xr(et);rt.lastValidatePromise=Dr,Dr.catch(function(Nr){return Nr}).then(function(Nr){var bn=Nr.map(function(Pr){var ln=Pr.name;return ln});rt.notifyObservers(rt.store,bn,{type:"validateFinish"}),rt.triggerOnFieldsChange(bn,Nr)});var Er=Dr.then(function(){return rt.lastValidatePromise===Dr?Promise.resolve(rt.getFieldsValue(Ze)):Promise.reject([])}).catch(function(Nr){var bn=Nr.filter(function(Pr){return Pr&&Pr.errors.length});return Promise.reject({values:rt.getFieldsValue(Ze),errorFields:bn,outOfDate:rt.lastValidatePromise!==Dr})});Er.catch(function(Nr){return Nr});var Or=Ze.filter(function(Nr){return it.has(Nr.join(Ee))});return rt.triggerOnFieldsChange(Or),Er}),(0,_.Z)(this,"submit",function(){rt.warningUnhooked(),rt.validateFields().then(function(It){var ht=rt.callbacks.onFinish;if(ht)try{ht(It)}catch(lr){console.error(lr)}}).catch(function(It){var ht=rt.callbacks.onFinishFailed;ht&&ht(It)})}),this.forceRootUpdate=pt});function mi(er){var pt=r.useRef(),rt=r.useState({}),It=(0,cr.Z)(rt,2),ht=It[1];if(!pt.current)if(er)pt.current=er;else{var lr=function(){ht({})},dr=new ui(lr);pt.current=dr.getForm()}return[pt.current]}var wi=mi,gi=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Xi=function(pt){var rt=pt.validateMessages,It=pt.onFormChange,ht=pt.onFormFinish,lr=pt.children,dr=r.useContext(gi),Ir=r.useRef({});return r.createElement(gi.Provider,{value:(0,s.Z)((0,s.Z)({},dr),{},{validateMessages:(0,s.Z)((0,s.Z)({},dr.validateMessages),rt),triggerFormChange:function(Ze,et){It&&It(Ze,{changedFields:et,forms:Ir.current}),dr.triggerFormChange(Ze,et)},triggerFormFinish:function(Ze,et){ht&&ht(Ze,{values:et,forms:Ir.current}),dr.triggerFormFinish(Ze,et)},registerForm:function(Ze,et){Ze&&(Ir.current=(0,s.Z)((0,s.Z)({},Ir.current),{},(0,_.Z)({},Ze,et))),dr.registerForm(Ze,et)},unregisterForm:function(Ze){var et=(0,s.Z)({},Ir.current);delete et[Ze],Ir.current=et,dr.unregisterForm(Ze)}})},lr)},qn=gi,Yi=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Et=function(pt,rt){var It=pt.name,ht=pt.initialValues,lr=pt.fields,dr=pt.form,Ir=pt.preserve,Zr=pt.children,Ze=pt.component,et=Ze===void 0?"form":Ze,Ee=pt.validateMessages,it=pt.validateTrigger,ir=it===void 0?"onChange":it,Dr=pt.onValuesChange,Er=pt.onFieldsChange,Or=pt.onFinish,Nr=pt.onFinishFailed,bn=(0,l.Z)(pt,Yi),Pr=r.useContext(qn),ln=wi(dr),nn=(0,cr.Z)(ln,1),cn=nn[0],An=cn.getInternalHooks(L),pa=An.useSubscribe,Pi=An.setInitialValues,bi=An.setCallbacks,_n=An.setValidateMessages,li=An.setPreserve,$i=An.destroyForm;r.useImperativeHandle(rt,function(){return cn}),r.useEffect(function(){return Pr.registerForm(It,cn),function(){Pr.unregisterForm(It)}},[Pr,cn,It]),_n((0,s.Z)((0,s.Z)({},Pr.validateMessages),Ee)),bi({onValuesChange:Dr,onFieldsChange:function(xi){if(Pr.triggerFormChange(It,xi),Er){for(var Ga=arguments.length,Ds=new Array(Ga>1?Ga-1:0),ji=1;ji<Ga;ji++)Ds[ji-1]=arguments[ji];Er.apply(void 0,[xi].concat(Ds))}},onFinish:function(xi){Pr.triggerFormFinish(It,xi),Or&&Or(xi)},onFinishFailed:Nr}),li(Ir);var la=r.useRef(null);Pi(ht,!la.current),la.current||(la.current=!0),r.useEffect(function(){return $i},[]);var xs,Pa=typeof Zr=="function";if(Pa){var Na=cn.getFieldsValue(!0);xs=Zr(Na,cn)}else xs=Zr;pa(!Pa);var Is=r.useRef();r.useEffect(function(){or(Is.current||[],lr||[])||cn.setFields(lr||[]),Is.current=lr},[lr,cn]);var $a=r.useMemo(function(){return(0,s.Z)((0,s.Z)({},cn),{},{validateTrigger:ir})},[cn,ir]),hs=r.createElement(j.Provider,{value:null},r.createElement(M.Provider,{value:$a},xs));return et===!1?hs:r.createElement(et,(0,i.Z)({},bn,{onSubmit:function(xi){xi.preventDefault(),xi.stopPropagation(),cn.submit()},onReset:function(xi){var Ga;xi.preventDefault(),cn.resetFields(),(Ga=bn.onReset)===null||Ga===void 0||Ga.call(bn,xi)}}),hs)},ot=Et;function Jn(er){try{return JSON.stringify(er)}catch(pt){return Math.random()}}var Ai=function(){};function ei(){for(var er=arguments.length,pt=new Array(er),rt=0;rt<er;rt++)pt[rt]=arguments[rt];var It=pt[0],ht=It===void 0?[]:It,lr=pt[1],dr=lr===void 0?{}:lr,Ir=X(dr)?{form:dr}:dr,Zr=Ir.form,Ze=(0,r.useState)(),et=(0,cr.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)(M),Or=Zr||Er,Nr=Or&&Or._init,bn=mr(ht),Pr=(0,r.useRef)(bn);return Pr.current=bn,Ai(bn),(0,r.useEffect)(function(){if(Nr){var ln=Or.getFieldsValue,nn=Or.getInternalHooks,cn=nn(L),An=cn.registerWatch,pa=An(function(bi,_n){var li=(0,Fr.Z)(Ir.preserve?_n:bi,Pr.current),$i=Jn(li);Dr.current!==$i&&(Dr.current=$i,it(li))}),Pi=(0,Fr.Z)(Ir.preserve?ln(!0):ln(),Pr.current);return Ee!==Pi&&it(Pi),pa}},[Nr]),Ee}var Gi=ei,yi=r.forwardRef(ot),ai=yi;ai.FormProvider=Xi,ai.Field=Kr,ai.List=Ct,ai.useForm=wi,ai.useWatch=Gi;var En=ai},77900:function(d,v,e){"use strict";e.r(v),e.d(v,{CSSMotionList:function(){return Fe},Provider:function(){return _},default:function(){return fe}});var r=e(18082),i=e(20049),l=e(52456),c=e(10928),f=e(92310),s=e.n(f),h=e(76846),u=e(8654),a=e(59301),x=e(5883),p=["children"],y=a.createContext({});function _(pe){var Pt=pe.children,Ce=(0,x.Z)(pe,p);return a.createElement(y.Provider,{value:Ce},Pt)}var b=e(6487),S=e(56789),R=e(7942),L=e(76773),T=function(pe){(0,R.Z)(Ce,pe);var Pt=(0,L.Z)(Ce);function Ce(){return(0,b.Z)(this,Ce),Pt.apply(this,arguments)}return(0,S.Z)(Ce,[{key:"render",value:function(){return this.props.children}}]),Ce}(a.Component),D=T,M=e(70425),N=e(41799),j=e(6089);function Q(pe){var Pt=a.useReducer(function(wt){return wt+1},0),Ce=(0,l.Z)(Pt,2),ft=Ce[1],Ut=a.useRef(pe),At=(0,j.Z)(function(){return Ut.current}),Oe=(0,j.Z)(function(wt){Ut.current=typeof wt=="function"?wt(Ut.current):wt,ft()});return[At,Oe]}var X="none",Y="appear",oe="enter",ie="leave",ue="none",K="prepare",V="start",G="active",te="end",q="prepared",J=e(47273);function le(pe,Pt){var Ce={};return Ce[pe.toLowerCase()]=Pt.toLowerCase(),Ce["Webkit".concat(pe)]="webkit".concat(Pt),Ce["Moz".concat(pe)]="moz".concat(Pt),Ce["ms".concat(pe)]="MS".concat(Pt),Ce["O".concat(pe)]="o".concat(Pt.toLowerCase()),Ce}function z(pe,Pt){var Ce={animationend:le("Animation","AnimationEnd"),transitionend:le("Transition","TransitionEnd")};return pe&&("AnimationEvent"in Pt||delete Ce.animationend.animation,"TransitionEvent"in Pt||delete Ce.transitionend.transition),Ce}var F=z((0,J.Z)(),typeof window!="undefined"?window:{}),se={};if((0,J.Z)()){var _e=document.createElement("div");se=_e.style}var Pe={};function Re(pe){if(Pe[pe])return Pe[pe];var Pt=F[pe];if(Pt)for(var Ce=Object.keys(Pt),ft=Ce.length,Ut=0;Ut<ft;Ut+=1){var At=Ce[Ut];if(Object.prototype.hasOwnProperty.call(Pt,At)&&At in se)return Pe[pe]=Pt[At],Pe[pe]}return""}var He=Re("animationend"),je=Re("transitionend"),Zt=!!(He&&je),yt=He||"animationend",Dt=je||"transitionend";function Qt(pe,Pt){if(!pe)return null;if((0,c.Z)(pe)==="object"){var Ce=Pt.replace(/-\w/g,function(ft){return ft[1].toUpperCase()});return pe[Ce]}return"".concat(pe,"-").concat(Pt)}var Jt=function(pe){var Pt=(0,a.useRef)();function Ce(Ut){Ut&&(Ut.removeEventListener(Dt,pe),Ut.removeEventListener(yt,pe))}function ft(Ut){Pt.current&&Pt.current!==Ut&&Ce(Pt.current),Ut&&Ut!==Pt.current&&(Ut.addEventListener(Dt,pe),Ut.addEventListener(yt,pe),Pt.current=Ut)}return a.useEffect(function(){return function(){Ce(Pt.current)}},[]),[ft,Ce]},qt=(0,J.Z)()?a.useLayoutEffect:a.useEffect,Xe=qt,Tt=e(16089),jt=function(){var pe=a.useRef(null);function Pt(){Tt.Z.cancel(pe.current)}function Ce(ft){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Pt();var At=(0,Tt.Z)(function(){Ut<=1?ft({isCanceled:function(){return At!==pe.current}}):Ce(ft,Ut-1)});pe.current=At}return a.useEffect(function(){return function(){Pt()}},[]),[Ce,Pt]},st=[K,V,G,te],gt=[K,q],dt=!1,Je=!0;function Ue(pe){return pe===G||pe===te}var ge=function(pe,Pt,Ce){var ft=(0,N.Z)(ue),Ut=(0,l.Z)(ft,2),At=Ut[0],Oe=Ut[1],wt=jt(),be=(0,l.Z)(wt,2),Ke=be[0],mt=be[1];function kt(){Oe(K,!0)}var Be=Pt?gt:st;return Xe(function(){if(At!==ue&&At!==te){var kr=Be.indexOf(At),St=Be[kr+1],Vr=Ce(At);Vr===dt?Oe(St,!0):St&&Ke(function(Jr){function Ar(){Jr.isCanceled()||Oe(St,!0)}Vr===!0?Ar():Promise.resolve(Vr).then(Ar)})}},[pe,At]),a.useEffect(function(){return function(){mt()}},[]),[kt,At]};function Se(pe,Pt,Ce,ft){var Ut=ft.motionEnter,At=Ut===void 0?!0:Ut,Oe=ft.motionAppear,wt=Oe===void 0?!0:Oe,be=ft.motionLeave,Ke=be===void 0?!0:be,mt=ft.motionDeadline,kt=ft.motionLeaveImmediately,Be=ft.onAppearPrepare,kr=ft.onEnterPrepare,St=ft.onLeavePrepare,Vr=ft.onAppearStart,Jr=ft.onEnterStart,Ar=ft.onLeaveStart,Fr=ft.onAppearActive,mr=ft.onEnterActive,jr=ft.onLeaveActive,on=ft.onAppearEnd,fn=ft.onEnterEnd,or=ft.onLeaveEnd,Rt=ft.onVisibleChanged,_t=(0,N.Z)(),vt=(0,l.Z)(_t,2),Bt=vt[0],Cr=vt[1],gr=Q(X),rn=(0,l.Z)(gr,2),Kr=rn[0],Pn=rn[1],Ct=(0,N.Z)(null),cr=(0,l.Z)(Ct,2),Xr=cr[0],pn=cr[1],$n=Kr(),si=(0,a.useRef)(!1),zn=(0,a.useRef)(null);function Li(){return Ce()}var ui=(0,a.useRef)(!1);function mi(){Pn(X),pn(null,!0)}var wi=(0,M.useEvent)(function(er){var pt=Kr();if(pt!==X){var rt=Li();if(!(er&&!er.deadline&&er.target!==rt)){var It=ui.current,ht;pt===Y&&It?ht=on==null?void 0:on(rt,er):pt===oe&&It?ht=fn==null?void 0:fn(rt,er):pt===ie&&It&&(ht=or==null?void 0:or(rt,er)),It&&ht!==!1&&mi()}}}),gi=Jt(wi),Xi=(0,l.Z)(gi,1),qn=Xi[0],Yi=function(pt){switch(pt){case Y:return(0,r.Z)((0,r.Z)((0,r.Z)({},K,Be),V,Vr),G,Fr);case oe:return(0,r.Z)((0,r.Z)((0,r.Z)({},K,kr),V,Jr),G,mr);case ie:return(0,r.Z)((0,r.Z)((0,r.Z)({},K,St),V,Ar),G,jr);default:return{}}},Et=a.useMemo(function(){return Yi($n)},[$n]),ot=ge($n,!pe,function(er){if(er===K){var pt=Et[K];return pt?pt(Li()):dt}if(ei in Et){var rt;pn(((rt=Et[ei])===null||rt===void 0?void 0:rt.call(Et,Li(),null))||null)}return ei===G&&$n!==X&&(qn(Li()),mt>0&&(clearTimeout(zn.current),zn.current=setTimeout(function(){wi({deadline:!0})},mt))),ei===q&&mi(),Je}),Jn=(0,l.Z)(ot,2),Ai=Jn[0],ei=Jn[1],Gi=Ue(ei);ui.current=Gi;var yi=(0,a.useRef)(null);Xe(function(){if(!(si.current&&yi.current===Pt)){Cr(Pt);var er=si.current;si.current=!0;var pt;!er&&Pt&&wt&&(pt=Y),er&&Pt&&At&&(pt=oe),(er&&!Pt&&Ke||!er&&kt&&!Pt&&Ke)&&(pt=ie);var rt=Yi(pt);pt&&(pe||rt[K])?(Pn(pt),Ai()):Pn(X),yi.current=Pt}},[Pt]),(0,a.useEffect)(function(){($n===Y&&!wt||$n===oe&&!At||$n===ie&&!Ke)&&Pn(X)},[wt,At,Ke]),(0,a.useEffect)(function(){return function(){si.current=!1,clearTimeout(zn.current)}},[]);var ai=a.useRef(!1);(0,a.useEffect)(function(){Bt&&(ai.current=!0),Bt!==void 0&&$n===X&&((ai.current||Bt)&&(Rt==null||Rt(Bt)),ai.current=!0)},[Bt,$n]);var En=Xr;return Et[K]&&ei===V&&(En=(0,i.Z)({transition:"none"},En)),[$n,ei,En,Bt!=null?Bt:Pt]}function Me(pe){var Pt=pe;(0,c.Z)(pe)==="object"&&(Pt=pe.transitionSupport);function Ce(Ut,At){return!!(Ut.motionName&&Pt&&At!==!1)}var ft=a.forwardRef(function(Ut,At){var Oe=Ut.visible,wt=Oe===void 0?!0:Oe,be=Ut.removeOnLeave,Ke=be===void 0?!0:be,mt=Ut.forceRender,kt=Ut.children,Be=Ut.motionName,kr=Ut.leavedClassName,St=Ut.eventProps,Vr=a.useContext(y),Jr=Vr.motion,Ar=Ce(Ut,Jr),Fr=(0,a.useRef)(),mr=(0,a.useRef)();function jr(){try{return Fr.current instanceof HTMLElement?Fr.current:(0,h.ZP)(mr.current)}catch(cr){return null}}var on=Se(Ar,wt,jr,Ut),fn=(0,l.Z)(on,4),or=fn[0],Rt=fn[1],_t=fn[2],vt=fn[3],Bt=a.useRef(vt);vt&&(Bt.current=!0);var Cr=a.useCallback(function(cr){Fr.current=cr,(0,u.mH)(At,cr)},[At]),gr,rn=(0,i.Z)((0,i.Z)({},St),{},{visible:wt});if(!kt)gr=null;else if(or===X)vt?gr=kt((0,i.Z)({},rn),Cr):!Ke&&Bt.current&&kr?gr=kt((0,i.Z)((0,i.Z)({},rn),{},{className:kr}),Cr):mt||!Ke&&!kr?gr=kt((0,i.Z)((0,i.Z)({},rn),{},{style:{display:"none"}}),Cr):gr=null;else{var Kr;Rt===K?Kr="prepare":Ue(Rt)?Kr="active":Rt===V&&(Kr="start");var Pn=Qt(Be,"".concat(or,"-").concat(Kr));gr=kt((0,i.Z)((0,i.Z)({},rn),{},{className:s()(Qt(Be,or),(0,r.Z)((0,r.Z)({},Pn,Pn&&Kr),Be,typeof Be=="string")),style:_t}),Cr)}if(a.isValidElement(gr)&&(0,u.Yr)(gr)){var Ct=(0,u.C4)(gr);Ct||(gr=a.cloneElement(gr,{ref:Cr}))}return a.createElement(D,{ref:mr},gr)});return ft.displayName="CSSMotion",ft}var $e=Me(Zt),We=e(5016),nt=e(41281),lt="add",Vt="keep",Ht="remove",Ie="removed";function qe(pe){var Pt;return pe&&(0,c.Z)(pe)==="object"&&"key"in pe?Pt=pe:Pt={key:pe},(0,i.Z)((0,i.Z)({},Pt),{},{key:String(Pt.key)})}function Gt(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return pe.map(qe)}function Ot(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ce=[],ft=0,Ut=Pt.length,At=Gt(pe),Oe=Gt(Pt);At.forEach(function(Ke){for(var mt=!1,kt=ft;kt<Ut;kt+=1){var Be=Oe[kt];if(Be.key===Ke.key){ft<kt&&(Ce=Ce.concat(Oe.slice(ft,kt).map(function(kr){return(0,i.Z)((0,i.Z)({},kr),{},{status:lt})})),ft=kt),Ce.push((0,i.Z)((0,i.Z)({},Be),{},{status:Vt})),ft+=1,mt=!0;break}}mt||Ce.push((0,i.Z)((0,i.Z)({},Ke),{},{status:Ht}))}),ft<Ut&&(Ce=Ce.concat(Oe.slice(ft).map(function(Ke){return(0,i.Z)((0,i.Z)({},Ke),{},{status:lt})})));var wt={};Ce.forEach(function(Ke){var mt=Ke.key;wt[mt]=(wt[mt]||0)+1});var be=Object.keys(wt).filter(function(Ke){return wt[Ke]>1});return be.forEach(function(Ke){Ce=Ce.filter(function(mt){var kt=mt.key,Be=mt.status;return kt!==Ke||Be!==Ht}),Ce.forEach(function(mt){mt.key===Ke&&(mt.status=Vt)})}),Ce}var zt=["component","children","onVisibleChanged","onAllRemoved"],$t=["status"],tr=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Wt(pe){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e,Ce=function(ft){(0,R.Z)(At,ft);var Ut=(0,L.Z)(At);function At(){var Oe;(0,b.Z)(this,At);for(var wt=arguments.length,be=new Array(wt),Ke=0;Ke<wt;Ke++)be[Ke]=arguments[Ke];return Oe=Ut.call.apply(Ut,[this].concat(be)),(0,r.Z)((0,nt.Z)(Oe),"state",{keyEntities:[]}),(0,r.Z)((0,nt.Z)(Oe),"removeKey",function(mt){Oe.setState(function(kt){var Be=kt.keyEntities.map(function(kr){return kr.key!==mt?kr:(0,i.Z)((0,i.Z)({},kr),{},{status:Ie})});return{keyEntities:Be}},function(){var kt=Oe.state.keyEntities,Be=kt.filter(function(kr){var St=kr.status;return St!==Ie}).length;Be===0&&Oe.props.onAllRemoved&&Oe.props.onAllRemoved()})}),Oe}return(0,S.Z)(At,[{key:"render",value:function(){var wt=this,be=this.state.keyEntities,Ke=this.props,mt=Ke.component,kt=Ke.children,Be=Ke.onVisibleChanged,kr=Ke.onAllRemoved,St=(0,x.Z)(Ke,zt),Vr=mt||a.Fragment,Jr={};return tr.forEach(function(Ar){Jr[Ar]=St[Ar],delete St[Ar]}),delete St.keys,a.createElement(Vr,St,be.map(function(Ar,Fr){var mr=Ar.status,jr=(0,x.Z)(Ar,$t),on=mr===lt||mr===Vt;return a.createElement(Pt,(0,We.Z)({},Jr,{key:jr.key,visible:on,eventProps:jr,onVisibleChanged:function(or){Be==null||Be(or,{key:jr.key}),or||wt.removeKey(jr.key)}}),function(fn,or){return kt((0,i.Z)((0,i.Z)({},fn),{},{index:Fr}),or)})}))}}],[{key:"getDerivedStateFromProps",value:function(wt,be){var Ke=wt.keys,mt=be.keyEntities,kt=Gt(Ke),Be=Ot(mt,kt);return{keyEntities:Be.filter(function(kr){var St=mt.find(function(Vr){var Jr=Vr.key;return kr.key===Jr});return!(St&&St.status===Ie&&kr.status===Ht)})}}}]),At}(a.Component);return(0,r.Z)(Ce,"defaultProps",{component:"div"}),Ce}var Fe=Wt(Zt),fe=$e},581:function(d,v,e){"use strict";e.d(v,{qX:function(){return b},JB:function(){return L},lm:function(){return oe}});var r=e(92393),i=e(52456),l=e(5883),c=e(59301),f=e(20049),s=e(4676),h=e(5016),u=e(92310),a=e.n(u),x=e(77900),p=e(18082),y=e(10228),_=c.forwardRef(function(ie,ue){var K=ie.prefixCls,V=ie.style,G=ie.className,te=ie.duration,q=te===void 0?4.5:te,J=ie.eventKey,le=ie.content,z=ie.closable,F=ie.closeIcon,se=F===void 0?"x":F,_e=ie.props,Pe=ie.onClick,Re=ie.onNoticeClose,He=ie.times,je=c.useState(!1),Zt=(0,i.Z)(je,2),yt=Zt[0],Dt=Zt[1],Qt=function(){Re(J)},Jt=function(Tt){(Tt.key==="Enter"||Tt.code==="Enter"||Tt.keyCode===y.Z.ENTER)&&Qt()};c.useEffect(function(){if(!yt&&q>0){var Xe=setTimeout(function(){Qt()},q*1e3);return function(){clearTimeout(Xe)}}},[q,yt,He]);var qt="".concat(K,"-notice");return c.createElement("div",(0,h.Z)({},_e,{ref:ue,className:a()(qt,G,(0,p.Z)({},"".concat(qt,"-closable"),z)),style:V,onMouseEnter:function(){Dt(!0)},onMouseLeave:function(){Dt(!1)},onClick:Pe}),c.createElement("div",{className:"".concat(qt,"-content")},le),z&&c.createElement("a",{tabIndex:0,className:"".concat(qt,"-close"),onKeyDown:Jt,onClick:function(Tt){Tt.preventDefault(),Tt.stopPropagation(),Qt()}},se))}),b=_,S=c.createContext({}),R=function(ue){var K=ue.children,V=ue.classNames;return c.createElement(S.Provider,{value:{classNames:V}},K)},L=R,T=function(ue){var K=ue.configList,V=ue.placement,G=ue.prefixCls,te=ue.className,q=ue.style,J=ue.motion,le=ue.onAllNoticeRemoved,z=ue.onNoticeClose,F=(0,c.useContext)(S),se=F.classNames,_e=K.map(function(Re){return{config:Re,key:Re.key}}),Pe=typeof J=="function"?J(V):J;return c.createElement(x.CSSMotionList,(0,h.Z)({key:V,className:a()(G,"".concat(G,"-").concat(V),se==null?void 0:se.list,te),style:q,keys:_e,motionAppear:!0},Pe,{onAllRemoved:function(){le(V)}}),function(Re,He){var je=Re.config,Zt=Re.className,yt=Re.style,Dt=je,Qt=Dt.key,Jt=Dt.times,qt=je,Xe=qt.className,Tt=qt.style;return c.createElement(b,(0,h.Z)({},je,{ref:He,prefixCls:G,className:a()(Zt,Xe,se==null?void 0:se.notice),style:(0,f.Z)((0,f.Z)({},yt),Tt),times:Jt,key:Qt,eventKey:Qt,onNoticeClose:z}))})},D=T,M=c.forwardRef(function(ie,ue){var K=ie.prefixCls,V=K===void 0?"rc-notification":K,G=ie.container,te=ie.motion,q=ie.maxCount,J=ie.className,le=ie.style,z=ie.onAllRemoved,F=ie.renderNotifications,se=c.useState([]),_e=(0,i.Z)(se,2),Pe=_e[0],Re=_e[1],He=function(Tt){var jt,st=Pe.find(function(gt){return gt.key===Tt});st==null||(jt=st.onClose)===null||jt===void 0||jt.call(st),Re(function(gt){return gt.filter(function(dt){return dt.key!==Tt})})};c.useImperativeHandle(ue,function(){return{open:function(Tt){Re(function(jt){var st=(0,r.Z)(jt),gt=st.findIndex(function(Ue){return Ue.key===Tt.key}),dt=(0,f.Z)({},Tt);if(gt>=0){var Je;dt.times=(((Je=jt[gt])===null||Je===void 0?void 0:Je.times)||0)+1,st[gt]=dt}else dt.times=0,st.push(dt);return q>0&&st.length>q&&(st=st.slice(-q)),st})},close:function(Tt){He(Tt)},destroy:function(){Re([])}}});var je=c.useState({}),Zt=(0,i.Z)(je,2),yt=Zt[0],Dt=Zt[1];c.useEffect(function(){var Xe={};Pe.forEach(function(Tt){var jt=Tt.placement,st=jt===void 0?"topRight":jt;st&&(Xe[st]=Xe[st]||[],Xe[st].push(Tt))}),Object.keys(yt).forEach(function(Tt){Xe[Tt]=Xe[Tt]||[]}),Dt(Xe)},[Pe]);var Qt=function(Tt){Dt(function(jt){var st=(0,f.Z)({},jt),gt=st[Tt]||[];return gt.length||delete st[Tt],st})},Jt=c.useRef(!1);if(c.useEffect(function(){Object.keys(yt).length>0?Jt.current=!0:Jt.current&&(z==null||z(),Jt.current=!1)},[yt]),!G)return null;var qt=Object.keys(yt);return(0,s.createPortal)(c.createElement(c.Fragment,null,qt.map(function(Xe){var Tt=yt[Xe],jt=c.createElement(D,{key:Xe,configList:Tt,placement:Xe,prefixCls:V,className:J==null?void 0:J(Xe),style:le==null?void 0:le(Xe),motion:te,onNoticeClose:He,onAllNoticeRemoved:Qt});return F?F(jt,{prefixCls:V,key:Xe}):jt})),G)}),N=M,j=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],Q=function(){return document.body},X=0;function Y(){for(var ie={},ue=arguments.length,K=new Array(ue),V=0;V<ue;V++)K[V]=arguments[V];return K.forEach(function(G){G&&Object.keys(G).forEach(function(te){var q=G[te];q!==void 0&&(ie[te]=q)})}),ie}function oe(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ue=ie.getContainer,K=ue===void 0?Q:ue,V=ie.motion,G=ie.prefixCls,te=ie.maxCount,q=ie.className,J=ie.style,le=ie.onAllRemoved,z=ie.renderNotifications,F=(0,l.Z)(ie,j),se=c.useState(),_e=(0,i.Z)(se,2),Pe=_e[0],Re=_e[1],He=c.useRef(),je=c.createElement(N,{container:Pe,ref:He,prefixCls:G,motion:V,maxCount:te,className:q,style:J,onAllRemoved:le,renderNotifications:z}),Zt=c.useState([]),yt=(0,i.Z)(Zt,2),Dt=yt[0],Qt=yt[1],Jt=c.useMemo(function(){return{open:function(Xe){var Tt=Y(F,Xe);(Tt.key===null||Tt.key===void 0)&&(Tt.key="rc-notification-".concat(X),X+=1),Qt(function(jt){return[].concat((0,r.Z)(jt),[{type:"open",config:Tt}])})},close:function(Xe){Qt(function(Tt){return[].concat((0,r.Z)(Tt),[{type:"close",key:Xe}])})},destroy:function(){Qt(function(Xe){return[].concat((0,r.Z)(Xe),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){Re(K())}),c.useEffect(function(){He.current&&Dt.length&&(Dt.forEach(function(qt){switch(qt.type){case"open":He.current.open(qt.config);break;case"close":He.current.close(qt.key);break;case"destroy":He.current.destroy();break}}),Qt(function(qt){return qt.filter(function(Xe){return!Dt.includes(Xe)})}))},[Dt]),[Jt,je]}},22075:function(d,v){"use strict";v.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,v){"use strict";v.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,v,e){"use strict";e.d(v,{Z:function(){return V}});var r=e(5016),i=e(59301),l=e(11592),c=e(48736),f=e(20049),s=e(10928),h=e(76846),u=e(8654),a=i.createContext(null);function x(G){var te=G.children,q=G.onBatchResize,J=i.useRef(0),le=i.useRef([]),z=i.useContext(a),F=i.useCallback(function(se,_e,Pe){J.current+=1;var Re=J.current;le.current.push({size:se,element:_e,data:Pe}),Promise.resolve().then(function(){Re===J.current&&(q==null||q(le.current),le.current=[])}),z==null||z(se,_e,Pe)},[q,z]);return i.createElement(a.Provider,{value:F},te)}var p=e(76374),y=new Map;function _(G){G.forEach(function(te){var q,J=te.target;(q=y.get(J))===null||q===void 0||q.forEach(function(le){return le(J)})})}var b=new p.Z(_),S=null,R=null;function L(G,te){y.has(G)||(y.set(G,new Set),b.observe(G)),y.get(G).add(te)}function T(G,te){y.has(G)&&(y.get(G).delete(te),y.get(G).size||(b.unobserve(G),y.delete(G)))}var D=e(6487),M=e(56789),N=e(7942),j=e(76773),Q=function(G){(0,N.Z)(q,G);var te=(0,j.Z)(q);function q(){return(0,D.Z)(this,q),te.apply(this,arguments)}return(0,M.Z)(q,[{key:"render",value:function(){return this.props.children}}]),q}(i.Component);function X(G,te){var q=G.children,J=G.disabled,le=i.useRef(null),z=i.useRef(null),F=i.useContext(a),se=typeof q=="function",_e=se?q(le):q,Pe=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Re=!se&&i.isValidElement(_e)&&(0,u.Yr)(_e),He=Re?(0,u.C4)(_e):null,je=(0,u.x1)(He,le),Zt=function(){var Jt;return(0,h.ZP)(le.current)||(le.current&&(0,s.Z)(le.current)==="object"?(0,h.ZP)((Jt=le.current)===null||Jt===void 0?void 0:Jt.nativeElement):null)||(0,h.ZP)(z.current)};i.useImperativeHandle(te,function(){return Zt()});var yt=i.useRef(G);yt.current=G;var Dt=i.useCallback(function(Qt){var Jt=yt.current,qt=Jt.onResize,Xe=Jt.data,Tt=Qt.getBoundingClientRect(),jt=Tt.width,st=Tt.height,gt=Qt.offsetWidth,dt=Qt.offsetHeight,Je=Math.floor(jt),Ue=Math.floor(st);if(Pe.current.width!==Je||Pe.current.height!==Ue||Pe.current.offsetWidth!==gt||Pe.current.offsetHeight!==dt){var ge={width:Je,height:Ue,offsetWidth:gt,offsetHeight:dt};Pe.current=ge;var Se=gt===Math.round(jt)?jt:gt,Me=dt===Math.round(st)?st:dt,$e=(0,f.Z)((0,f.Z)({},ge),{},{offsetWidth:Se,offsetHeight:Me});F==null||F($e,Qt,Xe),qt&&Promise.resolve().then(function(){qt($e,Qt)})}},[]);return i.useEffect(function(){var Qt=Zt();return Qt&&!J&&L(Qt,Dt),function(){return T(Qt,Dt)}},[le.current,J]),i.createElement(Q,{ref:z},Re?i.cloneElement(_e,{ref:je}):_e)}var Y=i.forwardRef(X),oe=Y,ie="rc-observer-key";function ue(G,te){var q=G.children,J=typeof q=="function"?[q]:(0,l.Z)(q);return J.map(function(le,z){var F=(le==null?void 0:le.key)||"".concat(ie,"-").concat(z);return i.createElement(oe,(0,r.Z)({},G,{key:F,ref:z===0?te:void 0}),le)})}var K=i.forwardRef(ue);K.Collection=x;var V=K},55477:function(d,v,e){"use strict";e.d(v,{G:function(){return _},Z:function(){return L}});var r=e(5016),i=e(20049),l=e(5883),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 _(T){var D=T.children,M=T.prefixCls,N=T.id,j=T.overlayInnerStyle,Q=T.className,X=T.style;return f.createElement("div",{className:y()("".concat(M,"-content"),Q),style:X},f.createElement("div",{className:"".concat(M,"-inner"),id:N,role:"tooltip",style:j},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,M){var N=D.overlayClassName,j=D.trigger,Q=j===void 0?["hover"]:j,X=D.mouseEnterDelay,Y=X===void 0?0:X,oe=D.mouseLeaveDelay,ie=oe===void 0?.1:oe,ue=D.overlayStyle,K=D.prefixCls,V=K===void 0?"rc-tooltip":K,G=D.children,te=D.onVisibleChange,q=D.afterVisibleChange,J=D.transitionName,le=D.animation,z=D.motion,F=D.placement,se=F===void 0?"right":F,_e=D.align,Pe=_e===void 0?{}:_e,Re=D.destroyTooltipOnHide,He=Re===void 0?!1:Re,je=D.defaultVisible,Zt=D.getTooltipContainer,yt=D.overlayInnerStyle,Dt=D.arrowContent,Qt=D.overlay,Jt=D.id,qt=D.showArrow,Xe=qt===void 0?!0:qt,Tt=(0,l.Z)(D,b),jt=(0,f.useRef)(null);(0,f.useImperativeHandle)(M,function(){return jt.current});var st=(0,i.Z)({},Tt);"visible"in D&&(st.popupVisible=D.visible);var gt=function(){return f.createElement(_,{key:"content",prefixCls:V,id:Jt,overlayInnerStyle:yt},Qt)};return f.createElement(c.Z,(0,r.Z)({popupClassName:N,prefixCls:V,popup:gt,action:Q,builtinPlacements:a,popupPlacement:se,ref:jt,popupAlign:Pe,getPopupContainer:Zt,onPopupVisibleChange:te,afterPopupVisibleChange:q,popupTransitionName:J,popupAnimation:le,popupMotion:z,defaultPopupVisible:je,autoDestroy:He,mouseLeaveDelay:ie,popupStyle:ue,mouseEnterDelay:Y,arrow:Xe},st),G)},R=(0,f.forwardRef)(S),L=R},11592:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},48519:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{hq:function(){return L},jL:function(){return b}});var r=e(20049),i=e(47273),l=e(48519),c="data-rc-order",f="data-rc-priority",s="rc-util-key",h=new Map;function u(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=T.mark;return D?D.startsWith("data-")?D:"data-".concat(D):s}function a(T){if(T.attachTo)return T.attachTo;var D=document.querySelector("head");return D||document.body}function x(T){return T==="queue"?"prependQueue":T?"prepend":"append"}function p(T){return Array.from((h.get(T)||T).children).filter(function(D){return D.tagName==="STYLE"})}function y(T){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,i.Z)())return null;var M=D.csp,N=D.prepend,j=D.priority,Q=j===void 0?0:j,X=x(N),Y=X==="prependQueue",oe=document.createElement("style");oe.setAttribute(c,X),Y&&Q&&oe.setAttribute(f,"".concat(Q)),M!=null&&M.nonce&&(oe.nonce=M==null?void 0:M.nonce),oe.innerHTML=T;var ie=a(D),ue=ie.firstChild;if(N){if(Y){var K=(D.styles||p(ie)).filter(function(V){if(!["prepend","prependQueue"].includes(V.getAttribute(c)))return!1;var G=Number(V.getAttribute(f)||0);return Q>=G});if(K.length)return ie.insertBefore(oe,K[K.length-1].nextSibling),oe}ie.insertBefore(oe,ue)}else ie.appendChild(oe);return oe}function _(T){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=a(D);return(D.styles||p(M)).find(function(N){return N.getAttribute(u(D))===T})}function b(T){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=_(T,D);if(M){var N=a(D);N.removeChild(M)}}function S(T,D){var M=h.get(T);if(!M||!(0,l.Z)(document,M)){var N=y("",D),j=N.parentNode;h.set(T,j),T.removeChild(N)}}function R(){h.clear()}function L(T,D){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},N=a(M),j=p(N),Q=(0,r.Z)((0,r.Z)({},M),{},{styles:j});S(N,Q);var X=_(D,Q);if(X){var Y,oe;if((Y=Q.csp)!==null&&Y!==void 0&&Y.nonce&&X.nonce!==((oe=Q.csp)===null||oe===void 0?void 0:oe.nonce)){var ie;X.nonce=(ie=Q.csp)===null||ie===void 0?void 0:ie.nonce}return X.innerHTML!==T&&(X.innerHTML=T),X}var ue=y(T,Q);return ue.setAttribute(u(Q),D),ue}},76846:function(d,v,e){"use strict";e.d(v,{Sh:function(){return c},ZP:function(){return s}});var r=e(10928),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,v){"use strict";v.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,v,e){"use strict";e.d(v,{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,v){"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}}};v.Z=e},34678:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(10928),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,v,e){"use strict";var r;e.d(v,{s:function(){return T},v:function(){return Q}});var i=e(85444),l=e(21566),c=e(10928),f=e(20049),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(Y){}function _(Y){var oe=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;oe&&(0,c.Z)(oe)==="object"&&(oe.usingClientEntryPoint=Y)}var b="__rc_react_root__";function S(Y,oe){_(!0);var ie=oe[b]||p(oe);_(!1),ie.render(Y),oe[b]=ie}function R(Y,oe){a==null||a(Y,oe)}function L(Y,oe){}function T(Y,oe){if(p){S(Y,oe);return}R(Y,oe)}function D(Y){return M.apply(this,arguments)}function M(){return M=(0,l.Z)((0,i.Z)().mark(function Y(oe){return(0,i.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.abrupt("return",Promise.resolve().then(function(){var K;(K=oe[b])===null||K===void 0||K.unmount(),delete oe[b]}));case 1:case"end":return ue.stop()}},Y)})),M.apply(this,arguments)}function N(Y){x(Y)}function j(Y){}function Q(Y){return X.apply(this,arguments)}function X(){return X=(0,l.Z)((0,i.Z)().mark(function Y(oe){return(0,i.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:if(p===void 0){ue.next=2;break}return ue.abrupt("return",D(oe));case 2:N(oe);case 3:case"end":return ue.stop()}},Y)})),X.apply(this,arguments)}},75152:function(d,v,e){"use strict";e.d(v,{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(M){console.error(M),x=b,p=S}}document.body.appendChild(u);var T=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:T,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,v,e){"use strict";e.d(v,{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,v,e){"use strict";var r,i=e(52456),l=e(20049),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();v.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,v,e){"use strict";e.d(v,{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)};v.Z=c},80547:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{Z:function(){return s}});var r=e(52456),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],T=p!==void 0?p:R,D=_?_(T):T,M=(0,i.Z)(y),N=(0,c.Z)([T]),j=(0,r.Z)(N,2),Q=j[0],X=j[1];(0,l.o)(function(){var oe=Q[0];R!==oe&&M(R,oe)},[Q]),(0,l.o)(function(){f(p)||L(p)},[p]);var Y=(0,i.Z)(function(oe,ie){L(oe,ie),X([T],ie)});return[D,Y]}},41799:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(52456),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,v,e){"use strict";e.r(v),e.d(v,{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,v,e){"use strict";var r=e(10928),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)}v.Z=l},49658:function(d,v){"use strict";v.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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(20049),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,v){"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)},v.Z=f},8654:function(d,v,e){"use strict";e.d(v,{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(10928),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 T=R.filter(Boolean);return T.length<=1?T[0]:function(D){R.forEach(function(M){h(M,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(T,D){return T.length!==D.length||T.every(function(M,N){return M!==D[N]})})},x=function(S){var R,L;if(!S)return!1;if(p(S)&&s>=19)return!0;var T=(0,l.isMemo)(S)?S.type.type:S.type;return!(typeof T=="function"&&!((R=T.prototype)!==null&&R!==void 0&&R.render)&&T.$$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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{T:function(){return p},Z:function(){return h}});var r=e(10928),i=e(20049),l=e(92393),c=e(74604),f=e(97938);function s(y,_,b,S){if(!_.length)return b;var R=(0,c.Z)(_),L=R[0],T=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&&T.length===1?delete D[L][T[0]]:D[L]=s(D[L],T,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(T,D){var M=new Set(D),N=(0,f.Z)(R,T),j=Array.isArray(N);if(j||u(N)){if(!M.has(N)){M.add(N);var Q=(0,f.Z)(S,T);j?S=h(S,T,[]):(!Q||(0,r.Z)(Q)!=="object")&&(S=h(S,T,a(N))),x(N).forEach(function(X){L([].concat((0,l.Z)(T),[X]),M)})}}else S=h(S,T,N)}L([])}),S}},48736:function(d,v,e){"use strict";e.d(v,{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,v.ZP=u},83145:function(d,v,e){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.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(N){return typeof N}:c=function(N){return N&&typeof Symbol=="function"&&N.constructor===Symbol&&N!==Symbol.prototype?"symbol":typeof N},c(D)}function f(D,M){var N=Object.keys(D);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(D);M&&(j=j.filter(function(Q){return Object.getOwnPropertyDescriptor(D,Q).enumerable})),N.push.apply(N,j)}return N}function s(D){for(var M=1;M<arguments.length;M++){var N=arguments[M]!=null?arguments[M]:{};M%2?f(N,!0).forEach(function(j){L(D,j,N[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(N)):f(N).forEach(function(j){Object.defineProperty(D,j,Object.getOwnPropertyDescriptor(N,j))})}return D}function h(D,M){if(D==null)return{};var N=u(D,M),j,Q;if(Object.getOwnPropertySymbols){var X=Object.getOwnPropertySymbols(D);for(Q=0;Q<X.length;Q++)j=X[Q],!(M.indexOf(j)>=0)&&Object.prototype.propertyIsEnumerable.call(D,j)&&(N[j]=D[j])}return N}function u(D,M){if(D==null)return{};var N={},j=Object.keys(D),Q,X;for(X=0;X<j.length;X++)Q=j[X],!(M.indexOf(Q)>=0)&&(N[Q]=D[Q]);return N}function a(D,M){if(!(D instanceof M))throw new TypeError("Cannot call a class as a function")}function x(D,M){for(var N=0;N<M.length;N++){var j=M[N];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(D,j.key,j)}}function p(D,M,N){return M&&x(D.prototype,M),N&&x(D,N),D}function y(D,M){return M&&(c(M)==="object"||typeof M=="function")?M:b(D)}function _(D){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(N){return N.__proto__||Object.getPrototypeOf(N)},_(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,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(M&&M.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),M&&R(D,M)}function R(D,M){return R=Object.setPrototypeOf||function(j,Q){return j.__proto__=Q,j},R(D,M)}function L(D,M,N){return M in D?Object.defineProperty(D,M,{value:N,enumerable:!0,configurable:!0,writable:!0}):D[M]=N,D}var T=function(D){S(M,D);function M(){var N,j;a(this,M);for(var Q=arguments.length,X=new Array(Q),Y=0;Y<Q;Y++)X[Y]=arguments[Y];return j=y(this,(N=_(M)).call.apply(N,[this].concat(X))),L(b(j),"onClick",function(oe){var ie=j.props,ue=ie.text,K=ie.onCopy,V=ie.children,G=ie.options,te=r.default.Children.only(V),q=(0,i.default)(ue,G);K&&K(ue,q),te&&te.props&&typeof te.props.onClick=="function"&&te.props.onClick(oe)}),j}return p(M,[{key:"render",value:function(){var j=this.props,Q=j.text,X=j.onCopy,Y=j.options,oe=j.children,ie=h(j,["text","onCopy","options","children"]),ue=r.default.Children.only(oe);return r.default.cloneElement(ue,s({},ie,{onClick:this.onClick}))}}]),M}(r.default.PureComponent);v.CopyToClipboard=T,L(T,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(d,v,e){"use strict";var r=e(83145),i=r.CopyToClipboard;i.CopyToClipboard=i,d.exports=i},23675:function(d,v,e){"use strict";var r=e(59301),i=e(84126),l=e(43014);function c(g){for(var A="https://reactjs.org/docs/error-decoder.html?invariant="+g,Z=1;Z<arguments.length;Z++)A+="&args[]="+encodeURIComponent(arguments[Z]);return"Minified React error #"+g+"; 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(g,A){u(g,A),u(g+"Capture",A)}function u(g,A){for(s[g]=A,g=0;g<A.length;g++)f.add(A[g])}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(g){return p.call(_,g)?!0:p.call(y,g)?!1:x.test(g)?_[g]=!0:(y[g]=!0,!1)}function S(g,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:(g=g.toLowerCase().slice(0,5),g!=="data-"&&g!=="aria-");default:return!1}}function R(g,A,Z,ve){if(A===null||typeof A=="undefined"||S(g,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(g,A,Z,ve,Le,ut,Nt){this.acceptsBooleans=A===2||A===3||A===4,this.attributeName=ve,this.attributeNamespace=Le,this.mustUseProperty=Z,this.propertyName=g,this.type=A,this.sanitizeURL=ut,this.removeEmptyString=Nt}var T={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(g){T[g]=new L(g,0,!1,g,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(g){var A=g[0];T[A]=new L(A,1,!1,g[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(g){T[g]=new L(g,2,!1,g.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(g){T[g]=new L(g,2,!1,g,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(g){T[g]=new L(g,3,!1,g.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(g){T[g]=new L(g,3,!0,g,null,!1,!1)}),["capture","download"].forEach(function(g){T[g]=new L(g,4,!1,g,null,!1,!1)}),["cols","rows","size","span"].forEach(function(g){T[g]=new L(g,6,!1,g,null,!1,!1)}),["rowSpan","start"].forEach(function(g){T[g]=new L(g,5,!1,g.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function M(g){return g[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(g){var A=g.replace(D,M);T[A]=new L(A,1,!1,g,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(g){var A=g.replace(D,M);T[A]=new L(A,1,!1,g,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(g){var A=g.replace(D,M);T[A]=new L(A,1,!1,g,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(g){T[g]=new L(g,1,!1,g.toLowerCase(),null,!1,!1)}),T.xlinkHref=new L("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(g){T[g]=new L(g,1,!1,g.toLowerCase(),null,!0,!0)});function N(g,A,Z,ve){var Le=T.hasOwnProperty(A)?T[A]:null,ut=Le!==null?Le.type===0:ve?!1:!(!(2<A.length)||A[0]!=="o"&&A[0]!=="O"||A[1]!=="n"&&A[1]!=="N");ut||(R(A,Z,Le,ve)&&(Z=null),ve||Le===null?b(A)&&(Z===null?g.removeAttribute(A):g.setAttribute(A,""+Z)):Le.mustUseProperty?g[Le.propertyName]=Z===null?Le.type===3?!1:"":Z:(A=Le.attributeName,ve=Le.attributeNamespace,Z===null?g.removeAttribute(A):(Le=Le.type,Z=Le===3||Le===4&&Z===!0?"":""+Z,ve?g.setAttributeNS(ve,A,Z):g.setAttribute(A,Z))))}var j=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Q=60103,X=60106,Y=60107,oe=60108,ie=60114,ue=60109,K=60110,V=60112,G=60113,te=60120,q=60115,J=60116,le=60121,z=60128,F=60129,se=60130,_e=60131;if(typeof Symbol=="function"&&Symbol.for){var Pe=Symbol.for;Q=Pe("react.element"),X=Pe("react.portal"),Y=Pe("react.fragment"),oe=Pe("react.strict_mode"),ie=Pe("react.profiler"),ue=Pe("react.provider"),K=Pe("react.context"),V=Pe("react.forward_ref"),G=Pe("react.suspense"),te=Pe("react.suspense_list"),q=Pe("react.memo"),J=Pe("react.lazy"),le=Pe("react.block"),Pe("react.scope"),z=Pe("react.opaque.id"),F=Pe("react.debug_trace_mode"),se=Pe("react.offscreen"),_e=Pe("react.legacy_hidden")}var Re=typeof Symbol=="function"&&Symbol.iterator;function He(g){return g===null||typeof g!="object"?null:(g=Re&&g[Re]||g["@@iterator"],typeof g=="function"?g:null)}var je;function Zt(g){if(je===void 0)try{throw Error()}catch(Z){var A=Z.stack.trim().match(/\n( *(at )?)/);je=A&&A[1]||""}return`
|
|
|
`+je+g}var yt=!1;function Dt(g,A){if(!g||yt)return"";yt=!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(g,[],A)}else{try{A.call()}catch(P){ve=P}g.call(A.prototype)}else{try{throw Error()}catch(P){ve=P}g()}}catch(P){if(P&&ve&&typeof P.stack=="string"){for(var Le=P.stack.split(`
|
|
|
`),ut=ve.stack.split(`
|
|
|
`),Nt=Le.length-1,rr=ut.length-1;1<=Nt&&0<=rr&&Le[Nt]!==ut[rr];)rr--;for(;1<=Nt&&0<=rr;Nt--,rr--)if(Le[Nt]!==ut[rr]){if(Nt!==1||rr!==1)do if(Nt--,rr--,0>rr||Le[Nt]!==ut[rr])return`
|
|
|
`+Le[Nt].replace(" at new "," at ");while(1<=Nt&&0<=rr);break}}}finally{yt=!1,Error.prepareStackTrace=Z}return(g=g?g.displayName||g.name:"")?Zt(g):""}function Qt(g){switch(g.tag){case 5:return Zt(g.type);case 16:return Zt("Lazy");case 13:return Zt("Suspense");case 19:return Zt("SuspenseList");case 0:case 2:case 15:return g=Dt(g.type,!1),g;case 11:return g=Dt(g.type.render,!1),g;case 22:return g=Dt(g.type._render,!1),g;case 1:return g=Dt(g.type,!0),g;default:return""}}function Jt(g){if(g==null)return null;if(typeof g=="function")return g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case Y:return"Fragment";case X:return"Portal";case ie:return"Profiler";case oe:return"StrictMode";case G:return"Suspense";case te:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case K:return(g.displayName||"Context")+".Consumer";case ue:return(g._context.displayName||"Context")+".Provider";case V:var A=g.render;return A=A.displayName||A.name||"",g.displayName||(A!==""?"ForwardRef("+A+")":"ForwardRef");case q:return Jt(g.type);case le:return Jt(g._render);case J:A=g._payload,g=g._init;try{return Jt(g(A))}catch(Z){}}return null}function qt(g){switch(typeof g){case"boolean":case"number":case"object":case"string":case"undefined":return g;default:return""}}function Xe(g){var A=g.type;return(g=g.nodeName)&&g.toLowerCase()==="input"&&(A==="checkbox"||A==="radio")}function Tt(g){var A=Xe(g)?"checked":"value",Z=Object.getOwnPropertyDescriptor(g.constructor.prototype,A),ve=""+g[A];if(!g.hasOwnProperty(A)&&typeof Z!="undefined"&&typeof Z.get=="function"&&typeof Z.set=="function"){var Le=Z.get,ut=Z.set;return Object.defineProperty(g,A,{configurable:!0,get:function(){return Le.call(this)},set:function(Nt){ve=""+Nt,ut.call(this,Nt)}}),Object.defineProperty(g,A,{enumerable:Z.enumerable}),{getValue:function(){return ve},setValue:function(Nt){ve=""+Nt},stopTracking:function(){g._valueTracker=null,delete g[A]}}}}function jt(g){g._valueTracker||(g._valueTracker=Tt(g))}function st(g){if(!g)return!1;var A=g._valueTracker;if(!A)return!0;var Z=A.getValue(),ve="";return g&&(ve=Xe(g)?g.checked?"true":"false":g.value),g=ve,g!==Z?(A.setValue(g),!0):!1}function gt(g){if(g=g||(typeof document!="undefined"?document:void 0),typeof g=="undefined")return null;try{return g.activeElement||g.body}catch(A){return g.body}}function dt(g,A){var Z=A.checked;return i({},A,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:Z!=null?Z:g._wrapperState.initialChecked})}function Je(g,A){var Z=A.defaultValue==null?"":A.defaultValue,ve=A.checked!=null?A.checked:A.defaultChecked;Z=qt(A.value!=null?A.value:Z),g._wrapperState={initialChecked:ve,initialValue:Z,controlled:A.type==="checkbox"||A.type==="radio"?A.checked!=null:A.value!=null}}function Ue(g,A){A=A.checked,A!=null&&N(g,"checked",A,!1)}function ge(g,A){Ue(g,A);var Z=qt(A.value),ve=A.type;if(Z!=null)ve==="number"?(Z===0&&g.value===""||g.value!=Z)&&(g.value=""+Z):g.value!==""+Z&&(g.value=""+Z);else if(ve==="submit"||ve==="reset"){g.removeAttribute("value");return}A.hasOwnProperty("value")?Me(g,A.type,Z):A.hasOwnProperty("defaultValue")&&Me(g,A.type,qt(A.defaultValue)),A.checked==null&&A.defaultChecked!=null&&(g.defaultChecked=!!A.defaultChecked)}function Se(g,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=""+g._wrapperState.initialValue,Z||A===g.value||(g.value=A),g.defaultValue=A}Z=g.name,Z!==""&&(g.name=""),g.defaultChecked=!!g._wrapperState.initialChecked,Z!==""&&(g.name=Z)}function Me(g,A,Z){(A!=="number"||gt(g.ownerDocument)!==g)&&(Z==null?g.defaultValue=""+g._wrapperState.initialValue:g.defaultValue!==""+Z&&(g.defaultValue=""+Z))}function $e(g){var A="";return r.Children.forEach(g,function(Z){Z!=null&&(A+=Z)}),A}function We(g,A){return g=i({children:void 0},A),(A=$e(A.children))&&(g.children=A),g}function nt(g,A,Z,ve){if(g=g.options,A){A={};for(var Le=0;Le<Z.length;Le++)A["$"+Z[Le]]=!0;for(Z=0;Z<g.length;Z++)Le=A.hasOwnProperty("$"+g[Z].value),g[Z].selected!==Le&&(g[Z].selected=Le),Le&&ve&&(g[Z].defaultSelected=!0)}else{for(Z=""+qt(Z),A=null,Le=0;Le<g.length;Le++){if(g[Le].value===Z){g[Le].selected=!0,ve&&(g[Le].defaultSelected=!0);return}A!==null||g[Le].disabled||(A=g[Le])}A!==null&&(A.selected=!0)}}function lt(g,A){if(A.dangerouslySetInnerHTML!=null)throw Error(c(91));return i({},A,{value:void 0,defaultValue:void 0,children:""+g._wrapperState.initialValue})}function Vt(g,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}g._wrapperState={initialValue:qt(Z)}}function Ht(g,A){var Z=qt(A.value),ve=qt(A.defaultValue);Z!=null&&(Z=""+Z,Z!==g.value&&(g.value=Z),A.defaultValue==null&&g.defaultValue!==Z&&(g.defaultValue=Z)),ve!=null&&(g.defaultValue=""+ve)}function Ie(g){var A=g.textContent;A===g._wrapperState.initialValue&&A!==""&&A!==null&&(g.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(g){switch(g){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 Ot(g,A){return g==null||g==="http://www.w3.org/1999/xhtml"?Gt(A):g==="http://www.w3.org/2000/svg"&&A==="foreignObject"?"http://www.w3.org/1999/xhtml":g}var zt,$t=function(g){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(A,Z,ve,Le){MSApp.execUnsafeLocalFunction(function(){return g(A,Z,ve,Le)})}:g}(function(g,A){if(g.namespaceURI!==qe.svg||"innerHTML"in g)g.innerHTML=A;else{for(zt=zt||document.createElement("div"),zt.innerHTML="<svg>"+A.valueOf().toString()+"</svg>",A=zt.firstChild;g.firstChild;)g.removeChild(g.firstChild);for(;A.firstChild;)g.appendChild(A.firstChild)}});function tr(g,A){if(A){var Z=g.firstChild;if(Z&&Z===g.lastChild&&Z.nodeType===3){Z.nodeValue=A;return}}g.textContent=A}var Wt={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},Fe=["Webkit","ms","Moz","O"];Object.keys(Wt).forEach(function(g){Fe.forEach(function(A){A=A+g.charAt(0).toUpperCase()+g.substring(1),Wt[A]=Wt[g]})});function fe(g,A,Z){return A==null||typeof A=="boolean"||A===""?"":Z||typeof A!="number"||A===0||Wt.hasOwnProperty(g)&&Wt[g]?(""+A).trim():A+"px"}function pe(g,A){g=g.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?g.setProperty(Z,Le):g[Z]=Le}}var Pt=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 Ce(g,A){if(A){if(Pt[g]&&(A.children!=null||A.dangerouslySetInnerHTML!=null))throw Error(c(137,g));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 ft(g,A){if(g.indexOf("-")===-1)return typeof A.is=="string";switch(g){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 Ut(g){return g=g.target||g.srcElement||window,g.correspondingUseElement&&(g=g.correspondingUseElement),g.nodeType===3?g.parentNode:g}var At=null,Oe=null,wt=null;function be(g){if(g=Ka(g)){if(typeof At!="function")throw Error(c(280));var A=g.stateNode;A&&(A=qa(A),At(g.stateNode,g.type,A))}}function Ke(g){Oe?wt?wt.push(g):wt=[g]:Oe=g}function mt(){if(Oe){var g=Oe,A=wt;if(wt=Oe=null,be(g),A)for(g=0;g<A.length;g++)be(A[g])}}function kt(g,A){return g(A)}function Be(g,A,Z,ve,Le){return g(A,Z,ve,Le)}function kr(){}var St=kt,Vr=!1,Jr=!1;function Ar(){(Oe!==null||wt!==null)&&(kr(),mt())}function Fr(g,A,Z){if(Jr)return g(A,Z);Jr=!0;try{return St(g,A,Z)}finally{Jr=!1,Ar()}}function mr(g,A){var Z=g.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)||(g=g.type,ve=!(g==="button"||g==="input"||g==="select"||g==="textarea")),g=!ve;break e;default:g=!1}if(g)return null;if(Z&&typeof Z!="function")throw Error(c(231,A,typeof Z));return Z}var jr=!1;if(a)try{var on={};Object.defineProperty(on,"passive",{get:function(){jr=!0}}),window.addEventListener("test",on,on),window.removeEventListener("test",on,on)}catch(g){jr=!1}function fn(g,A,Z,ve,Le,ut,Nt,rr,P){var t=Array.prototype.slice.call(arguments,3);try{A.apply(Z,t)}catch(n){this.onError(n)}}var or=!1,Rt=null,_t=!1,vt=null,Bt={onError:function(g){or=!0,Rt=g}};function Cr(g,A,Z,ve,Le,ut,Nt,rr,P){or=!1,Rt=null,fn.apply(Bt,arguments)}function gr(g,A,Z,ve,Le,ut,Nt,rr,P){if(Cr.apply(this,arguments),or){if(or){var t=Rt;or=!1,Rt=null}else throw Error(c(198));_t||(_t=!0,vt=t)}}function rn(g){var A=g,Z=g;if(g.alternate)for(;A.return;)A=A.return;else{g=A;do A=g,A.flags&1026&&(Z=A.return),g=A.return;while(g)}return A.tag===3?Z:null}function Kr(g){if(g.tag===13){var A=g.memoizedState;if(A===null&&(g=g.alternate,g!==null&&(A=g.memoizedState)),A!==null)return A.dehydrated}return null}function Pn(g){if(rn(g)!==g)throw Error(c(188))}function Ct(g){var A=g.alternate;if(!A){if(A=rn(g),A===null)throw Error(c(188));return A!==g?null:g}for(var Z=g,ve=A;;){var Le=Z.return;if(Le===null)break;var ut=Le.alternate;if(ut===null){if(ve=Le.return,ve!==null){Z=ve;continue}break}if(Le.child===ut.child){for(ut=Le.child;ut;){if(ut===Z)return Pn(Le),g;if(ut===ve)return Pn(Le),A;ut=ut.sibling}throw Error(c(188))}if(Z.return!==ve.return)Z=Le,ve=ut;else{for(var Nt=!1,rr=Le.child;rr;){if(rr===Z){Nt=!0,Z=Le,ve=ut;break}if(rr===ve){Nt=!0,ve=Le,Z=ut;break}rr=rr.sibling}if(!Nt){for(rr=ut.child;rr;){if(rr===Z){Nt=!0,Z=ut,ve=Le;break}if(rr===ve){Nt=!0,ve=ut,Z=Le;break}rr=rr.sibling}if(!Nt)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?g:A}function cr(g){if(g=Ct(g),!g)return null;for(var A=g;;){if(A.tag===5||A.tag===6)return A;if(A.child)A.child.return=A,A=A.child;else{if(A===g)break;for(;!A.sibling;){if(!A.return||A.return===g)return null;A=A.return}A.sibling.return=A.return,A=A.sibling}}return null}function Xr(g,A){for(var Z=g.alternate;A!==null;){if(A===g||A===Z)return!0;A=A.return}return!1}var pn,$n,si,zn,Li=!1,ui=[],mi=null,wi=null,gi=null,Xi=new Map,qn=new Map,Yi=[],Et="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 ot(g,A,Z,ve,Le){return{blockedOn:g,domEventName:A,eventSystemFlags:Z|16,nativeEvent:Le,targetContainers:[ve]}}function Jn(g,A){switch(g){case"focusin":case"focusout":mi=null;break;case"dragenter":case"dragleave":wi=null;break;case"mouseover":case"mouseout":gi=null;break;case"pointerover":case"pointerout":Xi.delete(A.pointerId);break;case"gotpointercapture":case"lostpointercapture":qn.delete(A.pointerId)}}function Ai(g,A,Z,ve,Le,ut){return g===null||g.nativeEvent!==ut?(g=ot(A,Z,ve,Le,ut),A!==null&&(A=Ka(A),A!==null&&$n(A)),g):(g.eventSystemFlags|=ve,A=g.targetContainers,Le!==null&&A.indexOf(Le)===-1&&A.push(Le),g)}function ei(g,A,Z,ve,Le){switch(A){case"focusin":return mi=Ai(mi,g,A,Z,ve,Le),!0;case"dragenter":return wi=Ai(wi,g,A,Z,ve,Le),!0;case"mouseover":return gi=Ai(gi,g,A,Z,ve,Le),!0;case"pointerover":var ut=Le.pointerId;return Xi.set(ut,Ai(Xi.get(ut)||null,g,A,Z,ve,Le)),!0;case"gotpointercapture":return ut=Le.pointerId,qn.set(ut,Ai(qn.get(ut)||null,g,A,Z,ve,Le)),!0}return!1}function Gi(g){var A=Ba(g.target);if(A!==null){var Z=rn(A);if(Z!==null){if(A=Z.tag,A===13){if(A=Kr(Z),A!==null){g.blockedOn=A,zn(g.lanePriority,function(){l.unstable_runWithPriority(g.priority,function(){si(Z)})});return}}else if(A===3&&Z.stateNode.hydrate){g.blockedOn=Z.tag===3?Z.stateNode.containerInfo:null;return}}}g.blockedOn=null}function yi(g){if(g.blockedOn!==null)return!1;for(var A=g.targetContainers;0<A.length;){var Z=hs(g.domEventName,g.eventSystemFlags,A[0],g.nativeEvent);if(Z!==null)return A=Ka(Z),A!==null&&$n(A),g.blockedOn=Z,!1;A.shift()}return!0}function ai(g,A,Z){yi(g)&&Z.delete(A)}function En(){for(Li=!1;0<ui.length;){var g=ui[0];if(g.blockedOn!==null){g=Ka(g.blockedOn),g!==null&&pn(g);break}for(var A=g.targetContainers;0<A.length;){var Z=hs(g.domEventName,g.eventSystemFlags,A[0],g.nativeEvent);if(Z!==null){g.blockedOn=Z;break}A.shift()}g.blockedOn===null&&ui.shift()}mi!==null&&yi(mi)&&(mi=null),wi!==null&&yi(wi)&&(wi=null),gi!==null&&yi(gi)&&(gi=null),Xi.forEach(ai),qn.forEach(ai)}function er(g,A){g.blockedOn===A&&(g.blockedOn=null,Li||(Li=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,En)))}function pt(g){function A(Le){return er(Le,g)}if(0<ui.length){er(ui[0],g);for(var Z=1;Z<ui.length;Z++){var ve=ui[Z];ve.blockedOn===g&&(ve.blockedOn=null)}}for(mi!==null&&er(mi,g),wi!==null&&er(wi,g),gi!==null&&er(gi,g),Xi.forEach(A),qn.forEach(A),Z=0;Z<Yi.length;Z++)ve=Yi[Z],ve.blockedOn===g&&(ve.blockedOn=null);for(;0<Yi.length&&(Z=Yi[0],Z.blockedOn===null);)Gi(Z),Z.blockedOn===null&&Yi.shift()}function rt(g,A){var Z={};return Z[g.toLowerCase()]=A.toLowerCase(),Z["Webkit"+g]="webkit"+A,Z["Moz"+g]="moz"+A,Z}var It={animationend:rt("Animation","AnimationEnd"),animationiteration:rt("Animation","AnimationIteration"),animationstart:rt("Animation","AnimationStart"),transitionend:rt("Transition","TransitionEnd")},ht={},lr={};a&&(lr=document.createElement("div").style,"AnimationEvent"in window||(delete It.animationend.animation,delete It.animationiteration.animation,delete It.animationstart.animation),"TransitionEvent"in window||delete It.transitionend.transition);function dr(g){if(ht[g])return ht[g];if(!It[g])return g;var A=It[g],Z;for(Z in A)if(A.hasOwnProperty(Z)&&Z in lr)return ht[g]=A[Z];return g}var Ir=dr("animationend"),Zr=dr("animationiteration"),Ze=dr("animationstart"),et=dr("transitionend"),Ee=new Map,it=new Map,ir=["abort","abort",Ir,"animationEnd",Zr,"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(g,A){for(var Z=0;Z<g.length;Z+=2){var ve=g[Z],Le=g[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 Nr(g){if(1&g)return Or=15,1;if(2&g)return Or=14,2;if(4&g)return Or=13,4;var A=24&g;return A!==0?(Or=12,A):g&32?(Or=11,32):(A=192&g,A!==0?(Or=10,A):g&256?(Or=9,256):(A=3584&g,A!==0?(Or=8,A):g&4096?(Or=7,4096):(A=4186112&g,A!==0?(Or=6,A):(A=62914560&g,A!==0?(Or=5,A):g&67108864?(Or=4,67108864):g&134217728?(Or=3,134217728):(A=805306368&g,A!==0?(Or=2,A):1073741824&g?(Or=1,1073741824):(Or=8,g))))))}function bn(g){switch(g){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Pr(g){switch(g){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,g))}}function ln(g,A){var Z=g.pendingLanes;if(Z===0)return Or=0;var ve=0,Le=0,ut=g.expiredLanes,Nt=g.suspendedLanes,rr=g.pingedLanes;if(ut!==0)ve=ut,Le=Or=15;else if(ut=Z&134217727,ut!==0){var P=ut&~Nt;P!==0?(ve=Nr(P),Le=Or):(rr&=ut,rr!==0&&(ve=Nr(rr),Le=Or))}else ut=Z&~Nt,ut!==0?(ve=Nr(ut),Le=Or):rr!==0&&(ve=Nr(rr),Le=Or);if(ve===0)return 0;if(ve=31-bi(ve),ve=Z&((0>ve?0:1<<ve)<<1)-1,A!==0&&A!==ve&&!(A&Nt)){if(Nr(A),Le<=Or)return A;Or=Le}if(A=g.entangledLanes,A!==0)for(g=g.entanglements,A&=ve;0<A;)Z=31-bi(A),Le=1<<Z,ve|=g[Z],A&=~Le;return ve}function nn(g){return g=g.pendingLanes&-1073741825,g!==0?g:g&1073741824?1073741824:0}function cn(g,A){switch(g){case 15:return 1;case 14:return 2;case 12:return g=An(24&~A),g===0?cn(10,A):g;case 10:return g=An(192&~A),g===0?cn(8,A):g;case 8:return g=An(3584&~A),g===0&&(g=An(4186112&~A),g===0&&(g=512)),g;case 2:return A=An(805306368&~A),A===0&&(A=268435456),A}throw Error(c(358,g))}function An(g){return g&-g}function pa(g){for(var A=[],Z=0;31>Z;Z++)A.push(g);return A}function Pi(g,A,Z){g.pendingLanes|=A;var ve=A-1;g.suspendedLanes&=ve,g.pingedLanes&=ve,g=g.eventTimes,A=31-bi(A),g[A]=Z}var bi=Math.clz32?Math.clz32:$i,_n=Math.log,li=Math.LN2;function $i(g){return g===0?32:31-(_n(g)/li|0)|0}var la=l.unstable_UserBlockingPriority,xs=l.unstable_runWithPriority,Pa=!0;function Na(g,A,Z,ve){Vr||kr();var Le=$a,ut=Vr;Vr=!0;try{Be(Le,g,A,Z,ve)}finally{(Vr=ut)||Ar()}}function Is(g,A,Z,ve){xs(la,$a.bind(null,g,A,Z,ve))}function $a(g,A,Z,ve){if(Pa){var Le;if((Le=(A&4)===0)&&0<ui.length&&-1<Et.indexOf(g))g=ot(null,g,A,Z,ve),ui.push(g);else{var ut=hs(g,A,Z,ve);if(ut===null)Le&&Jn(g,ve);else{if(Le){if(-1<Et.indexOf(g)){g=ot(ut,g,A,Z,ve),ui.push(g);return}if(ei(ut,g,A,Z,ve))return;Jn(g,ve)}$r(g,A,ve,null,Z)}}}}function hs(g,A,Z,ve){var Le=Ut(ve);if(Le=Ba(Le),Le!==null){var ut=rn(Le);if(ut===null)Le=null;else{var Nt=ut.tag;if(Nt===13){if(Le=Kr(ut),Le!==null)return Le;Le=null}else if(Nt===3){if(ut.stateNode.hydrate)return ut.tag===3?ut.stateNode.containerInfo:null;Le=null}else ut!==Le&&(Le=null)}}return $r(g,A,ve,Le,Z),null}var oa=null,xi=null,Ga=null;function Ds(){if(Ga)return Ga;var g,A=xi,Z=A.length,ve,Le="value"in oa?oa.value:oa.textContent,ut=Le.length;for(g=0;g<Z&&A[g]===Le[g];g++);var Nt=Z-g;for(ve=1;ve<=Nt&&A[Z-ve]===Le[ut-ve];ve++);return Ga=Le.slice(g,1<ve?1-ve:void 0)}function ji(g){var A=g.keyCode;return"charCode"in g?(g=g.charCode,g===0&&A===13&&(g=13)):g=A,g===10&&(g=13),32<=g||g===13?g:0}function ps(){return!0}function Co(){return!1}function La(g){function A(Z,ve,Le,ut,Nt){this._reactName=Z,this._targetInst=Le,this.type=ve,this.nativeEvent=ut,this.target=Nt,this.currentTarget=null;for(var rr in g)g.hasOwnProperty(rr)&&(Z=g[rr],this[rr]=Z?Z(ut):ut[rr]);return this.isDefaultPrevented=(ut.defaultPrevented!=null?ut.defaultPrevented:ut.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(g){return g.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ui=La(_s),Gs=i({},_s,{view:0,detail:0}),Ln=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(g){return g.relatedTarget===void 0?g.fromElement===g.srcElement?g.toElement:g.fromElement:g.relatedTarget},movementX:function(g){return"movementX"in g?g.movementX:(g!==ls&&(ls&&g.type==="mousemove"?(ja=g.screenX-ls.screenX,ns=g.screenY-ls.screenY):ns=ja=0,ls=g),ja)},movementY:function(g){return"movementY"in g?g.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(g){return"clipboardData"in g?g.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"},pi={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function oi(g){var A=this.nativeEvent;return A.getModifierState?A.getModifierState(g):(g=pi[g])?!!A[g]:!1}function Fa(){return oi}var Va=i({},Gs,{key:function(g){if(g.key){var A=vo[g.key]||g.key;if(A!=="Unidentified")return A}return g.type==="keypress"?(g=ji(g),g===13?"Enter":String.fromCharCode(g)):g.type==="keydown"||g.type==="keyup"?go[g.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fa,charCode:function(g){return g.type==="keypress"?ji(g):0},keyCode:function(g){return g.type==="keydown"||g.type==="keyup"?g.keyCode:0},which:function(g){return g.type==="keypress"?ji(g):g.type==="keydown"||g.type==="keyup"?g.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(g){return"deltaX"in g?g.deltaX:"wheelDeltaX"in g?-g.wheelDeltaX:0},deltaY:function(g){return"deltaY"in g?g.deltaY:"wheelDeltaY"in g?-g.wheelDeltaY:"wheelDelta"in g?-g.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(g,A){switch(g){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(g){return g=g.detail,typeof g=="object"&&"data"in g?g.data:null}var Do=!1;function Ls(g,A){switch(g){case"compositionend":return jo(A);case"keypress":return A.which!==32?null:(Us=!0,Io);case"textInput":return g=A.data,g===Io&&Us?null:g;default:return null}}function bo(g,A){if(Do)return g==="compositionend"||!fo&&ou(g,A)?(g=Ds(),Ga=xi=oa=null,Do=!1,g):null;switch(g){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(g){var A=g&&g.nodeName&&g.nodeName.toLowerCase();return A==="input"?!!mu[g.type]:A==="textarea"}function Xt(g,A,Z,ve){Ke(ve),A=an(A,"onChange"),0<A.length&&(Z=new Ui("onChange","change",null,Z,ve),g.push({event:Z,listeners:A}))}var fr=null,sr=null;function vr(g){Ye(g,0)}function wr(g){var A=eo(g);if(st(A))return g}function xn(g,A){if(g==="change")return A}var Sn=!1;if(a){var Un;if(a){var Mn="oninput"in document;if(!Mn){var Gn=document.createElement("div");Gn.setAttribute("oninput","return;"),Mn=typeof Gn.oninput=="function"}Un=Mn}else Un=!1;Sn=Un&&(!document.documentMode||9<document.documentMode)}function ur(){fr&&(fr.detachEvent("onpropertychange",Mr),sr=fr=null)}function Mr(g){if(g.propertyName==="value"&&wr(sr)){var A=[];if(Xt(A,sr,g,Ut(g)),g=vr,Vr)g(A);else{Vr=!0;try{kt(g,A)}finally{Vr=!1,Ar()}}}}function xr(g,A,Z){g==="focusin"?(ur(),fr=A,sr=Z,fr.attachEvent("onpropertychange",Mr)):g==="focusout"&&ur()}function vn(g){if(g==="selectionchange"||g==="keyup"||g==="keydown")return wr(sr)}function Hn(g,A){if(g==="click")return wr(A)}function ct(g,A){if(g==="input"||g==="change")return wr(A)}function In(g,A){return g===A&&(g!==0||1/g===1/A)||g!==g&&A!==A}var Vn=typeof Object.is=="function"?Object.is:In,ci=Object.prototype.hasOwnProperty;function Qi(g,A){if(Vn(g,A))return!0;if(typeof g!="object"||g===null||typeof A!="object"||A===null)return!1;var Z=Object.keys(g),ve=Object.keys(A);if(Z.length!==ve.length)return!1;for(ve=0;ve<Z.length;ve++)if(!ci.call(A,Z[ve])||!Vn(g[Z[ve]],A[Z[ve]]))return!1;return!0}function Br(g){for(;g&&g.firstChild;)g=g.firstChild;return g}function Mi(g,A){var Z=Br(g);g=0;for(var ve;Z;){if(Z.nodeType===3){if(ve=g+Z.textContent.length,g<=A&&ve>=A)return{node:Z,offset:A-g};g=ve}e:{for(;Z;){if(Z.nextSibling){Z=Z.nextSibling;break e}Z=Z.parentNode}Z=void 0}Z=Br(Z)}}function ba(g,A){return g&&A?g===A?!0:g&&g.nodeType===3?!1:A&&A.nodeType===3?ba(g,A.parentNode):"contains"in g?g.contains(A):g.compareDocumentPosition?!!(g.compareDocumentPosition(A)&16):!1:!1}function Ur(){for(var g=window,A=gt();A instanceof g.HTMLIFrameElement;){try{var Z=typeof A.contentWindow.location.href=="string"}catch(ve){Z=!1}if(Z)g=A.contentWindow;else break;A=gt(g.document)}return A}function na(g){var A=g&&g.nodeName&&g.nodeName.toLowerCase();return A&&(A==="input"&&(g.type==="text"||g.type==="search"||g.type==="tel"||g.type==="url"||g.type==="password")||A==="textarea"||g.contentEditable==="true")}var Ss=a&&"documentMode"in document&&11>=document.documentMode,fi=null,Vs=null,xo=null,Os=!1;function xa(g,A,Z){var ve=Z.window===Z?Z.document:Z.nodeType===9?Z:Z.ownerDocument;Os||fi==null||fi!==gt(ve)||(ve=fi,"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=an(Vs,"onSelect"),0<ve.length&&(A=new Ui("onSelect","select",null,A,Z),g.push({event:A,listeners:ve}),A.target=fi)))}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 Dn="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(Dn));function Ns(g,A,Z){var ve=g.type||"unknown-event";g.currentTarget=Z,gr(ve,A,void 0,g),g.currentTarget=null}function Ye(g,A){A=(A&4)!==0;for(var Z=0;Z<g.length;Z++){var ve=g[Z],Le=ve.event;ve=ve.listeners;e:{var ut=void 0;if(A)for(var Nt=ve.length-1;0<=Nt;Nt--){var rr=ve[Nt],P=rr.instance,t=rr.currentTarget;if(rr=rr.listener,P!==ut&&Le.isPropagationStopped())break e;Ns(Le,rr,t),ut=P}else for(Nt=0;Nt<ve.length;Nt++){if(rr=ve[Nt],P=rr.instance,t=rr.currentTarget,rr=rr.listener,P!==ut&&Le.isPropagationStopped())break e;Ns(Le,rr,t),ut=P}}}if(_t)throw g=vt,_t=!1,vt=null,g}function Qe(g,A){var Z=so(A),ve=g+"__bubble";Z.has(ve)||(Rr(A,g,2,!1),Z.add(ve))}var Lt="_reactListening"+Math.random().toString(36).slice(2);function Kt(g){g[Lt]||(g[Lt]=!0,f.forEach(function(A){gs.has(A)||pr(A,!1,g,null),pr(A,!0,g,null)}))}function pr(g,A,Z,ve){var Le=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,ut=Z;if(g==="selectionchange"&&Z.nodeType!==9&&(ut=Z.ownerDocument),ve!==null&&!A&&gs.has(g)){if(g!=="scroll")return;Le|=2,ut=ve}var Nt=so(ut),rr=g+"__"+(A?"capture":"bubble");Nt.has(rr)||(A&&(Le|=4),Rr(ut,g,Le,A),Nt.add(rr))}function Rr(g,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,g),Le=void 0,!jr||A!=="touchstart"&&A!=="touchmove"&&A!=="wheel"||(Le=!0),ve?Le!==void 0?g.addEventListener(A,Z,{capture:!0,passive:Le}):g.addEventListener(A,Z,!0):Le!==void 0?g.addEventListener(A,Z,{passive:Le}):g.addEventListener(A,Z,!1)}function $r(g,A,Z,ve,Le){var ut=ve;if(!(A&1)&&!(A&2)&&ve!==null)e:for(;;){if(ve===null)return;var Nt=ve.tag;if(Nt===3||Nt===4){var rr=ve.stateNode.containerInfo;if(rr===Le||rr.nodeType===8&&rr.parentNode===Le)break;if(Nt===4)for(Nt=ve.return;Nt!==null;){var P=Nt.tag;if((P===3||P===4)&&(P=Nt.stateNode.containerInfo,P===Le||P.nodeType===8&&P.parentNode===Le))return;Nt=Nt.return}for(;rr!==null;){if(Nt=Ba(rr),Nt===null)return;if(P=Nt.tag,P===5||P===6){ve=ut=Nt;continue e}rr=rr.parentNode}}ve=ve.return}Fr(function(){var t=ut,n=Ut(Z),o=[];e:{var m=Ee.get(g);if(m!==void 0){var E=Ui,C=g;switch(g){case"keypress":if(ji(Z)===0)break e;case"keydown":case"keyup":E=Xa;break;case"focusin":C="focus",E=_o;break;case"focusout":C="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 Zr:case Ze:E=Vo;break;case et:E=yo;break;case"scroll":E=Ln;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 U=(A&4)!==0,H=!U&&g==="scroll",$=U?m!==null?m+"Capture":null:m;U=[];for(var ae=t,ce;ae!==null;){ce=ae;var xe=ce.stateNode;if(ce.tag===5&&xe!==null&&(ce=xe,$!==null&&(xe=mr(ae,$),xe!=null&&U.push(gn(ae,xe,ce)))),H)break;ae=ae.return}0<U.length&&(m=new E(m,C,null,Z,n),o.push({event:m,listeners:U}))}}if(!(A&7)){e:{if(m=g==="mouseover"||g==="pointerover",E=g==="mouseout"||g==="pointerout",m&&!(A&16)&&(C=Z.relatedTarget||Z.fromElement)&&(Ba(C)||C[ki]))break e;if((E||m)&&(m=n.window===n?n:(m=n.ownerDocument)?m.defaultView||m.parentWindow:window,E?(C=Z.relatedTarget||Z.toElement,E=t,C=C?Ba(C):null,C!==null&&(H=rn(C),C!==H||C.tag!==5&&C.tag!==6)&&(C=null)):(E=null,C=t),E!==C)){if(U=Ia,xe="onMouseLeave",$="onMouseEnter",ae="mouse",(g==="pointerout"||g==="pointerover")&&(U=co,xe="onPointerLeave",$="onPointerEnter",ae="pointer"),H=E==null?m:eo(E),ce=C==null?m:eo(C),m=new U(xe,ae+"leave",E,Z,n),m.target=H,m.relatedTarget=ce,xe=null,Ba(n)===t&&(U=new U($,ae+"enter",C,Z,n),U.target=ce,U.relatedTarget=H,xe=U),H=xe,E&&C)t:{for(U=E,$=C,ae=0,ce=U;ce;ce=yn(ce))ae++;for(ce=0,xe=$;xe;xe=yn(xe))ce++;for(;0<ae-ce;)U=yn(U),ae--;for(;0<ce-ae;)$=yn($),ce--;for(;ae--;){if(U===$||$!==null&&U===$.alternate)break t;U=yn(U),$=yn($)}U=null}else U=null;E!==null&&Qn(o,m,E,U,!1),C!==null&&H!==null&&Qn(o,H,C,U,!0)}}e:{if(m=t?eo(t):window,E=m.nodeName&&m.nodeName.toLowerCase(),E==="select"||E==="input"&&m.type==="file")var Te=xn;else if(Fo(m))if(Sn)Te=ct;else{Te=vn;var De=xr}else(E=m.nodeName)&&E.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(Te=Hn);if(Te&&(Te=Te(g,t))){Xt(o,Te,Z,n);break e}De&&De(g,m,t),g==="focusout"&&(De=m._wrapperState)&&De.controlled&&m.type==="number"&&Me(m,"number",m.value)}switch(De=t?eo(t):window,g){case"focusin":(Fo(De)||De.contentEditable==="true")&&(fi=De,Vs=t,xo=null);break;case"focusout":xo=Vs=fi=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(g){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(g,Z)&&(at="onCompositionEnd"):g==="keydown"&&Z.keyCode===229&&(at="onCompositionStart");at&&(Mo&&Z.locale!=="ko"&&(Do||at!=="onCompositionStart"?at==="onCompositionEnd"&&Do&&(tt=Ds()):(oa=n,xi="value"in oa?oa.value:oa.textContent,Do=!0)),De=an(t,at),0<De.length&&(at=new mo(at,g,null,Z,n),o.push({event:at,listeners:De}),tt?at.data=tt:(tt=jo(Z),tt!==null&&(at.data=tt)))),(tt=zu?Ls(g,Z):bo(g,Z))&&(t=an(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 gn(g,A,Z){return{instance:g,listener:A,currentTarget:Z}}function an(g,A){for(var Z=A+"Capture",ve=[];g!==null;){var Le=g,ut=Le.stateNode;Le.tag===5&&ut!==null&&(Le=ut,ut=mr(g,Z),ut!=null&&ve.unshift(gn(g,ut,Le)),ut=mr(g,A),ut!=null&&ve.push(gn(g,ut,Le))),g=g.return}return ve}function yn(g){if(g===null)return null;do g=g.return;while(g&&g.tag!==5);return g||null}function Qn(g,A,Z,ve,Le){for(var ut=A._reactName,Nt=[];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=mr(Z,ut),P!=null&&Nt.unshift(gn(Z,P,rr))):Le||(P=mr(Z,ut),P!=null&&Nt.push(gn(Z,P,rr)))),Z=Z.return}Nt.length!==0&&g.push({event:A,listeners:Nt})}function ri(){}var vi=null,Ii=null;function Hi(g,A){switch(g){case"button":case"input":case"select":case"textarea":return!!A.autoFocus}return!1}function Fi(g,A){return g==="textarea"||g==="option"||g==="noscript"||typeof A.children=="string"||typeof A.children=="number"||typeof A.dangerouslySetInnerHTML=="object"&&A.dangerouslySetInnerHTML!==null&&A.dangerouslySetInnerHTML.__html!=null}var Si=typeof setTimeout=="function"?setTimeout:void 0,ma=typeof clearTimeout=="function"?clearTimeout:void 0;function Ci(g){g.nodeType===1?g.textContent="":g.nodeType===9&&(g=g.body,g!=null&&(g.textContent=""))}function Ei(g){for(;g!=null;g=g.nextSibling){var A=g.nodeType;if(A===1||A===3)break}return g}function fa(g){g=g.previousSibling;for(var A=0;g;){if(g.nodeType===8){var Z=g.data;if(Z==="$"||Z==="$!"||Z==="$?"){if(A===0)return g;A--}else Z==="/$"&&A++}g=g.previousSibling}return null}var Ks=0;function Es(g){return{$$typeof:z,toString:g,valueOf:g}}var Wi=Math.random().toString(36).slice(2),ka="__reactFiber$"+Wi,ea="__reactProps$"+Wi,ki="__reactContainer$"+Wi,va="__reactEvents$"+Wi;function Ba(g){var A=g[ka];if(A)return A;for(var Z=g.parentNode;Z;){if(A=Z[ki]||Z[ka]){if(Z=A.alternate,A.child!==null||Z!==null&&Z.child!==null)for(g=fa(g);g!==null;){if(Z=g[ka])return Z;g=fa(g)}return A}g=Z,Z=g.parentNode}return null}function Ka(g){return g=g[ka]||g[ki],!g||g.tag!==5&&g.tag!==6&&g.tag!==13&&g.tag!==3?null:g}function eo(g){if(g.tag===5||g.tag===6)return g.stateNode;throw Error(c(33))}function qa(g){return g[ea]||null}function so(g){var A=g[va];return A===void 0&&(A=g[va]=new Set),A}var Ya=[],Ys=-1;function Ms(g){return{current:g}}function da(g){0>Ys||(g.current=Ya[Ys],Ya[Ys]=null,Ys--)}function Ua(g,A){Ys++,Ya[Ys]=g.current,g.current=A}var As={},ga=Ms(As),ye=Ms(!1),we=As;function yr(g,A){var Z=g.type.contextTypes;if(!Z)return As;var ve=g.stateNode;if(ve&&ve.__reactInternalMemoizedUnmaskedChildContext===A)return ve.__reactInternalMemoizedMaskedChildContext;var Le={},ut;for(ut in Z)Le[ut]=A[ut];return ve&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=A,g.__reactInternalMemoizedMaskedChildContext=Le),Le}function en(g){return g=g.childContextTypes,g!=null}function br(){da(ye),da(ga)}function qr(g,A,Z){if(ga.current!==As)throw Error(c(168));Ua(ga,A),Ua(ye,Z)}function Cn(g,A,Z){var ve=g.stateNode;if(g=A.childContextTypes,typeof ve.getChildContext!="function")return Z;ve=ve.getChildContext();for(var Le in ve)if(!(Le in g))throw Error(c(108,Jt(A)||"Unknown",Le));return i({},Z,ve)}function ti(g){return g=(g=g.stateNode)&&g.__reactInternalMemoizedMergedChildContext||As,we=ga.current,Ua(ga,g),Ua(ye,ye.current),!0}function Bi(g,A,Z){var ve=g.stateNode;if(!ve)throw Error(c(169));Z?(g=Cn(g,A,we),ve.__reactInternalMemoizedMergedChildContext=g,da(ye),da(ga),Ua(ga,g)):da(ye),Ua(ye,Z)}var Fn=null,On=null,Bn=l.unstable_runWithPriority,ia=l.unstable_scheduleCallback,zi=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={},ee=Xs!==void 0?Xs:function(){},ne=null,he=null,Ae=!1,Ge=eu(),bt=1e4>Ge?eu:function(){return eu()-Ge};function Mt(){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(g){switch(g){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(g,A){return g=nr(g),Bn(g,A)}function Hr(g,A,Z){return g=nr(g),ia(g,A,Z)}function sn(){if(he!==null){var g=he;he=null,zi(g)}wn()}function wn(){if(!Ae&&ne!==null){Ae=!0;var g=0;try{var A=ne;Tr(99,function(){for(;g<A.length;g++){var Z=A[g];do Z=Z(!0);while(Z!==null)}}),ne=null}catch(Z){throw ne!==null&&(ne=ne.slice(g+1)),ia(qu,sn),Z}finally{Ae=!1}}}var Nn=j.ReactCurrentBatchConfig;function Wn(g,A){if(g&&g.defaultProps){A=i({},A),g=g.defaultProps;for(var Z in g)A[Z]===void 0&&(A[Z]=g[Z]);return A}return A}var _i=Ms(null),Sr=null,aa=null,sa=null;function is(){sa=aa=Sr=null}function Za(g){var A=_i.current;da(_i),g.type._context._currentValue=A}function ws(g,A){for(;g!==null;){var Z=g.alternate;if((g.childLanes&A)===A){if(Z===null||(Z.childLanes&A)===A)break;Z.childLanes|=A}else g.childLanes|=A,Z!==null&&(Z.childLanes|=A);g=g.return}}function as(g,A){Sr=g,sa=aa=null,g=g.dependencies,g!==null&&g.firstContext!==null&&(g.lanes&A&&(Ru=!0),g.firstContext=null)}function Aa(g,A){if(sa!==g&&A!==!1&&A!==0)if((typeof A!="number"||A===1073741823)&&(sa=g,A=1073741823),A={context:g,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 g._currentValue}var Fs=!1;function Rs(g){g.updateQueue={baseState:g.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function di(g,A){g=g.updateQueue,A.updateQueue===g&&(A.updateQueue={baseState:g.baseState,firstBaseUpdate:g.firstBaseUpdate,lastBaseUpdate:g.lastBaseUpdate,shared:g.shared,effects:g.effects})}function Qs(g,A){return{eventTime:g,lane:A,tag:0,payload:null,callback:null,next:null}}function po(g,A){if(g=g.updateQueue,g!==null){g=g.shared;var Z=g.pending;Z===null?A.next=A:(A.next=Z.next,Z.next=A),g.pending=A}}function Oo(g,A){var Z=g.updateQueue,ve=g.alternate;if(ve!==null&&(ve=ve.updateQueue,Z===ve)){var Le=null,ut=null;if(Z=Z.firstBaseUpdate,Z!==null){do{var Nt={eventTime:Z.eventTime,lane:Z.lane,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null};ut===null?Le=ut=Nt:ut=ut.next=Nt,Z=Z.next}while(Z!==null);ut===null?Le=ut=A:ut=ut.next=A}else Le=ut=A;Z={baseState:ve.baseState,firstBaseUpdate:Le,lastBaseUpdate:ut,shared:ve.shared,effects:ve.effects},g.updateQueue=Z;return}g=Z.lastBaseUpdate,g===null?Z.firstBaseUpdate=A:g.next=A,Z.lastBaseUpdate=A}function za(g,A,Z,ve){var Le=g.updateQueue;Fs=!1;var ut=Le.firstBaseUpdate,Nt=Le.lastBaseUpdate,rr=Le.shared.pending;if(rr!==null){Le.shared.pending=null;var P=rr,t=P.next;P.next=null,Nt===null?ut=t:Nt.next=t,Nt=P;var n=g.alternate;if(n!==null){n=n.updateQueue;var o=n.lastBaseUpdate;o!==Nt&&(o===null?n.firstBaseUpdate=t:o.next=t,n.lastBaseUpdate=P)}}if(ut!==null){o=Le.baseState,Nt=0,n=t=P=null;do{rr=ut.lane;var m=ut.eventTime;if((ve&rr)===rr){n!==null&&(n=n.next={eventTime:m,lane:0,tag:ut.tag,payload:ut.payload,callback:ut.callback,next:null});e:{var E=g,C=ut;switch(rr=A,m=Z,C.tag){case 1:if(E=C.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=C.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}}ut.callback!==null&&(g.flags|=32,rr=Le.effects,rr===null?Le.effects=[ut]:rr.push(ut))}else m={eventTime:m,lane:rr,tag:ut.tag,payload:ut.payload,callback:ut.callback,next:null},n===null?(t=n=m,P=o):n=n.next=m,Nt|=rr;if(ut=ut.next,ut===null){if(rr=Le.shared.pending,rr===null)break;ut=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|=Nt,g.lanes=Nt,g.memoizedState=o}}function Eo(g,A,Z){if(g=A.effects,A.effects=null,g!==null)for(A=0;A<g.length;A++){var ve=g[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(g,A,Z,ve){A=g.memoizedState,Z=Z(ve,A),Z=Z==null?A:i({},A,Z),g.memoizedState=Z,g.lanes===0&&(g.updateQueue.baseState=Z)}var Ju={isMounted:function(g){return(g=g._reactInternals)?rn(g)===g:!1},enqueueSetState:function(g,A,Z){g=g._reactInternals;var ve=hu(),Le=$u(g),ut=Qs(ve,Le);ut.payload=A,Z!=null&&(ut.callback=Z),po(g,ut),El(g,Le,ve)},enqueueReplaceState:function(g,A,Z){g=g._reactInternals;var ve=hu(),Le=$u(g),ut=Qs(ve,Le);ut.tag=1,ut.payload=A,Z!=null&&(ut.callback=Z),po(g,ut),El(g,Le,ve)},enqueueForceUpdate:function(g,A){g=g._reactInternals;var Z=hu(),ve=$u(g),Le=Qs(Z,ve);Le.tag=2,A!=null&&(Le.callback=A),po(g,Le),El(g,ve,Z)}};function el(g,A,Z,ve,Le,ut,Nt){return g=g.stateNode,typeof g.shouldComponentUpdate=="function"?g.shouldComponentUpdate(ve,ut,Nt):A.prototype&&A.prototype.isPureReactComponent?!Qi(Z,ve)||!Qi(Le,ut):!0}function gu(g,A,Z){var ve=!1,Le=As,ut=A.contextType;return typeof ut=="object"&&ut!==null?ut=Aa(ut):(Le=en(A)?we:ga.current,ve=A.contextTypes,ut=(ve=ve!=null)?yr(g,Le):As),A=new A(Z,ut),g.memoizedState=A.state!==null&&A.state!==void 0?A.state:null,A.updater=Ju,g.stateNode=A,A._reactInternals=g,ve&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=Le,g.__reactInternalMemoizedMaskedChildContext=ut),A}function ss(g,A,Z,ve){g=A.state,typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps(Z,ve),typeof A.UNSAFE_componentWillReceiveProps=="function"&&A.UNSAFE_componentWillReceiveProps(Z,ve),A.state!==g&&Ju.enqueueReplaceState(A,A.state,null)}function uu(g,A,Z,ve){var Le=g.stateNode;Le.props=Z,Le.state=g.memoizedState,Le.refs=zs,Rs(g);var ut=A.contextType;typeof ut=="object"&&ut!==null?Le.context=Aa(ut):(ut=en(A)?we:ga.current,Le.context=yr(g,ut)),za(g,Z,Le,ve),Le.state=g.memoizedState,ut=A.getDerivedStateFromProps,typeof ut=="function"&&(Al(g,A,ut,Z),Le.state=g.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(g,Z,Le,ve),Le.state=g.memoizedState),typeof Le.componentDidMount=="function"&&(g.flags|=4)}var yu=Array.isArray;function wo(g,A,Z){if(g=Z.ref,g!==null&&typeof g!="function"&&typeof g!="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,g));var Le=""+g;return A!==null&&A.ref!==null&&typeof A.ref=="function"&&A.ref._stringRef===Le?A.ref:(A=function(ut){var Nt=ve.refs;Nt===zs&&(Nt=ve.refs={}),ut===null?delete Nt[Le]:Nt[Le]=ut},A._stringRef=Le,A)}if(typeof g!="string")throw Error(c(284));if(!Z._owner)throw Error(c(290,g))}return g}function tl(g,A){if(g.type!=="textarea")throw Error(c(31,Object.prototype.toString.call(A)==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":A))}function Iu(g){function A(H,$){if(g){var ae=H.lastEffect;ae!==null?(ae.nextEffect=$,H.lastEffect=$):H.firstEffect=H.lastEffect=$,$.nextEffect=null,$.flags=8}}function Z(H,$){if(!g)return null;for(;$!==null;)A(H,$),$=$.sibling;return null}function ve(H,$){for(H=new Map;$!==null;)$.key!==null?H.set($.key,$):H.set($.index,$),$=$.sibling;return H}function Le(H,$){return H=fl(H,$),H.index=0,H.sibling=null,H}function ut(H,$,ae){return H.index=ae,g?(ae=H.alternate,ae!==null?(ae=ae.index,ae<$?(H.flags=2,$):ae):(H.flags=2,$)):$}function Nt(H){return g&&H.alternate===null&&(H.flags=2),H}function rr(H,$,ae,ce){return $===null||$.tag!==6?($=_f(ae,H.mode,ce),$.return=H,$):($=Le($,ae),$.return=H,$)}function P(H,$,ae,ce){return $!==null&&$.elementType===ae.type?(ce=Le($,ae.props),ce.ref=wo(H,$,ae),ce.return=H,ce):(ce=Bl(ae.type,ae.key,ae.props,null,H.mode,ce),ce.ref=wo(H,$,ae),ce.return=H,ce)}function t(H,$,ae,ce){return $===null||$.tag!==4||$.stateNode.containerInfo!==ae.containerInfo||$.stateNode.implementation!==ae.implementation?($=Mc(ae,H.mode,ce),$.return=H,$):($=Le($,ae.children||[]),$.return=H,$)}function n(H,$,ae,ce,xe){return $===null||$.tag!==7?($=Wo(ae,H.mode,ce,xe),$.return=H,$):($=Le($,ae),$.return=H,$)}function o(H,$,ae){if(typeof $=="string"||typeof $=="number")return $=_f(""+$,H.mode,ae),$.return=H,$;if(typeof $=="object"&&$!==null){switch($.$$typeof){case Q:return ae=Bl($.type,$.key,$.props,null,H.mode,ae),ae.ref=wo(H,null,$),ae.return=H,ae;case X:return $=Mc($,H.mode,ae),$.return=H,$}if(yu($)||He($))return $=Wo($,H.mode,ae,null),$.return=H,$;tl(H,$)}return null}function m(H,$,ae,ce){var xe=$!==null?$.key:null;if(typeof ae=="string"||typeof ae=="number")return xe!==null?null:rr(H,$,""+ae,ce);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case Q:return ae.key===xe?ae.type===Y?n(H,$,ae.props.children,ce,xe):P(H,$,ae,ce):null;case X:return ae.key===xe?t(H,$,ae,ce):null}if(yu(ae)||He(ae))return xe!==null?null:n(H,$,ae,ce,null);tl(H,ae)}return null}function E(H,$,ae,ce,xe){if(typeof ce=="string"||typeof ce=="number")return H=H.get(ae)||null,rr($,H,""+ce,xe);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case Q:return H=H.get(ce.key===null?ae:ce.key)||null,ce.type===Y?n($,H,ce.props.children,xe,ce.key):P($,H,ce,xe);case X:return H=H.get(ce.key===null?ae:ce.key)||null,t($,H,ce,xe)}if(yu(ce)||He(ce))return H=H.get(ae)||null,n($,H,ce,xe,null);tl($,ce)}return null}function C(H,$,ae,ce){for(var xe=null,Te=null,De=$,tt=$=0,at=null;De!==null&&tt<ae.length;tt++){De.index>tt?(at=De,De=null):at=De.sibling;var Ft=m(H,De,ae[tt],ce);if(Ft===null){De===null&&(De=at);break}g&&De&&Ft.alternate===null&&A(H,De),$=ut(Ft,$,tt),Te===null?xe=Ft:Te.sibling=Ft,Te=Ft,De=at}if(tt===ae.length)return Z(H,De),xe;if(De===null){for(;tt<ae.length;tt++)De=o(H,ae[tt],ce),De!==null&&($=ut(De,$,tt),Te===null?xe=De:Te.sibling=De,Te=De);return xe}for(De=ve(H,De);tt<ae.length;tt++)at=E(De,H,tt,ae[tt],ce),at!==null&&(g&&at.alternate!==null&&De.delete(at.key===null?tt:at.key),$=ut(at,$,tt),Te===null?xe=at:Te.sibling=at,Te=at);return g&&De.forEach(function(hr){return A(H,hr)}),xe}function U(H,$,ae,ce){var xe=He(ae);if(typeof xe!="function")throw Error(c(150));if(ae=xe.call(ae),ae==null)throw Error(c(151));for(var Te=xe=null,De=$,tt=$=0,at=null,Ft=ae.next();De!==null&&!Ft.done;tt++,Ft=ae.next()){De.index>tt?(at=De,De=null):at=De.sibling;var hr=m(H,De,Ft.value,ce);if(hr===null){De===null&&(De=at);break}g&&De&&hr.alternate===null&&A(H,De),$=ut(hr,$,tt),Te===null?xe=hr:Te.sibling=hr,Te=hr,De=at}if(Ft.done)return Z(H,De),xe;if(De===null){for(;!Ft.done;tt++,Ft=ae.next())Ft=o(H,Ft.value,ce),Ft!==null&&($=ut(Ft,$,tt),Te===null?xe=Ft:Te.sibling=Ft,Te=Ft);return xe}for(De=ve(H,De);!Ft.done;tt++,Ft=ae.next())Ft=E(De,H,tt,Ft.value,ce),Ft!==null&&(g&&Ft.alternate!==null&&De.delete(Ft.key===null?tt:Ft.key),$=ut(Ft,$,tt),Te===null?xe=Ft:Te.sibling=Ft,Te=Ft);return g&&De.forEach(function(ar){return A(H,ar)}),xe}return function(H,$,ae,ce){var xe=typeof ae=="object"&&ae!==null&&ae.type===Y&&ae.key===null;xe&&(ae=ae.props.children);var Te=typeof ae=="object"&&ae!==null;if(Te)switch(ae.$$typeof){case Q:e:{for(Te=ae.key,xe=$;xe!==null;){if(xe.key===Te){switch(xe.tag){case 7:if(ae.type===Y){Z(H,xe.sibling),$=Le(xe,ae.props.children),$.return=H,H=$;break e}break;default:if(xe.elementType===ae.type){Z(H,xe.sibling),$=Le(xe,ae.props),$.ref=wo(H,xe,ae),$.return=H,H=$;break e}}Z(H,xe);break}else A(H,xe);xe=xe.sibling}ae.type===Y?($=Wo(ae.props.children,H.mode,ce,ae.key),$.return=H,H=$):(ce=Bl(ae.type,ae.key,ae.props,null,H.mode,ce),ce.ref=wo(H,$,ae),ce.return=H,H=ce)}return Nt(H);case X:e:{for(xe=ae.key;$!==null;){if($.key===xe)if($.tag===4&&$.stateNode.containerInfo===ae.containerInfo&&$.stateNode.implementation===ae.implementation){Z(H,$.sibling),$=Le($,ae.children||[]),$.return=H,H=$;break e}else{Z(H,$);break}else A(H,$);$=$.sibling}$=Mc(ae,H.mode,ce),$.return=H,H=$}return Nt(H)}if(typeof ae=="string"||typeof ae=="number")return ae=""+ae,$!==null&&$.tag===6?(Z(H,$.sibling),$=Le($,ae),$.return=H,H=$):(Z(H,$),$=_f(ae,H.mode,ce),$.return=H,H=$),Nt(H);if(yu(ae))return C(H,$,ae,ce);if(He(ae))return U(H,$,ae,ce);if(Te&&tl(H,ae),typeof ae=="undefined"&&!xe)switch(H.tag){case 1:case 22:case 0:case 11:case 15:throw Error(c(152,Jt(H.type)||"Component"))}return Z(H,$)}}var Yo=Iu(!0),zl=Iu(!1),Zs={},Uo=Ms(Zs),Du=Ms(Zs),Zl=Ms(Zs);function lu(g){if(g===Zs)throw Error(c(174));return g}function oc(g,A){switch(Ua(Zl,A),Ua(Du,g),Ua(Uo,Zs),g=A.nodeType,g){case 9:case 11:A=(A=A.documentElement)?A.namespaceURI:Ot(null,"");break;default:g=g===8?A.parentNode:A,A=g.namespaceURI||null,g=g.tagName,A=Ot(A,g)}da(Uo),Ua(Uo,A)}function Zu(){da(Uo),da(Du),da(Zl)}function ii(g){lu(Zl.current);var A=lu(Uo.current),Z=Ot(A,g.type);A!==Z&&(Ua(Du,g),Ua(Uo,Z))}function Sc(g){Du.current===g&&(da(Uo),da(Du))}var to=Ms(0);function uc(g){for(var A=g;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===g)break;for(;A.sibling===null;){if(A.return===null||A.return===g)return null;A=A.return}A.sibling.return=A.return,A=A.sibling}return null}var tu=null,rl=null,Hu=!1;function lc(g,A){var Z=Ho(5,null,null,0);Z.elementType="DELETED",Z.type="DELETED",Z.stateNode=A,Z.return=g,Z.flags=8,g.lastEffect!==null?(g.lastEffect.nextEffect=Z,g.lastEffect=Z):g.firstEffect=g.lastEffect=Z}function Ac(g,A){switch(g.tag){case 5:var Z=g.type;return A=A.nodeType!==1||Z.toLowerCase()!==A.nodeName.toLowerCase()?null:A,A!==null?(g.stateNode=A,!0):!1;case 6:return A=g.pendingProps===""||A.nodeType!==3?null:A,A!==null?(g.stateNode=A,!0):!1;case 13:return!1;default:return!1}}function qs(g){if(Hu){var A=rl;if(A){var Z=A;if(!Ac(g,A)){if(A=Ei(Z.nextSibling),!A||!Ac(g,A)){g.flags=g.flags&-1025|2,Hu=!1,tu=g;return}lc(tu,Z)}tu=g,rl=Ei(A.firstChild)}else g.flags=g.flags&-1025|2,Hu=!1,tu=g}}function cc(g){for(g=g.return;g!==null&&g.tag!==5&&g.tag!==3&&g.tag!==13;)g=g.return;tu=g}function uf(g){if(g!==tu)return!1;if(!Hu)return cc(g),Hu=!0,!1;var A=g.type;if(g.tag!==5||A!=="head"&&A!=="body"&&!Fi(A,g.memoizedProps))for(A=rl;A;)lc(g,A),A=Ei(A.nextSibling);if(cc(g),g.tag===13){if(g=g.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(c(317));e:{for(g=g.nextSibling,A=0;g;){if(g.nodeType===8){var Z=g.data;if(Z==="/$"){if(A===0){rl=Ei(g.nextSibling);break e}A--}else Z!=="$"&&Z!=="$!"&&Z!=="$?"||A++}g=g.nextSibling}rl=null}}else rl=tu?Ei(g.stateNode.nextSibling):null;return!0}function Bo(){rl=tu=null,Hu=!1}var Cl=[];function Cc(){for(var g=0;g<Cl.length;g++)Cl[g]._workInProgressVersionPrimary=null;Cl.length=0}var Hl=j.ReactCurrentDispatcher,bu=j.ReactCurrentBatchConfig,Wl=0,Hs=null,ro=null,No=null,Wu=!1,Tl=!1;function ru(){throw Error(c(321))}function Tc(g,A){if(A===null)return!1;for(var Z=0;Z<A.length&&Z<g.length;Z++)if(!Vn(g[Z],A[Z]))return!1;return!0}function cu(g,A,Z,ve,Le,ut){if(Wl=ut,Hs=A,A.memoizedState=null,A.updateQueue=null,A.lanes=0,Hl.current=g===null||g.memoizedState===null?no:Gc,g=Z(ve,Le),Tl){ut=0;do{if(Tl=!1,!(25>ut))throw Error(c(301));ut+=1,No=ro=null,A.updateQueue=null,Hl.current=Ic,g=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 g}function Xo(){var g={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return No===null?Hs.memoizedState=No=g:No=No.next=g,No}function pl(){if(ro===null){var g=Hs.alternate;g=g!==null?g.memoizedState:null}else g=ro.next;var A=No===null?Hs.memoizedState:No.next;if(A!==null)No=A,ro=g;else{if(g===null)throw Error(c(310));ro=g,g={memoizedState:ro.memoizedState,baseState:ro.baseState,baseQueue:ro.baseQueue,queue:ro.queue,next:null},No===null?Hs.memoizedState=No=g:No=No.next=g}return No}function xu(g,A){return typeof A=="function"?A(g):A}function fc(g){var A=pl(),Z=A.queue;if(Z===null)throw Error(c(311));Z.lastRenderedReducer=g;var ve=ro,Le=ve.baseQueue,ut=Z.pending;if(ut!==null){if(Le!==null){var Nt=Le.next;Le.next=ut.next,ut.next=Nt}ve.baseQueue=Le=ut,Z.pending=null}if(Le!==null){Le=Le.next,ve=ve.baseState;var rr=Nt=ut=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===g?P.eagerState:g(ve,P.action);else{var n={lane:t,action:P.action,eagerReducer:P.eagerReducer,eagerState:P.eagerState,next:null};rr===null?(Nt=rr=n,ut=ve):rr=rr.next=n,Hs.lanes|=t,io|=t}P=P.next}while(P!==null&&P!==Le);rr===null?ut=ve:rr.next=Nt,Vn(ve,A.memoizedState)||(Ru=!0),A.memoizedState=ve,A.baseState=ut,A.baseQueue=rr,Z.lastRenderedState=ve}return[A.memoizedState,Z.dispatch]}function _l(g){var A=pl(),Z=A.queue;if(Z===null)throw Error(c(311));Z.lastRenderedReducer=g;var ve=Z.dispatch,Le=Z.pending,ut=A.memoizedState;if(Le!==null){Z.pending=null;var Nt=Le=Le.next;do ut=g(ut,Nt.action),Nt=Nt.next;while(Nt!==Le);Vn(ut,A.memoizedState)||(Ru=!0),A.memoizedState=ut,A.baseQueue===null&&(A.baseState=ut),Z.lastRenderedState=ut}return[ut,ve]}function Ra(g,A,Z){var ve=A._getVersion;ve=ve(A._source);var Le=A._workInProgressVersionPrimary;if(Le!==null?g=Le===ve:(g=g.mutableReadLanes,(g=(Wl&g)===g)&&(A._workInProgressVersionPrimary=ve,Cl.push(A))),g)return Z(A._source);throw Cl.push(A),Error(c(350))}function lf(g,A,Z,ve){var Le=tn;if(Le===null)throw Error(c(349));var ut=A._getVersion,Nt=ut(A._source),rr=Hl.current,P=rr.useState(function(){return Ra(Le,A,Z)}),t=P[1],n=P[0];P=No;var o=g.memoizedState,m=o.refs,E=m.getSnapshot,C=o.source;o=o.subscribe;var U=Hs;return g.memoizedState={refs:m,source:A,subscribe:ve},rr.useEffect(function(){m.getSnapshot=Z,m.setSnapshot=t;var H=ut(A._source);if(!Vn(Nt,H)){H=Z(A._source),Vn(n,H)||(t(H),H=$u(U),Le.mutableReadLanes|=H&Le.pendingLanes),H=Le.mutableReadLanes,Le.entangledLanes|=H;for(var $=Le.entanglements,ae=H;0<ae;){var ce=31-bi(ae),xe=1<<ce;$[ce]|=H,ae&=~xe}}},[Z,A,ve]),rr.useEffect(function(){return ve(A._source,function(){var H=m.getSnapshot,$=m.setSnapshot;try{$(H(A._source));var ae=$u(U);Le.mutableReadLanes|=ae&Le.pendingLanes}catch(ce){$(function(){throw ce})}})},[A,ve]),Vn(E,Z)&&Vn(C,A)&&Vn(o,ve)||(g={pending:null,dispatch:null,lastRenderedReducer:xu,lastRenderedState:n},g.dispatch=t=Wc.bind(null,Hs,g),P.queue=g,P.baseQueue=null,n=Ra(Le,A,Z),P.memoizedState=P.baseState=n),n}function zc(g,A,Z){var ve=pl();return lf(ve,g,A,Z)}function Ou(g){var A=Xo();return typeof g=="function"&&(g=g()),A.memoizedState=A.baseState=g,g=A.queue={pending:null,dispatch:null,lastRenderedReducer:xu,lastRenderedState:g},g=g.dispatch=Wc.bind(null,Hs,g),[A.memoizedState,g]}function Pc(g,A,Z,ve){return g={tag:g,create:A,destroy:Z,deps:ve,next:null},A=Hs.updateQueue,A===null?(A={lastEffect:null},Hs.updateQueue=A,A.lastEffect=g.next=g):(Z=A.lastEffect,Z===null?A.lastEffect=g.next=g:(ve=Z.next,Z.next=g,g.next=ve,A.lastEffect=g)),g}function cf(g){var A=Xo();return g={current:g},A.memoizedState=g}function dc(){return pl().memoizedState}function nu(g,A,Z,ve){var Le=Xo();Hs.flags|=g,Le.memoizedState=Pc(1|A,Z,void 0,ve===void 0?null:ve)}function Zc(g,A,Z,ve){var Le=pl();ve=ve===void 0?null:ve;var ut=void 0;if(ro!==null){var Nt=ro.memoizedState;if(ut=Nt.destroy,ve!==null&&Tc(ve,Nt.deps)){Pc(A,Z,ut,ve);return}}Hs.flags|=g,Le.memoizedState=Pc(1|A,Z,ut,ve)}function hc(g,A){return nu(516,4,g,A)}function Gl(g,A){return Zc(516,4,g,A)}function Hc(g,A){return Zc(4,2,g,A)}function pc(g,A){if(typeof A=="function")return g=g(),A(g),function(){A(null)};if(A!=null)return g=g(),A.current=g,function(){A.current=null}}function zo(g,A,Z){return Z=Z!=null?Z.concat([g]):null,Zc(4,2,pc.bind(null,A,g),Z)}function Gu(){}function Pl(g,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=[g,A],g)}function Eu(g,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]:(g=g(),Z.memoizedState=[g,A],g)}function _c(g,A){var Z=Mt();Tr(98>Z?98:Z,function(){g(!0)}),Tr(97<Z?97:Z,function(){var ve=bu.transition;bu.transition=1;try{g(!1),A()}finally{bu.transition=ve}})}function Wc(g,A,Z){var ve=hu(),Le=$u(g),ut={lane:Le,action:Z,eagerReducer:null,eagerState:null,next:null},Nt=A.pending;if(Nt===null?ut.next=ut:(ut.next=Nt.next,Nt.next=ut),A.pending=ut,Nt=g.alternate,g===Hs||Nt!==null&&Nt===Hs)Tl=Wu=!0;else{if(g.lanes===0&&(Nt===null||Nt.lanes===0)&&(Nt=A.lastRenderedReducer,Nt!==null))try{var rr=A.lastRenderedState,P=Nt(rr,Z);if(ut.eagerReducer=Nt,ut.eagerState=P,Vn(P,rr))return}catch(t){}finally{}El(g,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(g,A){return Xo().memoizedState=[g,A===void 0?null:A],g},useContext:Aa,useEffect:hc,useImperativeHandle:function(g,A,Z){return Z=Z!=null?Z.concat([g]):null,nu(4,2,pc.bind(null,A,g),Z)},useLayoutEffect:function(g,A){return nu(4,2,g,A)},useMemo:function(g,A){var Z=Xo();return A=A===void 0?null:A,g=g(),Z.memoizedState=[g,A],g},useReducer:function(g,A,Z){var ve=Xo();return A=Z!==void 0?Z(A):A,ve.memoizedState=ve.baseState=A,g=ve.queue={pending:null,dispatch:null,lastRenderedReducer:g,lastRenderedState:A},g=g.dispatch=Wc.bind(null,Hs,g),[ve.memoizedState,g]},useRef:cf,useState:Ou,useDebugValue:Gu,useDeferredValue:function(g){var A=Ou(g),Z=A[0],ve=A[1];return hc(function(){var Le=bu.transition;bu.transition=1;try{ve(g)}finally{bu.transition=Le}},[g]),Z},useTransition:function(){var g=Ou(!1),A=g[0];return g=_c.bind(null,g[1]),cf(g),[g,A]},useMutableSource:function(g,A,Z){var ve=Xo();return ve.memoizedState={refs:{getSnapshot:A,setSnapshot:null},source:g,subscribe:Z},lf(ve,g,A,Z)},useOpaqueIdentifier:function(){if(Hu){var g=!1,A=Es(function(){throw g||(g=!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(g){var A=fc(xu),Z=A[0],ve=A[1];return Gl(function(){var Le=bu.transition;bu.transition=1;try{ve(g)}finally{bu.transition=Le}},[g]),Z},useTransition:function(){var g=fc(xu)[0];return[dc().current,g]},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(g){var A=_l(xu),Z=A[0],ve=A[1];return Gl(function(){var Le=bu.transition;bu.transition=1;try{ve(g)}finally{bu.transition=Le}},[g]),Z},useTransition:function(){var g=_l(xu)[0];return[dc().current,g]},useMutableSource:zc,useOpaqueIdentifier:function(){return _l(xu)[0]},unstable_isNewReconciler:!1},ku=j.ReactCurrentOwner,Ru=!1;function $s(g,A,Z,ve){A.child=g===null?zl(A,null,Z,ve):Yo(A,g.child,Z,ve)}function ml(g,A,Z,ve,Le){Z=Z.render;var ut=A.ref;return as(A,Le),ve=cu(g,A,Z,ve,ut,Le),g!==null&&!Ru?(A.updateQueue=g.updateQueue,A.flags&=-517,g.lanes&=~Le,Su(g,A,Le)):(A.flags|=1,$s(g,A,ve,Le),A.child)}function ff(g,A,Z,ve,Le,ut){if(g===null){var Nt=Z.type;return typeof Nt=="function"&&!tf(Nt)&&Nt.defaultProps===void 0&&Z.compare===null&&Z.defaultProps===void 0?(A.tag=15,A.type=Nt,mc(g,A,Nt,ve,Le,ut)):(g=Bl(Z.type,null,ve,A,A.mode,ut),g.ref=A.ref,g.return=A,A.child=g)}return Nt=g.child,!(Le&ut)&&(Le=Nt.memoizedProps,Z=Z.compare,Z=Z!==null?Z:Qi,Z(Le,ve)&&g.ref===A.ref)?Su(g,A,ut):(A.flags|=1,g=fl(Nt,ve),g.ref=A.ref,g.return=A,A.child=g)}function mc(g,A,Z,ve,Le,ut){if(g!==null&&Qi(g.memoizedProps,ve)&&g.ref===A.ref)if(Ru=!1,(ut&Le)!==0)g.flags&16384&&(Ru=!0);else return A.lanes=g.lanes,Su(g,A,ut);return ko(g,A,Z,ve,ut)}function Vc(g,A,Z){var ve=A.pendingProps,Le=ve.children,ut=g!==null?g.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,ut!==null?ut.baseLanes:Z);else return g=ut!==null?ut.baseLanes|Z:Z,A.lanes=A.childLanes=1073741824,A.memoizedState={baseLanes:g},Zi(A,g),null;else ut!==null?(ve=ut.baseLanes|Z,A.memoizedState=null):ve=Z,Zi(A,ve);return $s(g,A,Le,Z),A.child}function vl(g,A){var Z=A.ref;(g===null&&Z!==null||g!==null&&g.ref!==Z)&&(A.flags|=128)}function ko(g,A,Z,ve,Le){var ut=en(Z)?we:ga.current;return ut=yr(A,ut),as(A,Le),Z=cu(g,A,Z,ve,ut,Le),g!==null&&!Ru?(A.updateQueue=g.updateQueue,A.flags&=-517,g.lanes&=~Le,Su(g,A,Le)):(A.flags|=1,$s(g,A,Z,Le),A.child)}function Il(g,A,Z,ve,Le){if(en(Z)){var ut=!0;ti(A)}else ut=!1;if(as(A,Le),A.stateNode===null)g!==null&&(g.alternate=null,A.alternate=null,A.flags|=2),gu(A,Z,ve),uu(A,Z,ve,Le),ve=!0;else if(g===null){var Nt=A.stateNode,rr=A.memoizedProps;Nt.props=rr;var P=Nt.context,t=Z.contextType;typeof t=="object"&&t!==null?t=Aa(t):(t=en(Z)?we:ga.current,t=yr(A,t));var n=Z.getDerivedStateFromProps,o=typeof n=="function"||typeof Nt.getSnapshotBeforeUpdate=="function";o||typeof Nt.UNSAFE_componentWillReceiveProps!="function"&&typeof Nt.componentWillReceiveProps!="function"||(rr!==ve||P!==t)&&ss(A,Nt,ve,t),Fs=!1;var m=A.memoizedState;Nt.state=m,za(A,ve,Nt,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 Nt.UNSAFE_componentWillMount!="function"&&typeof Nt.componentWillMount!="function"||(typeof Nt.componentWillMount=="function"&&Nt.componentWillMount(),typeof Nt.UNSAFE_componentWillMount=="function"&&Nt.UNSAFE_componentWillMount()),typeof Nt.componentDidMount=="function"&&(A.flags|=4)):(typeof Nt.componentDidMount=="function"&&(A.flags|=4),A.memoizedProps=ve,A.memoizedState=P),Nt.props=ve,Nt.state=P,Nt.context=t,ve=rr):(typeof Nt.componentDidMount=="function"&&(A.flags|=4),ve=!1)}else{Nt=A.stateNode,di(g,A),rr=A.memoizedProps,t=A.type===A.elementType?rr:Wn(A.type,rr),Nt.props=t,o=A.pendingProps,m=Nt.context,P=Z.contextType,typeof P=="object"&&P!==null?P=Aa(P):(P=en(Z)?we:ga.current,P=yr(A,P));var E=Z.getDerivedStateFromProps;(n=typeof E=="function"||typeof Nt.getSnapshotBeforeUpdate=="function")||typeof Nt.UNSAFE_componentWillReceiveProps!="function"&&typeof Nt.componentWillReceiveProps!="function"||(rr!==o||m!==P)&&ss(A,Nt,ve,P),Fs=!1,m=A.memoizedState,Nt.state=m,za(A,ve,Nt,Le);var C=A.memoizedState;rr!==o||m!==C||ye.current||Fs?(typeof E=="function"&&(Al(A,Z,E,ve),C=A.memoizedState),(t=Fs||el(A,Z,t,ve,m,C,P))?(n||typeof Nt.UNSAFE_componentWillUpdate!="function"&&typeof Nt.componentWillUpdate!="function"||(typeof Nt.componentWillUpdate=="function"&&Nt.componentWillUpdate(ve,C,P),typeof Nt.UNSAFE_componentWillUpdate=="function"&&Nt.UNSAFE_componentWillUpdate(ve,C,P)),typeof Nt.componentDidUpdate=="function"&&(A.flags|=4),typeof Nt.getSnapshotBeforeUpdate=="function"&&(A.flags|=256)):(typeof Nt.componentDidUpdate!="function"||rr===g.memoizedProps&&m===g.memoizedState||(A.flags|=4),typeof Nt.getSnapshotBeforeUpdate!="function"||rr===g.memoizedProps&&m===g.memoizedState||(A.flags|=256),A.memoizedProps=ve,A.memoizedState=C),Nt.props=ve,Nt.state=C,Nt.context=P,ve=t):(typeof Nt.componentDidUpdate!="function"||rr===g.memoizedProps&&m===g.memoizedState||(A.flags|=4),typeof Nt.getSnapshotBeforeUpdate!="function"||rr===g.memoizedProps&&m===g.memoizedState||(A.flags|=256),ve=!1)}return ze(g,A,Z,ve,ut,Le)}function ze(g,A,Z,ve,Le,ut){vl(g,A);var Nt=(A.flags&64)!==0;if(!ve&&!Nt)return Le&&Bi(A,Z,!1),Su(g,A,ut);ve=A.stateNode,ku.current=A;var rr=Nt&&typeof Z.getDerivedStateFromError!="function"?null:ve.render();return A.flags|=1,g!==null&&Nt?(A.child=Yo(A,g.child,null,ut),A.child=Yo(A,null,rr,ut)):$s(g,A,rr,ut),A.memoizedState=ve.state,Le&&Bi(A,Z,!0),A.child}function wu(g){var A=g.stateNode;A.pendingContext?qr(g,A.pendingContext,A.pendingContext!==A.context):A.context&&qr(g,A.context,!1),oc(g,A.containerInfo)}var Qo={dehydrated:null,retryLane:0};function Kl(g,A,Z){var ve=A.pendingProps,Le=to.current,ut=!1,Nt;return(Nt=(A.flags&64)!==0)||(Nt=g!==null&&g.memoizedState===null?!1:(Le&2)!==0),Nt?(ut=!0,A.flags&=-65):g!==null&&g.memoizedState===null||ve.fallback===void 0||ve.unstable_avoidThisFallback===!0||(Le|=1),Ua(to,Le&1),g===null?(ve.fallback!==void 0&&qs(A),g=ve.children,Le=ve.fallback,ut?(g=$o(A,g,Le,Z),A.child.memoizedState={baseLanes:Z},A.memoizedState=Qo,g):typeof ve.unstable_expectedLoadTime=="number"?(g=$o(A,g,Le,Z),A.child.memoizedState={baseLanes:Z},A.memoizedState=Qo,A.lanes=33554432,g):(Z=Ec({mode:"visible",children:g},A.mode,Z,null),Z.return=A,A.child=Z)):g.memoizedState!==null?ut?(ve=Yl(g,A,ve.children,ve.fallback,Z),ut=A.child,Le=g.child.memoizedState,ut.memoizedState=Le===null?{baseLanes:Z}:{baseLanes:Le.baseLanes|Z},ut.childLanes=g.childLanes&~Z,A.memoizedState=Qo,ve):(Z=fu(g,A,ve.children,Z),A.memoizedState=null,Z):ut?(ve=Yl(g,A,ve.children,ve.fallback,Z),ut=A.child,Le=g.child.memoizedState,ut.memoizedState=Le===null?{baseLanes:Z}:{baseLanes:Le.baseLanes|Z},ut.childLanes=g.childLanes&~Z,A.memoizedState=Qo,ve):(Z=fu(g,A,ve.children,Z),A.memoizedState=null,Z)}function $o(g,A,Z,ve){var Le=g.mode,ut=g.child;return A={mode:"hidden",children:A},!(Le&2)&&ut!==null?(ut.childLanes=0,ut.pendingProps=A):ut=Ec(A,Le,0,null),Z=Wo(Z,Le,ve,null),ut.return=g,Z.return=g,ut.sibling=Z,g.child=ut,Z}function fu(g,A,Z,ve){var Le=g.child;return g=Le.sibling,Z=fl(Le,{mode:"visible",children:Z}),!(A.mode&2)&&(Z.lanes=ve),Z.return=A,Z.sibling=null,g!==null&&(g.nextEffect=null,g.flags=8,A.firstEffect=A.lastEffect=g),A.child=Z}function Yl(g,A,Z,ve,Le){var ut=A.mode,Nt=g.child;g=Nt.sibling;var rr={mode:"hidden",children:Z};return!(ut&2)&&A.child!==Nt?(Z=A.child,Z.childLanes=0,Z.pendingProps=rr,Nt=Z.lastEffect,Nt!==null?(A.firstEffect=Z.firstEffect,A.lastEffect=Nt,Nt.nextEffect=null):A.firstEffect=A.lastEffect=null):Z=fl(Nt,rr),g!==null?ve=fl(g,ve):(ve=Wo(ve,ut,Le,null),ve.flags|=2),ve.return=A,Z.return=A,Z.sibling=ve,A.child=Z,ve}function Lu(g,A){g.lanes|=A;var Z=g.alternate;Z!==null&&(Z.lanes|=A),ws(g.return,A)}function So(g,A,Z,ve,Le,ut){var Nt=g.memoizedState;Nt===null?g.memoizedState={isBackwards:A,rendering:null,renderingStartTime:0,last:ve,tail:Z,tailMode:Le,lastEffect:ut}:(Nt.isBackwards=A,Nt.rendering=null,Nt.renderingStartTime=0,Nt.last=ve,Nt.tail=Z,Nt.tailMode=Le,Nt.lastEffect=ut)}function nl(g,A,Z){var ve=A.pendingProps,Le=ve.revealOrder,ut=ve.tail;if($s(g,A,ve.children,Z),ve=to.current,ve&2)ve=ve&1|2,A.flags|=64;else{if(g!==null&&g.flags&64)e:for(g=A.child;g!==null;){if(g.tag===13)g.memoizedState!==null&&Lu(g,Z);else if(g.tag===19)Lu(g,Z);else if(g.child!==null){g.child.return=g,g=g.child;continue}if(g===A)break e;for(;g.sibling===null;){if(g.return===null||g.return===A)break e;g=g.return}g.sibling.return=g.return,g=g.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;)g=Z.alternate,g!==null&&uc(g)===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,ut,A.lastEffect);break;case"backwards":for(Z=null,Le=A.child,A.child=null;Le!==null;){if(g=Le.alternate,g!==null&&uc(g)===null){A.child=Le;break}g=Le.sibling,Le.sibling=Z,Z=Le,Le=g}So(A,!0,Z,null,ut,A.lastEffect);break;case"together":So(A,!1,null,null,void 0,A.lastEffect);break;default:A.memoizedState=null}return A.child}function Su(g,A,Z){if(g!==null&&(A.dependencies=g.dependencies),io|=A.lanes,Z&A.childLanes){if(g!==null&&A.child!==g.child)throw Error(c(153));if(A.child!==null){for(g=A.child,Z=fl(g,g.pendingProps),A.child=Z,Z.return=A;g.sibling!==null;)g=g.sibling,Z=Z.sibling=fl(g,g.pendingProps),Z.return=A;Z.sibling=null}return A.child}return null}var vc,Mu,Zo,il;vc=function(g,A){for(var Z=A.child;Z!==null;){if(Z.tag===5||Z.tag===6)g.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(g,A,Z,ve){var Le=g.memoizedProps;if(Le!==ve){g=A.stateNode,lu(Uo.current);var ut=null;switch(Z){case"input":Le=dt(g,Le),ve=dt(g,ve),ut=[];break;case"option":Le=We(g,Le),ve=We(g,ve),ut=[];break;case"select":Le=i({},Le,{value:void 0}),ve=i({},ve,{value:void 0}),ut=[];break;case"textarea":Le=lt(g,Le),ve=lt(g,ve),ut=[];break;default:typeof Le.onClick!="function"&&typeof ve.onClick=="function"&&(g.onclick=ri)}Ce(Z,ve);var Nt;Z=null;for(t in Le)if(!ve.hasOwnProperty(t)&&Le.hasOwnProperty(t)&&Le[t]!=null)if(t==="style"){var rr=Le[t];for(Nt in rr)rr.hasOwnProperty(Nt)&&(Z||(Z={}),Z[Nt]="")}else t!=="dangerouslySetInnerHTML"&&t!=="children"&&t!=="suppressContentEditableWarning"&&t!=="suppressHydrationWarning"&&t!=="autoFocus"&&(s.hasOwnProperty(t)?ut||(ut=[]):(ut=ut||[]).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(Nt in rr)!rr.hasOwnProperty(Nt)||P&&P.hasOwnProperty(Nt)||(Z||(Z={}),Z[Nt]="");for(Nt in P)P.hasOwnProperty(Nt)&&rr[Nt]!==P[Nt]&&(Z||(Z={}),Z[Nt]=P[Nt])}else Z||(ut||(ut=[]),ut.push(t,Z)),Z=P;else t==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,rr=rr?rr.__html:void 0,P!=null&&rr!==P&&(ut=ut||[]).push(t,P)):t==="children"?typeof P!="string"&&typeof P!="number"||(ut=ut||[]).push(t,""+P):t!=="suppressContentEditableWarning"&&t!=="suppressHydrationWarning"&&(s.hasOwnProperty(t)?(P!=null&&t==="onScroll"&&Qe("scroll",g),ut||rr===P||(ut=[])):typeof P=="object"&&P!==null&&P.$$typeof===z?P.toString():(ut=ut||[]).push(t,P))}Z&&(ut=ut||[]).push("style",Z);var t=ut;(A.updateQueue=t)&&(A.flags|=4)}},il=function(g,A,Z,ve){Z!==ve&&(A.flags|=4)};function Au(g,A){if(!Hu)switch(g.tailMode){case"hidden":A=g.tail;for(var Z=null;A!==null;)A.alternate!==null&&(Z=A),A=A.sibling;Z===null?g.tail=null:Z.sibling=null;break;case"collapsed":Z=g.tail;for(var ve=null;Z!==null;)Z.alternate!==null&&(ve=Z),Z=Z.sibling;ve===null?A||g.tail===null?g.tail=null:g.tail.sibling=null:ve.sibling=null}}function Dc(g,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 en(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),(g===null||g.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,g!==null&&A.stateNode!=null)Zo(g,A,Z,ve,Le),g.ref!==A.ref&&(A.flags|=128);else{if(!ve){if(A.stateNode===null)throw Error(c(166));return null}if(g=lu(Uo.current),uf(A)){ve=A.stateNode,Z=A.type;var ut=A.memoizedProps;switch(ve[ka]=A,ve[ea]=ut,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(g=0;g<Dn.length;g++)Qe(Dn[g],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,ut),Qe("invalid",ve);break;case"select":ve._wrapperState={wasMultiple:!!ut.multiple},Qe("invalid",ve);break;case"textarea":Vt(ve,ut),Qe("invalid",ve)}Ce(Z,ut),g=null;for(var Nt in ut)ut.hasOwnProperty(Nt)&&(Le=ut[Nt],Nt==="children"?typeof Le=="string"?ve.textContent!==Le&&(g=["children",Le]):typeof Le=="number"&&ve.textContent!==""+Le&&(g=["children",""+Le]):s.hasOwnProperty(Nt)&&Le!=null&&Nt==="onScroll"&&Qe("scroll",ve));switch(Z){case"input":jt(ve),Se(ve,ut,!0);break;case"textarea":jt(ve),Ie(ve);break;case"select":case"option":break;default:typeof ut.onClick=="function"&&(ve.onclick=ri)}ve=g,A.updateQueue=ve,ve!==null&&(A.flags|=4)}else{switch(Nt=Le.nodeType===9?Le:Le.ownerDocument,g===qe.html&&(g=Gt(Z)),g===qe.html?Z==="script"?(g=Nt.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild)):typeof ve.is=="string"?g=Nt.createElement(Z,{is:ve.is}):(g=Nt.createElement(Z),Z==="select"&&(Nt=g,ve.multiple?Nt.multiple=!0:ve.size&&(Nt.size=ve.size))):g=Nt.createElementNS(g,Z),g[ka]=A,g[ea]=ve,vc(g,A,!1,!1),A.stateNode=g,Nt=ft(Z,ve),Z){case"dialog":Qe("cancel",g),Qe("close",g),Le=ve;break;case"iframe":case"object":case"embed":Qe("load",g),Le=ve;break;case"video":case"audio":for(Le=0;Le<Dn.length;Le++)Qe(Dn[Le],g);Le=ve;break;case"source":Qe("error",g),Le=ve;break;case"img":case"image":case"link":Qe("error",g),Qe("load",g),Le=ve;break;case"details":Qe("toggle",g),Le=ve;break;case"input":Je(g,ve),Le=dt(g,ve),Qe("invalid",g);break;case"option":Le=We(g,ve);break;case"select":g._wrapperState={wasMultiple:!!ve.multiple},Le=i({},ve,{value:void 0}),Qe("invalid",g);break;case"textarea":Vt(g,ve),Le=lt(g,ve),Qe("invalid",g);break;default:Le=ve}Ce(Z,Le);var rr=Le;for(ut in rr)if(rr.hasOwnProperty(ut)){var P=rr[ut];ut==="style"?pe(g,P):ut==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,P!=null&&$t(g,P)):ut==="children"?typeof P=="string"?(Z!=="textarea"||P!=="")&&tr(g,P):typeof P=="number"&&tr(g,""+P):ut!=="suppressContentEditableWarning"&&ut!=="suppressHydrationWarning"&&ut!=="autoFocus"&&(s.hasOwnProperty(ut)?P!=null&&ut==="onScroll"&&Qe("scroll",g):P!=null&&N(g,ut,P,Nt))}switch(Z){case"input":jt(g),Se(g,ve,!1);break;case"textarea":jt(g),Ie(g);break;case"option":ve.value!=null&&g.setAttribute("value",""+qt(ve.value));break;case"select":g.multiple=!!ve.multiple,ut=ve.value,ut!=null?nt(g,!!ve.multiple,ut,!1):ve.defaultValue!=null&&nt(g,!!ve.multiple,ve.defaultValue,!0);break;default:typeof Le.onClick=="function"&&(g.onclick=ri)}Hi(Z,ve)&&(A.flags|=4)}A.ref!==null&&(A.flags|=128)}return null;case 6:if(g&&A.stateNode!=null)il(g,A,g.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,g===null?A.memoizedProps.fallback!==void 0&&uf(A):Z=g.memoizedState!==null,ve&&!Z&&A.mode&2&&(g===null&&A.memoizedProps.unstable_avoidThisFallback!==!0||to.current&1?Oa===0&&(Oa=3):((Oa===0||Oa===3)&&(Oa=4),tn===null||!(io&134217727)&&!(ys&134217727)||Ml(tn,hn))),(ve||Z)&&(A.flags|=4),null);case 4:return Zu(),Mu(A),g===null&&Kt(A.stateNode.containerInfo),null;case 10:return Za(A),null;case 17:return en(A.type)&&br(),null;case 19:if(da(to),ve=A.memoizedState,ve===null)return null;if(ut=(A.flags&64)!==0,Nt=ve.rendering,Nt===null)if(ut)Au(ve,!1);else{if(Oa!==0||g!==null&&g.flags&64)for(g=A.child;g!==null;){if(Nt=uc(g),Nt!==null){for(A.flags|=64,Au(ve,!1),ut=Nt.updateQueue,ut!==null&&(A.updateQueue=ut,A.flags|=4),ve.lastEffect===null&&(A.firstEffect=null),A.lastEffect=ve.lastEffect,ve=Z,Z=A.child;Z!==null;)ut=Z,g=ve,ut.flags&=2,ut.nextEffect=null,ut.firstEffect=null,ut.lastEffect=null,Nt=ut.alternate,Nt===null?(ut.childLanes=0,ut.lanes=g,ut.child=null,ut.memoizedProps=null,ut.memoizedState=null,ut.updateQueue=null,ut.dependencies=null,ut.stateNode=null):(ut.childLanes=Nt.childLanes,ut.lanes=Nt.lanes,ut.child=Nt.child,ut.memoizedProps=Nt.memoizedProps,ut.memoizedState=Nt.memoizedState,ut.updateQueue=Nt.updateQueue,ut.type=Nt.type,g=Nt.dependencies,ut.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext}),Z=Z.sibling;return Ua(to,to.current&1|2),A.child}g=g.sibling}ve.tail!==null&&bt()>bc&&(A.flags|=64,ut=!0,Au(ve,!1),A.lanes=33554432)}else{if(!ut)if(g=uc(Nt),g!==null){if(A.flags|=64,ut=!0,Z=g.updateQueue,Z!==null&&(A.updateQueue=Z,A.flags|=4),Au(ve,!0),ve.tail===null&&ve.tailMode==="hidden"&&!Nt.alternate&&!Hu)return A=A.lastEffect=ve.lastEffect,A!==null&&(A.nextEffect=null),null}else 2*bt()-ve.renderingStartTime>bc&&Z!==1073741824&&(A.flags|=64,ut=!0,Au(ve,!1),A.lanes=33554432);ve.isBackwards?(Nt.sibling=A.child,A.child=Nt):(Z=ve.last,Z!==null?Z.sibling=Nt:A.child=Nt,ve.last=Nt)}return ve.tail!==null?(Z=ve.tail,ve.rendering=Z,ve.tail=Z.sibling,ve.lastEffect=A.lastEffect,ve.renderingStartTime=bt(),Z.sibling=null,A=to.current,Ua(to,ut?A&1|2:A&1),Z):null;case 23:case 24:return ua(),g!==null&&g.memoizedState!==null!=(A.memoizedState!==null)&&ve.mode!=="unstable-defer-without-hiding"&&(A.flags|=4),null}throw Error(c(156,A.tag))}function Kc(g){switch(g.tag){case 1:en(g.type)&&br();var A=g.flags;return A&4096?(g.flags=A&-4097|64,g):null;case 3:if(Zu(),da(ye),da(ga),Cc(),A=g.flags,A&64)throw Error(c(285));return g.flags=A&-4097|64,g;case 5:return Sc(g),null;case 13:return da(to),A=g.flags,A&4096?(g.flags=A&-4097|64,g):null;case 19:return da(to),null;case 4:return Zu(),null;case 10:return Za(g),null;case 23:case 24:return ua(),null;default:return null}}function oo(g,A){try{var Z="",ve=A;do Z+=Qt(ve),ve=ve.return;while(ve);var Le=Z}catch(ut){Le=`
|
|
|
Error generating stack: `+ut.message+`
|
|
|
`+ut.stack}return{value:g,source:A,stack:Le}}function du(g,A){try{console.error(A.value)}catch(Z){setTimeout(function(){throw Z})}}var Dl=typeof WeakMap=="function"?WeakMap:Map;function Xl(g,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(g,A)},Z}function Ql(g,A,Z){Z=Qs(-1,Z),Z.tag=3;var ve=g.type.getDerivedStateFromError;if(typeof ve=="function"){var Le=A.value;Z.payload=function(){return du(g,A),ve(Le)}}var ut=g.stateNode;return ut!==null&&typeof ut.componentDidCatch=="function"&&(Z.callback=function(){typeof ve!="function"&&(Ro===null?Ro=new Set([this]):Ro.add(this),du(g,A));var Nt=A.stack;this.componentDidCatch(A.value,{componentStack:Nt!==null?Nt:""})}),Z}var gl=typeof WeakSet=="function"?WeakSet:Set;function Ol(g){var A=g.ref;if(A!==null)if(typeof A=="function")try{A(null)}catch(Z){cl(g,Z)}else A.current=null}function df(g,A){switch(A.tag){case 0:case 11:case 15:case 22:return;case 1:if(A.flags&256&&g!==null){var Z=g.memoizedProps,ve=g.memoizedState;g=A.stateNode,A=g.getSnapshotBeforeUpdate(A.elementType===A.type?Z:Wn(A.type,Z),ve),g.__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(g,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){g=A=A.next;do{if((g.tag&3)===3){var ve=g.create;g.destroy=ve()}g=g.next}while(g!==A)}if(A=Z.updateQueue,A=A!==null?A.lastEffect:null,A!==null){g=A=A.next;do{var Le=g;ve=Le.next,Le=Le.tag,Le&4&&Le&1&&(xc(Z,g),Sf(Z,g)),g=ve}while(g!==A)}return;case 1:g=Z.stateNode,Z.flags&4&&(A===null?g.componentDidMount():(ve=Z.elementType===Z.type?A.memoizedProps:Wn(Z.type,A.memoizedProps),g.componentDidUpdate(ve,A.memoizedState,g.__reactInternalSnapshotBeforeUpdate))),A=Z.updateQueue,A!==null&&Eo(Z,A,g);return;case 3:if(A=Z.updateQueue,A!==null){if(g=null,Z.child!==null)switch(Z.child.tag){case 5:g=Z.child.stateNode;break;case 1:g=Z.child.stateNode}Eo(Z,A,g)}return;case 5:g=Z.stateNode,A===null&&Z.flags&4&&Hi(Z.type,Z.memoizedProps)&&g.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&&pt(Z))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(c(163))}function ql(g,A){for(var Z=g;;){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===g)&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===g)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===g)return;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}}function yl(g,A){if(On&&typeof On.onCommitFiberUnmount=="function")try{On.onCommitFiberUnmount(Fn,A)}catch(ut){}switch(A.tag){case 0:case 11:case 14:case 15:case 22:if(g=A.updateQueue,g!==null&&(g=g.lastEffect,g!==null)){var Z=g=g.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(ut){cl(ve,ut)}}Z=Z.next}while(Z!==g)}break;case 1:if(Ol(A),g=A.stateNode,typeof g.componentWillUnmount=="function")try{g.props=A.memoizedProps,g.state=A.memoizedState,g.componentWillUnmount()}catch(ut){cl(A,ut)}break;case 5:Ol(A);break;case 4:gc(g,A)}}function Yc(g){g.alternate=null,g.child=null,g.dependencies=null,g.firstEffect=null,g.lastEffect=null,g.memoizedProps=null,g.memoizedState=null,g.pendingProps=null,g.return=null,g.updateQueue=null}function Fu(g){return g.tag===5||g.tag===3||g.tag===4}function Bu(g){e:{for(var A=g.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&&(tr(A,""),Z.flags&=-17);e:t:for(Z=g;;){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(g,Z,A):qo(g,Z,A)}function iu(g,A,Z){var ve=g.tag,Le=ve===5||ve===6;if(Le)g=Le?g.stateNode:g.stateNode.instance,A?Z.nodeType===8?Z.parentNode.insertBefore(g,A):Z.insertBefore(g,A):(Z.nodeType===8?(A=Z.parentNode,A.insertBefore(g,Z)):(A=Z,A.appendChild(g)),Z=Z._reactRootContainer,Z!=null||A.onclick!==null||(A.onclick=ri));else if(ve!==4&&(g=g.child,g!==null))for(iu(g,A,Z),g=g.sibling;g!==null;)iu(g,A,Z),g=g.sibling}function qo(g,A,Z){var ve=g.tag,Le=ve===5||ve===6;if(Le)g=Le?g.stateNode:g.stateNode.instance,A?Z.insertBefore(g,A):Z.appendChild(g);else if(ve!==4&&(g=g.child,g!==null))for(qo(g,A,Z),g=g.sibling;g!==null;)qo(g,A,Z),g=g.sibling}function gc(g,A){for(var Z=A,ve=!1,Le,ut;;){if(!ve){ve=Z.return;e:for(;;){if(ve===null)throw Error(c(160));switch(Le=ve.stateNode,ve.tag){case 5:ut=!1;break e;case 3:Le=Le.containerInfo,ut=!0;break e;case 4:Le=Le.containerInfo,ut=!0;break e}ve=ve.return}ve=!0}if(Z.tag===5||Z.tag===6){e:for(var Nt=g,rr=Z,P=rr;;)if(yl(Nt,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}ut?(Nt=Le,rr=Z.stateNode,Nt.nodeType===8?Nt.parentNode.removeChild(rr):Nt.removeChild(rr)):Le.removeChild(Z.stateNode)}else if(Z.tag===4){if(Z.child!==null){Le=Z.stateNode.containerInfo,ut=!0,Z.child.return=Z,Z=Z.child;continue}}else if(yl(g,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(g,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&&(g=ve.destroy,ve.destroy=void 0,g!==void 0&&g()),ve=ve.next;while(ve!==Z)}return;case 1:return;case 5:if(Z=A.stateNode,Z!=null){ve=A.memoizedProps;var Le=g!==null?g.memoizedProps:ve;g=A.type;var ut=A.updateQueue;if(A.updateQueue=null,ut!==null){for(Z[ea]=ve,g==="input"&&ve.type==="radio"&&ve.name!=null&&Ue(Z,ve),ft(g,Le),A=ft(g,ve),Le=0;Le<ut.length;Le+=2){var Nt=ut[Le],rr=ut[Le+1];Nt==="style"?pe(Z,rr):Nt==="dangerouslySetInnerHTML"?$t(Z,rr):Nt==="children"?tr(Z,rr):N(Z,Nt,rr,A)}switch(g){case"input":ge(Z,ve);break;case"textarea":Ht(Z,ve);break;case"select":g=Z._wrapperState.wasMultiple,Z._wrapperState.wasMultiple=!!ve.multiple,ut=ve.value,ut!=null?nt(Z,!!ve.multiple,ut,!1):g!==!!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,pt(Z.containerInfo));return;case 12:return;case 13:A.memoizedState!==null&&(ec=bt(),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(g){var A=g.updateQueue;if(A!==null){g.updateQueue=null;var Z=g.stateNode;Z===null&&(Z=g.stateNode=new gl),A.forEach(function(ve){var Le=Xu.bind(null,g,ve);Z.has(ve)||(Z.add(ve),ve.then(Le,Le))})}}function I(g,A){return g!==null&&(g=g.memoizedState,g===null||g.dehydrated!==null)?(A=A.memoizedState,A!==null&&A.dehydrated===null):!1}var O=Math.ceil,k=j.ReactCurrentDispatcher,me=j.ReactCurrentOwner,ke=0,tn=null,jn=null,hn=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=bt()+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 ke&48?bt():Rc!==-1?Rc:Rc=bt()}function $u(g){if(g=g.mode,!(g&2))return 1;if(!(g&4))return Mt()===99?1:2;if(Vu===0&&(Vu=Ma),Nn.transition!==0){Qc!==0&&(Qc=Jl!==null?Jl.pendingLanes:0),g=Vu;var A=4186112&~Qc;return A&=-A,A===0&&(g=4186112&~g,A=g&-g,A===0&&(A=8192)),A}return g=Mt(),ke&4&&g===98?g=cn(12,Vu):(g=bn(g),g=cn(g,Vu)),g}function El(g,A,Z){if(50<ol)throw ol=0,Xc=null,Error(c(185));if(g=rc(g,A),g===null)return null;Pi(g,A,Z),g===tn&&(ys|=A,Oa===4&&Ml(g,hn));var ve=Mt();A===1?ke&8&&!(ke&48)?Tn(g):(Cu(g,Z),ke===0&&(Nu(),sn())):(!(ke&4)||ve!==98&&ve!==99||(xl===null?xl=new Set([g]):xl.add(g)),Cu(g,Z)),Jl=g}function rc(g,A){g.lanes|=A;var Z=g.alternate;for(Z!==null&&(Z.lanes|=A),Z=g,g=g.return;g!==null;)g.childLanes|=A,Z=g.alternate,Z!==null&&(Z.childLanes|=A),Z=g,g=g.return;return Z.tag===3?Z.stateNode:null}function Cu(g,A){for(var Z=g.callbackNode,ve=g.suspendedLanes,Le=g.pingedLanes,ut=g.expirationTimes,Nt=g.pendingLanes;0<Nt;){var rr=31-bi(Nt),P=1<<rr,t=ut[rr];if(t===-1){if(!(P&ve)||P&Le){t=A,Nr(P);var n=Or;ut[rr]=10<=n?t+250:6<=n?t+5e3:-1}}else t<=A&&(g.expiredLanes|=P);Nt&=~P}if(ve=ln(g,g===tn?hn:0),A=Or,ve===0)Z!==null&&(Z!==W&&zi(Z),g.callbackNode=null,g.callbackPriority=0);else{if(Z!==null){if(g.callbackPriority===A)return;Z!==W&&zi(Z)}A===15?(Z=Tn.bind(null,g),ne===null?(ne=[Z],he=ia(qu,wn)):ne.push(Z),Z=W):A===14?Z=Hr(99,Tn.bind(null,g)):(Z=Pr(A),Z=Hr(Z,nc.bind(null,g))),g.callbackPriority=A,g.callbackNode=Z}}function nc(g){if(Rc=-1,Qc=Vu=0,ke&48)throw Error(c(327));var A=g.callbackNode;if(Fl()&&g.callbackNode!==A)return null;var Z=ln(g,g===tn?hn:0);if(Z===0)return null;var ve=Z,Le=ke;ke|=16;var ut=Ki();(tn!==g||hn!==ve)&&(Nu(),ha(g,ve));do try{ju();break}catch(rr){vs(g,rr)}while(!0);if(is(),k.current=ut,ke=Le,jn!==null?ve=0:(tn=null,hn=0,ve=Oa),Ma&ys)ha(g,0);else if(ve!==0){if(ve===2&&(ke|=64,g.hydrate&&(g.hydrate=!1,Ci(g.containerInfo)),Z=nn(g),Z!==0&&(ve=es(g,Z))),ve===1)throw A=Ao,ha(g,0),Ml(g,Z),Cu(g,bt()),A;switch(g.finishedWork=g.current.alternate,g.finishedLanes=Z,ve){case 0:case 1:throw Error(c(345));case 2:ll(g);break;case 3:if(Ml(g,Z),(Z&62914560)===Z&&(ve=ec+500-bt(),10<ve)){if(ln(g,0)!==0)break;if(Le=g.suspendedLanes,(Le&Z)!==Z){hu(),g.pingedLanes|=g.suspendedLanes&Le;break}g.timeoutHandle=Si(ll.bind(null,g),ve);break}ll(g);break;case 4:if(Ml(g,Z),(Z&4186112)===Z)break;for(ve=g.eventTimes,Le=-1;0<Z;){var Nt=31-bi(Z);ut=1<<Nt,Nt=ve[Nt],Nt>Le&&(Le=Nt),Z&=~ut}if(Z=Le,Z=bt()-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){g.timeoutHandle=Si(ll.bind(null,g),Z);break}ll(g);break;case 5:ll(g);break;default:throw Error(c(329))}}return Cu(g,bt()),g.callbackNode===A?nc.bind(null,g):null}function Ml(g,A){for(A&=~kc,A&=~ys,g.suspendedLanes|=A,g.pingedLanes&=~A,g=g.expirationTimes;0<A;){var Z=31-bi(A),ve=1<<Z;g[Z]=-1,A&=~ve}}function Tn(g){if(ke&48)throw Error(c(327));if(Fl(),g===tn&&g.expiredLanes&hn){var A=hn,Z=es(g,A);Ma&ys&&(A=ln(g,A),Z=es(g,A))}else A=ln(g,0),Z=es(g,A);if(g.tag!==0&&Z===2&&(ke|=64,g.hydrate&&(g.hydrate=!1,Ci(g.containerInfo)),A=nn(g),A!==0&&(Z=es(g,A))),Z===1)throw Z=Ao,ha(g,0),Ml(g,A),Cu(g,bt()),Z;return g.finishedWork=g.current.alternate,g.finishedLanes=A,ll(g),Cu(g,bt()),null}function Kn(){if(xl!==null){var g=xl;xl=null,g.forEach(function(A){A.expiredLanes|=24&A.pendingLanes,Cu(A,bt())})}sn()}function Ni(g,A){var Z=ke;ke|=1;try{return g(A)}finally{ke=Z,ke===0&&(Nu(),sn())}}function Ea(g,A){var Z=ke;ke&=-2,ke|=8;try{return g(A)}finally{ke=Z,ke===0&&(Nu(),sn())}}function Zi(g,A){Ua(Ha,Di),Di|=A,Ma|=A}function ua(){Di=Ha.current,da(Ha)}function ha(g,A){g.finishedWork=null,g.finishedLanes=0;var Z=g.timeoutHandle;if(Z!==-1&&(g.timeoutHandle=-1,ma(Z)),jn!==null)for(Z=jn.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}tn=g,jn=fl(g.current,null),hn=Di=Ma=A,Oa=0,Ao=null,kc=ys=io=0}function vs(g,A){do{var Z=jn;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,jn=null;break}e:{var ut=g,Nt=Z.return,rr=Z,P=A;if(A=hn,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=Nt;do{var E;if(E=m.tag===13){var C=m.memoizedState;if(C!==null)E=C.dehydrated!==null;else{var U=m.memoizedProps;E=U.fallback===void 0?!1:U.unstable_avoidThisFallback!==!0?!0:!o}}if(E){var H=m.updateQueue;if(H===null){var $=new Set;$.add(t),m.updateQueue=$}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 ae=Qs(-1,1);ae.tag=2,po(rr,ae)}rr.lanes|=1;break e}P=void 0,rr=A;var ce=ut.pingCache;if(ce===null?(ce=ut.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,ut,t,rr);t.then(xe,xe)}m.flags|=4096,m.lanes=A;break e}m=m.return}while(m!==null);P=Error((Jt(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=Nt;do{switch(m.tag){case 3:ut=P,m.flags|=4096,A&=-A,m.lanes|=A;var Te=Xl(m,ut,A);Oo(m,Te);break e;case 1:ut=P;var De=m.type,tt=m.stateNode;if(!(m.flags&64)&&(typeof De.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,ut,A);Oo(m,at);break e}}m=m.return}while(m!==null)}ul(Z)}catch(Ft){A=Ft,jn===Z&&Z!==null&&(jn=Z=Z.return);continue}break}while(!0)}function Ki(){var g=k.current;return k.current=Vl,g===null?Vl:g}function es(g,A){var Z=ke;ke|=16;var ve=Ki();tn===g&&hn===A||ha(g,A);do try{Ku();break}catch(Le){vs(g,Le)}while(!0);if(is(),ke=Z,k.current=ve,jn!==null)throw Error(c(261));return tn=null,hn=0,Oa}function Ku(){for(;jn!==null;)Yu(jn)}function ju(){for(;jn!==null&&!ho();)Yu(jn)}function Yu(g){var A=Lc(g.alternate,g,Di);g.memoizedProps=g.pendingProps,A===null?ul(g):jn=A,me.current=null}function ul(g){var A=g;do{var Z=A.alternate;if(g=A.return,A.flags&2048){if(Z=Kc(A),Z!==null){Z.flags&=2047,jn=Z;return}g!==null&&(g.firstEffect=g.lastEffect=null,g.flags|=2048)}else{if(Z=Dc(Z,A,Di),Z!==null){jn=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}g!==null&&!(g.flags&2048)&&(g.firstEffect===null&&(g.firstEffect=A.firstEffect),A.lastEffect!==null&&(g.lastEffect!==null&&(g.lastEffect.nextEffect=A.firstEffect),g.lastEffect=A.lastEffect),1<A.flags&&(g.lastEffect!==null?g.lastEffect.nextEffect=A:g.firstEffect=A,g.lastEffect=A))}if(A=A.sibling,A!==null){jn=A;return}jn=A=g}while(A!==null);Oa===0&&(Oa=5)}function ll(g){var A=Mt();return Tr(99,Df.bind(null,g,A)),null}function Df(g,A){do Fl();while(Ja!==null);if(ke&48)throw Error(c(327));var Z=g.finishedWork;if(Z===null)return null;if(g.finishedWork=null,g.finishedLanes=0,Z===g.current)throw Error(c(177));g.callbackNode=null;var ve=Z.lanes|Z.childLanes,Le=ve,ut=g.pendingLanes&~Le;g.pendingLanes=Le,g.suspendedLanes=0,g.pingedLanes=0,g.expiredLanes&=Le,g.mutableReadLanes&=Le,g.entangledLanes&=Le,Le=g.entanglements;for(var Nt=g.eventTimes,rr=g.expirationTimes;0<ut;){var P=31-bi(ut),t=1<<P;Le[P]=0,Nt[P]=-1,rr[P]=-1,ut&=~t}if(xl!==null&&!(ve&24)&&xl.has(g)&&xl.delete(g),g===tn&&(jn=tn=null,hn=0),1<Z.flags?Z.lastEffect!==null?(Z.lastEffect.nextEffect=Z,ve=Z.firstEffect):ve=Z:ve=Z.firstEffect,ve!==null){if(Le=ke,ke|=32,me.current=null,vi=Pa,Nt=Ur(),na(Nt)){if("selectionStart"in Nt)rr={start:Nt.selectionStart,end:Nt.selectionEnd};else e:if(rr=(rr=Nt.ownerDocument)&&rr.defaultView||window,(t=rr.getSelection&&rr.getSelection())&&t.rangeCount!==0){rr=t.anchorNode,ut=t.anchorOffset,P=t.focusNode,t=t.focusOffset;try{rr.nodeType,P.nodeType}catch(Ft){rr=null;break e}var n=0,o=-1,m=-1,E=0,C=0,U=Nt,H=null;t:for(;;){for(var $;U!==rr||ut!==0&&U.nodeType!==3||(o=n+ut),U!==P||t!==0&&U.nodeType!==3||(m=n+t),U.nodeType===3&&(n+=U.nodeValue.length),($=U.firstChild)!==null;)H=U,U=$;for(;;){if(U===Nt)break t;if(H===rr&&++E===ut&&(o=n),H===P&&++C===t&&(m=n),($=U.nextSibling)!==null)break;U=H,H=U.parentNode}U=$}rr=o===-1||m===-1?null:{start:o,end:m}}else rr=null;rr=rr||{start:0,end:0}}else rr=null;Ii={focusedElem:Nt,selectionRange:rr},Pa=!1,Ll=null,qc=!1,Oi=ve;do try{wf()}catch(Ft){if(Oi===null)throw Error(c(330));cl(Oi,Ft),Oi=Oi.nextEffect}while(Oi!==null);Ll=null,Oi=ve;do try{for(Nt=g;Oi!==null;){var ae=Oi.flags;if(ae&16&&tr(Oi.stateNode,""),ae&128){var ce=Oi.alternate;if(ce!==null){var xe=ce.ref;xe!==null&&(typeof xe=="function"?xe(null):xe.current=null)}}switch(ae&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(Nt,rr);var Te=rr.alternate;Yc(rr),Te!==null&&Yc(Te)}Oi=Oi.nextEffect}}catch(Ft){if(Oi===null)throw Error(c(330));cl(Oi,Ft),Oi=Oi.nextEffect}while(Oi!==null);if(xe=Ii,ce=Ur(),ae=xe.focusedElem,Nt=xe.selectionRange,ce!==ae&&ae&&ae.ownerDocument&&ba(ae.ownerDocument.documentElement,ae)){for(Nt!==null&&na(ae)&&(ce=Nt.start,xe=Nt.end,xe===void 0&&(xe=ce),"selectionStart"in ae?(ae.selectionStart=ce,ae.selectionEnd=Math.min(xe,ae.value.length)):(xe=(ce=ae.ownerDocument||document)&&ce.defaultView||window,xe.getSelection&&(xe=xe.getSelection(),rr=ae.textContent.length,Te=Math.min(Nt.start,rr),Nt=Nt.end===void 0?Te:Math.min(Nt.end,rr),!xe.extend&&Te>Nt&&(rr=Nt,Nt=Te,Te=rr),rr=Mi(ae,Te),ut=Mi(ae,Nt),rr&&ut&&(xe.rangeCount!==1||xe.anchorNode!==rr.node||xe.anchorOffset!==rr.offset||xe.focusNode!==ut.node||xe.focusOffset!==ut.offset)&&(ce=ce.createRange(),ce.setStart(rr.node,rr.offset),xe.removeAllRanges(),Te>Nt?(xe.addRange(ce),xe.extend(ut.node,ut.offset)):(ce.setEnd(ut.node,ut.offset),xe.addRange(ce)))))),ce=[],xe=ae;xe=xe.parentNode;)xe.nodeType===1&&ce.push({element:xe,left:xe.scrollLeft,top:xe.scrollTop});for(typeof ae.focus=="function"&&ae.focus(),ae=0;ae<ce.length;ae++)xe=ce[ae],xe.element.scrollLeft=xe.left,xe.element.scrollTop=xe.top}Pa=!!vi,Ii=vi=null,g.current=Z,Oi=ve;do try{for(ae=g;Oi!==null;){var De=Oi.flags;if(De&36&&kl(ae,Oi.alternate,Oi),De&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(Ft){if(Oi===null)throw Error(c(330));cl(Oi,Ft),Oi=Oi.nextEffect}while(Oi!==null);Oi=null,ee(),ke=Le}else g.current=Z;if(Ws)Ws=!1,Ja=g,al=A;else for(Oi=ve;Oi!==null;)A=Oi.nextEffect,Oi.nextEffect=null,Oi.flags&8&&(De=Oi,De.sibling=null,De.stateNode=null),Oi=A;if(ve=g.pendingLanes,ve===0&&(Ro=null),ve===1?g===Xc?ol++:(ol=0,Xc=g):ol=0,Z=Z.stateNode,On&&typeof On.onCommitFiberRoot=="function")try{On.onCommitFiberRoot(Fn,Z,void 0,(Z.current.flags&64)===64)}catch(Ft){}if(Cu(g,bt()),tc)throw tc=!1,g=Rl,Rl=null,g;return ke&8||sn(),null}function wf(){for(;Oi!==null;){var g=Oi.alternate;qc||Ll===null||(Oi.flags&8?Xr(Oi,Ll)&&(qc=!0):Oi.tag===13&&I(g,Oi)&&Xr(Oi,Ll)&&(qc=!0));var A=Oi.flags;A&256&&df(g,Oi),!(A&512)||Ws||(Ws=!0,Hr(97,function(){return Fl(),null})),Oi=Oi.nextEffect}}function Fl(){if(al!==90){var g=97<al?97:al;return al=90,Tr(g,Jc)}return!1}function Sf(g,A){sl.push(A,g),Ws||(Ws=!0,Hr(97,function(){return Fl(),null}))}function xc(g,A){bl.push(A,g),Ws||(Ws=!0,Hr(97,function(){return Fl(),null}))}function Jc(){if(Ja===null)return!1;var g=Ja;if(Ja=null,ke&48)throw Error(c(331));var A=ke;ke|=32;var Z=bl;bl=[];for(var ve=0;ve<Z.length;ve+=2){var Le=Z[ve],ut=Z[ve+1],Nt=Le.destroy;if(Le.destroy=void 0,typeof Nt=="function")try{Nt()}catch(P){if(ut===null)throw Error(c(330));cl(ut,P)}}for(Z=sl,sl=[],ve=0;ve<Z.length;ve+=2){Le=Z[ve],ut=Z[ve+1];try{var rr=Le.create;Le.destroy=rr()}catch(P){if(ut===null)throw Error(c(330));cl(ut,P)}}for(rr=g.current.firstEffect;rr!==null;)g=rr.nextEffect,rr.nextEffect=null,rr.flags&8&&(rr.sibling=null,rr.stateNode=null),rr=g;return ke=A,sn(),!0}function hf(g,A,Z){A=oo(Z,A),A=Xl(g,A,1),po(g,A),A=hu(),g=rc(g,1),g!==null&&(Pi(g,1,A),Cu(g,A))}function cl(g,A){if(g.tag===3)hf(g,g,A);else for(var Z=g.return;Z!==null;){if(Z.tag===3){hf(Z,g,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))){g=oo(A,g);var Le=Ql(Z,g,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,g)}catch(ut){}break}}Z=Z.return}}function Of(g,A,Z){var ve=g.pingCache;ve!==null&&ve.delete(A),A=hu(),g.pingedLanes|=g.suspendedLanes&Z,tn===g&&(hn&Z)===Z&&(Oa===4||Oa===3&&(hn&62914560)===hn&&500>bt()-ec?ha(g,0):kc|=Z),Cu(g,A)}function Xu(g,A){var Z=g.stateNode;Z!==null&&Z.delete(A),A=0,A===0&&(A=g.mode,A&2?A&4?(Vu===0&&(Vu=Ma),A=An(62914560&~Vu),A===0&&(A=4194304)):A=Mt()===99?1:2:A=1),Z=hu(),g=rc(g,A),g!==null&&(Pi(g,A,Z),Cu(g,Z))}var Lc;Lc=function(g,A,Z){var ve=A.lanes;if(g!==null)if(g.memoizedProps!==A.pendingProps||ye.current)Ru=!0;else if(Z&ve)Ru=!!(g.flags&16384);else{switch(Ru=!1,A.tag){case 3:wu(A),Bo();break;case 5:ii(A);break;case 1:en(A.type)&&ti(A);break;case 4:oc(A,A.stateNode.containerInfo);break;case 10:ve=A.memoizedProps.value;var Le=A.type._context;Ua(_i,Le._currentValue),Le._currentValue=ve;break;case 13:if(A.memoizedState!==null)return Z&A.child.childLanes?Kl(g,A,Z):(Ua(to,to.current&1),A=Su(g,A,Z),A!==null?A.sibling:null);Ua(to,to.current&1);break;case 19:if(ve=(Z&A.childLanes)!==0,g.flags&64){if(ve)return nl(g,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(g,A,Z)}return Su(g,A,Z)}else Ru=!1;switch(A.lanes=0,A.tag){case 2:if(ve=A.type,g!==null&&(g.alternate=null,A.alternate=null,A.flags|=2),g=A.pendingProps,Le=yr(A,ga.current),as(A,Z),Le=cu(null,A,ve,g,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,en(ve)){var ut=!0;ti(A)}else ut=!1;A.memoizedState=Le.state!==null&&Le.state!==void 0?Le.state:null,Rs(A);var Nt=ve.getDerivedStateFromProps;typeof Nt=="function"&&Al(A,ve,Nt,g),Le.updater=Ju,A.stateNode=Le,Le._reactInternals=A,uu(A,ve,g,Z),A=ze(null,A,ve,!0,ut,Z)}else A.tag=0,$s(null,A,Le,Z),A=A.child;return A;case 16:Le=A.elementType;e:{switch(g!==null&&(g.alternate=null,A.alternate=null,A.flags|=2),g=A.pendingProps,ut=Le._init,Le=ut(Le._payload),A.type=Le,ut=A.tag=pf(Le),g=Wn(Le,g),ut){case 0:A=ko(null,A,Le,g,Z);break e;case 1:A=Il(null,A,Le,g,Z);break e;case 11:A=ml(null,A,Le,g,Z);break e;case 14:A=ff(null,A,Le,Wn(Le.type,g),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(g,A,ve,Le,Z);case 1:return ve=A.type,Le=A.pendingProps,Le=A.elementType===ve?Le:Wn(ve,Le),Il(g,A,ve,Le,Z);case 3:if(wu(A),ve=A.updateQueue,g===null||ve===null)throw Error(c(282));if(ve=A.pendingProps,Le=A.memoizedState,Le=Le!==null?Le.element:null,di(g,A),za(A,ve,null,Z),ve=A.memoizedState.element,ve===Le)Bo(),A=Su(g,A,Z);else{if(Le=A.stateNode,(ut=Le.hydrate)&&(rl=Ei(A.stateNode.containerInfo.firstChild),tu=A,ut=Hu=!0),ut){if(g=Le.mutableSourceEagerHydrationData,g!=null)for(Le=0;Le<g.length;Le+=2)ut=g[Le],ut._workInProgressVersionPrimary=g[Le+1],Cl.push(ut);for(Z=zl(A,null,ve,Z),A.child=Z;Z;)Z.flags=Z.flags&-3|1024,Z=Z.sibling}else $s(g,A,ve,Z),Bo();A=A.child}return A;case 5:return ii(A),g===null&&qs(A),ve=A.type,Le=A.pendingProps,ut=g!==null?g.memoizedProps:null,Nt=Le.children,Fi(ve,Le)?Nt=null:ut!==null&&Fi(ve,ut)&&(A.flags|=16),vl(g,A),$s(g,A,Nt,Z),A.child;case 6:return g===null&&qs(A),null;case 13:return Kl(g,A,Z);case 4:return oc(A,A.stateNode.containerInfo),ve=A.pendingProps,g===null?A.child=Yo(A,null,ve,Z):$s(g,A,ve,Z),A.child;case 11:return ve=A.type,Le=A.pendingProps,Le=A.elementType===ve?Le:Wn(ve,Le),ml(g,A,ve,Le,Z);case 7:return $s(g,A,A.pendingProps,Z),A.child;case 8:return $s(g,A,A.pendingProps.children,Z),A.child;case 12:return $s(g,A,A.pendingProps.children,Z),A.child;case 10:e:{ve=A.type._context,Le=A.pendingProps,Nt=A.memoizedProps,ut=Le.value;var rr=A.type._context;if(Ua(_i,rr._currentValue),rr._currentValue=ut,Nt!==null)if(rr=Nt.value,ut=Vn(rr,ut)?0:(typeof ve._calculateChangedBits=="function"?ve._calculateChangedBits(rr,ut):1073741823)|0,ut===0){if(Nt.children===Le.children&&!ye.current){A=Su(g,A,Z);break e}}else for(rr=A.child,rr!==null&&(rr.return=A);rr!==null;){var P=rr.dependencies;if(P!==null){Nt=rr.child;for(var t=P.firstContext;t!==null;){if(t.context===ve&&t.observedBits&ut){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 Nt=rr.tag===10&&rr.type===A.type?null:rr.child;if(Nt!==null)Nt.return=rr;else for(Nt=rr;Nt!==null;){if(Nt===A){Nt=null;break}if(rr=Nt.sibling,rr!==null){rr.return=Nt.return,Nt=rr;break}Nt=Nt.return}rr=Nt}$s(g,A,Le.children,Z),A=A.child}return A;case 9:return Le=A.type,ut=A.pendingProps,ve=ut.children,as(A,Z),Le=Aa(Le,ut.unstable_observedBits),ve=ve(Le),A.flags|=1,$s(g,A,ve,Z),A.child;case 14:return Le=A.type,ut=Wn(Le,A.pendingProps),ut=Wn(Le.type,ut),ff(g,A,Le,ut,ve,Z);case 15:return mc(g,A,A.type,A.pendingProps,ve,Z);case 17:return ve=A.type,Le=A.pendingProps,Le=A.elementType===ve?Le:Wn(ve,Le),g!==null&&(g.alternate=null,A.alternate=null,A.flags|=2),A.tag=1,en(ve)?(g=!0,ti(A)):g=!1,as(A,Z),gu(A,ve,Le),uu(A,ve,Le,Z),ze(null,A,ve,!0,g,Z);case 19:return nl(g,A,Z);case 23:return Vc(g,A,Z);case 24:return Vc(g,A,Z)}throw Error(c(156,A.tag))};function ef(g,A,Z,ve){this.tag=g,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(g,A,Z,ve){return new ef(g,A,Z,ve)}function tf(g){return g=g.prototype,!(!g||!g.isReactComponent)}function pf(g){if(typeof g=="function")return tf(g)?1:0;if(g!=null){if(g=g.$$typeof,g===V)return 11;if(g===q)return 14}return 2}function fl(g,A){var Z=g.alternate;return Z===null?(Z=Ho(g.tag,A,g.key,g.mode),Z.elementType=g.elementType,Z.type=g.type,Z.stateNode=g.stateNode,Z.alternate=g,g.alternate=Z):(Z.pendingProps=A,Z.type=g.type,Z.flags=0,Z.nextEffect=null,Z.firstEffect=null,Z.lastEffect=null),Z.childLanes=g.childLanes,Z.lanes=g.lanes,Z.child=g.child,Z.memoizedProps=g.memoizedProps,Z.memoizedState=g.memoizedState,Z.updateQueue=g.updateQueue,A=g.dependencies,Z.dependencies=A===null?null:{lanes:A.lanes,firstContext:A.firstContext},Z.sibling=g.sibling,Z.index=g.index,Z.ref=g.ref,Z}function Bl(g,A,Z,ve,Le,ut){var Nt=2;if(ve=g,typeof g=="function")tf(g)&&(Nt=1);else if(typeof g=="string")Nt=5;else e:switch(g){case Y:return Wo(Z.children,Le,ut,A);case F:Nt=8,Le|=16;break;case oe:Nt=8,Le|=1;break;case ie:return g=Ho(12,Z,A,Le|8),g.elementType=ie,g.type=ie,g.lanes=ut,g;case G:return g=Ho(13,Z,A,Le),g.type=G,g.elementType=G,g.lanes=ut,g;case te:return g=Ho(19,Z,A,Le),g.elementType=te,g.lanes=ut,g;case se:return Ec(Z,Le,ut,A);case _e:return g=Ho(24,Z,A,Le),g.elementType=_e,g.lanes=ut,g;default:if(typeof g=="object"&&g!==null)switch(g.$$typeof){case ue:Nt=10;break e;case K:Nt=9;break e;case V:Nt=11;break e;case q:Nt=14;break e;case J:Nt=16,ve=null;break e;case le:Nt=22;break e}throw Error(c(130,g==null?g:typeof g,""))}return A=Ho(Nt,Z,A,Le),A.elementType=g,A.type=ve,A.lanes=ut,A}function Wo(g,A,Z,ve){return g=Ho(7,g,ve,A),g.lanes=Z,g}function Ec(g,A,Z,ve){return g=Ho(23,g,ve,A),g.elementType=se,g.lanes=Z,g}function _f(g,A,Z){return g=Ho(6,g,null,A),g.lanes=Z,g}function Mc(g,A,Z){return A=Ho(4,g.children!==null?g.children:[],g.key,A),A.lanes=Z,A.stateNode={containerInfo:g.containerInfo,pendingChildren:null,implementation:g.implementation},A}function Fc(g,A,Z){this.tag=A,this.containerInfo=g,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(g,A,Z){var ve=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:X,key:ve==null?null:""+ve,children:g,containerInfo:A,implementation:Z}}function Bc(g,A,Z,ve){var Le=A.current,ut=hu(),Nt=$u(Le);e:if(Z){Z=Z._reactInternals;t:{if(rn(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(en(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(en(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(ut,Nt),A.payload={element:g},ve=ve===void 0?null:ve,ve!==null&&(A.callback=ve),po(Le,A),El(Le,Nt,ut),Nt}function Af(g){if(g=g.current,!g.child)return null;switch(g.child.tag){case 5:return g.child.stateNode;default:return g.child.stateNode}}function Mf(g,A){if(g=g.memoizedState,g!==null&&g.dehydrated!==null){var Z=g.retryLane;g.retryLane=Z!==0&&Z<A?Z:A}}function Nc(g,A){Mf(g,A),(g=g.alternate)&&Mf(g,A)}function Ff(){return null}function rf(g,A,Z){var ve=Z!=null&&Z.hydrationOptions!=null&&Z.hydrationOptions.mutableSources||null;if(Z=new Fc(g,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),g[ki]=Z.current,Kt(g.nodeType===8?g.parentNode:g),ve)for(g=0;g<ve.length;g++){A=ve[g];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(g){Bc(g,this._internalRoot,null,null)},rf.prototype.unmount=function(){var g=this._internalRoot,A=g.containerInfo;Bc(null,g,null,function(){A[ki]=null})};function vf(g){return!(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11&&(g.nodeType!==8||g.nodeValue!==" react-mount-point-unstable "))}function Hf(g,A){if(A||(A=g?g.nodeType===9?g.documentElement:g.firstChild:null,A=!(!A||A.nodeType!==1||!A.hasAttribute("data-reactroot"))),!A)for(var Z;Z=g.lastChild;)g.removeChild(Z);return new rf(g,0,A?{hydrate:!0}:void 0)}function Cf(g,A,Z,ve,Le){var ut=Z._reactRootContainer;if(ut){var Nt=ut._internalRoot;if(typeof Le=="function"){var rr=Le;Le=function(){var t=Af(Nt);rr.call(t)}}Bc(A,Nt,g,Le)}else{if(ut=Z._reactRootContainer=Hf(Z,ve),Nt=ut._internalRoot,typeof Le=="function"){var P=Le;Le=function(){var t=Af(Nt);P.call(t)}}Ea(function(){Bc(A,Nt,g,Le)})}return Af(Nt)}pn=function(g){if(g.tag===13){var A=hu();El(g,4,A),Nc(g,4)}},$n=function(g){if(g.tag===13){var A=hu();El(g,67108864,A),Nc(g,67108864)}},si=function(g){if(g.tag===13){var A=hu(),Z=$u(g);El(g,Z,A),Nc(g,Z)}},zn=function(g,A){return A()},At=function(g,A,Z){switch(A){case"input":if(ge(g,Z),A=Z.name,Z.type==="radio"&&A!=null){for(Z=g;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!==g&&ve.form===g.form){var Le=qa(ve);if(!Le)throw Error(c(90));st(ve),ge(ve,Le)}}}break;case"textarea":Ht(g,Z);break;case"select":A=Z.value,A!=null&&nt(g,!!Z.multiple,A,!1)}},kt=Ni,Be=function(g,A,Z,ve,Le){var ut=ke;ke|=4;try{return Tr(98,g.bind(null,A,Z,ve,Le))}finally{ke=ut,ke===0&&(Nu(),sn())}},kr=function(){!(ke&49)&&(Kn(),Fl())},St=function(g,A){var Z=ke;ke|=2;try{return g(A)}finally{ke=Z,ke===0&&(Nu(),sn())}};function Bf(g,A){var Z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!vf(A))throw Error(c(200));return mf(g,A,null,Z)}var Nf={Events:[Ka,eo,qa,Ke,mt,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:j.ReactCurrentDispatcher,findHostInstanceByFiber:function(g){return g=cr(g),g===null?null:g.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{Fn=Tf.inject($f),On=Tf}catch(g){}}v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Nf,v.createPortal=Bf,v.findDOMNode=function(g){if(g==null)return null;if(g.nodeType===1)return g;var A=g._reactInternals;if(A===void 0)throw typeof g.render=="function"?Error(c(188)):Error(c(268,Object.keys(g)));return g=cr(A),g=g===null?null:g.stateNode,g},v.flushSync=function(g,A){var Z=ke;if(Z&48)return g(A);ke|=1;try{if(g)return Tr(99,g.bind(null,A))}finally{ke=Z,sn()}},v.hydrate=function(g,A,Z){if(!vf(A))throw Error(c(200));return Cf(null,g,A,!0,Z)},v.render=function(g,A,Z){if(!vf(A))throw Error(c(200));return Cf(null,g,A,!1,Z)},v.unmountComponentAtNode=function(g){if(!vf(g))throw Error(c(40));return g._reactRootContainer?(Ea(function(){Cf(null,null,g,!1,function(){g._reactRootContainer=null,g[ki]=null})}),!0):!1},v.unstable_batchedUpdates=Ni,v.unstable_createPortal=function(g,A){return Bf(g,A,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},v.unstable_renderSubtreeIntoContainer=function(g,A,Z,ve){if(!vf(Z))throw Error(c(200));if(g==null||g._reactInternals===void 0)throw Error(c(38));return Cf(g,A,Z,!1,ve)},v.version="17.0.2"},4676:function(d,v,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 v=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(v&&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,v){"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,T=e?Symbol.for("react.scope"):60119;function D(N){if(typeof N=="object"&&N!==null){var j=N.$$typeof;switch(j){case r:switch(N=N.type,N){case u:case a:case l:case f:case c:case p:return N;default:switch(N=N&&N.$$typeof,N){case h:case x:case b:case _:case s:return N;default:return j}}case i:return j}}}function M(N){return D(N)===a}v.AsyncMode=u,v.ConcurrentMode=a,v.ContextConsumer=h,v.ContextProvider=s,v.Element=r,v.ForwardRef=x,v.Fragment=l,v.Lazy=b,v.Memo=_,v.Portal=i,v.Profiler=f,v.StrictMode=c,v.Suspense=p,v.isAsyncMode=function(N){return M(N)||D(N)===u},v.isConcurrentMode=M,v.isContextConsumer=function(N){return D(N)===h},v.isContextProvider=function(N){return D(N)===s},v.isElement=function(N){return typeof N=="object"&&N!==null&&N.$$typeof===r},v.isForwardRef=function(N){return D(N)===x},v.isFragment=function(N){return D(N)===l},v.isLazy=function(N){return D(N)===b},v.isMemo=function(N){return D(N)===_},v.isPortal=function(N){return D(N)===i},v.isProfiler=function(N){return D(N)===f},v.isStrictMode=function(N){return D(N)===c},v.isSuspense=function(N){return D(N)===p},v.isValidElementType=function(N){return typeof N=="string"||typeof N=="function"||N===l||N===a||N===f||N===c||N===p||N===y||typeof N=="object"&&N!==null&&(N.$$typeof===b||N.$$typeof===_||N.$$typeof===s||N.$$typeof===h||N.$$typeof===x||N.$$typeof===R||N.$$typeof===L||N.$$typeof===T||N.$$typeof===S)},v.typeOf=D},99234:function(d,v,e){"use strict";d.exports=e(30508)},88172:function(d,v){"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}}}v.ContextConsumer=s,v.ContextProvider=f,v.Element=e,v.ForwardRef=u,v.Fragment=i,v.Lazy=y,v.Memo=p,v.Portal=r,v.Profiler=c,v.StrictMode=l,v.Suspense=a,v.SuspenseList=x,v.isAsyncMode=function(){return!1},v.isConcurrentMode=function(){return!1},v.isContextConsumer=function(R){return S(R)===s},v.isContextProvider=function(R){return S(R)===f},v.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===e},v.isForwardRef=function(R){return S(R)===u},v.isFragment=function(R){return S(R)===i},v.isLazy=function(R){return S(R)===y},v.isMemo=function(R){return S(R)===p},v.isPortal=function(R){return S(R)===r},v.isProfiler=function(R){return S(R)===c},v.isStrictMode=function(R){return S(R)===l},v.isSuspense=function(R){return S(R)===a},v.isSuspenseList=function(R){return S(R)===x},v.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)},v.typeOf=S},23265:function(d,v,e){"use strict";d.exports=e(88172)},32451:function(d,v,e){"use strict";e.d(v,{lr:function(){return R},rU:function(){return _}});var r=e(59301),i=e(35338),l=e(19340);function c(){return c=Object.assign||function(T){for(var D=1;D<arguments.length;D++){var M=arguments[D];for(var N in M)Object.prototype.hasOwnProperty.call(M,N)&&(T[N]=M[N])}return T},c.apply(this,arguments)}function f(T,D){if(T==null)return{};var M={},N=Object.keys(T),j,Q;for(Q=0;Q<N.length;Q++)j=N[Q],!(D.indexOf(j)>=0)&&(M[j]=T[j]);return M}const s=["onClick","reloadDocument","replace","state","target","to"],h=null;function u(T,D){if(!T){typeof console!="undefined"&&console.warn(D);try{throw new Error(D)}catch(M){}}}function a(T){let{basename:D,children:M,window:N}=T,j=useRef();j.current==null&&(j.current=createBrowserHistory({window:N}));let Q=j.current,[X,Y]=useState({action:Q.action,location:Q.location});return useLayoutEffect(()=>Q.listen(Y),[Q]),createElement(Router,{basename:D,children:M,location:X.location,navigationType:X.action,navigator:Q})}function x(T){let{basename:D,children:M,window:N}=T,j=useRef();j.current==null&&(j.current=createHashHistory({window:N}));let Q=j.current,[X,Y]=useState({action:Q.action,location:Q.location});return useLayoutEffect(()=>Q.listen(Y),[Q]),createElement(Router,{basename:D,children:M,location:X.location,navigationType:X.action,navigator:Q})}function p(T){let{basename:D,children:M,history:N}=T;const[j,Q]=useState({action:N.action,location:N.location});return useLayoutEffect(()=>N.listen(Q),[N]),createElement(Router,{basename:D,children:M,location:j.location,navigationType:j.action,navigator:N})}function y(T){return!!(T.metaKey||T.altKey||T.ctrlKey||T.shiftKey)}const _=(0,r.forwardRef)(function(D,M){let{onClick:N,reloadDocument:j,replace:Q=!1,state:X,target:Y,to:oe}=D,ie=f(D,s),ue=(0,i.oQ)(oe),K=S(oe,{replace:Q,state:X,target:Y});function V(G){N&&N(G),!G.defaultPrevented&&!j&&K(G)}return(0,r.createElement)("a",c({},ie,{href:ue,onClick:V,ref:M,target:Y}))}),b=null;function S(T,D){let{target:M,replace:N,state:j}=D===void 0?{}:D,Q=(0,i.s0)(),X=(0,i.TH)(),Y=(0,i.WU)(T);return(0,r.useCallback)(oe=>{if(oe.button===0&&(!M||M==="_self")&&!y(oe)){oe.preventDefault();let ie=!!N||(0,l.Ep)(X)===(0,l.Ep)(Y);Q(T,{replace:ie,state:j})}},[X,Q,Y,N,j,M,T])}function R(T){let D=(0,r.useRef)(L(T)),M=(0,i.TH)(),N=(0,r.useMemo)(()=>{let X=L(M.search);for(let Y of D.current.keys())X.has(Y)||D.current.getAll(Y).forEach(oe=>{X.append(Y,oe)});return X},[M.search]),j=(0,i.s0)(),Q=(0,r.useCallback)((X,Y)=>{j("?"+L(X),Y)},[j]);return[N,Q]}function L(T){return T===void 0&&(T=""),new URLSearchParams(typeof T=="string"||Array.isArray(T)||T instanceof URLSearchParams?T:Object.keys(T).reduce((D,M)=>{let N=T[M];return D.concat(Array.isArray(N)?N.map(j=>[M,j]):[[M,N]])},[]))}},35338:function(d,v,e){"use strict";e.d(v,{F0:function(){return st},Fg:function(){return Xe},Gn:function(){return x},TH:function(){return se},UO:function(){return yt},V$:function(){return Qt},WU:function(){return Dt},bx:function(){return je},fp:function(){return p},j3:function(){return Tt},oQ:function(){return z},s0:function(){return Re}});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(Se){}}}const u={};function a(Ue,ge,Se){!ge&&!u[Ue]&&(u[Ue]=!0)}function x(Ue,ge){return ge===void 0&&(ge={}),Ue.replace(/:(\w+)/g,(Se,Me)=>(ge[Me]==null&&s(!1),ge[Me])).replace(/\/*\*$/,Se=>ge["*"]==null?"":ge["*"].replace(/^\/*/,"/"))}function p(Ue,ge,Se){Se===void 0&&(Se="/");let Me=typeof ge=="string"?(0,r.cP)(ge):ge,$e=G(Me.pathname||"/",Se);if($e==null)return null;let We=y(Ue);_(We);let nt=null;for(let lt=0;nt==null&<<We.length;++lt)nt=Q(We[lt],$e);return nt}function y(Ue,ge,Se,Me){return ge===void 0&&(ge=[]),Se===void 0&&(Se=[]),Me===void 0&&(Me=""),Ue.forEach(($e,We)=>{let nt={relativePath:$e.path||"",caseSensitive:$e.caseSensitive===!0,childrenIndex:We,route:$e};nt.relativePath.startsWith("/")&&(nt.relativePath.startsWith(Me)||s(!1),nt.relativePath=nt.relativePath.slice(Me.length));let lt=te([Me,nt.relativePath]),Vt=Se.concat(nt);$e.children&&$e.children.length>0&&($e.index===!0&&s(!1),y($e.children,ge,Vt,lt)),!($e.path==null&&!$e.index)&&ge.push({path:lt,score:N(lt,$e.index),routesMeta:Vt})}),ge}function _(Ue){Ue.sort((ge,Se)=>ge.score!==Se.score?Se.score-ge.score:j(ge.routesMeta.map(Me=>Me.childrenIndex),Se.routesMeta.map(Me=>Me.childrenIndex)))}const b=/^:\w+$/,S=3,R=2,L=1,T=10,D=-2,M=Ue=>Ue==="*";function N(Ue,ge){let Se=Ue.split("/"),Me=Se.length;return Se.some(M)&&(Me+=D),ge&&(Me+=R),Se.filter($e=>!M($e)).reduce(($e,We)=>$e+(b.test(We)?S:We===""?L:T),Me)}function j(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 Q(Ue,ge){let{routesMeta:Se}=Ue,Me={},$e="/",We=[];for(let nt=0;nt<Se.length;++nt){let lt=Se[nt],Vt=nt===Se.length-1,Ht=$e==="/"?ge:ge.slice($e.length)||"/",Ie=X({path:lt.relativePath,caseSensitive:lt.caseSensitive,end:Vt},Ht);if(!Ie)return null;Object.assign(Me,Ie.params);let qe=lt.route;We.push({params:Me,pathname:te([$e,Ie.pathname]),pathnameBase:q(te([$e,Ie.pathnameBase])),route:qe}),Ie.pathnameBase!=="/"&&($e=te([$e,Ie.pathnameBase]))}return We}function X(Ue,ge){typeof Ue=="string"&&(Ue={path:Ue,caseSensitive:!1,end:!0});let[Se,Me]=Y(Ue.path,Ue.caseSensitive,Ue.end),$e=ge.match(Se);if(!$e)return null;let We=$e[0],nt=We.replace(/(.)\/+$/,"$1"),lt=$e.slice(1);return{params:Me.reduce((Ht,Ie,qe)=>{if(Ie==="*"){let Gt=lt[qe]||"";nt=We.slice(0,We.length-Gt.length).replace(/(.)\/+$/,"$1")}return Ht[Ie]=oe(lt[qe]||"",Ie),Ht},{}),pathname:We,pathnameBase:nt,pattern:Ue}}function Y(Ue,ge,Se){ge===void 0&&(ge=!1),Se===void 0&&(Se=!0);let Me=[],$e="^"+Ue.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(nt,lt)=>(Me.push(lt),"([^\\/]+)"));return Ue.endsWith("*")?(Me.push("*"),$e+=Ue==="*"||Ue==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):$e+=Se?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp($e,ge?void 0:"i"),Me]}function oe(Ue,ge){try{return decodeURIComponent(Ue)}catch(Se){return Ue}}function ie(Ue,ge){ge===void 0&&(ge="/");let{pathname:Se,search:Me="",hash:$e=""}=typeof Ue=="string"?(0,r.cP)(Ue):Ue;return{pathname:Se?Se.startsWith("/")?Se:ue(Se,ge):ge,search:J(Me),hash:le($e)}}function ue(Ue,ge){let Se=ge.replace(/\/+$/,"").split("/");return Ue.split("/").forEach($e=>{$e===".."?Se.length>1&&Se.pop():$e!=="."&&Se.push($e)}),Se.length>1?Se.join("/"):"/"}function K(Ue,ge,Se){let Me=typeof Ue=="string"?(0,r.cP)(Ue):Ue,$e=Ue===""||Me.pathname===""?"/":Me.pathname,We;if($e==null)We=Se;else{let lt=ge.length-1;if($e.startsWith("..")){let Vt=$e.split("/");for(;Vt[0]==="..";)Vt.shift(),lt-=1;Me.pathname=Vt.join("/")}We=lt>=0?ge[lt]:"/"}let nt=ie(Me,We);return $e&&$e!=="/"&&$e.endsWith("/")&&!nt.pathname.endsWith("/")&&(nt.pathname+="/"),nt}function V(Ue){return Ue===""||Ue.pathname===""?"/":typeof Ue=="string"?(0,r.cP)(Ue).pathname:Ue.pathname}function G(Ue,ge){if(ge==="/")return Ue;if(!Ue.toLowerCase().startsWith(ge.toLowerCase()))return null;let Se=Ue.charAt(ge.length);return Se&&Se!=="/"?null:Ue.slice(ge.length)||"/"}const te=Ue=>Ue.join("/").replace(/\/\/+/g,"/"),q=Ue=>Ue.replace(/\/+$/,"").replace(/^\/*/,"/"),J=Ue=>!Ue||Ue==="?"?"":Ue.startsWith("?")?Ue:"?"+Ue,le=Ue=>!Ue||Ue==="#"?"":Ue.startsWith("#")?Ue:"#"+Ue;function z(Ue){F()||s(!1);let{basename:ge,navigator:Se}=(0,i.useContext)(l),{hash:Me,pathname:$e,search:We}=Dt(Ue),nt=$e;if(ge!=="/"){let lt=V(Ue),Vt=lt!=null&<.endsWith("/");nt=$e==="/"?ge+(Vt?"/":""):te([ge,$e])}return Se.createHref({pathname:nt,search:We,hash:Me})}function F(){return(0,i.useContext)(c)!=null}function se(){return F()||s(!1),(0,i.useContext)(c).location}function _e(){return useContext(c).navigationType}function Pe(Ue){F()||s(!1);let{pathname:ge}=se();return useMemo(()=>X(Ue,ge),[ge,Ue])}function Re(){F()||s(!1);let{basename:Ue,navigator:ge}=(0,i.useContext)(l),{matches:Se}=(0,i.useContext)(f),{pathname:Me}=se(),$e=JSON.stringify(Se.map(lt=>lt.pathnameBase)),We=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{We.current=!0}),(0,i.useCallback)(function(lt,Vt){if(Vt===void 0&&(Vt={}),!We.current)return;if(typeof lt=="number"){ge.go(lt);return}let Ht=K(lt,JSON.parse($e),Me);Ue!=="/"&&(Ht.pathname=te([Ue,Ht.pathname])),(Vt.replace?ge.replace:ge.push)(Ht,Vt.state)},[Ue,ge,$e,Me])}const He=(0,i.createContext)(null);function je(){return(0,i.useContext)(He)}function Zt(Ue){let ge=(0,i.useContext)(f).outlet;return ge&&(0,i.createElement)(He.Provider,{value:Ue},ge)}function yt(){let{matches:Ue}=(0,i.useContext)(f),ge=Ue[Ue.length-1];return ge?ge.params:{}}function Dt(Ue){let{matches:ge}=(0,i.useContext)(f),{pathname:Se}=se(),Me=JSON.stringify(ge.map($e=>$e.pathnameBase));return(0,i.useMemo)(()=>K(Ue,JSON.parse(Me),Se),[Ue,Me,Se])}function Qt(Ue,ge){F()||s(!1);let{matches:Se}=(0,i.useContext)(f),Me=Se[Se.length-1],$e=Me?Me.params:{},We=Me?Me.pathname:"/",nt=Me?Me.pathnameBase:"/",lt=Me&&Me.route,Vt=se(),Ht;if(ge){var Ie;let zt=typeof ge=="string"?(0,r.cP)(ge):ge;nt==="/"||(Ie=zt.pathname)!=null&&Ie.startsWith(nt)||s(!1),Ht=zt}else Ht=Vt;let qe=Ht.pathname||"/",Gt=nt==="/"?qe:qe.slice(nt.length)||"/",Ot=p(Ue,{pathname:Gt});return Jt(Ot&&Ot.map(zt=>Object.assign({},zt,{params:Object.assign({},$e,zt.params),pathname:te([nt,zt.pathname]),pathnameBase:zt.pathnameBase==="/"?nt:te([nt,zt.pathnameBase])})),Se)}function Jt(Ue,ge){return ge===void 0&&(ge=[]),Ue==null?null:Ue.reduceRight((Se,Me,$e)=>(0,i.createElement)(f.Provider,{children:Me.route.element!==void 0?Me.route.element:Se,value:{outlet:Se,matches:ge.concat(Ue.slice(0,$e+1))}}),null)}function qt(Ue){let{basename:ge,children:Se,initialEntries:Me,initialIndex:$e}=Ue,We=useRef();We.current==null&&(We.current=createMemoryHistory({initialEntries:Me,initialIndex:$e}));let nt=We.current,[lt,Vt]=useState({action:nt.action,location:nt.location});return useLayoutEffect(()=>nt.listen(Vt),[nt]),createElement(st,{basename:ge,children:Se,location:lt.location,navigationType:lt.action,navigator:nt})}function Xe(Ue){let{to:ge,replace:Se,state:Me}=Ue;F()||s(!1);let $e=Re();return(0,i.useEffect)(()=>{$e(ge,{replace:Se,state:Me})}),null}function Tt(Ue){return Zt(Ue.context)}function jt(Ue){s(!1)}function st(Ue){let{basename:ge="/",children:Se=null,location:Me,navigationType:$e=r.aU.Pop,navigator:We,static:nt=!1}=Ue;F()&&s(!1);let lt=q(ge),Vt=(0,i.useMemo)(()=>({basename:lt,navigator:We,static:nt}),[lt,We,nt]);typeof Me=="string"&&(Me=(0,r.cP)(Me));let{pathname:Ht="/",search:Ie="",hash:qe="",state:Gt=null,key:Ot="default"}=Me,zt=(0,i.useMemo)(()=>{let $t=G(Ht,lt);return $t==null?null:{pathname:$t,search:Ie,hash:qe,state:Gt,key:Ot}},[lt,Ht,Ie,qe,Gt,Ot]);return zt==null?null:(0,i.createElement)(l.Provider,{value:Vt},(0,i.createElement)(c.Provider,{children:Se,value:{location:zt,navigationType:$e}}))}function gt(Ue){let{children:ge,location:Se}=Ue;return Qt(dt(ge),Se)}function dt(Ue){let ge=[];return Children.forEach(Ue,Se=>{if(!isValidElement(Se))return;if(Se.type===Fragment){ge.push.apply(ge,dt(Se.props.children));return}Se.type!==jt&&s(!1);let Me={caseSensitive:Se.props.caseSensitive,element:Se.props.element,index:Se.props.index,path:Se.props.path};Se.props.children&&(Me.children=dt(Se.props.children)),ge.push(Me)}),ge}function Je(Ue){return Jt(Ue)}},76100:function(d,v,e){"use strict";var r=e(84126),i=60103,l=60106;v.Fragment=60107,v.StrictMode=60108,v.Profiler=60114;var c=60109,f=60110,s=60112;v.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"),v.Fragment=a("react.fragment"),v.StrictMode=a("react.strict_mode"),v.Profiler=a("react.profiler"),c=a("react.provider"),f=a("react.context"),s=a("react.forward_ref"),v.Suspense=a("react.suspense"),h=a("react.memo"),u=a("react.lazy")}var x=typeof Symbol=="function"&&Symbol.iterator;function p(J){return J===null||typeof J!="object"?null:(J=x&&J[x]||J["@@iterator"],typeof J=="function"?J:null)}function y(J){for(var le="https://reactjs.org/docs/error-decoder.html?invariant="+J,z=1;z<arguments.length;z++)le+="&args[]="+encodeURIComponent(arguments[z]);return"Minified React error #"+J+"; visit "+le+" 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(J,le,z){this.props=J,this.context=le,this.refs=b,this.updater=z||_}S.prototype.isReactComponent={},S.prototype.setState=function(J,le){if(typeof J!="object"&&typeof J!="function"&&J!=null)throw Error(y(85));this.updater.enqueueSetState(this,J,le,"setState")},S.prototype.forceUpdate=function(J){this.updater.enqueueForceUpdate(this,J,"forceUpdate")};function R(){}R.prototype=S.prototype;function L(J,le,z){this.props=J,this.context=le,this.refs=b,this.updater=z||_}var T=L.prototype=new R;T.constructor=L,r(T,S.prototype),T.isPureReactComponent=!0;var D={current:null},M=Object.prototype.hasOwnProperty,N={key:!0,ref:!0,__self:!0,__source:!0};function j(J,le,z){var F,se={},_e=null,Pe=null;if(le!=null)for(F in le.ref!==void 0&&(Pe=le.ref),le.key!==void 0&&(_e=""+le.key),le)M.call(le,F)&&!N.hasOwnProperty(F)&&(se[F]=le[F]);var Re=arguments.length-2;if(Re===1)se.children=z;else if(1<Re){for(var He=Array(Re),je=0;je<Re;je++)He[je]=arguments[je+2];se.children=He}if(J&&J.defaultProps)for(F in Re=J.defaultProps,Re)se[F]===void 0&&(se[F]=Re[F]);return{$$typeof:i,type:J,key:_e,ref:Pe,props:se,_owner:D.current}}function Q(J,le){return{$$typeof:i,type:J.type,key:le,ref:J.ref,props:J.props,_owner:J._owner}}function X(J){return typeof J=="object"&&J!==null&&J.$$typeof===i}function Y(J){var le={"=":"=0",":":"=2"};return"$"+J.replace(/[=:]/g,function(z){return le[z]})}var oe=/\/+/g;function ie(J,le){return typeof J=="object"&&J!==null&&J.key!=null?Y(""+J.key):le.toString(36)}function ue(J,le,z,F,se){var _e=typeof J;(_e==="undefined"||_e==="boolean")&&(J=null);var Pe=!1;if(J===null)Pe=!0;else switch(_e){case"string":case"number":Pe=!0;break;case"object":switch(J.$$typeof){case i:case l:Pe=!0}}if(Pe)return Pe=J,se=se(Pe),J=F===""?"."+ie(Pe,0):F,Array.isArray(se)?(z="",J!=null&&(z=J.replace(oe,"$&/")+"/"),ue(se,le,z,"",function(je){return je})):se!=null&&(X(se)&&(se=Q(se,z+(!se.key||Pe&&Pe.key===se.key?"":(""+se.key).replace(oe,"$&/")+"/")+J)),le.push(se)),1;if(Pe=0,F=F===""?".":F+":",Array.isArray(J))for(var Re=0;Re<J.length;Re++){_e=J[Re];var He=F+ie(_e,Re);Pe+=ue(_e,le,z,He,se)}else if(He=p(J),typeof He=="function")for(J=He.call(J),Re=0;!(_e=J.next()).done;)_e=_e.value,He=F+ie(_e,Re++),Pe+=ue(_e,le,z,He,se);else if(_e==="object")throw le=""+J,Error(y(31,le==="[object Object]"?"object with keys {"+Object.keys(J).join(", ")+"}":le));return Pe}function K(J,le,z){if(J==null)return J;var F=[],se=0;return ue(J,F,"","",function(_e){return le.call(z,_e,se++)}),F}function V(J){if(J._status===-1){var le=J._result;le=le(),J._status=0,J._result=le,le.then(function(z){J._status===0&&(z=z.default,J._status=1,J._result=z)},function(z){J._status===0&&(J._status=2,J._result=z)})}if(J._status===1)return J._result;throw J._result}var G={current:null};function te(){var J=G.current;if(J===null)throw Error(y(321));return J}var q={ReactCurrentDispatcher:G,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:D,IsSomeRendererActing:{current:!1},assign:r};v.Children={map:K,forEach:function(J,le,z){K(J,function(){le.apply(this,arguments)},z)},count:function(J){var le=0;return K(J,function(){le++}),le},toArray:function(J){return K(J,function(le){return le})||[]},only:function(J){if(!X(J))throw Error(y(143));return J}},v.Component=S,v.PureComponent=L,v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=q,v.cloneElement=function(J,le,z){if(J==null)throw Error(y(267,J));var F=r({},J.props),se=J.key,_e=J.ref,Pe=J._owner;if(le!=null){if(le.ref!==void 0&&(_e=le.ref,Pe=D.current),le.key!==void 0&&(se=""+le.key),J.type&&J.type.defaultProps)var Re=J.type.defaultProps;for(He in le)M.call(le,He)&&!N.hasOwnProperty(He)&&(F[He]=le[He]===void 0&&Re!==void 0?Re[He]:le[He])}var He=arguments.length-2;if(He===1)F.children=z;else if(1<He){Re=Array(He);for(var je=0;je<He;je++)Re[je]=arguments[je+2];F.children=Re}return{$$typeof:i,type:J.type,key:se,ref:_e,props:F,_owner:Pe}},v.createContext=function(J,le){return le===void 0&&(le=null),J={$$typeof:f,_calculateChangedBits:le,_currentValue:J,_currentValue2:J,_threadCount:0,Provider:null,Consumer:null},J.Provider={$$typeof:c,_context:J},J.Consumer=J},v.createElement=j,v.createFactory=function(J){var le=j.bind(null,J);return le.type=J,le},v.createRef=function(){return{current:null}},v.forwardRef=function(J){return{$$typeof:s,render:J}},v.isValidElement=X,v.lazy=function(J){return{$$typeof:u,_payload:{_status:-1,_result:J},_init:V}},v.memo=function(J,le){return{$$typeof:h,type:J,compare:le===void 0?null:le}},v.useCallback=function(J,le){return te().useCallback(J,le)},v.useContext=function(J,le){return te().useContext(J,le)},v.useDebugValue=function(){},v.useEffect=function(J,le){return te().useEffect(J,le)},v.useImperativeHandle=function(J,le,z){return te().useImperativeHandle(J,le,z)},v.useLayoutEffect=function(J,le){return te().useLayoutEffect(J,le)},v.useMemo=function(J,le){return te().useMemo(J,le)},v.useReducer=function(J,le,z){return te().useReducer(J,le,z)},v.useRef=function(J){return te().useRef(J)},v.useState=function(J){return te().useState(J)},v.version="17.0.2"},59301:function(d,v,e){"use strict";d.exports=e(76100)},59781:function(d,v,e){"use strict";e.d(v,{DE:function(){return D},MT:function(){return y},UY:function(){return L},md:function(){return N},qC:function(){return M}});var r=e(20049);function i(j){return"Minified Redux error #"+j+"; visit https://redux.js.org/Errors?code="+j+" 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(j){if(typeof j!="object"||j===null)return!1;for(var Q=j;Object.getPrototypeOf(Q)!==null;)Q=Object.getPrototypeOf(Q);return Object.getPrototypeOf(j)===Q}function h(j){if(j===void 0)return"undefined";if(j===null)return"null";var Q=typeof j;switch(Q){case"boolean":case"string":case"number":case"symbol":case"function":return Q}if(Array.isArray(j))return"array";if(x(j))return"date";if(a(j))return"error";var X=u(j);switch(X){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return X}return Q.slice(8,-1).toLowerCase().replace(/\s/g,"")}function u(j){return typeof j.constructor=="function"?j.constructor.name:null}function a(j){return j instanceof Error||typeof j.message=="string"&&j.constructor&&typeof j.constructor.stackTraceLimit=="number"}function x(j){return j instanceof Date?!0:typeof j.toDateString=="function"&&typeof j.getDate=="function"&&typeof j.setDate=="function"}function p(j){var Q=typeof j;return Q}function y(j,Q,X){var Y;if(typeof Q=="function"&&typeof X=="function"||typeof X=="function"&&typeof arguments[3]=="function")throw new Error(i(0));if(typeof Q=="function"&&typeof X=="undefined"&&(X=Q,Q=void 0),typeof X!="undefined"){if(typeof X!="function")throw new Error(i(1));return X(y)(j,Q)}if(typeof j!="function")throw new Error(i(2));var oe=j,ie=Q,ue=[],K=ue,V=!1;function G(){K===ue&&(K=ue.slice())}function te(){if(V)throw new Error(i(3));return ie}function q(F){if(typeof F!="function")throw new Error(i(4));if(V)throw new Error(i(5));var se=!0;return G(),K.push(F),function(){if(se){if(V)throw new Error(i(6));se=!1,G();var Pe=K.indexOf(F);K.splice(Pe,1),ue=null}}}function J(F){if(!s(F))throw new Error(i(7));if(typeof F.type=="undefined")throw new Error(i(8));if(V)throw new Error(i(9));try{V=!0,ie=oe(ie,F)}finally{V=!1}for(var se=ue=K,_e=0;_e<se.length;_e++){var Pe=se[_e];Pe()}return F}function le(F){if(typeof F!="function")throw new Error(i(10));oe=F,J({type:f.REPLACE})}function z(){var F,se=q;return F={subscribe:function(Pe){if(typeof Pe!="object"||Pe===null)throw new Error(i(11));function Re(){Pe.next&&Pe.next(te())}Re();var He=se(Re);return{unsubscribe:He}}},F[l]=function(){return this},F}return J({type:f.INIT}),Y={dispatch:J,subscribe:q,getState:te,replaceReducer:le},Y[l]=z,Y}var _=null;function b(j){typeof console!="undefined"&&typeof console.error=="function"&&console.error(j);try{throw new Error(j)}catch(Q){}}function S(j,Q,X,Y){var oe=Object.keys(Q),ie=X&&X.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(j))return"The "+ie+' has unexpected type of "'+p(j)+'". Expected argument to be an object with the following '+('keys: "'+oe.join('", "')+'"');var ue=Object.keys(j).filter(function(K){return!Q.hasOwnProperty(K)&&!Y[K]});if(ue.forEach(function(K){Y[K]=!0}),!(X&&X.type===f.REPLACE)&&ue.length>0)return"Unexpected "+(ue.length>1?"keys":"key")+" "+('"'+ue.join('", "')+'" found in '+ie+". ")+"Expected to find one of the known reducer keys instead: "+('"'+oe.join('", "')+'". Unexpected keys will be ignored.')}function R(j){Object.keys(j).forEach(function(Q){var X=j[Q],Y=X(void 0,{type:f.INIT});if(typeof Y=="undefined")throw new Error(i(12));if(typeof X(void 0,{type:f.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(i(13))})}function L(j){for(var Q=Object.keys(j),X={},Y=0;Y<Q.length;Y++){var oe=Q[Y];typeof j[oe]=="function"&&(X[oe]=j[oe])}var ie=Object.keys(X),ue,K;try{R(X)}catch(V){K=V}return function(G,te){if(G===void 0&&(G={}),K)throw K;if(0)var q;for(var J=!1,le={},z=0;z<ie.length;z++){var F=ie[z],se=X[F],_e=G[F],Pe=se(_e,te);if(typeof Pe=="undefined"){var Re=te&&te.type;throw new Error(i(14))}le[F]=Pe,J=J||Pe!==_e}return J=J||ie.length!==Object.keys(G).length,J?le:G}}function T(j,Q){return function(){return Q(j.apply(this,arguments))}}function D(j,Q){if(typeof j=="function")return T(j,Q);if(typeof j!="object"||j===null)throw new Error(i(16));var X={};for(var Y in j){var oe=j[Y];typeof oe=="function"&&(X[Y]=T(oe,Q))}return X}function M(){for(var j=arguments.length,Q=new Array(j),X=0;X<j;X++)Q[X]=arguments[X];return Q.length===0?function(Y){return Y}:Q.length===1?Q[0]:Q.reduce(function(Y,oe){return function(){return Y(oe.apply(void 0,arguments))}})}function N(){for(var j=arguments.length,Q=new Array(j),X=0;X<j;X++)Q[X]=arguments[X];return function(Y){return function(){var oe=Y.apply(void 0,arguments),ie=function(){throw new Error(i(15))},ue={getState:oe.getState,dispatch:function(){return ie.apply(void 0,arguments)}},K=Q.map(function(V){return V(ue)});return ie=M.apply(void 0,K)(oe.dispatch),(0,r.Z)((0,r.Z)({},oe),{},{dispatch:ie})}}}},58246:function(d){var v=function(e){"use strict";var r=Object.prototype,i=r.hasOwnProperty,l=Object.defineProperty||function(q,J,le){q[J]=le.value},c,f=typeof Symbol=="function"?Symbol:{},s=f.iterator||"@@iterator",h=f.asyncIterator||"@@asyncIterator",u=f.toStringTag||"@@toStringTag";function a(q,J,le){return Object.defineProperty(q,J,{value:le,enumerable:!0,configurable:!0,writable:!0}),q[J]}try{a({},"")}catch(q){a=function(J,le,z){return J[le]=z}}function x(q,J,le,z){var F=J&&J.prototype instanceof L?J:L,se=Object.create(F.prototype),_e=new V(z||[]);return l(se,"_invoke",{value:oe(q,le,_e)}),se}e.wrap=x;function p(q,J,le){try{return{type:"normal",arg:q.call(J,le)}}catch(z){return{type:"throw",arg:z}}}var y="suspendedStart",_="suspendedYield",b="executing",S="completed",R={};function L(){}function T(){}function D(){}var M={};a(M,s,function(){return this});var N=Object.getPrototypeOf,j=N&&N(N(G([])));j&&j!==r&&i.call(j,s)&&(M=j);var Q=D.prototype=L.prototype=Object.create(M);T.prototype=D,l(Q,"constructor",{value:D,configurable:!0}),l(D,"constructor",{value:T,configurable:!0}),T.displayName=a(D,u,"GeneratorFunction");function X(q){["next","throw","return"].forEach(function(J){a(q,J,function(le){return this._invoke(J,le)})})}e.isGeneratorFunction=function(q){var J=typeof q=="function"&&q.constructor;return J?J===T||(J.displayName||J.name)==="GeneratorFunction":!1},e.mark=function(q){return Object.setPrototypeOf?Object.setPrototypeOf(q,D):(q.__proto__=D,a(q,u,"GeneratorFunction")),q.prototype=Object.create(Q),q},e.awrap=function(q){return{__await:q}};function Y(q,J){function le(se,_e,Pe,Re){var He=p(q[se],q,_e);if(He.type==="throw")Re(He.arg);else{var je=He.arg,Zt=je.value;return Zt&&typeof Zt=="object"&&i.call(Zt,"__await")?J.resolve(Zt.__await).then(function(yt){le("next",yt,Pe,Re)},function(yt){le("throw",yt,Pe,Re)}):J.resolve(Zt).then(function(yt){je.value=yt,Pe(je)},function(yt){return le("throw",yt,Pe,Re)})}}var z;function F(se,_e){function Pe(){return new J(function(Re,He){le(se,_e,Re,He)})}return z=z?z.then(Pe,Pe):Pe()}l(this,"_invoke",{value:F})}X(Y.prototype),a(Y.prototype,h,function(){return this}),e.AsyncIterator=Y,e.async=function(q,J,le,z,F){F===void 0&&(F=Promise);var se=new Y(x(q,J,le,z),F);return e.isGeneratorFunction(J)?se:se.next().then(function(_e){return _e.done?_e.value:se.next()})};function oe(q,J,le){var z=y;return function(se,_e){if(z===b)throw new Error("Generator is already running");if(z===S){if(se==="throw")throw _e;return te()}for(le.method=se,le.arg=_e;;){var Pe=le.delegate;if(Pe){var Re=ie(Pe,le);if(Re){if(Re===R)continue;return Re}}if(le.method==="next")le.sent=le._sent=le.arg;else if(le.method==="throw"){if(z===y)throw z=S,le.arg;le.dispatchException(le.arg)}else le.method==="return"&&le.abrupt("return",le.arg);z=b;var He=p(q,J,le);if(He.type==="normal"){if(z=le.done?S:_,He.arg===R)continue;return{value:He.arg,done:le.done}}else He.type==="throw"&&(z=S,le.method="throw",le.arg=He.arg)}}}function ie(q,J){var le=J.method,z=q.iterator[le];if(z===c)return J.delegate=null,le==="throw"&&q.iterator.return&&(J.method="return",J.arg=c,ie(q,J),J.method==="throw")||le!=="return"&&(J.method="throw",J.arg=new TypeError("The iterator does not provide a '"+le+"' method")),R;var F=p(z,q.iterator,J.arg);if(F.type==="throw")return J.method="throw",J.arg=F.arg,J.delegate=null,R;var se=F.arg;if(!se)return J.method="throw",J.arg=new TypeError("iterator result is not an object"),J.delegate=null,R;if(se.done)J[q.resultName]=se.value,J.next=q.nextLoc,J.method!=="return"&&(J.method="next",J.arg=c);else return se;return J.delegate=null,R}X(Q),a(Q,u,"Generator"),a(Q,s,function(){return this}),a(Q,"toString",function(){return"[object Generator]"});function ue(q){var J={tryLoc:q[0]};1 in q&&(J.catchLoc=q[1]),2 in q&&(J.finallyLoc=q[2],J.afterLoc=q[3]),this.tryEntries.push(J)}function K(q){var J=q.completion||{};J.type="normal",delete J.arg,q.completion=J}function V(q){this.tryEntries=[{tryLoc:"root"}],q.forEach(ue,this),this.reset(!0)}e.keys=function(q){var J=Object(q),le=[];for(var z in J)le.push(z);return le.reverse(),function F(){for(;le.length;){var se=le.pop();if(se in J)return F.value=se,F.done=!1,F}return F.done=!0,F}};function G(q){if(q){var J=q[s];if(J)return J.call(q);if(typeof q.next=="function")return q;if(!isNaN(q.length)){var le=-1,z=function F(){for(;++le<q.length;)if(i.call(q,le))return F.value=q[le],F.done=!1,F;return F.value=c,F.done=!0,F};return z.next=z}}return{next:te}}e.values=G;function te(){return{value:c,done:!0}}return V.prototype={constructor:V,reset:function(q){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(K),!q)for(var J in this)J.charAt(0)==="t"&&i.call(this,J)&&!isNaN(+J.slice(1))&&(this[J]=c)},stop:function(){this.done=!0;var q=this.tryEntries[0],J=q.completion;if(J.type==="throw")throw J.arg;return this.rval},dispatchException:function(q){if(this.done)throw q;var J=this;function le(Re,He){return se.type="throw",se.arg=q,J.next=Re,He&&(J.method="next",J.arg=c),!!He}for(var z=this.tryEntries.length-1;z>=0;--z){var F=this.tryEntries[z],se=F.completion;if(F.tryLoc==="root")return le("end");if(F.tryLoc<=this.prev){var _e=i.call(F,"catchLoc"),Pe=i.call(F,"finallyLoc");if(_e&&Pe){if(this.prev<F.catchLoc)return le(F.catchLoc,!0);if(this.prev<F.finallyLoc)return le(F.finallyLoc)}else if(_e){if(this.prev<F.catchLoc)return le(F.catchLoc,!0)}else if(Pe){if(this.prev<F.finallyLoc)return le(F.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(q,J){for(var le=this.tryEntries.length-1;le>=0;--le){var z=this.tryEntries[le];if(z.tryLoc<=this.prev&&i.call(z,"finallyLoc")&&this.prev<z.finallyLoc){var F=z;break}}F&&(q==="break"||q==="continue")&&F.tryLoc<=J&&J<=F.finallyLoc&&(F=null);var se=F?F.completion:{};return se.type=q,se.arg=J,F?(this.method="next",this.next=F.finallyLoc,R):this.complete(se)},complete:function(q,J){if(q.type==="throw")throw q.arg;return q.type==="break"||q.type==="continue"?this.next=q.arg:q.type==="return"?(this.rval=this.arg=q.arg,this.method="return",this.next="end"):q.type==="normal"&&J&&(this.next=J),R},finish:function(q){for(var J=this.tryEntries.length-1;J>=0;--J){var le=this.tryEntries[J];if(le.finallyLoc===q)return this.complete(le.completion,le.afterLoc),K(le),R}},catch:function(q){for(var J=this.tryEntries.length-1;J>=0;--J){var le=this.tryEntries[J];if(le.tryLoc===q){var z=le.completion;if(z.type==="throw"){var F=z.arg;K(le)}return F}}throw new Error("illegal catch attempt")},delegateYield:function(q,J,le){return this.delegate={iterator:G(q),resultName:J,nextLoc:le},this.method==="next"&&(this.arg=c),R}},e}(d.exports);try{regeneratorRuntime=v}catch(e){typeof globalThis=="object"?globalThis.regeneratorRuntime=v:Function("r","regeneratorRuntime = r")(v)}},76374:function(d,v,e){"use strict";var r=function(){if(typeof Map!="undefined")return Map;function V(G,te){var q=-1;return G.some(function(J,le){return J[0]===te?(q=le,!0):!1}),q}return function(){function G(){this.__entries__=[]}return Object.defineProperty(G.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),G.prototype.get=function(te){var q=V(this.__entries__,te),J=this.__entries__[q];return J&&J[1]},G.prototype.set=function(te,q){var J=V(this.__entries__,te);~J?this.__entries__[J][1]=q:this.__entries__.push([te,q])},G.prototype.delete=function(te){var q=this.__entries__,J=V(q,te);~J&&q.splice(J,1)},G.prototype.has=function(te){return!!~V(this.__entries__,te)},G.prototype.clear=function(){this.__entries__.splice(0)},G.prototype.forEach=function(te,q){q===void 0&&(q=null);for(var J=0,le=this.__entries__;J<le.length;J++){var z=le[J];te.call(q,z[1],z[0])}},G}()}(),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(V){return setTimeout(function(){return V(Date.now())},1e3/60)}}(),f=2;function s(V,G){var te=!1,q=!1,J=0;function le(){te&&(te=!1,V()),q&&F()}function z(){c(le)}function F(){var se=Date.now();if(te){if(se-J<f)return;q=!0}else te=!0,q=!1,setTimeout(z,G);J=se}return F}var h=20,u=["top","right","bottom","left","width","height","size","weight"],a=typeof MutationObserver!="undefined",x=function(){function V(){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 V.prototype.addObserver=function(G){~this.observers_.indexOf(G)||this.observers_.push(G),this.connected_||this.connect_()},V.prototype.removeObserver=function(G){var te=this.observers_,q=te.indexOf(G);~q&&te.splice(q,1),!te.length&&this.connected_&&this.disconnect_()},V.prototype.refresh=function(){var G=this.updateObservers_();G&&this.refresh()},V.prototype.updateObservers_=function(){var G=this.observers_.filter(function(te){return te.gatherActive(),te.hasActive()});return G.forEach(function(te){return te.broadcastActive()}),G.length>0},V.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)},V.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)},V.prototype.onTransitionEnd_=function(G){var te=G.propertyName,q=te===void 0?"":te,J=u.some(function(le){return!!~q.indexOf(le)});J&&this.refresh()},V.getInstance=function(){return this.instance_||(this.instance_=new V),this.instance_},V.instance_=null,V}(),p=function(V,G){for(var te=0,q=Object.keys(G);te<q.length;te++){var J=q[te];Object.defineProperty(V,J,{value:G[J],enumerable:!1,writable:!1,configurable:!0})}return V},y=function(V){var G=V&&V.ownerDocument&&V.ownerDocument.defaultView;return G||l},_=Q(0,0,0,0);function b(V){return parseFloat(V)||0}function S(V){for(var G=[],te=1;te<arguments.length;te++)G[te-1]=arguments[te];return G.reduce(function(q,J){var le=V["border-"+J+"-width"];return q+b(le)},0)}function R(V){for(var G=["top","right","bottom","left"],te={},q=0,J=G;q<J.length;q++){var le=J[q],z=V["padding-"+le];te[le]=b(z)}return te}function L(V){var G=V.getBBox();return Q(0,0,G.width,G.height)}function T(V){var G=V.clientWidth,te=V.clientHeight;if(!G&&!te)return _;var q=y(V).getComputedStyle(V),J=R(q),le=J.left+J.right,z=J.top+J.bottom,F=b(q.width),se=b(q.height);if(q.boxSizing==="border-box"&&(Math.round(F+le)!==G&&(F-=S(q,"left","right")+le),Math.round(se+z)!==te&&(se-=S(q,"top","bottom")+z)),!M(V)){var _e=Math.round(F+le)-G,Pe=Math.round(se+z)-te;Math.abs(_e)!==1&&(F-=_e),Math.abs(Pe)!==1&&(se-=Pe)}return Q(J.left,J.top,F,se)}var D=function(){return typeof SVGGraphicsElement!="undefined"?function(V){return V instanceof y(V).SVGGraphicsElement}:function(V){return V instanceof y(V).SVGElement&&typeof V.getBBox=="function"}}();function M(V){return V===y(V).document.documentElement}function N(V){return i?D(V)?L(V):T(V):_}function j(V){var G=V.x,te=V.y,q=V.width,J=V.height,le=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,z=Object.create(le.prototype);return p(z,{x:G,y:te,width:q,height:J,top:te,right:G+q,bottom:J+te,left:G}),z}function Q(V,G,te,q){return{x:V,y:G,width:te,height:q}}var X=function(){function V(G){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Q(0,0,0,0),this.target=G}return V.prototype.isActive=function(){var G=N(this.target);return this.contentRect_=G,G.width!==this.broadcastWidth||G.height!==this.broadcastHeight},V.prototype.broadcastRect=function(){var G=this.contentRect_;return this.broadcastWidth=G.width,this.broadcastHeight=G.height,G},V}(),Y=function(){function V(G,te){var q=j(te);p(this,{target:G,contentRect:q})}return V}(),oe=function(){function V(G,te,q){if(this.activeObservations_=[],this.observations_=new r,typeof G!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=G,this.controller_=te,this.callbackCtx_=q}return V.prototype.observe=function(G){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(G instanceof y(G).Element))throw new TypeError('parameter 1 is not of type "Element".');var te=this.observations_;te.has(G)||(te.set(G,new X(G)),this.controller_.addObserver(this),this.controller_.refresh())}},V.prototype.unobserve=function(G){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(G instanceof y(G).Element))throw new TypeError('parameter 1 is not of type "Element".');var te=this.observations_;te.has(G)&&(te.delete(G),te.size||this.controller_.removeObserver(this))}},V.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},V.prototype.gatherActive=function(){var G=this;this.clearActive(),this.observations_.forEach(function(te){te.isActive()&&G.activeObservations_.push(te)})},V.prototype.broadcastActive=function(){if(this.hasActive()){var G=this.callbackCtx_,te=this.activeObservations_.map(function(q){return new Y(q.target,q.broadcastRect())});this.callback_.call(G,te,G),this.clearActive()}},V.prototype.clearActive=function(){this.activeObservations_.splice(0)},V.prototype.hasActive=function(){return this.activeObservations_.length>0},V}(),ie=typeof WeakMap!="undefined"?new WeakMap:new r,ue=function(){function V(G){if(!(this instanceof V))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var te=x.getInstance(),q=new oe(G,te,this);ie.set(this,q)}return V}();["observe","unobserve","disconnect"].forEach(function(V){ue.prototype[V]=function(){var G;return(G=ie.get(this))[V].apply(G,arguments)}});var K=function(){return typeof l.ResizeObserver!="undefined"?l.ResizeObserver:ue}();v.Z=K},74284:function(d,v){"use strict";var e,r,i,l;if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;v.unstable_now=function(){return c.now()}}else{var f=Date,s=f.now();v.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 z=v.unstable_now();h(!0,z),h=null}catch(F){throw setTimeout(a,0),F}};e=function(z){h!==null?setTimeout(e,0,z):(h=z,setTimeout(a,0))},r=function(z,F){u=setTimeout(z,F)},i=function(){clearTimeout(u)},v.unstable_shouldYield=function(){return!1},l=v.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;v.unstable_shouldYield=function(){return v.unstable_now()>=L},l=function(){},v.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<z?Math.floor(1e3/z):5};var T=new MessageChannel,D=T.port2;T.port1.onmessage=function(){if(b!==null){var z=v.unstable_now();L=z+R;try{b(!0,z)?D.postMessage(null):(_=!1,b=null)}catch(F){throw D.postMessage(null),F}}else _=!1},e=function(z){b=z,_||(_=!0,D.postMessage(null))},r=function(z,F){S=x(function(){z(v.unstable_now())},F)},i=function(){p(S),S=-1}}function M(z,F){var se=z.length;z.push(F);e:for(;;){var _e=se-1>>>1,Pe=z[_e];if(Pe!==void 0&&0<Q(Pe,F))z[_e]=F,z[se]=Pe,se=_e;else break e}}function N(z){return z=z[0],z===void 0?null:z}function j(z){var F=z[0];if(F!==void 0){var se=z.pop();if(se!==F){z[0]=se;e:for(var _e=0,Pe=z.length;_e<Pe;){var Re=2*(_e+1)-1,He=z[Re],je=Re+1,Zt=z[je];if(He!==void 0&&0>Q(He,se))Zt!==void 0&&0>Q(Zt,He)?(z[_e]=Zt,z[je]=se,_e=je):(z[_e]=He,z[Re]=se,_e=Re);else if(Zt!==void 0&&0>Q(Zt,se))z[_e]=Zt,z[je]=se,_e=je;else break e}}return F}return null}function Q(z,F){var se=z.sortIndex-F.sortIndex;return se!==0?se:z.id-F.id}var X=[],Y=[],oe=1,ie=null,ue=3,K=!1,V=!1,G=!1;function te(z){for(var F=N(Y);F!==null;){if(F.callback===null)j(Y);else if(F.startTime<=z)j(Y),F.sortIndex=F.expirationTime,M(X,F);else break;F=N(Y)}}function q(z){if(G=!1,te(z),!V)if(N(X)!==null)V=!0,e(J);else{var F=N(Y);F!==null&&r(q,F.startTime-z)}}function J(z,F){V=!1,G&&(G=!1,i()),K=!0;var se=ue;try{for(te(F),ie=N(X);ie!==null&&(!(ie.expirationTime>F)||z&&!v.unstable_shouldYield());){var _e=ie.callback;if(typeof _e=="function"){ie.callback=null,ue=ie.priorityLevel;var Pe=_e(ie.expirationTime<=F);F=v.unstable_now(),typeof Pe=="function"?ie.callback=Pe:ie===N(X)&&j(X),te(F)}else j(X);ie=N(X)}if(ie!==null)var Re=!0;else{var He=N(Y);He!==null&&r(q,He.startTime-F),Re=!1}return Re}finally{ie=null,ue=se,K=!1}}var le=l;v.unstable_IdlePriority=5,v.unstable_ImmediatePriority=1,v.unstable_LowPriority=4,v.unstable_NormalPriority=3,v.unstable_Profiling=null,v.unstable_UserBlockingPriority=2,v.unstable_cancelCallback=function(z){z.callback=null},v.unstable_continueExecution=function(){V||K||(V=!0,e(J))},v.unstable_getCurrentPriorityLevel=function(){return ue},v.unstable_getFirstCallbackNode=function(){return N(X)},v.unstable_next=function(z){switch(ue){case 1:case 2:case 3:var F=3;break;default:F=ue}var se=ue;ue=F;try{return z()}finally{ue=se}},v.unstable_pauseExecution=function(){},v.unstable_requestPaint=le,v.unstable_runWithPriority=function(z,F){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var se=ue;ue=z;try{return F()}finally{ue=se}},v.unstable_scheduleCallback=function(z,F,se){var _e=v.unstable_now();switch(typeof se=="object"&&se!==null?(se=se.delay,se=typeof se=="number"&&0<se?_e+se:_e):se=_e,z){case 1:var Pe=-1;break;case 2:Pe=250;break;case 5:Pe=1073741823;break;case 4:Pe=1e4;break;default:Pe=5e3}return Pe=se+Pe,z={id:oe++,callback:F,priorityLevel:z,startTime:se,expirationTime:Pe,sortIndex:-1},se>_e?(z.sortIndex=se,M(Y,z),N(X)===null&&z===N(Y)&&(G?i():G=!0,r(q,se-_e))):(z.sortIndex=Pe,M(X,z),V||K||(V=!0,e(J))),z},v.unstable_wrapCallback=function(z){var F=ue;return function(){var se=ue;ue=F;try{return z.apply(this,arguments)}finally{ue=se}}}},43014:function(d,v,e){"use strict";d.exports=e(74284)},18947:function(d){"use strict";function v(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=v},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 v=document.getSelection();if(!v.rangeCount)return function(){};for(var e=document.activeElement,r=[],i=0;i<v.rangeCount;i++)r.push(v.getRangeAt(i));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return v.removeAllRanges(),function(){v.type==="Caret"&&v.removeAllRanges(),v.rangeCount||r.forEach(function(l){v.addRange(l)}),e&&e.focus()}}},797:function(d,v,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,v,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,v,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,v,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 v=void 0;d.exports=function(e){return e!==v&&e!==null}},36736:function(d,v,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;v.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:p},1719:function(d,v,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;v.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 T(Q){if(!D){if(D=!0,M=Q,Q=_(Q),b!==void 0&&R.hasValue){var X=R.value;if(b(X,Q))return N=X}return N=Q}if(X=N,c(M,Q))return X;var Y=_(Q);return b!==void 0&&b(X,Y)?(M=Q,X):(M=Q,N=Y)}var D=!1,M,N,j=y===void 0?null:y;return[function(){return T(p())},j===null?void 0:function(){return T(j())}]},[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,v,e){"use strict";d.exports=e(36736)},45097:function(d,v,e){"use strict";d.exports=e(1719)},1012:function(d,v,e){"use strict";e.d(v,{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 v=function(){};d.exports=v},85239:function(d){"use strict";var v=!1,e=function(){};if(v){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(){},77496:function(d,v,e){var r=e(81508).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=typeof Symbol=="function"?Symbol:{},u=h.iterator||"@@iterator",a=h.asyncIterator||"@@asyncIterator",x=h.toStringTag||"@@toStringTag";function p(K,V,G,te){return Object.defineProperty(K,V,{value:G,enumerable:!te,configurable:!te,writable:!te})}try{p({},"")}catch(K){p=function(G,te,q){return G[te]=q}}function y(K,V,G,te){var q=V&&V.prototype instanceof S?V:S,J=Object.create(q.prototype);return p(J,"_invoke",function(le,z,F){var se=1;return function(_e,Pe){if(se===3)throw Error("Generator is already running");if(se===4){if(_e==="throw")throw Pe;return{value:l,done:!0}}for(F.method=_e,F.arg=Pe;;){var Re=F.delegate;if(Re){var He=X(Re,F);if(He){if(He===b)continue;return He}}if(F.method==="next")F.sent=F._sent=F.arg;else if(F.method==="throw"){if(se===1)throw se=4,F.arg;F.dispatchException(F.arg)}else F.method==="return"&&F.abrupt("return",F.arg);se=3;var je=_(le,z,F);if(je.type==="normal"){if(se=F.done?4:2,je.arg===b)continue;return{value:je.arg,done:F.done}}je.type==="throw"&&(se=4,F.method="throw",F.arg=je.arg)}}}(K,G,new ie(te||[])),!0),J}function _(K,V,G){try{return{type:"normal",arg:K.call(V,G)}}catch(te){return{type:"throw",arg:te}}}c.wrap=y;var b={};function S(){}function R(){}function L(){}var T={};p(T,u,function(){return this});var D=Object.getPrototypeOf,M=D&&D(D(ue([])));M&&M!==f&&s.call(M,u)&&(T=M);var N=L.prototype=S.prototype=Object.create(T);function j(K){["next","throw","return"].forEach(function(V){p(K,V,function(G){return this._invoke(V,G)})})}function Q(K,V){function G(q,J,le,z){var F=_(K[q],K,J);if(F.type!=="throw"){var se=F.arg,_e=se.value;return _e&&r(_e)=="object"&&s.call(_e,"__await")?V.resolve(_e.__await).then(function(Pe){G("next",Pe,le,z)},function(Pe){G("throw",Pe,le,z)}):V.resolve(_e).then(function(Pe){se.value=Pe,le(se)},function(Pe){return G("throw",Pe,le,z)})}z(F.arg)}var te;p(this,"_invoke",function(q,J){function le(){return new V(function(z,F){G(q,J,z,F)})}return te=te?te.then(le,le):le()},!0)}function X(K,V){var G=V.method,te=K.i[G];if(te===l)return V.delegate=null,G==="throw"&&K.i.return&&(V.method="return",V.arg=l,X(K,V),V.method==="throw")||G!=="return"&&(V.method="throw",V.arg=new TypeError("The iterator does not provide a '"+G+"' method")),b;var q=_(te,K.i,V.arg);if(q.type==="throw")return V.method="throw",V.arg=q.arg,V.delegate=null,b;var J=q.arg;return J?J.done?(V[K.r]=J.value,V.next=K.n,V.method!=="return"&&(V.method="next",V.arg=l),V.delegate=null,b):J:(V.method="throw",V.arg=new TypeError("iterator result is not an object"),V.delegate=null,b)}function Y(K){this.tryEntries.push(K)}function oe(K){var V=K[4]||{};V.type="normal",V.arg=l,K[4]=V}function ie(K){this.tryEntries=[[-1]],K.forEach(Y,this),this.reset(!0)}function ue(K){if(K!=null){var V=K[u];if(V)return V.call(K);if(typeof K.next=="function")return K;if(!isNaN(K.length)){var G=-1,te=function q(){for(;++G<K.length;)if(s.call(K,G))return q.value=K[G],q.done=!1,q;return q.value=l,q.done=!0,q};return te.next=te}}throw new TypeError(r(K)+" is not iterable")}return R.prototype=L,p(N,"constructor",L),p(L,"constructor",R),R.displayName=p(L,x,"GeneratorFunction"),c.isGeneratorFunction=function(K){var V=typeof K=="function"&&K.constructor;return!!V&&(V===R||(V.displayName||V.name)==="GeneratorFunction")},c.mark=function(K){return Object.setPrototypeOf?Object.setPrototypeOf(K,L):(K.__proto__=L,p(K,x,"GeneratorFunction")),K.prototype=Object.create(N),K},c.awrap=function(K){return{__await:K}},j(Q.prototype),p(Q.prototype,a,function(){return this}),c.AsyncIterator=Q,c.async=function(K,V,G,te,q){q===void 0&&(q=Promise);var J=new Q(y(K,V,G,te),q);return c.isGeneratorFunction(V)?J:J.next().then(function(le){return le.done?le.value:J.next()})},j(N),p(N,x,"Generator"),p(N,u,function(){return this}),p(N,"toString",function(){return"[object Generator]"}),c.keys=function(K){var V=Object(K),G=[];for(var te in V)G.unshift(te);return function q(){for(;G.length;)if((te=G.pop())in V)return q.value=te,q.done=!1,q;return q.done=!0,q}},c.values=ue,ie.prototype={constructor:ie,reset:function(V){if(this.prev=this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(oe),!V)for(var G in this)G.charAt(0)==="t"&&s.call(this,G)&&!isNaN(+G.slice(1))&&(this[G]=l)},stop:function(){this.done=!0;var V=this.tryEntries[0][4];if(V.type==="throw")throw V.arg;return this.rval},dispatchException:function(V){if(this.done)throw V;var G=this;function te(_e){le.type="throw",le.arg=V,G.next=_e}for(var q=G.tryEntries.length-1;q>=0;--q){var J=this.tryEntries[q],le=J[4],z=this.prev,F=J[1],se=J[2];if(J[0]===-1)return te("end"),!1;if(!F&&!se)throw Error("try statement without catch or finally");if(J[0]!=null&&J[0]<=z){if(z<F)return this.method="next",this.arg=l,te(F),!0;if(z<se)return te(se),!1}}},abrupt:function(V,G){for(var te=this.tryEntries.length-1;te>=0;--te){var q=this.tryEntries[te];if(q[0]>-1&&q[0]<=this.prev&&this.prev<q[2]){var J=q;break}}J&&(V==="break"||V==="continue")&&J[0]<=G&&G<=J[2]&&(J=null);var le=J?J[4]:{};return le.type=V,le.arg=G,J?(this.method="next",this.next=J[2],b):this.complete(le)},complete:function(V,G){if(V.type==="throw")throw V.arg;return V.type==="break"||V.type==="continue"?this.next=V.arg:V.type==="return"?(this.rval=this.arg=V.arg,this.method="return",this.next="end"):V.type==="normal"&&G&&(this.next=G),b},finish:function(V){for(var G=this.tryEntries.length-1;G>=0;--G){var te=this.tryEntries[G];if(te[2]===V)return this.complete(te[4],te[3]),oe(te),b}},catch:function(V){for(var G=this.tryEntries.length-1;G>=0;--G){var te=this.tryEntries[G];if(te[0]===V){var q=te[4];if(q.type==="throw"){var J=q.arg;oe(te)}return J}}throw Error("illegal catch attempt")},delegateYield:function(V,G,te){return this.delegate={i:ue(V),r:G,n:te},this.method==="next"&&(this.arg=l),b}},c}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},81508:function(d){function v(e){"@babel/helpers - typeof";return d.exports=v=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,v(e)}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},13960:function(d,v,e){var r=e(77496)();d.exports=r;try{regeneratorRuntime=r}catch(i){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},92310:function(d,v){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(v,e),r!==void 0&&(d.exports=r))})()},63335:function(d,v,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,v,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,v,e){"use strict";var r=e(2786).has;d.exports=function(i){return r(i),i}},557:function(d,v,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,v,e){"use strict";var r=e(19691).has;d.exports=function(i){return r(i),i}},79606:function(d){"use strict";var v=TypeError;d.exports=function(e){if(typeof e=="string")return e;throw new v("Argument is not a string")}},63619:function(d,v,e){"use strict";var r=e(42530).has;d.exports=function(i){return r(i),i}},18888:function(d,v,e){"use strict";var r=e(91385).has;d.exports=function(i){return r(i),i}},5978:function(d,v,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 T;if(arguments.length<4){if(s(S)&&R==="sync-dispose")return;T=_(S,R)}else T=_(void 0,R,L);p(b.stack,T)}},81181:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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"),T=l(b,"maxByteLength","get"),D=i(S.getInt8),M=i(S.setInt8);d.exports=(u||h)&&function(N,j,Q){var X=s(N),Y=j===void 0?X:c(j),oe=!L||!L(N),ie;if(f(N))throw new y("ArrayBuffer is detached");if(u&&(N=a(N,{transfer:[N]}),X===Y&&(Q||oe)))return N;if(X>=Y&&(!Q||oe))ie=R(N,0,Y);else{var ue=Q&&!oe&&T?{maxByteLength:T(N)}:void 0;ie=new x(Y,ue);for(var K=new p(N),V=new p(ie),G=_(Y,X),te=0;te<G;te++)M(V,te,D(K,te))}return u||h(N),ie}},58261:function(d,v,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),T=L.enforce,D=L.get,M=l.Int8Array,N=M&&M.prototype,j=l.Uint8ClampedArray,Q=j&&j.prototype,X=M&&_(M),Y=N&&_(N),oe=Object.prototype,ie=l.TypeError,ue=S("toStringTag"),K=R("TYPED_ARRAY_TAG"),V="TypedArrayConstructor",G=r&&!!b&&h(l.opera)!=="Opera",te=!1,q,J,le,z={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},se=function(Dt){if(!f(Dt))return!1;var Qt=h(Dt);return Qt==="DataView"||s(z,Qt)||s(F,Qt)},_e=function(yt){var Dt=_(yt);if(f(Dt)){var Qt=D(Dt);return Qt&&s(Qt,V)?Qt[V]:_e(Dt)}},Pe=function(yt){if(!f(yt))return!1;var Dt=h(yt);return s(z,Dt)||s(F,Dt)},Re=function(yt){if(Pe(yt))return yt;throw new ie("Target is not a typed array")},He=function(yt){if(c(yt)&&(!b||y(X,yt)))return yt;throw new ie(u(yt)+" is not a typed array constructor")},je=function(yt,Dt,Qt,Jt){if(i){if(Qt)for(var qt in z){var Xe=l[qt];if(Xe&&s(Xe.prototype,yt))try{delete Xe.prototype[yt]}catch(Tt){try{Xe.prototype[yt]=Dt}catch(jt){}}}(!Y[yt]||Qt)&&x(Y,yt,Qt?Dt:G&&N[yt]||Dt,Jt)}},Zt=function(yt,Dt,Qt){var Jt,qt;if(i){if(b){if(Qt){for(Jt in z)if(qt=l[Jt],qt&&s(qt,yt))try{delete qt[yt]}catch(Xe){}}if(!X[yt]||Qt)try{return x(X,yt,Qt?Dt:G&&X[yt]||Dt)}catch(Xe){}else return}for(Jt in z)qt=l[Jt],qt&&(!qt[yt]||Qt)&&x(qt,yt,Dt)}};for(q in z)J=l[q],le=J&&J.prototype,le?T(le)[V]=J:G=!1;for(q in F)J=l[q],le=J&&J.prototype,le&&(T(le)[V]=J);if((!G||!c(X)||X===Function.prototype)&&(X=function(){throw new ie("Incorrect invocation")},G))for(q in z)l[q]&&b(l[q],X);if((!G||!Y||Y===oe)&&(Y=X.prototype,G))for(q in z)l[q]&&b(l[q].prototype,Y);if(G&&_(Q)!==Y&&b(Q,Y),i&&!s(Y,ue)){te=!0,p(Y,ue,{configurable:!0,get:function(){return f(this)?this[K]:void 0}});for(q in z)l[q]&&a(l[q],K,q)}d.exports={NATIVE_ARRAY_BUFFER_VIEWS:G,TYPED_ARRAY_TAG:te&&K,aTypedArray:Re,aTypedArrayConstructor:He,exportTypedArrayMethod:je,exportTypedArrayStaticMethod:Zt,getTypedArrayConstructor:_e,isView:se,isTypedArray:Pe,TypedArray:X,TypedArrayPrototype:Y}},91669:function(d,v,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),T=e(80689).f,D=e(75202),M=e(71698),N=e(94573),j=e(94844),Q=f.PROPER,X=f.CONFIGURABLE,Y="ArrayBuffer",oe="DataView",ie="prototype",ue="Wrong length",K="Wrong index",V=j.getterFor(Y),G=j.getterFor(oe),te=j.set,q=r[Y],J=q,le=J&&J[ie],z=r[oe],F=z&&z[ie],se=Object.prototype,_e=r.Array,Pe=r.RangeError,Re=i(D),He=i([].reverse),je=S.pack,Zt=S.unpack,yt=function(Me){return[Me&255]},Dt=function(Me){return[Me&255,Me>>8&255]},Qt=function(Me){return[Me&255,Me>>8&255,Me>>16&255,Me>>24&255]},Jt=function(Me){return Me[3]<<24|Me[2]<<16|Me[1]<<8|Me[0]},qt=function(Me){return je(b(Me),23,4)},Xe=function(Me){return je(Me,52,8)},Tt=function(Me,$e,We){h(Me[ie],$e,{configurable:!0,get:function(){return We(this)[$e]}})},jt=function(Me,$e,We,nt){var lt=G(Me),Vt=_(We),Ht=!!nt;if(Vt+$e>lt.byteLength)throw new Pe(K);var Ie=lt.bytes,qe=Vt+lt.byteOffset,Gt=M(Ie,qe,qe+$e);return Ht?Gt:He(Gt)},st=function(Me,$e,We,nt,lt,Vt){var Ht=G(Me),Ie=_(We),qe=nt(+lt),Gt=!!Vt;if(Ie+$e>Ht.byteLength)throw new Pe(K);for(var Ot=Ht.bytes,zt=Ie+Ht.byteOffset,$t=0;$t<$e;$t++)Ot[zt+$t]=qe[Gt?$t:$e-$t-1]};if(!c)J=function($e){x(this,le);var We=_($e);te(this,{type:Y,bytes:Re(_e(We),0),byteLength:We}),l||(this.byteLength=We,this.detached=!1)},le=J[ie],z=function($e,We,nt){x(this,F),x($e,le);var lt=V($e),Vt=lt.byteLength,Ht=p(We);if(Ht<0||Ht>Vt)throw new Pe("Wrong offset");if(nt=nt===void 0?Vt-Ht:y(nt),Ht+nt>Vt)throw new Pe(ue);te(this,{type:oe,buffer:$e,byteLength:nt,byteOffset:Ht,bytes:lt.bytes}),l||(this.buffer=$e,this.byteLength=nt,this.byteOffset=Ht)},F=z[ie],l&&(Tt(J,"byteLength",V),Tt(z,"buffer",G),Tt(z,"byteLength",G),Tt(z,"byteOffset",G)),u(F,{getInt8:function($e){return jt(this,1,$e)[0]<<24>>24},getUint8:function($e){return jt(this,1,$e)[0]},getInt16:function($e){var We=jt(this,2,$e,arguments.length>1?arguments[1]:!1);return(We[1]<<8|We[0])<<16>>16},getUint16:function($e){var We=jt(this,2,$e,arguments.length>1?arguments[1]:!1);return We[1]<<8|We[0]},getInt32:function($e){return Jt(jt(this,4,$e,arguments.length>1?arguments[1]:!1))},getUint32:function($e){return Jt(jt(this,4,$e,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function($e){return Zt(jt(this,4,$e,arguments.length>1?arguments[1]:!1),23)},getFloat64:function($e){return Zt(jt(this,8,$e,arguments.length>1?arguments[1]:!1),52)},setInt8:function($e,We){st(this,1,$e,yt,We)},setUint8:function($e,We){st(this,1,$e,yt,We)},setInt16:function($e,We){st(this,2,$e,Dt,We,arguments.length>2?arguments[2]:!1)},setUint16:function($e,We){st(this,2,$e,Dt,We,arguments.length>2?arguments[2]:!1)},setInt32:function($e,We){st(this,4,$e,Qt,We,arguments.length>2?arguments[2]:!1)},setUint32:function($e,We){st(this,4,$e,Qt,We,arguments.length>2?arguments[2]:!1)},setFloat32:function($e,We){st(this,4,$e,qt,We,arguments.length>2?arguments[2]:!1)},setFloat64:function($e,We){st(this,8,$e,Xe,We,arguments.length>2?arguments[2]:!1)}});else{var gt=Q&&q.name!==Y;if(!a(function(){q(1)})||!a(function(){new q(-1)})||a(function(){return new q,new q(1.5),new q(NaN),q.length!==1||gt&&!X})){J=function($e){return x(this,le),new q(_($e))},J[ie]=le;for(var dt=T(q),Je=0,Ue;dt.length>Je;)(Ue=dt[Je++])in J||s(J,Ue,q[Ue]);le.constructor=J}else gt&&X&&s(q,"name",Y);L&&R(F)!==se&&L(F,se);var ge=new z(new J(2)),Se=i(F.setInt8);ge.setInt8(0,2147483648),ge.setInt8(1,2147483649),(ge.getInt8(0)||!ge.getInt8(1))&&u(F,{setInt8:function($e,We){Se(this,$e,We<<24>>24)},setUint8:function($e,We){Se(this,$e,We<<24>>24)}},{unsafe:!0})}N(J,Y),N(z,oe),d.exports={ArrayBuffer:J,DataView:z}},92670:function(d,v,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,v,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,v,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,v,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),T=function(){return new D(this)},D=function(M){this.iterator=R(M)};D.prototype.next=function(){return L(this.iterator)},d.exports=function(N){var j=this,Q=arguments.length,X=Q>1?arguments[1]:void 0,Y=Q>2?arguments[2]:void 0;return new(x("Promise"))(function(oe){var ie=l(N);X!==void 0&&(X=r(X,Y));var ue=a(ie,S),K=ue?void 0:u(ie)||T,V=c(j)?new j:[],G=ue?f(ie,ue):new _(h(s(ie,K)));oe(b(G,X,V))})}},69478:function(d,v,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,v,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,T=L!==void 0;T&&(L=r(L,R>2?arguments[2]:void 0));var D=x(b),M=0,N,j,Q,X,Y,oe;if(D&&!(this===p&&f(D)))for(X=a(b,D),Y=X.next,j=S?new this:[];!(Q=i(Y,X)).done;M++)oe=T?c(X,L,[Q.value,M],!0):Q.value,u(j,M,oe);else for(N=h(b),j=S?new this(N):p(N);N>M;M++)oe=T?L(b[M],M):b[M],u(j,M,oe);return j.length=M,j}},33940:function(d,v,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,T=f(S),D=0,M,N;T>D;D++)N=S[D],M=R(N,D,b),a(L,M)?p(u(L,M),N):x(L,M,[N]);return L}},36444:function(d,v,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,_),T=h(null),D=s(R),M=0,N,j,Q;D>M;M++)Q=R[M],j=f(L(Q,M,S)),j in T?x(T[j],Q):T[j]=[Q];if(b&&(N=b(S),N!==a))for(j in T)T[j]=u(N,T[j]);return T}},22999:function(d,v,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,v,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,v,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,T,D,M){for(var N=c(L),j=l(N),Q=f(j),X=r(T,D),Y=0,oe=M||s,ie=x?oe(L,Q):p||S?oe(L,0):void 0,ue,K;Q>Y;Y++)if((R||Y in j)&&(ue=j[Y],K=X(ue,Y,N),a))if(x)ie[Y]=K;else if(K)switch(a){case 3:return!0;case 5:return ue;case 6:return Y;case 2:h(ie,ue)}else switch(a){case 4:return!1;case 7:h(ie,ue)}return b?-1:y||_?_:ie}};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,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94237);d.exports=r([].slice)},63668:function(d,v,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,v,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,v,e){"use strict";var r=e(34487);d.exports=function(i,l){return new(r(i))(l===0?0:l)}},85903:function(d,v,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,v,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,T=l(_)?function(j){return j}:i(_),D,M,N;for(D=0;D<S;D++)M=b[D],N=T(M),a(L,N)||x(L,N,M);return h(L,function(j){p(R,j)}),R}},82041:function(d,v,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,v,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,T){var D=R.done;x.resolve(R.value).then(function(M){L(a(M,D))},T)},S=function(L){L.type=p,y(this,L)};S.prototype=f(l(u),{next:function(){var L=_(this);return new x(function(T,D){var M=i(r(L.next,L.iterator));b(M,T,D)})},return:function(){var R=_(this).iterator;return new x(function(L,T){var D=c(R,"return");if(D===void 0)return L(a(void 0,!0));var M=i(r(D,R));b(M,L,T)})}}),d.exports=S},28255:function(d,v,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,v,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",T=u.set,D=function(j){var Q=!j,X=u.getterFor(j?L:R),Y=function(oe){var ie=i(function(){return X(oe)}),ue=ie.error,K=ie.value;return ue||Q&&K.done?{exit:!0,value:ue?b.reject(K):b.resolve(y(void 0,!0))}:{exit:!1,value:K}};return s(c(p),{next:function(){var ie=Y(this),ue=ie.value;if(ie.exit)return ue;var K=i(function(){return l(ue.nextHandler(b))}),V=K.error,G=K.value;return V&&(ue.done=!0),V?b.reject(G):b.resolve(G)},return:function(){var oe=Y(this),ie=oe.value;if(oe.exit)return ie;ie.done=!0;var ue=ie.iterator,K,V,G=i(function(){if(ie.inner)try{_(ie.inner.iterator,"normal")}catch(te){return _(ue,"throw",te)}return x(ue,"return")});return K=V=G.value,G.error?b.reject(V):K===void 0?b.resolve(y(void 0,!0)):(G=i(function(){return r(K,ue)}),V=G.value,G.error?b.reject(V):j?b.resolve(V):b.resolve(V).then(function(te){return l(te),y(void 0,!0)}))}})},M=D(!0),N=D(!1);f(N,S,"Async Iterator Helper"),d.exports=function(j,Q){var X=function(oe,ie){ie?(ie.iterator=oe.iterator,ie.next=oe.next):ie=oe,ie.type=Q?L:R,ie.nextHandler=j,ie.counter=0,ie.done=!1,T(this,ie)};return X.prototype=Q?M:N,X}},34535:function(d,v,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,v,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 T=R!==void 0;(T||!p)&&i(R);var D=h(S),M=s("Promise"),N=D.iterator,j=D.next,Q=0;return new M(function(X,Y){var oe=function(ue){u(N,Y,ue,Y)},ie=function(){try{if(T)try{f(Q)}catch(ue){oe(ue)}M.resolve(l(r(j,N))).then(function(ue){try{if(l(ue).done)p?(L.length=Q,X(L)):X(b?!1:_||void 0);else{var K=ue.value;try{if(T){var V=R(K,Q),G=function(te){if(y)ie();else if(_)te?ie():u(N,X,!1,Y);else if(p)try{L[Q++]=te,ie()}catch(q){oe(q)}else te?u(N,X,b||K,Y):ie()};c(V)?M.resolve(V).then(G,oe):G(V)}else L[Q++]=K,ie()}catch(te){oe(te)}}}catch(te){Y(te)}},Y)}catch(ue){Y(ue)}};ie()})}};d.exports={toArray:a(0),forEach:a(1),every:a(2),some:a(3),find:a(4)}},41586:function(d,v,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(T){p.done=!0,S(T)},L=function(T){u(y,R,T,R)};x.resolve(l(r(p.next,y))).then(function(T){try{if(l(T).done)p.done=!0,b(h(void 0,!0));else{var D=T.value;try{var M=_(D,p.counter++),N=function(j){b(h(j,!1))};c(M)?x.resolve(M).then(N,L):N(M)}catch(j){L(j)}}}catch(j){R(j)}},R)})});d.exports=function(p){return l(this),i(p),new a(f(this),{mapper:p})}},14052:function(d,v,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,v,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 v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",e=v+"+/",r=v+"-_",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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(30867);d.exports=function(){return new this(r(arguments))}},40942:function(d,v,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,T,D){var M=R(function(Y,oe){f(Y,N),b(Y,{type:L,index:r(null),first:void 0,last:void 0,size:0}),p||(Y.size=0),s(oe)||h(oe,Y[D],{that:Y,AS_ENTRIES:T})}),N=M.prototype,j=S(L),Q=function(Y,oe,ie){var ue=j(Y),K=X(Y,oe),V,G;return K?K.value=ie:(ue.last=K={index:G=y(oe,!0),key:oe,value:ie,previous:V=ue.last,next:void 0,removed:!1},ue.first||(ue.first=K),V&&(V.next=K),p?ue.size++:Y.size++,G!=="F"&&(ue.index[G]=K)),Y},X=function(Y,oe){var ie=j(Y),ue=y(oe),K;if(ue!=="F")return ie.index[ue];for(K=ie.first;K;K=K.next)if(K.key===oe)return K};return l(N,{clear:function(){for(var oe=this,ie=j(oe),ue=ie.index,K=ie.first;K;)K.removed=!0,K.previous&&(K.previous=K.previous.next=void 0),delete ue[K.index],K=K.next;ie.first=ie.last=void 0,p?ie.size=0:oe.size=0},delete:function(Y){var oe=this,ie=j(oe),ue=X(oe,Y);if(ue){var K=ue.next,V=ue.previous;delete ie.index[ue.index],ue.removed=!0,V&&(V.next=K),K&&(K.previous=V),ie.first===ue&&(ie.first=K),ie.last===ue&&(ie.last=V),p?ie.size--:oe.size--}return!!ue},forEach:function(oe){for(var ie=j(this),ue=c(oe,arguments.length>1?arguments[1]:void 0),K;K=K?K.next:ie.first;)for(ue(K.value,K.key,this);K&&K.removed;)K=K.previous},has:function(oe){return!!X(this,oe)}}),l(N,T?{get:function(oe){var ie=X(this,oe);return ie&&ie.value},set:function(oe,ie){return Q(this,oe===0?0:oe,ie)}}:{add:function(oe){return Q(this,oe=oe===0?0:oe,oe)}}),p&&i(N,"size",{configurable:!0,get:function(){return j(this).size}}),M},setStrong:function(R,L,T){var D=L+" Iterator",M=S(L),N=S(D);u(R,L,function(j,Q){b(this,{type:D,target:j,state:M(j),kind:Q,last:void 0})},function(){for(var j=N(this),Q=j.kind,X=j.last;X&&X.removed;)X=X.previous;return!j.target||!(j.last=X=X?X.next:j.state.first)?(j.target=void 0,a(void 0,!0)):a(Q==="keys"?X.key:Q==="values"?X.value:[X.key,X.value],!1)},T?"entries":"values",!T,!0),x(L)}}},39656:function(d,v,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,T=function(N){return N.frozen||(N.frozen=new D)},D=function(){this.entries=[]},M=function(N,j){return b(N.entries,function(Q){return Q[0]===j})};D.prototype={get:function(N){var j=M(this,N);if(j)return j[1]},has:function(N){return!!M(this,N)},set:function(N,j){var Q=M(this,N);Q?Q[1]=j:this.entries.push([N,j])},delete:function(N){var j=S(this.entries,function(Q){return Q[0]===N});return~j&&R(this.entries,j,1),!!~j}},d.exports={getConstructor:function(N,j,Q,X){var Y=N(function(K,V){c(K,oe),y(K,{type:j,id:L++,frozen:void 0}),s(V)||u(V,K[X],{that:K,AS_ENTRIES:Q})}),oe=Y.prototype,ie=_(j),ue=function(K,V,G){var te=ie(K),q=l(f(V),!0);return q===!0?T(te).set(V,G):q[te.id]=G,K};return i(oe,{delete:function(K){var V=ie(this);if(!h(K))return!1;var G=l(K);return G===!0?T(V).delete(K):G&&x(G,V.id)&&delete G[V.id]},has:function(V){var G=ie(this);if(!h(V))return!1;var te=l(V);return te===!0?T(G).has(V):te&&x(te,G.id)}}),i(oe,Q?{get:function(V){var G=ie(this);if(h(V)){var te=l(V);return te===!0?T(G).get(V):te?te[G.id]:void 0}},set:function(V,G){return ue(this,V,G)}}:{add:function(V){return ue(this,V,!0)}}),Y}}},48059:function(d,v,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,T){var D=R.indexOf("Map")!==-1,M=R.indexOf("Weak")!==-1,N=D?"set":"add",j=i[R],Q=j&&j.prototype,X=j,Y={},oe=function(q){var J=l(Q[q]);f(Q,q,q==="add"?function(z){return J(this,z===0?0:z),this}:q==="delete"?function(le){return M&&!p(le)?!1:J(this,le===0?0:le)}:q==="get"?function(z){return M&&!p(z)?void 0:J(this,z===0?0:z)}:q==="has"?function(z){return M&&!p(z)?!1:J(this,z===0?0:z)}:function(z,F){return J(this,z===0?0:z,F),this})},ie=c(R,!a(j)||!(M||Q.forEach&&!y(function(){new j().entries().next()})));if(ie)X=T.getConstructor(L,R,D,N),s.enable();else if(c(R,!0)){var ue=new X,K=ue[N](M?{}:-0,1)!==ue,V=y(function(){ue.has(1)}),G=_(function(q){new j(q)}),te=!M&&y(function(){for(var q=new j,J=5;J--;)q[N](J,J);return!q.has(-0)});G||(X=L(function(q,J){u(q,Q);var le=S(new j,q,X);return x(J)||h(J,le[N],{that:le,AS_ENTRIES:D}),le}),X.prototype=Q,Q.constructor=X),(V||te)&&(oe("delete"),oe("has"),D&&oe("get")),(te||K)&&oe(N),M&&Q.clear&&delete Q.clear}return Y[R]=X,r({global:!0,constructor:!0,forced:X!==j},Y),b(X,R),M||T.setStrong(X,R,D),X}},32754:function(d,v,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,v,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,v,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,v,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,v,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,""")+'"'),p+">"+x+"</"+h+">"}},25587:function(d){"use strict";d.exports=function(v,e){return{value:v,done:e}}},68151:function(d,v,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(v,e){return{enumerable:!(v&1),configurable:!(v&2),writable:!(v&4),value:e}}},69392:function(d,v,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,v,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 T=this,D=p(T),M=_(T),N=D<0?"-":D>9999?"+":"";return N+l(s(D),N?6:4,0)+"-"+l(S(T)+1,2,0)+"-"+l(x(T),2,0)+"T"+l(y(T),2,0)+":"+l(b(T),2,0)+":"+l(R(T),2,0)+"."+l(M,3,0)+"Z"}:u},77119:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(3338);d.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},39311:function(d,v,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 v=typeof document=="object"&&document.all,e=typeof v=="undefined"&&v!==void 0;d.exports={all:v,IS_HTMLDDA:e}},86060:function(d,v,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 v=TypeError,e=9007199254740991;d.exports=function(r){if(r>e)throw v("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,v,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,v,e){"use strict";var r=e(66011),i=r.match(/firefox\/(\d+)/i);d.exports=!!i&&+i[1]},66994:function(d,v,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,v,e){"use strict";var r=e(66011);d.exports=/MSIE|Trident/.test(r)},1908:function(d,v,e){"use strict";var r=e(66011);d.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},70695:function(d,v,e){"use strict";var r=e(66011);d.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},90946:function(d,v,e){"use strict";var r=e(92916),i=e(29076);d.exports=i(r.process)==="process"},44914:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,T;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?(T=i(b,S),R=T&&T.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(v){try{return!!v()}catch(e){return!0}}},8662:function(d,v,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 T={};return T[_]=function(){return 7},""[a](T)!==7}),S=b&&!c(function(){var T=!1,D=/a/;return a==="split"&&(D={},D.constructor={},D.constructor[h]=function(){return D},D.flags="",D[_]=/./[_]),D.exec=function(){return T=!0,null},D[_](""),!T});if(!b||!S||p){var R=r(/./[_]),L=x(_,""[a],function(T,D,M,N,j){var Q=r(T),X=D.exec;return X===l||X===u.exec?b&&!j?{done:!0,value:R(D,M,N)}:{done:!0,value:Q(M,D,N)}:{done:!1}});i(String.prototype,a,L[0]),i(u,_,L[1])}y&&s(u[_],"sham",!0)}},3372:function(d,v,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,T;S<a;)S in u&&(L=R?R(u[S],S,h):u[S],p>0&&r(L)?(T=i(L),b=f(s,h,L,T,b,p-1)-1):(l(b+1),s[b]=L),b++),S++;return b};d.exports=f},13247:function(d,v,e){"use strict";var r=e(3338);d.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},13743:function(d,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94237),i=e(63335);d.exports=function(){return r(i(this))}},8090:function(d,v,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,v,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,v,e){"use strict";var r=e(29076),i=e(94237);d.exports=function(l){if(r(l)==="Function")return i(l)}},94237:function(d,v,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 v=TypeError;d.exports=function(e){var r=e&&e.alphabet;if(r===void 0||r==="base64"||r==="base64url")return r||"base64";throw new v("Incorrect `alphabet` option")}},38116:function(d,v,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,v,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,v,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,v,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(v){return{iterator:v,next:v.next,done:!1}}},7157:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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(T,D){var M;switch(c(D,0)){case"$":return"$";case"&":return a;case"`":return s(x,0,p);case"'":return s(x,S);case"<":M=_[s(D,1,-1)];break;default:var N=+D;if(N===0)return T;if(N>R){var j=l(N/10);return j===0?T:j<=R?y[j-1]===void 0?c(D,1):y[j-1]+c(D,1):T}M=y[N-1]}return M===void 0?"":M})}},92916:function(d,v,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,v,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(v,e){try{arguments.length===1?console.error(v):console.error(v,e)}catch(r){}}},75171:function(d,v,e){"use strict";var r=e(65911);d.exports=r("document","documentElement")},46796:function(d,v,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 v=Array,e=Math.abs,r=Math.pow,i=Math.floor,l=Math.log,c=Math.LN2,f=function(h,u,a){var x=v(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,T,D;for(h=e(h),h!==h||h===1/0?(T=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?(T=0,L=y):L+_>=1?(T=(h*D-1)*r(2,u),L+=_):(T=h*r(2,_-1)*r(2,u),L=0));u>=8;)x[R++]=T&255,T/=256,u-=8;for(L=L<<u|T,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,v,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,v,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,v,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,v,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,v,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(N){s(N,_,{value:{objectID:"O"+b++,weakData:{}}})},R=function(N,j){if(!c(N))return typeof N=="symbol"?N:(typeof N=="string"?"S":"P")+N;if(!f(N,_)){if(!a(N))return"F";if(!j)return"E";S(N)}return N[_].objectID},L=function(N,j){if(!f(N,_)){if(!a(N))return!0;if(!j)return!1;S(N)}return N[_].weakData},T=function(N){return p&&y&&a(N)&&!f(N,_)&&S(N),N},D=function(){M.enable=function(){},y=!0;var N=h.f,j=i([].splice),Q={};Q[_]=1,N(Q).length&&(h.f=function(X){for(var Y=N(X),oe=0,ie=Y.length;oe<ie;oe++)if(Y[oe]===_){j(Y,oe,1);break}return Y},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},M=d.exports={enable:D,fastKey:R,getWeakData:L,onFreeze:T};l[_]=!0},94844:function(d,v,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(M){var N;if(!l(M)||(N=_(M)).type!==D)throw new x("Incompatible receiver, "+D+" required");return N}};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,M){if(L.has(D))throw new x(a);return M.facade=D,L.set(D,M),M},_=function(D){return L.get(D)||{}},b=function(D){return L.has(D)}}else{var T=h("state");u[T]=!0,y=function(D,M){if(f(D,T))throw new x(a);return M.facade=D,c(D,T,M),M},_=function(D){return f(D,T)?D[T]:{}},b=function(D){return f(D,T)}}d.exports={set:y,get:_,has:b,enforce:S,getterFor:R}},345:function(d,v,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,v,e){"use strict";var r=e(29076);d.exports=Array.isArray||function(l){return r(l)==="Array"}},75406:function(d,v,e){"use strict";var r=e(97607);d.exports=function(i){var l=r(i);return l==="BigInt64Array"||l==="BigUint64Array"}},55327:function(d,v,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,v,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,v,e){"use strict";var r=e(32621);d.exports=function(i){return i!==void 0&&(r(i,"value")||r(i,"writable"))}},20865:function(d,v,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,v,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,v,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(v){return v==null}},31946:function(d,v,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,v,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,v,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,v,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,v,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,v,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,T=!!(R&&R.AS_ENTRIES),D=!!(R&&R.IS_RECORD),M=!!(R&&R.IS_ITERATOR),N=!!(R&&R.INTERRUPTED),j=r(S,L),Q,X,Y,oe,ie,ue,K,V=function(te){return Q&&x(Q,"normal",te),new y(!0,te)},G=function(te){return T?(l(te),N?j(te[0],te[1],V):j(te[0],te[1])):N?j(te,V):j(te)};if(D)Q=b.iterator;else if(M)Q=b;else{if(X=a(b),!X)throw new p(c(b)+" is not iterable");if(f(X)){for(Y=0,oe=s(b);oe>Y;Y++)if(ie=G(b[Y]),ie&&h(_,ie))return ie;return new y(!1)}Q=u(b,X)}for(ue=D?b.next:Q.next;!(K=i(ue,Q)).done;){try{ie=G(K.value)}catch(te){x(Q,"throw",te)}if(typeof ie=="object"&&ie&&h(_,ie))return ie}return new y(!1)}},67996:function(d,v,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,v,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,v,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(T){var D=s.getterFor(T?_:y);return c(i(u),{next:function(){var N=D(this);if(T)return N.nextHandler();try{var j=N.done?void 0:N.nextHandler();return a(j,N.done)}catch(Q){throw N.done=!0,Q}},return:function(){var M=D(this),N=M.iterator;if(M.done=!0,T){var j=h(N,"return");return j?r(j,N):a(void 0,!0)}if(M.inner)try{x(M.inner.iterator,"normal")}catch(Q){return x(N,"throw",Q)}return x(N,"normal"),a(void 0,!0)}})},R=S(!0),L=S(!1);l(L,p,"Iterator Helper"),d.exports=function(T,D){var M=function(j,Q){Q?(Q.iterator=j.iterator,Q.next=j.next):Q=j,Q.type=D?_:y,Q.nextHandler=T,Q.counter=0,Q.done=!1,b(this,Q)};return M.prototype=D?R:L,M}},24019:function(d,v,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,T=b.BUGGY_SAFARI_ITERATORS,D=y("iterator"),M="keys",N="values",j="entries",Q=function(){return this};d.exports=function(X,Y,oe,ie,ue,K,V){s(oe,Y,ie);var G=function(Re){if(Re===ue&&z)return z;if(!T&&Re&&Re in J)return J[Re];switch(Re){case M:return function(){return new oe(this,Re)};case N:return function(){return new oe(this,Re)};case j:return function(){return new oe(this,Re)}}return function(){return new oe(this)}},te=Y+" Iterator",q=!1,J=X.prototype,le=J[D]||J["@@iterator"]||ue&&J[ue],z=!T&&le||G(ue),F=Y==="Array"&&J.entries||le,se,_e,Pe;if(F&&(se=h(F.call(new X)),se!==Object.prototype&&se.next&&(!l&&h(se)!==L&&(u?u(se,L):f(se[D])||p(se,D,Q)),a(se,te,!0,!0),l&&(_[te]=Q))),S&&ue===N&&le&&le.name!==N&&(!l&&R?x(J,"name",N):(q=!0,z=function(){return i(le,this)})),ue)if(_e={values:G(N),keys:K?z:G(M),entries:G(j)},V)for(Pe in _e)(T||q||!(Pe in J))&&p(J,Pe,_e[Pe]);else r({target:Y,proto:!0,forced:T||q},_e);return(!l||V)&&J[D]!==z&&p(J,D,z,{name:ue}),_[Y]=z,_e}},24771:function(d,v,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,v,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,v,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,v,e){"use strict";var r=e(61578);d.exports=function(i){return r(i.length)}},86528:function(d,v,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"),T=d.exports=function(D,M,N){_(p(M),0,7)==="Symbol("&&(M="["+b(p(M),/^Symbol\(([^)]*)\)/,"$1")+"]"),N&&N.getter&&(M="get "+M),N&&N.setter&&(M="set "+M),(!c(D,"name")||s&&D.name!==M)&&(f?y(D,"name",{value:M,configurable:!0}):D.name=M),R&&N&&c(N,"arity")&&D.length!==N.arity&&y(D,"length",{value:N.arity});try{N&&c(N,"constructor")&&N.constructor?f&&y(D,"prototype",{writable:!1}):D.prototype&&(D.prototype=void 0)}catch(Q){}var j=a(D);return c(j,"source")||(j.source=S(L,typeof M=="string"?M:"")),D};Function.prototype.toString=T(function(){return l(this)&&x(this).source||h(this)},"toString")},2786:function(d,v,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,v,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,v,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 v=Math.expm1,e=Math.exp;d.exports=!v||v(10)>22025.465794806718||v(10)<22025.465794806718||v(-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}:v},35175:function(d,v,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,v,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,v,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 v=Math.log,e=Math.LOG10E;d.exports=Math.log10||function(i){return v(i)*e}},25726:function(d){"use strict";var v=Math.log;d.exports=Math.log1p||function(r){var i=+r;return i>-1e-8&&i<1e-8?i-i*i/2:v(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 v=Math.ceil,e=Math.floor;d.exports=Math.trunc||function(i){var l=+i;return(l>0?e:v)(l)}},72933:function(d,v,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,T,D,M;if(!S){var N=new f,j=function(){var Q,X;for(a&&(Q=y.domain)&&Q.exit();X=N.get();)try{X()}catch(Y){throw N.head&&R(),Y}Q&&Q.enter()};!s&&!a&&!u&&x&&p?(L=!0,T=p.createTextNode(""),new x(j).observe(T,{characterData:!0}),R=function(){T.data=L=!L}):!h&&_&&_.resolve?(D=_.resolve(void 0),D.constructor=_,M=i(D.then,D),R=function(){M(j)}):a?R=function(){y.nextTick(j)}:(c=i(c,r),R=function(){c(j)}),S=function(Q){N.head||R(),N.add(Q)}}d.exports=S},82778:function(d,v,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,v,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,v,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 v=RangeError;d.exports=function(e){if(e===e)return e;throw new v("NaN is not allowed")}},41696:function(d,v,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,v,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,v,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,v,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,v,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,T,D,M,N,j){if(typeof L!=M||T!==1/0&&T!==-1/0&&typeof T!=M)throw new _(u);if(L===1/0||L===-1/0)throw new y(u);var Q=T>L,X=!1,Y;if(D===void 0)Y=void 0;else if(f(D))Y=D.step,X=!!D.inclusive;else if(typeof D==M)Y=D;else throw new _(u);if(c(Y)&&(Y=Q?j:-j),typeof Y!=M)throw new _(u);if(Y===1/0||Y===-1/0||Y===N&&L!==T)throw new y(u);var oe=L!==L||T!==T||Y!==Y||T>L!=Y>N;x(this,{type:a,start:L,end:T,step:Y,inclusive:X,hitsEnd:oe,currentCount:N,zero:N}),h||(this.start=L,this.end=T,this.step=Y,this.inclusive=X)},a,function(){var L=p(this);if(L.hitsEnd)return l(void 0,!0);var T=L.start,D=L.end,M=L.step,N=T+M*L.currentCount++;N===D&&(L.hitsEnd=!0);var j=L.inclusive,Q;return D>T?Q=j?N>D:N>=D:Q=j?D>N:D>=N,Q?(L.hitsEnd=!0,l(void 0,!0)):l(N,!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,v,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,T=1,D=s.f,M=h.f;L>T;)for(var N=a(arguments[T++]),j=D?y(f(N),D(N)):f(N),Q=j.length,X=0,Y;Q>X;)Y=j[X++],(!r||l(M,N,Y))&&(R[Y]=N[Y]);return R}:x},20132:function(d,v,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 M=D.parentWindow.Object;return D=null,M},R=function(){var D=s("iframe"),M="java"+p+":",N;return D.style.display="none",f.appendChild(D),D.src=String(M),N=D.contentWindow.document,N.open(),N.write(b("document.F=Object")),N.close(),N.F},L,T=function(){try{L=new ActiveXObject("htmlfile")}catch(M){}T=typeof document!="undefined"?document.domain&&L?S(L):R():S(L);for(var D=l.length;D--;)delete T[x][l[D]];return T()};c[y]=!0,d.exports=Object.create||function(M,N){var j;return M!==null?(_[x]=r(M),j=new _,_[x]=null,j[y]=M):j=T(),N===void 0?j:i.f(j,N)}},55666:function(d,v,e){"use strict";var r=e(35454),i=e(93199),l=e(37691),c=e(80449),f=e(80524),s=e(7733);v.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,v,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";v.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,v,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;v.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,v,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,v,e){"use strict";var r=e(97486),i=e(46678),l=i.concat("length","prototype");v.f=Object.getOwnPropertyNames||function(f){return r(f,l)}},92635:function(d,v){"use strict";v.f=Object.getOwnPropertySymbols},53456:function(d,v,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,v,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,v,e){"use strict";var r=e(94237);d.exports=r({}.isPrototypeOf)},20574:function(d,v,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,v,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,v,e){"use strict";var r=e(97486),i=e(46678);d.exports=Object.keys||function(c){return r(c,i)}},27597:function(d,v){"use strict";var e={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!e.call({1:2},1);v.f=i?function(c){var f=r(this,c);return!!f&&f.enumerable}:e},25837:function(d,v,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,v,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,v,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,T=0,D=[],M;L>T;)M=S[T++],(!r||(R?M in b:u(b,M)))&&a(D,y?[M,b[M]]:b[M]);return D}};d.exports={entries:p(!0),values:p(!1)}},28488:function(d,v,e){"use strict";var r=e(68527),i=e(97607);d.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},44759:function(d,v,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,v,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,v,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 T=h(y,_,_+4);if(!u(x,T))throw new l("Bad Unicode escape at: "+_);S+=f(c(T,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,v,e){"use strict";var r=e(92916);d.exports=r},80734:function(d){"use strict";d.exports=function(v){try{return{error:!1,value:v()}}catch(e){return{error:!0,value:e}}}},82830:function(d,v,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 T=new i(function(N){N(1)}),D=function(N){N(function(){},function(){})},M=T.constructor={};if(M[y]=D,_=T.then(function(){})instanceof D,!_)return!0}return!L&&(h||u)&&!b});d.exports={CONSTRUCTOR:S,REJECTION_EVENT:b,SUBCLASSING:_}},2451:function(d,v,e){"use strict";var r=e(92916);d.exports=r.Promise},15597:function(d,v,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,v,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,v,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 v=function(){this.head=null,this.tail=null};v.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=v},82584:function(d,v,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 T=u.get(S);if(!T){if(!L)return;u.set(S,T=new c)}var D=T.get(R);if(!D){if(!L)return;T.set(R,D=new c)}return D},x=function(S,R,L){var T=a(R,L,!1);return T===void 0?!1:T.has(S)},p=function(S,R,L){var T=a(R,L,!1);return T===void 0?void 0:T.get(S)},y=function(S,R,L,T){a(L,T,!0).set(S,R)},_=function(S,R){var L=a(S,R,!1),T=[];return L&&L.forEach(function(D,M){s(T,M)}),T},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,v,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,v,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),T=function(){var j=/a/,Q=/b*/g;return r(y,j,"a"),r(y,Q,"a"),j.lastIndex!==0||Q.lastIndex!==0}(),D=f.BROKEN_CARET,M=/()??/.exec("")[1]!==void 0,N=T||M||D||a||x;N&&(_=function(Q){var X=this,Y=u(X),oe=l(Q),ie=Y.raw,ue,K,V,G,te,q,J;if(ie)return ie.lastIndex=X.lastIndex,ue=r(_,ie,oe),X.lastIndex=ie.lastIndex,ue;var le=Y.groups,z=D&&X.sticky,F=r(c,X),se=X.source,_e=0,Pe=oe;if(z&&(F=R(F,"y",""),S(F,"g")===-1&&(F+="g"),Pe=L(oe,X.lastIndex),X.lastIndex>0&&(!X.multiline||X.multiline&&b(oe,X.lastIndex-1)!==`
|
|
|
`)&&(se="(?: "+se+")",Pe=" "+Pe,_e++),K=new RegExp("^(?:"+se+")",F)),M&&(K=new RegExp("^"+se+"$(?!\\s)",F)),T&&(V=X.lastIndex),G=r(y,z?K:X,Pe),z?G?(G.input=L(G.input,_e),G[0]=L(G[0],_e),G.index=X.lastIndex,X.lastIndex+=G[0].length):X.lastIndex=0:T&&G&&(X.lastIndex=X.global?G.index+G[0].length:V),M&&G&&G.length>1&&r(p,G[0],K,function(){for(te=1;te<arguments.length-2;te++)arguments[te]===void 0&&(G[te]=void 0)}),G&&le)for(G.groups=q=h(null),te=0;te<le.length;te++)J=le[te],q[J[0]]=G[J[1]];return G}),d.exports=_},82163:function(d,v,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,v,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,v,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,v,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,v,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,v,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(v,e){return v===e||v!==v&&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,v,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):[],T=S?function(){i(R,this,L)}:R;return p?x(T,b):x(T)}:x}},61838:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(66011);d.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},85571:function(d,v,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(_),T,D;return S<=R||L===""?b:(T=S-R,D=s(L,u(T/L.length)),D.length>T&&(D=h(D,0,T)),x?b+D:D+b)}};d.exports={start:a(!1),end:a(!0)}},79204:function(d,v,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(T,D){var M=s(T,D);return M>=a&&M<=x},R=function(T,D,M){if(M>=T.length)return-1;for(var N=0;D<M;D++){var j=L(s(T,D));if(j===-1)return-1;N=N*16+j}return N},L=function(T){return T>=a&&T<=x?T-a:T>=p&&T<=y?T-p+10:T>=_&&T<=b?T-_+10:-1};d.exports=function(T){for(var D="",M=0,N=0,j;(N=h(T,"\\",N))>-1;){if(D+=u(T,M,N),++N===T.length)return;var Q=f(T,N++);switch(Q){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":N<T.length&&f(T,N)===`
|
|
|
`&&++N;case`
|
|
|
`:case"\u2028":case"\u2029":break;case"0":if(S(T,N))return;D+="\0";break;case"x":if(j=R(T,N,N+2),j===-1)return;N+=2,D+=l(j);break;case"u":if(N<T.length&&f(T,N)==="{"){var X=h(T,"}",++N);if(X===-1)return;j=R(T,N,X),N=X+1}else j=R(T,N,N+4),N+=4;if(j===-1||j>1114111)return;D+=c(j);break;default:if(S(Q,0))return;D+=Q}M=N}return D+u(T,M)}},93245:function(d,v,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,T=String.fromCharCode,D=r("".charCodeAt),M=r([].join),N=r([].push),j=r("".replace),Q=r("".split),X=r("".toLowerCase),Y=function(K){for(var V=[],G=0,te=K.length;G<te;){var q=D(K,G++);if(q>=55296&&q<=56319&&G<te){var J=D(K,G++);(J&64512)===56320?N(V,((q&1023)<<10)+(J&1023)+65536):(N(V,q),G--)}else N(V,q)}return V},oe=function(K){return K+22+75*(K<26)},ie=function(K,V,G){var te=0;for(K=G?L(K/h):K>>1,K+=L(K/V);K>b*f>>1;)K=L(K/b),te+=l;return L(te+(b+1)*K/(K+s))},ue=function(K){var V=[];K=Y(K);var G=K.length,te=a,q=0,J=u,le,z;for(le=0;le<K.length;le++)z=K[le],z<128&&N(V,T(z));var F=V.length,se=F;for(F&&N(V,x);se<G;){var _e=i;for(le=0;le<K.length;le++)z=K[le],z>=te&&z<_e&&(_e=z);var Pe=se+1;if(_e-te>L((i-q)/Pe))throw new S(_);for(q+=(_e-te)*Pe,te=_e,le=0;le<K.length;le++){if(z=K[le],z<te&&++q>i)throw new S(_);if(z===te){for(var Re=q,He=l;;){var je=He<=J?c:He>=J+f?f:He-J;if(Re<je)break;var Zt=Re-je,yt=l-je;N(V,T(oe(je+Zt%yt))),Re=L(Zt/yt),He+=l}N(V,T(oe(Re))),J=ie(q,Pe,se===F),q=0,se++}}q++,te++}return M(V,"")};d.exports=function(K){var V=[],G=Q(j(X(K),y,"."),"."),te,q;for(te=0;te<G.length;te++)q=G[te],N(V,R(p,q)?"xn--"+ue(q):q);return M(V,".")}},71049:function(d,v,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,v,e){"use strict";var r=e(52971).end,i=e(18105);d.exports=i("trimEnd")?function(){return r(this)}:"".trimEnd},18105:function(d,v,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,v,e){"use strict";var r=e(52971).start,i=e(18105);d.exports=i("trimStart")?function(){return r(this)}:"".trimStart},52971:function(d,v,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,v,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,v,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,v,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,v,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,v,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),T=0,D=u(x),M=D.length;T<M;T++)if(x[D[T]]==L)return!0}catch(N){}return!1}},60798:function(d,v,e){"use strict";var r=e(42820);d.exports=r&&!!Symbol.for&&!!Symbol.keyFor},28887:function(d,v,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,T=r.MessageChannel,D=r.String,M=0,N={},j="onreadystatechange",Q,X,Y,oe;s(function(){Q=r.location});var ie=function(G){if(f(N,G)){var te=N[G];delete N[G],te()}},ue=function(G){return function(){ie(G)}},K=function(G){ie(G.data)},V=function(G){r.postMessage(D(G),Q.protocol+"//"+Q.host)};(!_||!b)&&(_=function(te){x(arguments.length,1);var q=c(te)?te:L(te),J=u(arguments,1);return N[++M]=function(){i(q,void 0,J)},X(M),M},b=function(te){delete N[te]},y?X=function(G){S.nextTick(ue(G))}:R&&R.now?X=function(G){R.now(ue(G))}:T&&!p?(Y=new T,oe=Y.port2,Y.port1.onmessage=K,X=l(oe.postMessage,oe)):r.addEventListener&&c(r.postMessage)&&!r.importScripts&&Q&&Q.protocol!=="file:"&&!s(V)?(X=V,r.addEventListener("message",K,!1)):j in a("script")?X=function(G){h.appendChild(a("script"))[j]=function(){h.removeChild(this),ie(G)}}:X=function(G){setTimeout(ue(G),0)}),d.exports={set:_,clear:b}},49228:function(d,v,e){"use strict";var r=e(94237);d.exports=r(1 .valueOf)},51981:function(d,v,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,v,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,v,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,v,e){"use strict";var r=e(1835),i=e(95955);d.exports=function(l){return r(i(l))}},56902:function(d,v,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,v,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,v,e){"use strict";var r=e(95955),i=Object;d.exports=function(l){return i(r(l))}},64135:function(d,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(59893),i=r("toStringTag"),l={};l[i]="z",d.exports=String(l)==="[object z]"},69905:function(d,v,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 v=Math.round;d.exports=function(e){var r=v(e);return r<0?0:r>255?255:r&255}},11270:function(d,v,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 v=String;d.exports=function(e){try{return v(e)}catch(r){return"Object"}}},69733:function(d,v,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),T=e(97607),D=e(31946),M=e(18446),N=e(20132),j=e(16332),Q=e(58218),X=e(80689).f,Y=e(50706),oe=e(90560).forEach,ie=e(51996),ue=e(64110),K=e(37691),V=e(71256),G=e(94844),te=e(25576),q=G.get,J=G.set,le=G.enforce,z=K.f,F=V.f,se=i.RangeError,_e=h.ArrayBuffer,Pe=_e.prototype,Re=h.DataView,He=s.NATIVE_ARRAY_BUFFER_VIEWS,je=s.TYPED_ARRAY_TAG,Zt=s.TypedArray,yt=s.TypedArrayPrototype,Dt=s.aTypedArrayConstructor,Qt=s.isTypedArray,Jt="BYTES_PER_ELEMENT",qt="Wrong length",Xe=function(Je,Ue){Dt(Je);for(var ge=0,Se=Ue.length,Me=new Je(Se);Se>ge;)Me[ge]=Ue[ge++];return Me},Tt=function(Je,Ue){ue(Je,Ue,{configurable:!0,get:function(){return q(this)[Ue]}})},jt=function(Je){var Ue;return j(Pe,Je)||(Ue=T(Je))==="ArrayBuffer"||Ue==="SharedArrayBuffer"},st=function(Je,Ue){return Qt(Je)&&!M(Ue)&&Ue in Je&&p(+Ue)&&Ue>=0},gt=function(Ue,ge){return ge=R(ge),st(Ue,ge)?a(2,Ue[ge]):F(Ue,ge)},dt=function(Ue,ge,Se){return ge=R(ge),st(Ue,ge)&&D(Se)&&L(Se,"value")&&!L(Se,"get")&&!L(Se,"set")&&!Se.configurable&&(!L(Se,"writable")||Se.writable)&&(!L(Se,"enumerable")||Se.enumerable)?(Ue[ge]=Se.value,Ue):z(Ue,ge,Se)};c?(He||(V.f=gt,K.f=dt,Tt(yt,"buffer"),Tt(yt,"byteOffset"),Tt(yt,"byteLength"),Tt(yt,"length")),r({target:"Object",stat:!0,forced:!He},{getOwnPropertyDescriptor:gt,defineProperty:dt}),d.exports=function(Je,Ue,ge){var Se=Je.match(/\d+/)[0]/8,Me=Je+(ge?"Clamped":"")+"Array",$e="get"+Je,We="set"+Je,nt=i[Me],lt=nt,Vt=lt&<.prototype,Ht={},Ie=function(zt,$t){var tr=q(zt);return tr.view[$e]($t*Se+tr.byteOffset,!0)},qe=function(zt,$t,tr){var Wt=q(zt);Wt.view[We]($t*Se+Wt.byteOffset,ge?S(tr):tr,!0)},Gt=function(zt,$t){z(zt,$t,{get:function(){return Ie(this,$t)},set:function(tr){return qe(this,$t,tr)},enumerable:!0})};He?f&&(lt=Ue(function(zt,$t,tr,Wt){return u(zt,Vt),te(function(){return D($t)?jt($t)?Wt!==void 0?new nt($t,b(tr,Se),Wt):tr!==void 0?new nt($t,b(tr,Se)):new nt($t):Qt($t)?Xe(lt,$t):l(Y,lt,$t):new nt(_($t))}(),zt,lt)}),Q&&Q(lt,Zt),oe(X(nt),function(zt){zt in lt||x(lt,zt,nt[zt])}),lt.prototype=Vt):(lt=Ue(function(zt,$t,tr,Wt){u(zt,Vt);var Fe=0,fe=0,pe,Pt,Ce;if(!D($t))Ce=_($t),Pt=Ce*Se,pe=new _e(Pt);else if(jt($t)){pe=$t,fe=b(tr,Se);var ft=$t.byteLength;if(Wt===void 0){if(ft%Se)throw new se(qt);if(Pt=ft-fe,Pt<0)throw new se(qt)}else if(Pt=y(Wt)*Se,Pt+fe>ft)throw new se(qt);Ce=Pt/Se}else return Qt($t)?Xe(lt,$t):l(Y,lt,$t);for(J(zt,{buffer:pe,byteOffset:fe,byteLength:Pt,length:Ce,view:new Re(pe)});Fe<Ce;)Gt(zt,Fe++)}),Q&&Q(lt,Zt),Vt=lt.prototype=N(yt)),Vt.constructor!==lt&&x(Vt,"constructor",lt),le(Vt).TypedArrayConstructor=lt,je&&x(Vt,je,Me);var Ot=lt!==nt;Ht[Me]=lt,r({global:!0,constructor:!0,forced:Ot,sham:!He},Ht),Jt in lt||x(lt,Jt,Se),Jt in Vt||x(Vt,Jt,Se),ie(Me)}):d.exports=function(){}},59627:function(d,v,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,v,e){"use strict";var r=e(69478),i=e(31384);d.exports=function(l,c){return r(i(l),c)}},50706:function(d,v,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,T=L!==void 0,D=h(S),M,N,j,Q,X,Y,oe,ie;if(D&&!u(D))for(oe=s(S,D),ie=oe.next,S=[];!(Y=i(ie,oe)).done;)S.push(Y.value);for(T&&R>2&&(L=r(L,arguments[2])),N=f(S),j=new(x(b))(N),Q=a(j),M=0;N>M;M++)X=T?L(S[M],M):S[M],j[M]=Q?p(X):+X;return j}},31384:function(d,v,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,v,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,v,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,v,e){"use strict";var r=e(42820);d.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},93199:function(d,v,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 v=TypeError;d.exports=function(e,r){if(e<r)throw new v("Not enough arguments");return e}},40115:function(d,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(59893);v.f=r},59893:function(d,v,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,v,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 T="stackTraceLimit",D=L?2:1,M=b.split("."),N=M[M.length-1],j=r.apply(null,M);if(j){var Q=j.prototype;if(!_&&i(Q,"cause")&&delete Q.cause,!R)return j;var X=r("Error"),Y=S(function(oe,ie){var ue=a(L?ie:oe,void 0),K=L?new j(oe):new j;return ue!==void 0&&l(K,"message",ue),p(K,Y,K.stack,2),this&&c(Q,this)&&u(K,this,Y),arguments.length>D&&x(K,arguments[D]),K});if(Y.prototype=Q,N!=="Error"?f?f(Y,X):s(Y,X,{name:!0}):y&&T in j&&(h(Y,j,T),h(Y,j,"prepareStackTrace")),s(Y,j),!_)try{Q.name!==N&&l(Q,"name",N),Q.constructor=Y}catch(oe){}return Y}}},93074:function(d,v,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,v,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(M,N){var j=i(T,this),Q;c?Q=c(new S,j?l(this):T):(Q=j?this:s(T),h(Q,b,"Error")),N!==void 0&&h(Q,"message",y(N)),x(Q,L,Q.stack,1),arguments.length>2&&a(Q,arguments[2]);var X=[];return p(M,R,{that:X}),h(Q,"errors",X),Q};c?c(L,S):f(L,S,{name:!0});var T=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,v,e){"use strict";e(6555)},89170:function(d,v,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,v,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,v,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,T){if(y&&T===void 0)return y(f(this),L);for(var D=f(this).byteLength,M=s(L,D),N=s(T===void 0?D:T,D),j=new(u(this,a))(h(N-M)),Q=new x(this),X=new x(j),Y=0;M<N;)b(X,Y++,_(Q,M++));return j}})},96331:function(d,v,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,v,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 T=L[_];return T!==void 0?!!T:l(L)},R=!b||!x("concat");r({target:"Array",proto:!0,arity:1,forced:R},{concat:function(T){var D=f(this),M=a(D,0),N=0,j,Q,X,Y,oe;for(j=-1,X=arguments.length;j<X;j++)if(oe=j===-1?D:arguments[j],S(oe))for(Y=s(oe),h(N+Y),Q=0;Q<Y;Q++,N++)Q in oe&&u(M,N,oe[Q]);else h(N+1),u(M,N++,oe);return M.length=N,M}})},26425:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(59594);r({target:"Array",proto:!0,forced:[].forEach!==i},{forEach:i})},99382:function(d,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(18589);r({target:"Array",stat:!0},{isArray:i})},11005:function(d,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(55009);r({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},91550:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,T){var D=h(this),M=s(D),N=f(L,M),j=f(T===void 0?M:T,M),Q,X,Y;if(i(D)&&(Q=D.constructor,l(Q)&&(Q===b||i(Q.prototype))?Q=void 0:c(Q)&&(Q=Q[_],Q===null&&(Q=void 0)),Q===b||Q===void 0))return p(D,N,j);for(X=new(Q===void 0?b:Q)(S(j-N,0)),Y=0;N<j;N++,Y++)N in D&&u(X,Y,D[N]);return X.length=Y,X}})},80881:function(d,v,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,v,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),T=u(function(){S.sort(void 0)}),D=u(function(){S.sort(null)}),M=x("sort"),N=!u(function(){if(_)return _<70;if(!(p&&p>3)){if(y)return!0;if(b)return b<603;var X="",Y,oe,ie,ue;for(Y=65;Y<76;Y++){switch(oe=String.fromCharCode(Y),Y){case 66:case 69:case 70:case 72:ie=3;break;case 68:case 71:ie=4;break;default:ie=2}for(ue=0;ue<47;ue++)S.push({k:oe+ue,v:ie})}for(S.sort(function(K,V){return V.v-K.v}),ue=0;ue<S.length;ue++)oe=S[ue].k.charAt(0),X.charAt(X.length-1)!==oe&&(X+=oe);return X!=="DGBEFHACIJK"}}),j=T||!D||!M||!N,Q=function(X){return function(Y,oe){return oe===void 0?-1:Y===void 0?1:X!==void 0?+X(Y,oe)||0:h(Y)>h(oe)?1:-1}};r({target:"Array",proto:!0,forced:j},{sort:function(Y){Y!==void 0&&l(Y);var oe=c(this);if(N)return Y===void 0?R(oe):R(oe,Y);var ie=[],ue=f(oe),K,V;for(V=0;V<ue;V++)V in oe&&L(ie,oe[V]);for(a(ie,Q(Y)),K=f(ie),V=0;V<K;)oe[V]=ie[V++];for(;V<ue;)s(oe,V++);return oe}})},4705:function(d,v,e){"use strict";var r=e(51996);r("Array")},13941:function(d,v,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 T=i(this),D=f(T),M=l(R,D),N=arguments.length,j,Q,X,Y,oe,ie;for(N===0?j=Q=0:N===1?(j=0,Q=D-M):(j=N-2,Q=b(_(c(L),0),D-M)),h(D+j-Q),X=u(T,Q),Y=0;Y<Q;Y++)oe=M+Y,oe in T&&a(X,Y,T[oe]);if(X.length=Q,j<Q){for(Y=M;Y<D-Q;Y++)oe=Y+Q,ie=Y+j,oe in T?T[ie]=T[oe]:x(T,ie);for(Y=D;Y>D-Q+j;Y--)x(T,Y-1)}else if(j>Q)for(Y=D-Q;Y>M;Y--)oe=Y+Q-1,ie=Y+j-1,oe in T?T[ie]=T[oe]:x(T,ie);for(Y=0;Y<j;Y++)T[Y+M]=arguments[Y+2];return s(T,D-Q+j),X}})},1148:function(d,v,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,v,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,v,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,T=0,D,M,N,j;for(L===0?D=M=0:L===1?(D=0,M=S-R):(D=L-2,M=x(a(h(_),0),S-R)),N=l(S+D-M),j=u(N);T<R;T++)j[T]=b[T];for(;T<R+D;T++)j[T]=arguments[T-R+2];for(;T<N;T++)j[T]=b[T+M-D];return j}}),i("toSpliced")},90308:function(d,v,e){"use strict";var r=e(81181);r("flatMap")},96353:function(d,v,e){"use strict";var r=e(81181);r("flat")},84818:function(d,v,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,v,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,v,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,v,e){"use strict";e(40194)},81440:function(d,v,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,v,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,v,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,v,e){"use strict";var r=e(94488);r({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},96844:function(d,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(2291),i=e(13367),l=Error.prototype;l.toString!==i&&r(l,"toString",i)},65009:function(d,v,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,T;R<S;)L=c(_,R++),s(a,L)?b+=L:(T=f(L,0),T<256?b+="%"+x(T,2):b+="%u"+u(x(T,4)));return b}})},28796:function(d,v,e){"use strict";var r=e(94488),i=e(4645);r({target:"Function",proto:!0,forced:Function.bind!==i},{bind:i})},56450:function(d,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(92916);r({global:!0,forced:i.globalThis!==i},{globalThis:i})},54226:function(d,v,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),T=f(1 .toString),D=/[\uD800-\uDFFF]/g,M=/^[\uD800-\uDBFF]$/,N=/^[\uDC00-\uDFFF]$/,j=!p||s(function(){var oe=i("Symbol")("stringify detection");return _([oe])!=="[null]"||_({a:oe})!=="{}"||_(Object(oe))!=="{}"}),Q=s(function(){return _("\uDF06\uD834")!=='"\\udf06\\ud834"'||_("\uDEAD")!=='"\\udead"'}),X=function(oe,ie){var ue=a(arguments),K=x(ie);if(!(!h(K)&&(oe===void 0||u(oe))))return ue[1]=function(V,G){if(h(K)&&(G=c(K,this,y(V),G)),!u(G))return G},l(_,null,ue)},Y=function(oe,ie,ue){var K=S(ue,ie-1),V=S(ue,ie+1);return b(M,oe)&&!b(N,V)||b(N,oe)&&!b(M,K)?"\\u"+T(R(oe,0),16):oe};_&&r({target:"JSON",stat:!0,arity:3,forced:j||Q},{stringify:function(ie,ue,K){var V=a(arguments),G=l(j?X:_,null,V);return Q&&typeof G=="string"?L(G,D,Y):G}})},70201:function(d,v,e){"use strict";var r=e(92916),i=e(94573);i(r.JSON,"JSON",!0)},44781:function(d,v,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,v,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(T){var D=S(T,L++);a(R,D)?y(x(R,D),T):p(R,D,[T])}),R}})},34941:function(d,v,e){"use strict";e(44781)},35152:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(10014);r({target:"Math",stat:!0,forced:i!==Math.expm1},{expm1:i})},93321:function(d,v,e){"use strict";var r=e(94488),i=e(14894);r({target:"Math",stat:!0},{fround:i})},82277:function(d,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(53309);r({target:"Math",stat:!0},{log10:i})},9307:function(d,v,e){"use strict";var r=e(94488),i=e(25726);r({target:"Math",stat:!0},{log1p:i})},8821:function(d,v,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,v,e){"use strict";var r=e(94488),i=e(37666);r({target:"Math",stat:!0},{sign:i})},64099:function(d,v,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,v,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,v,e){"use strict";var r=e(94573);r(Math,"Math",!0)},59118:function(d,v,e){"use strict";var r=e(94488),i=e(3312);r({target:"Math",stat:!0},{trunc:i})},275:function(d,v,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),T=e(52971).trim,D="Number",M=c[D],N=f[D],j=M.prototype,Q=c.TypeError,X=s("".slice),Y=s("".charCodeAt),oe=function(te){var q=y(te,"number");return typeof q=="bigint"?q:ie(q)},ie=function(te){var q=y(te,"number"),J,le,z,F,se,_e,Pe,Re;if(p(q))throw new Q("Cannot convert a Symbol value to a number");if(typeof q=="string"&&q.length>2){if(q=T(q),J=Y(q,0),J===43||J===45){if(le=Y(q,2),le===88||le===120)return NaN}else if(J===48){switch(Y(q,1)){case 66:case 98:z=2,F=49;break;case 79:case 111:z=8,F=55;break;default:return+q}for(se=X(q,2),_e=se.length,Pe=0;Pe<_e;Pe++)if(Re=Y(se,Pe),Re<48||Re>F)return NaN;return parseInt(se,z)}}return+q},ue=h(D,!M(" 0o1")||!M("0b1")||M("+0x1")),K=function(te){return x(j,te)&&_(function(){L(te)})},V=function(q){var J=arguments.length<1?0:M(oe(q));return K(this)?a(Object(J),this,V):J};V.prototype=j,ue&&!i&&(j.constructor=V),r({global:!0,constructor:!0,wrap:!0,forced:ue},{Number:V});var G=function(te,q){for(var J=l?b(q):"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(","),le=0,z;J.length>le;le++)u(q,z=J[le])&&!u(te,z)&&R(te,z,S(q,z))};i&&N&&G(f[D],N),(ue||i)&&G(f[D],M)},31919:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},51284:function(d,v,e){"use strict";var r=e(94488),i=e(1222);r({target:"Number",stat:!0},{isFinite:i})},10177:function(d,v,e){"use strict";var r=e(94488),i=e(62896);r({target:"Number",stat:!0},{isInteger:i})},85690:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0},{isNaN:function(l){return l!==l}})},92114:function(d,v,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,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},14480:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},40516:function(d,v,e){"use strict";var r=e(94488),i=e(31280);r({target:"Number",stat:!0,forced:Number.parseFloat!==i},{parseFloat:i})},76345:function(d,v,e){"use strict";var r=e(94488),i=e(52446);r({target:"Number",stat:!0,forced:Number.parseInt!==i},{parseInt:i})},7282:function(d,v,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),T=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)})},M=function(){return!h(function(){S(1/0,1/0),S(NaN,1/0)})},N=!T||!D()||!M();r({target:"Number",proto:!0,forced:N},{toExponential:function(Q){var X=c(this);if(Q===void 0)return S(X);var Y=l(Q);if(!x(X))return String(X);if(Y<0||Y>20)throw new u("Incorrect fraction digits");if(T)return S(X,Y);var oe="",ie="",ue=0,K="",V="";if(X<0&&(oe="-",X=-X),X===0)ue=0,ie=R("0",Y+1);else{var G=s(X);ue=y(G);var te=0,q=_(10,ue-Y);te=b(X/q),2*X>=(2*te+1)*q&&(te+=1),te>=_(10,Y+1)&&(te/=10,ue+=1),ie=a(te)}return Y!==0&&(ie=L(ie,0,1)+"."+L(ie,1)),ue===0?(K="+",V="0"):(K=ue>0?"+":"-",V=a(p(ue))),ie+="e"+K+V,oe+ie}})},58055:function(d,v,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,M,N){return M===0?N:M%2===1?_(D,M-1,N*D):_(D*D,M/2,N)},b=function(D){for(var M=0,N=D;N>=4096;)M+=12,N/=4096;for(;N>=2;)M+=1,N/=2;return M},S=function(D,M,N){for(var j=-1,Q=N;++j<6;)Q+=M*D[j],D[j]=Q%1e7,Q=a(Q/1e7)},R=function(D,M){for(var N=6,j=0;--N>=0;)j+=D[N],D[N]=a(j/M),j=j%M*1e7},L=function(D){for(var M=6,N="";--M>=0;)if(N!==""||M===0||D[M]!==0){var j=u(D[M]);N=N===""?j:N+x("0",7-j.length)+j}return N},T=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:T},{toFixed:function(M){var N=c(this),j=l(M),Q=[0,0,0,0,0,0],X="",Y="0",oe,ie,ue,K;if(j<0||j>20)throw new h("Incorrect fraction digits");if(N!==N)return"NaN";if(N<=-1e21||N>=1e21)return u(N);if(N<0&&(X="-",N=-N),N>1e-21)if(oe=b(N*_(2,69,1))-69,ie=oe<0?N*_(2,-oe,1):N/_(2,oe,1),ie*=4503599627370496,oe=52-oe,oe>0){for(S(Q,0,ie),ue=j;ue>=7;)S(Q,1e7,0),ue-=7;for(S(Q,_(10,ue,1),0),ue=oe-1;ue>=23;)R(Q,8388608),ue-=23;R(Q,1<<ue),S(Q,1,1),R(Q,2),Y=L(Q)}else S(Q,0,ie),S(Q,1<<-oe,0),Y=L(Q)+x("0",j);return j>0?(K=Y.length,Y=X+(K<=j?"0."+x("0",j-K)+Y:p(Y,0,K-j)+"."+p(Y,K-j))):Y=X+Y,Y}})},93547:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(32621);r({target:"Object",stat:!0},{hasOwn:i})},55888:function(d,v,e){"use strict";var r=e(94488),i=e(12477);r({target:"Object",stat:!0,forced:Object.isExtensible!==i},{isExtensible:i})},53827:function(d,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(5370);r({target:"Object",stat:!0},{is:i})},66419:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(58218);r({target:"Object",stat:!0},{setPrototypeOf:i})},15954:function(d,v,e){"use strict";var r=e(68527),i=e(2291),l=e(28488);r||i(Object.prototype,"toString",l,{unsafe:!0})},4266:function(d,v,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,v,e){"use strict";var r=e(94488),i=e(31280);r({global:!0,forced:parseFloat!==i},{parseFloat:i})},38823:function(d,v,e){"use strict";var r=e(94488),i=e(52446);r({global:!0,forced:parseInt!==i},{parseInt:i})},4045:function(d,v,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,T=1;s(a,function(D){var M=L++,N=!1;T++,i(S,x,D).then(function(j){N||(N=!0,R[M]={status:"fulfilled",value:j},--T||y(R))},function(j){N||(N=!0,R[M]={status:"rejected",reason:j},--T||y(R))})}),--T||y(R)});return b.error&&_(b.value),p.promise}})},12785:function(d,v,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,T=1;s(a,function(D){var M=L++,N=!1;T++,i(S,x,D).then(function(j){N||(N=!0,R[M]=j,--T||y(R))},_)}),--T||y(R)});return b.error&&_(b.value),p.promise}})},50747:function(d,v,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 T=l(y.resolve),D=[],M=0,N=1,j=!1;h(p,function(Q){var X=M++,Y=!1;N++,i(T,y,Q).then(function(oe){Y||j||(j=!0,S(oe))},function(oe){Y||j||(Y=!0,D[X]=oe,--N||R(new _(D,a)))})}),--N||R(new _(D,a))});return L.error&&R(L.value),b.promise}})},41902:function(d,v,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,v,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),T=e(80734),D=e(66790),M=e(94844),N=e(2451),j=e(82830),Q=e(73446),X="Promise",Y=j.CONSTRUCTOR,oe=j.REJECTION_EVENT,ie=j.SUBCLASSING,ue=M.getterFor(X),K=M.set,V=N&&N.prototype,G=N,te=V,q=c.TypeError,J=c.document,le=c.process,z=Q.f,F=z,se=!!(J&&J.createEvent&&c.dispatchEvent),_e="unhandledrejection",Pe="rejectionhandled",Re=0,He=1,je=2,Zt=1,yt=2,Dt,Qt,Jt,qt,Xe=function(Me){var $e;return y(Me)&&p($e=Me.then)?$e:!1},Tt=function(Me,$e){var We=$e.value,nt=$e.state===He,lt=nt?Me.ok:Me.fail,Vt=Me.resolve,Ht=Me.reject,Ie=Me.domain,qe,Gt,Ot;try{lt?(nt||($e.rejection===yt&&Je($e),$e.rejection=Zt),lt===!0?qe=We:(Ie&&Ie.enter(),qe=lt(We),Ie&&(Ie.exit(),Ot=!0)),qe===Me.promise?Ht(new q("Promise-chain cycle")):(Gt=Xe(qe))?f(Gt,qe,Vt,Ht):Vt(qe)):Ht(We)}catch(zt){Ie&&!Ot&&Ie.exit(),Ht(zt)}},jt=function(Me,$e){Me.notified||(Me.notified=!0,R(function(){for(var We=Me.reactions,nt;nt=We.get();)Tt(nt,Me);Me.notified=!1,$e&&!Me.rejection&>(Me)}))},st=function(Me,$e,We){var nt,lt;se?(nt=J.createEvent("Event"),nt.promise=$e,nt.reason=We,nt.initEvent(Me,!1,!0),c.dispatchEvent(nt)):nt={promise:$e,reason:We},!oe&&(lt=c["on"+Me])?lt(nt):Me===_e&&L("Unhandled promise rejection",We)},gt=function(Me){f(S,c,function(){var $e=Me.facade,We=Me.value,nt=dt(Me),lt;if(nt&&(lt=T(function(){l?le.emit("unhandledRejection",We,$e):st(_e,$e,We)}),Me.rejection=l||dt(Me)?yt:Zt,lt.error))throw lt.value})},dt=function(Me){return Me.rejection!==Zt&&!Me.parent},Je=function(Me){f(S,c,function(){var $e=Me.facade;l?le.emit("rejectionHandled",$e):st(Pe,$e,Me.value)})},Ue=function(Me,$e,We){return function(nt){Me($e,nt,We)}},ge=function(Me,$e,We){Me.done||(Me.done=!0,We&&(Me=We),Me.value=$e,Me.state=je,jt(Me,!0))},Se=function(Me,$e,We){if(!Me.done){Me.done=!0,We&&(Me=We);try{if(Me.facade===$e)throw new q("Promise can't be resolved itself");var nt=Xe($e);nt?R(function(){var lt={done:!1};try{f(nt,$e,Ue(Se,lt,Me),Ue(ge,lt,Me))}catch(Vt){ge(lt,Vt,Me)}}):(Me.value=$e,Me.state=He,jt(Me,!1))}catch(lt){ge({done:!1},lt,Me)}}};if(Y&&(G=function($e){_(this,te),x($e),f(Dt,this);var We=ue(this);try{$e(Ue(Se,We),Ue(ge,We))}catch(nt){ge(We,nt)}},te=G.prototype,Dt=function($e){K(this,{type:X,done:!1,notified:!1,parent:!1,reactions:new D,rejection:!1,state:Re,value:void 0})},Dt.prototype=s(te,"then",function($e,We){var nt=ue(this),lt=z(b(this,G));return nt.parent=!0,lt.ok=p($e)?$e:!0,lt.fail=p(We)&&We,lt.domain=l?le.domain:void 0,nt.state===Re?nt.reactions.add(lt):R(function(){Tt(lt,nt)}),lt.promise}),Qt=function(){var Me=new Dt,$e=ue(Me);this.promise=Me,this.resolve=Ue(Se,$e),this.reject=Ue(ge,$e)},Q.f=z=function(Me){return Me===G||Me===Jt?new Qt(Me):F(Me)},!i&&p(N)&&V!==Object.prototype)){qt=V.then,ie||s(V,"then",function($e,We){var nt=this;return new G(function(lt,Vt){f(qt,nt,lt,Vt)}).then($e,We)},{unsafe:!0});try{delete V.constructor}catch(Me){}h&&h(V,te)}r({global:!0,constructor:!0,wrap:!0,forced:Y},{Promise:G}),u(G,X,!1,!0),a(X)},43595:function(d,v,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,v,e){"use strict";e(90366),e(12785),e(41902),e(20733),e(95693),e(81930)},20733:function(d,v,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,v,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,v,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,v,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,v,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,v,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,T){f(L),s(T);var D=arguments.length<3?L:f(arguments[2]);if(b&&!_)return x(L,T,D);if(L===D){switch(T.length){case 0:return new L;case 1:return new L(T[0]);case 2:return new L(T[0],T[1]);case 3:return new L(T[0],T[1],T[2]);case 4:return new L(T[0],T[1],T[2],T[3])}var M=[null];return l(y,M,T),new(l(c,L,M))}var N=D.prototype,j=u(h(N)?N:p),Q=l(L,j,T);return h(Q)?Q:j}})},57891:function(d,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488);r({target:"Reflect",stat:!0},{has:function(l,c){return c in l}})},7982:function(d,v,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,v,e){"use strict";var r=e(94488),i=e(48662);r({target:"Reflect",stat:!0},{ownKeys:i})},49233:function(d,v,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,v,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,v,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),T,D,M;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(T=u.f(R,b)){if(T.get||T.set||T.writable===!1)return!1;T.value=S,h.f(R,b,T)}else h.f(R,b,x(0,S))}else{if(M=L.set,M===void 0)return!1;i(M,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,v,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,v,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),T=e(94844).enforce,D=e(51996),M=e(59893),N=e(6041),j=e(51224),Q=M("match"),X=i.RegExp,Y=X.prototype,oe=i.SyntaxError,ie=l(Y.exec),ue=l("".charAt),K=l("".replace),V=l("".indexOf),G=l("".slice),te=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,q=/a/g,J=/a/g,le=new X(q)!==q,z=_.MISSED_STICKY,F=_.UNSUPPORTED_Y,se=r&&(!le||z||N||j||R(function(){return J[Q]=!1,X(q)!==q||X(J)===J||String(X(q,"i"))!=="/a/i"})),_e=function(Zt){for(var yt=Zt.length,Dt=0,Qt="",Jt=!1,qt;Dt<=yt;Dt++){if(qt=ue(Zt,Dt),qt==="\\"){Qt+=qt+ue(Zt,++Dt);continue}!Jt&&qt==="."?Qt+="[\\s\\S]":(qt==="["?Jt=!0:qt==="]"&&(Jt=!1),Qt+=qt)}return Qt},Pe=function(Zt){for(var yt=Zt.length,Dt=0,Qt="",Jt=[],qt=h(null),Xe=!1,Tt=!1,jt=0,st="",gt;Dt<=yt;Dt++){if(gt=ue(Zt,Dt),gt==="\\")gt+=ue(Zt,++Dt);else if(gt==="]")Xe=!1;else if(!Xe)switch(!0){case gt==="[":Xe=!0;break;case gt==="(":ie(te,G(Zt,Dt+1))&&(Dt+=2,Tt=!0),Qt+=gt,jt++;continue;case(gt===">"&&Tt):if(st===""||L(qt,st))throw new oe("Invalid capture group name");qt[st]=!0,Jt[Jt.length]=[st,jt],Tt=!1,st="";continue}Tt?st+=gt:Qt+=gt}return[Qt,Jt]};if(c("RegExp",se)){for(var Re=function(yt,Dt){var Qt=a(Y,this),Jt=x(yt),qt=Dt===void 0,Xe=[],Tt=yt,jt,st,gt,dt,Je,Ue;if(!Qt&&Jt&&qt&&yt.constructor===Re)return yt;if((Jt||a(Y,yt))&&(yt=yt.source,qt&&(Dt=y(Tt))),yt=yt===void 0?"":p(yt),Dt=Dt===void 0?"":p(Dt),Tt=yt,N&&"dotAll"in q&&(st=!!Dt&&V(Dt,"s")>-1,st&&(Dt=K(Dt,/s/g,""))),jt=Dt,z&&"sticky"in q&&(gt=!!Dt&&V(Dt,"y")>-1,gt&&F&&(Dt=K(Dt,/y/g,""))),j&&(dt=Pe(yt),yt=dt[0],Xe=dt[1]),Je=f(X(yt,Dt),Qt?this:Y,Re),(st||gt||Xe.length)&&(Ue=T(Je),st&&(Ue.dotAll=!0,Ue.raw=Re(_e(yt),jt)),gt&&(Ue.sticky=!0),Xe.length&&(Ue.groups=Xe)),yt!==Tt)try{s(Je,"source",Tt===""?"(?:)":Tt)}catch(ge){}return Je},He=u(X),je=0;He.length>je;)b(Re,X,He[je++]);Y.constructor=Re,Re.prototype=Y,S(i,"RegExp",Re,{constructor:!0})}D("RegExp")},62921:function(d,v,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,v,e){"use strict";var r=e(94488),i=e(88736);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},92262:function(d,v,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,T){Object.defineProperty(x,L,{get:function(){return p+=T,!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,v,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,v,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,v,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,v,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,v,e){"use strict";e(69772)},34932:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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 T=arguments.length>1?arguments[1]:void 0,D=L.length,M=T===void 0?D:y(c(T),D),N=f(R);return x?x(L,N,M):p(L,M-N.length,M)===N}})},56338:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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),T=e(60473),D=e(52216),M=e(94338),N=e(94844),j=e(16697),Q=L("matchAll"),X="RegExp String",Y=X+" Iterator",oe=N.set,ie=N.getterFor(Y),ue=RegExp.prototype,K=TypeError,V=l("".indexOf),G=l("".matchAll),te=!!G&&!R(function(){G("a",/./)}),q=c(function(z,F,se,_e){oe(this,{type:Y,regexp:z,string:F,global:se,unicode:_e,done:!1})},X,function(){var z=ie(this);if(z.done)return f(void 0,!0);var F=z.regexp,se=z.string,_e=M(F,se);return _e===null?(z.done=!0,f(void 0,!0)):z.global?(u(_e[0])===""&&(F.lastIndex=D(se,h(F.lastIndex),z.unicode)),f(_e,!1)):(z.done=!0,f(_e,!1))}),J=function(le){var z=a(this),F=u(le),se=T(z,RegExp),_e=u(_(z)),Pe,Re,He;return Pe=new se(se===RegExp?z.source:z,_e),Re=!!~V(_e,"g"),He=!!~V(_e,"u"),Pe.lastIndex=h(z.lastIndex),new q(Pe,F,Re,He)};r({target:"String",proto:!0,forced:te},{matchAll:function(z){var F=s(this),se,_e,Pe,Re;if(x(z)){if(te)return G(F,z)}else{if(y(z)&&(se=u(s(_(z))),!~V(se,"g")))throw new K("`.matchAll` does not allow non-global regexes");if(te)return G(F,z);if(Pe=b(z,Q),Pe===void 0&&j&&p(z)==="RegExp"&&(Pe=J),Pe)return i(Pe,z,F)}return _e=u(F),Re=new RegExp(z,"g"),j?i(J,Re,_e):Re[Q](_e)}}),j||Q in ue||S(ue,Q,J)},46302:function(d,v,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 T=S.unicode;S.lastIndex=0;for(var D=[],M=0,N;(N=x(S,R))!==null;){var j=s(N[0]);D[M]=j,j===""&&(S.lastIndex=a(R,f(S.lastIndex),T)),M++}return M===0?null:D}]})},76718:function(d,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(71049);r({target:"String",proto:!0},{repeat:i})},55629:function(d,v,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),T=l("".slice),D=Math.max,M=function(N,j,Q){return Q>N.length?-1:j===""?Q:R(N,j,Q)};r({target:"String",proto:!0},{replaceAll:function(j,Q){var X=c(this),Y,oe,ie,ue,K,V,G,te,q,J=0,le=0,z="";if(!s(j)){if(Y=h(j),Y&&(oe=u(c(x(j))),!~R(oe,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if(ie=a(j,b),ie)return i(ie,j,X,Q);if(_&&Y)return L(u(X),j,Q)}for(ue=u(X),K=u(j),V=f(Q),V||(Q=u(Q)),G=K.length,te=D(1,G),J=M(ue,K,0);J!==-1;)q=V?u(Q(K,J,ue)):p(K,ue,J,[],void 0,Q),z+=T(ue,le,J)+q,le=J+G,J=M(ue,K,J+te);return le<ue.length&&(z+=T(ue,le)),z}})},5658:function(d,v,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),T=L("replace"),D=Math.max,M=Math.min,N=l([].concat),j=l([].push),Q=l("".indexOf),X=l("".slice),Y=function(K){return K===void 0?K:String(K)},oe=function(){return"a".replace(/./,"$0")==="$0"}(),ie=function(){return/./[T]?/./[T]("a","$0")==="":!1}(),ue=!f(function(){var K=/./;return K.exec=function(){var V=[];return V.groups={a:"7"},V},"".replace(K,"$<a>")!=="7"});c("replace",function(K,V,G){var te=ie?"$":"$0";return[function(J,le){var z=y(this),F=u(J)?void 0:b(J,T);return F?i(F,J,z,le):i(V,p(z),J,le)},function(q,J){var le=s(this),z=p(q);if(typeof J=="string"&&Q(J,te)===-1&&Q(J,"$<")===-1){var F=G(V,le,z,J);if(F.done)return F.value}var se=h(J);se||(J=p(J));var _e=le.global,Pe;_e&&(Pe=le.unicode,le.lastIndex=0);for(var Re=[],He;He=R(le,z),!(He===null||(j(Re,He),!_e));){var je=p(He[0]);je===""&&(le.lastIndex=_(z,x(le.lastIndex),Pe))}for(var Zt="",yt=0,Dt=0;Dt<Re.length;Dt++){He=Re[Dt];for(var Qt=p(He[0]),Jt=D(M(a(He.index),z.length),0),qt=[],Xe,Tt=1;Tt<He.length;Tt++)j(qt,Y(He[Tt]));var jt=He.groups;if(se){var st=N([Qt],qt,Jt,z);jt!==void 0&&j(st,jt),Xe=p(r(J,void 0,st))}else Xe=S(Qt,z,Jt,qt,jt,J);Jt>=yt&&(Zt+=X(z,yt,Jt)+Xe,yt=Jt+Qt.length)}return Zt+X(z,yt)}]},!ue||!oe||ie)},62925:function(d,v,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 T=a(b,S);return s(b.lastIndex,L)||(b.lastIndex=L),T===null?-1:T.index}]})},60462:function(d,v,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,v,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),T=e(3338),D=L.UNSUPPORTED_Y,M=4294967295,N=Math.min,j=[].push,Q=l(/./.exec),X=l(j),Y=l("".slice),oe=!T(function(){var ie=/(?:)/,ue=ie.exec;ie.exec=function(){return ue.apply(this,arguments)};var K="ab".split(ie);return K.length!==2||K[0]!=="a"||K[1]!=="b"});c("split",function(ie,ue,K){var V;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?V=function(G,te){var q=y(u(this)),J=te===void 0?M:te>>>0;if(J===0)return[];if(G===void 0)return[q];if(!h(G))return i(ue,q,G,J);for(var le=[],z=(G.ignoreCase?"i":"")+(G.multiline?"m":"")+(G.unicode?"u":"")+(G.sticky?"y":""),F=0,se=new RegExp(G.source,z+"g"),_e,Pe,Re;(_e=i(R,se,q))&&(Pe=se.lastIndex,!(Pe>F&&(X(le,Y(q,F,_e.index)),_e.length>1&&_e.index<q.length&&r(j,le,b(_e,1)),Re=_e[0].length,F=Pe,le.length>=J)));)se.lastIndex===_e.index&&se.lastIndex++;return F===q.length?(Re||!Q(se,""))&&X(le,""):X(le,Y(q,F)),le.length>J?b(le,0,J):le}:"0".split(void 0,0).length?V=function(G,te){return G===void 0&&te===0?[]:i(ue,this,G,te)}:V=ue,[function(te,q){var J=u(this),le=s(te)?void 0:_(te,ie);return le?i(le,te,J,q):i(V,y(J),te,q)},function(G,te){var q=f(this),J=y(G),le=K(V,q,J,te,V!==ue);if(le.done)return le.value;var z=a(q,RegExp),F=q.unicode,se=(q.ignoreCase?"i":"")+(q.multiline?"m":"")+(q.unicode?"u":"")+(D?"g":"y"),_e=new z(D?"^(?:"+q.source+")":q,se),Pe=te===void 0?M:te>>>0;if(Pe===0)return[];if(J.length===0)return S(_e,J)===null?[J]:[];for(var Re=0,He=0,je=[];He<J.length;){_e.lastIndex=D?0:He;var Zt=S(_e,D?Y(J,He):J),yt;if(Zt===null||(yt=N(p(_e.lastIndex+(D?He:0)),J.length))===Re)He=x(J,He,F);else{if(X(je,Y(J,Re,He)),je.length===Pe)return je;for(var Dt=1;Dt<=Zt.length-1;Dt++)if(X(je,Zt[Dt]),je.length===Pe)return je;He=Re=yt}}return X(je,Y(J,Re)),je}]},!oe,D)},58127:function(d,v,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 T=c(y(arguments.length>1?arguments[1]:void 0,L.length)),D=f(R);return x?x(L,D,T):p(L,T,T+D.length)===D}})},72571:function(d,v,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,v,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,v,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,v,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,v,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),T=0;T<R;T++){var D=a(S,T);(D&63488)!==55296?L[T]=u(S,T):D>=56320||T+1>=R||(a(S,T+1)&64512)!==56320?L[T]=y:(L[T]=u(S,T),L[++T]=u(S,T))}return x(L,"")}})},49257:function(d,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94674);r("asyncIterator")},39161:function(d,v,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),T=e(80689),D=e(53393),M=e(92635),N=e(71256),j=e(37691),Q=e(55666),X=e(27597),Y=e(2291),oe=e(64110),ie=e(77898),ue=e(11898),K=e(54406),V=e(6145),G=e(59893),te=e(38282),q=e(94674),J=e(14311),le=e(94573),z=e(94844),F=e(90560).forEach,se=ue("hidden"),_e="Symbol",Pe="prototype",Re=z.set,He=z.getterFor(_e),je=Object[Pe],Zt=i.Symbol,yt=Zt&&Zt[Pe],Dt=i.RangeError,Qt=i.TypeError,Jt=i.QObject,qt=N.f,Xe=j.f,Tt=D.f,jt=X.f,st=c([].push),gt=ie("symbols"),dt=ie("op-symbols"),Je=ie("wks"),Ue=!Jt||!Jt[Pe]||!Jt[Pe].findChild,ge=function(qe,Gt,Ot){var zt=qt(je,Gt);zt&&delete je[Gt],Xe(qe,Gt,Ot),zt&&qe!==je&&Xe(je,Gt,zt)},Se=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 Ot=gt[qe]=R(yt);return Re(Ot,{type:_e,tag:qe,description:Gt}),s||(Ot.description=Gt),Ot},$e=function(Gt,Ot,zt){Gt===je&&$e(dt,Ot,zt),p(Gt);var $t=_(Ot);return p(zt),a(gt,$t)?(zt.enumerable?(a(Gt,se)&&Gt[se][$t]&&(Gt[se][$t]=!1),zt=R(zt,{enumerable:S(0,!1)})):(a(Gt,se)||Xe(Gt,se,S(1,{})),Gt[se][$t]=!0),Se(Gt,$t,zt)):Xe(Gt,$t,zt)},We=function(Gt,Ot){p(Gt);var zt=y(Ot),$t=L(zt).concat(Ie(zt));return F($t,function(tr){(!s||l(lt,zt,tr))&&$e(Gt,tr,zt[tr])}),Gt},nt=function(Gt,Ot){return Ot===void 0?R(Gt):We(R(Gt),Ot)},lt=function(Gt){var Ot=_(Gt),zt=l(jt,this,Ot);return this===je&&a(gt,Ot)&&!a(dt,Ot)?!1:zt||!a(this,Ot)||!a(gt,Ot)||a(this,se)&&this[se][Ot]?zt:!0},Vt=function(Gt,Ot){var zt=y(Gt),$t=_(Ot);if(!(zt===je&&a(gt,$t)&&!a(dt,$t))){var tr=qt(zt,$t);return tr&&a(gt,$t)&&!(a(zt,se)&&zt[se][$t])&&(tr.enumerable=!0),tr}},Ht=function(Gt){var Ot=Tt(y(Gt)),zt=[];return F(Ot,function($t){!a(gt,$t)&&!a(K,$t)&&st(zt,$t)}),zt},Ie=function(qe){var Gt=qe===je,Ot=Tt(Gt?dt:y(qe)),zt=[];return F(Ot,function($t){a(gt,$t)&&(!Gt||a(je,$t))&&st(zt,gt[$t])}),zt};h||(Zt=function(){if(x(yt,this))throw new Qt("Symbol is not a constructor");var Gt=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),Ot=V(Gt),zt=function($t){var tr=this===void 0?i:this;tr===je&&l(zt,dt,$t),a(tr,se)&&a(tr[se],Ot)&&(tr[se][Ot]=!1);var Wt=S(1,$t);try{Se(tr,Ot,Wt)}catch(Fe){if(!(Fe instanceof Dt))throw Fe;ge(tr,Ot,Wt)}};return s&&Ue&&Se(je,Ot,{configurable:!0,set:zt}),Me(Ot,Gt)},yt=Zt[Pe],Y(yt,"toString",function(){return He(this).tag}),Y(Zt,"withoutSetter",function(qe){return Me(V(qe),qe)}),X.f=lt,j.f=$e,Q.f=We,N.f=Vt,T.f=D.f=Ht,M.f=Ie,te.f=function(qe){return Me(G(qe),qe)},s&&(oe(yt,"description",{configurable:!0,get:function(){return He(this).description}}),f||Y(je,"propertyIsEnumerable",lt,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Zt}),F(L(Je),function(qe){q(qe)}),r({target:_e,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:We,getOwnPropertyDescriptor:Vt}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Ht}),J(),le(Zt,_e),K[se]=!0},44852:function(d,v,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 j=arguments.length<1||arguments[0]===void 0?void 0:u(arguments[0]),Q=h(y,this)?new p(j):j===void 0?p():p(j);return j===""&&(_[Q]=!0),Q};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),T=/^Symbol\((.*)\)[^)]+$/,D=c("".replace),M=c("".slice);a(y,"description",{configurable:!0,get:function(){var j=R(this);if(f(_,j))return"";var Q=L(j),X=S?M(Q,7,-1):D(Q,T,"$1");return X===""?void 0:X}}),r({global:!0,constructor:!0,forced:!0},{Symbol:b})}},54524:function(d,v,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,v,e){"use strict";var r=e(94674);r("hasInstance")},40902:function(d,v,e){"use strict";var r=e(94674);r("isConcatSpreadable")},2259:function(d,v,e){"use strict";var r=e(94674);r("iterator")},68557:function(d,v,e){"use strict";e(39161),e(54524),e(32340),e(54226),e(67936)},32340:function(d,v,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,v,e){"use strict";var r=e(94674);r("matchAll")},14589:function(d,v,e){"use strict";var r=e(94674);r("match")},18114:function(d,v,e){"use strict";var r=e(94674);r("replace")},23844:function(d,v,e){"use strict";var r=e(94674);r("search")},39581:function(d,v,e){"use strict";var r=e(94674);r("species")},40632:function(d,v,e){"use strict";var r=e(94674);r("split")},22690:function(d,v,e){"use strict";var r=e(94674),i=e(14311);r("toPrimitive"),i()},7786:function(d,v,e){"use strict";var r=e(65911),i=e(94674),l=e(94573);i("toStringTag"),l(r("Symbol"),"Symbol")},99062:function(d,v,e){"use strict";var r=e(94674);r("unscopables")},35246:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(59627),i=e(58261).exportTypedArrayStaticMethod,l=e(50706);i("from",l,r)},19299:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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 T=f(arguments.length>1?arguments[1]:void 0,1),D=s(L);if(b)return i(p,this,D,T);var M=this.length,N=c(D),j=0;if(N+T>M)throw new u("Wrong length");for(;j<N;)this[T+j]=D[j++]},!b||S)},69653:function(d,v,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,v,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,v,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 T=new _(516),D=Array(516),M,N;for(M=0;M<516;M++)N=M%4,T[M]=515-M,D[M]=M-2*N+3;for(b(T,function(j,Q){return(j/4|0)-(Q/4|0)}),M=0;M<516;M++)if(T[M]!==D[M])return!0}),L=function(T){return function(D,M){return T!==void 0?+T(D,M)||0:M!==M?-1:D!==D?1:D===0&&M===0?1/D>0&&1/M<0?1:-1:D>M}};y("sort",function(D){return D!==void 0&&c(D),R?b(this,D):f(p(this),L(D))},!R||S)},63079:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,T=y.seal,D={},M={},N=!i.ActiveXObject&&"ActiveXObject"in i,j,Q=function(G){return function(){return G(this,arguments.length?arguments[0]:void 0)}},X=s("WeakMap",Q,h),Y=X.prototype,oe=l(Y.set),ie=function(){return r&&x(function(){var G=L([]);return oe(new X,G,1),!S(G)})};if(p)if(N){j=h.getConstructor(Q,"WeakMap",!0),f.enable();var ue=l(Y.delete),K=l(Y.has),V=l(Y.get);c(Y,{delete:function(G){if(u(G)&&!b(G)){var te=a(this);return te.frozen||(te.frozen=new j),ue(this,G)||te.frozen.delete(G)}return ue(this,G)},has:function(te){if(u(te)&&!b(te)){var q=a(this);return q.frozen||(q.frozen=new j),K(this,te)||q.frozen.has(te)}return K(this,te)},get:function(te){if(u(te)&&!b(te)){var q=a(this);return q.frozen||(q.frozen=new j),K(this,te)?V(this,te):q.frozen.get(te)}return V(this,te)},set:function(te,q){if(u(te)&&!b(te)){var J=a(this);J.frozen||(J.frozen=new j),K(this,te)?oe(this,te,q):J.frozen.set(te,q)}else oe(this,te,q);return this}})}else ie()&&c(Y,{set:function(te,q){var J;return _(te)&&(S(te)?J=D:R(te)&&(J=M)),oe(this,te,q),J===D&&L(te),J===M&&T(te),this}})},55410:function(d,v,e){"use strict";e(58453)},65092:function(d,v,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,v,e){"use strict";e(65092)},88900:function(d,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(32278);r({target:"Array",stat:!0},{fromAsync:i})},64963:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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",T=x.set,D=x.getterFor(L),M="async-dispose",N="disposed",j="pending",Q=function(oe){var ie=D(oe);if(ie.state===N)throw new b(L+" already disposed");return ie},X=function(){T(f(this,Y),{type:L,state:j,stack:[]}),i||(this.disposed=!1)},Y=X.prototype;h(Y,{disposeAsync:function(){var ie=this;return new y(function(ue,K){var V=D(ie);if(V.state===N)return ue(void 0);V.state=N,i||(ie.disposed=!0);var G=V.stack,te=G.length,q=!1,J,le=function(F){q?J=new _(F,J):(q=!0,J=F),z()},z=function(){if(te){var F=G[--te];G[te]=null;try{y.resolve(F()).then(z,le)}catch(se){le(se)}}else V.stack=null,q?K(J):ue(void 0)};z()})},use:function(ie){return p(Q(this),ie,M),ie},adopt:function(ie,ue){var K=Q(this);return c(ue),p(K,void 0,M,function(){return ue(ie)}),ie},defer:function(ie){var ue=Q(this);c(ie),p(ue,void 0,M,ie)},move:function(){var ie=Q(this),ue=new X;return D(ue).stack=ie.stack,ie.stack=[],ie.state=N,i||(this.disposed=!0),ue}}),i&&u(Y,"disposed",{configurable:!0,get:function(){return D(this).state===N}}),s(Y,S,Y.disposeAsync,{name:"disposeAsync"}),s(Y,R,L,{nonWritable:!0}),r({global:!0,constructor:!0},{AsyncDisposableStack:X})},48966:function(d,v,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,v,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,v,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,v,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(T){S(T)}},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,v,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,v,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 T=function(N){_.done=!0,L(N)},D=function(N){a(b,T,N,T)},M=function(){try{y.resolve(c(i(_.next,b))).then(function(N){try{if(c(N).done)_.done=!0,R(u(void 0,!0));else{var j=N.value;try{var Q=S(j,_.counter++),X=function(Y){Y?R(u(j,!1)):M()};f(Q)?y.resolve(Q).then(X,D):X(Q)}catch(Y){D(Y)}}}catch(Y){T(Y)}},T)}catch(N){T(N)}};M()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:x},{filter:function(_){return c(this),l(_),new p(s(this),{predicate:_})}})},27427:function(d,v,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,v,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,T){var D=function(Q){b.done=!0,T(Q)},M=function(Q){x(S,D,Q,D)},N=function(){try{_.resolve(c(i(b.next,S))).then(function(Q){try{if(c(Q).done)b.done=!0,L(u(void 0,!0));else{var X=Q.value;try{var Y=R(X,b.counter++),oe=function(ie){try{b.inner=a(ie),j()}catch(ue){M(ue)}};f(Y)?_.resolve(Y).then(oe,M):oe(Y)}catch(ie){M(ie)}}}catch(ie){D(ie)}},D)}catch(Q){D(Q)}},j=function(){var Q=b.inner;if(Q)try{_.resolve(c(i(Q.next,Q.iterator))).then(function(X){try{c(X).done?(b.inner=null,N()):L(u(X.value,!1))}catch(Y){M(Y)}},M)}catch(X){M(X)}else N()};j()})});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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(34535);r({target:"AsyncIterator",proto:!0,real:!0,forced:!0},{indexed:i})},413:function(d,v,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,v,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],T=0;return new a(function(D,M){var N=function(Q){u(b,M,Q,M)},j=function(){try{a.resolve(c(i(S,b))).then(function(Q){try{if(c(Q).done)R?M(new x("Reduce of empty iterator with no initial value")):D(L);else{var X=Q.value;if(R)R=!1,L=X,j();else try{var Y=y(L,X,T),oe=function(ie){L=ie,j()};f(Y)?a.resolve(Y).then(oe,N):oe(Y)}catch(ie){N(ie)}}T++}catch(ie){M(ie)}},M)}catch(Q){M(Q)}};j()})}})},77703:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,T=x.getterFor(R),D="sync-dispose",M="disposed",N="pending",j=function(Y){var oe=T(Y);if(oe.state===M)throw new _(R+" already disposed");return oe},Q=function(){L(f(this,X),{type:R,state:N,stack:[]}),i||(this.disposed=!1)},X=Q.prototype;h(X,{dispose:function(){var oe=T(this);if(oe.state!==M){oe.state=M,i||(this.disposed=!0);for(var ie=oe.stack,ue=ie.length,K=!1,V;ue;){var G=ie[--ue];ie[ue]=null;try{G()}catch(te){K?V=new y(te,V):(K=!0,V=te)}}if(oe.stack=null,K)throw V}},use:function(oe){return p(j(this),oe,D),oe},adopt:function(oe,ie){var ue=j(this);return c(ie),p(ue,void 0,D,function(){ie(oe)}),oe},defer:function(oe){var ie=j(this);c(oe),p(ie,void 0,D,oe)},move:function(){var oe=j(this),ie=new Q;return T(ie).stack=oe.stack,oe.stack=[],oe.state=M,i||(this.disposed=!0),ie}}),i&&u(X,"disposed",{configurable:!0,get:function(){return T(this).state===M}}),s(X,b,X.dispose,{name:"dispose"}),s(X,S,R,{nonWritable:!0}),r({global:!0,constructor:!0},{DisposableStack:Q})},36955:function(d,v,e){"use strict";var r=e(94488),i=e(47739);r({target:"Function",proto:!0,forced:!0},{demethodize:i})},77326:function(d,v,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,v,e){"use strict";var r=e(94488),i=e(39812);r({target:"Function",stat:!0,forced:!0},{isConstructor:i})},28670:function(d,v,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,v,e){"use strict";var r=e(94488),i=e(47739);r({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:i})},96364:function(d,v,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,v,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"),T=TypeError,D=i[R],M=b||!f(D)||D.prototype!==y||!a(function(){D({})}),N=function(){if(l(this,y),s(this)===y)throw new T("Abstract class Iterator not directly constructable")},j=function(Q,X){_?h(y,Q,{configurable:!0,get:function(){return X},set:function(Y){if(c(this),this===y)throw new T("You can't redefine this property");x(this,Q)?this[Q]=Y:u(this,Q,Y)}}):y[Q]=X};x(y,L)||j(L,R),(M||!x(y,S)||y[S]===Object)&&j(S,N),N.prototype=y,r({global:!0,constructor:!0,forced:M},{Iterator:N})},46304:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(24771);r({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:i})},19517:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,T=l.Number,D=l.SyntaxError,M=L&&L.parse,N=c("Object","keys"),j=Object.getOwnPropertyDescriptor,Q=f("".charAt),X=f("".slice),Y=f(/./.exec),oe=f([].push),ie=/^\d$/,ue=/^[1-9]$/,K=/^(?:-|\d)$/,V=/^[\t\n\r ]$/,G=0,te=1,q=function(Pe,Re){Pe=p(Pe);var He=new F(Pe,0,""),je=He.parse(),Zt=je.value,yt=He.skip(V,je.end);if(yt<Pe.length)throw new D('Unexpected extra character: "'+Q(Pe,yt)+'" after the parsed data at: '+yt);return h(Re)?J({"":Zt},"",Re,je):Zt},J=function(Pe,Re,He,je){var Zt=Pe[Re],yt=je&&Zt===je.value,Dt=yt&&typeof je.source=="string"?{source:je.source}:{},Qt,Jt,qt,Xe,Tt;if(u(Zt)){var jt=a(Zt),st=yt?je.nodes:jt?[]:{};if(jt)for(Qt=st.length,qt=y(Zt),Xe=0;Xe<qt;Xe++)le(Zt,Xe,J(Zt,""+Xe,He,Xe<Qt?st[Xe]:void 0));else for(Jt=N(Zt),qt=y(Jt),Xe=0;Xe<qt;Xe++)Tt=Jt[Xe],le(Zt,Tt,J(Zt,Tt,He,x(st,Tt)?st[Tt]:void 0))}return s(He,Pe,Re,Zt,Dt)},le=function(Pe,Re,He){if(i){var je=j(Pe,Re);if(je&&!je.configurable)return}He===void 0?delete Pe[Re]:_(Pe,Re,He)},z=function(Pe,Re,He,je){this.value=Pe,this.end=Re,this.source=He,this.nodes=je},F=function(Pe,Re){this.source=Pe,this.index=Re};F.prototype={fork:function(Pe){return new F(this.source,Pe)},parse:function(){var Pe=this.source,Re=this.skip(V,this.index),He=this.fork(Re),je=Q(Pe,Re);if(Y(K,je))return He.number();switch(je){case"{":return He.object();case"[":return He.array();case'"':return He.string();case"t":return He.keyword(!0);case"f":return He.keyword(!1);case"n":return He.keyword(null)}throw new D('Unexpected character: "'+je+'" at: '+Re)},node:function(Pe,Re,He,je,Zt){return new z(Re,je,Pe?null:X(this.source,He,je),Zt)},object:function(){for(var Pe=this.source,Re=this.index+1,He=!1,je={},Zt={};Re<Pe.length;){if(Re=this.until(['"',"}"],Re),Q(Pe,Re)==="}"&&!He){Re++;break}var yt=this.fork(Re).string(),Dt=yt.value;Re=yt.end,Re=this.until([":"],Re)+1,Re=this.skip(V,Re),yt=this.fork(Re).parse(),_(Zt,Dt,yt),_(je,Dt,yt.value),Re=this.until([",","}"],yt.end);var Qt=Q(Pe,Re);if(Qt===",")He=!0,Re++;else if(Qt==="}"){Re++;break}}return this.node(te,je,this.index,Re,Zt)},array:function(){for(var Pe=this.source,Re=this.index+1,He=!1,je=[],Zt=[];Re<Pe.length;){if(Re=this.skip(V,Re),Q(Pe,Re)==="]"&&!He){Re++;break}var yt=this.fork(Re).parse();if(oe(Zt,yt),oe(je,yt.value),Re=this.until([",","]"],yt.end),Q(Pe,Re)===",")He=!0,Re++;else if(Q(Pe,Re)==="]"){Re++;break}}return this.node(te,je,this.index,Re,Zt)},string:function(){var Pe=this.index,Re=S(this.source,this.index+1);return this.node(G,Re.value,Pe,Re.end)},number:function(){var Pe=this.source,Re=this.index,He=Re;if(Q(Pe,He)==="-"&&He++,Q(Pe,He)==="0")He++;else if(Y(ue,Q(Pe,He)))He=this.skip(ie,++He);else throw new D("Failed to parse number at: "+He);if(Q(Pe,He)==="."&&(He=this.skip(ie,++He)),Q(Pe,He)==="e"||Q(Pe,He)==="E"){He++,(Q(Pe,He)==="+"||Q(Pe,He)==="-")&&He++;var je=He;if(He=this.skip(ie,He),je===He)throw new D("Failed to parse number's exponent value at: "+He)}return this.node(G,T(X(Pe,Re,He)),Re,He)},keyword:function(Pe){var Re=""+Pe,He=this.index,je=He+Re.length;if(X(this.source,He,je)!==Re)throw new D("Failed to parse value at: "+He);return this.node(G,Pe,He,je)},skip:function(Pe,Re){for(var He=this.source;Re<He.length&&Y(Pe,Q(He,Re));Re++);return Re},until:function(Pe,Re){Re=this.skip(V,Re);for(var He=Q(this.source,Re),je=0;je<Pe.length;je++)if(Pe[je]===He)return Re;throw new D('Unexpected character: "'+He+'" at: '+Re)}};var se=b(function(){var Pe="9007199254740993",Re;return M(Pe,function(He,je,Zt){Re=Zt.source}),Re!==Pe}),_e=R&&!b(function(){return 1/M("-0 ")!==-1/0});r({target:"JSON",stat:!0,forced:se},{parse:function(Re,He){return _e&&!h(He)?M(Re):q(Re,He)}})},9196:function(d,v,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"),T=c("JSON","stringify"),D=c("Object","create"),M=c("Object","freeze"),N=s("".charAt),j=s("".slice),Q=s(/./.exec),X=s([].push),Y=_(),oe=Y.length,ie="Unacceptable as raw JSON",ue=/^[\t\n\r ]$/;r({target:"JSON",stat:!0,forced:!l},{rawJSON:function(V){var G=a(V);if(G===""||Q(ue,N(G,0))||Q(ue,N(G,G.length-1)))throw new R(ie);var te=L(G);if(typeof te=="object"&&te!==null)throw new R(ie);var q=D(null);return b(q,{type:"RawJSON"}),x(q,"rawJSON",G),i?M(q):q}}),T&&r({target:"JSON",stat:!0,arity:3,forced:!l},{stringify:function(V,G,te){var q=y(G),J=[],le=T(V,function(He,je){var Zt=h(q)?f(q,this,S(He),je):je;return u(Zt)?Y+(X(J,Zt.rawJSON)-1):Zt},te);if(typeof le!="string")return le;for(var z="",F=le.length,se=0;se<F;se++){var _e=N(le,se);if(_e==='"'){var Pe=p(le,++se).end-1,Re=j(le,se,Pe);z+=j(Re,0,oe)===Y?J[j(Re,oe)]:'"'+Re+'"',se=Pe}else z+=_e}return z}})},5369:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"Map",stat:!0,forced:!0},{from:i})},18090:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"Map",stat:!0,forced:!0},{of:i})},3432:function(d,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(14615);r({target:"Map",proto:!0,real:!0,forced:!0},{upsert:i})},93036:function(d,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(35175);r({target:"Math",stat:!0},{f16round:i})},66233:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(24619);r({target:"Math",stat:!0,forced:!0},{scale:i})},87236:function(d,v,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,v,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,v,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,v,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(T,D){var M=1;if(typeof T!="string")throw new u(c);if(!T.length)throw new h(c);if(y(T,0)==="-"&&(M=-1,T=S(T,1),!T.length))throw new h(c);var N=D===void 0?10:l(D);if(N<2||N>36)throw new s(f);if(!_(p,T))throw new h(c);var j=R(T,"."),Q=a(j[0],N);if(j.length>1&&(Q+=a(j[1],N)/x(N,j[1].length)),N===10&&b(Q,N)!==T)throw new h(c);return M*Q}})},10775:function(d,v,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,v,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,v,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,v,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,v,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),T=R("observable"),D="Observable",M="Subscription",N="SubscriptionObserver",j=L.getterFor,Q=L.set,X=j(D),Y=j(M),oe=j(N),ie=function(te){this.observer=s(te),this.cleanup=void 0,this.subscriptionObserver=void 0};ie.prototype={type:M,clean:function(){var te=this.cleanup;if(te){this.cleanup=void 0;try{te()}catch(q){S(q)}}},close:function(){if(!l){var te=this.facade,q=this.subscriptionObserver;te.closed=!0,q&&(q.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var ue=function(te,q){var J=Q(this,new ie(te)),le;l||(this.closed=!1);try{(le=p(te,"start"))&&i(le,te,this)}catch(_e){S(_e)}if(!J.isClosed()){var z=J.subscriptionObserver=new K(J);try{var F=q(z),se=F;a(F)||(J.cleanup=u(F.unsubscribe)?function(){se.unsubscribe()}:f(F))}catch(_e){z.error(_e);return}J.isClosed()&&J.clean()}};ue.prototype=_({},{unsubscribe:function(){var q=Y(this);q.isClosed()||(q.close(),q.clean())}}),l&&b(ue.prototype,"closed",{configurable:!0,get:function(){return Y(this).isClosed()}});var K=function(te){Q(this,{type:N,subscriptionState:te}),l||(this.closed=!1)};K.prototype=_({},{next:function(q){var J=oe(this).subscriptionState;if(!J.isClosed()){var le=J.observer;try{var z=p(le,"next");z&&i(z,le,q)}catch(F){S(F)}}},error:function(q){var J=oe(this).subscriptionState;if(!J.isClosed()){var le=J.observer;J.close();try{var z=p(le,"error");z?i(z,le,q):S(q)}catch(F){S(F)}J.clean()}},complete:function(){var q=oe(this).subscriptionState;if(!q.isClosed()){var J=q.observer;q.close();try{var le=p(J,"complete");le&&i(le,J)}catch(z){S(z)}q.clean()}}}),l&&b(K.prototype,"closed",{configurable:!0,get:function(){return oe(this).subscriptionState.isClosed()}});var V=function(q){h(this,G),Q(this,{type:D,subscriber:f(q)})},G=V.prototype;_(G,{subscribe:function(q){var J=arguments.length;return new ue(u(q)?{next:q,error:J>1?arguments[1]:void 0,complete:J>2?arguments[2]:void 0}:x(q)?q:{},X(this).subscriber)}}),y(G,T,function(){return this}),r({global:!0,constructor:!0,forced:!0},{Observable:V}),c(D)},14548:function(d,v,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(T,D){if(L.next(T),L.closed)return D()},{IS_ITERATOR:!0,INTERRUPTED:!0}),L.complete()})}})},96378:function(d,v,e){"use strict";e(76867),e(14548),e(6053)},6053:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"Set",stat:!0,forced:!0},{from:i})},34926:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"Set",stat:!0,forced:!0},{of:i})},94194:function(d,v,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,v,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,v,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,v,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,v,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,v,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,v,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,v,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,T;return L>=R.length?l(void 0,!0):(T=a(R,L),S.index+=T.length,l({codePoint:u(T,0),position:L},!1))});r({target:"String",proto:!0,forced:!0},{codePoints:function(){return new _(f(c(this)))}})},59348:function(d,v,e){"use strict";var r=e(94488),i=e(67410);r({target:"String",stat:!0,forced:!0},{cooked:i})},37457:function(d,v,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,T=y.has,D=y.set,M=Array,N=TypeError,j=Object.freeze||Object,Q=Object.isFrozen,X=Math.min,Y=c("".charAt),oe=c("".slice),ie=c("".split),ue=c(/./.exec),K=/([\n\u2028\u2029]|\r\n?)/g,V=RegExp("^["+S+"]*"),G=RegExp("[^"+S+"]"),te="Invalid tag",q="Invalid opening line",J="Invalid closing line",le=function(Re){var He=Re.raw;if(r&&!Q(He))throw new N("Raw template should be frozen");if(T(R,He))return L(R,He);var je=z(He),Zt=se(je);return x(Zt,"raw",{value:j(je)}),j(Zt),D(R,He,Zt),Zt},z=function(Re){var He=h(Re),je=a(He),Zt=M(je),yt=M(je),Dt=0,Qt,Jt,qt,Xe;if(!je)throw new N(te);for(;Dt<je;Dt++){var Tt=He[Dt];if(typeof Tt=="string")Zt[Dt]=ie(Tt,K);else throw new N(te)}for(Dt=0;Dt<je;Dt++){var jt=Dt+1===je;if(Qt=Zt[Dt],Dt===0){if(Qt.length===1||Qt[0].length>0)throw new N(q);Qt[1]=""}if(jt){if(Qt.length===1||ue(G,Qt[Qt.length-1]))throw new N(J);Qt[Qt.length-2]="",Qt[Qt.length-1]=""}for(var st=2;st<Qt.length;st+=2){var gt=Qt[st],dt=st+1===Qt.length&&!jt,Je=ue(V,gt)[0];if(!dt&&Je.length===gt.length){Qt[st]="";continue}Jt=F(Je,Jt)}}var Ue=Jt?Jt.length:0;for(Dt=0;Dt<je;Dt++){for(Qt=Zt[Dt],qt=Qt[0],Xe=1;Xe<Qt.length;Xe+=2)qt+=Qt[Xe]+oe(Qt[Xe+1],Ue);yt[Dt]=qt}return yt},F=function(Re,He){if(He===void 0||Re===He)return Re;for(var je=0,Zt=X(Re.length,He.length);je<Zt&&Y(Re,je)===Y(He,je);je++);return oe(Re,0,je)},se=function(Re){for(var He=0,je=Re.length,Zt=M(je);He<je;He++)Zt[He]=b(Re[He]);return Zt},_e=function(Re){return l(function(He){var je=p(arguments);return je[0]=le(s(He)),f(Re,this,je)},"")},Pe=_e(_);i({target:"String",stat:!0,forced:!0},{dedent:function(He){return s(He),u(He)?_e(He):f(Pe,this,arguments)}})},14800:function(d,v,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,T,D){var M=i(S,this),N;return c?N=c(new _,M?l(this):S):(N=M?this:s(S),h(N,y,"Error")),D!==void 0&&h(N,"message",x(D)),a(N,b,N.stack,1),h(N,"error",L),h(N,"suppressed",T),N};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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(69077);r({target:"Symbol",stat:!0},{isRegisteredSymbol:i})},51630:function(d,v,e){"use strict";var r=e(94488),i=e(69077);r({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:i})},61933:function(d,v,e){"use strict";var r=e(94488),i=e(40443);r({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:i})},619:function(d,v,e){"use strict";var r=e(94488),i=e(40443);r({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:i})},99675:function(d,v,e){"use strict";var r=e(94674);r("matcher")},53637:function(d,v,e){"use strict";var r=e(94674);r("metadataKey")},52548:function(d,v,e){"use strict";var r=e(94674);r("metadata")},57482:function(d,v,e){"use strict";var r=e(94674);r("observable")},59725:function(d,v,e){"use strict";var r=e(94674);r("patternMatch")},17610:function(d,v,e){"use strict";var r=e(94674);r("replaceAll")},11507:function(d,v,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,v,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,v,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,v,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,v,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),T=a(L),D=i(L),M=c(S,D),N=arguments.length,j=0,Q,X,Y,oe,ie,ue,K;if(N===0)Q=X=0;else if(N===1)Q=0,X=D-M;else if(X=y(p(s(R),0),D-M),Q=N-2,Q){oe=new T(Q),Y=l(oe);for(var V=2;V<N;V++)ie=arguments[V],oe[V-2]=Y?f(ie):+ie}for(ue=D+Q-X,K=new T(ue);j<M;j++)K[j]=L[j];for(;j<M+Q;j++)K[j]=oe[j-M];for(;j<ue;j++)K[j]=L[j+X-Q];return K},!_)},17230:function(d,v,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,v,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),T=/[\t\n\f\r ]/g,D="Extra bits";y&&r({target:"Uint8Array",stat:!0,forced:!0},{fromBase64:function(N){f(N);var j=arguments.length>1?c(arguments[1]):void 0,Q=a(j)==="base64"?x:p,X=j?!!j.strict:!1,Y=X?N:S(N,T,"");if(Y.length%4===0)R(Y,-2)==="=="?Y=R(Y,0,-2):R(Y,-1)==="="&&(Y=R(Y,0,-1));else if(X)throw new _("Input is not correctly padded");var oe=Y.length%4;switch(oe){case 1:throw new _("Bad input length");case 2:Y+="AA";break;case 3:Y+="A"}for(var ie=[],ue=0,K=Y.length,V=function(q){var J=b(Y,ue+q);if(!s(Q,J))throw new _('Bad char in input: "'+J+'"');return Q[J]<<18-6*q};ue<K;ue+=4){var G=V(0)+V(1)+V(2)+V(3);L(ie,G>>16&255,G>>8&255,G&255)}var te=ie.length;if(oe===2){if(X&&ie[te-2]!==0)throw new _(D);te-=2}else if(oe===3){if(X&&ie[te-1]!==0)throw new _(D);te--}return h(y,ie,te)}})},57151:function(d,v,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,v,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,T=_.length,D,M=function(N){return p(S,D>>6*N&63)};L+2<T;L+=3)D=(_[L]<<16)+(_[L+1]<<8)+_[L+2],R+=M(3)+M(2)+M(1)+M(0);return L+2===T?(D=(_[L]<<16)+(_[L+1]<<8),R+=M(3)+M(2)+M(1)+"="):L+1===T&&(D=_[L]<<16,R+=M(3)+M(2)+"=="),R}})},18481:function(d,v,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,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"WeakMap",stat:!0,forced:!0},{from:i})},89179:function(d,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"WeakMap",stat:!0,forced:!0},{of:i})},67725:function(d,v,e){"use strict";var r=e(94488),i=e(14615);r({target:"WeakMap",proto:!0,real:!0,forced:!0},{upsert:i})},59884:function(d,v,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,v,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,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"WeakSet",stat:!0,forced:!0},{from:i})},11593:function(d,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"WeakSet",stat:!0,forced:!0},{of:i})},7597:function(d,v,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),T=!!_&&!s(function(){return _("aGk=")!=="hi"}),D=T&&s(function(){return _(" ")!==""}),M=T&&!s(function(){_("a")}),N=T&&!s(function(){_()}),j=T&&_.length!==1,Q=!T||D||M||N||j;r({global:!0,bind:!0,enumerable:!0,forced:Q},{atob:function(Y){if(u(arguments.length,1),T&&!D&&!M)return f(_,i,Y);var oe=R(h(Y),p,""),ie="",ue=0,K=0,V,G,te;if(oe.length%4===0&&(oe=R(oe,y,"")),V=oe.length,V%4===1||L(x,oe))throw new(l("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;ue<V;)G=S(oe,ue++),te=K%4?te*64+a[G]:a[G],K++%4&&(ie+=b(255&te>>(-2*K&6)));return ie}})},55182:function(d,v,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(T){if(u(arguments.length,1),_)return f(x,i,h(T));for(var D=h(T),M="",N=0,j=a,Q,X;p(D,N)||(j="=",N%1);){if(X=y(D,N+=.75),X>255)throw new(l("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");Q=Q<<8|X,M+=p(j,63&Q>>8-N%1*8)}return M}})},91472:function(d,v,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,v,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,v,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,v,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),T=e(35454),D=e(16697),M="DOMException",N="DATA_CLONE_ERR",j=l("Error"),Q=l(M)||function(){try{var yt=l("MessageChannel")||i("worker_threads").MessageChannel;new yt().port1.postMessage(new WeakMap)}catch(Dt){if(Dt.name===N&&Dt.code===25)return Dt.constructor}}(),X=Q&&Q.prototype,Y=j.prototype,oe=L.set,ie=L.getterFor(M),ue="stack"in new j(M),K=function(yt){return x(S,yt)&&S[yt].m?S[yt].c:0},V=function(){p(this,G);var Dt=arguments.length,Qt=b(Dt<1?void 0:arguments[0]),Jt=b(Dt<2?void 0:arguments[1],"Error"),qt=K(Jt);if(oe(this,{type:M,name:Jt,message:Qt,code:qt}),T||(this.name=Jt,this.message=Qt,this.code=qt),ue){var Xe=new j(Qt);Xe.name=M,h(this,"stack",s(1,R(Xe.stack,1)))}},G=V.prototype=f(Y),te=function(yt){return{enumerable:!0,configurable:!0,get:yt}},q=function(yt){return te(function(){return ie(this)[yt]})};T&&(a(G,"code",q("code")),a(G,"message",q("message")),a(G,"name",q("name"))),h(G,"constructor",s(1,V));var J=c(function(){return!(new Q instanceof j)}),le=J||c(function(){return Y.toString!==_||String(new Q(1,2))!=="2: 1"}),z=J||c(function(){return new Q(1,"DataCloneError").code!==25}),F=J||Q[N]!==25||X[N]!==25,se=D?le||z||F:J;r({global:!0,constructor:!0,forced:se},{DOMException:se?V:Q});var _e=l(M),Pe=_e.prototype;le&&(D||Q===_e)&&u(Pe,"toString",_),z&&T&&Q===_e&&a(Pe,"code",te(function(){return K(y(this).name)}));for(var Re in S)if(x(S,Re)){var He=S[Re],je=He.s,Zt=s(6,He.c);x(_e,je)||h(_e,je,Zt),x(Pe,je)||h(Pe,je,Zt)}},41599:function(d,v,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,T);var V=arguments.length,G=a(V<1?void 0:arguments[0]),te=a(V<2?void 0:arguments[1],"Error"),q=new R(G,te),J=new S(G);return J.name=b,f(q,"stack",c(1,p(J.stack,1))),u(q,this,L),q},T=L.prototype=R.prototype,D="stack"in new S(b),M="stack"in new R(1,2),N=R&&y&&Object.getOwnPropertyDescriptor(i,b),j=!!N&&!(N.writable&&N.configurable),Q=D&&!j&&!M;r({global:!0,constructor:!0,forced:_||Q},{DOMException:Q?L:R});var X=l(b),Y=X.prototype;if(Y.constructor!==X){_||f(Y,"constructor",c(1,X));for(var oe in x)if(s(x,oe)){var ie=x[oe],ue=ie.s;s(X,ue)||f(X,ue,c(6,ie.c))}}},86465:function(d,v,e){"use strict";var r=e(65911),i=e(94573),l="DOMException";i(r(l),l)},78437:function(d,v,e){"use strict";e(91472),e(91700)},73624:function(d,v,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,v,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,v,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,v,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,v,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,v,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),T=e(68151),D=e(82762),M=e(57106),N=e(81644),j=e(2786),Q=e(19691),X=e(57002),Y=e(39311),oe=e(25406),ie=e(80426),ue=l.Object,K=l.Array,V=l.Date,G=l.Error,te=l.TypeError,q=l.PerformanceMark,J=c("DOMException"),le=j.Map,z=j.has,F=j.get,se=j.set,_e=Q.Set,Pe=Q.add,Re=Q.has,He=c("Object","keys"),je=f([].push),Zt=f((!0).valueOf),yt=f(1 .valueOf),Dt=f("".valueOf),Qt=f(V.prototype.getTime),Jt=h("structuredClone"),qt="DataCloneError",Xe="Transferring",Tt=function(Ie){return!s(function(){var qe=new l.Set([7]),Gt=Ie(qe),Ot=Ie(ue(7));return Gt===qe||!Gt.has(7)||!p(Ot)||+Ot!=7})&&Ie},jt=function(Ie,qe){return!s(function(){var Gt=new qe,Ot=Ie({a:Gt,b:Gt});return!(Ot&&Ot.a===Ot.b&&Ot.a instanceof qe&&Ot.a.stack===Gt.stack)})},st=function(Ie){return!s(function(){var qe=Ie(new l.AggregateError([1],Jt,{cause:3}));return qe.name!=="AggregateError"||qe.errors[0]!==1||qe.message!==Jt||qe.cause!==3})},gt=l.structuredClone,dt=r||!jt(gt,G)||!jt(gt,J)||!st(gt),Je=!gt&&Tt(function(Ie){return new q(Jt,{detail:Ie}).detail}),Ue=Tt(gt)||Je,ge=function(Ie){throw new J("Uncloneable type: "+Ie,qt)},Se=function(Ie,qe){throw new J((qe||"Cloning")+" of "+Ie+" cannot be properly polyfilled in this engine",qt)},Me=function(Ie,qe){return Ue||Se(qe),Ue(Ie)},$e=function(){var Ie;try{Ie=new l.DataTransfer}catch(qe){try{Ie=new l.ClipboardEvent("").clipboardData}catch(Gt){}}return Ie&&Ie.items&&Ie.files?Ie:null},We=function(Ie,qe,Gt){if(z(qe,Ie))return F(qe,Ie);var Ot=Gt||S(Ie),zt,$t,tr,Wt,Fe,fe;if(Ot==="SharedArrayBuffer")Ue?zt=Ue(Ie):zt=Ie;else{var pe=l.DataView;!pe&&!u(Ie.slice)&&Se("ArrayBuffer");try{if(u(Ie.slice)&&!Ie.resizable)zt=Ie.slice(0);else for($t=Ie.byteLength,tr=("maxByteLength"in Ie)?{maxByteLength:Ie.maxByteLength}:void 0,zt=new ArrayBuffer($t,tr),Wt=new pe(Ie),Fe=new pe(zt),fe=0;fe<$t;fe++)Fe.setUint8(fe,Wt.getUint8(fe))}catch(Pt){throw new J("ArrayBuffer is detached",qt)}}return se(qe,Ie,zt),zt},nt=function(Ie,qe,Gt,Ot,zt){var $t=l[qe];return p($t)||Se(qe),new $t(We(Ie.buffer,zt),Gt,Ot)},lt=function(Ie,qe){if(y(Ie)&&ge("Symbol"),!p(Ie))return Ie;if(qe){if(z(qe,Ie))return F(qe,Ie)}else qe=new le;var Gt=S(Ie),Ot,zt,$t,tr,Wt,Fe,fe,pe;switch(Gt){case"Array":$t=K(D(Ie));break;case"Object":$t={};break;case"Map":$t=new le;break;case"Set":$t=new _e;break;case"RegExp":$t=new RegExp(Ie.source,N(Ie));break;case"Error":switch(zt=Ie.name,zt){case"AggregateError":$t=new(c(zt))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":$t=new(c(zt));break;case"CompileError":case"LinkError":case"RuntimeError":$t=new(c("WebAssembly",zt));break;default:$t=new G}break;case"DOMException":$t=new J(Ie.message,Ie.name);break;case"ArrayBuffer":case"SharedArrayBuffer":$t=We(Ie,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":Fe=Gt==="DataView"?Ie.byteLength:Ie.length,$t=nt(Ie,Gt,Ie.byteOffset,Fe,qe);break;case"DOMQuad":try{$t=new DOMQuad(lt(Ie.p1,qe),lt(Ie.p2,qe),lt(Ie.p3,qe),lt(Ie.p4,qe))}catch(Pt){$t=Me(Ie,Gt)}break;case"File":if(Ue)try{$t=Ue(Ie),S($t)!==Gt&&($t=void 0)}catch(Pt){}if(!$t)try{$t=new File([Ie],Ie.name,Ie)}catch(Pt){}$t||Se(Gt);break;case"FileList":if(tr=$e(),tr){for(Wt=0,Fe=D(Ie);Wt<Fe;Wt++)tr.items.add(lt(Ie[Wt],qe));$t=tr.files}else $t=Me(Ie,Gt);break;case"ImageData":try{$t=new ImageData(lt(Ie.data,qe),Ie.width,Ie.height,{colorSpace:Ie.colorSpace})}catch(Pt){$t=Me(Ie,Gt)}break;default:if(Ue)$t=Ue(Ie);else switch(Gt){case"BigInt":$t=ue(Ie.valueOf());break;case"Boolean":$t=ue(Zt(Ie));break;case"Number":$t=ue(yt(Ie));break;case"String":$t=ue(Dt(Ie));break;case"Date":$t=new V(Qt(Ie));break;case"Blob":try{$t=Ie.slice(0,Ie.size,Ie.type)}catch(Pt){Se(Gt)}break;case"DOMPoint":case"DOMPointReadOnly":Ot=l[Gt];try{$t=Ot.fromPoint?Ot.fromPoint(Ie):new Ot(Ie.x,Ie.y,Ie.z,Ie.w)}catch(Pt){Se(Gt)}break;case"DOMRect":case"DOMRectReadOnly":Ot=l[Gt];try{$t=Ot.fromRect?Ot.fromRect(Ie):new Ot(Ie.x,Ie.y,Ie.width,Ie.height)}catch(Pt){Se(Gt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":Ot=l[Gt];try{$t=Ot.fromMatrix?Ot.fromMatrix(Ie):new Ot(Ie)}catch(Pt){Se(Gt)}break;case"AudioData":case"VideoFrame":u(Ie.clone)||Se(Gt);try{$t=Ie.clone()}catch(Pt){ge(Gt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":Se(Gt);default:ge(Gt)}}switch(se(qe,Ie,$t),Gt){case"Array":case"Object":for(fe=He(Ie),Wt=0,Fe=D(fe);Wt<Fe;Wt++)pe=fe[Wt],L($t,pe,lt(Ie[pe],qe));break;case"Map":Ie.forEach(function(Pt,Ce){se($t,lt(Ce,qe),lt(Pt,qe))});break;case"Set":Ie.forEach(function(Pt){Pe($t,lt(Pt,qe))});break;case"Error":T($t,"message",lt(Ie.message,qe)),R(Ie,"cause")&&T($t,"cause",lt(Ie.cause,qe)),zt==="AggregateError"?$t.errors=lt(Ie.errors,qe):zt==="SuppressedError"&&($t.error=lt(Ie.error,qe),$t.suppressed=lt(Ie.suppressed,qe));case"DOMException":oe&&T($t,"stack",lt(Ie.stack,qe))}return $t},Vt=function(Ie,qe){if(!p(Ie))throw new te("Transfer option cannot be converted to a sequence");var Gt=[];_(Ie,function(Ce){je(Gt,b(Ce))});for(var Ot=0,zt=D(Gt),$t=new _e,tr,Wt,Fe,fe,pe,Pt;Ot<zt;){if(tr=Gt[Ot++],Wt=S(tr),Wt==="ArrayBuffer"?Re($t,tr):z(qe,tr))throw new J("Duplicate transferable",qt);if(Wt==="ArrayBuffer"){Pe($t,tr);continue}if(ie)fe=gt(tr,{transfer:[tr]});else switch(Wt){case"ImageBitmap":Fe=l.OffscreenCanvas,a(Fe)||Se(Wt,Xe);try{pe=new Fe(tr.width,tr.height),Pt=pe.getContext("bitmaprenderer"),Pt.transferFromImageBitmap(tr),fe=pe.transferToImageBitmap()}catch(Ce){}break;case"AudioData":case"VideoFrame":(!u(tr.clone)||!u(tr.close))&&Se(Wt,Xe);try{fe=tr.clone(),tr.close()}catch(Ce){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":Se(Wt,Xe)}if(fe===void 0)throw new J("This object cannot be transferred: "+Wt,qt);se(qe,tr,fe)}return $t},Ht=function(Ie){X(Ie,function(qe){ie?Ue(qe,{transfer:[qe]}):u(qe.transfer)?qe.transfer():Y?Y(qe):Se("ArrayBuffer",Xe)})};i({global:!0,enumerable:!0,sham:!ie,forced:dt},{structuredClone:function(qe){var Gt=M(arguments.length,1)>1&&!x(arguments[1])?b(arguments[1]):void 0,Ot=Gt?Gt.transfer:void 0,zt,$t;Ot!==void 0&&(zt=new le,$t=Vt(Ot,zt));var tr=lt(qe,zt);return $t&&Ht($t),tr}})},41208:function(d,v,e){"use strict";e(88469),e(91572)},91340:function(d,v,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),T=e(80449),D=e(31946),M=e(69905),N=e(20132),j=e(35012),Q=e(85428),X=e(26006),Y=e(25587),oe=e(57106),ie=e(59893),ue=e(63668),K=ie("iterator"),V="URLSearchParams",G=V+"Iterator",te=y.set,q=y.getterFor(V),J=y.getterFor(G),le=Object.getOwnPropertyDescriptor,z=function(zt){if(!f)return i[zt];var $t=le(i,zt);return $t&&$t.value},F=z("fetch"),se=z("Request"),_e=z("Headers"),Pe=se&&se.prototype,Re=_e&&_e.prototype,He=i.RegExp,je=i.TypeError,Zt=i.decodeURIComponent,yt=i.encodeURIComponent,Dt=c("".charAt),Qt=c([].join),Jt=c([].push),qt=c("".replace),Xe=c([].shift),Tt=c([].splice),jt=c("".split),st=c("".slice),gt=/\+/g,dt=Array(4),Je=function(zt){return dt[zt-1]||(dt[zt-1]=He("((?:%[\\da-f]{2}){"+zt+"})","gi"))},Ue=function(zt){try{return Zt(zt)}catch($t){return zt}},ge=function(zt){var $t=qt(zt,gt," "),tr=4;try{return Zt($t)}catch(Wt){for(;tr;)$t=qt($t,Je(tr--),Ue);return $t}},Se=/[!'()~]|%20/g,Me={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},$e=function(zt){return Me[zt]},We=function(zt){return qt(yt(zt),Se,$e)},nt=p(function($t,tr){te(this,{type:G,target:q($t).entries,index:0,kind:tr})},V,function(){var $t=J(this),tr=$t.target,Wt=$t.index++;if(!tr||Wt>=tr.length)return $t.target=void 0,Y(void 0,!0);var Fe=tr[Wt];switch($t.kind){case"keys":return Y(Fe.key,!1);case"values":return Y(Fe.value,!1)}return Y([Fe.key,Fe.value],!1)},!0),lt=function(zt){this.entries=[],this.url=null,zt!==void 0&&(D(zt)?this.parseObject(zt):this.parseQuery(typeof zt=="string"?Dt(zt,0)==="?"?st(zt,1):zt:M(zt)))};lt.prototype={type:V,bindURL:function(zt){this.url=zt,this.update()},parseObject:function(zt){var $t=this.entries,tr=X(zt),Wt,Fe,fe,pe,Pt,Ce,ft;if(tr)for(Wt=Q(zt,tr),Fe=Wt.next;!(fe=l(Fe,Wt)).done;){if(pe=Q(T(fe.value)),Pt=pe.next,(Ce=l(Pt,pe)).done||(ft=l(Pt,pe)).done||!l(Pt,pe).done)throw new je("Expected sequence with length 2");Jt($t,{key:M(Ce.value),value:M(ft.value)})}else for(var Ut in zt)S(zt,Ut)&&Jt($t,{key:Ut,value:M(zt[Ut])})},parseQuery:function(zt){if(zt)for(var $t=this.entries,tr=jt(zt,"&"),Wt=0,Fe,fe;Wt<tr.length;)Fe=tr[Wt++],Fe.length&&(fe=jt(Fe,"="),Jt($t,{key:ge(Xe(fe)),value:ge(Qt(fe,"="))}))},serialize:function(){for(var zt=this.entries,$t=[],tr=0,Wt;tr<zt.length;)Wt=zt[tr++],Jt($t,We(Wt.key)+"="+We(Wt.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,Ht);var $t=arguments.length>0?arguments[0]:void 0,tr=te(this,new lt($t));f||(this.size=tr.entries.length)},Ht=Vt.prototype;if(a(Ht,{append:function($t,tr){var Wt=q(this);oe(arguments.length,2),Jt(Wt.entries,{key:M($t),value:M(tr)}),f||this.length++,Wt.updateURL()},delete:function(zt){for(var $t=q(this),tr=oe(arguments.length,1),Wt=$t.entries,Fe=M(zt),fe=tr<2?void 0:arguments[1],pe=fe===void 0?fe:M(fe),Pt=0;Pt<Wt.length;){var Ce=Wt[Pt];if(Ce.key===Fe&&(pe===void 0||Ce.value===pe)){if(Tt(Wt,Pt,1),pe!==void 0)break}else Pt++}f||(this.size=Wt.length),$t.updateURL()},get:function($t){var tr=q(this).entries;oe(arguments.length,1);for(var Wt=M($t),Fe=0;Fe<tr.length;Fe++)if(tr[Fe].key===Wt)return tr[Fe].value;return null},getAll:function($t){var tr=q(this).entries;oe(arguments.length,1);for(var Wt=M($t),Fe=[],fe=0;fe<tr.length;fe++)tr[fe].key===Wt&&Jt(Fe,tr[fe].value);return Fe},has:function($t){for(var tr=q(this).entries,Wt=oe(arguments.length,1),Fe=M($t),fe=Wt<2?void 0:arguments[1],pe=fe===void 0?fe:M(fe),Pt=0;Pt<tr.length;){var Ce=tr[Pt++];if(Ce.key===Fe&&(pe===void 0||Ce.value===pe))return!0}return!1},set:function($t,tr){var Wt=q(this);oe(arguments.length,1);for(var Fe=Wt.entries,fe=!1,pe=M($t),Pt=M(tr),Ce=0,ft;Ce<Fe.length;Ce++)ft=Fe[Ce],ft.key===pe&&(fe?Tt(Fe,Ce--,1):(fe=!0,ft.value=Pt));fe||Jt(Fe,{key:pe,value:Pt}),f||(this.size=Fe.length),Wt.updateURL()},sort:function(){var $t=q(this);ue($t.entries,function(tr,Wt){return tr.key>Wt.key?1:-1}),$t.updateURL()},forEach:function($t){for(var tr=q(this).entries,Wt=R($t,arguments.length>1?arguments[1]:void 0),Fe=0,fe;Fe<tr.length;)fe=tr[Fe++],Wt(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(Ht,K,Ht.entries,{name:"entries"}),h(Ht,"toString",function(){return q(this).serialize()},{enumerable:!0}),f&&u(Ht,"size",{get:function(){return q(this).entries.length},configurable:!0,enumerable:!0}),x(Vt,V),r({global:!0,constructor:!0,forced:!s},{URLSearchParams:Vt}),!s&&b(_e)){var Ie=c(Re.has),qe=c(Re.set),Gt=function(zt){if(D(zt)){var $t=zt.body,tr;if(L($t)===V)return tr=zt.headers?new _e(zt.headers):new _e,Ie(tr,"content-type")||qe(tr,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),N(zt,{body:j(0,M($t)),headers:j(0,tr)})}return zt};if(b(F)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function($t){return F($t,arguments.length>1?Gt(arguments[1]):{})}}),b(se)){var Ot=function($t){return _(this,Pe),new se($t,arguments.length>1?Gt(arguments[1]):{})};Pe.constructor=Ot,Ot.prototype=Pe,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ot})}}d.exports={URLSearchParams:Vt,getState:q}},4890:function(d,v,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(Q,X){x(S,{key:X,value:Q})}),c(_,1);for(var R=l(y),L=l(b),T=0,D=0,M=!1,N=S.length,j;T<N;)j=S[T++],M||j.key===R?(M=!0,u(this,j.key)):D++;for(;D<N;)j=S[D++],j.key===R&&j.value===L||h(this,j.key,j.value)},{enumerable:!0,unsafe:!0})},5340:function(d,v,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,v,e){"use strict";e(91340)},61650:function(d,v,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,v,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,v,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),T=e(57106),D=e(91340),M=e(94844),N=M.set,j=M.getterFor("URL"),Q=D.URLSearchParams,X=D.getState,Y=c.URL,oe=c.TypeError,ie=c.parseInt,ue=Math.floor,K=Math.pow,V=s("".charAt),G=s(/./.exec),te=s([].join),q=s(1 .toString),J=s([].pop),le=s([].push),z=s("".replace),F=s([].shift),se=s("".split),_e=s("".slice),Pe=s("".toLowerCase),Re=s([].unshift),He="Invalid authority",je="Invalid scheme",Zt="Invalid host",yt="Invalid port",Dt=/[a-z]/i,Qt=/[\d+-.a-z]/i,Jt=/\d/,qt=/^0x/i,Xe=/^[0-7]+$/,Tt=/^\d+$/,jt=/^[\da-f]+$/i,st=/[\0\t\n\r #%/:<>?@[\\\]^|]/,gt=/[\0\t\n\r #/:<>?@[\\\]^|]/,dt=/^[\u0000-\u0020]+/,Je=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ue=/[\t\n\r]/g,ge,Se=function(or){var Rt=se(or,"."),_t,vt,Bt,Cr,gr,rn,Kr;if(Rt.length&&Rt[Rt.length-1]===""&&Rt.length--,_t=Rt.length,_t>4)return or;for(vt=[],Bt=0;Bt<_t;Bt++){if(Cr=Rt[Bt],Cr==="")return or;if(gr=10,Cr.length>1&&V(Cr,0)==="0"&&(gr=G(qt,Cr)?16:8,Cr=_e(Cr,gr===8?1:2)),Cr==="")rn=0;else{if(!G(gr===10?Tt:gr===8?Xe:jt,Cr))return or;rn=ie(Cr,gr)}le(vt,rn)}for(Bt=0;Bt<_t;Bt++)if(rn=vt[Bt],Bt===_t-1){if(rn>=K(256,5-_t))return null}else if(rn>255)return null;for(Kr=J(vt),Bt=0;Bt<vt.length;Bt++)Kr+=vt[Bt]*K(256,3-Bt);return Kr},Me=function(or){var Rt=[0,0,0,0,0,0,0,0],_t=0,vt=null,Bt=0,Cr,gr,rn,Kr,Pn,Ct,cr,Xr=function(){return V(or,Bt)};if(Xr()===":"){if(V(or,1)!==":")return;Bt+=2,_t++,vt=_t}for(;Xr();){if(_t===8)return;if(Xr()===":"){if(vt!==null)return;Bt++,_t++,vt=_t;continue}for(Cr=gr=0;gr<4&&G(jt,Xr());)Cr=Cr*16+ie(Xr(),16),Bt++,gr++;if(Xr()==="."){if(gr===0||(Bt-=gr,_t>6))return;for(rn=0;Xr();){if(Kr=null,rn>0)if(Xr()==="."&&rn<4)Bt++;else return;if(!G(Jt,Xr()))return;for(;G(Jt,Xr());){if(Pn=ie(Xr(),10),Kr===null)Kr=Pn;else{if(Kr===0)return;Kr=Kr*10+Pn}if(Kr>255)return;Bt++}Rt[_t]=Rt[_t]*256+Kr,rn++,(rn===2||rn===4)&&_t++}if(rn!==4)return;break}else if(Xr()===":"){if(Bt++,!Xr())return}else if(Xr())return;Rt[_t++]=Cr}if(vt!==null)for(Ct=_t-vt,_t=7;_t!==0&&Ct>0;)cr=Rt[_t],Rt[_t--]=Rt[vt+Ct-1],Rt[vt+--Ct]=cr;else if(_t!==8)return;return Rt},$e=function(or){for(var Rt=null,_t=1,vt=null,Bt=0,Cr=0;Cr<8;Cr++)or[Cr]!==0?(Bt>_t&&(Rt=vt,_t=Bt),vt=null,Bt=0):(vt===null&&(vt=Cr),++Bt);return Bt>_t&&(Rt=vt,_t=Bt),Rt},We=function(or){var Rt,_t,vt,Bt;if(typeof or=="number"){for(Rt=[],_t=0;_t<4;_t++)Re(Rt,or%256),or=ue(or/256);return te(Rt,".")}else if(typeof or=="object"){for(Rt="",vt=$e(or),_t=0;_t<8;_t++)Bt&&or[_t]===0||(Bt&&(Bt=!1),vt===_t?(Rt+=_t?":":"::",Bt=!0):(Rt+=q(or[_t],16),_t<7&&(Rt+=":")));return"["+Rt+"]"}return or},nt={},lt=p({},nt,{" ":1,'"':1,"<":1,">":1,"`":1}),Vt=p({},lt,{"#":1,"?":1,"{":1,"}":1}),Ht=p({},Vt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ie=function(or,Rt){var _t=b(or,0);return _t>32&&_t<127&&!x(Rt,or)?or:encodeURIComponent(or)},qe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Gt=function(or,Rt){var _t;return or.length===2&&G(Dt,V(or,0))&&((_t=V(or,1))===":"||!Rt&&_t==="|")},Ot=function(or){var Rt;return or.length>1&&Gt(_e(or,0,2))&&(or.length===2||(Rt=V(or,2))==="/"||Rt==="\\"||Rt==="?"||Rt==="#")},zt=function(or){return or==="."||Pe(or)==="%2e"},$t=function(or){return or=Pe(or),or===".."||or==="%2e."||or===".%2e"||or==="%2e%2e"},tr={},Wt={},Fe={},fe={},pe={},Pt={},Ce={},ft={},Ut={},At={},Oe={},wt={},be={},Ke={},mt={},kt={},Be={},kr={},St={},Vr={},Jr={},Ar=function(or,Rt,_t){var vt=R(or),Bt,Cr,gr;if(Rt){if(Cr=this.parse(vt),Cr)throw new oe(Cr);this.searchParams=null}else{if(_t!==void 0&&(Bt=new Ar(_t,!0)),Cr=this.parse(vt,null,Bt),Cr)throw new oe(Cr);gr=X(new Q),gr.bindURL(this),this.searchParams=gr}};Ar.prototype={type:"URL",parse:function(or,Rt,_t){var vt=this,Bt=Rt||tr,Cr=0,gr="",rn=!1,Kr=!1,Pn=!1,Ct,cr,Xr,pn;for(or=R(or),Rt||(vt.scheme="",vt.username="",vt.password="",vt.host=null,vt.port=null,vt.path=[],vt.query=null,vt.fragment=null,vt.cannotBeABaseURL=!1,or=z(or,dt,""),or=z(or,Je,"$1")),or=z(or,Ue,""),Ct=y(or);Cr<=Ct.length;){switch(cr=Ct[Cr],Bt){case tr:if(cr&&G(Dt,cr))gr+=Pe(cr),Bt=Wt;else{if(Rt)return je;Bt=Fe;continue}break;case Wt:if(cr&&(G(Qt,cr)||cr==="+"||cr==="-"||cr==="."))gr+=Pe(cr);else if(cr===":"){if(Rt&&(vt.isSpecial()!==x(qe,gr)||gr==="file"&&(vt.includesCredentials()||vt.port!==null)||vt.scheme==="file"&&!vt.host))return;if(vt.scheme=gr,Rt){vt.isSpecial()&&qe[vt.scheme]===vt.port&&(vt.port=null);return}gr="",vt.scheme==="file"?Bt=Ke:vt.isSpecial()&&_t&&_t.scheme===vt.scheme?Bt=fe:vt.isSpecial()?Bt=ft:Ct[Cr+1]==="/"?(Bt=pe,Cr++):(vt.cannotBeABaseURL=!0,le(vt.path,""),Bt=St)}else{if(Rt)return je;gr="",Bt=Fe,Cr=0;continue}break;case Fe:if(!_t||_t.cannotBeABaseURL&&cr!=="#")return je;if(_t.cannotBeABaseURL&&cr==="#"){vt.scheme=_t.scheme,vt.path=_(_t.path),vt.query=_t.query,vt.fragment="",vt.cannotBeABaseURL=!0,Bt=Jr;break}Bt=_t.scheme==="file"?Ke:Pt;continue;case fe:if(cr==="/"&&Ct[Cr+1]==="/")Bt=Ut,Cr++;else{Bt=Pt;continue}break;case pe:if(cr==="/"){Bt=At;break}else{Bt=kr;continue}case Pt:if(vt.scheme=_t.scheme,cr===ge)vt.username=_t.username,vt.password=_t.password,vt.host=_t.host,vt.port=_t.port,vt.path=_(_t.path),vt.query=_t.query;else if(cr==="/"||cr==="\\"&&vt.isSpecial())Bt=Ce;else if(cr==="?")vt.username=_t.username,vt.password=_t.password,vt.host=_t.host,vt.port=_t.port,vt.path=_(_t.path),vt.query="",Bt=Vr;else if(cr==="#")vt.username=_t.username,vt.password=_t.password,vt.host=_t.host,vt.port=_t.port,vt.path=_(_t.path),vt.query=_t.query,vt.fragment="",Bt=Jr;else{vt.username=_t.username,vt.password=_t.password,vt.host=_t.host,vt.port=_t.port,vt.path=_(_t.path),vt.path.length--,Bt=kr;continue}break;case Ce:if(vt.isSpecial()&&(cr==="/"||cr==="\\"))Bt=Ut;else if(cr==="/")Bt=At;else{vt.username=_t.username,vt.password=_t.password,vt.host=_t.host,vt.port=_t.port,Bt=kr;continue}break;case ft:if(Bt=Ut,cr!=="/"||V(gr,Cr+1)!=="/")continue;Cr++;break;case Ut:if(cr!=="/"&&cr!=="\\"){Bt=At;continue}break;case At:if(cr==="@"){rn&&(gr="%40"+gr),rn=!0,Xr=y(gr);for(var $n=0;$n<Xr.length;$n++){var si=Xr[$n];if(si===":"&&!Pn){Pn=!0;continue}var zn=Ie(si,Ht);Pn?vt.password+=zn:vt.username+=zn}gr=""}else if(cr===ge||cr==="/"||cr==="?"||cr==="#"||cr==="\\"&&vt.isSpecial()){if(rn&&gr==="")return He;Cr-=y(gr).length+1,gr="",Bt=Oe}else gr+=cr;break;case Oe:case wt:if(Rt&&vt.scheme==="file"){Bt=kt;continue}else if(cr===":"&&!Kr){if(gr==="")return Zt;if(pn=vt.parseHost(gr),pn)return pn;if(gr="",Bt=be,Rt===wt)return}else if(cr===ge||cr==="/"||cr==="?"||cr==="#"||cr==="\\"&&vt.isSpecial()){if(vt.isSpecial()&&gr==="")return Zt;if(Rt&&gr===""&&(vt.includesCredentials()||vt.port!==null))return;if(pn=vt.parseHost(gr),pn)return pn;if(gr="",Bt=Be,Rt)return;continue}else cr==="["?Kr=!0:cr==="]"&&(Kr=!1),gr+=cr;break;case be:if(G(Jt,cr))gr+=cr;else if(cr===ge||cr==="/"||cr==="?"||cr==="#"||cr==="\\"&&vt.isSpecial()||Rt){if(gr!==""){var Li=ie(gr,10);if(Li>65535)return yt;vt.port=vt.isSpecial()&&Li===qe[vt.scheme]?null:Li,gr=""}if(Rt)return;Bt=Be;continue}else return yt;break;case Ke:if(vt.scheme="file",cr==="/"||cr==="\\")Bt=mt;else if(_t&&_t.scheme==="file")switch(cr){case ge:vt.host=_t.host,vt.path=_(_t.path),vt.query=_t.query;break;case"?":vt.host=_t.host,vt.path=_(_t.path),vt.query="",Bt=Vr;break;case"#":vt.host=_t.host,vt.path=_(_t.path),vt.query=_t.query,vt.fragment="",Bt=Jr;break;default:Ot(te(_(Ct,Cr),""))||(vt.host=_t.host,vt.path=_(_t.path),vt.shortenPath()),Bt=kr;continue}else{Bt=kr;continue}break;case mt:if(cr==="/"||cr==="\\"){Bt=kt;break}_t&&_t.scheme==="file"&&!Ot(te(_(Ct,Cr),""))&&(Gt(_t.path[0],!0)?le(vt.path,_t.path[0]):vt.host=_t.host),Bt=kr;continue;case kt:if(cr===ge||cr==="/"||cr==="\\"||cr==="?"||cr==="#"){if(!Rt&&Gt(gr))Bt=kr;else if(gr===""){if(vt.host="",Rt)return;Bt=Be}else{if(pn=vt.parseHost(gr),pn)return pn;if(vt.host==="localhost"&&(vt.host=""),Rt)return;gr="",Bt=Be}continue}else gr+=cr;break;case Be:if(vt.isSpecial()){if(Bt=kr,cr!=="/"&&cr!=="\\")continue}else if(!Rt&&cr==="?")vt.query="",Bt=Vr;else if(!Rt&&cr==="#")vt.fragment="",Bt=Jr;else if(cr!==ge&&(Bt=kr,cr!=="/"))continue;break;case kr:if(cr===ge||cr==="/"||cr==="\\"&&vt.isSpecial()||!Rt&&(cr==="?"||cr==="#")){if($t(gr)?(vt.shortenPath(),cr!=="/"&&!(cr==="\\"&&vt.isSpecial())&&le(vt.path,"")):zt(gr)?cr!=="/"&&!(cr==="\\"&&vt.isSpecial())&&le(vt.path,""):(vt.scheme==="file"&&!vt.path.length&&Gt(gr)&&(vt.host&&(vt.host=""),gr=V(gr,0)+":"),le(vt.path,gr)),gr="",vt.scheme==="file"&&(cr===ge||cr==="?"||cr==="#"))for(;vt.path.length>1&&vt.path[0]==="";)F(vt.path);cr==="?"?(vt.query="",Bt=Vr):cr==="#"&&(vt.fragment="",Bt=Jr)}else gr+=Ie(cr,Vt);break;case St:cr==="?"?(vt.query="",Bt=Vr):cr==="#"?(vt.fragment="",Bt=Jr):cr!==ge&&(vt.path[0]+=Ie(cr,nt));break;case Vr:!Rt&&cr==="#"?(vt.fragment="",Bt=Jr):cr!==ge&&(cr==="'"&&vt.isSpecial()?vt.query+="%27":cr==="#"?vt.query+="%23":vt.query+=Ie(cr,nt));break;case Jr:cr!==ge&&(vt.fragment+=Ie(cr,lt));break}Cr++}},parseHost:function(or){var Rt,_t,vt;if(V(or,0)==="["){if(V(or,or.length-1)!=="]"||(Rt=Me(_e(or,1,-1)),!Rt))return Zt;this.host=Rt}else if(this.isSpecial()){if(or=S(or),G(st,or)||(Rt=Se(or),Rt===null))return Zt;this.host=Rt}else{if(G(gt,or))return Zt;for(Rt="",_t=y(or),vt=0;vt<_t.length;vt++)Rt+=Ie(_t[vt],nt);this.host=Rt}},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,Rt=or.length;Rt&&(this.scheme!=="file"||Rt!==1||!Gt(or[0],!0))&&or.length--},serialize:function(){var or=this,Rt=or.scheme,_t=or.username,vt=or.password,Bt=or.host,Cr=or.port,gr=or.path,rn=or.query,Kr=or.fragment,Pn=Rt+":";return Bt!==null?(Pn+="//",or.includesCredentials()&&(Pn+=_t+(vt?":"+vt:"")+"@"),Pn+=We(Bt),Cr!==null&&(Pn+=":"+Cr)):Rt==="file"&&(Pn+="//"),Pn+=or.cannotBeABaseURL?gr[0]:gr.length?"/"+te(gr,"/"):"",rn!==null&&(Pn+="?"+rn),Kr!==null&&(Pn+="#"+Kr),Pn},setHref:function(or){var Rt=this.parse(or);if(Rt)throw new oe(Rt);this.searchParams.update()},getOrigin:function(){var or=this.scheme,Rt=this.port;if(or==="blob")try{return new Fr(or.path[0]).origin}catch(_t){return"null"}return or==="file"||!this.isSpecial()?"null":or+"://"+We(this.host)+(Rt!==null?":"+Rt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(or){this.parse(R(or)+":",tr)},getUsername:function(){return this.username},setUsername:function(or){var Rt=y(R(or));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var _t=0;_t<Rt.length;_t++)this.username+=Ie(Rt[_t],Ht)}},getPassword:function(){return this.password},setPassword:function(or){var Rt=y(R(or));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var _t=0;_t<Rt.length;_t++)this.password+=Ie(Rt[_t],Ht)}},getHost:function(){var or=this.host,Rt=this.port;return or===null?"":Rt===null?We(or):We(or)+":"+Rt},setHost:function(or){this.cannotBeABaseURL||this.parse(or,Oe)},getHostname:function(){var or=this.host;return or===null?"":We(or)},setHostname:function(or){this.cannotBeABaseURL||this.parse(or,wt)},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?"/"+te(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:(V(or,0)==="?"&&(or=_e(or,1)),this.query="",this.parse(or,Vr)),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}V(or,0)==="#"&&(or=_e(or,1)),this.fragment="",this.parse(or,Jr)},update:function(){this.query=this.searchParams.serialize()||null}};var Fr=function(Rt){var _t=a(this,mr),vt=T(arguments.length,1)>1?arguments[1]:void 0,Bt=N(_t,new Ar(Rt,!1,vt));i||(_t.href=Bt.serialize(),_t.origin=Bt.getOrigin(),_t.protocol=Bt.getProtocol(),_t.username=Bt.getUsername(),_t.password=Bt.getPassword(),_t.host=Bt.getHost(),_t.hostname=Bt.getHostname(),_t.port=Bt.getPort(),_t.pathname=Bt.getPathname(),_t.search=Bt.getSearch(),_t.searchParams=Bt.getSearchParams(),_t.hash=Bt.getHash())},mr=Fr.prototype,jr=function(or,Rt){return{get:function(){return j(this)[or]()},set:Rt&&function(_t){return j(this)[Rt](_t)},configurable:!0,enumerable:!0}};if(i&&(u(mr,"href",jr("serialize","setHref")),u(mr,"origin",jr("getOrigin")),u(mr,"protocol",jr("getProtocol","setProtocol")),u(mr,"username",jr("getUsername","setUsername")),u(mr,"password",jr("getPassword","setPassword")),u(mr,"host",jr("getHost","setHost")),u(mr,"hostname",jr("getHostname","setHostname")),u(mr,"port",jr("getPort","setPort")),u(mr,"pathname",jr("getPathname","setPathname")),u(mr,"search",jr("getSearch","setSearch")),u(mr,"searchParams",jr("getSearchParams")),u(mr,"hash",jr("getHash","setHash"))),h(mr,"toJSON",function(){return j(this).serialize()},{enumerable:!0}),h(mr,"toString",function(){return j(this).serialize()},{enumerable:!0}),Y){var on=Y.createObjectURL,fn=Y.revokeObjectURL;on&&h(Fr,"createObjectURL",f(on,Y)),fn&&h(Fr,"revokeObjectURL",f(fn,Y))}L(Fr,"URL"),r({global:!0,constructor:!0,forced:!l,sham:!i},{URL:Fr})},25204:function(d,v,e){"use strict";e(13588)},47803:function(d,v,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,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},65873:function(d,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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,v,e){"use strict";e.d(v,{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)}}},62478:function(d,v,e){"use strict";e.d(v,{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}},97238:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},41281:function(d,v,e){"use strict";e.d(v,{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}},21566:function(d,v,e){"use strict";e.d(v,{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)})}}},6487:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){if(!(i instanceof l))throw new TypeError("Cannot call a class as a function")}},56789:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(80156);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}},76773:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});var r=e(7828),i=e(65260),l=e(96233);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)}}},18082:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(80156);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}},5016:function(d,v,e){"use strict";e.d(v,{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)}},7828:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},r(i)}},7942:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(18870);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)}},65260:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){try{var i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(l){}return(r=function(){return!!i})()}},1743:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(typeof Symbol!="undefined"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}},37795:function(d,v,e){"use strict";e.d(v,{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.`)}},76267:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(18082);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}},20049:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(18082);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}},5883:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(37417);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}},37417:function(d,v,e){"use strict";e.d(v,{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}},96233:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(10928),i=e(41281);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)}},85444:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(10928);function i(){"use strict";i=function(){return c};var l,c={},f=Object.prototype,s=f.hasOwnProperty,h=typeof Symbol=="function"?Symbol:{},u=h.iterator||"@@iterator",a=h.asyncIterator||"@@asyncIterator",x=h.toStringTag||"@@toStringTag";function p(K,V,G,te){return Object.defineProperty(K,V,{value:G,enumerable:!te,configurable:!te,writable:!te})}try{p({},"")}catch(K){p=function(G,te,q){return G[te]=q}}function y(K,V,G,te){var q=V&&V.prototype instanceof S?V:S,J=Object.create(q.prototype);return p(J,"_invoke",function(le,z,F){var se=1;return function(_e,Pe){if(se===3)throw Error("Generator is already running");if(se===4){if(_e==="throw")throw Pe;return{value:l,done:!0}}for(F.method=_e,F.arg=Pe;;){var Re=F.delegate;if(Re){var He=X(Re,F);if(He){if(He===b)continue;return He}}if(F.method==="next")F.sent=F._sent=F.arg;else if(F.method==="throw"){if(se===1)throw se=4,F.arg;F.dispatchException(F.arg)}else F.method==="return"&&F.abrupt("return",F.arg);se=3;var je=_(le,z,F);if(je.type==="normal"){if(se=F.done?4:2,je.arg===b)continue;return{value:je.arg,done:F.done}}je.type==="throw"&&(se=4,F.method="throw",F.arg=je.arg)}}}(K,G,new ie(te||[])),!0),J}function _(K,V,G){try{return{type:"normal",arg:K.call(V,G)}}catch(te){return{type:"throw",arg:te}}}c.wrap=y;var b={};function S(){}function R(){}function L(){}var T={};p(T,u,function(){return this});var D=Object.getPrototypeOf,M=D&&D(D(ue([])));M&&M!==f&&s.call(M,u)&&(T=M);var N=L.prototype=S.prototype=Object.create(T);function j(K){["next","throw","return"].forEach(function(V){p(K,V,function(G){return this._invoke(V,G)})})}function Q(K,V){function G(q,J,le,z){var F=_(K[q],K,J);if(F.type!=="throw"){var se=F.arg,_e=se.value;return _e&&(0,r.Z)(_e)=="object"&&s.call(_e,"__await")?V.resolve(_e.__await).then(function(Pe){G("next",Pe,le,z)},function(Pe){G("throw",Pe,le,z)}):V.resolve(_e).then(function(Pe){se.value=Pe,le(se)},function(Pe){return G("throw",Pe,le,z)})}z(F.arg)}var te;p(this,"_invoke",function(q,J){function le(){return new V(function(z,F){G(q,J,z,F)})}return te=te?te.then(le,le):le()},!0)}function X(K,V){var G=V.method,te=K.i[G];if(te===l)return V.delegate=null,G==="throw"&&K.i.return&&(V.method="return",V.arg=l,X(K,V),V.method==="throw")||G!=="return"&&(V.method="throw",V.arg=new TypeError("The iterator does not provide a '"+G+"' method")),b;var q=_(te,K.i,V.arg);if(q.type==="throw")return V.method="throw",V.arg=q.arg,V.delegate=null,b;var J=q.arg;return J?J.done?(V[K.r]=J.value,V.next=K.n,V.method!=="return"&&(V.method="next",V.arg=l),V.delegate=null,b):J:(V.method="throw",V.arg=new TypeError("iterator result is not an object"),V.delegate=null,b)}function Y(K){this.tryEntries.push(K)}function oe(K){var V=K[4]||{};V.type="normal",V.arg=l,K[4]=V}function ie(K){this.tryEntries=[[-1]],K.forEach(Y,this),this.reset(!0)}function ue(K){if(K!=null){var V=K[u];if(V)return V.call(K);if(typeof K.next=="function")return K;if(!isNaN(K.length)){var G=-1,te=function q(){for(;++G<K.length;)if(s.call(K,G))return q.value=K[G],q.done=!1,q;return q.value=l,q.done=!0,q};return te.next=te}}throw new TypeError((0,r.Z)(K)+" is not iterable")}return R.prototype=L,p(N,"constructor",L),p(L,"constructor",R),R.displayName=p(L,x,"GeneratorFunction"),c.isGeneratorFunction=function(K){var V=typeof K=="function"&&K.constructor;return!!V&&(V===R||(V.displayName||V.name)==="GeneratorFunction")},c.mark=function(K){return Object.setPrototypeOf?Object.setPrototypeOf(K,L):(K.__proto__=L,p(K,x,"GeneratorFunction")),K.prototype=Object.create(N),K},c.awrap=function(K){return{__await:K}},j(Q.prototype),p(Q.prototype,a,function(){return this}),c.AsyncIterator=Q,c.async=function(K,V,G,te,q){q===void 0&&(q=Promise);var J=new Q(y(K,V,G,te),q);return c.isGeneratorFunction(V)?J:J.next().then(function(le){return le.done?le.value:J.next()})},j(N),p(N,x,"Generator"),p(N,u,function(){return this}),p(N,"toString",function(){return"[object Generator]"}),c.keys=function(K){var V=Object(K),G=[];for(var te in V)G.unshift(te);return function q(){for(;G.length;)if((te=G.pop())in V)return q.value=te,q.done=!1,q;return q.done=!0,q}},c.values=ue,ie.prototype={constructor:ie,reset:function(V){if(this.prev=this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(oe),!V)for(var G in this)G.charAt(0)==="t"&&s.call(this,G)&&!isNaN(+G.slice(1))&&(this[G]=l)},stop:function(){this.done=!0;var V=this.tryEntries[0][4];if(V.type==="throw")throw V.arg;return this.rval},dispatchException:function(V){if(this.done)throw V;var G=this;function te(_e){le.type="throw",le.arg=V,G.next=_e}for(var q=G.tryEntries.length-1;q>=0;--q){var J=this.tryEntries[q],le=J[4],z=this.prev,F=J[1],se=J[2];if(J[0]===-1)return te("end"),!1;if(!F&&!se)throw Error("try statement without catch or finally");if(J[0]!=null&&J[0]<=z){if(z<F)return this.method="next",this.arg=l,te(F),!0;if(z<se)return te(se),!1}}},abrupt:function(V,G){for(var te=this.tryEntries.length-1;te>=0;--te){var q=this.tryEntries[te];if(q[0]>-1&&q[0]<=this.prev&&this.prev<q[2]){var J=q;break}}J&&(V==="break"||V==="continue")&&J[0]<=G&&G<=J[2]&&(J=null);var le=J?J[4]:{};return le.type=V,le.arg=G,J?(this.method="next",this.next=J[2],b):this.complete(le)},complete:function(V,G){if(V.type==="throw")throw V.arg;return V.type==="break"||V.type==="continue"?this.next=V.arg:V.type==="return"?(this.rval=this.arg=V.arg,this.method="return",this.next="end"):V.type==="normal"&&G&&(this.next=G),b},finish:function(V){for(var G=this.tryEntries.length-1;G>=0;--G){var te=this.tryEntries[G];if(te[2]===V)return this.complete(te[4],te[3]),oe(te),b}},catch:function(V){for(var G=this.tryEntries.length-1;G>=0;--G){var te=this.tryEntries[G];if(te[0]===V){var q=te[4];if(q.type==="throw"){var J=q.arg;oe(te)}return J}}throw Error("illegal catch attempt")},delegateYield:function(V,G,te){return this.delegate={i:ue(V),r:G,n:te},this.method==="next"&&(this.arg=l),b}},c}},18870:function(d,v,e){"use strict";e.d(v,{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)}},52456:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(97238);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(70901),c=e(37795);function f(s,h){return(0,r.Z)(s)||i(s,h)||(0,l.Z)(s,h)||(0,c.Z)()}},74604:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(97238),i=e(1743),l=e(70901),c=e(37795);function f(s){return(0,r.Z)(s)||(0,i.Z)(s)||(0,l.Z)(s)||(0,c.Z)()}},92393:function(d,v,e){"use strict";e.d(v,{Z:function(){return s}});var r=e(62478);function i(h){if(Array.isArray(h))return(0,r.Z)(h)}var l=e(1743),c=e(70901);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()}},80156:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(10928);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+""}},10928:function(d,v,e){"use strict";e.d(v,{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)}},70901:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(62478);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,v,e){"use strict";e.d(v,{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=T,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 T=function(){},D={trace:T,debug:T,log:T,warn:T,info:T,error:T};function M(){return y({},D)}function N(P,t){const n=self.console[P];return n?n.bind(self.console,`${t?"["+t+"] ":""}[${P}] >`):T}function j(P,t,n){return t[P]?t[P].bind(t):N(P,n)}const Q=M();function X(P,t,n){const o=M();if(typeof console=="object"&&P===!0||typeof P=="object"){const m=["debug","log","info","warn","error"];m.forEach(E=>{o[E]=j(E,P,n)});try{o.log(`Debug logs enabled for "${t}" in hls.js version 1.6.2`)}catch(E){return M()}m.forEach(E=>{Q[E]=j(E,P)})}else y(Q,o);return o}const Y=Q;function oe(P=!0){return typeof self=="undefined"?void 0:(P||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function ie(P){return typeof self!="undefined"&&P===self.ManagedMediaSource}function ue(P,t){const n=Object.keys(P),o=Object.keys(t),m=n.length,E=o.length;return!m||!E||m===E&&!n.some(C=>o.indexOf(C)===-1)}function K(P,t=!1){if(typeof TextDecoder!="undefined"){const $=new TextDecoder("utf-8").decode(P);if(t){const ae=$.indexOf("\0");return ae!==-1?$.substring(0,ae):$}return $.replace(/\0/g,"")}const n=P.length;let o,m,E,C="",U=0;for(;U<n;){if(o=P[U++],o===0&&t)return C;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:C+=String.fromCharCode(o);break;case 12:case 13:m=P[U++],C+=String.fromCharCode((o&31)<<6|m&63);break;case 14:m=P[U++],E=P[U++],C+=String.fromCharCode((o&15)<<12|(m&63)<<6|(E&63)<<0);break}}return C}const V={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 G(P){return P&&P.__esModule&&Object.prototype.hasOwnProperty.call(P,"default")?P.default:P}var te={exports:{}},q;function J(){return q||(q=1,function(P,t){(function(n){var o=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,m=/^(?=([^\/?#]*))\1([^]*)$/,E=/(?:\/|^)\.(?=\/)/g,C=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,U={buildAbsoluteURL:function(H,$,ae){if(ae=ae||{},H=H.trim(),$=$.trim(),!$){if(!ae.alwaysNormalize)return H;var ce=U.parseURL(H);if(!ce)throw new Error("Error trying to parse base URL.");return ce.path=U.normalizePath(ce.path),U.buildURLFromParts(ce)}var xe=U.parseURL($);if(!xe)throw new Error("Error trying to parse relative URL.");if(xe.scheme)return ae.alwaysNormalize?(xe.path=U.normalizePath(xe.path),U.buildURLFromParts(xe)):$;var Te=U.parseURL(H);if(!Te)throw new Error("Error trying to parse base URL.");if(!Te.netLoc&&Te.path&&Te.path[0]!=="/"){var De=m.exec(Te.path);Te.netLoc=De[1],Te.path=De[2]}Te.netLoc&&!Te.path&&(Te.path="/");var tt={scheme:Te.scheme,netLoc:xe.netLoc,path:null,params:xe.params,query:xe.query,fragment:xe.fragment};if(!xe.netLoc&&(tt.netLoc=Te.netLoc,xe.path[0]!=="/"))if(!xe.path)tt.path=Te.path,xe.params||(tt.params=Te.params,xe.query||(tt.query=Te.query));else{var at=Te.path,Ft=at.substring(0,at.lastIndexOf("/")+1)+xe.path;tt.path=U.normalizePath(Ft)}return tt.path===null&&(tt.path=ae.alwaysNormalize?U.normalizePath(xe.path):xe.path),U.buildURLFromParts(tt)},parseURL:function(H){var $=o.exec(H);return $?{scheme:$[1]||"",netLoc:$[2]||"",path:$[3]||"",params:$[4]||"",query:$[5]||"",fragment:$[6]||""}:null},normalizePath:function(H){for(H=H.split("").reverse().join("").replace(E,"");H.length!==(H=H.replace(C,"")).length;);return H.split("").reverse().join("")},buildURLFromParts:function(H){return H.scheme+H.netLoc+H.path+H.params+H.query+H.fragment}};P.exports=U})()}(te)),te.exports}var le=J();class z{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 F={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class se{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,je(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={[F.AUDIO]:null,[F.VIDEO]:null,[F.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 z),this._stats}set stats(t){this._stats=t}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=le.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(t){this._url=t}clearElementaryStreamInfo(){const{elementaryStreams:t}=this;t[F.AUDIO]=null,t[F.VIDEO]=null,t[F.AUDIOVIDEO]=null}}function _e(P){return P.sn!=="initSegment"}class Pe extends se{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 _e(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,C=!1){const{elementaryStreams:U}=this,H=U[t];if(!H){U[t]={startPTS:n,endPTS:o,startDTS:m,endDTS:E,partial:C};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 Re extends se{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 C=t.enumeratedString("BYTERANGE");C&&this.setByteRange(C,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 He(P,t){const n=Object.getPrototypeOf(P);if(n){const o=Object.getOwnPropertyDescriptor(n,t);return o||He(n,t)}}function je(P,t){const n=He(P,t);n&&(n.enumerable=!0,Object.defineProperty(P,t,n))}const Zt=Math.pow(2,32)-1,yt=[].push,Dt={video:1,audio:2,id3:3,text:4};function Qt(P){return String.fromCharCode.apply(null,P)}function Jt(P,t){const n=P[t]<<8|P[t+1];return n<0?65536+n:n}function qt(P,t){const n=Tt(P,t);return n<0?4294967296+n:n}function Xe(P,t){let n=qt(P,t);return n*=Math.pow(2,32),n+=qt(P,t+4),n}function Tt(P,t){return P[t]<<24|P[t+1]<<16|P[t+2]<<8|P[t+3]}function jt(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=qt(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 gt(P,t){const n=[];if(!t.length)return n;const o=P.byteLength;for(let m=0;m<o;){const E=qt(P,m),C=Qt(P.subarray(m+4,m+8)),U=E>1?m+E:o;if(C===t[0])if(t.length===1)n.push(P.subarray(m+8,U));else{const H=gt(P.subarray(m+8,U),t.slice(1));H.length&&yt.apply(n,H)}m=U}return n}function dt(P){const t=[],n=P[0];let o=8;const m=qt(P,o);o+=4;let E=0,C=0;n===0?(E=qt(P,o),C=qt(P,o+4),o+=8):(E=Xe(P,o),C=Xe(P,o+8),o+=16),o+=2;let U=P.length+C;const H=Jt(P,o);o+=2;for(let $=0;$<H;$++){let ae=o;const ce=qt(P,ae);ae+=4;const xe=ce&2147483647;if((ce&2147483648)>>>31===1)return Y.warn("SIDX has hierarchical references (not supported)"),null;const De=qt(P,ae);ae+=4,t.push({referenceSize:xe,subsegmentDuration:De,info:{duration:De/m,start:U,end:U+xe-1}}),U+=xe,ae+=4,o=ae}return{earliestPresentationTime:E,timescale:m,version:n,referencesCount:H,references:t}}function Je(P){const t=[],n=gt(P,["moov","trak"]);for(let m=0;m<n.length;m++){const E=n[m],C=gt(E,["tkhd"])[0];if(C){let U=C[0];const H=qt(C,U===0?12:20),$=gt(E,["mdia","mdhd"])[0];if($){U=$[0];const ae=qt($,U===0?12:20),ce=gt(E,["mdia","hdlr"])[0];if(ce){const xe=Qt(ce.subarray(8,12)),Te={soun:F.AUDIO,vide:F.VIDEO}[xe],De=gt(E,["mdia","minf","stbl","stsd"])[0],tt=Ue(De);Te?(t[H]={timescale:ae,type:Te,stsd:tt},t[Te]=b({timescale:ae,id:H},tt)):t[H]={timescale:ae,type:xe,stsd:tt}}}}}return gt(P,["moov","mvex","trex"]).forEach(m=>{const E=qt(m,4),C=t[E];C&&(C.default={duration:qt(m,12),flags:qt(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 C=o==="enca"||o==="encv";if(C){const $=gt(t,[o])[0].subarray(o==="enca"?28:78);gt($,["sinf"]).forEach(ce=>{const xe=gt(ce,["schm"])[0];if(xe){const Te=Qt(xe.subarray(4,8));if(Te==="cbcs"||Te==="cenc"){const De=gt(ce,["frma"])[0];De&&(m=Qt(De))}}})}const U=m;switch(m){case"avc1":case"avc2":case"avc3":case"avc4":{const H=gt(n,["avcC"])[0];H&&H.length>3&&(m+="."+Me(H[1])+Me(H[2])+Me(H[3]),E=ge(U==="avc1"?"dva1":"dvav",n));break}case"mp4a":{const H=gt(t,[o])[0],$=gt(H.subarray(28),["esds"])[0];if($&&$.length>7){let ae=4;if($[ae++]!==3)break;ae=Se($,ae),ae+=2;const ce=$[ae++];if(ce&128&&(ae+=2),ce&64&&(ae+=$[ae++]),$[ae++]!==4)break;ae=Se($,ae);const xe=$[ae++];if(xe===64)m+="."+Me(xe);else break;if(ae+=12,$[ae++]!==5)break;ae=Se($,ae);const Te=$[ae++];let De=(Te&248)>>3;De===31&&(De+=1+((Te&7)<<3)+(($[ae]&224)>>5)),m+="."+De}break}case"hvc1":case"hev1":{const H=gt(n,["hvcC"])[0];if(H&&H.length>12){const $=H[1],ae=["","A","B","C"][$>>6],ce=$&31,xe=qt(H,2),Te=($&32)>>5?"H":"L",De=H[12],tt=H.subarray(6,12);m+="."+ae+ce,m+="."+xe.toString(16).toUpperCase(),m+="."+Te+De;let at="";for(let Ft=tt.length;Ft--;){const hr=tt[Ft];(hr||at)&&(at="."+hr.toString(16).toUpperCase()+at)}m+=at}E=ge(U=="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=gt(n,["vpcC"])[0];if(H&&H.length>6){const $=H[4],ae=H[5],ce=H[6]>>4&15;m+="."+$e($)+"."+$e(ae)+"."+$e(ce)}break}case"av01":{const H=gt(n,["av1C"])[0];if(H&&H.length>2){const $=H[1]>>>5,ae=H[1]&31,ce=H[2]>>>7?"H":"M",xe=(H[2]&64)>>6,Te=(H[2]&32)>>5,De=$===2&&xe?Te?12:10:xe?10:8,tt=(H[2]&16)>>4,at=(H[2]&8)>>3,Ft=(H[2]&4)>>2,hr=H[2]&3;m+="."+$+"."+$e(ae)+ce+"."+$e(De)+"."+tt+"."+at+Ft+hr+"."+$e(1)+"."+$e(1)+"."+$e(1)+"."+0,E=ge("dav1",n)}break}}return{codec:m,encrypted:C,supplemental:E}}function ge(P,t){const n=gt(t,["dvvC"]),o=n.length?n[0]:gt(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 Se(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 We(P,t){if(!P||!t)return P;const n=t.keyId;return n&&t.isCommonEncryption&>(P,["moov","trak"]).forEach(m=>{const C=gt(m,["mdia","minf","stbl","stsd"])[0].subarray(8);let U=gt(C,["enca"]);const H=U.length>0;H||(U=gt(C,["encv"])),U.forEach($=>{const ae=H?$.subarray(28):$.subarray(78);gt(ae,["sinf"]).forEach(xe=>{const Te=nt(xe);if(Te){const De=Te.subarray(8,24);De.some(tt=>tt!==0)||(Y.log(`[eme] Patching keyId in 'enc${H?"a":"v"}>sinf>>tenc' box: ${V.hexDump(De)} -> ${V.hexDump(n)}`),Te.set(n,8))}})})}),P}function nt(P){const t=gt(P,["schm"])[0];if(t){const n=Qt(t.subarray(4,8));if(n==="cbcs"||n==="cenc")return gt(P,["schi","tenc"])[0]}return null}function lt(P,t){return gt(t,["moof","traf"]).reduce((n,o)=>{const m=gt(o,["tfdt"])[0],E=m[0],C=gt(o,["tfhd"]).reduce((U,H)=>{const $=qt(H,4),ae=P[$];if(ae){let ce=qt(m,4);if(E===1){if(ce===Zt)return Y.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"),U;ce*=Zt+1,ce+=qt(m,8)}const xe=ae.timescale||9e4,Te=ce/xe;if(r(Te)&&(U===null||Te<U))return Te}return U},null);return C!==null&&r(C)&&(n===null||C<n)?C:n},null)}function Vt(P,t){let n=0,o=0,m=0;const E=gt(P,["moof","traf"]);for(let C=0;C<E.length;C++){const U=E[C],H=gt(U,["tfhd"])[0],$=qt(H,4),ae=t[$];if(!ae)continue;const ce=ae.default,xe=qt(H,0)|(ce==null?void 0:ce.flags);let Te=ce==null?void 0:ce.duration;xe&8&&(xe&2?Te=qt(H,12):Te=qt(H,8));const De=ae.timescale||9e4,tt=gt(U,["trun"]);for(let at=0;at<tt.length;at++){if(n=Ht(tt[at]),!n&&Te){const Ft=qt(tt[at],4);n=Te*Ft}ae.type===F.VIDEO?o+=n/De:ae.type===F.AUDIO&&(m+=n/De)}}if(o===0&&m===0){let C=1/0,U=0,H=0;const $=gt(P,["sidx"]);for(let ae=0;ae<$.length;ae++){const ce=dt($[ae]);if(ce!=null&&ce.references){C=Math.min(C,ce.earliestPresentationTime/ce.timescale);const xe=ce.references.reduce((Te,De)=>Te+De.info.duration||0,0);U=Math.max(U,xe+ce.earliestPresentationTime/ce.timescale),H=U-C}}if(H&&r(H))return H}return o||m}function Ht(P){const t=qt(P,0);let n=8;t&1&&(n+=4),t&4&&(n+=4);let o=0;const m=qt(P,4);for(let E=0;E<m;E++){if(t&256){const C=qt(P,n);o+=C,n+=4}t&512&&(n+=4),t&1024&&(n+=4),t&2048&&(n+=4)}return o}function Ie(P,t,n){gt(t,["moof","traf"]).forEach(o=>{gt(o,["tfhd"]).forEach(m=>{const E=qt(m,4),C=P[E];if(!C)return;const U=C.timescale||9e4;gt(o,["tfdt"]).forEach(H=>{const $=H[0],ae=n*U;if(ae){let ce=qt(H,4);if($===0)ce-=ae,ce=Math.max(ce,0),jt(H,4,ce);else{ce*=Math.pow(2,32),ce+=qt(H,8),ce-=ae,ce=Math.max(ce,0);const xe=Math.floor(ce/(Zt+1)),Te=Math.floor(ce%(Zt+1));jt(H,4,xe),jt(H,8,Te)}}})})})}function qe(P){const t={valid:null,remainder:null},n=gt(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 Ot(P,t){const n=[],o=t.samples,m=t.timescale,E=t.id;let C=!1;return gt(o,["moof"]).map(H=>{const $=H.byteOffset-8;gt(H,["traf"]).map(ce=>{const xe=gt(ce,["tfdt"]).map(Te=>{const De=Te[0];let tt=qt(Te,4);return De===1&&(tt*=Math.pow(2,32),tt+=qt(Te,8)),tt/m})[0];return xe!==void 0&&(P=xe),gt(ce,["tfhd"]).map(Te=>{const De=qt(Te,4),tt=qt(Te,0)&16777215,at=(tt&1)!==0,Ft=(tt&2)!==0,hr=(tt&8)!==0;let ar=0;const zr=(tt&16)!==0;let Wr=0;const dn=(tt&32)!==0;let Gr=8;De===E&&(at&&(Gr+=8),Ft&&(Gr+=4),hr&&(ar=qt(Te,Gr),Gr+=4),zr&&(Wr=qt(Te,Gr),Gr+=4),dn&&(Gr+=4),t.type==="video"&&(C=zt(t.codec)),gt(ce,["trun"]).map(un=>{const mn=un[0],Qr=qt(un,0)&16777215,Yn=(Qr&1)!==0;let hi=0;const os=(Qr&4)!==0,ya=(Qr&256)!==0;let Ji=0;const Ri=(Qr&512)!==0;let ta=0;const qi=(Qr&1024)!==0,Xn=(Qr&2048)!==0;let ni=0;const wa=qt(un,4);let Sa=8;Yn&&(hi=qt(un,Sa),Sa+=4),os&&(Sa+=4);let ts=hi+$;for(let Cs=0;Cs<wa;Cs++){if(ya?(Ji=qt(un,Sa),Sa+=4):Ji=ar,Ri?(ta=qt(un,Sa),Sa+=4):ta=Wr,qi&&(Sa+=4),Xn&&(mn===0?ni=qt(un,Sa):ni=Tt(un,Sa),Sa+=4),t.type===F.VIDEO){let js=0;for(;js<ta;){const ao=qt(o,ts);if(ts+=4,$t(C,o[ts])){const Qu=o.subarray(ts,ts+ao);tr(Qu,C?2:1,P+ni/m,n)}ts+=ao,js+=ao+4}}P+=Ji/m}}))})})}),n}function zt(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 tr(P,t,n,o){const m=Wt(P);let E=0;E+=t;let C=0,U=0,H=0;for(;E<m.length;){C=0;do{if(E>=m.length)break;H=m[E++],C+=H}while(H===255);U=0;do{if(E>=m.length)break;H=m[E++],U+=H}while(H===255);const $=m.length-E;let ae=E;if(U<$)E+=U;else if(U>$){Y.error(`Malformed SEI payload. ${U} is too small, only ${$} bytes left to parse.`);break}if(C===4){if(m[ae++]===181){const xe=Jt(m,ae);if(ae+=2,xe===49){const Te=qt(m,ae);if(ae+=4,Te===1195456820){const De=m[ae++];if(De===3){const tt=m[ae++],at=31&tt,Ft=64&tt,hr=Ft?2+at*3:0,ar=new Uint8Array(hr);if(Ft){ar[0]=tt;for(let zr=1;zr<hr;zr++)ar[zr]=m[ae++]}o.push({type:De,payloadType:C,pts:n,bytes:ar})}}}}}else if(C===5&&U>16){const ce=[];for(let De=0;De<16;De++){const tt=m[ae++].toString(16);ce.push(tt.length==1?"0"+tt:tt),(De===3||De===5||De===7||De===9)&&ce.push("-")}const xe=U-16,Te=new Uint8Array(xe);for(let De=0;De<xe;De++)Te[De]=m[ae++];o.push({payloadType:C,pts:n,uuid:ce.join(""),userData:K(Te),userDataBytes:Te})}}}function Wt(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 C=0;for(o=0;o<m;C++,o++)C===n[0]&&(C++,n.shift()),E[o]=P[C];return E}function Fe(P){const t=P[0];let n="",o="",m=0,E=0,C=0,U=0,H=0,$=0;if(t===0){for(;Qt(P.subarray($,$+1))!=="\0";)n+=Qt(P.subarray($,$+1)),$+=1;for(n+=Qt(P.subarray($,$+1)),$+=1;Qt(P.subarray($,$+1))!=="\0";)o+=Qt(P.subarray($,$+1)),$+=1;o+=Qt(P.subarray($,$+1)),$+=1,m=qt(P,12),E=qt(P,16),U=qt(P,20),H=qt(P,24),$=28}else if(t===1){$+=4,m=qt(P,$),$+=4;const ce=qt(P,$);$+=4;const xe=qt(P,$);for($+=4,C=4294967296*ce+xe,i(C)||(C=Number.MAX_SAFE_INTEGER,Y.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),U=qt(P,$),$+=4,H=qt(P,$),$+=4;Qt(P.subarray($,$+1))!=="\0";)n+=Qt(P.subarray($,$+1)),$+=1;for(n+=Qt(P.subarray($,$+1)),$+=1;Qt(P.subarray($,$+1))!=="\0";)o+=Qt(P.subarray($,$+1)),$+=1;o+=Qt(P.subarray($,$+1)),$+=1}const ae=P.subarray($,P.byteLength);return{schemeIdUri:n,value:o,timeScale:m,presentationTime:C,presentationTimeDelta:E,eventDuration:U,id:H,payload:ae}}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 pe(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 C=new Uint8Array(4);return n&&n.byteLength>0&&new DataView(C.buffer).setUint32(0,n.byteLength,!1),fe([112,115,115,104],new Uint8Array([o,0,0,0]),P,E,m,C,n||new Uint8Array)}function Pt(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=Ce(m);t.push(E),o+=E.size}}return t}function Ce(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 C=P.buffer,U=V.hexDump(new Uint8Array(C,n+12,16)),H=P.getUint32(28);let $=null,ae=null;if(E===0){if(t-32<H||H<22)return{offset:n,size:t};ae=new Uint8Array(C,n+32,H)}else if(E===1){if(!H||o<n+32+H*16+16)return{offset:n,size:t};$=[];for(let ce=0;ce<H;ce++)$.push(new Uint8Array(C,n+32+ce*16,16))}return{version:E,systemId:U,kids:$,data:ae,offset:n,size:t}}const ft=()=>/\(Windows.+Firefox\//i.test(navigator.userAgent),Ut={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 At(P,t){const n=Ut[t];return!!n&&!!n[P.slice(0,4)]}function Oe(P,t,n=!0){return!P.split(",").some(o=>!wt(o,t,n))}function wt(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 Ut.video[t]}return 2}function mt(P){const t=ft();return P.split(",").reduce((n,o)=>{const E=t&&zt(o)?9:Ut.video[o];return E?(E*2+n)/(n?3:2):(Ut.audio[o]+n)/(n?2:1)},0)}const kt={};function Be(P,t=!0){if(kt[P])return kt[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(wt(n[m],"audio",t))return kt[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 St(P,t=!0){return P.replace(kr,n=>Be(n.toLowerCase(),t))}function Vr(P,t){const n=[];if(P){const o=P.split(",");for(let m=0;m<o.length;m++)At(o[m],"video")||n.push(o[m])}return t&&n.push(t),n.join(",")}function Jr(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 Fr(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 mr(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 jr(P){return P.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const on={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]};function fn(P,t){return{supported:!1,configurations:t,decodingInfoResults:[{supported:!1,smooth:!1,powerEfficient:!1}],error:P}}const or={};function Rt(P,t,n,o,m,E){const C=P.audioCodec?P.audioGroups:null,U=E==null?void 0:E.audioCodec,H=E==null?void 0:E.channels,$=H?parseInt(H):U?1/0:2;let ae=null;if(C!=null&&C.length)try{C.length===1&&C[0]?ae=t.groups[C[0]].channels:ae=C.reduce((ce,xe)=>{if(xe){const Te=t.groups[xe];if(!Te)throw new Error(`Audio track group ${xe} not found`);Object.keys(Te.channels).forEach(De=>{ce[De]=(ce[De]||0)+Te.channels[De]})}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))||!!ae&&r($)&&Object.keys(ae).some(ce=>parseInt(ce)>$)}function _t(P,t,n){const o=P.videoCodec,m=P.audioCodec;if(!o&&!m||!n)return Promise.resolve(on);const E=[];if(o){const C={width:P.width,height:P.height,bitrate:Math.ceil(Math.max(P.bitrate*.9,P.averageBitrate)),framerate:P.frameRate||30},U=P.videoRange;U!=="SDR"&&(C.transferFunction=U.toLowerCase());const H=o.split(","),$=navigator.userAgent;if(H.some(ae=>zt(ae))&&ft())return Promise.resolve(fn(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent sting: (${$})`),E));E.push.apply(E,H.map(ae=>({type:"media-source",video:b(b({},C),{},{contentType:be(Fr(ae),"video")})})))}return m&&P.audioGroups&&P.audioGroups.forEach(C=>{var U;C&&((U=t.groups[C])==null||U.tracks.forEach(H=>{if(H.groupId===C){const $=H.channels||"",ae=parseFloat($);r(ae)&&ae>2&&E.push.apply(E,m.split(",").map(ce=>({type:"media-source",audio:{contentType:be(ce,"audio"),channels:""+ae}})))}}))}),Promise.all(E.map(C=>{const U=vt(C);return or[U]||(or[U]=n.decodingInfo(C))})).then(C=>({supported:!C.some(U=>!U.supported),configurations:E,decodingInfoResults:C})).catch(C=>({supported:!1,configurations:E,decodingInfoResults:[],error:C}))}function vt(P){const{audio:t,video:n}=P,o=n||t;if(o){const m=jr(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 Bt=["NONE","TYPE-0","TYPE-1",null];function Cr(P){return Bt.indexOf(P)>-1}const gr=["SDR","PQ","HLG"];function rn(P){return!!P&&gr.indexOf(P)>-1}var Kr={No:"",Yes:"YES",v2:"v2"};function Pn(P){const{canSkipUntil:t,canSkipDateRanges:n,age:o}=P,m=o<t/2;return t&&m?n?Kr.v2:Kr.Yes:Kr.No}class Ct{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 cr{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 Xr(this._audioGroups,t)}hasSubtitleGroup(t){return Xr(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 Xr(P,t){return!t||!P?!1:P.indexOf(t)!==-1}function pn(){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 $n(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&&pn(),n||(o=["SDR"])}return{preferHDR:n,allowedVideoRanges:o}}const si=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}},zn=(P,t)=>JSON.stringify(P,si(t));function Li(P,t,n,o,m){const E=Object.keys(P),C=o==null?void 0:o.channels,U=o==null?void 0:o.audioCodec,H=m==null?void 0:m.videoCodec,$=C&&parseInt(C)===2;let ae=!1,ce=!1,xe=1/0,Te=1/0,De=1/0,tt=1/0,at=0,Ft=[];const{preferHDR:hr,allowedVideoRanges:ar}=$n(t,m);for(let un=E.length;un--;){const mn=P[E[un]];ae||(ae=mn.channels[2]>0),xe=Math.min(xe,mn.minHeight),Te=Math.min(Te,mn.minFramerate),De=Math.min(De,mn.minBitrate),ar.filter(Yn=>mn.videoRanges[Yn]>0).length>0&&(ce=!0)}xe=r(xe)?xe:0,Te=r(Te)?Te:0;const zr=Math.max(1080,xe),Wr=Math.max(30,Te);De=r(De)?De:n,n=Math.max(De,n),ce||(t=void 0);const dn=E.length>1;return{codecSet:E.reduce((un,mn)=>{const Qr=P[mn];if(mn===un)return un;if(Ft=ce?ar.filter(Yn=>Qr.videoRanges[Yn]>0):[],dn){if(Qr.minBitrate>n)return ui(mn,`min bitrate of ${Qr.minBitrate} > current estimate of ${n}`),un;if(!Qr.hasDefaultAudio)return ui(mn,"no renditions with default or auto-select sound found"),un;if(U&&mn.indexOf(U.substring(0,4))%5!==0)return ui(mn,`audio codec preference "${U}" not found`),un;if(C&&!$){if(!Qr.channels[C])return ui(mn,`no renditions with ${C} channel sound found (channels options: ${Object.keys(Qr.channels)})`),un}else if((!U||$)&&ae&&Qr.channels[2]===0)return ui(mn,"no renditions with stereo sound found"),un;if(Qr.minHeight>zr)return ui(mn,`min resolution of ${Qr.minHeight} > maximum of ${zr}`),un;if(Qr.minFramerate>Wr)return ui(mn,`min framerate of ${Qr.minFramerate} > maximum of ${Wr}`),un;if(!Ft.some(Yn=>Qr.videoRanges[Yn]>0))return ui(mn,`no variants with VIDEO-RANGE of ${zn(Ft)} found`),un;if(H&&mn.indexOf(H.substring(0,4))%5!==0)return ui(mn,`video codec preference "${H}" not found`),un;if(Qr.maxScore<at)return ui(mn,`max score of ${Qr.maxScore} < selected max of ${at}`),un}return un&&(mt(mn)>=mt(un)||Qr.fragmentError>P[un].fragmentError)?un:(tt=Qr.minIndex,at=Qr.maxScore,mn)},void 0),videoRanges:Ft,preferHDR:hr,minFramerate:Te,minBitrate:De,minIndex:tt}}function ui(P,t){Y.log(`[abr] start candidates with "${P}" ignored because ${t}`)}function mi(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 wi(P,t,n,o){return P.slice(n,o+1).reduce((m,E,C)=>{if(!E.codecSet)return m;const U=E.audioGroups;let H=m[E.codecSet];H||(m[E.codecSet]=H={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:C,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!U,fragmentError:0}),H.minBitrate=Math.min(H.minBitrate,E.bitrate);const $=Math.min(E.height,E.width);return H.minHeight=Math.min(H.minHeight,$),H.minFramerate=Math.min(H.minFramerate,E.frameRate),H.minIndex=Math.min(H.minIndex,C),H.maxScore=Math.max(H.maxScore,E.score),H.fragmentError+=E.fragmentError,H.videoRanges[E.videoRange]=(H.videoRanges[E.videoRange]||0)+1,U&&U.forEach(ae=>{if(!ae)return;const ce=t.groups[ae];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 gi(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:C,default:U}=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===C)&&(U===void 0||t.default===U)&&(H===void 0||t.forced===H)&&(!("characteristics"in P)||Et(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 Et(P,t=""){const n=P.split(","),o=t.split(",");return n.length===o.length&&!n.some(m=>o.indexOf(m)===-1)}function ot(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],U=t.reduce((xe,Te,De)=>{const tt=Te.uri;return(xe[tt]||(xe[tt]=[])).push(De),xe},{})[E.uri];U.length>1&&(o=Math.max.apply(Math,U));const H=E.videoRange,$=E.frameRate,ae=E.codecSet.substring(0,4),ce=Ai(t,o,xe=>{if(xe.videoRange!==H||xe.frameRate!==$||xe.codecSet.substring(0,4)!==ae)return!1;const Te=xe.audioGroups,De=n.filter(tt=>!Te||Te.indexOf(tt.groupId)!==-1);return Xi(P,De,m)>-1});return ce>-1?ce:Ai(t,o,xe=>{const Te=xe.audioGroups,De=n.filter(tt=>!Te||Te.indexOf(tt.groupId)!==-1);return Xi(P,De,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:C}=this,{autoLevelEnabled:U,media:H}=C;if(!m||!H)return;const $=performance.now(),ae=E?E.stats:m.stats,ce=E?E.duration:m.duration,xe=$-ae.loading.start,Te=C.minAutoLevel,De=m.level,tt=this._nextAutoLevel;if(ae.aborted||ae.loaded&&ae.loaded===ae.total||De<=Te){this.clearTimer(),this._nextAutoLevel=-1;return}if(!U)return;const at=tt>-1&&tt!==De,Ft=!!n||at;if(!Ft&&(H.paused||!H.playbackRate||!H.readyState))return;const hr=C.mainForwardBufferInfo;if(!Ft&&hr===null)return;const ar=this.bwEstimator.getEstimateTTFB(),zr=Math.abs(H.playbackRate);if(xe<=Math.max(ar,1e3*(ce/(zr*2))))return;const Wr=hr?hr.len/zr:0,dn=ae.loading.first?ae.loading.first-ae.loading.start:-1,Gr=ae.loaded&&dn>-1,un=this.getBwEstimate(),mn=C.levels,Qr=mn[De],Yn=Math.max(ae.loaded,Math.round(ce*(m.bitrate||Qr.averageBitrate)/8));let hi=Gr?xe-dn:xe;hi<1&&Gr&&(hi=Math.min(xe,ae.loaded*8/un));const os=Gr?ae.loaded*1e3/hi:0,ya=ar/1e3,Ji=os?(Yn-ae.loaded)/os:Yn*8/un+ya;if(Ji<=Wr)return;const Ri=os?os*8:un,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,ni;for(ni=De-1;ni>Te;ni--){const Cs=mn[ni].maxBitrate,js=!mn[ni].details||ta;if(Xn=this.getTimeToLoadFrag(ya,Ri,ce*Cs,js),Xn<Math.min(Wr,ce+ya))break}if(Xn>=Ji||Xn>ce*10)return;Gr?this.bwEstimator.sample(xe-Math.min(ar,dn),ae.loaded):this.bwEstimator.sampleTTFB(xe);const wa=mn[ni].maxBitrate;this.getBwEstimate()*qi>wa&&this.resetEstimator(wa);const Sa=this.findBestLevel(wa,Te,ni,0,Wr,1,1);Sa>-1&&(ni=Sa),this.warn(`Fragment ${m.sn}${E?" part "+E.index:""} of level ${De} is loading too slowly;
|
|
|
Fragment duration: ${m.duration.toFixed(3)}
|
|
|
Time to underbuffer: ${Wr.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: ${dn|0} ms
|
|
|
Current BW estimate: ${r(un)?un|0:"Unknown"} bps
|
|
|
New BW estimate: ${this.getBwEstimate()|0} bps
|
|
|
Switching to level ${ni} @ ${wa|0} bps`),C.nextLoadLevel=C.nextAutoLevel=ni,this.clearTimer();const ts=()=>{if(this.clearTimer(),this.fragCurrent===m&&this.hls.loadLevel===ni&&ni>0){const Cs=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${ni>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,ni>Te){let js=this.findBestLevel(this.hls.levels[Te].bitrate,Te,ni,0,Cs,1,1);js===-1&&(js=Te),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),C.trigger(s.FRAG_LOAD_EMERGENCY_ABORTED,{frag:m,part:E,stats:ae})},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 C=performance.now(),U=E?E.stats:o.stats,H=C-U.loading.start,$=U.loading.first?U.loading.first-U.loading.start:-1;if(U.loaded&&$>-1){const ce=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(H-Math.min(ce,$),U.loaded)}else this.bwEstimator.sampleTTFB(H)}break}}}getTimeToLoadFrag(t,n,o,m){const E=t+o/n,C=m?t+this.lastLevelLoadSec:0;return E+C}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,C=this.hls.levels[n.level],U=(C.loaded?C.loaded.bytes:0)+m.loaded,H=(C.loaded?C.loaded.duration:0)+E;C.loaded={bytes:U,duration:H},C.realBitrate=Math.round(8*U/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 C=E.parsing.end-E.loading.start-Math.min(E.loading.first-E.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(C,E.loaded),E.bwEstimate=this.getBwEstimate(),o.bitrateTest?this.bitrateTestDelay=C/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 C=this.hls.firstLevel,U=Math.min(Math.max(C,n),t);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${C} clamped to ${U}`),U}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 C=this.hls.levels;if(C.length>Math.max(t,E)&&C[t].loadError<=C[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:C}=o,U=n?n.duration:t?t.duration:0,H=this.getBwEstimate(),$=this.getStarvationDelay();let ae=E.abrBandWidthFactor,ce=E.abrBandWidthUpFactor;if($){const at=this.findBestLevel(H,C,m,$,0,ae,ce);if(at>=0)return this.rebufferNotice=-1,at}let xe=U?Math.min(U,E.maxStarvationDelay):E.maxStarvationDelay;if(!$){const at=this.bitrateTestDelay;at&&(xe=(U?Math.min(U,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`),ae=ce=1)}const Te=this.findBestLevel(H,C,m,$,xe,ae,ce);if(this.rebufferNotice!==Te&&(this.rebufferNotice=Te,this.info(`${$?"rebuffering expected":"buffer is empty"}, optimal quality level ${Te}`)),Te>-1)return Te;const De=o.levels[C],tt=o.loadLevelObj;return tt&&(De==null?void 0:De.bitrate)<tt.bitrate?C: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,C,U){var H;const $=m+E,ae=this.lastLoadedFragLevel,ce=ae===-1?this.hls.firstLevel:ae,{fragCurrent:xe,partCurrent:Te}=this,{levels:De,allAudioTracks:tt,loadLevel:at,config:Ft}=this.hls;if(De.length===1)return 0;const hr=De[ce],ar=!!((H=this.hls.latestLevelDetails)!=null&&H.live),zr=at===-1||ae===-1;let Wr,dn="SDR",Gr=(hr==null?void 0:hr.frameRate)||0;const{audioPreference:un,videoPreference:mn}=Ft,Qr=this.audioTracksByGroup||(this.audioTracksByGroup=mi(tt));let Yn=-1;if(zr){if(this.firstSelection!==-1)return this.firstSelection;const Ri=this.codecTiers||(this.codecTiers=wi(De,Qr,n,o)),ta=Li(Ri,dn,t,un,mn),{codecSet:qi,videoRanges:Xn,minFramerate:ni,minBitrate:wa,minIndex:Sa,preferHDR:ts}=ta;Yn=Sa,Wr=qi,dn=ts?Xn[Xn.length-1]:Xn[0],Gr=ni,t=Math.max(t,wa),this.log(`picked start tier ${zn(ta)}`)}else Wr=hr==null?void 0:hr.codecSet,dn=hr==null?void 0:hr.videoRange;const hi=Te?Te.duration:xe?xe.duration:0,os=this.bwEstimator.getEstimateTTFB()/1e3,ya=[];for(let Ri=o;Ri>=n;Ri--){var Ji;const ta=De[Ri],qi=Ri>ce;if(!ta)continue;if(Ft.useMediaCapabilities&&!ta.supportedResult&&!ta.supportedPromise){const js=navigator.mediaCapabilities;typeof(js==null?void 0:js.decodingInfo)=="function"&&(Rt(ta,Qr,dn,Gr,t,un)||zt(ta.videoCodec))?(ta.supportedPromise=_t(ta,Qr,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} ${zn(ao)}`):ao.supported||(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${dl} ${zn(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=on}if((Wr&&ta.codecSet!==Wr||dn&&ta.videoRange!==dn||qi&&Gr>ta.frameRate||!qi&&Gr>0&&Gr<ta.frameRate||ta.supportedResult&&!((Ji=ta.supportedResult.decodingInfoResults)!=null&&Ji[0].smooth))&&(!zr||Ri!==Yn)){ya.push(Ri);continue}const Xn=ta.details,ni=(Te?Xn==null?void 0:Xn.partTarget:Xn==null?void 0:Xn.averagetargetduration)||hi;let wa;qi?wa=U*t:wa=C*t;const Sa=hi&&m>=hi*2&&E===0?ta.averageBitrate:ta.maxBitrate,ts=this.getTimeToLoadFrag(os,wa,Sa*ni,Xn===void 0);if(wa>=Sa&&(Ri===ae||ta.loadError===0&&ta.fragmentError===0)&&(ts<=os||!r(ts)||ar&&!this.bitrateTestDelay||ts<$)){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:"${De[ya[0]].codecs}" ${De[ya[0]].videoRange}; not compatible with "${Wr}" ${dn}`),this.info(`switch candidate:${ce}->${Ri} adjustedbw(${Math.round(wa)})-bitrate=${Math.round(wa-Sa)} ttfb:${os.toFixed(1)} avgDuration:${ni.toFixed(1)} maxFetchDuration:${$.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 yi={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 C=t(E);if(C>0)n=m+1;else if(C<0)o=m-1;else return E}return null}};function ai(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 C=P[E];if(rt(t,n,C))return C}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 U=P.endDTS-n;U>0&&U<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)&&pt(n,o,E)===0||er(E,P,Math.min(m,o))))return E;const C=yi.search(t,pt.bind(null,n,o));return C&&(C!==P||!E)?C:E}function er(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 pt(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 It(P,t){return yi.search(P,n=>n.cc<t?1:n.cc>t?-1:0)}function ht(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:C}=P;C&&(E=E.concat(C))}return yi.search(E,C=>C.cc<t||C.end<=o?1:C.cc>t||C.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 dr(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 Zr(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 C,U;const $=n.parent===u.MAIN?n.level:m.loadLevel;n.details===f.LEVEL_EMPTY_ERROR&&((C=n.context)!=null&&(U=C.levelDetails)!=null&&U.live)?n.errorAction=this.getPlaylistRetryOrSwitchAction(n,$):(n.levelRetry=!1,n.errorAction=this.getLevelSwitchAction(n,$))}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 $=m.loadLevelObj;if($&&(E.type===h.AUDIO_TRACK&&$.hasAudioGroup(E.groupId)||E.type===h.SUBTITLE_TRACK&&$.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 $=m.loadLevelObj,ae=$==null?void 0:$.attrs["HDCP-LEVEL"];ae?n.errorAction={action:Ee.SendAlternateToPenaltyBox,flags:it.MoveAllAlternatesMatchingHDCP,hdcpLevel:ae}: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=dr(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 U=this.getLevelSwitchAction(t,n);return m&&(U.retryConfig=m,U.retryCount=E),U}getFragRetryOrSwitchAction(t){const n=this.hls,o=this.getVariantLevelIndex(t.frag),m=n.levels[o],{fragLoadPolicy:E,keyLoadPolicy:C}=n.config,U=dr(t.details.startsWith("key")?C:E,t),H=n.levels.reduce((ae,ce)=>ae+ce.fragmentError,0);if(m&&(t.details!==f.FRAG_GAP&&m.fragmentError++,Ze(U,H,lr(t),t.response)))return{action:Ee.RetryRequest,flags:it.None,retryConfig:U,retryCount:H};const $=this.getLevelSwitchAction(t,o);return U&&($.retryConfig=U,$.retryCount=H),$}getLevelSwitchAction(t,n){const o=this.hls;n==null&&(n=o.loadLevel);const m=this.hls.levels[n];if(m){var E,C;const $=t.details;m.loadError++,$===f.BUFFER_APPEND_ERROR&&m.fragmentError++;let ae=-1;const{levels:ce,loadLevel:xe,minAutoLevel:Te,maxAutoLevel:De}=o;o.autoLevelEnabled||(o.loadLevel=-1);const tt=(E=t.frag)==null?void 0:E.type,Ft=(tt===u.AUDIO&&$===f.FRAG_PARSING_ERROR||t.sourceBufferName==="audio"&&($===f.BUFFER_ADD_CODEC_ERROR||$===f.BUFFER_APPEND_ERROR))&&ce.some(({audioCodec:dn})=>m.audioCodec!==dn),ar=t.sourceBufferName==="video"&&($===f.BUFFER_ADD_CODEC_ERROR||$===f.BUFFER_APPEND_ERROR)&&ce.some(({codecSet:dn,audioCodec:Gr})=>m.codecSet!==dn&&m.audioCodec===Gr),{type:zr,groupId:Wr}=(C=t.context)!=null?C:{};for(let dn=ce.length;dn--;){const Gr=(dn+xe)%ce.length;if(Gr!==xe&&Gr>=Te&&Gr<=De&&ce[Gr].loadError===0){var U,H;const un=ce[Gr];if($===f.FRAG_GAP&&tt===u.MAIN&&t.frag){const mn=ce[Gr].details;if(mn){const Qr=En(t.frag,mn.fragments,t.frag.start);if(Qr!=null&&Qr.gap)continue}}else{if(zr===h.AUDIO_TRACK&&un.hasAudioGroup(Wr)||zr===h.SUBTITLE_TRACK&&un.hasSubtitleGroup(Wr))continue;if(tt===u.AUDIO&&(U=m.audioGroups)!=null&&U.some(mn=>un.hasAudioGroup(mn))||tt===u.SUBTITLE&&(H=m.subtitleGroups)!=null&&H.some(mn=>un.hasSubtitleGroup(mn))||Ft&&m.audioCodec===un.audioCodec||!Ft&&m.audioCodec!==un.audioCodec||ar&&m.codecSet===un.codecSet)continue}ae=Gr;break}}if(ae>-1&&o.loadLevel!==ae)return t.levelRetry=!0,this.playlistError=0,{action:Ee.SendAlternateToPenaltyBox,flags:it.None,nextAutoLevel:ae}}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:C}=o;switch(m){case it.None:this.switchLevel(t,C);break;case it.MoveAllAlternatesMatchingHDCP:E&&(n.maxHdcpLevel=Bt[Bt.indexOf(E)-1],o.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${n.maxHdcpLevel}" or lower`);break}o.resolved||this.switchLevel(t,C)}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=jr(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 C=E.end;if(E.start<=t&&C!==null&&t<=C)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 C=E.length;C--;){const U=m[E[C]];if((U==null?void 0:U.body.type)===n&&(!o||U.buffered)){const H=U.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 C=(m==null?void 0:m.fragment.sn)||-1;Object.keys(this.fragments).forEach(U=>{const H=this.fragments[U];if(!H||C>=H.body.sn)return;if(!H.buffered&&(!H.loaded||E)){H.body.type===o&&this.removeFragment(H.body);return}const $=H.range[t];if($){if($.time.length===0){this.removeFragment(H.body);return}$.time.some(ae=>{const ce=!this.isTimeBuffered(ae.startPTS,ae.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 C=!o.relurl;Object.keys(n).forEach(U=>{const H=o.elementaryStreams[U];if(!H)return;const $=n[U],ae=C||H.partial===!0;E.range[U]=this.getBufferedTimes(o,t.part,ae,$)}),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),Nr(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},C=t.start,U=t.end,H=t.minEndPTS||U,$=t.maxStartPTS||C;for(let ae=0;ae<m.length;ae++){const ce=m.start(ae)-this.bufferPadding,xe=m.end(ae)+this.bufferPadding;if($>=ce&&H<=xe){E.time.push({startPTS:Math.max(C,m.start(ae)),endPTS:Math.min(U,m.end(ae))});break}else if(C<xe&&U>ce){const Te=Math.max(C,m.start(ae)),De=Math.min(U,m.end(ae));De>Te&&(E.partial=!0,E.time.push({startPTS:Te,endPTS:De}))}else if(U<=ce)break}return E}getPartialFragment(t){let n=null,o,m,E,C=0;const{bufferPadding:U,fragments:H}=this;return Object.keys(H).forEach($=>{const ae=H[$];ae&&Nr(ae)&&(m=ae.body.start-U,E=ae.body.end+U,t>=m&&t<=E&&(o=Math.min(t-m,E-t),C<=o&&(n=ae.body,C=o)))}),n}isEndListAppended(t){const n=this.endListFragments[t];return n!==void 0&&(n.buffered||Nr(n))}getState(t){const n=bn(t),o=this.fragments[n];return o?o.buffered?Nr(o)?Er.PARTIAL:Er.OK:Er.APPENDING:Er.NOT_LOADED}isTimeBuffered(t,n,o){let m,E;for(let C=0;C<o.length;C++){if(m=o.start(C)-this.bufferPadding,E=o.end(C)+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:C}=n;if(o.sn==="initSegment")return;const U=o.type;if(m){let $=this.activePartLists[U];$||(this.activePartLists[U]=$=[]),$.push(m)}this.timeRanges=E;const H=E[C];this.detectEvictedFragments(C,H,U,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(C=>{const U=this.fragments[C];if(!U)return;const H=U.body;H.type!==o||m&&!H.gap||H.start<n&&H.end>t&&(U.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 Nr(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 ln={cbc:0,ctr:1};class nn{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 ln.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},n,t);case ln.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 cn(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],C=o[2],U=o[3],H=this.invSubMix,$=H[0],ae=H[1],ce=H[2],xe=H[3],Te=new Uint32Array(256);let De=0,tt=0,at=0;for(at=0;at<256;at++)at<128?Te[at]=at<<1:Te[at]=at<<1^283;for(at=0;at<256;at++){let Ft=tt^tt<<1^tt<<2^tt<<3^tt<<4;Ft=Ft>>>8^Ft&255^99,t[De]=Ft,n[Ft]=De;const hr=Te[De],ar=Te[hr],zr=Te[ar];let Wr=Te[Ft]*257^Ft*16843008;m[De]=Wr<<24|Wr>>>8,E[De]=Wr<<16|Wr>>>16,C[De]=Wr<<8|Wr>>>24,U[De]=Wr,Wr=zr*16843009^ar*65537^hr*257^De*16843008,$[Ft]=Wr<<24|Wr>>>8,ae[Ft]=Wr<<16|Wr>>>16,ce[Ft]=Wr<<8|Wr>>>24,xe[Ft]=Wr,De?(De=hr^Te[Te[Te[zr^hr]]],tt^=Te[Te[tt]]):De=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 C=this.ksRows=(E+6+1)*4;let U,H;const $=this.keySchedule=new Uint32Array(C),ae=this.invKeySchedule=new Uint32Array(C),ce=this.sBox,xe=this.rcon,Te=this.invSubMix,De=Te[0],tt=Te[1],at=Te[2],Ft=Te[3];let hr,ar;for(U=0;U<C;U++){if(U<E){hr=$[U]=n[U];continue}ar=hr,U%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[U/E|0]<<24):E>6&&U%E===4&&(ar=ce[ar>>>24]<<24|ce[ar>>>16&255]<<16|ce[ar>>>8&255]<<8|ce[ar&255]),$[U]=hr=($[U-E]^ar)>>>0}for(H=0;H<C;H++)U=C-H,H&3?ar=$[U]:ar=$[U-4],H<4||U<=4?ae[H]=ar:ae[H]=De[ce[ar>>>24]]^tt[ce[ar>>>16&255]]^at[ce[ar>>>8&255]]^Ft[ce[ar&255]],ae[H]=ae[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,C=this.invSBox,U=this.invSubMix,H=U[0],$=U[1],ae=U[2],ce=U[3],xe=this.uint8ArrayToUint32Array_(o);let Te=xe[0],De=xe[1],tt=xe[2],at=xe[3];const Ft=new Int32Array(t),hr=new Int32Array(Ft.length);let ar,zr,Wr,dn,Gr,un,mn,Qr,Yn,hi,os,ya,Ji,Ri;const ta=this.networkToHostOrderSwap;for(;n<Ft.length;){for(Yn=ta(Ft[n]),hi=ta(Ft[n+1]),os=ta(Ft[n+2]),ya=ta(Ft[n+3]),Gr=Yn^E[0],un=ya^E[1],mn=os^E[2],Qr=hi^E[3],Ji=4,Ri=1;Ri<m;Ri++)ar=H[Gr>>>24]^$[un>>16&255]^ae[mn>>8&255]^ce[Qr&255]^E[Ji],zr=H[un>>>24]^$[mn>>16&255]^ae[Qr>>8&255]^ce[Gr&255]^E[Ji+1],Wr=H[mn>>>24]^$[Qr>>16&255]^ae[Gr>>8&255]^ce[un&255]^E[Ji+2],dn=H[Qr>>>24]^$[Gr>>16&255]^ae[un>>8&255]^ce[mn&255]^E[Ji+3],Gr=ar,un=zr,mn=Wr,Qr=dn,Ji=Ji+4;ar=C[Gr>>>24]<<24^C[un>>16&255]<<16^C[mn>>8&255]<<8^C[Qr&255]^E[Ji],zr=C[un>>>24]<<24^C[mn>>16&255]<<16^C[Qr>>8&255]<<8^C[Gr&255]^E[Ji+1],Wr=C[mn>>>24]<<24^C[Qr>>16&255]<<16^C[Gr>>8&255]<<8^C[un&255]^E[Ji+2],dn=C[Qr>>>24]<<24^C[Gr>>16&255]<<16^C[un>>8&255]<<8^C[mn&255]^E[Ji+3],hr[n]=ta(ar^Te),hr[n+1]=ta(dn^De),hr[n+2]=ta(Wr^tt),hr[n+3]=ta(zr^at),Te=Yn,De=hi,tt=os,at=ya,n=n+4}return hr.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 ln.cbc:return"AES-CBC";case ln.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${P}`)}}const bi=16;class _n{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?cn(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,C)=>{const U=ArrayBuffer.isView(t)?t:new Uint8Array(t);this.softwareDecrypt(U,n,o,m);const H=this.flush();H?E(H.buffer):C(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(t),n,o,m)}softwareDecrypt(t,n,o,m){const{currentIV:E,currentResult:C,remainderData:U}=this;if(m!==ln.cbc||n.byteLength!==16)return Y.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),U&&(t=Gt(U,t),this.remainderData=null);const H=this.getValidChunk(t);if(!H.length)return null;E&&(o=E);let $=this.softwareDecrypter;$||($=this.softwareDecrypter=new An),$.expandKey(n);const ae=C;return this.currentResult=$.decrypt(H.buffer,0,o),this.currentIV=H.slice(-16).buffer,ae||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 nn(this.subtle,new Uint8Array(o),m).decrypt(t.buffer,E)):Promise.reject(new Error("web crypto not initialized"))).catch(E=>(Y.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 C=this.flush();if(C)return C.buffer}throw new Error("WebCrypto"+(E?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(t){let n=t;const o=t.length-t.length%bi;return o!==t.length&&(n=t.slice(0,o),this.remainderData=t.slice(o)),n}logOnce(t){this.logEnabled&&(Y.log(`[decrypter]: ${t}`),this.logEnabled=!1)}}const li=Math.pow(2,17);class $i{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,C=m.loader;return new Promise((U,H)=>{if(this.loader&&this.loader.destroy(),t.gap)if(t.tagList.some(De=>De[0]==="GAP")){H(xs(t));return}else t.gap=!1;const $=this.loader=E?new E(m):new C(m),ae=la(t);t.loader=$;const ce=Zr(m.fragLoadPolicy.default),xe={loadPolicy:ce,timeout:ce.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:t.sn==="initSegment"?1/0:li};t.stats=$.stats;const Te={onSuccess:(De,tt,at,Ft)=>{this.resetLoader(t,$);let hr=De.data;at.resetIV&&t.decryptdata&&(t.decryptdata.iv=new Uint8Array(hr.slice(0,16)),hr=hr.slice(16)),U({frag:t,part:null,payload:hr,networkDetails:Ft})},onError:(De,tt,at,Ft)=>{this.resetLoader(t,$),H(new Na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,response:b({url:o,data:void 0},De),error:new Error(`HTTP Error ${De.code} ${De.text}`),networkDetails:at,stats:Ft}))},onAbort:(De,tt,at)=>{this.resetLoader(t,$),H(new Na({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,error:new Error("Aborted"),networkDetails:at,stats:De}))},onTimeout:(De,tt,at)=>{this.resetLoader(t,$),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:De}))}};n&&(Te.onProgress=(De,tt,at,Ft)=>n({frag:t,part:null,payload:at,networkDetails:Ft})),$.load(ae,xe,Te)})}loadPart(t,n,o){this.abort();const m=this.config,E=m.fLoader,C=m.loader;return new Promise((U,H)=>{if(this.loader&&this.loader.destroy(),t.gap||n.gap){H(xs(t,n));return}const $=this.loader=E?new E(m):new C(m),ae=la(t,n);t.loader=$;const ce=Zr(m.fragLoadPolicy.default),xe={loadPolicy:ce,timeout:ce.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:li};n.stats=$.stats,$.load(ae,xe,{onSuccess:(Te,De,tt,at)=>{this.resetLoader(t,$),this.updateStatsFromPart(t,n);const Ft={frag:t,part:n,payload:Te.data,networkDetails:at};o(Ft),U(Ft)},onError:(Te,De,tt,at)=>{this.resetLoader(t,$),H(new Na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,part:n,response:b({url:ae.url,data:void 0},Te),error:new Error(`HTTP Error ${Te.code} ${Te.text}`),networkDetails:tt,stats:at}))},onAbort:(Te,De,tt)=>{t.stats.aborted=n.stats.aborted,this.resetLoader(t,$),H(new Na({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,part:n,error:new Error("Aborted"),networkDetails:tt,stats:Te}))},onTimeout:(Te,De,tt)=>{this.resetLoader(t,$),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:Te}))}})})}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),$=Math.min(Math.round(o.loaded/E),H),ce=(H-$)*Math.round(o.loaded/$);o.total=o.loaded+ce}else o.total=Math.max(o.loaded,o.total);const C=o.loading,U=m.loading;C.start?C.first+=U.first-U.start:(C.start=U.start,C.first=U.first),C.end=U.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 C;let U=m,H=E;if(P.sn==="initSegment"&&Pa((C=P.decryptdata)==null?void 0:C.method)){const $=E-m;$%16&&(H=E+(16-$%16)),m!==0&&(o.resetIV=!0,U=m-16)}o.rangeStart=U,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,C=!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=C}}function hs(){return{start:0,executeStart:0,executeEnd:0,end:0}}const oa={length:0,start:()=>0,end:()=>0};class xi{static isBuffered(t,n){if(t){const o=xi.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=xi.getBuffered(t);return xi.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=xi.bufferedRanges(t);if(m.length)return xi.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((ae,ce)=>ae.start-ce.start||ce.end-ae.end);let m=-1,E=[];if(o)for(let ae=0;ae<t.length;ae++){n>=t[ae].start&&n<=t[ae].end&&(m=ae);const ce=E.length;if(ce){const xe=E[ce-1].end;t[ae].start-xe<o?t[ae].end>xe&&(E[ce-1].end=t[ae].end):E.push(t[ae])}else E.push(t[ae])}else E=t;let C=0,U,H=n,$=n;for(let ae=0;ae<E.length;ae++){const ce=E[ae].start,xe=E[ae].end;if(m===-1&&n>=ce&&n<=xe&&(m=ae),n+o>=ce&&n<xe)H=ce,$=xe,C=$-n;else if(n+o<ce){U=ce;break}}return{len:C,start:H||0,end:$||0,nextStart:U,buffered:t,bufferedIndex:m}}static getBuffered(t){try{return t.buffered||oa}catch(n){return Y.log("failed to get media.buffered",n),oa}}}const Ga=/\{\$([a-zA-Z0-9-_]+)\}/g;function Ds(P){return Ga.test(P)}function ji(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 C=new self.URL(n).searchParams;if(C.has(m))E=C.get(m);else throw new Error(`"${m}" does not match any query parameter in URI: "${n}"`)}catch(C){P.playlistParsingError||(P.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${C.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 Ui{constructor(t,n){typeof t=="string"&&(t=Ui.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 C=o[1].trim();let U=o[2];const H=U.indexOf(E)===0&&U.lastIndexOf(E)===U.length-1;let $=!1;if(H)U=U.slice(1,-1);else switch(C){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":$=!0}if(n&&(H||$))U=ji(n,U);else if(!$&&!H)switch(C){case"CLOSED-CAPTIONS":if(U==="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":Y.warn(`${t}: attribute ${C} is missing quotes`)}m[C]=U}return m}}const Gs="com.apple.hls.interstitial";function Ln(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 C in E)if(Object.prototype.hasOwnProperty.call(t,C)&&t[C]!==E[C]){Y.warn(`DATERANGE tag attribute: "${C}" does not match for tags with ID: "${t.ID}"`),this._badValueForSameId=C;break}t=y(new Ui({}),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?(Y.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 ln.cbc;case"AES-256-CTR":return ln.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 C=o[m];o[m]=o[E],o[E]=C};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",C=m[1];E?(o.splice(-1,1),n=ms(C)):n=_o(C)}}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 pi(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),C=new DOMParser().parseFromString(o,"text/xml").getElementsByTagName("KID")[0];if(C){const U=C.childNodes[0]?C.childNodes[0].nodeValue:C.getAttribute("VALUE");if(U){const H=ms(U).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"&&(Y.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=pe(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 le.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 C;for(;(C=yo.exec(t))!=null;)if(C[1]){var U;const $=new Ui(C[1],m),ae=ji(m,C[2]),ce={attrs:$,bitrate:$.decimalInteger("BANDWIDTH")||$.decimalInteger("AVERAGE-BANDWIDTH"),name:$.NAME,url:fs.resolve(ae,n)},xe=$.decimalResolution("RESOLUTION");xe&&(ce.width=xe.width,ce.height=xe.height),ou($.CODECS,ce);const Te=$["SUPPLEMENTAL-CODECS"];Te&&(ce.supplemental={},ou(Te,ce.supplemental)),(U=ce.unknownCodecs)!=null&&U.length||E.push(ce),m.levels.push(ce)}else if(C[3]){const $=C[3],ae=C[4];switch($){case"SESSION-DATA":{const ce=new Ui(ae,m),xe=ce["DATA-ID"];xe&&(m.sessionData===null&&(m.sessionData={}),m.sessionData[xe]=ce);break}case"SESSION-KEY":{const ce=Io(ae,n,m);ce.encrypted&&ce.isSupported()?(m.sessionKeys===null&&(m.sessionKeys=[]),m.sessionKeys.push(ce)):Y.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${ae}"`);break}case"DEFINE":{{const ce=new Ui(ae,m);ps(m,ce,n)}break}case"CONTENT-STEERING":{const ce=new Ui(ae,m);m.contentSteering={uri:fs.resolve(ce["SERVER-URI"],n),pathwayId:ce["PATHWAY-ID"]||"."};break}case"START":{m.startTimeOffset=Us(ae);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={},C=o.levels,U={AUDIO:C.map($=>({id:$.attrs.AUDIO,audioCodec:$.audioCodec})),SUBTITLES:C.map($=>({id:$.attrs.SUBTITLES,textCodec:$.textCodec})),"CLOSED-CAPTIONS":[]};let H=0;for(Ko.lastIndex=0;(m=Ko.exec(t))!==null;){const $=new Ui(m[1],o),ae=$.TYPE;if(ae){const ce=U[ae],xe=E[ae]||[];E[ae]=xe;const Te=$.LANGUAGE,De=$["ASSOC-LANGUAGE"],tt=$.CHANNELS,at=$.CHARACTERISTICS,Ft=$["INSTREAM-ID"],hr={attrs:$,bitrate:0,id:H++,groupId:$["GROUP-ID"]||"",name:$.NAME||Te||"",type:ae,default:$.bool("DEFAULT"),autoselect:$.bool("AUTOSELECT"),forced:$.bool("FORCED"),lang:Te,url:$.URI?fs.resolve($.URI,n):""};if(De&&(hr.assocLang=De),tt&&(hr.channels=tt),at&&(hr.characteristics=at),Ft&&(hr.instreamId=Ft),ce!=null&&ce.length){const ar=fs.findGroup(ce,hr.groupId)||ce[0];jo(hr,ar,"audioCodec"),jo(hr,ar,"textCodec")}xe.push(hr)}}return E}static parseLevelPlaylist(t,n,o,m,E,C){var U;const H={url:n},$=new Vi(n),ae=$.fragments,ce=[];let xe=null,Te=0,De=0,tt=0,at=0,Ft=0,hr=null,ar=new Pe(m,H),zr,Wr,dn,Gr=-1,un=!1,mn=null,Qr;if(_u.lastIndex=0,$.m3u8=t,$.hasVariableRefs=Ds(t),((U=_u.exec(t))==null?void 0:U[0])!=="#EXTM3U")return $.playlistParsingError=new Error("Missing format identifier #EXTM3U"),$;for(;(zr=_u.exec(t))!==null;){un&&(un=!1,ar=new Pe(m,H),ar.playlistOffset=tt,ar.start=tt,ar.sn=Te,ar.cc=at,Ft&&(ar.bitrate=Ft),ar.level=o,xe&&(ar.initSegment=xe,xe.rawProgramDateTime&&(ar.rawProgramDateTime=xe.rawProgramDateTime,xe.rawProgramDateTime=null),mn&&(ar.setByteRange(mn),mn=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,dn&&mu(ar,dn,$),ar.sn=Te,ar.level=o,ar.cc=at,ae.push(ar);const Ji=(" "+zr[3]).slice(1);ar.relurl=ji($,Ji),Ls(ar,hr,ce),hr=ar,tt+=ar.duration,Te++,De=0,un=!0}}else{if(zr=zr[0].match(fo),!zr){Y.warn("No matches on slow regex match for level playlist!");continue}for(Wr=1;Wr<zr.length&&zr[Wr]===void 0;Wr++);const Ji=(" "+zr[Wr]).slice(1),Ri=(" "+zr[Wr+1]).slice(1),ta=zr[Wr+2]?(" "+zr[Wr+2]).slice(1):null;switch(Ji){case"BYTERANGE":hr?ar.setByteRange(Ri,hr):ar.setByteRange(Ri);break;case"PROGRAM-DATE-TIME":ar.rawProgramDateTime=Ri,ar.tagList.push(["PROGRAM-DATE-TIME",Ri]),Gr===-1&&(Gr=ae.length);break;case"PLAYLIST-TYPE":$.type&&Fo($,Ji,zr),$.type=Ri.toUpperCase();break;case"MEDIA-SEQUENCE":$.startSN!==0?Fo($,Ji,zr):ae.length>0&&Xt($,Ji,zr),Te=$.startSN=parseInt(Ri);break;case"SKIP":{$.skippedSegments&&Fo($,Ji,zr);const qi=new Ui(Ri,$),Xn=qi.decimalInteger("SKIPPED-SEGMENTS");if(r(Xn)){$.skippedSegments+=Xn;for(let wa=Xn;wa--;)ae.push(null);Te+=Xn}const ni=qi.enumeratedString("RECENTLY-REMOVED-DATERANGES");ni&&($.recentlyRemovedDateranges=($.recentlyRemovedDateranges||[]).concat(ni.split(" ")));break}case"TARGETDURATION":$.targetduration!==0&&Fo($,Ji,zr),$.targetduration=Math.max(parseInt(Ri),1);break;case"VERSION":$.version!==null&&Fo($,Ji,zr),$.version=parseInt(Ri);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":$.live||Fo($,Ji,zr),$.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]),Ft=parseInt(Ri)*1e3,r(Ft)?ar.bitrate=Ft:Ft=0;break;case"DATERANGE":{const qi=new Ui(Ri,$),Xn=new ns(qi,$.dateRanges[qi.ID],$.dateRangeTagCount);$.dateRangeTagCount++,Xn.isValid||$.skippedSegments?$.dateRanges[Xn.id]=Xn:Y.warn(`Ignoring invalid DATERANGE tag: "${Ri}"`),ar.tagList.push(["EXT-X-DATERANGE",Ri]);break}case"DEFINE":{{const qi=new Ui(Ri,$);"IMPORT"in qi?Co($,qi,C):ps($,qi,n)}break}case"DISCONTINUITY-SEQUENCE":$.startCC!==0?Fo($,Ji,zr):ae.length>0&&Xt($,Ji,zr),$.startCC=at=parseInt(Ri);break;case"KEY":{const qi=Io(Ri,n,$);if(qi.isSupported()){if(qi.method==="NONE"){dn=void 0;break}dn||(dn={}),dn[qi.keyFormat]&&(dn=y({},dn)),dn[qi.keyFormat]=qi}else Y.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${Ri}"`);break}case"START":$.startTimeOffset=Us(Ri);break;case"MAP":{const qi=new Ui(Ri,$);if(ar.duration){const Xn=new Pe(m,H);bo(Xn,qi,o,dn),xe=Xn,ar.initSegment=xe,xe.rawProgramDateTime&&!ar.rawProgramDateTime&&(ar.rawProgramDateTime=xe.rawProgramDateTime)}else{const Xn=ar.byteRangeEndOffset;if(Xn){const ni=ar.byteRangeStartOffset;mn=`${Xn-ni}@${ni}`}else mn=null;bo(ar,qi,o,dn),xe=ar,un=!0}xe.cc=at;break}case"SERVER-CONTROL":{Qr&&Fo($,Ji,zr),Qr=new Ui(Ri),$.canBlockReload=Qr.bool("CAN-BLOCK-RELOAD"),$.canSkipUntil=Qr.optionalFloat("CAN-SKIP-UNTIL",0),$.canSkipDateRanges=$.canSkipUntil>0&&Qr.bool("CAN-SKIP-DATERANGES"),$.partHoldBack=Qr.optionalFloat("PART-HOLD-BACK",0),$.holdBack=Qr.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{$.partTarget&&Fo($,Ji,zr);const qi=new Ui(Ri);$.partTarget=qi.decimalFloatingPoint("PART-TARGET");break}case"PART":{let qi=$.partList;qi||(qi=$.partList=[]);const Xn=De>0?qi[qi.length-1]:void 0,ni=De++,wa=new Ui(Ri,$),Sa=new Re(wa,ar,H,ni,Xn);qi.push(Sa),ar.duration+=Sa.duration;break}case"PRELOAD-HINT":{const qi=new Ui(Ri,$);$.preloadHint=qi;break}case"RENDITION-REPORT":{const qi=new Ui(Ri,$);$.renditionReports=$.renditionReports||[],$.renditionReports.push(qi);break}default:Y.warn(`line parsed but not handled: ${zr}`);break}}}hr&&!hr.relurl?(ae.pop(),tt-=hr.duration,$.partList&&($.fragmentHint=hr)):$.partList&&(Ls(ar,hr,ce),ar.cc=at,$.fragmentHint=ar,dn&&mu(ar,dn,$)),$.targetduration||($.playlistParsingError=new Error("#EXT-X-TARGETDURATION is required"));const Yn=ae.length,hi=ae[0],os=ae[Yn-1];if(tt+=$.skippedSegments*$.targetduration,tt>0&&Yn&&os){$.averagetargetduration=tt/Yn;const ya=os.sn;$.endSN=ya!=="initSegment"?ya:0,$.live||(os.endList=!0),hi&&$.startCC===void 0&&($.startCC=hi.cc),Gr>0&&(Do(ae,Gr),hi&&ce.unshift(hi))}else $.endSN=0,$.startCC=0;return $.fragmentHint&&(tt+=$.fragmentHint.duration),$.totalduration=tt,ce.length&&$.dateRangeTagCount&&hi&&zu(ce,$),$.endCC=at,$}}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 C=E.length;C--;){const U=t.dateRanges[E[C]],H=U.startDate.getTime();U.tagAnchor=o.ref;for(let $=n;$--;){const ae=Mo(t,H,P,$,m);if(ae!==-1){U.tagAnchor=t.fragments[ae].ref;break}}}}function Mo(P,t,n,o,m){const E=n[o];if(E){const U=E.programDateTime;if(t>=U||o===0){var C;const H=(((C=n[o+1])==null?void 0:C.start)||m)-E.start;if(t<=U+H*1e3){const $=n[o].sn-P.startSN,ae=P.fragments;if(ae.length>n.length){const xe=(n[o+1]||ae[ae.length-1]).sn-P.startSN;for(let Te=xe;Te>$;Te--){const De=ae[Te].programDateTime;if(t>=De&&t<De+ae[Te].duration*1e3)return Te}}return $}}}return-1}function Io(P,t,n){var o,m;const E=new Ui(P,n),C=(o=E.METHOD)!=null?o:"",U=E.URI,H=E.hexadecimalInteger("IV"),$=E.KEYFORMATVERSIONS,ae=(m=E.KEYFORMAT)!=null?m:"identity";U&&E.IV&&!H&&Y.error(`Invalid IV: ${E.IV}`);const ce=U?fs.resolve(U,t):"",xe=($||"1").split("/").map(Number).filter(Number.isFinite);return new Qa(C,ce,ae,xe,H)}function Us(P){const n=new Ui(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=>At(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 Xt(P,t,n){P.playlistParsingError=new Error(`#EXT-X-${t} must appear before the first Media Segment (${n[0]})`)}function fr(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&&(Y.warn("Fragment should have a positive duration",t),o=n+t.duration,E=m+t.duration);let U=n,H=o;const $=t.startPTS,ae=t.endPTS;if(r($)){const at=Math.abs($-n);r(t.deltaPTS)?t.deltaPTS=Math.max(at,t.deltaPTS):t.deltaPTS=at,U=Math.max(n,$),n=Math.min(n,$),m=Math.min(m,t.startDTS),H=Math.min(o,ae),o=Math.max(o,ae),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=U,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 Te;const De=xe-P.startSN,tt=P.fragments;for(tt[De]=t,Te=De;Te>0;Te--)fr(tt[Te],tt[Te-1]);for(Te=De;Te<tt.length-1;Te++)fr(tt[Te],tt[Te+1]);return P.fragmentHint&&fr(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 $=o[H].initSegment;if($){n=$;break}}P.fragmentHint&&delete P.fragmentHint.endPTS;let m;Sn(P,t,(H,$,ae,ce)=>{if(!t.startCC&&$.cc!==H.cc){var xe,Te;const De=H.cc-$.cc;for(let tt=ae;tt<ce.length;tt++)ce[tt].cc+=De;t.startCC=(xe=(Te=Mr(P,t.startSN-1))==null?void 0:Te.cc)!=null?xe:ce[0].cc,t.endCC=ce[ce.length-1].cc}r(H.startPTS)&&r(H.endPTS)&&($.setStart($.startPTS=H.startPTS),$.startDTS=H.startDTS,$.maxStartPTS=H.maxStartPTS,$.endPTS=H.endPTS,$.endDTS=H.endDTS,$.minEndPTS=H.minEndPTS,$.setDuration(H.endPTS-H.startPTS),$.duration&&(m=$),t.PTSKnown=t.alignedSliding=!0),H.hasStreams&&($.elementaryStreams=H.elementaryStreams),$.loader=H.loader,H.hasStats&&($.stats=H.stats),H.initSegment&&($.initSegment=H.initSegment,n=H.initSegment)});const E=t.fragments,C=t.fragmentHint?E.concat(t.fragmentHint):E;if(n&&C.forEach(H=>{var $;H&&(!H.initSegment||H.initSegment.relurl===(($=n)==null?void 0:$.relurl))&&(H.initSegment=n)}),t.skippedSegments)if(t.deltaUpdateFailed=E.some(H=>!H),t.deltaUpdateFailed){Y.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($=>$.rawProgramDateTime);if(P.hasProgramDateTime&&!t.hasProgramDateTime)for(let $=1;$<C.length;$++)C[$].programDateTime===null&&Ls(C[$],C[$-1],H);zu(H,t)}xn(P.partList,t.partList,(H,$)=>{$.elementaryStreams=H.elementaryStreams,$.stats=H.stats}),m?sr(t,m,m.startPTS,m.endPTS,m.startDTS,m.endDTS):Mn(P,t),E.length&&(t.totalduration=t.edge-E[0].start),t.driftStartTime=P.driftStartTime,t.driftStart=P.driftStart;const U=t.advancedDateTime;if(t.advanced&&U){const H=t.edge;t.driftStart||(t.driftStartTime=U,t.driftStart=H),t.driftEndTime=U,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(U=>{delete m[U]});const C=Object.keys(m).length;return C&&Object.keys(n).forEach(U=>{const H=m[U],$=new ns(n[U].attr,H);$.isValid?(m[U]=$,H||($.tagOrder+=C)):Y.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${zn(n[U].attr)}"`)}),m}function xn(P,t,n){if(P&&t){let o=0;for(let m=0,E=P.length;m<=E;m++){const C=P[m],U=t[m+o];C&&U&&C.index===U.index&&C.fragment.sn===U.fragment.sn?n(C,U):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,C=t.startSN-P.startSN,U=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,H=P.fragmentHint?P.fragments.concat(P.fragmentHint):P.fragments;for(let $=m;$<=E;$++){const ae=H[C+$];let ce=U[$];if(o&&!ce&&ae&&(ce=t.fragments[$]=ae),ae&&ce){if(n(ae,ce,$,U),ae.url&&ae.url!==ce.url){t.playlistParsingError=Un(`media sequence mismatch ${ce.sn}:`,P,t,ae,ce);return}else if(ae.cc!==ce.cc){t.playlistParsingError=Un(`discontinuity sequence mismatch (${ae.cc}!=${ce.cc})`,P,t,ae,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 Mn(P,t,n=!0){const o=t.startSN+t.skippedSegments-P.startSN,m=P.fragments,E=o>=0;let C=0;if(E&&o<m.length)C=m[o].start;else if(E&&t.startSN===P.endSN+1)C=P.fragmentEnd;else if(E&&n)C=P.fragmentStart+o*t.levelTargetDuration;else if(!t.skippedSegments&&t.fragmentStart===0)C=P.fragmentStart;else return;Gn(t,C)}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 Mr(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?vn(P.partList,t,n):null}function vn(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 ct(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 In(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 ci(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&&(Br(t,P),!t.alignedSliding&&P&&Mi(t,P),!t.alignedSliding&&P&&!t.skippedSegments&&Mn(P,t,!1))}function Br(P,t){if(!In(t,P))return;const n=Math.min(t.endCC,P.endCC),o=ct(t.fragments,n),m=ct(P.fragments,n);if(!o||!m)return;Y.log(`Aligning playlist at start of dicontinuity sequence ${n}`);const E=o.start-m.start;ci(E,P)}function Mi(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 C=Math.min(t.endCC,P.endCC);t.startCC<C&&P.startCC<C&&(m=ct(o,C),E=ct(n,C)),(!m||!E)&&(m=o[Math.floor(o.length/2)],E=ct(n,m.cc)||n[Math.floor(n.length/2)]);const U=m.programDateTime,H=E.programDateTime;if(!U||!H)return;const $=(H-U)/1e3-(E.start-m.start);ci($,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}},Ur={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=Ur.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:C,fragCurrent:U,media:H,mediaBuffer:$,state:ae}=this,ce=H?H.currentTime:0,xe=xi.bufferInfo($||H,ce,C.maxBufferHole);if(this.log(`media seeking to ${r(ce)?ce.toFixed(3):ce}, state: ${ae}`),this.state===Ur.ENDED)this.resetLoadingState();else if(U){const Te=C.maxFragLookUpTolerance,De=U.start-Te,tt=U.start+U.duration+Te;if(!xe.len||tt<xe.start||De>xe.end){const at=ce>tt;(ce<De||at)&&(at&&U.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),U.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(H){this.fragmentTracker.removeFragmentsInRange(ce,1/0,this.playlistType,!0);const Te=this.lastCurrentTime;if(ce>Te&&(this.lastCurrentTime=ce),!this.loadingParts){const De=Math.max(xe.end,ce),tt=this.shouldLoadParts(this.getLevelDetails(),De);tt&&(this.log(`LL-Part loading ON after seeking to ${ce.toFixed(2)} with buffer @${De.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 $i(t.config),this.keyLoader=o,this.fragmentTracker=n,this.config=t.config,this.decrypter=new _n(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===Ur.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=Ur.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 U=n.partList;if(U!=null&&U.length){const $=U[U.length-1];return xi.isBuffered(this.media,$.start+$.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===Ur.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=Ur.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 C=E.frag;if(this.fragContextChanged(C)){this.warn(`${C.type} sn: ${C.sn}${E.part?" part: "+E.part.index:""} of ${this.fragInfo(C,!1,E.part)}) was dropped during download.`),this.fragmentTracker.removeFragment(C);return}C.stats.chunkCount++,this._handleFragmentLoadProgress(E)};this._doFragLoad(t,n,o,m).then(E=>{if(!E)return;const C=this.state,U=E.frag;if(this.fragContextChanged(U)){(C===Ur.FRAG_LOADING||!this.fragCurrent&&C===Ur.PARSING)&&(this.fragmentTracker.removeFragment(U),this.state=Ur.IDLE);return}"payload"in E&&(this.log(`Loaded ${U.type} sn: ${U.sn} of ${this.playlistLabel()} ${U.level}`),this.hls.trigger(s.FRAG_LOADED,E)),this._handleFragmentLoadComplete(E)}).catch(E=>{this.state===Ur.STOPPED||this.state===Ur.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,C=this.getFwdBufferInfo(this.mediaBuffer,E),U=Math.max(t.duration,C?C.len:this.config.maxBufferLength),H=this.backtrackFragment;((H?t.sn-H.sn:0)===1||this.reduceMaxBufferLength(U,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:C}=o,U=E.decryptdata;if(C&&C.byteLength>0&&U!=null&&U.key&&U.iv&&Ia(U.method)){const H=self.performance.now();return this.decrypter.decrypt(new Uint8Array(C),U.key.buffer,U.iv.buffer,Da(U.method)).catch($=>{throw m.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:$,reason:$.message,frag:E}),$}).then($=>{const ae=self.performance.now();return m.trigger(s.FRAG_DECRYPTED,{frag:E,payload:$,stats:{tstart:H,tdecrypt:ae}}),o.payload=$,this.completeInitSegmentLoad(o)})}return this.completeInitSegmentLoad(o)}).catch(o=>{this.state===Ur.STOPPED||this.state===Ur.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!==Ur.STOPPED&&(this.state=Ur.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(xi.getBuffered(o)):"(detached)"})`),_e(t)){var m;if(t.type!==u.SUBTITLE){const C=t.elementaryStreams;if(!Object.keys(C).some(U=>!!C[U])){this.state=Ur.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=Ur.IDLE}_handleFragmentLoadComplete(t){const{transmuxer:n}=this;if(!n)return;const{frag:o,part:m,partsLoaded:E}=t,C=!E||E.length===0||E.some(H=>!H),U=new $a(o.level,o.sn,o.stats.chunkCount+1,0,m?m.index:-1,!C);n.flush(U)}_handleFragmentLoadProgress(t){}_doFragLoad(t,n,o=null,m){var E;this.fragCurrent=t;const C=n==null?void 0:n.details;if(!this.levels||!C)throw new Error(`frag load aborted, missing level${C?"":" detail"}s`);let U=null;t.encrypted&&!((E=t.decryptdata)!=null&&E.key)?(this.log(`Loading key for ${t.sn} of [${C.startSN}-${C.endSN}], ${this.playlistLabel()} ${t.level}`),this.state=Ur.KEY_LOADING,this.fragCurrent=t,U=this.keyLoader.load(t).then(ce=>{if(!this.fragContextChanged(ce.frag))return this.hls.trigger(s.KEY_LOADED,ce),this.state===Ur.KEY_LOADING&&(this.state=Ur.IDLE),ce}),this.hls.trigger(s.KEY_LOADING,{frag:t}),this.fragCurrent===null&&(U=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))):!t.encrypted&&C.encryptedFragments.length&&this.keyLoader.loadClear(t,C.encryptedFragments);const H=this.fragPrevious;if(_e(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&&_e(t)){const ce=C.partList;if(ce&&m){o>t.end&&C.fragmentHint&&(t=C.fragmentHint);const xe=this.getNextPart(ce,t,o);if(xe>-1){const Te=ce[xe];t=this.fragCurrent=Te.fragment,this.log(`Loading ${t.type} sn: ${t.sn} part: ${Te.index} (${xe}/${ce.length-1}) of ${this.fragInfo(t,!1,Te)}) cc: ${t.cc} [${C.startSN}-${C.endSN}], target: ${parseFloat(o.toFixed(3))}`),this.nextLoadPosition=Te.start+Te.duration,this.state=Ur.FRAG_LOADING;let De;return U?De=U.then(tt=>!tt||this.fragContextChanged(tt.frag)?null:this.doFragPartsLoad(t,Te,n,m)).catch(tt=>this.handleFragLoadError(tt)):De=this.doFragPartsLoad(t,Te,n,m).catch(tt=>this.handleFragLoadError(tt)),this.hls.trigger(s.FRAG_LOADING,{frag:t,part:Te,targetBufferTime:o}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):De}else if(!t.url||this.loadedEndOfParts(ce,o))return Promise.resolve(null)}}if(_e(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} ${C?"["+C.startSN+"-"+C.endSN+"]":""}, target: ${parseFloat(o.toFixed(3))}`),r(t.sn)&&!this.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),this.state=Ur.FRAG_LOADING;const $=this.config.progressive;let ae;return $&&U?ae=U.then(ce=>!ce||this.fragContextChanged(ce==null?void 0:ce.frag)?null:this.fragmentLoader.load(t,m)).catch(ce=>this.handleFragLoadError(ce)):ae=Promise.all([this.fragmentLoader.load(t,$?m:void 0),U]).then(([ce])=>(!$&&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")):ae}doFragPartsLoad(t,n,o,m){return new Promise((E,C)=>{var U;const H=[],$=(U=o.details)==null?void 0:U.partList,ae=ce=>{this.fragmentLoader.loadPart(t,ce,m).then(xe=>{H[ce.index]=xe;const Te=xe.part;this.hls.trigger(s.FRAG_LOADED,xe);const De=xr(o.details,t.sn,ce.index+1)||vn($,t.sn,ce.index+1);if(De)ae(De);else return E({frag:t,part:Te,partsLoaded:H})}).catch(C)};ae(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!==Ur.PARSING){!this.fragCurrent&&this.state!==Ur.STOPPED&&this.state!==Ur.ERROR&&(this.state=Ur.IDLE);return}const{frag:o,part:m,level:E}=n,C=self.performance.now();o.stats.parsing.end=C,m&&(m.stats.parsing.end=C);const U=this.getLevelDetails(),$=U&&o.sn>U.endSN||this.shouldLoadParts(U,o.end);$!==this.loadingParts&&(this.log(`LL-Part loading ${$?"ON":"OFF"} after parsing segment ending @${o.end.toFixed(2)}`),this.loadingParts=$),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],C=E.end+(((o=t.fragmentHint)==null?void 0:o.duration)||0);if(n>=C){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:C}=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 U=n[m],H=U.details,$=C>-1?xr(H,E,C):null,ae=$?$.fragment:Mr(H,E,o);return ae?(o&&o!==ae&&(ae.stats=o.stats),{frag:ae,part:$,level:U}):null}bufferFragmentData(t,n,o,m,E){var C;if(!t||this.state!==Ur.PARSING)return;const{data1:U,data2:H}=t;let $=U;if(U&&H&&($=Gt(U,H)),!((C=$)!=null&&C.length))return;const ae={type:t.type,frag:n,part:o,chunkMeta:m,parent:n.type,data:$};if(this.hls.trigger(s.BUFFER_APPENDING,ae),t.dropped&&t.independent&&!o){if(E)return;this.flushBufferGap(n)}}flushBufferGap(t){const n=this.media;if(!n)return;if(!xi.isBuffered(n,n.currentTime)){this.flushMainBuffer(0,t.start);return}const o=n.currentTime,m=xi.bufferInfo(n,o,0),E=t.duration,C=Math.min(this.config.maxFragLookUpTolerance*2,E*.25),U=Math.max(Math.min(t.start-C,m.end-C),o+C);t.start-U>C&&this.flushMainBuffer(U,t.start)}getFwdBufferInfo(t,n){var o;const m=this.getLoadPosition();if(!r(m))return null;const C=this.lastCurrentTime>m||(o=this.media)!=null&&o.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(t,m,n,C)}getFwdBufferInfoAtPos(t,n,o,m){const E=xi.bufferInfo(t,n,m);if(E.len===0&&E.nextStart!==void 0){const C=this.fragmentTracker.getBufferedFrag(n,o);if(C&&(E.nextStart<=C.end||C.gap)){const U=Math.max(Math.min(E.nextStart,C.end)-n,m);return xi.bufferInfo(t,n,U)}}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,C=o[0].start,U=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<C){var $;U&&!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,Te=this.hls.liveSyncPosition,De=H?(xe!==-1&&xe>=C?xe:Te)||H.start:t;this.log(`Setting startPosition to ${De} to match start frag at live edge. mainStart: ${xe} liveSyncPosition: ${Te} frag.start: ${($=H)==null?void 0:$.start}`),this.startPosition=this.nextLoadPosition=De}}else t<=C&&(H=o[0]);if(!H){const ce=this.loadingParts?n.partEnd:n.fragmentEnd;H=this.getFragmentAtPosition(t,ce,n)}let ae=this.filterReplacedPrimary(H,n);if(!ae&&H){const ce=H.sn-n.startSN;ae=this.filterReplacedPrimary(o[ce+1]||null,n)}return this.mapToInitFragWhenRequired(ae)}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 C=null;if(t.gap&&(C=this.getNextFragment(this.nextLoadPosition,n),C&&!C.gap&&o.nextStart)){const U=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,o.nextStart,m,0);if(U!==null&&o.len+U.len>=E){const H=C.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,C}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 C=m.event;if(C){if(C.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 C=E.length;C--;){const U=E[C].interstitial;if(U.appendInPlace&&t.start>=U.startTime&&t.end<=U.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,C=!0;for(let U=0,H=t.length;U<H;U++){const $=t[U];if(C=C&&!$.independent,m>-1&&o<$.start)break;const ae=$.loaded;ae?m=-1:(E||$.independent||C)&&$.fragment===n&&(m=U),E=ae}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=ai(n,o.endProgramDateTime,this.config.maxFragLookUpTolerance)),!m){const E=o.sn+1;if(E>=t.startSN&&E<=t.endSN){const C=n[E-t.startSN];o.cc===C.cc&&(m=C,this.log(`Live playlist, switching playlist, load frag with next SN: ${m.sn}`))}m||(m=It(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:C,endSN:U}=o;const{fragmentHint:H}=o,{maxFragLookUpTolerance:$}=m,ae=o.partList,ce=!!(this.loadingParts&&ae!=null&&ae.length&&H);ce&&H&&!this.bitrateTest&&ae[ae.length-1].fragment.sn===H.sn&&(C=C.concat(H),U=H.sn);let xe;if(t<n){var Te;const tt=t<this.lastCurrentTime||t>n-$||(Te=this.media)!=null&&Te.paused||!this.startFragRequested?0:$;xe=En(E,C,t,tt)}else xe=C[C.length-1];if(xe){const De=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||ae[0].fragment.sn>xe.sn||!o.live&&!ce)&&E&&xe.level===E.level){const Ft=C[De+1];xe.sn<U&&this.fragmentTracker.getState(Ft)!==Er.OK?xe=Ft: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,C=!n,U=t.alignedSliding&&r(E);if(C||!U&&!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,C=E?this.startTimeOffset:t.startTimeOffset;C!==null&&r(C)?(o=n+C,C<0&&(o+=t.edge),o=Math.min(Math.max(n,o),n+t.totalduration),this.log(`Setting startPosition to ${o} for start time offset ${C} 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&&_e(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!==Ur.FRAG_LOADING_WAITING_RETRY)&&(this.state=Ur.IDLE)}onFragmentOrKeyLoadError(t,n){if(n.chunkMeta&&!n.frag){const De=this.getCurrentContext(n.chunkMeta);De&&(n.frag=De.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 C=n.errorAction,{action:U,flags:H,retryCount:$=0,retryConfig:ae}=C||{},ce=!!C&&!!ae,xe=ce&&U===Ee.RetryRequest,Te=ce&&!C.resolved&&H===it.MoveAllAlternatesMatchingHost;if(!xe&&Te&&_e(o)&&!o.endList)this.resetFragmentErrors(t),this.treatAsGap(o),C.resolved=!0;else if((xe||Te)&&$<ae.maxNumRetry){this.resetStartWhenNotLoaded(this.levelLastLoaded);const De=Ir(ae,$);this.warn(`Fragment ${o.sn} of ${t} ${o.level} errored with ${n.details}, retrying loading ${$+1}/${ae.maxNumRetry} in ${De}ms`),C.resolved=!0,this.retryDate=self.performance.now()+De,this.state=Ur.FRAG_LOADING_WAITING_RETRY}else if(ae&&C)if(this.resetFragmentErrors(t),$<ae.maxNumRetry)!E&&U!==Ee.RemoveAlternatePermanently&&(C.resolved=!0);else{this.warn(`${n.details} reached or exceeded max retry (${$})`);return}else U===Ee.SendAlternateToPenaltyBox?this.state=Ur.WAITING_LEVEL:this.state=Ur.ERROR;this.tickImmediate()}reduceLengthAndFlushBuffer(t){if(this.state===Ur.PARSING||this.state===Ur.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 C=!E;return C&&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(),C}return!1}resetFragmentErrors(t){t===u.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==Ur.STOPPED&&(this.state=Ur.IDLE)}afterBufferFlushed(t,n,o){if(!t)return;const m=xi.getBuffered(t);this.fragmentTracker.detectEvictedFragments(n,m,o),this.state===Ur.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==Ur.STOPPED&&(this.state=Ur.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,$)=>{const ae=t.elementaryStreams[$];if(ae){const ce=ae.endPTS-ae.startPTS;if(ce<=0)return this.warn(`Could not parse fragment ${t.sn} ${$} duration reliably (${ce})`),H||!1;const xe=m?0:sr(E,t,ae.startPTS,ae.endPTS,ae.startDTS,ae.endDTS);return this.hls.trigger(s.LEVEL_PTS_UPDATED,{details:E,level:o,drift:xe,type:$,frag:t,start:ae.startPTS,end:ae.endPTS}),!0}return H},!1)){var U;if(o.fragmentError===0&&this.treatAsGap(t,o),((U=this.transmuxer)==null?void 0:U.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=Ur.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 fi{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,$,ae){this.fn=H,this.context=$,this.once=ae||!1}function E(H,$,ae,ce,xe){if(typeof ae!="function")throw new TypeError("The listener must be a function");var Te=new m(ae,ce||H,xe),De=n?n+$:$;return H._events[De]?H._events[De].fn?H._events[De]=[H._events[De],Te]:H._events[De].push(Te):(H._events[De]=Te,H._eventsCount++),H}function C(H,$){--H._eventsCount===0?H._events=new o:delete H._events[$]}function U(){this._events=new o,this._eventsCount=0}U.prototype.eventNames=function(){var $=[],ae,ce;if(this._eventsCount===0)return $;for(ce in ae=this._events)t.call(ae,ce)&&$.push(n?ce.slice(1):ce);return Object.getOwnPropertySymbols?$.concat(Object.getOwnPropertySymbols(ae)):$},U.prototype.listeners=function($){var ae=n?n+$:$,ce=this._events[ae];if(!ce)return[];if(ce.fn)return[ce.fn];for(var xe=0,Te=ce.length,De=new Array(Te);xe<Te;xe++)De[xe]=ce[xe].fn;return De},U.prototype.listenerCount=function($){var ae=n?n+$:$,ce=this._events[ae];return ce?ce.fn?1:ce.length:0},U.prototype.emit=function($,ae,ce,xe,Te,De){var tt=n?n+$:$;if(!this._events[tt])return!1;var at=this._events[tt],Ft=arguments.length,hr,ar;if(at.fn){switch(at.once&&this.removeListener($,at.fn,void 0,!0),Ft){case 1:return at.fn.call(at.context),!0;case 2:return at.fn.call(at.context,ae),!0;case 3:return at.fn.call(at.context,ae,ce),!0;case 4:return at.fn.call(at.context,ae,ce,xe),!0;case 5:return at.fn.call(at.context,ae,ce,xe,Te),!0;case 6:return at.fn.call(at.context,ae,ce,xe,Te,De),!0}for(ar=1,hr=new Array(Ft-1);ar<Ft;ar++)hr[ar-1]=arguments[ar];at.fn.apply(at.context,hr)}else{var zr=at.length,Wr;for(ar=0;ar<zr;ar++)switch(at[ar].once&&this.removeListener($,at[ar].fn,void 0,!0),Ft){case 1:at[ar].fn.call(at[ar].context);break;case 2:at[ar].fn.call(at[ar].context,ae);break;case 3:at[ar].fn.call(at[ar].context,ae,ce);break;case 4:at[ar].fn.call(at[ar].context,ae,ce,xe);break;default:if(!hr)for(Wr=1,hr=new Array(Ft-1);Wr<Ft;Wr++)hr[Wr-1]=arguments[Wr];at[ar].fn.apply(at[ar].context,hr)}}return!0},U.prototype.on=function($,ae,ce){return E(this,$,ae,ce,!1)},U.prototype.once=function($,ae,ce){return E(this,$,ae,ce,!0)},U.prototype.removeListener=function($,ae,ce,xe){var Te=n?n+$:$;if(!this._events[Te])return this;if(!ae)return C(this,Te),this;var De=this._events[Te];if(De.fn)De.fn===ae&&(!xe||De.once)&&(!ce||De.context===ce)&&C(this,Te);else{for(var tt=0,at=[],Ft=De.length;tt<Ft;tt++)(De[tt].fn!==ae||xe&&!De[tt].once||ce&&De[tt].context!==ce)&&at.push(De[tt]);at.length?this._events[Te]=at.length===1?at[0]:at:C(this,Te)}return this},U.prototype.removeAllListeners=function($){var ae;return $?(ae=n?n+$:$,this._events[ae]&&C(this,ae)):(this._events=new o,this._eventsCount=0),this},U.prototype.off=U.prototype.removeListener,U.prototype.addListener=U.prototype.on,U.prefixed=n,U.EventEmitter=U,P.exports=U}(xo)),xo.exports}var ds=xa(),ks=G(ds);const Dn="1.6.2",gs={};function Ns(){return typeof __HLS_WORKER_BUNDLE__=="function"}function Ye(){const P=gs[Dn];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[Dn]=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 Lt(P){const t=gs[P||Dn];if(t&&t.clientCount--===1){const{worker:o,objectURL:m}=t;delete gs[P||Dn],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 pr(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 $r(P,t){const n=t;let o=0;for(;pr(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 gn(P,t,n,o){const m=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],E=t[n+2],C=E>>2&15;if(C>12){const Te=new Error(`invalid ADTS sampling index:${C}`);P.emit(s.ERROR,s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!0,error:Te,reason:Te.message});return}const U=(E>>6&3)+1,H=t[n+3]>>6&3|(E&1)<<2,$="mp4a.40."+U,ae=m[C];let ce=C;(U===5||U===29)&&(ce-=3);const xe=[U<<3|(ce&14)>>1,(ce&1)<<7|H<<3];return Y.log(`manifest codec:${o}, parsed codec:${$}, channels:${H}, rate:${ae} (ADTS object type:${U} sampling index:${C})`),{config:xe,samplerate:ae,channelCount:H,codec:$,parsedCodec:$,manifestCodec:o}}function an(P,t){return P[t]===255&&(P[t+1]&246)===240}function yn(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 ri(P,t){return t+5<P.length}function vi(P,t){return t+1<P.length&&an(P,t)}function Ii(P,t){return ri(P,t)&&an(P,t)&&Qn(P,t)<=P.length-t}function Hi(P,t){if(vi(P,t)){const n=yn(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||vi(P,m)}return!1}function Fi(P,t,n,o,m){if(!P.samplerate){const E=gn(t,n,o,m);if(!E)return;y(P,E)}}function Si(P){return 9216e4/P}function ma(P,t){const n=yn(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=Si(P.samplerate),C=o+m*E,U=ma(t,n);let H;if(U){const{frameLength:ce,headerLength:xe}=U,Te=xe+ce,De=Math.max(0,n+Te-t.length);De?(H=new Uint8Array(Te-xe),H.set(t.subarray(n+xe,t.length),0)):H=t.subarray(n+xe,n+Te);const tt={unit:H,pts:C};return De||P.samples.push(tt),{sample:tt,length:Te,missing:De}}const $=t.length-n;return H=new Uint8Array($),H.set(t.subarray(n,t.length),0),{sample:{unit:H,pts:C},length:$,missing:-1}}function Ei(P,t){return pr(P,t)&&Rr(P,t+6)+10<=P.length-t}function fa(P){if(P.size<2)return;const t=K(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=K(P.data.subarray(n),!0);n+=o.length+1;const m=K(P.data.subarray(n));return{key:P.type,info:o,data:m}}const t=K(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=K(P.data.subarray(n),!0);n+=o.length+1;const m=K(P.data.subarray(n));return{key:P.type,info:o,data:m}}const t=K(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 C=qa(P)?P.byteOffset:0,U=(C+P.byteLength)/E,H=(C+t)/E,$=Math.floor(Math.max(0,Math.min(H,U))),ae=Math.floor(Math.min($+Math.max(n,0),U));return new o(m,$,ae-$)}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=K(Ba(P.data,1,o)),E=P.data[2+o],C=P.data.subarray(3+o).indexOf(0);if(C===-1)return;const U=K(Ba(P.data,3+o,C));let H;return m==="-->"?H=K(Ba(P.data,4+o+C)):H=va(P.data.subarray(4+o+C)),t.mimeType=m,t.pictureType=E,t.description=U,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(;pr(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)),C=Ya(E);C&&n.push(C),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 we=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 en{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=$r(t,0),m=o?o.length:0,E;const C=this._audioTrack,U=this._id3Track,H=o?ye(o):void 0,$=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&&U.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:o,type:we.audioId3,duration:Number.POSITIVE_INFINITY});m<$;){if(this.canParse(t,m)){const ae=this.appendFrame(C,t,m);ae?(this.frameIndex++,this.lastPTS=ae.sample.pts,m+=ae.length,E=m):m=$}else Ei(t,m)?(o=$r(t,m),U.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:o,type:we.audioId3,duration:Number.POSITIVE_INFINITY}),m+=o.length,E=m):m++;if(m===$&&E!==$){const ae=t.slice(E);this.cachedData?this.cachedData=Gt(this.cachedData,ae):this.cachedData=ae}}return{audioTrack:C,videoTrack:yr(),id3Track:U,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],ti=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Bi=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Fn=[0,1,1,4];function On(P,t,n,o,m){if(n+24>t.length)return;const E=Bn(t,n);if(E&&n+E.frameLength<=t.length){const C=E.samplesPerFrame*9e4/E.sampleRate,U=o+m*C,H={unit:t.subarray(n,n+E.frameLength),pts:U,dts:U};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 C=P[t+2]>>1&1,U=P[t+3]>>6,H=n===3?3-o:o===3?3:4,$=Cn[H*14+m-1]*1e3,ce=ti[(n===3?0:n===2?1:2)*3+E],xe=U===3?1:2,Te=Bi[n][o],De=Fn[o],tt=Te*8*De,at=Math.floor(Te*$/ce+C)*De;if(qr===null){const ar=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);qr=ar?parseInt(ar[1]):0}return!!qr&&qr<=87&&o===2&&$>=224e3&&U===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 zi(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||zi(P,E)}return!1}class eu extends en{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=$r(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){Fi(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),C=new Uint8Array(1);for(;o>0;){C[0]=P[t];const U=Math.min(o,8),H=8-U;E[0]=4278190080>>>24+H<<H,m[0]=(C[0]&E[0])>>H,n=n?n<<U|m[0]:m[0],t+=1,o-=U}return n};class qu extends en{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=$r(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 U=[48e3,44100,32e3][E],H=t[n+4]&63,ae=[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+ae>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 Te=(t[n+6]<<8|t[n+7])>>12-xe&1,tt=[2,1,2,3,3,4,4,5][ce]+Te,at=t[n+5]>>3,Ft=t[n+5]&7,hr=new Uint8Array([E<<6|at<<1|Ft>>2,(Ft&3)<<6|ce<<3|Te<<2|H>>4,H<<4&224]),ar=1536/U*9e4,zr=o+m*ar,Wr=t.subarray(n,n+ae);return P.config=hr,P.channelCount=tt,P.samplerate=U,P.samples.push({unit:Wr,pts:zr}),ae}class Uc extends en{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=$r(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 Y.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 On(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),C=this.audioTrack=yr("audio",1),U=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:$,timescale:ae,codec:ce,supplemental:xe}=H.video;E.id=$,E.timescale=U.timescale=ae,E.codec=ce,E.supplemental=xe}if(H.audio){const{id:$,timescale:ae,codec:ce}=H.audio;C.id=$,C.timescale=ae,C.codec=ce}U.id=Dt.text,E.sampleDuration=0,E.duration=C.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 U=qe(o);this.remainderData=U.remainder,m.samples=U.valid||new Uint8Array}else m.samples=o;const C=this.extractID3Track(m,n);return E.samples=Ot(n,m),{videoTrack:m,audioTrack:this.audioTrack,id3Track:C,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=Ot(t,n),{videoTrack:n,audioTrack:yr(),id3Track:m,textTrack:yr()}}extractID3Track(t,n){const o=this.id3Track;if(t.samples.length){const m=gt(t.samples,["emsg"]);m&&m.forEach(E=>{const C=Fe(E);if(Pu.test(C.schemeIdUri)){const U=W(C,n);let H=C.eventDuration===4294967295?Number.POSITIVE_INFINITY:C.eventDuration/C.timeScale;H<=.001&&(H=Number.POSITIVE_INFINITY);const $=C.payload;o.samples.push({data:$,len:$.byteLength,dts:U,pts:U,type:we.emsg,duration:H})}else if(this.config.enableEmsgKLVMetadata&&C.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const U=W(C,n);o.samples.push({data:C.payload,len:C.payload.byteLength,dts:U,pts:U,type:we.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 ee{constructor(t,n,o){this.keyData=void 0,this.decrypter=void 0,this.keyData=o,this.decrypter=new _n(n,{removePKCS7Padding:!1})}decryptBuffer(t){return this.decrypter.decrypt(t,this.keyData.key.buffer,this.keyData.iv.buffer,ln.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),C=E.buffer.slice(E.byteOffset,E.byteOffset+E.length);this.decryptBuffer(C).then(U=>{const H=new Uint8Array(U);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 C=Wt(E.data),U=this.getAvcEncryptedData(C);this.decryptBuffer(U.buffer).then(H=>{E.data=this.getAvcDecryptedUnit(C,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 C=E[o];if(!(C.data.length<=48||C.type!==1&&C.type!==5)&&(this.decryptAvcSample(t,n,o,m,C),!this.decrypter.isSync()))return}}}}class ne{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 C=E,U=[];let H=0,$,ae,ce,xe=-1,Te=0;for(E===-1&&(xe=0,Te=this.getNALuType(n,0),E=0,H=1);H<m;){if($=n[H++],!E){E=$?0:1;continue}if(E===1){E=$?0:2;continue}if(!$)E=3;else if($===1){if(ae=H-E-1,xe>=0){const De={data:n.subarray(xe,ae),type:Te};U.push(De)}else{const De=this.getLastNalUnit(t.samples);De&&(C&&H<=4-C&&De.state&&(De.data=De.data.subarray(0,De.data.byteLength-C)),ae>0&&(De.data=Gt(De.data,n.subarray(0,ae)),De.state=0))}H<m?(ce=this.getNALuType(n,H),xe=H,Te=ce,E=0):E=-1}else E=0}if(xe>=0&&E>=0){const De={data:n.subarray(xe,m),type:Te,state:E};U.push(De)}if(U.length===0){const De=this.getLastNalUnit(t.samples);De&&(De.data=Gt(De.data,n))}return t.naluState=E,U}}class he{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&&Y.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 Ae extends ne{parsePES(t,n,o,m){const E=this.parseNALu(t,o.data,m);let C=this.VideoSample,U,H=!1;o.data=null,C&&E.length&&!t.audFound&&(this.pushAccessUnit(C,t),C=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts)),E.forEach($=>{var ae,ce;switch($.type){case 1:{let tt=!1;U=!0;const at=$.data;if(H&&at.length>4){const Ft=this.readSliceType(at);(Ft===2||Ft===4||Ft===7||Ft===9)&&(tt=!0)}if(tt){var xe;(xe=C)!=null&&xe.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null)}C||(C=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),C.frame=!0,C.key=tt;break}case 5:U=!0,(ae=C)!=null&&ae.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null),C||(C=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),C.key=!0,C.frame=!0;break;case 6:{U=!0,tr($.data,1,o.pts,n.samples);break}case 7:{var Te,De;U=!0,H=!0;const tt=$.data,at=this.readSPS(tt);if(!t.sps||t.width!==at.width||t.height!==at.height||((Te=t.pixelRatio)==null?void 0:Te[0])!==at.pixelRatio[0]||((De=t.pixelRatio)==null?void 0:De[1])!==at.pixelRatio[1]){t.width=at.width,t.height=at.height,t.pixelRatio=at.pixelRatio,t.sps=[tt];const Ft=tt.subarray(1,4);let hr="avc1.";for(let ar=0;ar<3;ar++){let zr=Ft[ar].toString(16);zr.length<2&&(zr="0"+zr),hr+=zr}t.codec=hr}break}case 8:U=!0,t.pps=[$.data];break;case 9:U=!0,t.audFound=!0,(ce=C)!=null&&ce.frame&&(this.pushAccessUnit(C,t),C=null),C||(C=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts));break;case 12:U=!0;break;default:U=!1;break}C&&U&&C.units.push($)}),m&&C&&(this.pushAccessUnit(C,t),this.VideoSample=null)}getNALuType(t,n){return t[n]&31}readSliceType(t){const n=new he(t);return n.readUByte(),n.readUEG(),n.readUEG()}skipScalingList(t,n){let o=8,m=8,E;for(let C=0;C<t;C++)m!==0&&(E=n.readEG(),m=(o+E+256)%256),o=m===0?o:m}readSPS(t){const n=new he(t);let o=0,m=0,E=0,C=0,U,H,$;const ae=n.readUByte.bind(n),ce=n.readBits.bind(n),xe=n.readUEG.bind(n),Te=n.readBoolean.bind(n),De=n.skipBits.bind(n),tt=n.skipEG.bind(n),at=n.skipUEG.bind(n),Ft=this.skipScalingList.bind(this);ae();const hr=ae();if(ce(5),De(3),ae(),at(),hr===100||hr===110||hr===122||hr===244||hr===44||hr===83||hr===86||hr===118||hr===128){const un=xe();if(un===3&&De(1),at(),at(),De(1),Te())for(H=un!==3?8:12,$=0;$<H;$++)Te()&&($<6?Ft(16,n):Ft(64,n))}at();const ar=xe();if(ar===0)xe();else if(ar===1)for(De(1),tt(),tt(),U=xe(),$=0;$<U;$++)tt();at(),De(1);const zr=xe(),Wr=xe(),dn=ce(1);dn===0&&De(1),De(1),Te()&&(o=xe(),m=xe(),E=xe(),C=xe());let Gr=[1,1];if(Te()&&Te())switch(ae()){case 1:Gr=[1,1];break;case 2:Gr=[12,11];break;case 3:Gr=[10,11];break;case 4:Gr=[16,11];break;case 5:Gr=[40,33];break;case 6:Gr=[24,11];break;case 7:Gr=[20,11];break;case 8:Gr=[32,11];break;case 9:Gr=[80,33];break;case 10:Gr=[18,11];break;case 11:Gr=[15,11];break;case 12:Gr=[64,33];break;case 13:Gr=[160,99];break;case 14:Gr=[4,3];break;case 15:Gr=[3,2];break;case 16:Gr=[2,1];break;case 255:{Gr=[ae()<<8|ae(),ae()<<8|ae()];break}}return{width:Math.ceil((zr+1)*16-o*2-m*2),height:(2-dn)*(Wr+1)*16-(dn?2:4)*(E+C),pixelRatio:Gr}}}class Ge extends ne{constructor(...t){super(...t),this.initVPS=null}parsePES(t,n,o,m){const E=this.parseNALu(t,o.data,m);let C=this.VideoSample,U,H=!1;o.data=null,C&&E.length&&!t.audFound&&(this.pushAccessUnit(C,t),C=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts)),E.forEach($=>{var ae,ce;switch($.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:C||(C=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts)),C.frame=!0,U=!0;break;case 16:case 17:case 18:case 21:if(U=!0,H){var xe;(xe=C)!=null&&xe.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null)}C||(C=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),C.key=!0,C.frame=!0;break;case 19:case 20:U=!0,(ae=C)!=null&&ae.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null),C||(C=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),C.key=!0,C.frame=!0;break;case 39:U=!0,tr($.data,2,o.pts,n.samples);break;case 32:U=!0,t.vps||(typeof t.params!="object"&&(t.params={}),t.params=y(t.params,this.readVPS($.data)),this.initVPS=$.data),t.vps=[$.data];break;case 33:if(U=!0,H=!0,t.vps!==void 0&&t.vps[0]!==this.initVPS&&t.sps!==void 0&&!this.matchSPS(t.sps[0],$.data)&&(this.initVPS=t.vps[0],t.sps=t.pps=void 0),!t.sps){const Te=this.readSPS($.data);t.width=Te.width,t.height=Te.height,t.pixelRatio=Te.pixelRatio,t.codec=Te.codecString,t.sps=[],typeof t.params!="object"&&(t.params={});for(const De in Te.params)t.params[De]=Te.params[De]}this.pushParameterSet(t.sps,$.data,t.vps),C||(C=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),C.key=!0;break;case 34:if(U=!0,typeof t.params=="object"){if(!t.pps){t.pps=[];const Te=this.readPPS($.data);for(const De in Te)t.params[De]=Te[De]}this.pushParameterSet(t.pps,$.data,t.vps)}break;case 35:U=!0,t.audFound=!0,(ce=C)!=null&&ce.frame&&(this.pushAccessUnit(C,t),C=null),C||(C=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts));break;default:U=!1;break}C&&U&&C.units.push($)}),m&&C&&(this.pushAccessUnit(C,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 he(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 he(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(),C=n.readBits(5),U=n.readUByte(),H=n.readUByte(),$=n.readUByte(),ae=n.readUByte(),ce=n.readUByte(),xe=n.readUByte(),Te=n.readUByte(),De=n.readUByte(),tt=n.readUByte(),at=n.readUByte(),Ft=n.readUByte(),hr=[],ar=[];for(let Ts=0;Ts<o;Ts++)hr.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++)hr[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 Wr=n.readUEG(),dn=n.readUEG(),Gr=n.readBoolean();let un=0,mn=0,Qr=0,Yn=0;Gr&&(un+=n.readUEG(),mn+=n.readUEG(),Qr+=n.readUEG(),Yn+=n.readUEG());const hi=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&&(un+=n.readUEG(),mn+=n.readUEG(),Qr+=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=Wr,Kf=dn;if(Gr||Qu){let Ts=1,pu=1;zr===1?Ts=pu=2:zr==2&&(Ts=2),af=Wr-Ts*mn-Ts*un,Kf=dn-pu*Yn-pu*Qr}const ed=m?["A","B","C"][m]:"",td=U<<24|H<<16|$<<8|ae;let Pf=0;for(let Ts=0;Ts<32;Ts++)Pf=(Pf|(td>>Ts&1)<<31-Ts)>>>0;let Wf=Pf.toString(16);return C===1&&Wf==="2"&&(Wf="6"),{codecString:`hvc1.${ed}${C}.${Wf}.${E?"H":"L"}${Ft}.B0`,params:{general_tier_flag:E,general_profile_idc:C,general_profile_space:m,general_profile_compatibility_flags:[U,H,$,ae],general_constraint_indicator_flags:[ce,xe,Te,De,tt,at],general_level_idc:Ft,bit_depth:hi+8,bit_depth_luma_minus8:hi,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 he(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 C=1;return E&&m?C=0:E?C=3:m&&(C=2),{parallelismType:C}}matchSPS(t,n){return String.fromCharCode.apply(null,t).substr(3)===String.fromCharCode.apply(null,n).substr(3)}}const bt=188;class Mt{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=Mt.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(bt*5,n-bt)+1,m=0;for(;m<o;){let E=!1,C=-1,U=0;for(let H=m;H<n;H+=bt)if(t[H]===71&&(n-H===bt||t[H+bt]===71)){if(U++,C===-1&&(C=H,C!==0&&(o=Math.min(C+bt*99,t.length-bt)+1)),E||(E=nr(t,H)===0),E&&U>1&&(C===0&&U>2||H+bt>o))return C}else{if(U)return-1;break}m++}return-1}static createTrack(t,n){return{container:t==="video"||t==="audio"?"video/mp2t":void 0,type:t,id:Dt[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=Mt.createTrack("video"),this._videoTrack.duration=m,this._audioTrack=Mt.createTrack("audio",m),this._id3Track=Mt.createTrack("id3"),this._txtTrack=Mt.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 C=this._videoTrack,U=this._audioTrack,H=this._id3Track,$=this._txtTrack;let ae=C.pid,ce=C.pesData,xe=U.pid,Te=H.pid,De=U.pesData,tt=H.pesData,at=null,Ft=this.pmtParsed,hr=this._pmtId,ar=t.length;if(this.remainderData&&(t=Gt(this.remainderData,t),ar=t.length,this.remainderData=null),ar<bt&&!m)return this.remainderData=t,{audioTrack:U,videoTrack:C,id3Track:H,textTrack:$};const zr=Math.max(0,Mt.syncOffset(t));ar-=(ar-zr)%bt,ar<t.byteLength&&!m&&(this.remainderData=new Uint8Array(t.buffer,ar,t.buffer.byteLength-ar));let Wr=0;for(let Gr=zr;Gr<ar;Gr+=bt)if(t[Gr]===71){const un=!!(t[Gr+1]&64),mn=nr(t,Gr),Qr=(t[Gr+3]&48)>>4;let Yn;if(Qr>1){if(Yn=Gr+5+t[Gr+4],Yn===Gr+bt)continue}else Yn=Gr+4;switch(mn){case ae:if(un){if(ce&&(E=Nn(ce,this.logger))){if(this.videoParser===null)switch(C.segmentCodec){case"avc":this.videoParser=new Ae;break;case"hevc":this.videoParser=new Ge;break}this.videoParser!==null&&this.videoParser.parsePES(C,$,E,!1)}ce={data:[],size:0}}ce&&(ce.data.push(t.subarray(Yn,Gr+bt)),ce.size+=Gr+bt-Yn);break;case xe:if(un){if(De&&(E=Nn(De,this.logger)))switch(U.segmentCodec){case"aac":this.parseAACPES(U,E);break;case"mp3":this.parseMPEGPES(U,E);break;case"ac3":this.parseAC3PES(U,E);break}De={data:[],size:0}}De&&(De.data.push(t.subarray(Yn,Gr+bt)),De.size+=Gr+bt-Yn);break;case Te:un&&(tt&&(E=Nn(tt,this.logger))&&this.parseID3PES(H,E),tt={data:[],size:0}),tt&&(tt.data.push(t.subarray(Yn,Gr+bt)),tt.size+=Gr+bt-Yn);break;case 0:un&&(Yn+=t[Yn]+1),hr=this._pmtId=Tr(t,Yn);break;case hr:{un&&(Yn+=t[Yn]+1);const hi=Hr(t,Yn,this.typeSupported,o,this.observer,this.logger);ae=hi.videoPid,ae>0&&(C.pid=ae,C.segmentCodec=hi.segmentVideoCodec),xe=hi.audioPid,xe>0&&(U.pid=xe,U.segmentCodec=hi.segmentAudioCodec),Te=hi.id3Pid,Te>0&&(H.pid=Te),at!==null&&!Ft&&(this.logger.warn(`MPEG-TS PMT found at ${Gr} after unknown PID '${at}'. Backtracking to sync byte @${zr} to parse all TS packets.`),at=null,Gr=zr-188),Ft=this.pmtParsed=!0;break}case 17:case 8191:break;default:at=mn;break}}else Wr++;Wr>0&&sn(this.observer,new Error(`Found ${Wr} TS packet/s that do not start with 0x47`),void 0,this.logger),C.pesData=ce,U.pesData=De,H.pesData=tt;const dn={audioTrack:U,videoTrack:C,id3Track:H,textTrack:$};return m&&this.extractRemainingSamples(dn),dn}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,C=o.pesData,U=n.pesData,H=m.pesData;let $;if(C&&($=Nn(C,this.logger))){if(this.videoParser===null)switch(o.segmentCodec){case"avc":this.videoParser=new Ae;break;case"hevc":this.videoParser=new Ge;break}this.videoParser!==null&&(this.videoParser.parsePES(o,E,$,!0),o.pesData=null)}else o.pesData=C;if(U&&($=Nn(U,this.logger))){switch(n.segmentCodec){case"aac":this.parseAACPES(n,$);break;case"mp3":this.parseMPEGPES(n,$);break;case"ac3":this.parseAC3PES(n,$);break}n.pesData=null}else U!=null&&U.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),n.pesData=U;H&&($=Nn(H,this.logger))?(this.parseID3PES(m,$),m.pesData=null):m.pesData=H}demuxSampleAes(t,n,o){const m=this.demux(t,o,!0,!this.config.progressive),E=this.sampleAes=new ee(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 Te=xe-ce;m.sample.unit.set(E.subarray(0,ce),Te),t.samples.push(m.sample),o=m.missing}}let C,U;for(C=o,U=E.length;C<U-1&&!vi(E,C);C++);if(C!==o){let ce;const xe=C<U-1;if(xe?ce=`AAC PES did not start with ADTS header,offset:${C}`:ce="No ADTS header found in AAC PES",sn(this.observer,new Error(ce),xe,this.logger),!xe)return}Fi(t,this.observer,E,C,this.audioCodec);let H;if(n.pts!==void 0)H=n.pts;else if(m){const ce=Si(t.samplerate);H=m.sample.pts+ce}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let $=0,ae;for(;C<U;)if(ae=Ci(t,E,C,H,$),C+=ae.length,ae.missing){this.aacOverFlow=ae;break}else for($++;C<U-1&&!vi(E,C);C++);}parseMPEGPES(t,n){const o=n.data,m=o.length;let E=0,C=0;const U=n.pts;if(U===void 0){this.logger.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;C<m;)if(zi(o,C)){const H=On(t,o,C,U,E);if(H)C+=H.length,E++;else break}else C++}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 C=0,U=0,H;for(;U<E&&(H=vu(t,o,U,m,C++))>0;)U+=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?we.emsg:we.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 Hr(P,t,n,o,m,E){const C={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},U=(P[t+1]&15)<<8|P[t+2],H=t+3+U-4,$=(P[t+10]&15)<<8|P[t+11];for(t+=12+$;t<H;){const ae=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:C.audioPid===-1&&(C.audioPid=ae);break;case 21:C.id3Pid===-1&&(C.id3Pid=ae);break;case 219:if(!o){wn("H.264",E);break}case 27:C.videoPid===-1&&(C.videoPid=ae);break;case 3:case 4:!n.mpeg&&!n.mp3?E.log("MPEG audio found, not supported in this browser"):C.audioPid===-1&&(C.audioPid=ae,C.segmentAudioCodec="mp3");break;case 193:if(!o){wn("AC-3",E);break}case 129:n.ac3?C.audioPid===-1&&(C.audioPid=ae,C.segmentAudioCodec="ac3"):E.log("AC-3 audio found, not supported in this browser");break;case 6:if(C.audioPid===-1&&ce>0){let xe=t+5,Te=ce;for(;Te>2;){switch(P[xe]){case 106:n.ac3!==!0?E.log("AC-3 audio found, not supported in this browser for now"):(C.audioPid=ae,C.segmentAudioCodec="ac3");break}const tt=P[xe+1]+2;xe+=tt,Te-=tt}}break;case 194:case 135:return sn(m,new Error("Unsupported EC-3 in M2TS found"),void 0,E),C;case 36:C.videoPid===-1&&(C.videoPid=ae,C.segmentVideoCodec="hevc",E.log("HEVC in M2TS found"));break}t+=ce+5}return C}function sn(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,C,U;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 ae=o[7];ae&192&&(C=(o[9]&14)*536870912+(o[10]&255)*4194304+(o[11]&254)*16384+(o[12]&255)*128+(o[13]&254)/2,ae&64?(U=(o[14]&14)*536870912+(o[15]&255)*4194304+(o[16]&254)*16384+(o[17]&255)*128+(o[18]&254)/2,C-U>54e5&&(t.warn(`${Math.round((C-U)/9e4)}s delta between PTS and DTS, align them`),C=U)):U=C),E=o[8];let ce=E+9;if(P.size<=ce)return null;P.size-=ce;const xe=new Uint8Array(P.size);for(let Te=0,De=H.length;Te<De;Te++){o=H[Te];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:C,dts:U,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 _i=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 C=new Uint8Array([105,115,111,109]),U=new Uint8Array([97,118,99,49]),H=new Uint8Array([0,0,0,1]);Sr.FTYP=Sr.box(Sr.types.ftyp,C,H,C,U),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 C=new Uint8Array(o);for(C[0]=o>>24&255,C[1]=o>>16&255,C[2]=o>>8&255,C[3]=o&255,C.set(t,4),m=0,o=8;m<E;m++)C.set(n[m],o),o+=n[m].byteLength;return C}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/(_i+1)),m=Math.floor(n%(_i+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/(_i+1)),m=Math.floor(n%(_i+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,C;for(m=0;m<t.sps.length;m++)E=t.sps[m],C=E.byteLength,n.push(C>>>8&255),n.push(C&255),n=n.concat(Array.prototype.slice.call(E));for(m=0;m<t.pps.length;m++)E=t.pps[m],C=E.byteLength,o.push(C>>>8&255),o.push(C&255),o=o.concat(Array.prototype.slice.call(E));const U=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,$=t.height,ae=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,$>>8&255,$&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]),U,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([ae>>24,ae>>16&255,ae>>8&255,ae&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,C=Math.floor(o/(_i+1)),U=Math.floor(o%(_i+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,C>>24,C>>16&255,C>>8&255,C&255,U>>24,U>>16&255,U>>8&255,U&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/(_i+1)),C=Math.floor(n%(_i+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,C>>24,C>>16&255,C>>8&255,C&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,C=new Uint8Array(E);let U,H,$,ae,ce,xe;for(n+=8+E,C.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),U=0;U<m;U++)H=o[U],$=H.duration,ae=H.size,ce=H.flags,xe=H.cts,C.set([$>>>24&255,$>>>16&255,$>>>8&255,$&255,ae>>>24&255,ae>>>16&255,ae>>>8&255,ae&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*U);return Sr.box(Sr.types.trun,C)}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 C=E.length;for(let De=0;De<o.length;De+=1){C+=3;for(let tt=0;tt<o[De].length;tt+=1)C+=2+o[De][tt].length}const U=new Uint8Array(C);U.set(E,0),C=E.length;const H=o.length-1;for(let De=0;De<o.length;De+=1){U.set(new Uint8Array([32+De|(De===H?128:0),0,o[De].length]),C),C+=3;for(let tt=0;tt<o[De].length;tt+=1)U.set(new Uint8Array([o[De][tt].length>>8,o[De][tt].length&255]),C),C+=2,U.set(o[De][tt],C),C+=o[De][tt].length}const $=Sr.box(Sr.types.hvcC,U),ae=t.width,ce=t.height,xe=t.pixelRatio[0],Te=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,ae>>8&255,ae&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]),$,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,Te>>24,Te>>16&255,Te>>8&255,Te&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 di=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,di===null){const C=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);di=C?parseInt(C[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,C)=>{let U=C.pts,H=U-E;return H<-4294967296&&(n=!0,U=za(U,o),H=U-E),H>0?E:U},o);return n&&this.logger.debug("PTS rollover detected"),m}remux(t,n,o,m,E,C,U,H){let $,ae,ce,xe,Te,De,tt=E,at=E;const Ft=t.pid>-1,hr=n.pid>-1,ar=n.samples.length,zr=t.samples.length>0,Wr=U&&ar>0||ar>1;if((!Ft||zr)&&(!hr||Wr)||this.ISGenerated||U){if(this.ISGenerated){var Gr,un,mn,Qr;const ya=this.videoTrackConfig;(ya&&(n.width!==ya.width||n.height!==ya.height||((Gr=n.pixelRatio)==null?void 0:Gr[0])!==((un=ya.pixelRatio)==null?void 0:un[0])||((mn=n.pixelRatio)==null?void 0:mn[1])!==((Qr=ya.pixelRatio)==null?void 0:Qr[1]))||!ya&&Wr||this.nextAudioPts===null&&zr)&&this.resetInitSegment()}this.ISGenerated||(ce=this.generateIS(t,n,E,C));const Yn=this.isVideoContiguous;let hi=-1,os;if(Wr&&(hi=Eo(n.samples),!Yn&&this.config.forceKeyFrameOnDiscontinuity))if(De=!0,hi>0){this.logger.warn(`[mp4-remuxer]: Dropped ${hi} out of ${ar} video samples due to a missing keyframe`);const ya=this.getVideoStartPts(n.samples);n.samples=n.samples.slice(hi),n.dropped+=hi,at+=(n.samples[0].pts-ya)/n.inputTimeScale,os=at}else hi===-1&&(this.logger.warn(`[mp4-remuxer]: No keyframe found out of ${ar} video samples`),De=!1);if(this.ISGenerated){if(zr&&Wr){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,C)),ae=this.remuxAudio(t,tt,this.isAudioContiguous,C,hr||Wr||H===u.AUDIO?at:void 0),Wr){const ya=ae?ae.endPTS-ae.startPTS:0;n.inputTimeScale||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),ce=this.generateIS(t,n,E,C)),$=this.remuxVideo(n,at,Yn,ya)}}else Wr&&($=this.remuxVideo(n,at,Yn,0));$&&($.firstKeyFrame=hi,$.independent=hi!==-1,$.firstKeyFramePTS=os)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(o.samples.length&&(Te=zs(o,E,this._initPTS,this._initDTS)),m.samples.length&&(xe=Al(m,E,this._initPTS))),{audio:ae,video:$,initSegment:ce,independent:De,text:xe,id3:Te}}generateIS(t,n,o,m){const E=t.samples,C=n.samples,U=this.typeSupported,H={},$=this._initPTS;let ae=!$||m,ce="audio/mp4",xe,Te,De;if(ae&&(xe=Te=1/0),t.config&&E.length){switch(t.timescale=t.samplerate,t.segmentCodec){case"mp3":U.mpeg?(ce="audio/mpeg",t.codec=""):U.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"&&U.mpeg?new Uint8Array(0):Sr.initSegment([t]),metadata:{channelCount:t.channelCount}},ae&&(De=t.inputTimeScale,!$||De!==$.timescale?xe=Te=E[0].pts-Math.round(De*o):ae=!1)}if(n.sps&&n.pps&&C.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}},ae)if(De=n.inputTimeScale,!$||De!==$.timescale){const tt=this.getVideoStartPts(C),at=Math.round(De*o);Te=Math.min(Te,za(C[0].dts,tt)-at),xe=Math.min(xe,tt-at)}else ae=!1;this.videoTrackConfig={width:n.width,height:n.height,pixelRatio:n.pixelRatio}}if(Object.keys(H).length)return this.ISGenerated=!0,ae?(this._initPTS={baseTime:xe,timescale:De},this._initDTS={baseTime:Te,timescale:De}):xe=De=void 0,{tracks:H,initPTS:xe,timescale:De}}remuxVideo(t,n,o,m){const E=t.inputTimeScale,C=t.samples,U=[],H=C.length,$=this._initPTS;let ae=this.nextAvcDts,ce=8,xe=this.videoSampleDuration,Te,De,tt=Number.POSITIVE_INFINITY,at=Number.NEGATIVE_INFINITY,Ft=!1;if(!o||ae===null){const Xn=n*E,ni=C[0].pts-za(C[0].dts,C[0].pts);di&&ae!==null&&Math.abs(Xn-ni-ae)<15e3?o=!0:ae=Xn-ni}const hr=$.baseTime*E/$.timescale;for(let Xn=0;Xn<H;Xn++){const ni=C[Xn];ni.pts=za(ni.pts-hr,ae),ni.dts=za(ni.dts-hr,ae),ni.dts<C[Xn>0?Xn-1:Xn].dts&&(Ft=!0)}Ft&&C.sort(function(Xn,ni){const wa=Xn.dts-ni.dts,Sa=Xn.pts-ni.pts;return wa||Sa}),Te=C[0].dts,De=C[C.length-1].dts;const ar=De-Te,zr=ar?Math.round(ar/(H-1)):xe||t.inputTimeScale/30;if(o){const Xn=Te-ae,ni=Xn>zr,wa=Xn<-1;if((ni||wa)&&(ni?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||ae>=C[0].pts||di)){Te=ae;const Sa=C[0].pts-Xn;if(ni)C[0].dts=Te,C[0].pts=Sa;else{let ts=!0;for(let Cs=0;Cs<C.length&&!(C[Cs].dts>Sa&&ts);Cs++){const js=C[Cs].pts;if(C[Cs].dts-=Xn,C[Cs].pts-=Xn,Cs<C.length-1){const ao=C[Cs+1].pts,Qu=C[Cs].pts,dl=ao<=Qu,af=ao<=js;ts=dl==af}}}this.logger.log(`Video: Initial PTS/DTS adjusted: ${Za(Sa,!0)}/${Za(Te,!0)}, delta: ${Za(Xn,!0)} ms`)}}Te=Math.max(0,Te);let Wr=0,dn=0,Gr=Te;for(let Xn=0;Xn<H;Xn++){const ni=C[Xn],wa=ni.units,Sa=wa.length;let ts=0;for(let Cs=0;Cs<Sa;Cs++)ts+=wa[Cs].data.length;dn+=ts,Wr+=Sa,ni.length=ts,ni.dts<Gr?(ni.dts=Gr,Gr+=zr/4|0||1):Gr=ni.dts,tt=Math.min(ni.pts,tt),at=Math.max(ni.pts,at)}De=C[H-1].dts;const un=dn+4*Wr+8;let mn;try{mn=new Uint8Array(un)}catch(Xn){this.observer.emit(s.ERROR,s.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:Xn,bytes:un,reason:`fail allocating video mdat ${un}`});return}const Qr=new DataView(mn.buffer);Qr.setUint32(0,un),mn.set(Sr.types.mdat,4);let Yn=!1,hi=Number.POSITIVE_INFINITY,os=Number.POSITIVE_INFINITY,ya=Number.NEGATIVE_INFINITY,Ji=Number.NEGATIVE_INFINITY;for(let Xn=0;Xn<H;Xn++){const ni=C[Xn],wa=ni.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;Qr.setUint32(ce,af),ce+=4,mn.set(dl,ce),ce+=af,Sa+=4+af}let ts;if(Xn<H-1)xe=C[Xn+1].dts-ni.dts,ts=C[Xn+1].pts-ni.pts;else{const js=this.config,ao=Xn>0?ni.dts-C[Xn-1].dts:zr;if(ts=Xn>0?ni.pts-C[Xn-1].pts:zr,js.stretchShortVideoTrack&&this.nextAudioPts!==null){const Qu=Math.floor(js.maxBufferHole*E),dl=(m?tt+m*E:this.nextAudioPts)-ni.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(ni.pts-ni.dts);hi=Math.min(hi,xe),ya=Math.max(ya,xe),os=Math.min(os,ts),Ji=Math.max(Ji,ts),U.push(po(ni.key,xe,Sa,Cs))}if(U.length){if(di){if(di<70){const Xn=U[0].flags;Xn.dependsOn=2,Xn.isNonSync=0}}else if(Qs&&Ji-os<ya-hi&&zr/ya<.025&&U[0].cts===0){this.logger.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let Xn=Te;for(let ni=0,wa=U.length;ni<wa;ni++){const Sa=Xn+U[ni].duration,ts=Xn+U[ni].cts;if(ni<wa-1){const Cs=Sa+U[ni+1].cts;U[ni].duration=Cs-ts}else U[ni].duration=ni?U[ni-1].duration:zr;U[ni].cts=0,Xn=Sa}}}xe=Yn||!xe?zr:xe,this.nextAvcDts=ae=De+xe,this.videoSampleDuration=xe,this.isVideoContiguous=!0;const qi={data1:Sr.moof(t.sequenceNumber++,Te,y(t,{samples:U})),data2:mn,startPTS:tt/E,endPTS:(at+xe)/E,startDTS:Te/E,endDTS:ae/E,type:"video",hasAudio:!1,hasVideo:!0,nb:U.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 C=t.inputTimeScale,U=t.samplerate?t.samplerate:C,H=C/U,$=this.getSamplesPerFrame(t),ae=$*H,ce=this._initPTS,xe=t.segmentCodec==="mp3"&&this.typeSupported.mpeg,Te=[],De=E!==void 0;let tt=t.samples,at=xe?0:8,Ft=this.nextAudioPts||-1;const hr=n*C,ar=ce.baseTime*C/ce.timescale;if(this.isAudioContiguous=o=o||tt.length&&Ft>0&&(m&&Math.abs(hr-Ft)<9e3||Math.abs(za(tt[0].pts-ar,hr)-Ft)<20*ae),tt.forEach(function(Ri){Ri.pts=za(Ri.pts-ar,hr)}),!o||Ft<0){if(tt=tt.filter(Ri=>Ri.pts>=0),!tt.length)return;E===0?Ft=0:m&&!De?Ft=Math.max(0,hr):Ft=tt[0].pts}if(t.segmentCodec==="aac"){const Ri=this.config.maxAudioFramesDrift;for(let ta=0,qi=Ft;ta<tt.length;ta++){const Xn=tt[ta],ni=Xn.pts,wa=ni-qi,Sa=Math.abs(1e3*wa/C);if(wa<=-Ri*ae&&De)ta===0&&(this.logger.warn(`Audio frame @ ${(ni/C).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3*wa/C)} ms.`),this.nextAudioPts=Ft=qi=ni);else if(wa>=Ri*ae&&Sa<as&&De){let ts=Math.round(wa/ae);qi=ni-ts*ae,qi<0&&(ts--,qi+=ae),ta===0&&(this.nextAudioPts=Ft=qi),this.logger.warn(`[mp4-remuxer]: Injecting ${ts} audio frame @ ${(qi/C).toFixed(3)}s due to ${Math.round(1e3*wa/C)} 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+=ae,ta++}}Xn.pts=qi,qi+=ae}}let zr=null,Wr=null,dn,Gr=0,un=tt.length;for(;un--;)Gr+=tt[un].unit.byteLength;for(let Ri=0,ta=tt.length;Ri<ta;Ri++){const qi=tt[Ri],Xn=qi.unit;let ni=qi.pts;if(Wr!==null){const Sa=Te[Ri-1];Sa.duration=Math.round((ni-Wr)/H)}else if(o&&t.segmentCodec==="aac"&&(ni=Ft),zr=ni,Gr>0){Gr+=at;try{dn=new Uint8Array(Gr)}catch(Sa){this.observer.emit(s.ERROR,s.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:Sa,bytes:Gr,reason:`fail allocating audio mdat ${Gr}`});return}xe||(new DataView(dn.buffer).setUint32(0,Gr),dn.set(Sr.types.mdat,4))}else return;dn.set(Xn,at);const wa=Xn.byteLength;at+=wa,Te.push(po(!0,$,wa,0)),Wr=ni}const mn=Te.length;if(!mn)return;const Qr=Te[Te.length-1];this.nextAudioPts=Ft=Wr+H*Qr.duration;const Yn=xe?new Uint8Array(0):Sr.moof(t.sequenceNumber++,zr/H,y({},t,{samples:Te}));t.samples=[];const hi=zr/C,os=Ft/C,Ji={data1:Yn,data2:dn,startPTS:hi,endPTS:os,startDTS:hi,endDTS:os,type:"audio",hasAudio:!0,hasVideo:!1,nb:mn};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 U=0;U<m;U++){const H=P.samples[U];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 C=P.samples;return P.samples=[],{samples:C}}function Al(P,t,n){const o=P.samples.length;if(!o)return;const m=P.inputTimeScale;for(let C=0;C<o;C++){const U=P.samples[C];U.pts=za(U.pts-n.baseTime*m/n.timescale,t*m)/m}P.samples.sort((C,U)=>C.pts-U.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(We(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,F.AUDIO)),m.video&&(o=gu(m.video,F.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,C){var U,H;let{initPTS:$,lastEndTime:ae}=this;const ce={audio:void 0,video:void 0,text:m,id3:o,initSegment:void 0};r(ae)||(ae=this.lastEndTime=E||0);const xe=n.samples;if(!(xe!=null&&xe.length))return ce;const Te={initPTS:void 0,timescale:1};let De=this.initData;if((U=De)!=null&&U.length||(this.generateInitSegment(xe),De=this.initData),!((H=De)!=null&&H.length))return this.logger.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),ce;this.emitInitSegment&&(Te.tracks=this.initTracks,this.emitInitSegment=!1);const tt=Vt(xe,De),at=lt(De,xe),Ft=at===null?E:at;(C||!$)&&(el($,Ft,E,tt)||Te.timescale!==$.timescale)&&(Te.initPTS=Ft-E,$&&$.timescale===1&&this.logger.warn(`Adjusting initPTS @${E} from ${$.baseTime/$.timescale} to ${Te.initPTS}`),this.initPTS=$={baseTime:Te.initPTS,timescale:1});const hr=t?Ft-$.baseTime/$.timescale:ae,ar=hr+tt;Ie(De,xe,$.baseTime/$.timescale),tt>0?this.lastEndTime=ar:(this.logger.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const zr=!!De.audio,Wr=!!De.video;let dn="";zr&&(dn+="audio"),Wr&&(dn+="video");const Gr={data1:xe,startPTS:hr,startDTS:hr,endPTS:ar,endDTS:ar,type:dn,hasAudio:zr,hasVideo:Wr,nb:1,dropped:0};return ce.audio=Gr.type==="audio"?Gr:void 0,ce.video=Gr.type!=="audio"?Gr:void 0,ce.initSegment=Te,ce.id3=zs(o,E,$,$),m.samples.length&&(ce.text=Al(m,E,$)),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===F.AUDIO?n==="ec-3"||n==="ac-3"||n==="alac"?n:n==="fLaC"||n==="Opus"?St(n,!1):(Y.warn(`Unhandled audio codec "${n}" in mp4 MAP`),n||"mp4a"):(Y.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:Mt,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,C){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=C}configure(t){this.transmuxConfig=t,this.decrypter&&this.decrypter.reset()}push(t,n,o,m){const E=o.transmuxing;E.executeStart=ss();let C=new Uint8Array(t);const{currentTransmuxState:U,transmuxConfig:H}=this;m&&(this.currentTransmuxState=m);const{contiguous:$,discontinuity:ae,trackSwitch:ce,accurateTimeOffset:xe,timeOffset:Te,initSegmentChange:De}=m||U,{audioCodec:tt,videoCodec:at,defaultInitPts:Ft,duration:hr,initSegmentData:ar}=H,zr=wo(C,n);if(zr&&Ia(zr.method)){const un=this.getDecrypter(),mn=Da(zr.method);if(un.isSync()){let Qr=un.softwareDecrypt(C,zr.key.buffer,zr.iv.buffer,mn);if(o.part>-1){const hi=un.flush();Qr=hi&&hi.buffer}if(!Qr)return E.executeEnd=ss(),tl(o);C=new Uint8Array(Qr)}else return this.asyncResult=!0,this.decryptionPromise=un.webCryptoDecrypt(C,zr.key.buffer,zr.iv.buffer,mn).then(Qr=>{const Yn=this.push(Qr,null,o);return this.decryptionPromise=null,Yn}),this.decryptionPromise}const Wr=this.needsProbing(ae,ce);if(Wr){const un=this.configureTransmuxer(C);if(un)return this.logger.warn(`[transmuxer] ${un.message}`),this.observer.emit(s.ERROR,s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:un,reason:un.message}),E.executeEnd=ss(),tl(o)}(ae||ce||De||Wr)&&this.resetInitSegment(ar,tt,at,hr,n),(ae||De||Wr)&&this.resetInitialTimestamp(Ft),$||this.resetContiguity();const dn=this.transmux(C,zr,Te,xe,o);this.asyncResult=Iu(dn);const Gr=this.currentTransmuxState;return Gr.contiguous=!0,Gr.discontinuity=!1,Gr.trackSwitch=!1,E.executeEnd=ss(),dn}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 C=[],{timeOffset:U}=m;if(o){const ce=o.flush();ce&&C.push(this.push(ce.buffer,null,t))}const{demuxer:H,remuxer:$}=this;if(!H||!$){n.executeEnd=ss();const ce=[tl(t)];return this.asyncResult?Promise.resolve(ce):ce}const ae=H.flush(U);return Iu(ae)?(this.asyncResult=!0,ae.then(ce=>(this.flushRemux(C,ce,t),C))):(this.flushRemux(C,ae,t),this.asyncResult?Promise.resolve(C):C)}flushRemux(t,n,o){const{audioTrack:m,videoTrack:E,id3Track:C,textTrack:U}=n,{accurateTimeOffset:H,timeOffset:$}=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 ae=this.remuxer.remux(m,E,C,U,$,H,!0,this.id);t.push({remuxResult:ae,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:C,remuxer:U}=this;!C||!U||(C.resetInitSegment(t,n,o,m),U.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 C;return n&&n.method==="SAMPLE-AES"?C=this.transmuxSampleAes(t,n,o,m,E):C=this.transmuxUnencrypted(t,o,m,E),C}transmuxUnencrypted(t,n,o,m){const{audioTrack:E,videoTrack:C,id3Track:U,textTrack:H}=this.demuxer.demux(t,n,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(E,C,U,H,n,o,!1,this.id),chunkMeta:m}}transmuxSampleAes(t,n,o,m,E){return this.demuxer.demuxSampleAes(t,n,o).then(C=>({remuxResult:this.remuxer.remux(C.audioTrack,C.videoTrack,C.id3Track,C.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 C;if((C=uu[ce].demux)!=null&&C.probe(t,this.logger)){E=uu[ce];break}}if(!E)return new Error("Failed to find demuxer by probing fragment data");const U=this.demuxer,H=this.remuxer,$=E.remux,ae=E.demux;(!H||!(H instanceof $))&&(this.remuxer=new $(o,n,m,this.logger)),(!U||!(U instanceof ae))&&(this.demuxer=new ae(o,n,m,this.logger),this.probe=ae.probe)}needsProbing(t,n){return!this.demuxer||!this.remuxer||t||n}getDecrypter(){let t=this.decrypter;return t||(t=this.decrypter=new _n(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,C){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=C}}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 $=H.data,ae=this.hls;if(!(!ae||!($!=null&&$.event)||$.instanceNo!==this.instanceNo))switch($.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($.data);break}case"flush":{this.onFlush($.data);break}case"workerLog":{ae.logger[$.data.logType]&&ae.logger[$.data.logType]($.data.message);break}default:{$.data=$.data||{},$.data.frag=this.frag,$.data.part=this.part,$.data.id=this.id,ae.trigger($.event,$.data);break}}},this.onWorkerError=H=>{if(!this.hls)return;const $=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:$})};const E=t.config;this.hls=t,this.id=n,this.useWorker=!!E.enableWorker,this.onTransmuxComplete=o,this.onFlush=m;const C=(H,$)=>{$=$||{},$.frag=this.frag||void 0,H===s.ERROR&&($=$,$.parent=this.id,$.part=this.part,this.error=$.error),this.hls.trigger(H,$)};this.observer=new ks,this.observer.on(s.FRAG_DECRYPTED,C),this.observer.on(s.ERROR,C);const U=mr(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:ae}=this.workerContext;ae.addEventListener("message",this.onWorkerMessage),ae.addEventListener("error",this.onWorkerError),ae.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:U,id:n,config:zn(E)})}catch(ae){H.warn(`Error setting up "${n}" Web Worker, fallback to inline`,ae),this.terminateWorker(),this.error=null,this.transmuxer=new yu(this.observer,U,E,"",n,t.logger)}return}}this.transmuxer=new yu(this.observer,U,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=mr(n.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:t,typeSupported:o,id:this.id,config:zn(n)})}}terminateWorker(){if(this.workerContext){const{worker:t}=this.workerContext;this.workerContext=null,t.removeEventListener("message",this.onWorkerMessage),t.removeEventListener("error",this.onWorkerError),Lt(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,C,U,H,$,ae){var ce,xe;$.transmuxing.start=self.performance.now();const{instanceNo:Te,transmuxer:De}=this,tt=C?C.start:E.start,at=E.decryptdata,Ft=this.frag,hr=!(Ft&&E.cc===Ft.cc),ar=!(Ft&&$.level===Ft.level),zr=Ft?$.sn-Ft.sn:-1,Wr=this.part?$.part-this.part.index:-1,dn=zr===0&&$.id>1&&$.id===(Ft==null?void 0:Ft.stats.chunkCount),Gr=!ar&&(zr===1||zr===0&&(Wr===1||dn&&Wr<=0)),un=self.performance.now();(ar||zr||E.stats.parsing.start===0)&&(E.stats.parsing.start=un),C&&(Wr||!Gr)&&(C.stats.parsing.start=un);const mn=!(Ft&&((ce=E.initSegment)==null?void 0:ce.url)===((xe=Ft.initSegment)==null?void 0:xe.url)),Qr=new zl(hr,Gr,H,ar,tt,mn);if(!Gr||hr||mn){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${E.type} sn: ${$.sn}${$.part>-1?" part: "+$.part:""} ${this.id===u.MAIN?"level":"track"}: ${$.level} id: ${$.id}
|
|
|
discontinuity: ${hr}
|
|
|
trackSwitch: ${ar}
|
|
|
contiguous: ${Gr}
|
|
|
accurateTimeOffset: ${H}
|
|
|
timeOffset: ${tt}
|
|
|
initSegmentChange: ${mn}`);const Yn=new Yo(o,m,n,U,ae);this.configureTransmuxer(Yn)}if(this.frag=E,this.part=C,this.workerContext)this.workerContext.worker.postMessage({instanceNo:Te,cmd:"demux",data:t,decryptdata:at,chunkMeta:$,state:Qr},t instanceof ArrayBuffer?[t]:[]);else if(De){const Yn=De.push(t,at,$,Qr);Iu(Yn)?Yn.then(hi=>{this.handleTransmuxComplete(hi)}).catch(hi=>{this.transmuxerError(hi,$,"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 C=n.cc,U=this.fragCurrent;if(this.initPTS[C]={baseTime:m,timescale:E},this.log(`InitPTS for cc: ${C} found from main: ${m}/${E}`),this.mainAnchor=n,this.state===Ur.WAITING_INIT_PTS){const H=this.waitingData;(!H&&!this.loadingParts||H&&H.frag.cc!==C)&&(this.nextLoadPosition=this.findSyncFrag(n).start),this.tick()}else!this.hls.hasEnoughToStart&&U&&U.cc!==C?(this.startFragRequested=!1,this.nextLoadPosition=this.findSyncFrag(n).start,U.abortRequests(),this.resetLoadingState()):this.state===Ur.IDLE&&this.tick()}}findSyncFrag(t){const n=this.getLevelDetails(),o=t.cc;return ht(n,o,t)||n&&It(n.fragments,o)||t}startLoad(t,n){if(!this.levels){this.startPosition=t,this.state=Ur.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=Ur.IDLE):this.state=Ur.WAITING_TRACK,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}doTick(){switch(this.state){case Ur.IDLE:this.doTickIdle();break;case Ur.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=Ur.WAITING_INIT_PTS}break}case Ur.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=Ur.IDLE}break}case Ur.WAITING_INIT_PTS:{const n=this.waitingData;if(n){const{frag:o,part:m,cache:E,complete:C}=n,U=this.mainAnchor;if(this.initPTS[o.cc]!==void 0){this.waitingData=null,this.state=Ur.FRAG_LOADING;const H=E.flush().buffer,$={frag:o,part:m,payload:H,networkDetails:null};this._handleFragmentLoadProgress($),C&&super._handleFragmentLoadComplete($)}else U&&U.cc!==n.frag.cc&&(this.log(`Waiting fragment cc (${o.cc}) cancelled because video is at cc ${U.cc}`),this.nextLoadPosition=this.findSyncFrag(U).start,this.clearWaitingFragment())}else this.state=Ur.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!==Ur.STOPPED&&(this.state=Ur.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,C=n.config;if(!this.buffering||!m&&!this.primaryPrefetch&&(this.startFragRequested||!C.startFragPrefetch)||!(o!=null&&o[E]))return;const U=o[E],H=U.details;if(!H||this.waitForLive(U)||this.waitForCdnTuneIn(H)){this.state=Ur.WAITING_TRACK,this.startFragRequested=!1;return}const $=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&$&&(this.bufferFlushed=!1,this.afterBufferFlushed($,F.AUDIO,u.AUDIO));const ae=this.getFwdBufferInfo($,u.AUDIO);if(ae===null)return;if(!this.switchingTrack&&this._streamEnded(ae,H)){n.trigger(s.BUFFER_EOS,{type:"audio"}),this.state=Ur.ENDED;return}const ce=ae.len,xe=n.maxBufferLength,Te=H.fragments,De=Te[0].start,tt=this.getLoadPosition(),at=this.flushing?tt:ae.end;if(this.switchingTrack&&m){const ar=tt;H.PTSKnown&&ar<De&&(ae.end>De||ae.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),m.currentTime=De+.05)}if(ce>=xe&&!this.switchingTrack&&at<Te[Te.length-1].start)return;let Ft=this.getNextFragment(at,H);if(Ft&&this.isLoopLoading(Ft,at)&&(Ft=this.getNextFragmentLoopLoading(Ft,H,ae,u.MAIN,xe)),!Ft){this.bufferFlushed=!0;return}let hr=((t=this.mainFragLoading)==null?void 0:t.frag)||null;if(!this.audioOnly&&this.startFragRequested&&hr&&_e(Ft)&&!Ft.endList&&(!H.live||!this.loadingParts&&at<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(hr)===Er.OK&&(this.mainFragLoading=hr=null),hr&&_e(hr))){if(Ft.start>hr.end){const zr=this.fragmentTracker.getFragAtPos(at,u.MAIN);zr&&zr.end>hr.end&&(hr=zr,this.mainFragLoading={frag:zr,targetBufferTime:null})}if(Ft.start>hr.end)return}this.loadFragment(Ft,U,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 cr(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!==Ur.STOPPED&&(this.setInterval(Du),this.state=Ur.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:C,groupId:U,track:H}=n;if(!m){this.warn(`Audio tracks reset while loading track ${C} "${H.name}" of "${U}"`);return}const $=this.mainDetails;if(!$||E.endCC>$.endCC||$.expired){this.cachedTrackLoadedData=n,this.state!==Ur.STOPPED&&(this.state=Ur.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${C} "${H.name}" of "${U}" loaded [${E.startSN},${E.endSN}]${E.lastPartSn?`[part-${E.lastPartSn}-${E.lastPartIndex}]`:""},duration:${E.totalduration}`);const ae=m[C];let ce=0;if(E.live||(o=ae.details)!=null&&o.live){if(this.checkLiveUpdate(E),E.deltaUpdateFailed)return;if(ae.details){var xe;ce=this.alignPlaylists(E,ae.details,(xe=this.levelLastLoaded)==null?void 0:xe.details)}E.alignedSliding||(Br(E,$),E.alignedSliding||Mi(E,$),ce=E.fragmentStart)}ae.details=E,this.levelLastLoaded=ae,this.startFragRequested||this.setStartPosition($,ce),this.hls.trigger(s.AUDIO_TRACK_UPDATED,{details:E,id:C,groupId:n.groupId}),this.state===Ur.WAITING_TRACK&&!this.waitForCdnTuneIn(E)&&(this.state=Ur.IDLE),this.tick()}_handleFragmentLoadProgress(t){var n;const o=t.frag,{part:m,payload:E}=t,{config:C,trackId:U,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 $=H[U];if(!$){this.warn("Audio track is undefined on fragment load progress");return}const ae=$.details;if(!ae){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(o.start);return}const ce=C.defaultAudioCodec||$.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 Te=this.initPTS[o.cc],De=(n=o.initSegment)==null?void 0:n.data;if(Te!==void 0){const at=m?m.index:-1,Ft=at!==-1,hr=new $a(o.level,o.sn,o.stats.chunkCount,E.byteLength,at,Ft);xe.push(E,De,ce,"",o,m,ae.totalduration,!1,hr,Te)}else{this.log(`Unknown video PTS for cc ${o.cc}, waiting for video PTS before demuxing audio frag ${o.sn} of [${ae.startSN} ,${ae.endSN}],track ${U}`);const{cache:tt}=this.waitingData=this.waitingData||{frag:o,part:m,cache:new fi,complete:!1};tt.push(new Uint8Array(E)),this.state!==Ur.STOPPED&&(this.state=Ur.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&&_e(n.frag)&&(this.mainFragLoading=n,this.state===Ur.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(_e(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=Ur.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===Ur.WAITING_TRACK&&((o=n.context)==null?void 0:o.type)===h.AUDIO_TRACK&&(this.state=Ur.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!==F.VIDEO&&(this.flushing=!0)}onBufferFlushed(t,{type:n}){if(n!==F.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===Ur.ENDED&&(this.state=Ur.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:C}=t,U=this.getCurrentContext(C);if(!U){this.resetWhenMissingContext(C);return}const{frag:H,part:$,level:ae}=U,{details:ce}=ae,{audio:xe,text:Te,id3:De,initSegment:tt}=E;if(this.fragContextChanged(H)||!ce){this.fragmentTracker.removeFragment(H);return}if(this.state=Ur.PARSING,this.switchingTrack&&xe&&this.completeAudioSwitch(this.switchingTrack),tt!=null&&tt.tracks){const at=H.initSegment||H;this._bufferInitSegment(ae,tt.tracks,at,C),m.trigger(s.FRAG_PARSING_INIT_SEGMENT,{frag:at,id:o,tracks:tt.tracks})}if(xe){const{startPTS:at,endPTS:Ft,startDTS:hr,endDTS:ar}=xe;$&&($.elementaryStreams[F.AUDIO]={startPTS:at,endPTS:Ft,startDTS:hr,endDTS:ar}),H.setElementaryStreamInfo(F.AUDIO,at,Ft,hr,ar),this.bufferFragmentData(xe,H,$,C)}if(De!=null&&(n=De.samples)!=null&&n.length){const at=y({id:o,frag:H,details:ce},De);m.trigger(s.FRAG_PARSING_METADATA,at)}if(Te){const at=y({id:o,frag:H,details:ce},Te);m.trigger(s.FRAG_PARSING_USERDATA,at)}}_bufferInitSegment(t,n,o,m){if(this.state!==Ur.PARSING||(n.video&&delete n.video,n.audiovideo&&delete n.audiovideo,!n.audio))return;const E=n.audio;E.id=u.AUDIO;const C=t.audioCodec;this.log(`Init audio buffer, container:${E.container}, codecs[level/parsed]=[${C}/${E.codec}]`),C&&C.split(",").length===1&&(E.levelCodec=C),this.hls.trigger(s.BUFFER_CODECS,n);const U=E.initSegment;if(U!=null&&U.byteLength){const H={type:"audio",frag:o,part:null,chunkMeta:m,parent:o.type,data:U};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(!_e(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=Ur.WAITING_INIT_PTS;const C=this.mainDetails;C&&C.fragmentStart!==n.details.fragmentStart&&Mi(n.details,C)}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:C,channels:U}=this.bufferedTrack;qn({name:n,lang:o,assocLang:m,characteristics:E,audioCodec:C,channels:U},t,ot)||(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 C=0;C<m.length;C++){const U=m[C];let H;try{H=new self.URL(U.URI,n.url).href}catch($){this.warn(`Could not construct new URL for Rendition Report: ${$}`),H=U.URI||""}if(H===t){E=C;break}else H===t.substring(0,H.length)&&(E=C)}if(E!==-1){const C=m[E],U=parseInt(C["LAST-MSN"])||(n==null?void 0:n.lastPartSn);let H=parseInt(C["LAST-PART"])||(n==null?void 0:n.lastPartIndex);if(this.hls.config.lowLatencyMode){const ae=Math.min(n.age-n.partTarget,n.targetduration);H>=0&&ae>n.partTarget&&(H+=1)}const $=o&&Pn(o);return new Ct(U,H>=0?H:void 0,$)}}}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,C=self.performance.now(),U=E.loading.first?Math.max(0,C-E.loading.first):0;m.advancedDateTime=Date.now()-U;const H=this.hls.config.timelineOffset;if(H!==m.appliedTimelineOffset){const ae=Math.max(H||0,0);m.appliedTimelineOffset=ae,m.fragments.forEach(ce=>{ce.start=ce.playlistOffset+ae})}if(m.live||o!=null&&o.live){const ae="levelInfo"in n?n.levelInfo:n.track;if(m.reloaded(o),o&&m.fragments.length>0){vr(o,m);const hr=m.playlistParsingError;if(hr){this.warn(hr);const ar=this.hls;if(!ar.config.ignorePlaylistParsingErrors){var $;const{networkDetails:zr}=n;ar.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:m.url,error:hr,reason:hr.message,level:n.level||void 0,parent:($=m.fragments[0])==null?void 0:$.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,Te=(m.edge-xe)*1e3,De=ur(m,Te);if(m.requestScheduled+De<C?m.requestScheduled=C:m.requestScheduled+=De,this.log(`live playlist ${t} ${m.advanced?"REFRESHED "+m.lastPartSn+"-"+m.lastPartIndex:m.updated?"UPDATED":"MISSED"}`),!this.canLoad||!m.live)return;let tt,at,Ft;if(m.canBlockReload&&m.endSN&&m.advanced){const hr=this.hls.config.lowLatencyMode,ar=m.lastPartSn,zr=m.endSN,Wr=m.lastPartIndex,dn=Wr!==-1,Gr=ar===zr;dn?Gr?(at=zr+1,Ft=hr?0:Wr):(at=ar,Ft=hr?Wr+1:m.maxPartIndex):at=zr+1;const un=m.age,mn=un+m.ageHeader;let Qr=Math.min(mn-m.partTarget,m.targetduration*1.5);if(Qr>0){if(mn>m.targetduration*3)this.log(`Playlist last advanced ${un.toFixed(2)}s ago. Omitting segment and part directives.`),at=void 0,Ft=void 0;else if(o!=null&&o.tuneInGoal&&mn-m.partTarget>o.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${o.tuneInGoal} to: ${Qr} with playlist age: ${m.age}`),Qr=0;else{const Yn=Math.floor(Qr/m.targetduration);if(at+=Yn,Ft!==void 0){const hi=Math.round(Qr%m.targetduration/m.partTarget);Ft+=hi}this.log(`CDN Tune-in age: ${m.ageHeader}s last advanced ${un.toFixed(2)}s goal: ${Qr} skip sn ${Yn} to part ${Ft}`)}m.tuneInGoal=Qr}if(tt=this.getDeliveryDirectives(m,n.deliveryDirectives,at,Ft),hr||!Gr){m.requestScheduled=C,this.loadingPlaylist(ae,tt);return}}else(m.canBlockReload||m.canSkipUntil)&&(tt=this.getDeliveryDirectives(m,n.deliveryDirectives,at,Ft));tt&&at!==void 0&&m.canBlockReload&&(m.requestScheduled=E.loading.first+Math.max(De-U*2,De/2)),this.scheduleLoading(ae,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(),C=m.requestScheduled;if(E>=C){this.loadingPlaylist(t,n);return}const U=C-E;this.log(`reload live playlist ${t.name||t.bitrate+"bps"} in ${Math.round(U)} ms`),this.clearTimer(),this.timer=self.setTimeout(()=>this.loadingPlaylist(t,n),U)}getDeliveryDirectives(t,n,o,m){let E=Pn(t);return n!=null&&n.skip&&t.deltaUpdateFailed&&(o=n.msn,m=n.part,E=Kr.No),new Ct(o,m,E)}checkRetry(t){const n=t.details,o=lr(t),m=t.errorAction,{action:E,retryCount:C=0,retryConfig:U}=m||{},H=!!m&&!!U&&(E===Ee.RetryRequest||!m.resolved&&E===Ee.SendAlternateToPenaltyBox);if(H){var $;if(C>=U.maxNumRetry)return!1;if(o&&($=t.context)!=null&&$.deliveryDirectives)this.warn(`Retrying playlist loading ${C+1}/${U.maxNumRetry} after "${n}" without delivery-directives`),this.loadPlaylist();else{const ae=Ir(U,C);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),ae),this.warn(`Retrying playlist loading ${C+1}/${U.maxNumRetry} after "${n}" in ${ae}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 ii(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,C=this.tracksInGroup[o];if(!C||C.groupId!==m){this.warn(`Audio track with id:${o} and group:${m} not found in active group ${C==null?void 0:C.groupId}`);return}const U=C.details;C.details=n.details,this.log(`Audio track ${o} "${C.name}" lang:${C.lang} group:${m} loaded [${E.startSN}-${E.endSN}]`),o===this.trackId&&this.playlistLoaded(o,n,U)}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(U=>(m==null?void 0:m.indexOf(U))===-1)){this.groupIds=o,this.trackId=-1,this.currentTrack=null;const U=this.tracks.filter(xe=>!o||o.indexOf(xe.groupId)!==-1);if(U.length)this.selectDefaultTrack&&!U.some(xe=>xe.default)&&(this.selectDefaultTrack=!1),U.forEach((xe,Te)=>{xe.id=Te});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=U;const H=this.hls.config.audioPreference;if(!E&&H){const xe=Xi(H,U,ot);if(xe>-1)E=U[xe];else{const Te=Xi(H,this.tracks);E=this.tracks[Te]}}let $=this.findTrackId(E);$===-1&&E&&($=this.findTrackId(null));const ae={audioTracks:U};this.log(`Updating audio tracks, ${U.length} track(s) found in group(s): ${o==null?void 0:o.join(",")}`),this.hls.trigger(s.AUDIO_TRACKS_UPDATED,ae);const ce=this.trackId;if($!==-1&&ce===-1)this.setAudioTrack($);else if(U.length&&ce===-1){var C;const xe=new Error(`No audio track selected for current audio group-ID(s): ${(C=this.groupIds)==null?void 0:C.join(",")} track count: ${U.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,ot))return m;const E=Xi(t,this.tracksInGroup,ot);if(E>-1){const C=this.tracksInGroup[E];return this.setAudioTrack(E),C}else if(m){let C=n.loadLevel;C===-1&&(C=n.firstAutoLevel);const U=Jn(t,n.levels,o,C,ot);if(U===-1)return null;n.nextLoadLevel=U}if(t.channels||t.audioCodec){const C=Xi(t,o);if(C>-1)return o[C]}}}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 C=this.switchParams(m.url,o==null?void 0:o.details,m.details);this.loadPlaylist(C)}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,ot)))return o}if(t){const{name:o,lang:m,assocLang:E,characteristics:C,audioCodec:U,channels:H}=t;for(let $=0;$<n.length;$++){const ae=n[$];if(qn({name:o,lang:m,assocLang:E,characteristics:C,audioCodec:U,channels:H},ae,ot))return $}for(let $=0;$<n.length;$++){const ae=n[$];if(Zu(t.attrs,ae.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return $}for(let $=0;$<n.length;$++){const ae=n[$];if(Zu(t.attrs,ae.attrs,["LANGUAGE"]))return $}}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),C=t.details,U=C==null?void 0:C.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:""}${U&&C.live?" age "+U.toFixed(1)+(C.type?" "+C.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 C=(o=this.tracks[t])==null?void 0:o.buffer;C!=null&&C.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=ie(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 C=this.isQueued();(E||C)&&this.warn(`Transfering MediaSource with${C?" 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[C]=E;C&&(o[C]=y({},this.tracks[C]),this.removeBuffer(C)),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 C=this.mediaSource=n.mediaSource||new m;if(this.assignMediaSource(C),E)this._objectUrl=o.src,this.attachTransferred();else{const U=this._objectUrl=self.URL.createObjectURL(C);if(this.appendSource)try{o.removeAttribute("src");const H=self.ManagedMediaSource;o.disableRemotePlayback=o.disableRemotePlayback||H&&C instanceof H,lc(o),Ac(o,U),o.load()}catch(H){o.src=U}else o.src=U}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,C=E?E.length:0,U=()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()};if(m&&E&&C){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: ${zn(o,(H,$)=>H==="initSegment"?void 0:$)};
|
|
|
transfer tracks: ${zn(m,(H,$)=>H==="initSegment"?void 0:$)}}`),!ue(m,o)){n.mediaSource=null,n.tracks=void 0;const H=t.currentTime,$=this.details,ae=Math.max(H,($==null?void 0:$.fragments[0].start)||0);if(ae-H>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${H} -> ${ae}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(m)}"->"${Object.keys(o)}") start time: ${ae} currentTime: ${H}`),this.onMediaDetaching(s.MEDIA_DETACHING,{}),this.onMediaAttaching(s.MEDIA_ATTACHING,n),t.currentTime=ae;return}this.transferData=void 0,E.forEach(H=>{const $=H,ae=m[$];if(ae){const ce=ae.buffer;if(ce){const xe=this.fragmentTracker,Te=ae.id;if(xe.hasFragments(Te)||xe.hasParts(Te)){const at=xi.getBuffered(ce);xe.detectEvictedFragments($,at,Te,null,!0)}const De=qs($),tt=[$,ce];this.sourceBuffers[De]=tt,ce.updating&&this.operationQueue&&this.operationQueue.prependBlocker($),this.trackSourceBuffer($,ae)}}}),U(),this.bufferCreated()}else this.log("attachTransferred: MediaSource w/o SourceBuffers"),U()}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:C}=this;if(E){if(this.log(`media source ${o?"transferring":"detaching"}`),o)this.sourceBuffers.forEach(([U])=>{U&&this.removeBuffer(U)}),this.resetQueue();else{if(this.mediaSourceOpenOrEnded){const U=E.readyState==="open";try{const H=E.sourceBuffers;for(let $=H.length;$--;)U&&H[$].abort(),E.removeSourceBuffer(H[$]);U&&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||(C&&self.URL.revokeObjectURL(C),this.mediaSrc===C?(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),C=!E&&this.sourceBufferCount&&this.media&&m.some(U=>!o[U]);if(E||C){this.warn(`Unsupported transition between "${Object.keys(o)}" and "${m}" SourceBuffers`);return}m.forEach(U=>{var H,$,ae;const ce=n[U],{id:xe,codec:Te,levelCodec:De,container:tt,metadata:at,supplemental:Ft}=ce;let hr=o[U];const ar=(H=this.transferData)==null||($=H.tracks)==null?void 0:$[U],zr=ar!=null&&ar.buffer?ar:hr,Wr=(zr==null?void 0:zr.pendingCodec)||(zr==null?void 0:zr.codec),dn=zr==null?void 0:zr.levelCodec;hr||(hr=o[U]={buffer:void 0,listeners:[],codec:Te,supplemental:Ft,container:tt,levelCodec:De,metadata:at,id:xe});const Gr=Jr(Wr,dn),un=Gr==null?void 0:Gr.replace(uc,"$1");let mn=Jr(Te,De);const Qr=(ae=mn)==null?void 0:ae.replace(uc,"$1");mn&&Gr&&un!==Qr&&(U.slice(0,5)==="audio"&&(mn=St(mn,this.appendSource)),this.log(`switching codec ${Wr} to ${mn}`),mn!==(hr.pendingCodec||hr.codec)&&(hr.pendingCodec=mn),hr.container=tt,this.appendChangeType(U,tt,mn))}),(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 C=this.tracks[t];if(C){const U=C.buffer;U!=null&&U.changeType&&(this.log(`changing ${t} sourceBuffer type to ${m}`),U.changeType(m),C.codec=o,C.container=n)}this.shiftAndExecuteNext(t)},onStart:()=>{},onComplete:()=>{},onError:C=>{this.warn(`Failed to change ${t} SourceBuffer type`,C)}};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 C={label:"block-audio",execute:()=>{var U;const H=this.tracks.video;(this.lastVideoAppendEnd>m||H!=null&&H.buffer&&xi.isBuffered(H.buffer,m)||((U=this.fragmentTracker.getAppendedFrag(m,u.MAIN))==null?void 0:U.gap)===!0)&&(this.blockedAudioAppend=null,this.shiftAndExecuteNext("audio"))},onStart:()=>{},onComplete:()=>{},onError:U=>{this.warn("Error executing block-audio operation",U)}};this.blockedAudioAppend={op:C,frag:t},this.append(C,"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:C,frag:U,part:H,chunkMeta:$}=n,ae=$.buffering[E],ce=U.sn,xe=self.performance.now();ae.start=xe;const Te=U.stats.buffering,De=H?H.stats.buffering:null;Te.start===0&&(Te.start=xe),De&&De.start===0&&(De.start=xe);const tt=o.audio;let at=!1;E==="audio"&&(tt==null?void 0:tt.container)==="audio/mpeg"&&(at=!this.lastMpegAudioChunk||$.id===1||this.lastMpegAudioChunk.sn!==$.sn,this.lastMpegAudioChunk=$);const Ft=this.tracks.video,hr=Ft==null?void 0:Ft.buffer;if(hr&&ce!=="initSegment"){const Wr=H||U,dn=this.blockedAudioAppend;if(E==="audio"&&C!=="main"&&!this.blockedAudioAppend){const un=Wr.start+Wr.duration*.05,mn=hr.buffered,Qr=this.currentOp("video");!mn.length&&!Qr?this.blockAudio(Wr):!Qr&&!xi.isBuffered(hr,un)&&this.lastVideoAppendEnd<un&&this.blockAudio(Wr)}else if(E==="video"){const Gr=Wr.end;if(dn){const un=dn.frag.start;(Gr>un||Gr<this.lastVideoAppendEnd||xi.isBuffered(hr,un))&&this.unblockAudio()}this.lastVideoAppendEnd=Gr}}const ar=(H||U).start,zr={label:`append-${E}`,execute:()=>{if(ae.executeStart=self.performance.now(),at){const Wr=this.tracks[E];if(Wr){const dn=Wr.buffer;if(dn){const Gr=ar-dn.timestampOffset;Math.abs(Gr)>=.1&&(this.log(`Updating audio SourceBuffer timestampOffset to ${ar} (delta: ${Gr}) sn: ${ce})`),dn.timestampOffset=ar)}}}this.appendExecutor(m,E)},onStart:()=>{},onComplete:()=>{const Wr=self.performance.now();ae.executeEnd=ae.end=Wr,Te.first===0&&(Te.first=Wr),De&&De.first===0&&(De.first=Wr);const dn={};this.sourceBuffers.forEach(([Gr,un])=>{Gr&&(dn[Gr]=xi.getBuffered(un))}),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:U,part:H,chunkMeta:$,parent:U.type,timeRanges:dn})},onError:Wr=>{var dn;const Gr={type:c.MEDIA_ERROR,parent:U.type,details:f.BUFFER_APPEND_ERROR,sourceBufferName:E,frag:U,part:H,chunkMeta:$,error:Wr,err:Wr,fatal:!1},un=(dn=this.media)==null?void 0:dn.error;if(Wr.code===DOMException.QUOTA_EXCEEDED_ERR)Gr.details=f.BUFFER_FULL_ERROR;else if(Wr.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!un)Gr.errorAction=Dr(!0);else if(Wr.name===tu&&this.sourceBufferCount===0)Gr.errorAction=Dr(!0);else{const mn=++this.appendErrors[E];this.warn(`Failed ${mn}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${E}" sourceBuffer (${un||"no media error"})`),(mn>=this.hls.config.appendErrorMaxRetry||un)&&(Gr.fatal=!0)}this.hls.trigger(s.ERROR,Gr)}};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(([C])=>{C&&this.append(this.getFlushOp(C,m,E),C)})}onFragParsed(t,n){const{frag:o,part:m}=n,E=[],C=m?m.elementaryStreams:o.elementaryStreams;C[F.AUDIOVIDEO]?E.push("audiovideo"):(C[F.AUDIO]&&E.push("audio"),C[F.VIDEO]&&E.push("video"));const U=()=>{const H=self.performance.now();o.stats.buffering.end=H,m&&(m.stats.buffering.end=H);const $=m?m.stats:o.stats;this.hls.trigger(s.FRAG_BUFFERED,{frag:o,part:m,stats:$,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(U,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(([C])=>{if(C){const U=this.tracks[C];(!n.type||n.type===C)&&(U.ending=!0,U.ended||(U.ended=!0,this.log(`${C} buffer reached EOS`)))}});const m=((o=this.overrides)==null?void 0:o.endOfStream)!==!1;this.sourceBufferCount>0&&!this.sourceBuffers.some(([C])=>{var U;return C&&!((U=this.tracks[C])!=null&&U.ended)})&&(m?(this.log("Queueing EOS"),this.blockUntilOpen(()=>{this.tracksEnded();const{mediaSource:C}=this;if(!C||C.readyState!=="open"){C&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${C.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),C.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,C=n.levelTargetDuration,U=n.live&&m.liveBackBufferLength!==null?m.liveBackBufferLength:m.backBufferLength;if(r(U)&&U>=0){const H=Math.max(U,C),$=Math.floor(E/C)*C-H;this.flushBackBuffer(E,C,$)}if(r(m.frontBufferFlushThreshold)&&m.frontBufferFlushThreshold>0){const H=Math.max(m.maxBufferLength,m.frontBufferFlushThreshold),$=Math.max(H,C),ae=Math.floor(E/C)*C+$;this.flushFrontBuffer(E,C,ae)}}flushBackBuffer(t,n,o){this.sourceBuffers.forEach(([m,E])=>{if(E){const U=xi.getBuffered(E);if(U.length>0&&o>U.start(0)){var C;this.hls.trigger(s.BACK_BUFFER_REACHED,{bufferEnd:o});const H=this.tracks[m];if((C=this.details)!=null&&C.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 C=xi.getBuffered(E),U=C.length;if(U<2)return;const H=C.start(U-1),$=C.end(U-1);if(o>H||t>=H&&t<=$)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 $=Math.max(0,n.fragmentStart),ae=Math.max($,m);return{duration:1/0,start:$,end:ae}}return{duration:1/0}}const E=(t=this.overrides)==null?void 0:t.duration;if(E)return r(E)?{duration:E}:null;const C=this.media.duration,U=r(o.duration)?o.duration:0;return m>U&&m>C||!r(C)?{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}) ${zn(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 C=E,U=t[C];if(this.isPending(U)){const H=this.getTrackCodec(U,C),$=`${U.container};codecs=${H}`;U.codec=H,this.log(`creating sourceBuffer(${$})${this.currentOp(C)?" Queued":""} ${zn(U)}`);try{const ae=o.addSourceBuffer($),ce=qs(C),xe=[C,ae];n[ce]=xe,U.buffer=ae}catch(ae){var m;this.error(`error while trying to add sourceBuffer: ${ae.message}`),this.shiftAndExecuteNext(C),(m=this.operationQueue)==null||m.removeBlockers(),delete this.tracks[C],this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:ae,sourceBufferName:C,mimeType:$,parent:U.id});return}this.trackSourceBuffer(C,U)}}this.bufferCreated()}getTrackCodec(t,n){const o=t.supplemental;let m=t.codec;o&&(n==="video"||n==="audiovideo")&&Oe(o,"video")&&(m=Vr(m,o));const E=Jr(m,t.levelCodec);return E?n.slice(0,5)==="audio"?St(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,C)=>{const U=C.removedRanges;U!=null&&U.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,C=this.tracks[t],U=C==null?void 0:C.buffer;if(!m||!E||!U){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,$=r(E.duration)?E.duration:1/0,ae=Math.max(0,n),ce=Math.min(o,H,$);ce>ae&&(!C.ending||C.ended)?(C.ended=!1,this.log(`Removing [${ae},${ce}] from the ${t} SourceBuffer`),U.remove(ae,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(C=>this.appendBlocker(C));return n.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(m).then(C=>{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 C=o.bind(this,t);m.listeners.push({event:n,listener:C}),E.addEventListener(n,C)}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=(U,H)=>H?U.width!==H.width||U.height!==H.height:!0;let E=t.length-1;const C=Math.max(n,o);for(let U=0;U<t.length;U+=1){const H=t[U];if((H.width>=C||H.height>=C)&&m(H,t[U+1])){E=U;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 C=Pl(m);return E.value===!0?C+=Eu(E.params):(C+="=",Array.isArray(E.value)?C+=Wc(E):C+=_c(E)),C}).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(C=>{if(E!=null&&E(C))return;let U=P[C];const H=m[C];H&&(U=H(U,t)),!(C==="v"&&U===1)&&(C=="pr"&&U===1||Ic(U)&&(Gc(C)&&typeof U=="string"&&(U=new Xo(U)),n[C]=U))}),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((C,U)=>{var H,$;const[ae,ce]=U,xe=((H=m.find(Te=>Te[1].includes(ae)))===null||H===void 0?void 0:H[0])||ro.REQUEST;return($=C[xe])!==null&&$!==void 0||(C[xe]={}),C[xe][ae]=ce,C},{});return Object.entries(E).reduce((C,[U,H])=>(C[U]=mc(H,t),C),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:C}=m,U=this.hls.levels[E.level],H=this.getObjectType(E),$={d:(C||E).duration*1e3,ot:H};(H===Bo.VIDEO||H===Bo.AUDIO||H==Bo.MUXED)&&($.br=U.bitrate/1e3,$.tb=this.getTopBandwidth(H)/1e3,$.bl=this.getBufferLength(H));const ae=C?this.getNextPart(C):this.getNextFrag(E);ae!=null&&ae.url&&ae.url!==E.url&&($.nor=ae.url),this.apply(m,$)}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((C,U)=>(m.includes(U)&&(C[U]=n[U]),C),{}));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,C=(n=this.hls.levels[E.level])==null||(o=n.details)==null?void 0:o.partList;if(C){const{sn:U}=E;for(let H=C.length-1;H>=0;H--){const $=C[H];if($.index===m&&$.fragment.sn===U)return C[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,C=E>-1?E+1:m.levels.length;o=m.levels.slice(0,C)}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:xi.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,C,U){n(E),this.loader.load(E,C,U)}}}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,C,U){n(E),this.loader.load(E,C,U)}}}}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,C=this.pathwayId;if(n.context){const{groupId:U,pathwayId:H,type:$}=n.context;U&&m?C=this.getPathwayForGroupId(U,$,C):H&&(C=H)}C in this.penalizedPathways||(this.penalizedPathways[C]=performance.now()),!E&&m&&(E=this.pathways()),E&&E.length>1&&(this.updatePathwayPriority(E),o.resolved=this.pathwayId!==C),o.resolved||this.warn(`Could not resolve ${n.details} ("${n.error.message}") with content-steering for Pathway: ${C} levels: ${m&&m.length} priorities: ${zn(E)} penalized: ${zn(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 C=t[E];if(C in o)continue;if(C===this.pathwayId)return;const U=this.hls.nextLoadLevel,H=this.hls.levels[U];if(n=this.getLevelsForPathway(C),n.length>0){this.log(`Setting Pathway to "${C}"`),this.pathwayId=C,Hn(n),this.hls.trigger(s.LEVELS_UPDATED,{levels:n});const $=this.hls.levels[U];H&&$&&this.levels&&($.attrs["STABLE-VARIANT-ID"]!==H.attrs["STABLE-VARIANT-ID"]&&$.bitrate!==H.bitrate&&this.log(`Unstable Pathways change from bitrate ${H.bitrate} to ${$.bitrate}`),this.hls.nextLoadLevel=U);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:C,"BASE-ID":U,"URI-REPLACEMENT":H}=E;if(n.some(ae=>ae.pathwayId===C))return;const $=this.getLevelsForPathway(U).map(ae=>{const ce=new Ui(ae.attrs);ce["PATHWAY-ID"]=C;const xe=ce.AUDIO&&`${ce.AUDIO}_clone_${C}`,Te=ce.SUBTITLES&&`${ce.SUBTITLES}_clone_${C}`;xe&&(o[ce.AUDIO]=xe,ce.AUDIO=xe),Te&&(m[ce.SUBTITLES]=Te,ce.SUBTITLES=Te);const De=Yl(ae.uri,ce["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",H),tt=new cr({attrs:ce,audioCodec:ae.audioCodec,bitrate:ae.bitrate,height:ae.height,name:ae.name,url:De,videoCodec:ae.videoCodec,width:ae.width});if(ae.audioGroups)for(let at=1;at<ae.audioGroups.length;at++)tt.addGroupId("audio",`${ae.audioGroups[at]}_clone_${C}`);if(ae.subtitleGroups)for(let at=1;at<ae.subtitleGroups.length;at++)tt.addGroupId("text",`${ae.subtitleGroups[at]}_clone_${C}`);return tt});n.push(...$),fu(this.audioTracks,o,H,C),fu(this.subtitleTracks,m,H,C)})}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(ae){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${t}`);return}if(m.protocol!=="data:"){const ae=(this.hls.bandwidthEstimate||n.abrEwmaDefaultEstimate)|0;m.searchParams.set("_HLS_pathway",this.pathwayId),m.searchParams.set("_HLS_throughput",""+ae)}const E={responseType:"json",url:m.href},C=n.steeringManifestLoadPolicy.default,U=C.errorRetry||C.timeoutRetry||{},H={loadPolicy:C,timeout:C.maxLoadTimeMs,maxRetry:U.maxNumRetry||0,retryDelay:U.retryDelayMs||0,maxRetryDelay:U.maxRetryDelayMs||0},$={onSuccess:(ae,ce,xe,Te)=>{this.log(`Loaded steering manifest: "${m}"`);const De=ae.data;if((De==null?void 0:De.VERSION)!==1){this.log(`Steering VERSION ${De.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=De.TTL;const{"RELOAD-URI":tt,"PATHWAY-CLONES":at,"PATHWAY-PRIORITY":Ft}=De;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 hr={steeringManifest:De,url:m.toString()};this.hls.trigger(s.STEERING_MANIFEST_LOADED,hr),Ft&&this.updatePathwayPriority(Ft)},onError:(ae,ce,xe,Te)=>{if(this.log(`Error loading steering manifest: ${ae.code} ${ae.text} (${ce.url})`),this.stopLoad(),ae.code===410){this.enabled=!1,this.log(`Steering manifest ${ce.url} no longer available`);return}let De=this.timeToLoad*1e3;if(ae.code===429){const tt=this.loader;if(typeof(tt==null?void 0:tt.getResponseHeader)=="function"){const at=tt.getResponseHeader("Retry-After");at&&(De=parseFloat(at)*1e3)}this.log(`Steering manifest ${ce.url} rate limited`);return}this.scheduleRefresh(this.uri||ce.url,De)},onTimeout:(ae,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,$)}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(C=>C.groupId===m).map(C=>{const U=y({},C);return U.details=void 0,U.attrs=new Ui(U.attrs),U.url=U.attrs.URI=Yl(C.url,C.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",n),U.groupId=U.attrs["GROUP-ID"]=t[m],U.attrs["PATHWAY-ID"]=o,U});P.push(...E)})}function Yl(P,t,n,o){const{HOST:m,PARAMS:E,[n]:C}=o;let U;t&&(U=C==null?void 0:C[t],U&&(P=U));const H=new self.URL(P);return m&&!U&&(H.host=m),E&&Object.keys(E).sort().forEach($=>{$&&H.searchParams.set($,E[$])}),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 C=Object.keys(this.keySystemAccessPromises);C.length||(C=oi(this.config));const U=C.map(pi).filter(H=>!!H);this.keyFormatPromise=this.getKeyFormatPromise(U)}this.keyFormatPromise.then(C=>{const U=mo(C);let H,$;if(o==="sinf"){if(U!==ca.FAIRPLAY){this.warn(`Ignoring unexpected "${n.type}" event with init data type: "${o}" for selected key-system ${U}`);return}const De=Qt(new Uint8Array(m));try{const tt=ms(JSON.parse(De).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)),$=ca.FAIRPLAY}catch(tt){this.warn(`${E} Failed to parse sinf: ${tt}`);return}}else{if(U!==ca.WIDEVINE&&U!==ca.PLAYREADY){this.warn(`Ignoring unexpected "${n.type}" event with init data type: "${o}" for selected key-system ${U}`);return}const De=Pt(m),tt=De.filter(Ft=>!!Ft.systemId&&go(Ft.systemId)===U);tt.length>1&&this.warn(`${E} Using first of ${tt.length} pssh found for selected key-system ${U}`);const at=tt[0];if(!at){De.length===0||De.some(Ft=>!Ft.systemId)?this.warn(`${E} contains incomplete or invalid pssh data`):this.log(`ignoring ${E} for ${De.map(Ft=>go(Ft.systemId)).join(",")} pssh data in favor of playlist keys`);return}if($=go(at.systemId),at.version===0&&at.data)if($===ca.WIDEVINE){const Ft=at.data.length-22;H=new Uint8Array(at.data.subarray(Ft,Ft+16))}else $===ca.PLAYREADY&&(H=co(at.data))}if(!$||!H)return;const ae=V.hexDump(H),{keyIdToKeySessionPromise:ce,mediaKeySessions:xe}=this;let Te=ce[ae];for(let De=0;De<xe.length;De++){const tt=xe[De],at=tt.decryptdata;if(!at.keyId)continue;const Ft=V.hexDump(at.keyId);if(ae===Ft||at.uri.replace(/-/g,"").indexOf(ae)!==-1){if(Te=ce[Ft],at.pssh)break;delete ce[Ft],at.pssh=new Uint8Array(m),at.keyId=H,Te=ce[ae]=Te.then(()=>this.generateRequestWithPreferredKeySession(tt,o,m,"encrypted-event-key-match")),Te.catch(hr=>this.handleError(hr));break}}if(!Te){if($!==U){this.log(`Ignoring "${n.type}" event with ${$} init data for selected key-system ${U}`);return}Te=ce[ae]=this.getKeySystemSelectionPromise([$]).then(({keySystem:De,mediaKeys:tt})=>{var at;this.throwIfDestroyed();const Ft=new Qa("ISO-23001-7",ae,(at=pi(De))!=null?at:"");return Ft.pssh=new Uint8Array(m),Ft.keyId=H,this.attemptSetMediaKeys(De,tt).then(()=>{this.throwIfDestroyed();const hr=this.createMediaKeySessionContext({decryptdata:Ft,keySystem:De,mediaKeys:tt});return this.generateRequestWithPreferredKeySession(hr,o,m,"encrypted-event-no-match")})}),Te.catch(De=>this.handleError(De))}})}},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=(C,U,H)=>!!C&&H.indexOf(C)===U,m=n.map(C=>C.audioCodec).filter(o),E=n.map(C=>C.videoCodec).filter(o);return m.length+E.length===0&&E.push("avc1.42e01e"),new Promise((C,U)=>{const H=$=>{const ae=$.shift();this.getMediaKeysPromise(ae,m,E).then(ce=>C({keySystem:ae,mediaKeys:ce})).catch(ce=>{$.length?H($):ce instanceof So?U(ce):U(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 C=E==null?void 0:E.keySystemAccess;if(!C){this.log(`Requesting encrypted media "${t}" key-system access with config: ${zn(m)}`),C=this.requestMediaKeySystemAccess(t,m);const U=this.keySystemAccessPromises[t]={keySystemAccess:C};return C.catch(H=>{this.log(`Failed to obtain access to key-system "${t}": ${H}`)}),C.then(H=>{this.log(`Access for key-system "${H.keySystem}" obtained`);const $=this.fetchServerCertificate(t);return this.log(`Create media-keys for "${t}"`),U.mediaKeys=H.createMediaKeys().then(ae=>(this.log(`Media-keys created for "${t}"`),$.then(ce=>ce?this.setMediaKeysServerCertificate(ae,t,ce):ae))),U.mediaKeys.catch(ae=>{this.error(`Failed to create media-keys for "${t}"}: ${ae}`)}),U.mediaKeys})}return C.then(()=>E.mediaKeys)}createMediaKeySessionContext({decryptdata:t,keySystem:n,mediaKeys:o}){this.log(`Creating key-system session "${n}" keyId: ${V.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 V.hexDump(t.keyId)}updateKeySession(t,n){var o;const m=t.mediaKeysSession;return this.log(`Updating key-session "${m.sessionId}" for keyID ${V.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(C=>!!C&&m.indexOf(C)!==-1);return this.getKeySystemSelectionPromise(E).then(({keySystem:C})=>{const U=pi(C);U?n(U):o(new Error(`Unable to find format for key-system "${C}"`))}).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:U,mediaKeys:H})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${t.frag.sn} ${t.frag.type}: ${t.frag.level} using key ${m}`),this.attemptSetMediaKeys(U,H).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:U,mediaKeys:H,decryptdata:n}))))),(this.keyIdToKeySessionPromise[o]=E.then(U=>{const H="cenc",$=n.pssh?n.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(U,H,$,"playlist-key")})).catch(U=>this.handleError(U))),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 ${zn({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,C;const U=(E=this.config.drmSystems)==null||(C=E[t.keySystem])==null?void 0:C.generateRequest;if(U)try{const De=U.call(this.hls,n,o,t);if(!De)throw new Error("Invalid response from configured generateRequest filter");n=De.initDataType,o=De.initData?De.initData:null,t.decryptdata.pssh=o?new Uint8Array(o):null}catch(De){var H;if(this.warn(De.message),(H=this.hls)!=null&&H.config.debug)throw De}if(o===null)return this.log(`Skipping key-session request for "${m}" (no initData)`),Promise.resolve(t);const $=this.getKeyIdString(t.decryptdata);this.log(`Generating key-session request for "${m}": ${$} (init data type: ${n} length: ${o?o.byteLength:null})`);const ae=new ks,ce=t._onmessage=De=>{const tt=t.mediaKeysSession;if(!tt){ae.emit("error",new Error("invalid state"));return}const{messageType:at,message:Ft}=De;this.log(`"${at}" message event for session "${tt.sessionId}" message size: ${Ft.byteLength}`),at==="license-request"||at==="license-renewal"?this.renewLicense(t,Ft).catch(hr=>{ae.eventNames().length?ae.emit("error",hr):this.handleError(hr)}):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=De=>{if(!t.mediaKeysSession){ae.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(t);const at=t.keyStatus;ae.emit("keyStatus",at),at==="expired"&&(this.warn(`${t.keySystem} expired for key ${$}`),this.renewKeySession(t))};t.mediaKeysSession.addEventListener("message",ce),t.mediaKeysSession.addEventListener("keystatuseschange",xe);const Te=new Promise((De,tt)=>{ae.on("error",tt),ae.on("keyStatus",at=>{at.startsWith("usable")?De():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 De;this.log(`Request generated for key-session "${(De=t.mediaKeysSession)==null?void 0:De.sessionId}" keyId: ${$}`)}).catch(De=>{throw new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_SESSION,error:De,fatal:!1},`Error generating key-session request: ${De}`)}).then(()=>Te).catch(De=>{throw ae.removeAllListeners(),this.removeSession(t),De}).then(()=>(ae.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: ${V.hexDump("buffer"in o?new Uint8Array(o.buffer,o.byteOffset,o.byteLength):new Uint8Array(o))} session keyId: ${V.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((C,U)=>{const H={responseType:"arraybuffer",url:E},$=n.certLoadPolicy.default,ae={loadPolicy:$,timeout:$.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Te,De,tt)=>{C(xe.data)},onError:(xe,Te,De,tt)=>{U(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:De,response:b({url:H.url,data:void 0},xe)},`"${t}" certificate request failed (${E}). Status: ${xe.code} (${xe.text})`))},onTimeout:(xe,Te,De)=>{U(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:De,response:{url:H.url,data:void 0}},`"${t}" certificate request timed out (${E})`))},onAbort:(xe,Te,De)=>{U(new Error("aborted"))}};m.load(H,ae,ce)})):Promise.resolve()}setMediaKeysServerCertificate(t,n,o){return new Promise((m,E)=>{t.setServerCertificate(o).then(C=>{this.log(`setServerCertificate ${C?"success":"not supported by CDM"} (${o==null?void 0:o.byteLength}) on "${n}"`),m(t)}).catch(C=>{E(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:C,fatal:!0},C.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 ae;for(let ce=0,xe=E.length;ce<xe;ce++){var C,U;ae=E[ce];const Te=(C=ae.querySelector("name"))==null?void 0:C.textContent,De=(U=ae.querySelector("value"))==null?void 0:U.textContent;Te&&De&&t.setRequestHeader(Te,De)}}const H=m.querySelector("Challenge"),$=H==null?void 0:H.textContent;if(!$)throw new Error("Cannot find <Challenge> in key message");return Bs(atob($))}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(C=>{if(!o.decryptdata)throw C;return t.open("POST",n,!0),E.call(this.hls,t,n,o,m)}).then(C=>(t.readyState||t.open("POST",n,!0),{xhr:t,licenseChallenge:C||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 C=this.getLicenseServerUrlOrThrow(t.keySystem);this.log(`Sending license request to URL: ${C}`);const U=new XMLHttpRequest;U.responseType="arraybuffer",U.onreadystatechange=()=>{if(!this.hls||!t.mediaKeysSession)return E(new Error("invalid state"));if(U.readyState===4)if(U.status===200){this._requestLicenseFailureCount=0;let H=U.response;this.log(`License received ${H instanceof ArrayBuffer?H.byteLength:H}`);const $=this.config.licenseResponseCallback;if($)try{H=$.call(this.hls,U,C,t)}catch(ae){this.error(ae)}m(H)}else{const H=o.errorRetry,$=H?H.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>$||U.status>=400&&U.status<500)E(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:U,response:{url:C,data:void 0,code:U.status,text:U.statusText}},`License Request XHR failed (${C}). Status: ${U.status} (${U.statusText})`));else{const ae=$-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${ae} attempts left`),this.requestLicense(t,n).then(m,E)}}},t.licenseXhr&&t.licenseXhr.readyState!==XMLHttpRequest.DONE&&t.licenseXhr.abort(),t.licenseXhr=U,this.setupLicenseXHR(U,C,t,n).then(({xhr:H,licenseChallenge:$})=>{t.keySystem==ca.PLAYREADY&&($=this.unpackPlayReadyKeyMessage(H,$)),H.send($)})})}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 C;this.log(`Could not clear media keys: ${E}`),(C=this.hls)==null||C.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 C;this.log(`Could not close sessions and clear media keys: ${E}`),(C=this.hls)==null||C.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((U,H)=>{self.setTimeout(()=>H(new Error("MediaKeySession.remove() timeout")),8e3),n.remove().then(U)}):Promise.resolve()).catch(U=>{var H;this.log(`Could not remove session: ${U}`),(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: ${U}`)})}).then(()=>n.close()).catch(U=>{var H;this.log(`Could not close session: ${U}`),(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: ${U}`)})})}}}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,C=o-this.lastDroppedFrames,U=n-this.lastDecodedFrames,H=1e3*C/E,$=this.hls;if($.trigger(s.FPS_DROP,{currentDropped:C,currentDecoded:U,totalDroppedFrames:o}),H>0&&C>$.config.fpsDroppedMonitoringThreshold*U){let ae=$.currentLevel;$.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+ae),ae>0&&($.autoLevelCapping===-1||$.autoLevelCapping>=ae)&&(ae=ae-1,$.trigger(s.FPS_DROP_LEVEL_CAPPING,{level:ae,droppedLevel:$.currentLevel}),$.autoLevelCapping=ae,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){Y.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){Y.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 C=0;C<E.length;C++)(!o||o(E[C]))&&P.removeCue(E[C])}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,C=P.length;E<C;E++){const U=P[E];if(U.startTime>=t&&U.endTime<=n)o.push(U);else if(U.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(C=>{Mu(C)})}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,C=this.tracksInGroup[o];if(!C||C.groupId!==m){this.warn(`Subtitle track with id:${o} and group:${m} not found in active group ${C==null?void 0:C.groupId}`);return}const U=C.details;C.details=n.details,this.log(`Subtitle track ${o} "${C.name}" lang:${C.lang} group:${m} loaded [${E.startSN}-${E.endSN}]`),o===this.trackId&&this.playlistLoaded(o,n,U)}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(C=>(m==null?void 0:m.indexOf(C))===-1)){this.groupIds=o,this.trackId=-1,this.currentTrack=null;const C=this.tracks.filter(ae=>!o||o.indexOf(ae.groupId)!==-1);if(C.length)this.selectDefaultTrack&&!C.some(ae=>ae.default)&&(this.selectDefaultTrack=!1),C.forEach((ae,ce)=>{ae.id=ce});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=C;const U=this.hls.config.subtitlePreference;if(!E&&U){this.selectDefaultTrack=!1;const ae=Xi(U,C);if(ae>-1)E=C[ae];else{const ce=Xi(U,this.tracks);E=this.tracks[ce]}}let H=this.findTrackId(E);H===-1&&E&&(H=this.findTrackId(null));const $={subtitleTracks:C};this.log(`Updating subtitle tracks, ${C.length} track(s) found in "${o==null?void 0:o.join(",")}" group-id`),this.hls.trigger(s.SUBTITLE_TRACKS_UPDATED,$),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(ii(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),C=t.details,U=C==null?void 0:C.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:""}${U&&C.live?" age "+U.toFixed(1)+(C.type?" "+C.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=>ii(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:C,groupId:U="",name:H,type:$,url:ae}=m;this.hls.trigger(s.SUBTITLE_TRACK_SWITCH,{id:C,groupId:U,name:H,type:$,url:ae});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 $=this.interstitial.playoutLimit,ae=this.currentTime;this.startOffset+ae>=$&&this.hls.trigger(s.PLAYOUT_LIMIT_REACHED,{})};const E=this.hls=new t(n);this.interstitial=o,this.assetItem=m;let C=m.uri;try{C=Ol(C,E.sessionId).href}catch(H){}E.loadSource(C);const U=()=>{this.hasDetails=!0};E.once(s.LEVEL_LOADED,U),E.once(s.AUDIO_TRACK_LOADED,U),E.once(s.SUBTITLE_TRACK_LOADED,U),E.on(s.MEDIA_ATTACHING,(H,{media:$})=>{this.removeMediaListeners(),this.mediaAttached=$,this.interstitial.playoutLimit&&$.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=xi.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=xi.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 C=o[E];if(!C.error){const U=C.timelineStart;if(n===U||n>U&&n<U+(C.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,C=this.parseDateRanges(m,{url:o.url},n),U=Object.keys(m),H=E?E.filter($=>!U.includes($.identifier)):[];C.length&&C.sort(($,ae)=>{const ce=$.cue.pre,xe=$.cue.post,Te=ae.cue.pre,De=ae.cue.post;if(ce&&!Te)return-1;if(Te&&!ce||xe&&!De)return 1;if(De&&!xe)return-1;if(!ce&&!Te&&!xe&&!De){const tt=$.startTime,at=ae.startTime;if(tt!==at)return tt-at}return $.dateRange.tagOrder-ae.dateRange.tagOrder}),this.events=C,H.forEach($=>{this.removeEvent($)}),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((U,H)=>Math.abs(U.playout.start-m[H].playout.start)>.005||Math.abs(U.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 C=0;C<E.length;C++){const U=E[C],H=t[U];if(H.isInterstitial){let $=this.eventMap[U];$?$.setDateRange(H):($=new Ql(H,n),this.eventMap[U]=$,o===!1&&($.appendInPlace=o)),m.push($)}}return m}parseSchedule(t,n){const o=[],m=n.main.details,E=m.live?1/0:m.edge;let C=0;if(t=t.filter(H=>!H.error&&!(H.cue.once&&H.hasPlayed)),t.length){this.resolveOffsets(t,n);let H=0,$=0;if(t.forEach((ae,ce)=>{const xe=ae.cue.pre,Te=ae.cue.post,De=t[ce-1]||null,tt=ae.appendInPlace,at=Te?E:ae.startOffset,Ft=ae.duration,hr=ae.timelineOccupancy===Dl.Range?Ft:0,ar=ae.resumptionOffset,zr=(De==null?void 0:De.startTime)===at,Wr=at+ae.cumulativeDuration;let dn=tt?Wr+Ft:at+ar;if(xe||!Te&&at<=0){const un=$;$+=hr,ae.timelineStart=Wr;const mn=C;C+=Ft,o.push({event:ae,start:Wr,end:dn,playout:{start:mn,end:C},integrated:{start:un,end:$}})}else if(at<=E){if(!zr){const Qr=at-H;if(Qr>yl){const Yn=H,hi=$;$+=Qr;const os=C;C+=Qr;const ya={previousEvent:t[ce-1]||null,nextEvent:ae,start:Yn,end:Yn+Qr,playout:{start:os,end:C},integrated:{start:hi,end:$}};o.push(ya)}else Qr>0&&De&&(De.cumulativeDuration+=Qr,o[o.length-1].end=at)}Te&&(dn=Wr),ae.timelineStart=Wr;const un=$;$+=hr;const mn=C;C+=Ft,o.push({event:ae,start:Wr,end:dn,playout:{start:mn,end:C},integrated:{start:un,end:$}})}else return;const Gr=ae.resumeTime;Te||Gr>E?H=E:H=Gr}),H<E){var U;const ae=H,ce=$,xe=E-H;$+=xe;const Te=C;C+=xe,o.push({previousEvent:((U=o[o.length-1])==null?void 0:U.event)||null,nextEvent:null,start:H,end:ae+xe,playout:{start:Te,end:C},integrated:{start:ce,end:$}})}this.setDurations(E,C,$)}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,C=-1;t.forEach((U,H)=>{const $=U.cue.pre,ae=U.cue.post,ce=$?0:ae?m:U.startTime;this.updateAssetDurations(U),C===ce?U.cumulativeDuration=E:(E=0,C=ce),!ae&&U.snapOptions.in&&(U.resumeAnchor=En(null,o.fragments,U.startOffset+U.resumptionOffset,0,0)||void 0),U.appendInPlace&&!U.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(U,n)||(U.appendInPlace=!1)),!U.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 ${U}`));const Te=r(U.resumeOffset)?U.resumeOffset:U.duration;E+=Te})}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(C=>{const U=n[C].details,H=U.edge;if(o>=H)return this.log(`"${t.identifier}" resumption ${o} past ${C} playlist end ${H}`),!1;const $=En(null,U.fragments,o);if(!$)return this.log(`"${t.identifier}" resumption ${o} does not align with any fragments in ${C} playlist (${U.fragStart}-${U.fragmentEnd})`),!0;const ae=C==="audio"?.175:0;return Math.abs($.start-o)<du+ae||Math.abs($.end-o)<du+ae?!1:(this.log(`"${t.identifier}" resumption ${o} not aligned with ${C} fragment bounds (${$.start}-${$.end} sn: ${$.sn} cc: ${$.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((C,U)=>{const H=n+o;C.startOffset=o,C.timelineStart=H,m||(m=C.duration===null),E||(E=!!C.error);const $=C.error?0:C.duration||0;o+=$}),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 Te=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,xe,o);this.hls.trigger(s.ERROR,Te);return}n&&m.protocol!=="data:"&&m.searchParams.set("_HLS_start_offset",""+n);const E=this.hls.config,C=E.loader,U=new C(E),H={responseType:"json",url:m.href},$=E.interstitialAssetListLoadPolicy.default,ae={loadPolicy:$,timeout:$.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Te,De,tt)=>{const at=xe.data,Ft=at==null?void 0:at.ASSETS;if(!Array.isArray(Ft)){const hr=this.assignAssetListError(t,f.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),De.url,Te,tt);this.hls.trigger(s.ERROR,hr);return}t.assetListResponse=at,this.hls.trigger(s.ASSET_LIST_LOADED,{event:t,assetListResponse:at,networkDetails:tt})},onError:(xe,Te,De,tt)=>{const at=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${xe.code} ${xe.text} (${Te.url})`),Te.url,tt,De);this.hls.trigger(s.ERROR,at)},onTimeout:(xe,Te,De)=>{const tt=this.assignAssetListError(t,f.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${Te.url})`),Te.url,xe,De);this.hls.trigger(s.ERROR,tt)}};return U.load(H,ae,ce),this.hls.trigger(s.ASSET_LIST_LOADING,{event:t}),U}assignAssetListError(t,n,o,m,E,C){return t.error=o,{type:c.NETWORK_ERROR,details:n,fatal:!1,interstitial:t,url:m,error:o,networkDetails:C,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 C=m<=-.01;this.timelinePos=o,this.bufferedPos=o;const U=this.playingItem;if(!U){this.checkBuffer();return}if(C&&this.schedule.resetErrorsInRange(o,o-m)&&this.updateSchedule(),this.checkBuffer(),C&&o<U.start||o>=U.end){var H;const xe=this.schedule.findItemIndexAtTime(this.timelinePos);if(!this.isInterstitial(U)&&(H=this.media)!=null&&H.paused&&(this.shouldPlay=!1),!C){const Te=this.findItemIndex(U);if(xe>Te){const De=this.schedule.findJumpRestrictedIndex(Te+1,xe);if(De>Te){this.setSchedulePosition(De);return}}}this.setSchedulePosition(xe);return}const $=this.playingAsset;if(!$){if(this.playingLastItem&&this.isInterstitial(U)){const xe=U.event.assetList[0];xe&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(o,xe))}return}const ae=$.timelineStart,ce=$.duration||0;(C&&o<ae||o>=ae+ce)&&this.setScheduleToAssetAtTime(o,$)},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 U=this.findItemIndex(m);this.setSchedulePosition(U+1)}const E=this.playingAsset;if(!E)return;const C=E.timelineStart+(E.duration||0);o>=C&&this.setScheduleToAssetAtTime(o,E)},this.onScheduleUpdate=(o,m)=>{const E=this.schedule,C=this.playingItem,U=E.events||[],H=E.items||[],$=E.durations,ae=o.map(Te=>Te.identifier),ce=!!(U.length||ae.length);if(ce&&this.log(`INTERSTITIALS_UPDATED (${U.length}): ${U}
|
|
|
Schedule: ${H.map(Te=>Fu(Te))}`),ae.length&&this.log(`Removed events ${ae}`),this.playerQueue.forEach(Te=>{if(Te.interstitial.appendInPlace){const De=Te.assetItem.timelineStart,tt=Te.timelineOffset-De;if(tt)try{Te.timelineOffset=De}catch(at){Math.abs(tt)>du&&this.warn(`${at} ("${Te.assetId}" ${Te.timelineOffset}->${De})`)}}}),C){const Te=this.updateItem(C,this.timelinePos);this.itemsMatch(C,Te)&&(this.playingItem=Te,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 Te=this.updateItem(xe,this.bufferedPos);this.itemsMatch(xe,Te)?this.bufferingItem=Te:xe.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(xe.event,null))}if(o.forEach(Te=>{Te.assetList.forEach(De=>{this.clearAssetPlayer(De.identifier,null)})}),ce||m){if(this.hls.trigger(s.INTERSTITIALS_UPDATED,{events:U.slice(0),schedule:H.slice(0),durations:$,removedIds:ae}),this.isInterstitial(C)&&ae.includes(C.event.identifier)){this.warn(`Interstitial "${C.event.identifier}" removed while playing`),this.primaryFallback(C.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,Te,De,tt)=>{if(ce){let at=ce[xe].start;const Ft=ce.event;if(Ft){if(xe==="playout"||Ft.timelineOccupancy!==Dl.Point){const hr=o(Te);(hr==null?void 0:hr.interstitial)===Ft&&(at+=hr.assetItem.startOffset+hr[tt])}}else{const hr=De==="bufferedPos"?C():t[De];at+=hr-ce.start}return at}return 0},E=(ce,xe)=>{if(ce!==0&&xe!=="primary"&&t.schedule.length){var Te;const De=t.schedule.findItemIndexAtTime(ce),tt=(Te=t.schedule.items)==null?void 0:Te[De];if(tt){const at=tt[xe].start-tt.start;return ce+at}}return ce},C=()=>{const ce=t.bufferedPos;return ce===Number.MAX_VALUE?U("primary"):Math.max(ce,0)},U=ce=>{var xe;return(xe=t.primaryDetails)!=null&&xe.live?t.primaryDetails.edge:t.schedule.durations[ce]},H=(ce,xe)=>{var Te,De;const tt=t.effectivePlayingItem;if(tt!=null&&(Te=tt.event)!=null&&Te.restrictions.skip)return;t.log(`seek to ${ce} "${xe}"`);const at=t.effectivePlayingItem,Ft=t.schedule.findItemIndexAtTime(ce,xe),hr=(De=t.schedule.items)==null?void 0:De[Ft],ar=t.getBufferingPlayer(),zr=ar==null?void 0:ar.interstitial,Wr=zr==null?void 0:zr.appendInPlace,dn=at&&t.itemsMatch(at,hr);if(at&&(Wr||dn)){const un=o(t.playingAsset),mn=(un==null?void 0:un.media)||t.primaryMedia;if(mn){const Qr=xe==="primary"?mn.currentTime:m(at,xe,t.playingAsset,"timelinePos","currentTime"),Yn=ce-Qr,hi=(Wr?Qr:mn.currentTime)+Yn;if(hi>=0&&(!un||Wr||hi<=un.duration)){mn.currentTime=hi;return}}}if(hr){let un=ce;if(xe!=="primary"){const Qr=hr[xe].start,Yn=ce-Qr;un=hr.start+Yn}const mn=!t.isInterstitial(hr);if((!t.isInterstitial(at)||at.event.appendInPlace)&&(mn||hr.event.appendInPlace)){const Qr=t.media||(Wr?ar==null?void 0:ar.media:null);Qr&&(Qr.currentTime=un)}else if(at){const Qr=t.findItemIndex(at);if(Ft>Qr){const hi=t.schedule.findJumpRestrictedIndex(Qr+1,Ft);if(hi>Qr){t.setSchedulePosition(hi);return}}let Yn=0;if(mn)t.timelinePos=un,t.checkBuffer();else{var Gr;const hi=hr==null||(Gr=hr.event)==null?void 0:Gr.assetList;if(hi){const os=ce-(hr[xe]||hr).start;for(let ya=hi.length;ya--;){const Ji=hi[ya];if(Ji.duration&&os>=Ji.startOffset&&os<Ji.startOffset+Ji.duration){Yn=ya;break}}}}t.setSchedulePosition(Ft,Yn)}}},$=()=>{const ce=t.effectivePlayingItem;if(t.isInterstitial(ce))return ce;const xe=n();return t.isInterstitial(xe)?xe:null},ae={get currentTime(){const ce=$(),xe=t.effectivePlayingItem;return xe&&xe===ce?m(xe,"playout",t.effectivePlayingAsset,"timelinePos","currentTime")-xe.playout.start:0},set currentTime(ce){const xe=$(),Te=t.effectivePlayingItem;Te&&Te===xe&&H(ce+Te.playout.start,"playout")},get duration(){const ce=$();return ce?ce.playout.end-ce.playout.start:0},get assetPlayers(){var ce;const xe=(ce=$())==null?void 0:ce.event.assetList;return xe?xe.map(Te=>t.getAssetPlayer(Te.identifier)):[]},get playingIndex(){var ce;const xe=(ce=$())==null?void 0:ce.event;return xe&&t.effectivePlayingAsset?xe.findAssetIndex(t.effectivePlayingAsset):-1},get scheduleItem(){return $()}};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 $()?ae: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 C()},get currentTime(){const ce=t.timelinePos;return ce>0?ce:0},set currentTime(ce){H(ce,"primary")},get duration(){return U("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 U("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 Te=t.findItemIndex(ce);if(xe.appendInPlace){const De=ce.playout.start+ce.event.duration;H(De+.001,"playout")}else t.advanceAfterAssetEnded(xe,Te,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 C=(o=E)==null?void 0:o.currentTime;if(!(C===void 0||!r(C)))return C}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} ${zn(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 C=this.hls,U=t!==C,H=U&&t.interstitial.appendInPlace,$=(o=this.detachedData)==null?void 0:o.mediaSource;let ae;if(C.media)H&&(E=C.transferMedia(),this.detachedData=E),ae="Primary";else if($){const Te=this.getBufferingPlayer();Te?(E=Te.transferMedia(),ae=`${Te}`):ae="detached MediaSource"}else ae="detached media";if(!E){if($)E=this.detachedData,this.log(`using detachedData: MediaSource ${zn(E)}`);else if(!this.detachedData||C.media===n){const Te=this.playerQueue;Te.length>1&&Te.forEach(De=>{if(U&&De.interstitial.appendInPlace!==H){const tt=De.interstitial;this.clearInterstitial(De.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 ${U?t:"Primary"} from ${ae}`),xe===E){const Te=U&&t.assetId===this.schedule.assetIdAtEnd;xe.overrides={duration:this.schedule.duration,endOfStream:!U||Te,cueRemoval:!U}}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 C=t.findEventIndex(n[0].identifier);this.setSchedulePosition(C)}else if(E>=0||!this.primaryLive){const C=this.timelinePos=E>0?E:0,U=t.findItemIndexAtTime(C);this.setSchedulePosition(U)}}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 C=n+1,U=E.length;if(C>=U){this.setSchedulePosition(-1);return}const H=t.resumeTime;this.timelinePos<H&&(this.timelinePos=H,this.checkBuffer()),this.setSchedulePosition(C)}}}setScheduleToAssetAtTime(t,n){const o=this.schedule,m=n.parentIdentifier,E=o.getEvent(m);if(E){const C=o.findEventIndex(m),U=o.findAssetIndex(E,t);this.setSchedulePosition(C,U)}}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,C=this.playingLastItem;if(this.isInterstitial(E)){var U;const $=E.event,ae=this.playingAsset,ce=ae==null?void 0:ae.identifier,xe=ce?this.getAssetPlayer(ce):null;if(xe&&ce&&(!this.eventItemsMatch(E,m)||n!==void 0&&ce!==((U=$.assetList)==null?void 0:U[n].identifier))){var H;const Te=$.findAssetIndex(ae);this.log(`INTERSTITIAL_ASSET_ENDED ${Te+1}/${$.assetList.length} ${kl(ae)}`),this.endedAsset=ae,this.playingAsset=null,this.hls.trigger(s.INTERSTITIAL_ASSET_ENDED,{asset:ae,assetListIndex:Te,event:$,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 ${$} ${Fu(E)}`),$.hasPlayed=!0,this.hls.trigger(s.INTERSTITIAL_ENDED,{event:$,schedule:o.slice(0),scheduleIndex:t}),$.cue.once)){this.updateSchedule();const Te=this.schedule.items;if(m&&Te){const De=this.schedule.findItemIndex(m);this.advanceSchedule(De,Te,n,E,C)}return}}this.advanceSchedule(t,o,n,E,C)}advanceSchedule(t,n,o,m,E){const C=t>=0?n[t]:null,U=this.primaryMedia,H=this.playerQueue;if(H.length&&H.forEach($=>{const ae=$.interstitial,ce=this.schedule.findEventIndex(ae.identifier);(ce<t||ce>t+1)&&this.clearInterstitial(ae,C)}),this.isInterstitial(C)){this.timelinePos=Math.min(Math.max(this.timelinePos,C.start),C.end);const $=C.event;o===void 0&&(o=this.schedule.findAssetIndex($,this.timelinePos));const ae=this.waitingItem;this.assetsBuffered(C,U)||this.setBufferingItem(C);let ce=this.preloadAssets($,o);if(this.eventItemsMatch(C,ae||m)||(this.waitingItem=C,this.log(`INTERSTITIAL_STARTED ${Fu(C)} ${$.appendInPlace?"append in place":""}`),this.hls.trigger(s.INTERSTITIAL_STARTED,{event:$,schedule:n.slice(0),scheduleIndex:t})),!$.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${$}`);return}if($.assetListLoader&&($.assetListLoader.destroy(),$.assetListLoader=void 0),!U){this.log(`Waiting for attachMedia to start Interstitial ${$}`);return}this.waitingItem=this.endedItem=null,this.playingItem=C;const xe=$.assetList[o];if(!xe){const Te=n[t+1],De=this.media;Te&&De&&!this.isInterstitial(Te)&&De.currentTime<Te.start&&(De.currentTime=this.timelinePos=Te.start),this.advanceAfterAssetEnded($,t,o||0);return}if(ce||(ce=this.getAssetPlayer(xe.identifier)),ce===null||ce.destroyed){const Te=$.assetList.length;this.warn(`asset ${o+1}/${Te} player destroyed ${$}`),ce=this.createAssetPlayer($,xe,o)}if(!this.eventItemsMatch(C,this.bufferingItem)&&$.appendInPlace&&this.isAssetBuffered(xe))return;this.startAssetPlayer(ce,o,n,t,U),this.shouldPlay&&gc(ce.media)}else C!==null?(this.resumePrimary(C,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 C=this.timelinePos;(C<t.start||C>=t.end)&&(C=this.getPrimaryResumption(t,n),this.timelinePos=C),this.attachPrimary(C,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:xi.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=gi(n);this.playerQueue.forEach(m=>m.hls.setAudioOption(n)||m.hls.setAudioOption(o))}onSubtitleTrackSwitch(t,n){const o=gi(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 C=this.schedule.findEventIndex(E.identifier),U=(o=this.schedule.items)==null?void 0:o[C];this.isInterstitial(U)&&this.eventItemsMatch(U,this.bufferingItem)&&this.bufferedToItem(U,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=xi.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 C=this.playingItem,U=this.findItemIndex(C);let H=m.findItemIndexAtTime(t);if(this.bufferedPos<t){var $,ae;const ce=this.findItemIndex(E),xe=Math.min(ce+1,n.length-1),Te=n[xe];if((H===-1&&E&&t>=E.end||($=Te.event)!=null&&$.appendInPlace&&t+.01>=Te.start)&&(H=xe),xe-U>1&&(E==null||(ae=E.event)==null?void 0:ae.appendInPlace)===!1)return;if(this.bufferedPos=t,H>ce&&H>U)this.bufferedToItem(Te);else{const De=this.primaryDetails;this.primaryLive&&De&&t>De.edge-De.targetduration&&Te.start<De.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(Te)&&this.preloadAssets(Te.event,0)}}else o&&C&&!this.itemsMatch(C,E)&&(H===U?this.bufferedToItem(C):H===U+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 C=this.isInterstitial(t),U=this.getBufferingPlayer();if(this.bufferingItem=t,this.bufferedPos=Math.max(t.start,Math.min(t.end,this.timelinePos)),!this.playbackDisabled){const H=U?U.remaining:n?n.end-this.timelinePos:0;this.log(`buffered to boundary ${Fu(t)}`+(n?` (${H.toFixed(2)} remaining)`:"")),C?t.event.assetList.forEach($=>{const ae=this.getAssetPlayer($.identifier);ae&&ae.resumeBuffering()}):(this.hls.resumeBuffering(),this.playerQueue.forEach($=>$.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 C=this.preloadAssets(o,n);if(C!=null&&C.interstitial.appendInPlace){const U=o.assetList[n],H=this.primaryMedia;U&&H&&this.bufferAssetPlayer(C,H)}}}preloadAssets(t,n){const o=t.assetUrl,m=t.assetList.length,E=m===0&&!t.assetListLoader,C=t.cue.once;if(E){const H=t.timelineStart;if(t.appendInPlace){var U;const xe=this.playingItem;!this.isInterstitial(xe)&&(xe==null||(U=xe.nextEvent)==null?void 0:U.identifier)===t.identifier&&this.flushFrontBuffer(H+.25)}let $,ae=0;if(!this.playingItem&&this.primaryLive&&(ae=this.hls.startPosition,ae===-1&&(ae=this.hls.liveSyncPosition||0)),ae&&!(t.cue.pre||t.cue.post)){const xe=ae-H;xe>0&&($=Math.round(xe*1e3)/1e3)}if(this.log(`Load interstitial asset ${n+1}/${o?1:m} ${t}${$?` live-start: ${ae} start-offset: ${$}`:""}`),o)return this.createAsset(t,0,0,H,t.duration,o);const ce=this.assetListLoader.loadAssetList(t,$);ce&&(t.assetListLoader=ce)}else if(!C&&m){for(let H=n;H<m;H++){const $=t.assetList[H],ae=this.getAssetPlayerQueueIndex($.identifier);(ae===-1||this.playerQueue[ae].destroyed)&&!$.error&&this.createAssetPlayer(t,$,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,C){const U={parentIdentifier:t.identifier,identifier:Xl(t,C,n),duration:E,startOffset:o,timelineStart:m,uri:C};return this.createAssetPlayer(t,U,n)}createAssetPlayer(t,n,o){this.log(`create HLSAssetPlayer for ${kl(n)}`);const m=this.hls,E=m.userConfig;let C=E.videoPreference;const U=m.loadLevelObj||m.levels[m.currentLevel];(C||U)&&(C=y({},C),U.videoCodec&&(C.videoCodec=U.videoCodec),U.videoRange&&(C.allowedVideoRanges=[U.videoRange]));const H=m.audioTracks[m.audioTrack],$=m.subtitleTracks[m.subtitleTrack];let ae=0;if(this.primaryLive||t.appendInPlace){const ar=this.timelinePos-n.timelineStart;if(ar>1){const zr=n.duration;zr&&ar<zr&&(ae=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:ae,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:C,audioPreference:H||E.audioPreference,subtitlePreference:$||E.subtitlePreference});t.appendInPlace&&(t.appendInPlaceStarted=!0,n.timelineStart&&(xe.timelineOffset=n.timelineStart));const Te=xe.cmcd;Te!=null&&Te.sessionId&&Te.contentId&&(xe.cmcd=y({},Te,{contentId:oo(n.uri)})),this.getAssetPlayer(ce)&&this.warn(`Duplicate date range identifier ${t} and asset ${ce}`);const De=new ql(this.HlsPlayerClass,xe,t,n);this.playerQueue.push(De),t.assetList[o]=n;const tt=ar=>{if(ar.live){const dn=new Error(`Interstitials MUST be VOD assets ${t}`),Gr={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:dn};this.handleAssetItemError(Gr,t,this.schedule.findEventIndex(t.identifier),o,dn.message);return}const zr=ar.edge-ar.fragmentStart,Wr=n.duration;(Wr===null||zr>Wr)&&(this.log(`Interstitial asset "${ce}" duration change ${Wr} > ${zr}`),n.duration=zr,this.updateSchedule())};De.on(s.LEVEL_UPDATED,(ar,{details:zr})=>tt(zr)),De.on(s.LEVEL_PTS_UPDATED,(ar,{details:zr})=>tt(zr));const at=(ar,zr)=>{const Wr=this.getAssetPlayer(ce);if(Wr&&zr.tracks){Wr.off(s.BUFFER_CODECS,at),Wr.tracks=zr.tracks;const dn=this.primaryMedia;this.bufferingAsset===Wr.assetItem&&dn&&!Wr.media&&this.bufferAssetPlayer(Wr,dn)}};De.on(s.BUFFER_CODECS,at);const Ft=()=>{var ar;const zr=this.getAssetPlayer(ce);if(this.log(`buffered to end of asset ${zr}`),!zr)return;const Wr=this.schedule.findEventIndex(t.identifier),dn=t.findAssetIndex(n),Gr=dn+1,un=(ar=this.schedule.items)==null?void 0:ar[Wr];if(this.isInterstitial(un))if(dn!==-1&&!t.isAssetPastPlayoutLimit(Gr)&&!t.assetList[Gr].error)this.bufferedToItem(un,Gr);else{var mn;const Qr=(mn=this.schedule.items)==null?void 0:mn[Wr+1];Qr&&this.bufferedToItem(Qr)}};De.on(s.BUFFERED_TO_END,Ft);const hr=ar=>()=>{if(!this.getAssetPlayer(ce))return;this.shouldPlay=!0;const Wr=this.schedule.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,Wr,ar)};return De.once(s.MEDIA_ENDED,hr(o)),De.once(s.PLAYOUT_LIMIT_REACHED,hr(1/0)),De.on(s.ERROR,(ar,zr)=>{const Wr=this.getAssetPlayer(ce);if(zr.details===f.BUFFER_STALLED_ERROR){if(Wr!=null&&Wr.media){const dn=Wr.currentTime,Gr=Wr.duration-dn;dn&&t.appendInPlace&&Gr/Wr.media.playbackRate<.5?(this.log(`Advancing buffer past end of asset ${ce} ${t} at ${Wr.media.currentTime}`),Ft()):(this.warn(`Stalled at ${dn} of ${dn+Gr} 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}`)}),De.on(s.DESTROYING,()=>{if(!this.getAssetPlayer(ce))return;const zr=new Error(`Asset player destroyed unexpectedly ${ce}`),Wr={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:zr};this.handleAssetItemError(Wr,t,this.schedule.findEventIndex(t.identifier),o,zr.message)}),this.hls.trigger(s.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:n,assetListIndex:o,event:t,player:De}),De}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:C,assetItem:U,assetId:H}=t,$=C.assetList.length,ae=this.playingAsset;this.endedAsset=null,this.playingAsset=U,(!ae||ae.identifier!==H)&&(ae&&(this.clearAssetPlayer(ae.identifier,o[m]),delete ae.error),this.log(`INTERSTITIAL_ASSET_STARTED ${n+1}/${$} ${t}`),this.hls.trigger(s.INTERSTITIAL_ASSET_STARTED,{asset:U,assetListIndex:n,event:C,schedule:o.slice(0),scheduleIndex:m,player:t})),this.bufferAssetPlayer(t,E)}bufferAssetPlayer(t,n){var o,m;const{interstitial:E,assetItem:C,assetId:U}=t,H=this.schedule.findEventIndex(E.identifier),$=(o=this.schedule.items)==null?void 0:o[H];if(!$)return;this.setBufferingItem($),this.bufferingAsset=C;const ae=this.getBufferingPlayer();if(ae===t)return;const ce=E.appendInPlace;if(ce&&(ae==null?void 0:ae.interstitial.appendInPlace)===!1)return;const xe=(ae==null?void 0:ae.tracks)||((m=this.detachedData)==null?void 0:m.tracks)||this.requiredTracks;if(ce&&C!==this.playingAsset){if(!t.tracks)return;if(xe&&!ue(xe,t.tracks)){const Te=new Error(`Asset "${U}" SourceBuffer tracks ('${Object.keys(t.tracks)}') are not compatible with primary content tracks ('${Object.keys(xe)}')`),De={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Te},tt=E.findAssetIndex(C);this.handleAssetItemError(De,E,H,tt,Te.message);return}}this.transferMediaTo(t,n)}handleAssetItemError(t,n,o,m,E){if(t.details===f.BUFFER_STALLED_ERROR)return;const C=n.assetList[m]||null;let U=null;if(C){const ce=this.getAssetPlayerQueueIndex(C.identifier);U=this.playerQueue[ce]||null}const H=this.schedule.items,$=y({},t,{fatal:!1,errorAction:Dr(!0),asset:C,assetListIndex:m,event:n,schedule:H,scheduleIndex:o,player:U});if(this.warn(`Asset item error: ${t.error}`),this.hls.trigger(s.INTERSTITIAL_ASSET_ERROR,$),!t.fatal)return;const ae=new Error(E);C&&(this.playingAsset!==C&&this.clearAssetPlayer(C.identifier,null),C.error=ae),n.assetList.some(ce=>!ce.error)?n.appendInPlace&&(n.error=ae):n.error=ae,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 C=this.schedule.findItemIndexAtTime(m);this.setSchedulePosition(C)}}else this.checkStart()}onAssetListLoaded(t,n){var o;const m=n.event,E=m.identifier,C=n.assetListResponse.ASSETS;if(!this.schedule.hasEvent(E))return;const U=m.timelineStart,H=m.duration;let $=0;C.forEach((De,tt)=>{const at=parseFloat(De.DURATION);this.createAsset(m,tt,$,U+$,at,De.URI),$+=at}),m.duration=$,this.log(`Loaded asset-list with duration: ${$} (was: ${H}) ${m}`);const ae=this.waitingItem,ce=(ae==null?void 0:ae.event.identifier)===E;this.updateSchedule();const xe=(o=this.bufferingItem)==null?void 0:o.event;if(ce){var Te;const De=this.schedule.findEventIndex(E),tt=(Te=this.schedule.items)==null?void 0:Te[De];if(tt){if(!this.playingItem&&this.timelinePos>tt.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==De){m.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${m}`),this.primaryFallback(m);return}this.setBufferingItem(tt)}this.setSchedulePosition(De)}else if((xe==null?void 0:xe.identifier)===E&&xe.appendInPlace){const De=m.assetList[0],tt=this.getAssetPlayer(De.identifier),at=this.primaryMedia;De&&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=Ur.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(_e(o)&&(this.fragPrevious=o),this.state=Ur.IDLE,!m)return;const E=this.tracksBuffered[this.currentTrackId];if(!E)return;let C;const U=o.start;for(let $=0;$<E.length;$++)if(U>=E[$].start&&U<=E[$].end){C=E[$];break}const H=o.start+o.duration;C?C.end=H:(C={start:U,end:H},E.push(C)),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(C=>{for(let U=0;U<C.length;){if(C[U].end<=E){C.shift();continue}else if(C[U].start<E)C[U].start=E;else break;U++}}),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!==Ur.STOPPED&&(this.state=Ur.IDLE))}onSubtitleTracksUpdated(t,{subtitleTracks:n}){if(this.levels&&oc(this.levels,n)){this.levels=n.map(o=>new cr(o));return}this.tracksBuffered=[],this.levels=n.map(o=>{const m=new cr(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!==Ur.STOPPED&&this.setInterval(Oc)}onSubtitleTrackLoaded(t,n){var o;const{currentTrackId:m,levels:E}=this,{details:C,id:U}=n;if(!E){this.warn(`Subtitle tracks were reset while loading level ${U}`);return}const H=E[U];if(U>=E.length||!H)return;this.log(`Subtitle track ${U} loaded [${C.startSN},${C.endSN}]${C.lastPartSn?`[part-${C.lastPartSn}-${C.lastPartIndex}]`:""},duration:${C.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let $=0;if(C.live||(o=H.details)!=null&&o.live){const ce=this.mainDetails;if(C.deltaUpdateFailed||!ce)return;const xe=ce.fragments[0];if(!H.details)C.hasProgramDateTime&&ce.hasProgramDateTime?(Mi(C,ce),$=C.fragmentStart):xe&&($=xe.start,Gn(C,$));else{var ae;$=this.alignPlaylists(C,H.details,(ae=this.levelLastLoaded)==null?void 0:ae.details),$===0&&xe&&($=xe.start,Gn(C,$))}}H.details=C,this.levelLastLoaded=H,U===m&&(this.hls.trigger(s.SUBTITLE_TRACK_UPDATED,{details:C,id:U,groupId:n.groupId}),this.tick(),C.live&&!this.fragCurrent&&this.media&&this.state===Ur.IDLE&&(En(null,C.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 C=performance.now();this.decrypter.decrypt(new Uint8Array(o),m.key.buffer,m.iv.buffer,Da(m.method)).catch(U=>{throw E.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:U,reason:U.message,frag:n}),U}).then(U=>{const H=performance.now();E.trigger(s.FRAG_DECRYPTED,{frag:n,payload:U,stats:{tstart:C,tdecrypt:H}})}).catch(U=>{this.warn(`${U.name}: ${U.message}`),this.state=Ur.IDLE})}}doTick(){if(!this.media){this.state=Ur.IDLE;return}if(this.state===Ur.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(),C=xi.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],E,m.maxBufferHole),{end:U,len:H}=C,$=o.details,ae=this.hls.maxBufferLength+$.levelTargetDuration;if(H>ae)return;const ce=$.fragments,xe=ce.length,Te=$.edge;let De=null;const tt=this.fragPrevious;if(U<Te){const hr=m.maxFragLookUpTolerance,ar=U>Te-hr?0:hr;De=En(tt,ce,Math.max(ce[0].start,U),ar),!De&&tt&&tt.start<ce[0].start&&(De=ce[0])}else De=ce[xe-1];if(De=this.filterReplacedPrimary(De,o.details),!De)return;const at=De.sn-$.startSN,Ft=ce[at-1];if(Ft&&Ft.cc===De.cc&&this.fragmentTracker.getState(Ft)===Er.NOT_LOADED&&(De=Ft),this.fragmentTracker.getState(De)===Er.NOT_LOADED){const hr=this.mapToInitFragWhenRequired(De);hr&&this.loadFragment(hr,o,U)}}}loadFragment(t,n,o){_e(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),ke=15,tn=100,jn={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},hn={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;Y.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<tn;n++)this.chars.push(new ys);this.logger=t}equals(t){for(let n=0;n<tn;n++)if(!this.chars[n].equals(t.chars[n]))return!1;return!0}copy(t){for(let n=0;n<tn;n++)this.chars[n].copy(t.chars[n])}isEmpty(){let t=!0;for(let n=0;n<tn;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>tn&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=tn)}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>=tn){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<tn;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<tn;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=ke-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let n=0;n<ke;n++)this.rows.push(new kc(t));this.logger=t}reset(){for(let t=0;t<ke;t++)this.rows[t].clear();this.currRow=ke-1}equals(t){let n=!0;for(let o=0;o<ke;o++)if(!this.rows[o].equals(t.rows[o])){n=!1;break}return n}copy(t){for(let n=0;n<ke;n++)this.rows[n].copy(t.rows[n])}isEmpty(){let t=!0;for(let n=0;n<ke;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 = "+zn(t));let n=t.row-1;if(this.nrRollUpRows&&n<this.nrRollUpRows-1&&(n=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==n){for(let U=0;U<ke;U++)this.rows[U].clear();const E=this.currRow+1-this.nrRollUpRows,C=this.lastOutputScreen;if(C){const U=C.rows[E].cueStartTime,H=this.logger.time;if(U!==null&&H!==null&&U<H)for(let $=0;$<this.nrRollUpRows;$++)this.rows[n-this.nrRollUpRows+$+1].copy(C.rows[E+$])}}this.currRow=n;const o=this.rows[this.currRow];if(t.indent!==null){const E=t.indent,C=Math.max(E-1,0);o.setCursor(t.indent),t.color=o.chars[C].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 = "+zn(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<ke;E++){const C=this.rows[E].getTextString();C&&(m=E+1,t?n.push("Row "+m+": '"+C+"'"):n.push(C.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[ke-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[ke-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: "+zn(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 C=!1,U=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),C=this.parseCmd(m,E),C||(C=this.parseMidrow(m,E)),C||(C=this.parsePAC(m,E)),C||(C=this.parseBackgroundAttributes(m,E))}else Nu(null,null,H);if(!C&&(U=this.parseChars(m,E),U)){const ae=this.currentChannel;ae&&ae>0?this.channels[ae].insertChars(U):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!C&&!U&&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,C=this.channels[E];return t===20||t===21||t===28||t===29?n===32?C.ccRCL():n===33?C.ccBS():n===34?C.ccAOF():n===35?C.ccAON():n===36?C.ccDER():n===37?C.ccRU(2):n===38?C.ccRU(3):n===39?C.ccRU(4):n===40?C.ccFON():n===41?C.ccRDC():n===42?C.ccTR():n===43?C.ccRTD():n===44?C.ccEDM():n===45?C.ccCR():n===46?C.ccENM():n===47&&C.ccEOC():C.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 C=t<=23?1:2;n>=64&&n<=95?o=C===1?jn[t]:Di[t]:o=C===1?hn[t]:Ha[t];const U=this.channels[C];return U?(U.setPAC(this.interpretPAC(o,n)),this.currentChannel=C,!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 C;E===17?C=n+80:E===18?C=n+112:C=n+144,this.logger.log(2,()=>"Special char '"+me(C)+"' in channel "+o),m=[C]}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 C={};t===16||t===24?(E=Math.floor((n-32)/2),C.background=Oa[E],n%2===1&&(C.background=C.background+"_semi")):n===45?C.background="transparent":(C.foreground="black",n===47&&(C.underline=!0));const U=t<=23?1:2;return this.channels[U].setBkgData(C),!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(U,H){if(typeof H!="string"||!Array.isArray(U))return!1;const $=H.toLowerCase();return~U.indexOf($)?$:!1}function o(U){return n(P,U)}function m(U){return n(t,U)}function E(U,...H){let $=1;for(;$<arguments.length;$++){const ae=arguments[$];for(const ce in ae)U[ce]=ae[ce]}return U}function C(U,H,$){const ae=this,ce={enumerable:!0};ae.hasBeenReset=!1;let xe="",Te=!1,De=U,tt=H,at=$,Ft=null,hr="",ar=!0,zr="auto",Wr="start",dn=50,Gr="middle",un=50,mn="middle";Object.defineProperty(ae,"id",E({},ce,{get:function(){return xe},set:function(Qr){xe=""+Qr}})),Object.defineProperty(ae,"pauseOnExit",E({},ce,{get:function(){return Te},set:function(Qr){Te=!!Qr}})),Object.defineProperty(ae,"startTime",E({},ce,{get:function(){return De},set:function(Qr){if(typeof Qr!="number")throw new TypeError("Start time must be set to a number.");De=Qr,this.hasBeenReset=!0}})),Object.defineProperty(ae,"endTime",E({},ce,{get:function(){return tt},set:function(Qr){if(typeof Qr!="number")throw new TypeError("End time must be set to a number.");tt=Qr,this.hasBeenReset=!0}})),Object.defineProperty(ae,"text",E({},ce,{get:function(){return at},set:function(Qr){at=""+Qr,this.hasBeenReset=!0}})),Object.defineProperty(ae,"region",E({},ce,{get:function(){return Ft},set:function(Qr){Ft=Qr,this.hasBeenReset=!0}})),Object.defineProperty(ae,"vertical",E({},ce,{get:function(){return hr},set:function(Qr){const Yn=o(Qr);if(Yn===!1)throw new SyntaxError("An invalid or illegal string was specified.");hr=Yn,this.hasBeenReset=!0}})),Object.defineProperty(ae,"snapToLines",E({},ce,{get:function(){return ar},set:function(Qr){ar=!!Qr,this.hasBeenReset=!0}})),Object.defineProperty(ae,"line",E({},ce,{get:function(){return zr},set:function(Qr){if(typeof Qr!="number"&&Qr!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");zr=Qr,this.hasBeenReset=!0}})),Object.defineProperty(ae,"lineAlign",E({},ce,{get:function(){return Wr},set:function(Qr){const Yn=m(Qr);if(!Yn)throw new SyntaxError("An invalid or illegal string was specified.");Wr=Yn,this.hasBeenReset=!0}})),Object.defineProperty(ae,"position",E({},ce,{get:function(){return dn},set:function(Qr){if(Qr<0||Qr>100)throw new Error("Position must be between 0 and 100.");dn=Qr,this.hasBeenReset=!0}})),Object.defineProperty(ae,"positionAlign",E({},ce,{get:function(){return Gr},set:function(Qr){const Yn=m(Qr);if(!Yn)throw new SyntaxError("An invalid or illegal string was specified.");Gr=Yn,this.hasBeenReset=!0}})),Object.defineProperty(ae,"size",E({},ce,{get:function(){return un},set:function(Qr){if(Qr<0||Qr>100)throw new Error("Size must be between 0 and 100.");un=Qr,this.hasBeenReset=!0}})),Object.defineProperty(ae,"align",E({},ce,{get:function(){return mn},set:function(Qr){const Yn=m(Qr);if(!Yn)throw new SyntaxError("An invalid or illegal string was specified.");mn=Yn,this.hasBeenReset=!0}})),ae.displayState=void 0}return C.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},C}();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,C){return(o|0)*3600+(m|0)*60+(E|0)+parseFloat(C||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 C=m[E].split(n);if(C.length!==2)continue;const U=C[0],H=C[1];t(U,H)}}const sl=new Rl(0,0,""),bl=sl.align==="middle"?"middle":"center";function xl(P,t,n){const o=P;function m(){const U=Ws(P);if(U===null)throw new Error("Malformed timestamp: "+o);return P=P.replace(/^[^\sa-zA-Z-]+/,""),U}function E(U,H){const $=new Ja;al(U,function(xe,Te){let De;switch(xe){case"region":for(let tt=n.length-1;tt>=0;tt--)if(n[tt].id===Te){$.set(xe,n[tt].region);break}break;case"vertical":$.alt(xe,Te,["rl","lr"]);break;case"line":De=Te.split(","),$.integer(xe,De[0]),$.percent(xe,De[0])&&$.set("snapToLines",!1),$.alt(xe,De[0],["auto"]),De.length===2&&$.alt("lineAlign",De[1],["start",bl,"end"]);break;case"position":De=Te.split(","),$.percent(xe,De[0]),De.length===2&&$.alt("positionAlign",De[1],["start",bl,"end","line-left","line-right","auto"]);break;case"size":$.percent(xe,Te);break;case"align":$.alt(xe,Te,["start",bl,"end","left","right"]);break}},/:/,/\s/),H.region=$.get("region",null),H.vertical=$.get("vertical","");let ae=$.get("line","auto");ae==="auto"&&sl.line===-1&&(ae=-1),H.line=ae,H.lineAlign=$.get("lineAlign","start"),H.snapToLines=$.get("snapToLines",!0),H.size=$.get("size",100),H.align=$.get("align",bl);let ce=$.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 C(){P=P.replace(/^\s+/,"")}if(C(),t.startTime=m(),C(),P.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+o);P=P.slice(3),C(),t.endTime=m(),C(),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,C=0;for(E=ol(E);C<E.length&&E[C]!=="\r"&&E[C]!==`
|
|
|
`;)++C;const U=E.slice(0,C);return E[C]==="\r"&&++C,E[C]===`
|
|
|
`&&++C,n.buffer=E.slice(C),U}function m(E){al(E,function(C,U){},/:/)}try{let E="";if(n.state==="INITIAL"){if(!/\r\n|\n/.test(n.buffer))return this;E=o();const U=E.match(/^()?WEBVTT([ \t].*)?$/);if(!(U!=null&&U[0]))throw new Error("Malformed WebVTT signature.");n.state="HEADER"}let C=!1;for(;n.buffer;){if(!/\r\n|\n/.test(n.buffer))return this;switch(C?C=!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(U){n.cue=null,n.state="BADCUE";continue}n.state="CUETEXT";continue;case"CUETEXT":{const U=E.indexOf("-->")!==-1;if(!E||U&&(C=!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(;(C=E)!=null&&C.new;){var C;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,C){const U=new Xc,H=K(new Uint8Array(P)).trim().replace(Rc,`
|
|
|
`).split(`
|
|
|
`),$=[],ae=t?ws(t.baseTime,t.timescale):0;let ce="00:00.000",xe=0,Te=0,De,tt=!0;U.oncue=function(at){const Ft=n[o];let hr=n.ccOffset;const ar=(xe-ae)/9e4;if(Ft!=null&&Ft.new&&(Te!==void 0?hr=n.ccOffset=Ft.start:qc(n,o,ar)),ar){if(!t){De=new Error("Missing initPTS for VTT MPEGTS");return}hr=ar-n.presentationOffset}const zr=at.endTime-at.startTime,Wr=za((at.startTime+hr-Te)*9e4,m*9e4)/9e4;at.startTime=Math.max(Wr,0),at.endTime=Math.max(Wr+zr,0);const dn=at.text.trim();at.text=decodeURIComponent(encodeURIComponent(dn)),at.id||(at.id=Ll(at.startTime,at.endTime,dn)),at.endTime>0&&$.push(at)},U.onparsingerror=function(at){De=at},U.onflush=function(){if(De){C(De);return}E($)},H.forEach(at=>{if(tt)if(Vu(at,"X-TIMESTAMP-MAP=")){tt=!1,at.slice(16).split(",").forEach(Ft=>{Vu(Ft,"LOCAL:")?ce=Ft.slice(6):Vu(Ft,"MPEGTS:")&&(xe=parseInt(Ft.slice(7)))});try{Te=Qc(ce)/1e3}catch(Ft){De=Ft}return}else at===""&&(tt=!1);U.parse(at+`
|
|
|
`)}),U.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=gt(new Uint8Array(P),["mdat"]);if(m.length===0){o(new Error("Could not parse IMSC1 mdat"));return}const E=m.map(U=>K(U)),C=is(t.baseTime,1,t.timescale);try{E.forEach(U=>n(Ml(U,C)))}catch(U){o(U)}}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},C=Object.keys(E).reduce((ce,xe)=>(ce[xe]=m.getAttribute(`ttp:${xe}`)||E[xe],ce),{}),U=m.getAttribute("xml:space")!=="preserve",H=Kn(Tn(m,"styling","style")),$=Kn(Tn(m,"layout","region")),ae=Tn(m,"body","[begin]");return[].map.call(ae,ce=>{const xe=Ni(ce,U);if(!xe||!ce.hasAttribute("begin"))return null;const Te=ha(ce.getAttribute("begin"),C),De=ha(ce.getAttribute("dur"),C);let tt=ha(ce.getAttribute("end"),C);if(Te===null)throw ua(ce);if(tt===null){if(De===null)throw ua(ce);tt=Te+De}const at=new Rl(Te-t,tt-t,xe);at.id=Ll(at.startTime,at.endTime,at.text);const Ft=$[ce.getAttribute("region")],hr=H[ce.getAttribute("style")],ar=Ea(Ft,hr,H),{textAlign:zr}=ar;if(zr){const Wr=Cu[zr];Wr&&(at.lineAlign=Wr),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 Ni(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?Ni(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"],C=P!=null&&P.hasAttribute("style")?P.getAttribute("style"):null;return C&&n.hasOwnProperty(C)&&(m=n[C]),E.reduce((U,H)=>{const $=Zi(t,o,H)||Zi(P,o,H)||Zi(m,o,H);return $&&(U[H]=$),U},{})}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 C=!1;for(let U=E.length;U--;){const H=E[U],$=ul(H[0],H[1],n,o);if($>=0&&(H[0]=Math.min(H[0],n),H[1]=Math.max(H[1],o),C=!0,$/(o-n)>.5))return}if(C||E.push([n,o]),this.config.renderTextTracksNatively){const U=this.captionsTracks[t];this.Cues.newCue(U,n,o,m)}else{const U=this.Cues.newCue(null,n,o,m);this.hls.trigger(s.CUES_PARSED,{type:"captions",cues:U,track:t})}}onInitPtsFound(t,{frag:n,id:o,initPTS:m,timescale:E}){const{unparsedVttFrags:C}=this;o===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E}),C.length&&(this.unparsedVttFrags=[],C.forEach(U=>{this.onFragLoaded(s.FRAG_LOADED,U)}))}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:C}=n[t],U=this.getExistingTrack(E,C);if(U)o[t]=U,Mu(o[t]),Su(o[t],m);else{const H=this.createTextTrack("captions",E,C);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 C=this.media,U=C?Dc(C.textTracks):null;if(this.tracks.forEach((H,$)=>{let ae;if(U){let ce=null;for(let xe=0;xe<U.length;xe++)if(U[xe]&&Yu(U[xe],H)){ce=U[xe],U[xe]=null;break}ce&&(ae=ce)}if(ae)Mu(ae);else{const ce=ju(H);ae=this.createTextTrack(ce,H.name,H.lang),ae&&(ae.mode="disabled")}ae&&this.textTracks.push(ae)}),U!=null&&U.length){const H=U.filter($=>$!==null).map($=>$.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 C=this.tracks.map(U=>({label:U.name,kind:U.type.toLowerCase(),default:U.default,subtitleTrack:U}));this.hls.trigger(s.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:C})}}}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]}`,C=this.captionsProperties[E];C&&(C.label=o.name,o.lang&&(C.languageCode=o.lang),C.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:C,lastSn:U}=this,{cc:H,sn:$}=n.frag,ae=(o=(m=n.part)==null?void 0:m.index)!=null?o:-1;E&&C&&($!==U+1||$===U&&ae!==this.lastPartIndex+1||H!==this.lastCc)&&(E.reset(),C.reset()),this.lastCc=H,this.lastSn=$,this.lastPartIndex=ae}}onFragLoaded(t,n){const{frag:o,payload:m}=n;if(o.type===u.SUBTITLE)if(m.byteLength){const E=o.decryptdata,C="stats"in n;if(E==null||!E.encrypted||C){const U=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),U&&U.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:C}=this,U=E.length-1;if(!E[o.cc]&&U===-1){C.push(t);return}const H=this.hls,$=(n=o.initSegment)!=null&&n.data?Gt(o.initSegment.data,new Uint8Array(m)).buffer:m;hu($,this.initPTS[o.cc],this.vttCCs,o.cc,o.start,ae=>{this._appendCues(ae,o.level),H.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:o})},ae=>{const ce=ae.message==="Missing initPTS for VTT MPEGTS";ce?C.push(t):this._fallbackToIMSC1(o,m),H.logger.log(`Failed to parse VTT cue: ${ae}`),!(ce&&U>o.cc)&&H.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:o,error:ae})})}_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 C=m[E].bytes;if(C){this.cea608Parser1||this.initCea608Parsers();const U=this.extractCea608Data(C);this.cea608Parser1.addData(m[E].pts,U[0]),this.cea608Parser2.addData(m[E].pts,U[1])}}}onBufferFlushing(t,{startOffset:n,endOffset:o,endOffsetSubtitles:m,type:E}){const{media:C}=this;if(!(!C||C.currentTime<o)){if(!E||E==="video"){const{captionsTracks:U}=this;Object.keys(U).forEach(H=>Zo(U[H],n,o))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:U}=this;Object.keys(U).forEach(H=>Zo(U[H],n,m))}}}extractCea608Data(t){const n=[[],[]],o=t[0]&31;let m=2;for(let E=0;E<o;E++){const C=t[m++],U=127&t[m++],H=127&t[m++];if(U===0&&H===0)continue;if((4&C)!==0){const ae=3&C;(ae===0||ae===1)&&(n[ae].push(U),n[ae].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)&&ii(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,C,U,H,$;const ae=self.VTTCue||self.TextTrackCue;for(let xe=0;xe<o.rows.length;xe++)if(E=o.rows[xe],U=!0,H=0,$="",!E.isEmpty()){var ce;for(let tt=0;tt<E.chars.length;tt++)Df.test(E.chars[tt].uchar)&&U?H++:($+=E.chars[tt].uchar,U=!1);E.cueStartTime=t,t===n&&(n+=1e-4),H>=16?H--:H++;const Te=ol($.trim()),De=Ll(t,n,Te);P!=null&&(ce=P.cues)!=null&&ce.getCueById(De)||(C=new ae(t,n,Te),C.id=De,C.line=xe+1,C.align="left",C.position=10+Math.min(80,Math.floor(H*8/32)*10),m.push(C))}return P&&m.length&&(m.sort((xe,Te)=>xe.line==="auto"||Te.line==="auto"?0:xe.line>8&&Te.line>8?Te.line-xe.line:xe.line-Te.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 z}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),C=t.responseType==="arraybuffer",U=C?"byteLength":"length",{maxTimeToFirstByteMs:H,maxLoadTimeMs:$}=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:$,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 Te=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=$,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},$-(Te-m.loading.start)),!ce.ok){const{status:tt,statusText:at}=ce;throw new Xu(at||"fetch, bad network response",tt,ce)}m.loading.first=Te,m.total=cl(ce.headers)||m.total;const De=(xe=this.callbacks)==null?void 0:xe.onProgress;return De&&r(n.highWaterMark)?this.loadProgressively(ce,m,t,n.highWaterMark,De):C?ce.arrayBuffer():t.responseType==="json"?ce.json():ce.text()}).then(ce=>{var xe,Te;const De=this.response;if(!De)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const tt=ce[U];tt&&(m.loaded=m.total=tt);const at={url:De.url,data:ce,code:De.status},Ft=(xe=this.callbacks)==null?void 0:xe.onProgress;Ft&&!r(n.highWaterMark)&&Ft(m,t,ce,De),(Te=this.callbacks)==null||Te.onSuccess(at,m,t,De)}).catch(ce=>{var xe;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Te=ce&&ce.code||0,De=ce?ce.message:null;(xe=this.callbacks)==null||xe.onError({code:Te,text:De},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 C=new fi,U=t.body.getReader(),H=()=>U.read().then($=>{if($.done)return C.dataLength&&E(n,o,C.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ae=$.value,ce=ae.length;return n.loaded+=ce,ce<m||C.dataLength?(C.push(ae),C.dataLength>=m&&E(n,o,C.flush().buffer,t)):E(n,o,ae.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 z,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(C=>{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(C=>{var U;(U=this.callbacks)==null||U.onError({code:o.status,text:C.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:C}=o.loadPolicy;if(m)for(const U in m)t.setRequestHeader(U,m[U]);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:C,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 $=n.status,ae=n.responseType==="text"?n.responseText:null;if($>=200&&$<300){const De=ae!=null?ae:n.response;if(De!=null){var C,U;o.loading.end=Math.max(self.performance.now(),o.loading.first);const tt=n.responseType==="arraybuffer"?De.byteLength:De.length;o.loaded=o.total=tt,o.bwEstimate=o.total*8e3/(o.loading.end-o.loading.first);const at=(C=this.callbacks)==null?void 0:C.onProgress;at&&at(o,t,De,n);const Ft={url:n.responseURL,data:De,code:$};(U=this.callbacks)==null||U.onSuccess(Ft,o,t,n);return}}const ce=E.loadPolicy.errorRetry,xe=o.retry,Te={url:t.url,data:void 0,code:$};if(Ze(ce,xe,!1,Te))this.retry(ce);else{var H;Y.error(`${$} while loading ${t.url}`),(H=this.callbacks)==null||H.onError({code:$,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;Y.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++,Y.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(C=>{const U=`${C==="level"?"playlist":C}LoadPolicy`,H=t[U]===void 0,$=[];E.forEach(ae=>{const ce=`${C}Loading${ae}`,xe=t[ce];if(xe!==void 0&&H){$.push(ce);const Te=o[U].default;switch(t[U]={default:Te},ae){case"TimeOut":Te.maxLoadTimeMs=xe,Te.maxTimeToFirstByteMs=xe;break;case"MaxRetry":Te.errorRetry.maxNumRetry=xe,Te.timeoutRetry.maxNumRetry=xe;break;case"RetryDelay":Te.errorRetry.retryDelayMs=xe,Te.timeoutRetry.retryDelayMs=xe;break;case"MaxRetryTimeout":Te.errorRetry.maxRetryDelayMs=xe,Te.timeoutRetry.maxRetryDelayMs=xe;break}}}),$.length&&n.warn(`hls.js config: "${$.join('", "')}" setting(s) are deprecated, use "${U}": ${zn(t[U])}`)}),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:C,stalled:U}=this;if(!C)return;const{seeking:H}=C,$=this.seeking&&!H,ae=!this.seeking&&H,ce=C.paused&&!H||C.ended||C.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(ae||$){$&&this.stallResolved(t);return}if(ce){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&C.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1}));return}if(!xi.getBuffered(C).length){this.nudgeRetry=0;return}const xe=xi.bufferInfo(C,t,0),Te=xe.nextStart||0,De=this.fragmentTracker;if(H&&De&&this.hls){const dn=Bc(this.hls.inFlightFragments,t),Gr=xe.len>Ec,un=!Te||dn||Te-t>Ec&&!De.getPartialFragment(t);if(Gr||un)return;this.moved=!1}const tt=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&De){if(!(xe.len>0)&&!Te)return;const Gr=Math.max(Te,xe.start||0)-t,mn=!!(tt!=null&&tt.live)?tt.targetduration*2:Ec,Qr=De.getPartialFragment(t);if(Gr>0&&(Gr<=mn||Qr)){C.paused||this._trySkipBufferHole(Qr);return}}const at=E.detectStallWithCurrentTimeMs,Ft=self.performance.now(),hr=this.waiting;if(U===null){hr>0&&Ft-hr<at?this.stalled=hr:this.stalled=Ft;return}const ar=Ft-U;if(!H&&(ar>=at||hr)&&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 Wr=xi.bufferInfo(C,t,E.maxBufferHole);this._tryFixBufferStall(Wr,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=xi.bufferedInfo(xi.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const C=xi.timeRangesToArray(m),U=xi.bufferedInfo(C,n,0).bufferedIndex;if(U>-1&&U<C.length-1){const H=xi.bufferedInfo(C,t,0).bufferedIndex,$=C[U].end,ae=C[U+1].start;if((H===-1||H>U)&&ae-$<1&&t-$<2){const ce=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${$} -> ${ae} buffered index: ${H}`);this.warn(ce.message),this.media.currentTime+=1e-6;const xe=this.fragmentTracker.getPartialFragment(t)||void 0,Te=xi.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:Te.len,bufferInfo:Te})}}}}}_tryFixBufferStall(t,n){var o,m;const{fragmentTracker:E,media:C}=this,U=(o=this.hls)==null?void 0:o.config;if(!C||!E||!U)return;const H=C.currentTime,$=(m=this.hls)==null?void 0:m.latestLevelDetails,ae=E.getPartialFragment(H);if((ae||$!=null&&$.live&&H<$.fragmentStart)&&(this._trySkipBufferHole(ae)||!this.media))return;const ce=t.buffered;(ce&&ce.length>1&&t.len>U.maxBufferHole||t.nextStart&&t.nextStart-H<U.maxBufferHole)&&(n>U.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 C=new Error(`Playback stalling at @${o.currentTime} due to low buffer (${zn(t)})`);this.warn(C.message),n.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:C,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 C=m.currentTime,U=xi.bufferInfo(m,C,0),H=C<U.start?U.start:U.nextStart;if(H&&this.hls){const ae=U.len<=E.maxBufferHole,ce=U.len>0&&U.len<1&&m.readyState<3,xe=H-C;if(xe>0&&(ae||ce)){if(xe>E.maxBufferHole){let De=!1;if(C===0){const tt=o.getAppendedFrag(0,u.MAIN);tt&&H<tt.end&&(De=!0)}if(!De){const tt=t||o.getAppendedFrag(C,u.MAIN);if(tt){var $;if(!(($=this.hls.loadLevelObj)!=null&&$.details)||Bc(this.hls.inFlightFragments,H))return 0;let Ft=!1,hr=tt.end;for(;hr<H;){const ar=o.getPartialFragment(hr);if(ar)hr+=ar.duration;else{Ft=!0;break}}if(Ft)return 0}}}const Te=Math.max(H+Mc,C+_f);if(this.warn(`skipping hole, adjusting currentTime from ${C} to ${Te}`),this.moved=!0,m.currentTime=Te,!(t!=null&&t.gap)){const De=new Error(`fragment loaded with buffer holes, seeking from ${C} to ${Te}`);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:De,reason:De.message,frag:t||void 0,buffer:U.len,bufferInfo:U})}return Te}}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 C=o.currentTime;if(this.nudgeRetry++,m<E.nudgeMaxRetry){const U=C+(m+1)*E.nudgeOffset,H=new Error(`Nudging 'currentTime' from ${C} to ${U}`);this.warn(H.message),o.currentTime=U,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 U=new Error(`Playhead still not moving while enough data buffered @${C} after ${E.nudgeMaxRetry} nudges`);this.error(U.message),n.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,error:U,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 Ur.IDLE:case Ur.STOPPED:case Ur.ENDED:case Ur.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(C){E=new P(t,n,zn(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 C=Nc();if(C)for(let U=0;U<E.length;U++){const H=E[U].type;if(H===we.emsg&&!o||!m)continue;const $=Ua(E[U].data);if($){const ae=E[U].pts;let ce=ae+E[U].duration;ce>rf&&(ce=rf),ce-ae<=0&&(ce=ae+Mf);for(let Te=0;Te<$.length;Te++){const De=$[Te];if(!As(De)){this.updateId3CueEnds(ae,H);const tt=Ff(C,ae,ce,De,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 C=m[E];C.type===n&&C.startTime<t&&C.endTime===rf&&(C.endTime=t)}}onBufferFlushing(t,{startOffset:n,endOffset:o,type:m}){const{id3Track:E,hls:C}=this;if(!C)return;const{config:{enableEmsgMetadataCues:U,enableID3MetadataCues:H}}=C;if(E&&(U||H)){let $;m==="audio"?$=ae=>ae.type===we.audioId3&&H:m==="video"?$=ae=>ae.type===we.emsg&&U:$=ae=>ae.type===we.audioId3&&H||ae.type===we.emsg&&U,Zo(E,n,o,$)}}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 C=this.dateRangeCuesAppended;if(o&&n){var U;if((U=o.cues)!=null&&U.length){const ae=Object.keys(C).filter(ce=>!E.includes(ce));for(let ce=ae.length;ce--;){const xe=ae[ce],Te=C[xe].cues;delete C[xe],Object.keys(Te).forEach(De=>{try{const tt=Te[De];tt.removeEventListener("enter",this.onEventCueEnter),o.removeCue(tt)}catch(tt){}})}}else C=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 $=Nc();for(let ae=0;ae<E.length;ae++){const ce=E[ae],xe=m[ce],Te=xe.startTime,De=C[ce],tt=(De==null?void 0:De.cues)||{};let at=(De==null?void 0:De.durationKnown)||!1,Ft=rf;const{duration:hr,endDate:ar}=xe;if(ar&&hr!==null)Ft=Te+hr,at=!0;else if(xe.endOnNext&&!at){const Wr=E.reduce((dn,Gr)=>{if(Gr!==xe.id){const un=m[Gr];if(un.class===xe.class&&un.startDate>xe.startDate&&(!dn||xe.startDate<dn.startDate))return un}return dn},null);Wr&&(Ft=Wr.startTime,at=!0)}const zr=Object.keys(xe.attr);for(let Wr=0;Wr<zr.length;Wr++){const dn=zr[Wr];if(!Ln(dn))continue;const Gr=tt[dn];if(Gr)at&&!De.durationKnown?Gr.endTime=Ft:Math.abs(Gr.startTime-Te)>.01&&(Gr.startTime=Te,Gr.endTime=Ft);else if($){let un=xe.attr[dn];ja(dn)&&(un=vf(un));const Qr=Ff($,Te,Ft,{key:dn,data:un},we.dateRange);Qr&&(Qr.id=ce,this.id3Track.addCue(Qr),tt[dn]=Qr,this.hls.config.interstitialsController&&(dn==="X-ASSET-LIST"||dn==="X-ASSET-URL")&&Qr.addEventListener("enter",this.onEventCueEnter))}}C[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:C}=this.config;if(!E||C===1||!o.live)return;const U=this.targetLatency;if(U===null)return;const H=m-U,$=Math.min(this.maxLatency,U+o.targetduration);if(H<$&&H>.05&&this.forwardBufferLength>1){const ce=Math.min(2,Math.max(1,C)),xe=Math.round(2/(1+Math.exp(-.75*H-this.edgeStalled))*20)/20,Te=Math.min(ce,Math.max(1,xe));this.changeMediaPlaybackRate(n,Te)}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:C,lowLatencyMode:U}=this.config,H=this.hls.userConfig;let $=U&&o||n;(this._targetLatencyUpdated||H.liveSyncDuration||H.liveSyncDurationCount||$===0)&&($=E!==void 0?E:C*m);const ae=m;return $+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ae)}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,C=m-o.totalduration,U=m-(this.config.lowLatencyMode&&o.partTarget||o.targetduration);return Math.min(Math.max(C,E),U)}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={},C={};let U=!1,H=!1,$=!1;n.levels.forEach(ae=>{var ce;const xe=ae.attrs;let{audioCodec:Te,videoCodec:De}=ae;Te&&(ae.audioCodec=Te=St(Te,o)||void 0),((ce=De)==null?void 0:ce.indexOf("avc1"))===0&&(De=ae.videoCodec=Ar(De));const{width:tt,height:at,unknownCodecs:Ft}=ae;let hr=Ft?Ft.length:0;if(Ft)for(let Yn=hr;Yn--;){const hi=Ft[Yn];this.isAudioSupported(hi)?(ae.audioCodec=Te=Te?`${Te},${hi}`:hi,hr--,Ut.audio[Te.substring(0,4)]=2):this.isVideoSupported(hi)&&(ae.videoCodec=De=De?`${De},${hi}`:hi,hr--,Ut.video[De.substring(0,4)]=2)}if(U||(U=!!(tt&&at)),H||(H=!!De),$||($=!!Te),hr||Te&&!this.isAudioSupported(Te)||De&&!this.isVideoSupported(De)){this.log(`Some or all CODECS not supported "${xe.CODECS}"`);return}const{CODECS:ar,"FRAME-RATE":zr,"HDCP-LEVEL":Wr,"PATHWAY-ID":dn,RESOLUTION:Gr,"VIDEO-RANGE":un}=xe,Qr=`${`${dn||"."}-`}${ae.bitrate}-${Gr}-${zr}-${ar}-${un}-${Wr}`;if(E[Qr])if(E[Qr].uri!==ae.url&&!ae.attrs["PATHWAY-ID"]){const Yn=C[Qr]+=1;ae.attrs["PATHWAY-ID"]=new Array(Yn+1).join(".");const hi=this.createLevel(ae);E[Qr]=hi,m.push(hi)}else E[Qr].addGroupId("audio",xe.AUDIO),E[Qr].addGroupId("text",xe.SUBTITLES);else{const Yn=this.createLevel(ae);E[Qr]=Yn,C[Qr]=1,m.push(Yn)}}),this.filterAndSortMediaOptions(m,n,U,H,$)}createLevel(t){const n=new cr(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=fn(m,[])}return n}isAudioSupported(t){return Oe(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Oe(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,o,m,E){let C=[],U=[],H=t;if((o||m)&&E&&(H=H.filter(({videoCodec:at,videoRange:Ft,width:hr,height:ar})=>(!!at||!!(hr&&ar))&&rn(Ft))),H.length===0){Promise.resolve().then(()=>{if(this.hls){let at="no level with compatible codecs found in manifest",Ft=at;n.levels.length&&(Ft=`one or more CODECS in variant not supported: ${zn(n.levels.map(ar=>ar.attrs.CODECS).filter((ar,zr,Wr)=>Wr.indexOf(ar)===zr))}`,this.warn(Ft),at+=` (${Ft})`);const hr=new Error(at);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:hr,reason:Ft})}});return}n.audioTracks&&(C=n.audioTracks.filter(at=>!at.audioCodec||this.isAudioSupported(at.audioCodec)),Nf(C)),n.subtitles&&(U=n.subtitles,Nf(U));const $=H.slice(0);H.sort((at,Ft)=>{if(at.attrs["HDCP-LEVEL"]!==Ft.attrs["HDCP-LEVEL"])return(at.attrs["HDCP-LEVEL"]||"")>(Ft.attrs["HDCP-LEVEL"]||"")?1:-1;if(o&&at.height!==Ft.height)return at.height-Ft.height;if(at.frameRate!==Ft.frameRate)return at.frameRate-Ft.frameRate;if(at.videoRange!==Ft.videoRange)return gr.indexOf(at.videoRange)-gr.indexOf(Ft.videoRange);if(at.videoCodec!==Ft.videoCodec){const hr=Ke(at.videoCodec),ar=Ke(Ft.videoCodec);if(hr!==ar)return ar-hr}if(at.uri===Ft.uri&&at.codecSet!==Ft.codecSet){const hr=mt(at.codecSet),ar=mt(Ft.codecSet);if(hr!==ar)return ar-hr}return at.averageBitrate!==Ft.averageBitrate?at.averageBitrate-Ft.averageBitrate:0});let ae=$[0];if(this.steering&&(H=this.steering.filterParsedLevels(H),H.length!==$.length)){for(let at=0;at<$.length;at++)if($[at].pathwayId===H[0].pathwayId){ae=$[at];break}}this._levels=H;for(let at=0;at<H.length;at++)if(H[at]===ae){var ce;this._firstLevel=at;const Ft=ae.bitrate,hr=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${H.length} level(s) found, first bitrate: ${Ft}`),((ce=this.hls.userConfig)==null?void 0:ce.abrEwmaDefaultEstimate)===void 0){const ar=Math.min(Ft,this.hls.config.abrEwmaDefaultEstimateMax);ar>hr&&hr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=ar)}break}const xe=E&&!m,Te=this.hls.config,De=!!(Te.audioStreamController&&Te.audioTrackController),tt={levels:H,audioTracks:C,subtitleTracks:U,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:De&&!xe&&C.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 ae=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:ae,reason:ae.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,C=n[t],U=C.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=C,o===t&&m&&E===U)return;this.log(`Switching to level ${t} (${C.height?C.height+"p ":""}${C.videoRange?C.videoRange+" ":""}${C.codecSet?C.codecSet+" ":""}@${C.bitrate})${U?" with Pathway "+U:""} from level ${o}${E?" with Pathway "+E:""}`);const H={level:t,attrs:C.attrs,details:C.details,bitrate:C.bitrate,averageBitrate:C.averageBitrate,maxBitrate:C.maxBitrate,realBitrate:C.realBitrate,width:C.width,height:C.height,codecSet:C.codecSet,audioCodec:C.audioCodec,videoCodec:C.videoCodec,audioGroups:C.audioGroups,subtitleGroups:C.subtitleGroups,loaded:C.loaded,loadError:C.loadError,fragmentError:C.fragmentError,name:C.name,id:C.id,uri:C.uri,url:C.url,urlId:0,audioGroupIds:C.audioGroupIds,textGroupIds:C.textGroupIds};this.hls.trigger(s.LEVEL_SWITCHING,H);const $=C.details;if(!$||$.live){const ae=this.switchParams(C.uri,m==null?void 0:m.details,$);this.loadPlaylist(ae)}}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,C=n.levelInfo;if(!C){var U;this.warn(`Invalid level index ${m}`),(U=n.deliveryDirectives)!=null&&U.skip&&(E.deltaUpdateFailed=!0);return}if(C===this.currentLevel||n.withoutMultiVariant){C.fragmentError===0&&(C.loadError=0);let H=C.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"],C=t.details,U=C==null?void 0:C.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:""}${U&&C.live?" age "+U.toFixed(1)+(C.type?" "+C.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,C)=>C!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(U=>U.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 g(){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 C=this.getFwdBufferInfoAtPos(m,E,u.MAIN,0);if(C===null||C.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${C?C.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=Ur.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Ur.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Ur.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=Ur.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Ur.IDLE;break}break}case Ur.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,C=m==null?void 0:m[E];this.resetStartWhenNotLoaded(C||null),this.state=Ur.IDLE}}break}this.state===Ur.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 C=o[E],U=this.getMainFwdBufferInfo();if(U===null)return;const H=this.getLevelDetails();if(H&&this._streamEnded(U,H)){const tt={};this.altAudio===2&&(tt.type="video"),this.hls.trigger(s.BUFFER_EOS,tt),this.state=Ur.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 $=C.details;if(!$||this.state===Ur.WAITING_LEVEL||this.waitForLive(C)){this.level=E,this.state=Ur.WAITING_LEVEL,this.startFragRequested=!1;return}const ae=U.len,ce=this.getMaxBufferLength(C.maxBitrate);if(ae>=ce)return;this.backtrackFragment&&this.backtrackFragment.start>U.end&&(this.backtrackFragment=null);const xe=this.backtrackFragment?this.backtrackFragment.start:U.end;let Te=this.getNextFragment(xe,$);if(this.couldBacktrack&&!this.fragPrevious&&Te&&_e(Te)&&this.fragmentTracker.getState(Te)!==Er.OK){var De;const at=((De=this.backtrackFragment)!=null?De:Te).sn-$.startSN,Ft=$.fragments[at-1];Ft&&Te.cc===Ft.cc&&(Te=Ft,this.fragmentTracker.removeFragment(Ft))}else this.backtrackFragment&&U.len&&(this.backtrackFragment=null);if(Te&&this.isLoopLoading(Te,xe)){if(!Te.gap){const at=this.audioOnly&&!this.altAudio?F.AUDIO:F.VIDEO,Ft=(at===F.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Ft&&this.afterBufferFlushed(Ft,at,u.MAIN)}Te=this.getNextFragmentLoopLoading(Te,$,U,u.MAIN,ce)}Te&&(Te.initSegment&&!Te.initSegment.data&&!this.bitrateTest&&(Te=Te.initSegment),this.loadFragment(Te,C,xe))}loadFragment(t,n,o){const m=this.fragmentTracker.getState(t);m===Er.NOT_LOADED||m===Er.PARTIAL?_e(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 U=this.getMainFwdBufferInfo();if(!U||U.len<E.targetduration*2)return}if(!n.paused&&t){const U=this.hls.nextLoadLevel,H=t[U],$=this.fragLastKbps;$&&this.fragCurrent?o=this.fragCurrent.duration*H.maxBitrate/(1e3*$)+1:o=0}else o=0;const C=this.getBufferedFrag(n.currentTime+o);if(C){const U=this.followingBufferedFrag(C);if(U){this.abortCurrentFrag();const H=U.maxStartPTS?U.maxStartPTS:U.start,$=U.duration,ae=Math.max(C.end,H+Math.min(Math.max($-this.config.maxFragLookUpTolerance,$*(this.couldBacktrack?.5:.125)),$*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(ae,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 Ur.KEY_LOADING:case Ur.FRAG_LOADING:case Ur.FRAG_LOADING_WAITING_RETRY:case Ur.PARSING:case Ur.PARSED:this.state=Ur.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 C=E.audioCodec;C&&(o=o||C.indexOf("mp4a.40.2")!==-1,m=m||C.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=o&&m&&!g(),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!==Ur.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=Ur.WAITING_LEVEL)}onLevelLoaded(t,n){var o;const{levels:m,startFragRequested:E}=this,C=n.level,U=n.details,H=U.totalduration;if(!m){this.warn(`Levels were reset while loading level ${C}`);return}this.log(`Level ${C} loaded [${U.startSN},${U.endSN}]${U.lastPartSn?`[part-${U.lastPartSn}-${U.lastPartIndex}]`:""}, cc [${U.startCC}, ${U.endCC}] duration:${H}`);const $=n.levelInfo,ae=this.fragCurrent;ae&&(this.state===Ur.FRAG_LOADING||this.state===Ur.FRAG_LOADING_WAITING_RETRY)&&ae.level!==n.level&&ae.loader&&this.abortCurrentFrag();let ce=0;if(U.live||(o=$.details)!=null&&o.live){var xe;if(this.checkLiveUpdate(U),U.deltaUpdateFailed)return;ce=this.alignPlaylists(U,$.details,(xe=this.levelLastLoaded)==null?void 0:xe.details)}if($.details=U,this.levelLastLoaded=$,E||this.setStartPosition(U,ce),this.hls.trigger(s.LEVEL_UPDATED,{details:U,level:C}),this.state===Ur.WAITING_LEVEL){if(this.waitForCdnTuneIn(U))return;this.state=Ur.IDLE}E&&U.live&&this.synchronizeToLiveEdge(U),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:o}=this;if(!o)return;const m=this.hls.liveSyncPosition,E=this.getLoadPosition(),C=t.fragmentStart,U=t.edge,H=E>=C-n.maxFragLookUpTolerance&&E<=U;if(m!==null&&o.duration>m&&(E<m||!H)){const $=n.liveMaxLatencyDuration!==void 0?n.liveMaxLatencyDuration:n.liveMaxLatencyDurationCount*t.targetduration;(!H&&o.readyState<4||E<U-$)&&(this._hasEnoughToStart||(this.nextLoadPosition=m),o.readyState&&(this.warn(`Playback: ${E.toFixed(3)} is located too far from the end of live sliding playlist: ${U}, reset currentTime to : ${m.toFixed(3)}`),o.currentTime=m))}}_handleFragmentLoadProgress(t){var n;const o=t.frag,{part:m,payload:E}=t,{levels:C}=this;if(!C){this.warn(`Levels were reset while fragment load was in progress. Fragment ${o.sn} of level ${o.level} will not be buffered`);return}const U=C[o.level];if(!U){this.warn(`Level ${o.level} not found on progress`);return}const H=U.details;if(!H){this.warn(`Dropping fragment ${o.sn} of level ${o.level} after level details were reset`),this.fragmentTracker.removeFragment(o);return}const $=U.videoCodec,ae=H.PTSKnown||!H.live,ce=(n=o.initSegment)==null?void 0:n.data,xe=this._getAudioCodec(U),Te=this.transmuxer=this.transmuxer||new Uo(this.hls,u.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),De=m?m.index:-1,tt=De!==-1,at=new $a(o.level,o.sn,o.stats.chunkCount,E.byteLength,De,tt),Ft=this.initPTS[o.cc];Te.push(E,ce,xe,$,o,m,H.totalduration,ae,at,Ft)}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 C=this.fragCurrent;C&&(this.log("Switching to main audio track, cancel main fragment load"),C.abortRequests(),this.fragmentTracker.removeFragment(C)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();if(m){this.fragmentTracker.removeAllFragments(),o.once(s.BUFFER_FLUSHED,()=>{var C;(C=this.hls)==null||C.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,C=!1;for(const U in o){const H=o[U];if(H.id==="main"){if(E=U,m=H,U==="video"){const $=o[U];$&&(this.videoBuffer=$.buffer)}}else C=!0}C&&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===Ur.PARSED&&(this.state=Ur.IDLE);return}const U=m?m.stats:o.stats;this.fragLastKbps=Math.round(8*U.total/(U.buffering.end-U.loading.first)),_e(o)&&(this.fragPrevious=o),this.fragBufferedComplete(o,m)}const C=this.media;C&&(!this._hasEnoughToStart&&xi.getBuffered(C).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var o;if(n.fatal){this.state=Ur.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===Ur.WAITING_LEVEL&&((o=n.context)==null?void 0:o.type)===h.LEVEL&&(this.state=Ur.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=Ur.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==F.AUDIO||!this.altAudio){const o=(n===F.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(),C=xi.getBuffered(t),U=C.length?C.start(0):0,H=U-o,$=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);H>0&&(H<$||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 ${U}`),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=Ur.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const C=E.stats;C.parsing.start=C.parsing.end=C.buffering.start=C.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:C}=t,U=this.getCurrentContext(C);if(!U){this.resetWhenMissingContext(C);return}const{frag:H,part:$,level:ae}=U,{video:ce,text:xe,id3:Te,initSegment:De}=E,{details:tt}=ae,at=this.altAudio?void 0:E.audio;if(this.fragContextChanged(H)){this.fragmentTracker.removeFragment(H);return}if(this.state=Ur.PARSING,De){if(De!=null&&De.tracks){const ar=H.initSegment||H;this._bufferInitSegment(ae,De.tracks,ar,C),m.trigger(s.FRAG_PARSING_INIT_SEGMENT,{frag:ar,id:o,tracks:De.tracks})}const Ft=De.initPTS,hr=De.timescale;r(Ft)&&(this.initPTS[H.cc]={baseTime:Ft,timescale:hr},m.trigger(s.INIT_PTS_FOUND,{frag:H,id:o,initPTS:Ft,timescale:hr}))}if(ce&&tt){at&&ce.type==="audiovideo"&&this.logMuxedErr(H);const Ft=tt.fragments[H.sn-1-tt.startSN],hr=H.sn===tt.startSN,ar=!Ft||H.cc>Ft.cc;if(E.independent!==!1){const{startPTS:zr,endPTS:Wr,startDTS:dn,endDTS:Gr}=ce;if($)$.elementaryStreams[ce.type]={startPTS:zr,endPTS:Wr,startDTS:dn,endDTS:Gr};else if(ce.firstKeyFrame&&ce.independent&&C.id===1&&!ar&&(this.couldBacktrack=!0),ce.dropped&&ce.independent){const un=this.getMainFwdBufferInfo(),mn=(un?un.end:this.getLoadPosition())+this.config.maxBufferHole,Qr=ce.firstKeyFramePTS?ce.firstKeyFramePTS:zr;if(!hr&&mn<Qr-this.config.maxBufferHole&&!ar){this.backtrack(H);return}else ar&&(H.gap=!0);H.setElementaryStreamInfo(ce.type,H.start,Wr,H.start,Gr,!0)}else hr&&zr-(tt.appliedTimelineOffset||0)>Ec&&(H.gap=!0);H.setElementaryStreamInfo(ce.type,zr,Wr,dn,Gr),this.backtrackFragment&&(this.backtrackFragment=H),this.bufferFragmentData(ce,H,$,C,hr||ar)}else if(hr||ar)H.gap=!0;else{this.backtrack(H);return}}if(at){const{startPTS:Ft,endPTS:hr,startDTS:ar,endDTS:zr}=at;$&&($.elementaryStreams[F.AUDIO]={startPTS:Ft,endPTS:hr,startDTS:ar,endDTS:zr}),H.setElementaryStreamInfo(F.AUDIO,Ft,hr,ar,zr),this.bufferFragmentData(at,H,$,C)}if(tt&&Te!=null&&(n=Te.samples)!=null&&n.length){const Ft={id:o,frag:H,details:tt,samples:Te.samples};m.trigger(s.FRAG_PARSING_METADATA,Ft)}if(tt&&xe){const Ft={id:o,frag:H,details:tt,samples:xe.samples};m.trigger(s.FRAG_PARSING_USERDATA,Ft)}}logMuxedErr(t){this.warn(`${_e(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,o,m){if(this.state!==Ur.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(o));const{audio:E,video:C,audiovideo:U}=n;if(E){let $=Jr(E.codec,t.audioCodec);$==="mp4a"&&($="mp4a.40.5");const ae=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){$&&($.indexOf("mp4a.40.5")!==-1?$="mp4a.40.2":$="mp4a.40.5");const ce=E.metadata;ce&&"channelCount"in ce&&(ce.channelCount||1)!==1&&ae.indexOf("firefox")===-1&&($="mp4a.40.5")}$&&$.indexOf("mp4a.40.5")!==-1&&ae.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&($="mp4a.40.2",this.log(`Android: force audio codec to ${$}`)),t.audioCodec&&t.audioCodec!==$&&this.log(`Swapping manifest audio codec "${t.audioCodec}" for "${$}"`),E.levelCodec=$,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${$||""}/${t.audioCodec||""}/${E.codec}]`),delete n.audiovideo}if(C){C.levelCodec=t.videoCodec,C.id=u.MAIN;const $=C.codec;if(($==null?void 0:$.length)===4)switch($){case"hvc1":case"hev1":C.codec="hvc1.1.6.L120.90";break;case"av01":C.codec="av01.0.04M.08";break;case"avc1":C.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${C.container}, codecs[level/parsed]=[${t.videoCodec||""}/${$}]${C.codec!==$?" parsed-corrected="+C.codec:""}${C.supplemental?" supplemental="+C.supplemental:""}`),delete n.audiovideo}U&&(this.log(`Init audiovideo buffer, container:${U.container}, codecs[level/parsed]=[${t.codecs}/${U.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($=>{const ce=n[$].initSegment;ce!=null&&ce.byteLength&&this.hls.trigger(s.BUFFER_APPENDING,{type:$,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=Ur.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const o=t.currentTime;if(xi.isBuffered(t,o)?n=this.getAppendedFrag(o):xi.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 C=E+(n-m.start)*1e3;return new Date(C)}}}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 C=n[E];if(m<=C.cc&&(o==="initSegment"||C.sn==="initSegment"||o<C.sn)){this.emeController.selectKeySystemFormat(C).then(U=>{C.setKeyFormat(U)});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 $=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,$))}const C=E.uri;if(!C)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${C}"`)));let U=this.keyUriToKeyInfo[C];if((o=U)!=null&&o.decryptdata.key)return E.key=U.decryptdata.key,Promise.resolve({frag:t,keyInfo:U});if((m=U)!=null&&m.keyLoadPromise){var H;switch((H=U.mediaKeySessionContext)==null?void 0:H.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return U.keyLoadPromise.then($=>(E.key=$.keyInfo.decryptdata.key,{frag:t,keyInfo:U}))}}switch(U=this.keyUriToKeyInfo[C]={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(U,t):this.loadKeyEME(U,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(U,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((C,U)=>{const H={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},$=o.keyLoadPolicy.default,ae={loadPolicy:$,timeout:$.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Te,De,tt)=>{const{frag:at,keyInfo:Ft,url:hr}=De;if(!at.decryptdata||Ft!==this.keyUriToKeyInfo[hr])return U(this.createKeyLoadError(at,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),tt));Ft.decryptdata.key=at.decryptdata.key=new Uint8Array(xe.data),at.keyLoader=null,Ft.loader=null,C({frag:at,keyInfo:Ft})},onError:(xe,Te,De,tt)=>{this.resetLoader(Te),U(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${xe.code} loading key ${xe.text}`),De,b({url:H.url,data:void 0},xe)))},onTimeout:(xe,Te,De)=>{this.resetLoader(Te),U(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),De))},onAbort:(xe,Te,De)=>{this.resetLoader(Te),U(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),De))}};E.load(H,ae,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 ut(P,t){let n=P.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class Nt{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,C=new E(n);return this.loaders[t.type]=C,C}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:C,deliveryDirectives:U,levelInfo:H}=n;this.load({id:o,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:C,deliveryDirectives:U,levelOrTrack:H})}onAudioTrackLoading(t,n){const{id:o,groupId:m,url:E,deliveryDirectives:C,track:U}=n;this.load({id:o,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:C,levelOrTrack:U})}onSubtitleTrackLoading(t,n){const{id:o,groupId:m,url:E,deliveryDirectives:C,track:U}=n;this.load({id:o,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:C,levelOrTrack:U})}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 $=this.hls.logger,ae=m.context;if(ae&&ae.levelOrTrack===t.levelOrTrack&&(ae.url===t.url||ae.deliveryDirectives&&!t.deliveryDirectives)){ae.url===t.url?$.log(`[playlist-loader]: ignore ${t.url} ongoing request`):$.log(`[playlist-loader]: ignore ${t.url} in favor of ${ae.url}`);return}$.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 $;if(t.type===h.LEVEL&&t.level!==null?$=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?$=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&($=this.hls.subtitleTracks[t.id].details),$){const ae=$.partTarget,ce=$.targetduration;if(ae&&ce){const xe=Math.max(ae*3,ce*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(xe,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(xe,E.maxTimeToFirstByteMs)})}}}const C=E.errorRetry||E.timeoutRetry||{},U={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:C.maxNumRetry||0,retryDelay:C.retryDelayMs||0,maxRetryDelay:C.maxRetryDelayMs||0},H={onSuccess:($,ae,ce,xe)=>{const Te=this.getInternalLoader(ce);this.resetInternalLoader(ce.type);const De=$.data;if(De.indexOf("#EXTM3U")!==0){this.handleManifestParsingError($,ce,new Error("no EXTM3U delimiter"),xe||null,ae);return}ae.parsing.start=performance.now(),fs.isMediaPlaylist(De)||ce.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist($,ae,ce,xe||null,Te):this.handleMasterPlaylist($,ae,ce,xe)},onError:($,ae,ce,xe)=>{this.handleNetworkError(ae,ce,!1,$,xe)},onTimeout:($,ae,ce)=>{this.handleNetworkError(ae,ce,!0,void 0,$)}};m.load(t,U,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,C=t.data,U=ut(t,o),H=fs.parseMasterPlaylist(C,U);if(H.playlistParsingError){this.handleManifestParsingError(t,o,H.playlistParsingError,m,n);return}const{contentSteering:$,levels:ae,sessionData:ce,sessionKeys:xe,startTimeOffset:Te,variableList:De}=H;this.variableList=De;const{AUDIO:tt=[],SUBTITLES:at,"CLOSED-CAPTIONS":Ft}=fs.parseMasterPlaylistMedia(C,U,H);tt.length&&!tt.some(ar=>!ar.url)&&ae[0].audioCodec&&!ae[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 Ui({}),bitrate:0,url:""})),E.trigger(s.MANIFEST_LOADED,{levels:ae,audioTracks:tt,subtitles:at,captions:Ft,contentSteering:$,url:U,stats:n,networkDetails:m,sessionData:ce,sessionKeys:xe,startTimeOffset:Te,variableList:De})}handleTrackOrLevelPlaylist(t,n,o,m,E){const C=this.hls,{id:U,level:H,type:$}=o,ae=ut(t,o),ce=r(H)?H:r(U)?U:0,xe=Le(o),Te=fs.parseLevelPlaylist(t.data,ae,ce,xe,0,this.variableList);if($===h.MANIFEST){const De={attrs:new Ui({}),bitrate:0,details:Te,name:"",url:ae};Te.requestScheduled=n.loading.start+ur(Te,0),C.trigger(s.MANIFEST_LOADED,{levels:[De],audioTracks:[],url:ae,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),o.levelDetails=Te,this.handlePlaylistLoaded(Te,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 C=`A network ${o?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?C+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(C+=` id: ${t.id} group-id: "${t.groupId}"`);const U=new Error(C);this.hls.logger.warn(`[playlist-loader]: ${C}`);let H=f.UNKNOWN,$=!1;const ae=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:H=o?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,$=!0;break;case h.LEVEL:H=o?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,$=!1;break;case h.AUDIO_TRACK:H=o?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,$=!1;break;case h.SUBTITLE_TRACK:H=o?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,$=!1;break}ae&&this.resetInternalLoader(t.type);const ce={type:c.NETWORK_ERROR,details:H,fatal:$,url:t.url,loader:ae,context:t,error:U,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,C){const U=this.hls,{type:H,level:$,id:ae,groupId:ce,deliveryDirectives:xe}=m,Te=ut(n,m),De=Le(m),tt=typeof m.level=="number"&&De===u.MAIN?$:void 0;if(!t.fragments.length){const Ft=t.playlistParsingError=new Error("No Segments found in Playlist");U.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Te,error:Ft,reason:Ft.message,response:n,context:m,level:tt,parent:De,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),!U.config.ignorePlaylistParsingErrors){U.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Te,error:at,reason:at.message,response:n,context:m,level:tt,parent:De,networkDetails:E,stats:o});return}t.playlistParsingError=null}switch(t.live&&C&&(C.getCacheAge&&(t.ageHeader=C.getCacheAge()||0),(!C.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),H){case h.MANIFEST:case h.LEVEL:U.trigger(s.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||U.levels[0],level:tt||0,id:ae||0,stats:o,networkDetails:E,deliveryDirectives:xe,withoutMultiVariant:H===h.MANIFEST});break;case h.AUDIO_TRACK:U.trigger(s.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:ae||0,groupId:ce||"",stats:o,networkDetails:E,deliveryDirectives:xe});break;case h.SUBTITLE_TRACK:U.trigger(s.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:ae||0,groupId:ce||"",stats:o,networkDetails:E,deliveryDirectives:xe});break}}}class rr{static get version(){return Dn}static isMSESupported(){return $f()}static isSupported(){return Tf()}static getMediaSource(){return oe()}static get Events(){return s}static get MetadataSchema(){return we}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=X(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:C,errorController:U,fpsController:H}=o,$=new U(this),ae=this.abrController=new m(this),ce=new Or(this),xe=o.interstitialsController,Te=xe?this.interstitialsController=new xe(this,rr):null,De=this.bufferController=new E(this,ce),tt=this.capLevelController=new C(this),at=new H(this),Ft=new Nt(this),hr=o.contentSteeringController,ar=hr?new hr(this):null,zr=this.levelController=new Bf(this,ar),Wr=new Hf(this),dn=new ve(this.config),Gr=this.streamController=new Z(this,ce,dn),un=this.gapController=new mf(this,ce);tt.setStreamController(Gr),at.setStreamController(Gr);const mn=[Ft,zr,Gr];Te&&mn.splice(1,0,Te),ar&&mn.splice(1,0,ar),this.networkControllers=mn;const Qr=[ae,De,un,tt,at,Wr,ce];this.audioTrackController=this.createController(o.audioTrackController,mn);const Yn=o.audioStreamController;Yn&&mn.push(this.audioStreamController=new Yn(this,ce,dn)),this.subtitleTrackController=this.createController(o.subtitleTrackController,mn);const hi=o.subtitleStreamController;hi&&mn.push(this.subtititleStreamController=new hi(this,ce,dn)),this.createController(o.timelineController,Qr),dn.emeController=this.emeController=this.createController(o.emeController,Qr),this.cmcdController=this.createController(o.cmcdController,Qr),this.latencyController=this.createController(Cf,Qr),this.coreComponents=Qr,mn.push($);const os=$.onErrorOut;typeof os=="function"&&this.on(s.ERROR,os,$),this.on(s.MANIFEST_LOADED,Ft.onManifestLoaded,Ft)}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=le.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 C=t[E].attrs["HDCP-LEVEL"];if(C&&C<=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=mi(n);return _t(t,o,navigator.mediaCapabilities)}}rr.defaultConfig=void 0},53280:function(d,v,e){"use strict";e.d(v,{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 M=D||{},N=M.upcomingOnly,j=N===void 0?!1:N;R(),b=!j}function T(){for(var D=arguments.length,M=new Array(D),N=0;N<D;N++)M[N]=arguments[N];var j=this,Q=Date.now()-S;if(b)return;function X(){S=Date.now(),c.apply(j,M)}function Y(){_=void 0}!x&&y&&!_&&X(),R(),y===void 0&&Q>l?x?(S=Date.now(),u||(_=setTimeout(y?Y:X,l))):X():u!==!0&&(_=setTimeout(y?Y:X,y===void 0?l-Q:l))}return T.cancel=L,T}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 v=__webpack_module_cache__[d];if(v!==void 0)return v.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 v=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(v,{a:v}),v}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__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={};v=v||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~v.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,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](d,v),v},[]))}}(),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",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__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:"5ac27def",33:"62274dbc",67:"22cd85d4",109:"5f9efbf5",169:"d23d080e",195:"2f68237d",264:"6b5fc814",265:"0c6b602d",292:"a89f8d21",310:"e5a97e98",316:"1f60ada6",337:"6b3fed7e",342:"6ec13e6a",354:"d4d139cf",391:"3b36d1ac",400:"d04d52bd",479:"a1147c4c",485:"97c43a9c",508:"1a67a6e4",532:"274c5881",533:"6528dc43",547:"24bbee7d",556:"489891cd",559:"08c06823",570:"847cbc80",576:"d92c7fdc",599:"ed444d24",629:"44a1d9a5",643:"f21cff49",671:"4a609b8d",672:"30ae0d09",680:"b81db7ca",700:"87ae60bf",737:"28686f04",741:"ac5fd360",799:"eefcedce",869:"e52598e3",895:"11583a36",921:"5ddbf9e2",928:"3beb70a2",981:"24da50c7",1006:"ece37beb",1043:"fdafa962",1045:"013ca23f",1048:"5e6c2f33",1070:"0b15f636",1134:"b76b3ddd",1144:"c90eccaf",1148:"a569eb65",1154:"8cb80842",1211:"3258e65d",1253:"bb5eb91a",1257:"4de335f6",1265:"355894ab",1274:"5f6ea65a",1276:"5a16a6b9",1343:"233a1c11",1416:"f0bc6df2",1423:"dfa5ddb4",1427:"2e57a93f",1450:"84b901b6",1461:"6a30072c",1462:"fcf08abc",1470:"42207f91",1475:"94fcda3e",1482:"4dd173ea",1512:"d8e3190a",1520:"34057789",1545:"c9fb6de0",1578:"bd0dc120",1581:"f2c2e3a6",1582:"f3089871",1646:"e6e27b60",1657:"57e9eedc",1660:"7ef463dc",1674:"c02df625",1702:"82ca08fa",1713:"21b00e0a",1717:"17ab70f4",1727:"b12d5952",1783:"3f22c779",1799:"ff17f0c2",1831:"b0dfccc1",1836:"2604d8fb",1855:"a387e74d",1880:"5679481a",1939:"dbb01f87",1953:"db9a75f8",1962:"82976146",2011:"59d51f98",2045:"84fa5c08",2076:"7404c19f",2102:"37ebcd9c",2141:"1d29db04",2216:"a7a35ebc",2240:"3f870813",2249:"f4830452",2254:"141fb031",2300:"f7b34b30",2303:"6568d6e6",2307:"154d044a",2338:"9ba90f8c",2339:"337b97ab",2364:"f89faf70",2386:"192e235c",2396:"9b5d3f78",2404:"76a9d67d",2412:"8ba7cd86",2425:"db1a9388",2443:"2b048691",2476:"a5521d90",2494:"68080a87",2501:"229b1c55",2529:"249b73cb",2538:"de4a3723",2539:"e42e7069",2548:"aa53f43d",2570:"c769f6c3",2594:"e87d3761",2603:"5ab477af",2659:"eb719cac",2707:"70275a0d",2806:"e2cecdf0",2819:"553f9ac5",2823:"eaac4ef7",2826:"8dc05a57",2829:"27173129",2837:"54a82605",2865:"76c34631",2875:"0205a186",2884:"4e0bcb27",2969:"ab3357d7",2983:"a15c3078",3006:"f4685cae",3133:"9bf3f89c",3141:"ac7ab4e1",3157:"a5ecae7c",3183:"ea4c9434",3198:"8e655451",3212:"a590cf3a",3220:"8fce6ee9",3247:"2809f0c3",3260:"5f5cf859",3276:"3ce86eb5",3282:"fb41bd2d",3317:"860a753e",3332:"f2bc1ccf",3355:"8920cc04",3356:"454b4e33",3391:"4fb7fe3f",3433:"411ff7c4",3442:"05815f1d",3447:"1ac11541",3451:"0fb3242b",3496:"5bf0479c",3509:"f282bd97",3550:"3dc83156",3581:"e356b455",3585:"590e214b",3665:"df48f6ff",3668:"0c55d57c",3697:"481a10d9",3747:"d3131211",3754:"a157c791",3777:"d5b0f2f1",3784:"8148bbba",3805:"9dbcb95e",3862:"43117f72",3873:"fc59659a",3885:"f87f7f15",3910:"a3b97753",3935:"74d0c027",3951:"97247def",3987:"5cecd51b",4014:"27a8e97c",4017:"55e12afd",4030:"82207d2d",4056:"c7f38407",4058:"82246f46",4078:"69d3514c",4088:"236723f3",4093:"a363e26b",4105:"dc74e996",4142:"9c4d20a7",4144:"e54263c2",4164:"641940cc",4216:"d4314c2e",4217:"afffadf3",4227:"847022c5",4259:"5ccef5de",4264:"ae140b33",4317:"cd48e9f7",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"cbce7a89",4492:"c2d99b91",4496:"3f0dd725",4498:"0af86223",4504:"823ab034",4514:"1f94f70e",4520:"3a54f2dc",4546:"15c5bfd8",4565:"ae294bdd",4572:"08645974",4599:"61def4cb",4601:"63673abe",4610:"cc1808e2",4621:"a81fab58",4628:"ece2c60c",4662:"22d04921",4685:"c33f1528",4715:"89043e6e",4736:"d824f15b",4741:"8943c739",4757:"b238a32e",4766:"8e4c898e",4770:"3b8de87f",4790:"619413e4",4795:"a656db2e",4797:"a24e92db",4800:"b62d7467",4849:"dc3c360a",4850:"1edda4b7",4862:"7c2ec705",4884:"9ba8dc65",4889:"2eb41eae",4928:"24bb7f6e",4973:"cf3a187c",4994:"edc9bd53",5022:"eb28ddb0",5043:"984d40c5",5048:"8cfb53ec",5060:"85dafcc6",5096:"65d21f3b",5111:"73842bdc",5125:"4e912faa",5148:"c48a633b",5176:"07ea56f3",5179:"0869e466",5186:"4eeeed30",5191:"b62d04ce",5238:"3a24768b",5265:"74b07bb9",5290:"5dabcdc2",5297:"63a3b27f",5319:"66a7eba6",5321:"1163c84e",5335:"b1a1e258",5354:"7ae70604",5357:"ef473ad7",5359:"bcaa4d79",5382:"99d5cd70",5402:"e83fe768",5416:"454536b7",5434:"38b302a6",5470:"a27ec10f",5494:"d89549c4",5518:"fce6a0ca",5549:"29490bcf",5572:"b8ab27b2",5573:"e3d1a632",5599:"464e1ede",5624:"09f063be",5631:"e00d3d36",5650:"f673f39a",5679:"4a090bef",5705:"956a5d8e",5729:"577116da",5764:"e0d7e586",5775:"0150c295",5786:"a972d493",5798:"a75de45a",5816:"d7f8d6e9",5825:"b6acc9c6",5876:"5eded409",5888:"07ac5a7a",5891:"0c8f43fe",5895:"e2215934",5902:"988ffc12",5915:"8ec01b35",5972:"5a6a223f",5992:"5f1dc82e",6029:"0db76ed3",6034:"6eb56d2c",6045:"d268f87f",6047:"3ce45acd",6052:"393ca4ef",6063:"d206a83e",6069:"5513ec6a",6126:"99519171",6127:"7fdafd59",6170:"c4b92aae",6265:"9879fe28",6270:"923fade7",6277:"885d34c8",6328:"df69f356",6366:"01ef6868",6378:"7f3a946a",6411:"c9f1e451",6434:"c37e3f9b",6444:"a6594a6b",6452:"6dd54924",6531:"5b8bb018",6541:"5c09d937",6583:"bebdb876",6587:"1ee4d88e",6634:"234d0c80",6651:"522d5d71",6656:"fc39d1b9",6685:"17de7d52",6729:"c379dfad",6741:"f647133f",6758:"9f00edd9",6774:"59d4d618",6784:"6ce93f72",6788:"8f34fac0",6796:"7824b8d9",6805:"3fa0dc14",6820:"68387769",6845:"eac7f531",6882:"213c8701",6883:"6cb80143",6904:"4f1ca3bc",6913:"7576648a",6963:"c49e9b24",6982:"2da469a7",7008:"1253f460",7043:"013a6116",7045:"cd661209",7046:"decbb342",7058:"58b8370a",7062:"8c1e44d9",7084:"46ccce72",7156:"e7466006",7178:"79aa89b4",7182:"6e49e73f",7242:"bb32eb5a",7260:"264823b4",7331:"2e27a23b",7333:"e5a7f74e",7365:"1005464f",7395:"52bbd294",7460:"2174ce69",7477:"b1fbd3e9",7482:"0bb903a2",7527:"987b1297",7545:"992e6ec1",7560:"8d07ea63",7589:"1aa3044a",7591:"c8233ce9",7614:"88413be7",7622:"054f3421",7686:"4fcec9f9",7706:"c2a79e40",7806:"32fb4e4c",7852:"c772351b",7855:"3df9042b",7857:"91ee9735",7878:"dd237772",7883:"30b53572",7884:"cd25ad5d",7890:"ca5e41c9",7922:"a1e6a679",7948:"20c6f2cc",7963:"64ac60d4",7964:"29aed9a1",8014:"7d816772",8062:"94652a80",8072:"5975e767",8077:"bde7c3bd",8085:"8961bb87",8089:"d536b13a",8143:"94aadb29",8155:"a189e74f",8161:"83c5fa9a",8237:"15956a10",8241:"31d65ec5",8302:"4d9f0d89",8307:"1eee8b1c",8340:"99315e52",8350:"07df8a75",8365:"bbdeda3c",8398:"ebed64dd",8431:"9bee28c7",8435:"33fe1a12",8447:"de55f118",8517:"85045403",8561:"333e8ec9",8563:"19f5d825",8634:"4f867966",8639:"ebbaf1d9",8665:"0bc439fb",8688:"d2ca098f",8689:"5c1f12ab",8723:"bad1175f",8737:"ce7dad23",8776:"0ad26240",8782:"194c5d46",8787:"413475f8",8797:"9b1c9e2f",8823:"97ff7bff",8827:"b9269f36",8842:"9f25a3e2",8866:"cae5f846",8882:"3f7f0e39",8885:"298e8c35",8898:"d002bcd8",8909:"63bf2ffc",8920:"7f82440c",8963:"790aecdd",8982:"c634b5db",8999:"ed3bce1d",9076:"b772835c",9104:"bbcb2345",9133:"651cc548",9205:"e62168bf",9215:"9d7b9033",9252:"0d791a59",9260:"cf5f8140",9332:"24cc98b7",9360:"3040ff36",9366:"da93f466",9391:"23eb12bc",9404:"9fcc3d3e",9408:"09ebee53",9416:"75fe5100",9487:"4d567133",9489:"0634028c",9507:"0d65b8aa",9519:"721f40fc",9554:"ed358e7b",9559:"f794af19",9590:"53a4baeb",9647:"9a6683fa",9649:"fc6bd4a1",9674:"27a54e3b",9677:"9652e855",9695:"c8ddfad8",9715:"60e03c98",9716:"9e34dae9",9785:"9d460586",9788:"9e0955f0",9890:"065e0f93",9891:"a420aa0f",9895:"b8e31ff2",9921:"1ad8b682",9922:"467a52cb",9928:"5989f5e0",9944:"126ebd53",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",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__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:"a0b7e5dd",264:"5fd9b3fc",265:"d92c6f86",292:"e8d22ed4",310:"06815302",337:"ee05039e",342:"e9b270bd",479:"bba9e475",485:"d63578fe",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"35d7aa5b",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:"8eeeaccf",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"cb817d3a",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"82125cfd",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"66c77d21",2307:"b2c54321",2338:"e4bb0d0f",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"8fb7c26b",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:"1847b79c",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"dab65052",3355:"77baa15e",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"f545d6a6",3585:"5f288e7b",3665:"9a299665",3668:"a1c98b04",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"9a4efbda",3951:"9b11b034",4030:"7614a85c",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"e39011c7",4144:"f10aa199",4164:"ad1c3799",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4449:"e68d8d58",4492:"0677fa39",4496:"77babddd",4498:"d086de31",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"14597c83",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:"e5826b73",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:"5de2fd4d",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"738960a3",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",6656:"03cdfb68",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"1c10a6da",6784:"1affe817",6788:"bde794d4",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:"ced4496f",7178:"6e47d75d",7182:"183c9793",7242:"4f353f61",7260:"2c380d56",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7545:"59925dd9",7560:"d82e43ca",7589:"2a3e68f3",7614:"de9ee12f",7622:"33da27d4",7806:"80b7b1d6",7852:"ee98efe7",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7883:"44658a32",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"c625f85e",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"7f5bd176",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:"72de0470",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:"a204e6fe",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:"3ac78858",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,v){return Object.prototype.hasOwnProperty.call(d,v)}}(),function(){var d={};__webpack_require__.l=function(v,e,r,i){if(d[v]){d[v].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")==v){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=v,l.src.indexOf(window.location.origin+"/")!==0&&(l.crossOrigin="anonymous")),d[v]=[e];var u=function(x,p){l.onerror=l.onload=null,clearTimeout(a);var y=d[v];if(delete d[v],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},v=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(v(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,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,6656: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,7883: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 v=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(v.bind(null,0)),e.push=v.bind(null,e.push.bind(e))}();var __webpack_exports__={};(function(){"use strict";var d=__webpack_require__(68557),v=__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),T=__webpack_require__(2924),D=__webpack_require__(26425),M=__webpack_require__(32125),N=__webpack_require__(16137),j=__webpack_require__(48435),Q=__webpack_require__(11553),X=__webpack_require__(70365),Y=__webpack_require__(33717),oe=__webpack_require__(17482),ie=__webpack_require__(23708),ue=__webpack_require__(65033),K=__webpack_require__(52732),V=__webpack_require__(99382),G=__webpack_require__(88437),te=__webpack_require__(68440),q=__webpack_require__(13412),J=__webpack_require__(11005),le=__webpack_require__(70348),z=__webpack_require__(19801),F=__webpack_require__(91550),se=__webpack_require__(85223),_e=__webpack_require__(7154),Pe=__webpack_require__(67788),Re=__webpack_require__(96009),He=__webpack_require__(9402),je=__webpack_require__(62489),Zt=__webpack_require__(80881),yt=__webpack_require__(62837),Dt=__webpack_require__(4705),Qt=__webpack_require__(13941),Jt=__webpack_require__(1148),qt=__webpack_require__(82445),Xe=__webpack_require__(27267),Tt=__webpack_require__(96353),jt=__webpack_require__(90308),st=__webpack_require__(84818),gt=__webpack_require__(80585),dt=__webpack_require__(89170),Je=__webpack_require__(71012),Ue=__webpack_require__(84203),ge=__webpack_require__(22112),Se=__webpack_require__(81440),Me=__webpack_require__(25430),$e=__webpack_require__(70105),We=__webpack_require__(71390),nt=__webpack_require__(96844),lt=__webpack_require__(83578),Vt=__webpack_require__(69762),Ht=__webpack_require__(76880),Ie=__webpack_require__(65009),qe=__webpack_require__(28796),Gt=__webpack_require__(56450),Ot=__webpack_require__(78342),zt=__webpack_require__(13161),$t=__webpack_require__(54226),tr=__webpack_require__(70201),Wt=__webpack_require__(34941),Fe=__webpack_require__(85671),fe=__webpack_require__(35152),pe=__webpack_require__(85660),Pt=__webpack_require__(80031),Ce=__webpack_require__(34434),ft=__webpack_require__(83579),Ut=__webpack_require__(74307),At=__webpack_require__(97423),Oe=__webpack_require__(93321),wt=__webpack_require__(82277),be=__webpack_require__(61425),Ke=__webpack_require__(61873),mt=__webpack_require__(9307),kt=__webpack_require__(8821),Be=__webpack_require__(64385),kr=__webpack_require__(64099),St=__webpack_require__(62455),Vr=__webpack_require__(79965),Jr=__webpack_require__(59118),Ar=__webpack_require__(275),Fr=__webpack_require__(31919),mr=__webpack_require__(51284),jr=__webpack_require__(10177),on=__webpack_require__(85690),fn=__webpack_require__(92114),or=__webpack_require__(1017),Rt=__webpack_require__(14480),_t=__webpack_require__(40516),vt=__webpack_require__(76345),Bt=__webpack_require__(7282),Cr=__webpack_require__(58055),gr=__webpack_require__(93547),rn=__webpack_require__(31237),Kr=__webpack_require__(17954),Pn=__webpack_require__(58580),Ct=__webpack_require__(47146),cr=__webpack_require__(40416),Xr=__webpack_require__(7615),pn=__webpack_require__(72820),$n=__webpack_require__(86070),si=__webpack_require__(23569),zn=__webpack_require__(55639),Li=__webpack_require__(63046),ui=__webpack_require__(464),mi=__webpack_require__(51082),wi=__webpack_require__(83850),gi=__webpack_require__(41990),Xi=__webpack_require__(15787),qn=__webpack_require__(55888),Yi=__webpack_require__(53827),Et=__webpack_require__(78143),ot=__webpack_require__(66419),Jn=__webpack_require__(75765),Ai=__webpack_require__(14645),ei=__webpack_require__(71122),Gi=__webpack_require__(42084),yi=__webpack_require__(25070),ai=__webpack_require__(77140),En=__webpack_require__(15954),er=__webpack_require__(4266),pt=__webpack_require__(49988),rt=__webpack_require__(38823),It=__webpack_require__(24627),ht=__webpack_require__(4045),lr=__webpack_require__(50747),dr=__webpack_require__(43595),Ir=__webpack_require__(92324),Zr=__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),Nr=__webpack_require__(14893),bn=__webpack_require__(49233),Pr=__webpack_require__(92130),ln=__webpack_require__(42844),nn=__webpack_require__(6536),cn=__webpack_require__(27228),An=__webpack_require__(62921),pa=__webpack_require__(44001),Pi=__webpack_require__(92262),bi=__webpack_require__(54744),_n=__webpack_require__(38214),li=__webpack_require__(12756),$i=__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),xi=__webpack_require__(18827),Ga=__webpack_require__(76718),Ds=__webpack_require__(79172),ji=__webpack_require__(32192),ps=__webpack_require__(42828),Co=__webpack_require__(5658),La=__webpack_require__(55629),_s=__webpack_require__(62925),Ui=__webpack_require__(9595),Gs=__webpack_require__(58127),Ln=__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),pi=__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),Xt=__webpack_require__(8966),fr=__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),Mn=__webpack_require__(8995),Gn=__webpack_require__(23080),ur=__webpack_require__(74701),Mr=__webpack_require__(91809),xr=__webpack_require__(77517),vn=__webpack_require__(30149),Hn=__webpack_require__(55410),ct=__webpack_require__(46161),In=__webpack_require__(14800),Vn=__webpack_require__(91130),ci=__webpack_require__(2722),Qi=__webpack_require__(55885),Br=__webpack_require__(39034),Mi=__webpack_require__(8604),ba=__webpack_require__(64963),Ur=__webpack_require__(25178),na=__webpack_require__(1905),Ss=__webpack_require__(94306),fi=__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),Dn=__webpack_require__(48966),gs=__webpack_require__(13015),Ns=__webpack_require__(78527),Ye=__webpack_require__(20511),Qe=__webpack_require__(78366),Lt=__webpack_require__(27427),Kt=__webpack_require__(43890),pr=__webpack_require__(55844),Rr=__webpack_require__(71361),$r=__webpack_require__(44550),gn=__webpack_require__(413),an=__webpack_require__(77464),yn=__webpack_require__(77703),Qn=__webpack_require__(93854),ri=__webpack_require__(962),vi=__webpack_require__(44169),Ii=__webpack_require__(56272),Hi=__webpack_require__(43466),Fi=__webpack_require__(48156),Si=__webpack_require__(93236),ma=__webpack_require__(42212),Ci=__webpack_require__(63923),Ei=__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),we=__webpack_require__(28566),yr=__webpack_require__(51697),en=__webpack_require__(61872),br=__webpack_require__(76077),qr=__webpack_require__(9196),Cn=__webpack_require__(5369),ti=__webpack_require__(26259),Bi=__webpack_require__(47736),Fn=__webpack_require__(28220),On=__webpack_require__(62060),Bn=__webpack_require__(49350),ia=__webpack_require__(20126),zi=__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),ee=__webpack_require__(94065),ne=__webpack_require__(93036),he=__webpack_require__(75708),Ae=__webpack_require__(84624),Ge=__webpack_require__(66233),bt=__webpack_require__(43710),Mt=__webpack_require__(92762),nr=__webpack_require__(24467),Tr=__webpack_require__(68465),Hr=__webpack_require__(77004),sn=__webpack_require__(83925),wn=__webpack_require__(51117),Nn=__webpack_require__(87236),Wn=__webpack_require__(83733),_i=__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),di=__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),ii=__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__(91231);function $o(Tn){var Kn=Tn.id,Ni=Tn.basename,Ea=Tn.cb,Zi=new URLSearchParams({route:Kn,url:window.location.href}).toString(),ua="".concat(fu(window.umiServerLoaderPath||Ni),"__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 Ni,Ea=Kn.loaderData,Zi=Kn.htmlPageOpts,ua=Kn.manifest,ha=(ua==null||(Ni=ua.assets)===null||Ni===void 0?void 0:Ni["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 Ni,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||(Ni=Ki.favicons)===null||Ni===void 0?void 0:Ni.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,Ni=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},Ni),ze.createElement(il,{manifest:Zi,loaderData:Ea,htmlPageOpts:ua})));if(ha!=null&&ha.pureApp)return ze.createElement(ze.Fragment,null,Ni);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},Ni),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,Ni=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===Ni}).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)(),Ni=(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;Ni+=ua}var ha=(0,ko.Z)((0,ko.Z)({},Tn),{},{to:Ni});return ze.createElement(Qo.Fg,(0,Lu.Z)({replace:!0},ha))}function Ol(Tn){var Kn=Tn.route,Ni=Tn.useStream,Ea=Ni===void 0?!0:Ni,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(),Ni=Kn.route,Ea=(0,Kl.Ov)(),Zi=Ea.history,ua=Ea.clientRoutes,ha=(0,Qo.UO)(),vs={params:ha,isExact:!0,path:Ni.path,url:Zi.location.pathname},Ki=Tn.loader,es={location:Zi.location,match:vs,history:Zi,params:ha,route:Ni,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,Ni=ze.useState({action:Kn.action,location:Kn.location}),Ea=(0,Il.Z)(Ni,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,Ni){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},Ni),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"),Ni=qo(Tn,ze.createElement(Bu,null));if(Tn.components)return Ni;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(Ni,null):ze.createElement(oo,ua,ze.createElement(Ni,null)));return}if(wu.createRoot){yl=wu.createRoot(Kn),yl.render(ze.createElement(Ni,null));return}wu.render(ze.createElement(Ni,null),Kn)}var yc=(Tn,Kn,Ni)=>new Promise((Ea,Zi)=>{var ua=Ki=>{try{vs(Ni.next(Ki))}catch(es){Zi(es)}},ha=Ki=>{try{vs(Ni.throw(Ki))}catch(es){Zi(es)}},vs=Ki=>Ki.done?Ea(Ki.value):Promise.resolve(Ki.value).then(ua,ha);vs((Ni=Ni.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/exercise/:categoryId/wrongAnswer/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"82"},83:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"83"},84:{path:"/classrooms/guidance",parentId:"19",id:"84"},85:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"98"},99:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"99"},100:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"100"},101:{path:"/classrooms/",parentId:"19",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"101",id:"102"},103:{path:"/classrooms/:coursesId/shixun_homework",parentId:"101",id:"103"},104:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"101",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"105"},106:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"106"},107:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"101",id:"107"},108:{path:"/classrooms/:coursesId/exercise",parentId:"101",id:"108"},109:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"101",id:"109"},110:{path:"/classrooms/:coursesId/poll",parentId:"101",id:"110"},111:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"101",id:"111"},112:{path:"/classrooms/:coursesId/common_homework",parentId:"101",id:"112"},113:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"101",id:"113"},114:{path:"/classrooms/:coursesId/group_homework",parentId:"101",id:"114"},115:{path:"/classrooms/:coursesId/teachers",parentId:"101",id:"115"},116:{path:"/classrooms/:coursesId/students",parentId:"101",id:"116"},117:{path:"/classrooms/:coursesId/assistant",parentId:"101",id:"117"},118:{path:"/classrooms/:coursesId/program_homework",parentId:"101",id:"118"},119:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"101",id:"119"},120:{path:"/classrooms/:coursesId/engineering",parentId:"101",id:"120"},121:{path:"/classrooms/:coursesId/learning_path",parentId:"101",id:"121"},122:{path:"/classrooms/:coursesId/resource_recommend",parentId:"101",id:"122"},123:{path:"/classrooms/:coursesId/attendance",parentId:"101",id:"123"},124:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"101",id:"124"},125:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"101",id:"125"},126:{path:"/classrooms/:coursesId/announcement",parentId:"101",id:"126"},127:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"101",id:"127"},128:{path:"/classrooms/:coursesId/online_learning",parentId:"101",id:"128"},129:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"101",id:"129"},130:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"101",id:"130"},131:{path:"/classrooms/:coursesId/attachment",parentId:"101",id:"131"},132:{path:"/classrooms/:coursesId/video",parentId:"101",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"101",id:"133"},134:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"101",id:"134"},135:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"101",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"101",id:"136"},137:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"101",id:"137"},138:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"101",id:"138"},139:{path:"/classrooms/:coursesId/live_video",parentId:"101",id:"139"},140:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"101",id:"140"},141:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"101",id:"141"},142:{path:"/classrooms/:coursesId/board",parentId:"101",id:"142"},143:{path:"/classrooms/:coursesId/course_group",parentId:"101",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"101",id:"144"},145:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"101",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"101",id:"146"},147:{path:"/classrooms/:coursesId/not_course_group",parentId:"101",id:"147"},148:{path:"/classrooms/:coursesId/statistics/",parentId:"101",id:"148"},149:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"101",id:"149"},150:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"101",id:"150"},151:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"101",id:"151"},152:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"101",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"101",id:"153"},154:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"101",id:"154"},155:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"101",id:"155"},156:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"101",id:"156"},157:{path:"/classrooms/:coursesId",parentId:"101",id:"157"},158:{path:"/classrooms/:coursesId/template",parentId:"101",id:"158"},159:{path:"/competitions",parentId:"1",id:"159"},160:{path:"/competitions/index",parentId:"159",id:"160"},161:{path:"/competitions/:identifier/list",parentId:"159",id:"161"},162:{path:"/competitions/exports",parentId:"159",id:"162"},163:{path:"/competitions",parentId:"159",id:"163"},164:{path:"/competitions/:identifier",parentId:"159",id:"164"},165:{path:"/competitions/index/:identifier",parentId:"159",id:"165"},166:{path:"/competitions/:identifier/detail/enroll",parentId:"159",id:"166"},167:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"159",id:"167"},168:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"159",id:"168"},169:{path:"/competitions/detail/:identifier",parentId:"159",id:"169"},170:{path:"/forums",parentId:"1",id:"170"},171:{path:"/forums",parentId:"170",id:"171"},172:{path:"/forums/categories/:memoType",parentId:"170",id:"172"},173:{path:"/forums/new",parentId:"170",id:"173"},174:{path:"/forums/:memoId/edit",parentId:"170",id:"174"},175:{path:"/forums/:memoId",parentId:"170",id:"175"},176:{path:"/problemset",parentId:"1",id:"176"},177:{path:"/problemset",parentId:"176",id:"177"},178:{path:"/problemset/newitem",parentId:"176",id:"178"},179:{path:"/problemset/:type/:id",parentId:"176",id:"179"},180:{path:"/problemset/preview",parentId:"176",id:"180"},181:{path:"/problemset/preview_new",parentId:"176",id:"181"},182:{path:"/problemset/preview_select",parentId:"176",id:"182"},183:{path:"/shixuns",parentId:"1",id:"183"},184:{path:"/shixuns",parentId:"183",id:"184"},185:{path:"/shixuns/exports",parentId:"183",id:"185"},186:{path:"/shixuns/new",parentId:"183",id:"186"},187:{path:"/shixuns/new/CreateImg",parentId:"183",id:"187"},188:{path:"/shixuns/new/:id/imagepreview",parentId:"183",id:"188"},189:{path:"/shixuns/:id/Merge",parentId:"183",id:"189"},190:{path:"/shixuns/:id/Split",parentId:"183",id:"190"},191:{path:"/shixuns/:id/edit",parentId:"183",id:"191"},192:{path:"shixuns/:id/edit/warehouse",parentId:"191",id:"192"},193:{path:"/shixuns/:id/edit/newquestion",parentId:"191",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"191",id:"194"},195:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"191",id:"195"},196:{path:"/shixuns/:id/edit/new",parentId:"191",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"191",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"191",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"191",id:"199"},200:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"191",id:"200"},201:{path:"/shixuns/:id",parentId:"183",id:"201"},202:{path:"/shixuns/:id/challenges",parentId:"201",id:"202"},203:{path:"/shixuns/:id/repository",parentId:"201",id:"203"},204:{path:"/shixuns/:id/secret_repository",parentId:"201",id:"204"},205:{path:"/shixuns/:id/collaborators",parentId:"201",id:"205"},206:{path:"/shixuns/:id/dataset",parentId:"201",id:"206"},207:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"201",id:"207"},208:{path:"/shixuns/:id/shixun_discuss",parentId:"201",id:"208"},209:{path:"/shixuns/:id/ranking_list",parentId:"201",id:"209"},210:{path:"/shixuns/:id/settings",parentId:"201",id:"210"},211:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"201",id:"211"},212:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"201",id:"212"},213:{path:"/shixuns/:id/repository/upload_file",parentId:"201",id:"213"},214:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"201",id:"214"},215:{path:"/shixuns/:id/repository/add_file",parentId:"201",id:"215"},216:{path:"/shixuns/:id/secret_repository/add_file",parentId:"201",id:"216"},217:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"217"},218:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"218"},219:{path:"/shixuns/:id/audit_situation",parentId:"201",id:"219"},220:{path:"/shixuns/:id/fork_list",parentId:"201",id:"220"},221:{path:"/users",parentId:"1",id:"221"},222:{path:"/users/:username/videos/protocol",parentId:"221",id:"222"},223:{path:"/users/:username/videos/resourceProtocol",parentId:"221",id:"223"},224:{path:"/users/:username/videos/success",parentId:"221",id:"224"},225:{path:"/users/:username/topicbank/:topicstype",parentId:"221",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"221",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"221",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"221",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"221",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"221",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"221",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"221",id:"232"},233:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"221",id:"233"},234:{path:"/users/:username/experiment-img/add",parentId:"221",id:"234"},235:{path:"/users/:username",parentId:"221",id:"235"},236:{path:"/users/:username",parentId:"235",id:"236"},237:{path:"/users/:username/baseInfo/edit",parentId:"235",id:"237"},238:{path:"/users/:username/baseInfo",parentId:"235",id:"238"},239:{path:"/users/:username/realNameCertification",parentId:"235",id:"239"},240:{path:"/users/:username/careerCertification",parentId:"235",id:"240"},241:{path:"/users/:username/classrooms",parentId:"235",id:"241"},242:{path:"/users/:username/shixuns",parentId:"235",id:"242"},243:{path:"/users/:username/dataSet",parentId:"235",id:"243"},244:{path:"/users/:username/userPortrait",parentId:"235",id:"244"},245:{path:"/users/:username/learningPath",parentId:"235",id:"245"},246:{path:"/users/:username/teach-group",parentId:"235",id:"246"},247:{path:"/users/:username/competitions",parentId:"235",id:"247"},248:{path:"/users/:username/experiment-img",parentId:"235",id:"248"},249:{path:"/users/:username/experiment-img/:experid/detail",parentId:"235",id:"249"},250:{path:"/users/:username/certificate",parentId:"235",id:"250"},251:{path:"/users/:username/otherResources",parentId:"235",id:"251"},252:{path:"/users/:username/classmanagement",parentId:"235",id:"252"},253:{path:"/users/:username/classmanagement/:couserid",parentId:"235",id:"253"},254:{path:"/users/:username/paths",parentId:"235",id:"254"},255:{path:"/users/:username/projects",parentId:"235",id:"255"},256:{path:"/users/:username/videos",parentId:"235",id:"256"},257:{path:"/users/:username/videos/upload",parentId:"235",id:"257"},258:{path:"/users/:username/topics/:topicstype",parentId:"235",id:"258"},259:{path:"/users/:username/vspaces",parentId:"235",id:"259"},260:{path:"/users/:username/resourcesCenter",parentId:"235",id:"260"},261:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"235",id:"261"},262:{path:"/users/:username/resourceGuarantee",parentId:"235",id:"262"},263:{path:"/users/:username/resourceAllocation",parentId:"235",id:"263"},264:{parentId:"1",id:"264"},265:{path:"/problems",parentId:"264",id:"265"},266:{path:"/problems",parentId:"265",id:"266"},267:{path:"/problems/batchAdd",parentId:"265",id:"267"},268:{path:"/problems/newcreate",parentId:"264",id:"268"},269:{path:"/problems/newedit/:id",exact:!0,parentId:"264",id:"269"},270:{path:"/problems/:id/edit",exact:!0,parentId:"264",id:"270"},271:{path:"/problems/new",exact:!0,parentId:"264",id:"271"},272:{path:"/problems/:id/oj/:save_identifier",parentId:"264",id:"272"},273:{path:"/problems/:id/record-detail/:submitId",parentId:"264",id:"273"},274:{path:"/problems/add",parentId:"264",id:"274"},275:{path:"/problems/:id/ojedit",parentId:"264",id:"275"},276:{path:"/engineering",parentId:"1",id:"276"},277:{path:"/engineering",parentId:"276",id:"277"},278:{path:"/engineering/teacherList",parentId:"277",id:"278"},279:{path:"/engineering/studentList",parentId:"277",id:"279"},280:{path:"/engineering/training/program",parentId:"277",id:"280"},281:{path:"/engineering/training/program/add",parentId:"277",id:"281"},282:{path:"/engineering/training/program/edit",parentId:"277",id:"282"},283:{path:"/engineering/training/objectives",parentId:"277",id:"283"},284:{path:"/engineering/graduated/index",parentId:"277",id:"284"},285:{path:"/engineering/graduated/matrix",parentId:"277",id:"285"},286:{path:"/engineering/course/list",parentId:"277",id:"286"},287:{path:"/engineering/course/setting",parentId:"277",id:"287"},288:{path:"/engineering/course/matrix",parentId:"277",id:"288"},289:{path:"/engineering/navigation",parentId:"277",id:"289"},290:{path:"/engineering/evaluate/course",parentId:"277",id:"290"},291:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"277",id:"291"},292:{path:"/engineering/evaluate/norm",parentId:"277",id:"292"},293:{path:"/engineering/evaluate/document",parentId:"277",id:"293"},294:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"277",id:"294"},295:{path:"/engineering/*",redirect:"/404",parentId:"277",id:"295"},296:{path:"/innovation",parentId:"1",id:"296"},297:{path:"/innovation/tasks/:taskId",parentId:"296",id:"297"},298:{path:"/innovation",parentId:"296",id:"298"},299:{path:"/innovation/project",parentId:"298",id:"299"},300:{path:"/innovation/dataset",parentId:"298",id:"300"},301:{path:"/innovation/mirror",parentId:"298",id:"301"},302:{path:"/innovation/my-project",parentId:"298",id:"302"},303:{path:"/innovation/my-dataset",parentId:"298",id:"303"},304:{path:"/innovation/my-mirror",parentId:"298",id:"304"},305:{path:"/innovation/project/create",parentId:"298",id:"305"},306:{path:"/innovation/project/edit/:id",parentId:"298",id:"306"},307:{path:"/innovation/project/detail/:taskId",parentId:"298",id:"307"},308:{path:"/tasks",parentId:"1",id:"308"},309:{path:"/tasks/:taskId",exact:!0,parentId:"308",id:"309"},310:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"308",id:"310"},311:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"308",id:"311"},312:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"308",id:"312"},313:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"308",id:"313"},314:{path:"/myproblems",parentId:"1",id:"314"},315:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"314",id:"315"},316:{path:"/myproblems/:id",exact:!0,parentId:"314",id:"316"},317:{path:"/account",parentId:"1",id:"317"},318:{path:"/account",parentId:"317",id:"318"},319:{path:"/account/profile",parentId:"318",id:"319"},320:{path:"/account/profile/edit",parentId:"318",id:"320"},321:{path:"/account/certification",parentId:"318",id:"321"},322:{path:"/account/secure",parentId:"318",id:"322"},323:{path:"/account/binding",parentId:"318",id:"323"},324:{path:"/account/Results",parentId:"318",id:"324"},325:{path:"/ch",parentId:"1",id:"325"},326:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"325",id:"326"},327:{path:"/ch/rest/",exact:!0,parentId:"325",id:"327"},328:{path:"/ch/rest/:id",exact:!0,parentId:"325",id:"328"},329:{path:"/order",parentId:"1",id:"329"},330:{path:"/order",parentId:"329",id:"330"},331:{path:"/order/invoice",parentId:"329",id:"331"},332:{path:"/order/records",parentId:"329",id:"332"},333:{path:"/order/apply",parentId:"329",id:"333"},334:{path:"/order/view",parentId:"329",id:"334"},335:{path:"/order/:courseId/information",parentId:"329",id:"335"},336:{path:"/order/:courseId/pay",parentId:"329",id:"336"},337:{path:"/order/:orderNum/result",parentId:"329",id:"337"},338:{path:"/messages",parentId:"1",id:"338"},339:{path:"/messages/:userId/user_tidings",parentId:"338",id:"339"},340:{path:"/messages/:userId/private_messages",parentId:"338",id:"340"},341:{path:"/messages/:userId/message_detail",parentId:"338",id:"341"},342:{path:"/vtrs",parentId:"1",id:"342"},343:{path:"/vtrs/:virtual_spacesId",parentId:"342",id:"343"},344:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"343",id:"344"},345:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"343",id:"345"},346:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"343",id:"346"},347:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"343",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"343",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"343",id:"349"},350:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"343",id:"350"},351:{path:"/vtrs/:virtual_spacesId/survey",parentId:"343",id:"351"},352:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"343",id:"352"},353:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"343",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"343",id:"354"},355:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"343",id:"355"},356:{path:"/vtrs/:virtual_spacesId/material",parentId:"343",id:"356"},357:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"343",id:"357"},358:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"343",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"343",id:"359"},360:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"343",id:"360"},361:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"343",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"343",id:"362"},363:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"343",id:"363"},364:{path:"/vtrs/:virtual_spacesId/settings",parentId:"343",id:"364"},365:{path:"/vtrs/:virtual_spacesId/resources",parentId:"343",id:"365"},366:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"343",id:"366"},367:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"343",id:"367"},368:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"343",id:"368"},369:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"343",id:"369"},370:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"343",id:"370"},371:{path:"/vtrs/:virtual_spacesId/*",parentId:"343",id:"371"},372:{path:"/101",parentId:"1",id:"372"},373:{path:"/101/:virtual_spacesId",parentId:"372",id:"373"},374:{path:"/101/:virtual_spacesId",exact:!0,parentId:"373",id:"374"},375:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"373",id:"375"},376:{path:"/101/:virtual_spacesId/experiment",parentId:"373",id:"376"},377:{path:"/101/:virtual_spacesId/announcement",parentId:"373",id:"377"},378:{path:"/101/:virtual_spacesId/announcement/add",parentId:"373",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"373",id:"379"},380:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"373",id:"380"},381:{path:"/101/:virtual_spacesId/survey",parentId:"373",id:"381"},382:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"373",id:"382"},383:{path:"/101/:virtual_spacesId/knowledge",parentId:"373",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"373",id:"384"},385:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"373",id:"385"},386:{path:"/101/:virtual_spacesId/material",parentId:"373",id:"386"},387:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"373",id:"387"},388:{path:"/101/:virtual_spacesId/lesson",parentId:"373",id:"388"},389:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"373",id:"389"},390:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"373",id:"390"},391:{path:"/101/:virtual_spacesId/discussion",parentId:"373",id:"391"},392:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"373",id:"392"},393:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"373",id:"393"},394:{path:"/101/:virtual_spacesId/settings",parentId:"373",id:"394"},395:{path:"/101/:virtual_spacesId/resources",parentId:"373",id:"395"},396:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"373",id:"396"},397:{path:"/101/:virtual_spacesId/Plan",parentId:"373",id:"397"},398:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"373",id:"398"},399:{path:"/101/:virtual_spacesId/digtal",parentId:"373",id:"399"},400:{path:"/101/:virtual_spacesId/homepage",parentId:"373",id:"400"},401:{path:"/101/:virtual_spacesId/*",parentId:"373",id:"401"},402:{path:"/administration",parentId:"1",id:"402"},403:{path:"/administration",parentId:"402",id:"403"},404:{path:"/administration/college",parentId:"403",id:"404"},405:{path:"/administration/student",parentId:"403",id:"405"},406:{path:"/administration/student/:studentId/edit",parentId:"403",id:"406"},407:{path:"/administration/profession",parentId:"403",id:"407"},408:{path:"/graduations",parentId:"1",id:"408"},409:{path:"/graduations",exact:!0,parentId:"408",id:"409"},410:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"408",id:"410"},411:{path:"/graduations/:id",parentId:"408",id:"411"},412:{path:"/graduations/:id/index",parentId:"411",id:"412"},413:{path:"/graduations/:id/topics",parentId:"411",id:"413"},414:{path:"/graduations/:id/student_selection",parentId:"411",id:"414"},415:{path:"/graduations/:id/tasks",parentId:"411",id:"415"},416:{path:"/graduations/:id/opening_report",parentId:"411",id:"416"},417:{path:"/graduations/:id/midterm_report",parentId:"411",id:"417"},418:{path:"/graduations/:id/thesis",parentId:"411",id:"418"},419:{path:"/graduations/:id/final_defense",parentId:"411",id:"419"},420:{path:"/graduations/:id/final_thesis",parentId:"411",id:"420"},421:{path:"/graduations/:id/settings",parentId:"411",id:"421"},422:{path:"/graduations/:id/teachers",parentId:"411",id:"422"},423:{path:"/graduations/:id/students",parentId:"411",id:"423"},424:{path:"/graduations/:id/archives",parentId:"411",id:"424"},425:{path:"/graduations/:id/grading_summary",parentId:"411",id:"425"},426:{path:"/dataset",parentId:"1",id:"426"},427:{path:"/dataset",exact:!0,parentId:"426",id:"427"},428:{path:"/dataset/:id/detail",exact:!0,parentId:"426",id:"428"},429:{path:"/knowledgegraph",parentId:"1",id:"429"},430:{path:"/knowledgegraph/:pathId",parentId:"429",id:"430"},431:{path:"/knowledgegraph/:pathId/statistics",parentId:"429",id:"431"},432:{path:"/onlinenum",parentId:"1",id:"432"},433:{path:"/onlinenum",parentId:"432",id:"433"},434:{path:"/shixuncontext",parentId:"1",id:"434"},435:{path:"/shixuncontext",parentId:"434",id:"435"},436:{path:"/shixuncontext/:Id/detail",parentId:"434",id:"436"},437:{path:"/educoder-demo",exact:!0,parentId:"1",id:"437"},438:{path:"/training",parentId:"1",id:"438"},439:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"438",id:"439"},440:{path:"/largeScreen",exact:!0,parentId:"1",id:"440"},441:{path:"/quality",parentId:"1",id:"441"},442:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"441",id:"442"},443:{path:"/otherlogin",exact:!0,parentId:"1",id:"443"},444:{path:"/otherloginqq",exact:!0,parentId:"1",id:"444"},445:{path:"/otherloginstart",exact:!0,parentId:"1",id:"445"},446:{path:"/pathsoverview",exact:!0,parentId:"1",id:"446"},447:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"447"},448:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"448"},449:{path:"/login",parentId:"1",id:"449"},450:{path:"/login",parentId:"449",id:"450"},451:{path:"/user",parentId:"1",id:"451"},452:{path:"/user/login",parentId:"451",id:"452"},453:{path:"/user/register",parentId:"451",id:"453"},454:{path:"/user/reset-password",parentId:"451",id:"454"},455:{path:"/colleges",parentId:"1",id:"455"},456:{path:"/colleges/:id/statistics",parentId:"455",id:"456"},457:{path:"/help",parentId:"1",id:"457"},458:{path:"/help/:id",parentId:"457",id:"458"},459:{path:"/video",parentId:"1",id:"459"},460:{path:"/video/:videoId",parentId:"459",id:"460"},461:{path:"/terminal",parentId:"1",id:"461"},462:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"462"},463:{path:"/",parentId:"1",id:"463"},464:{path:"/",exact:!0,parentId:"463",id:"464"},465:{path:"/api/*",exact:!0,parentId:"463",id:"465"},466:{path:"/search",exact:!0,parentId:"463",id:"466"},467:{path:"/moop_cases",exact:!0,parentId:"463",id:"467"},468:{path:"/moop_cases/new",exact:!0,parentId:"463",id:"468"},469:{path:"/moop_cases/:caseId",exact:!0,parentId:"463",id:"469"},470:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"463",id:"470"},471:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"463",id:"471"},472:{path:"/randompaper",exact:!0,parentId:"463",id:"472"},473:{path:"/randompaper/edit/:id",exact:!0,parentId:"463",id:"473"},474:{path:"/randompaper/detail/:id",exact:!0,parentId:"463",id:"474"},475:{path:"/403",parentId:"463",id:"475"},476:{path:"/500",parentId:"463",id:"476"},477:{path:"/404",parentId:"463",id:"477"},478:{path:"/download",parentId:"463",id:"478"},479:{path:"/iwce",parentId:"463",id:"479"},480:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"463",id:"480"},481:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"463",id:"481"},482:{path:"/Activities",parentId:"463",id:"482"},483:{path:"/iwce/:itemname",parentId:"463",id:"483"},484:{path:"/hpc-course",parentId:"463",id:"484"},485:{path:"/user_agents",parentId:"463",id:"485"},486:{path:"/three",parentId:"463",id:"486"},487:{path:"/introduction",parentId:"463",id:"487"},488:{path:"/chatgpt",parentId:"463",id:"488"},489:{path:"/*",parentId:"463",id:"489"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),2:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),3:ze.lazy(()=>Promise.all([__webpack_require__.e(4317),__webpack_require__.e(4862)]).then(__webpack_require__.bind(__webpack_require__,7621))),4:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8391))),5:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8391))),6:ze.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,64226))),7:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),8:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(400),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,91046))),9:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),10:ze.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,19372))),11:ze.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,27851))),12:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,86364))),13:ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,58966))),14:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,98287))),15:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,22834))),16:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,86364))),17:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),18:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),19:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),20:ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,46275))),21:ze.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,20973))),22:ze.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,31793))),23:ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,46275))),24:ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,37273))),25:ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,37273))),26:ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,45029))),27:ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,45029))),28:ze.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,46922))),29:ze.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,94044))),30:ze.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,67311))),31:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,89358))),32:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,88924))),33:ze.lazy(()=>Promise.all([__webpack_require__.e(4317),__webpack_require__.e(2303)]).then(__webpack_require__.bind(__webpack_require__,63437))),34:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,60922))),35:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,70731))),36:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,29289))),37:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,61995))),38:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,75400))),39:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,52934))),40:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,34353))),41:ze.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,30748))),42:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,44597))),43:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),44:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1134),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,60839))),45:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1134),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,77638))),46:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,8282))),47:ze.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,53147))),48:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),49:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,23129))),50:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,84511))),51:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,84511))),52:ze.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,10147))),53:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4317),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,84611))),54:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4317),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,84611))),55:ze.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,83922))),56:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,82856))),57:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,31533))),58:ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,3276))),59:ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,3276))),60:ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,77329))),61:ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,77329))),62:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,75288))),63:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,83485))),64:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,97780))),65:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,28915))),66:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,57643))),67:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,8321))),68:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,77498))),69:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,56010))),70:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,7769))),71:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,36618))),72:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,1910))),73:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,34104))),74:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,3487))),75:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,17042))),76:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,72583))),77:ze.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,61193))),78:ze.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,13750))),79:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,96046))),80:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,22996))),81:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,41305))),82:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,78554))),83:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,74124))),84:ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,58966))),85:ze.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,55998))),86:ze.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,31905))),87:ze.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,21229))),88:ze.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,98731))),89:ze.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,37244))),90:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,35171))),91:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,35171))),92:ze.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,42383))),93:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,71073))),94:ze.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,97838))),95:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,22450))),96:ze.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,57454))),97:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,60846))),98:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,45062))),99:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,93341))),100:ze.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,25921))),101:ze.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,93365))),102:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,20383))),103:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,20383))),104:ze.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,77437))),105:ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,15828))),106:ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,15828))),107:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,57720))),108:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,57720))),109:ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,3403))),110:ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,3403))),111:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,94863))),112:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,94863))),113:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,14902))),114:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,14902))),115:ze.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,6218))),116:ze.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,83443))),117:ze.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,5010))),118:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,11008))),119:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,11008))),120:ze.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,21413))),121:ze.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,11133))),122:ze.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,25251))),123:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,36464))),124:ze.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,25083))),125:ze.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,29860))),126:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,61434))),127:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,61434))),128:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,51291))),129:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,51291))),130:ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,27776))),131:ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,27776))),132:ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,66640))),133:ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,66640))),134:ze.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,96573))),135:ze.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,58786))),136:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,1697))),137:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,70302))),138:ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,27599))),139:ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,27599))),140:ze.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,76161))),141:ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,23889))),142:ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,23889))),143:ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,69808))),144:ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,69808))),145:ze.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,8176))),146:ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,21095))),147:ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,21095))),148:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63679))),149:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63679))),150:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,99046))),151:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,82503))),152:ze.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,15531))),153:ze.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,50715))),154:ze.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,90317))),155:ze.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,1377))),156:ze.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,65515))),157:ze.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,99342))),158:ze.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,26032))),159:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),160:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),161:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),162:ze.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,43008))),163:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),164:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,79177))),165:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,79177))),166:ze.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,719))),167:ze.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,14796))),168:ze.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,5629))),169:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,29526))),170:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),171:ze.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,37226))),172:ze.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,24564))),173:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96560))),174:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96560))),175:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,35918))),176:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),177:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),178:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,85953))),179:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,85953))),180:ze.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,6413))),181:ze.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,37852))),182:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(400),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,56474))),183:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),184:ze.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,20186))),185:ze.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,15352))),186:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,98622))),187:ze.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,84246))),188:ze.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,28092))),189:ze.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,40580))),190:ze.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,2751))),191:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(33),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,69638))),192:ze.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,21052))),193:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,46897))),194:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,29040))),195:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,29040))),196:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,2134))),197:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4317),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,2134))),198:ze.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,56405))),199:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,92185))),200:ze.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,63798))),201:ze.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,78932))),202:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,70624))),203:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),204:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),205:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,18509))),206:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,52021))),207:ze.lazy(()=>Promise.all([__webpack_require__.e(33),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,58100))),208:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,71666))),209:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,28744))),210:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,72281))),211:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,96146))),212:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,96146))),213:ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,6850))),214:ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,6850))),215:ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,83283))),216:ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,83283))),217:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),218:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),219:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,68639))),220:ze.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,5134))),221:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),222:ze.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,59622))),223:ze.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,65866))),224:ze.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,86974))),225:ze.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,49690))),226:ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,50650))),227:ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,50650))),228:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,8191))),229:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,31721))),230:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,80751))),231:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,53605))),232:ze.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,8712))),233:ze.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,26021))),234:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,75992))),235:ze.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,43116))),236:ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26501))),237:ze.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,22802))),238:ze.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,49451))),239:ze.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,97118))),240:ze.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,16430))),241:ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26501))),242:ze.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,51705))),243:ze.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,36806))),244:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,31324))),245:ze.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,88755))),246:ze.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,81187))),247:ze.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,62484))),248:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,20267))),249:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,18460))),250:ze.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,43173))),251:ze.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,68861))),252:ze.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,47412))),253:ze.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,86576))),254:ze.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,56543))),255:ze.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,55199))),256:ze.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,89993))),257:ze.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,83184))),258:ze.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,14631))),259:ze.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,88038))),260:ze.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,35670))),261:ze.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,99624))),262:ze.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,69157))),263:ze.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,11234))),264:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),265:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),266:ze.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,3447))),267:ze.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,96555))),268:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,14222))),269:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,14222))),270:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,833))),271:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,833))),272:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,30197))),273:ze.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,84958))),274:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,81171))),275:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,81171))),276:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),277:ze.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,62861))),278:ze.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,10497))),279:ze.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,2131))),280:ze.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,62256))),281:ze.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,872))),282:ze.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,64361))),283:ze.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,85761))),284:ze.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,93875))),285:ze.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,21202))),286:ze.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,91460))),287:ze.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,17689))),288:ze.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,37222))),289:ze.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,14455))),290:ze.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,41313))),291:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,46859))),292:ze.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,5942))),293:ze.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,15920))),294:ze.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,76515))),295:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),296:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),297:ze.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,97800))),298:ze.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,89705))),299:ze.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,47363))),300:ze.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,16302))),301:ze.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,90894))),302:ze.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,13747))),303:ze.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,14828))),304:ze.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,99436))),305:ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,19552))),306:ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,19552))),307:ze.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,562))),308:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),309:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4317),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,60483))),310:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4317),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40678))),311:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4317),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,60483))),312:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4317),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40678))),313:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4317),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,60483))),314:ze.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),315:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,72222))),316:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,91176))),317:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),318:ze.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,21119))),319:ze.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,64348))),320:ze.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,21496))),321:ze.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,95335))),322:ze.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,45423))),323:ze.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,37196))),324:ze.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,36178))),325:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),326:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,10729))),327:ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,54204))),328:ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,54204))),329:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),330:ze.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,23395))),331:ze.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,68703))),332:ze.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,3819))),333:ze.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,39983))),334:ze.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,79046))),335:ze.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,47873))),336:ze.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,42176))),337:ze.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,92105))),338:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),339:ze.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,97128))),340:ze.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,82821))),341:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,5211))),342:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),343:ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54587))),344:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),345:ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,89955))),346:ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,61471))),347:ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,3279))),348:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),349:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),350:ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,36546))),351:ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,21105))),352:ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,97769))),353:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,11369))),354:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),355:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),356:ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,13793))),357:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,42100))),358:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,22330))),359:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),360:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),361:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,14291))),362:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),363:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),364:ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,82125))),365:ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,30654))),366:ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,38542))),367:ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,92314))),368:ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,74232))),369:ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,50983))),370:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),371:ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,84033))),372:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),373:ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54587))),374:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),375:ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,89955))),376:ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,61471))),377:ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,3279))),378:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),379:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),380:ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,36546))),381:ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,21105))),382:ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,97769))),383:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,11369))),384:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),385:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),386:ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,13793))),387:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,42100))),388:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,22330))),389:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),390:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),391:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,14291))),392:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),393:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),394:ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,82125))),395:ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,30654))),396:ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,38542))),397:ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,92314))),398:ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,74232))),399:ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,50983))),400:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),401:ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,84033))),402:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),403:ze.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,28712))),404:ze.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,27454))),405:ze.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,33675))),406:ze.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,58197))),407:ze.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,57857))),408:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),409:ze.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,30266))),410:ze.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,88036))),411:ze.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,42463))),412:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,66493))),413:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,67489))),414:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,32891))),415:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,57895))),416:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),417:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),418:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),419:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),420:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),421:ze.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,98372))),422:ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,16486))),423:ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,16486))),424:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,9))),425:ze.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,16459))),426:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),427:ze.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,69623))),428:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,73171))),429:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),430:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,24695))),431:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,89325))),432:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),433:ze.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,14103))),434:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),435:ze.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,84575))),436:ze.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,6556))),437:ze.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,38124))),438:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),439:ze.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,75503))),440:ze.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,3518))),441:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),442:ze.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,36693))),443:ze.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,11112))),444:ze.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,19041))),445:ze.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,76904))),446:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,63295))),447:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,4280))),448:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,29069))),449:ze.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,28128))),450:ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54240))),451:ze.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,23900))),452:ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54240))),453:ze.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,39090))),454:ze.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,20649))),455:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),456:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,57915))),457:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),458:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,24721))),459:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),460:ze.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,62904))),461:ze.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,87038))),462:ze.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,33262))),463:ze.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,90821))),464:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,14917))),465:ze.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,33662))),466:ze.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,57548))),467:ze.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,13540))),468:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,88986))),469:ze.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,93185))),470:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,88986))),471:ze.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,86308))),472:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),473:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),474:ze.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,19560))),475:ze.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,18430))),476:ze.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,57050))),477:ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,60279))),478:ze.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,32717))),479:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),480:ze.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,79752))),481:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,36464))),482:ze.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,94878))),483:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),484:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),485:ze.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,43982))),486:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,49851))),487:ze.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,53727))),488:ze.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,73752))),489:ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,60279))),"@@/global-layout":ze.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,15221)))}}})}var I=__webpack_require__(3191),O=__webpack_require__(58293),k=__webpack_require__(71418),me=__webpack_require__(5755),ke=()=>ze.createElement(k.Z,{size:"middle",className:me.Z.loading}),tn=__webpack_require__(25690),jn=__webpack_require__(61186),hn=__webpack_require__.n(jn),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);hn().extend(Ao()),hn().extend(io()),hn().extend(kc()),hn().extend(ec()),hn().extend(Nu()),hn().extend(tc()),hn().extend(Ro()),hn().extend(Ja()),hn().extend(sl()),hn().extend(xl()),hn().extend(Xc()),hn().extend(Vu()),hn().extend(Ha());var Qc=Object.defineProperty,Ll=Object.getOwnPropertySymbols,qc=Object.prototype.hasOwnProperty,hu=Object.prototype.propertyIsEnumerable,$u=(Tn,Kn,Ni)=>Kn in Tn?Qc(Tn,Kn,{enumerable:!0,configurable:!0,writable:!0,value:Ni}):Tn[Kn]=Ni,El=(Tn,Kn)=>{for(var Ni in Kn||(Kn={}))qc.call(Kn,Ni)&&$u(Tn,Ni,Kn[Ni]);if(Ll)for(var Ni of Ll(Kn))hu.call(Kn,Ni)&&$u(Tn,Ni,Kn[Ni]);return Tn},rc=(Tn,Kn,Ni)=>new Promise((Ea,Zi)=>{var ua=Ki=>{try{vs(Ni.next(Ki))}catch(es){Zi(es)}},ha=Ki=>{try{vs(Ni.throw(Ki))}catch(es){Zi(es)}},vs=Ki=>Ki.done?Ea(Ki.value):Promise.resolve(Ki.value).then(ua,ha);vs((Ni=Ni.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:Ni}=yield Oc(Tn);yield Tn.applyPlugins({key:"patchRoutes",type:tn.ApplyPluginsType.event,args:{routes:Kn,routeComponents:Ni}});const Ea=Tn.applyPlugins({key:"modifyContextOpts",type:tn.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:tn.ApplyPluginsType.compose,initialValue(){const vs={useStream:!0,routes:Kn,routeComponents:Ni,pluginManager:Tn,mountElementId:"root",rootElement:Ea.rootElement||document.getElementById("root"),loadingComponent:ke,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:tn.ApplyPluginsType.modify,initialValue:vs});return gc(Ki)}})()})}Ml(),typeof window!="undefined"&&(window.g_umi={version:"4.4.11"})})()})();
|